package d3;

import androidx.compose.runtime.MutableState;
import androidx.media3.exoplayer.ExoPlayer;
import j$.time.format.DateTimeFormatter;
import m3.AbstractC2467b;
import w4.C3137A;

/* JADX INFO: loaded from: classes.dex */
public final class C1 extends C4.j implements J4.e {

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

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C1(ExoPlayer exoPlayer, MutableState mutableState, A4.d dVar) {
        super(2, dVar);
        this.f15040a = exoPlayer;
        this.f15041b = mutableState;
    }

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        return new C1(this.f15040a, this.f15041b, dVar);
    }

    @Override // J4.e
    public final Object invoke(Object obj, Object obj2) {
        C1 c12 = (C1) create((V4.C) obj, (A4.d) obj2);
        C3137A c3137a = C3137A.f25453a;
        c12.invokeSuspend(c3137a);
        return c3137a;
    }

    @Override // C4.a
    public final Object invokeSuspend(Object obj) {
        B4.a aVar = B4.a.f492a;
        AbstractC2467b.l(obj);
        if (this.f15040a.getPlayWhenReady()) {
            DateTimeFormatter dateTimeFormatter = v2.f16084a;
            this.f15041b.setValue(Boolean.FALSE);
        }
        return C3137A.f25453a;
    }
}
