package K2;

import B.Q0;
import D.InterfaceC0133d;
import a.AbstractC0872a;
import a0.m2;
import android.app.RemoteAction;
import android.graphics.drawable.Drawable;
import androidx.compose.runtime.Composer;
import androidx.compose.runtime.ComposerKt;
import androidx.compose.runtime.MutableState;
import androidx.compose.runtime.internal.ComposableLambda;
import java.io.IOException;
import org.xmlpull.v1.XmlPullParserException;
import p.InterfaceC2640B;
import p0.C2714u;
import w4.C3137A;

/* JADX INFO: loaded from: classes.dex */
public final class m implements J4.f {

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

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

    public /* synthetic */ m(Object obj, int i6) {
        this.f4106a = i6;
        this.f4107b = obj;
    }

    /* JADX WARN: Multi-variable type inference failed */
    @Override // J4.f
    public final Object invoke(Object obj, Object obj2, Object obj3) throws XmlPullParserException, IOException {
        switch (this.f4106a) {
            case 0:
                InterfaceC2640B AnimatedVisibility = (InterfaceC2640B) obj;
                Composer composer = (Composer) obj2;
                int iIntValue = ((Number) obj3).intValue();
                kotlin.jvm.internal.o.h(AnimatedVisibility, "$this$AnimatedVisibility");
                if (ComposerKt.isTraceInProgress()) {
                    ComposerKt.traceEventStart(-764825293, iIntValue, -1, "com.debridstream.components.AppToastHost.<anonymous>.<anonymous> (AppNotificationToast.kt:196)");
                }
                AbstractC0872a.a((q) this.f4107b, composer, 0);
                if (ComposerKt.isTraceInProgress()) {
                    ComposerKt.traceEventEnd();
                }
                break;
            case 1:
                InterfaceC0133d item = (InterfaceC0133d) obj;
                Composer composer2 = (Composer) obj2;
                int iIntValue2 = ((Number) obj3).intValue();
                kotlin.jvm.internal.o.h(item, "$this$item");
                if ((iIntValue2 & 17) == 16 && composer2.getSkipping()) {
                    composer2.skipToGroupEnd();
                } else {
                    if (ComposerKt.isTraceInProgress()) {
                        ComposerKt.traceEventStart(-1931170556, iIntValue2, -1, "com.debridstream.mobile.MobileGrid.<anonymous>.<anonymous>.<anonymous>.<anonymous>.<anonymous> (MobileGrid.kt:1066)");
                    }
                    ((ComposableLambda) this.f4107b).invoke(composer2, 0);
                    if (ComposerKt.isTraceInProgress()) {
                        ComposerKt.traceEventEnd();
                    }
                }
                break;
            case 2:
                Q0 Button = (Q0) obj;
                Composer composer3 = (Composer) obj2;
                int iIntValue3 = ((Number) obj3).intValue();
                kotlin.jvm.internal.o.h(Button, "$this$Button");
                if ((iIntValue3 & 17) == 16 && composer3.getSkipping()) {
                    composer3.skipToGroupEnd();
                } else {
                    if (ComposerKt.isTraceInProgress()) {
                        ComposerKt.traceEventStart(-1313635340, iIntValue3, -1, "com.debridstream.mobile.TraktScrobbleTestScreen.<anonymous>.<anonymous>.<anonymous>.<anonymous> (TraktScrobbleTestScreen.kt:279)");
                    }
                    m2.d(((Boolean) ((MutableState) this.f4107b).getValue()).booleanValue() ? "…" : "Fetch", null, 0L, 0L, null, null, 0L, null, 0L, 0, false, 0, 0, null, null, composer3, 0, 0, 262142);
                    if (ComposerKt.isTraceInProgress()) {
                        ComposerKt.traceEventEnd();
                    }
                }
                break;
            case 3:
                long j4 = ((C2714u) obj).f22947a;
                Composer composer4 = (Composer) obj2;
                int iIntValue4 = ((Number) obj3).intValue();
                if ((iIntValue4 & 6) == 0) {
                    iIntValue4 |= composer4.changed(j4) ? 4 : 2;
                }
                if (composer4.shouldExecute((iIntValue4 & 19) != 18, iIntValue4 & 1)) {
                    if (ComposerKt.isTraceInProgress()) {
                        ComposerKt.traceEventStart(-1930700965, iIntValue4, -1, "androidx.compose.foundation.text.contextmenu.internal.DefaultTextContextMenuDropdown.<anonymous>.<anonymous>.<anonymous>.<anonymous> (DefaultTextContextMenuDropdownProvider.android.kt:150)");
                    }
                    P.m.b(((N.d) this.f4107b).f5116c, j4, composer4, (iIntValue4 << 3) & 112);
                    if (ComposerKt.isTraceInProgress()) {
                        ComposerKt.traceEventEnd();
                    }
                } else {
                    composer4.skipToGroupEnd();
                }
                break;
            case 4:
                long j6 = ((C2714u) obj).f22947a;
                Composer composer5 = (Composer) obj2;
                int iIntValue5 = ((Number) obj3).intValue();
                if (composer5.shouldExecute((iIntValue5 & 17) != 16, iIntValue5 & 1)) {
                    if (ComposerKt.isTraceInProgress()) {
                        ComposerKt.traceEventStart(-1123224187, iIntValue5, -1, "androidx.compose.foundation.text.contextmenu.internal.TextContextMenuHelperApi28.textClassificationItem.<anonymous>.<anonymous> (DefaultTextContextMenuDropdownProvider.android.kt:247)");
                    }
                    P.r.f5594a.a((Drawable) this.f4107b, composer5, 48);
                    if (ComposerKt.isTraceInProgress()) {
                        ComposerKt.traceEventEnd();
                    }
                } else {
                    composer5.skipToGroupEnd();
                }
                break;
            case 5:
                long j7 = ((C2714u) obj).f22947a;
                Composer composer6 = (Composer) obj2;
                int iIntValue6 = ((Number) obj3).intValue();
                if (composer6.shouldExecute((iIntValue6 & 17) != 16, iIntValue6 & 1)) {
                    if (ComposerKt.isTraceInProgress()) {
                        ComposerKt.traceEventStart(-1261173016, iIntValue6, -1, "androidx.compose.foundation.text.contextmenu.internal.TextContextMenuHelperApi28.textClassificationItem.<anonymous> (DefaultTextContextMenuDropdownProvider.android.kt:257)");
                    }
                    P.r.f5594a.b(((RemoteAction) this.f4107b).getIcon(), composer6, 48);
                    if (ComposerKt.isTraceInProgress()) {
                        ComposerKt.traceEventEnd();
                    }
                } else {
                    composer6.skipToGroupEnd();
                }
                break;
            default:
                Composer composer7 = (Composer) obj2;
                int iIntValue7 = ((Number) obj3).intValue();
                if (composer7.shouldExecute((iIntValue7 & 17) != 16, iIntValue7 & 1)) {
                    if (ComposerKt.isTraceInProgress()) {
                        ComposerKt.traceEventStart(-1459717586, iIntValue7, -1, "androidx.compose.material3.OutlinedTextFieldDefaults.DecorationBox.<anonymous>.<anonymous> (TextFieldDefaults.kt:1182)");
                    }
                    ((J4.e) this.f4107b).invoke(composer7, 0);
                    if (ComposerKt.isTraceInProgress()) {
                        ComposerKt.traceEventEnd();
                    }
                } else {
                    composer7.skipToGroupEnd();
                }
                break;
        }
        return C3137A.f25453a;
    }
}
