package F7;

import n4.u0;

/* JADX INFO: renamed from: F7.i, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0125i implements InterfaceC0124h {

    /* JADX INFO: renamed from: q, reason: collision with root package name */
    public final /* synthetic */ int f2708q;

    /* JADX INFO: renamed from: r, reason: collision with root package name */
    public final C0127k f2709r;

    public /* synthetic */ C0125i(C0127k c0127k, int i) {
        this.f2708q = i;
        this.f2709r = c0127k;
    }

    @Override // F7.InterfaceC0124h
    public final void p(InterfaceC0121e interfaceC0121e, T t6) {
        switch (this.f2708q) {
            case u0.f15495q /* 0 */:
                boolean zB = t6.f2677a.b();
                C0127k c0127k = this.f2709r;
                if (!zB) {
                    c0127k.completeExceptionally(new C0133q(t6));
                } else {
                    c0127k.complete(t6.f2678b);
                }
                break;
            default:
                this.f2709r.complete(t6);
                break;
        }
    }

    @Override // F7.InterfaceC0124h
    public final void v(InterfaceC0121e interfaceC0121e, Throwable th) {
        switch (this.f2708q) {
            case u0.f15495q /* 0 */:
                this.f2709r.completeExceptionally(th);
                break;
            default:
                this.f2709r.completeExceptionally(th);
                break;
        }
    }
}
