package H5;

import androidx.lifecycle.InterfaceC0505j;
import androidx.lifecycle.a0;
import com.martsnew.tv.ui.home.TvHomeFragment;
import n4.u0;

/* JADX INFO: loaded from: classes.dex */
public final class o extends P6.h implements O6.a {

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

    /* JADX INFO: renamed from: s, reason: collision with root package name */
    public final /* synthetic */ TvHomeFragment f3150s;

    /* JADX INFO: renamed from: t, reason: collision with root package name */
    public final /* synthetic */ Object f3151t;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public /* synthetic */ o(TvHomeFragment tvHomeFragment, A6.e eVar, int i) {
        super(0);
        this.f3149r = i;
        this.f3150s = tvHomeFragment;
        this.f3151t = eVar;
    }

    /* JADX WARN: Type inference failed for: r0v1, types: [A6.e, java.lang.Object] */
    /* JADX WARN: Type inference failed for: r0v10, types: [A6.e, java.lang.Object] */
    @Override // O6.a
    public final Object a() {
        switch (this.f3149r) {
            case u0.f15495q /* 0 */:
                a0 a0Var = (a0) this.f3151t.getValue();
                InterfaceC0505j interfaceC0505j = a0Var instanceof InterfaceC0505j ? (InterfaceC0505j) a0Var : null;
                if (interfaceC0505j == null || (r0 = interfaceC0505j.H()) == null) {
                }
                break;
            default:
                a0 a0Var2 = (a0) this.f3151t.getValue();
                InterfaceC0505j interfaceC0505j2 = a0Var2 instanceof InterfaceC0505j ? (InterfaceC0505j) a0Var2 : null;
                if (interfaceC0505j2 == null || (r0 = interfaceC0505j2.H()) == null) {
                }
                break;
        }
        return this.f3150s.H();
    }
}
