package h3;

import w4.C3137A;

/* JADX INFO: loaded from: classes.dex */
public final /* synthetic */ class H1 implements J4.a {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ boolean f16872b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ J4.a f16873c;

    public /* synthetic */ H1(boolean z6, J4.a aVar, int i6) {
        this.f16871a = i6;
        this.f16872b = z6;
        this.f16873c = aVar;
    }

    @Override // J4.a
    public final Object invoke() {
        J4.a aVar;
        switch (this.f16871a) {
            case 0:
                if (!this.f16872b) {
                    this.f16873c.invoke();
                }
                break;
            case 1:
                if (!this.f16872b) {
                    this.f16873c.invoke();
                }
                break;
            case 2:
                if (!this.f16872b) {
                    this.f16873c.invoke();
                }
                break;
            case 3:
                if (!this.f16872b && (aVar = this.f16873c) != null) {
                    aVar.invoke();
                }
                break;
            case 4:
                if (!this.f16872b) {
                    this.f16873c.invoke();
                }
                break;
            default:
                if (this.f16872b) {
                    this.f16873c.invoke();
                }
                break;
        }
        return C3137A.f25453a;
    }
}
