package com.google.android.gms.common.internal;

import android.app.PendingIntent;
import android.os.Bundle;
import androidx.annotation.BinderThread;
import androidx.annotation.Nullable;
import java.util.Objects;

/* JADX INFO: loaded from: classes2.dex */
public abstract class p0 extends x0 {

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final int f8392c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final /* synthetic */ g f8393d;

    @Nullable
    public final Bundle zzb;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    @BinderThread
    public p0(g gVar, @Nullable int i10, Bundle bundle) {
        super(gVar, Boolean.TRUE);
        Objects.requireNonNull(gVar);
        this.f8393d = gVar;
        this.f8392c = i10;
        this.zzb = bundle;
    }

    @Override // com.google.android.gms.common.internal.x0
    public final /* bridge */ /* synthetic */ void a(Object obj) {
        g gVar = this.f8393d;
        int i10 = this.f8392c;
        if (i10 != 0) {
            gVar.zzd(1, null);
            Bundle bundle = this.zzb;
            e(new e8.b(i10, bundle != null ? (PendingIntent) bundle.getParcelable(g.KEY_PENDING_INTENT) : null));
        } else {
            if (d()) {
                return;
            }
            gVar.zzd(1, null);
            e(new e8.b(8, null));
        }
    }

    public abstract boolean d();

    public abstract void e(e8.b bVar);
}
