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

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

/* JADX INFO: loaded from: classes2.dex */
public final class b1 extends p0 {

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

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

    @Override // com.google.android.gms.common.internal.p0
    public final boolean d() {
        this.f8317e.zzc.a(e8.b.f25512c);
        return true;
    }

    @Override // com.google.android.gms.common.internal.p0
    public final void e(e8.b bVar) {
        g gVar = this.f8317e;
        if (gVar.enableLocalFallback() && gVar.zzg()) {
            gVar.zzf(16);
        } else {
            gVar.zzc.a(bVar);
            gVar.onConnectionFailed(bVar);
        }
    }
}
