package com.revenuecat.purchases.ui.revenuecatui.composables;

import A4.d;
import B4.a;
import C4.e;
import C4.j;
import V4.C;
import m3.AbstractC2467b;
import w4.C3137A;

/* JADX INFO: loaded from: classes3.dex */
@e(c = "com.revenuecat.purchases.ui.revenuecatui.composables.PlaceholderKt$rememberPlaceholder$3$1", f = "Placeholder.kt", l = {120, 122}, m = "invokeSuspend")
public final class PlaceholderKt$rememberPlaceholder$3$1 extends j implements J4.e {
    final /* synthetic */ boolean $inPreviewMode;
    final /* synthetic */ Placeholder $placeholder;
    final /* synthetic */ boolean $visible;
    int label;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public PlaceholderKt$rememberPlaceholder$3$1(boolean z6, boolean z7, Placeholder placeholder, d dVar) {
        super(2, dVar);
        this.$visible = z6;
        this.$inPreviewMode = z7;
        this.$placeholder = placeholder;
    }

    @Override // C4.a
    public final d create(Object obj, d dVar) {
        return new PlaceholderKt$rememberPlaceholder$3$1(this.$visible, this.$inPreviewMode, this.$placeholder, dVar);
    }

    @Override // J4.e
    public final Object invoke(C c6, d dVar) {
        return ((PlaceholderKt$rememberPlaceholder$3$1) create(c6, dVar)).invokeSuspend(C3137A.f25453a);
    }

    /* JADX WARN: Code restructure failed: missing block: B:15:0x002c, code lost:
    
        if (r5.startAnimation$revenuecatui_defaultsBc8Release(r4) == r0) goto L19;
     */
    /* JADX WARN: Code restructure failed: missing block: B:18:0x0037, code lost:
    
        if (r5.stopAnimation$revenuecatui_defaultsBc8Release(r4) == r0) goto L19;
     */
    /* JADX WARN: Code restructure failed: missing block: B:19:0x0039, code lost:
    
        return r0;
     */
    @Override // C4.a
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final Object invokeSuspend(Object obj) {
        a aVar = a.f492a;
        int i6 = this.label;
        if (i6 == 0) {
            AbstractC2467b.l(obj);
            if (!this.$visible || this.$inPreviewMode) {
                Placeholder placeholder = this.$placeholder;
                this.label = 2;
            } else {
                Placeholder placeholder2 = this.$placeholder;
                this.label = 1;
            }
        } else {
            if (i6 != 1 && i6 != 2) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            AbstractC2467b.l(obj);
        }
        return C3137A.f25453a;
    }
}
