package z0;

import android.view.View;

/* JADX INFO: renamed from: z0.g, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C1138g extends AbstractC1148q {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public Object f11003b;

    public /* synthetic */ C1138g() {
        this.f11002a = 2;
    }

    @Override // z0.AbstractC1148q, z0.InterfaceC1146o
    public void d(AbstractC1147p abstractC1147p) {
        switch (this.f11002a) {
            case 2:
                C1152u c1152u = (C1152u) this.f11003b;
                if (!c1152u.K) {
                    c1152u.G();
                    c1152u.K = true;
                }
                break;
        }
    }

    @Override // z0.InterfaceC1146o
    public final void e(AbstractC1147p abstractC1147p) {
        switch (this.f11002a) {
            case 0:
                y yVar = x.f11054a;
                yVar.z((View) this.f11003b, 1.0f);
                yVar.getClass();
                abstractC1147p.w(this);
                break;
            case 1:
                ((AbstractC1147p) this.f11003b).z();
                abstractC1147p.w(this);
                break;
            default:
                C1152u c1152u = (C1152u) this.f11003b;
                int i = c1152u.J - 1;
                c1152u.J = i;
                if (i == 0) {
                    c1152u.K = false;
                    c1152u.n();
                }
                abstractC1147p.w(this);
                break;
        }
    }

    public /* synthetic */ C1138g(int i, Object obj) {
        this.f11002a = i;
        this.f11003b = obj;
    }
}
