package defpackage;

import androidx.media3.extractor.text.ttml.TtmlNode;
import com.google.android.gms.fido.u2f.api.common.RegisterRequest;
import com.strmr.ps.data.local.entity.PlayerSettings;
import defpackage.em0;
import kotlin.Metadata;
import kotlin.coroutines.Continuation;
import kotlin.coroutines.jvm.internal.DebugMetadata;
import kotlin.coroutines.jvm.internal.SuspendLambda;

/* JADX INFO: loaded from: classes3.dex */
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"Lhwa;", "Le6a;", "<anonymous>", "(Lhwa;)V"}, k = 3, mv = {2, 0, 0})
@DebugMetadata(c = "io.ktor.client.plugins.internal.ByteChannelReplay$CopyFromSourceTask$receiveBody$1", f = "ByteChannelReplay.kt", i = {0, 0, 1, 1, 2, 2, 2, 3, 3, 3}, l = {59, PlayerSettings.SKIP_DURATION_60S, 64, RegisterRequest.U2F_V1_CHALLENGE_BYTE_LENGTH}, m = "invokeSuspend", n = {"$this$writer", TtmlNode.TAG_BODY, "$this$writer", TtmlNode.TAG_BODY, "$this$writer", TtmlNode.TAG_BODY, "packet", "$this$writer", TtmlNode.TAG_BODY, "packet"}, s = {"L$0", "L$1", "L$0", "L$1", "L$0", "L$1", "L$2", "L$0", "L$1", "L$2"})
@vx8
final class dm0 extends SuspendLambda implements gr3<hwa, Continuation<? super e6a>, Object> {
    public nv8 a;
    public qx8 b;
    public int c;
    public /* synthetic */ Object d;
    public final /* synthetic */ em0 e;
    public final /* synthetic */ em0.a f;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public dm0(em0 em0Var, em0.a aVar, Continuation continuation) {
        super(2, continuation);
        this.e = em0Var;
        this.f = aVar;
    }

    @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
    public final Continuation create(Object obj, Continuation continuation) {
        dm0 dm0Var = new dm0(this.e, this.f, continuation);
        dm0Var.d = obj;
        return dm0Var;
    }

    @Override // defpackage.gr3
    public final Object invoke(Object obj, Object obj2) {
        return ((dm0) create((hwa) obj, (Continuation) obj2)).invokeSuspend(e6a.a);
    }

    /* JADX WARN: Multi-variable type inference failed */
    /* JADX WARN: Not initialized variable reg: 9, insn: 0x00ee: INVOKE (r9 I:rs7) INTERFACE call: rs7.close():void A[MD:():void (m)], block:B:51:0x00ee */
    /* JADX WARN: Path cross not found for [B:29:0x006f, B:32:0x0080], limit reached: 53 */
    /* JADX WARN: Removed duplicated region for block: B:20:0x0045 A[PHI: r1 r9 r13
      0x0045: PHI (r1v2 hwa) = (r1v5 hwa), (r1v14 hwa) binds: [B:33:0x0092, B:19:0x0042] A[DONT_GENERATE, DONT_INLINE]
      0x0045: PHI (r9v2 ??) = (r9v15 ??), (r9v16 ??) binds: [B:33:0x0092, B:19:0x0042] A[DONT_GENERATE, DONT_INLINE]
      0x0045: PHI (r13v4 java.lang.Object) = (r13v10 java.lang.Object), (r13v0 java.lang.Object) binds: [B:33:0x0092, B:19:0x0042] A[DONT_GENERATE, DONT_INLINE]] */
    /* JADX WARN: Removed duplicated region for block: B:27:0x0067 A[Catch: all -> 0x0024, TryCatch #0 {all -> 0x0024, blocks: (B:9:0x001f, B:44:0x00c6, B:25:0x005f, B:27:0x0067, B:29:0x006f, B:32:0x0080, B:35:0x0095, B:36:0x0098, B:38:0x00a0, B:41:0x00b5, B:45:0x00d5, B:47:0x00dd, B:50:0x00ed, B:16:0x0037, B:19:0x0042, B:22:0x004d), top: B:54:0x000d }] */
    /* JADX WARN: Removed duplicated region for block: B:34:0x0094  */
    /* JADX WARN: Removed duplicated region for block: B:38:0x00a0 A[Catch: all -> 0x0024, Exception -> 0x00c6, TryCatch #0 {all -> 0x0024, blocks: (B:9:0x001f, B:44:0x00c6, B:25:0x005f, B:27:0x0067, B:29:0x006f, B:32:0x0080, B:35:0x0095, B:36:0x0098, B:38:0x00a0, B:41:0x00b5, B:45:0x00d5, B:47:0x00dd, B:50:0x00ed, B:16:0x0037, B:19:0x0042, B:22:0x004d), top: B:54:0x000d }] */
    /* JADX WARN: Removed duplicated region for block: B:45:0x00d5 A[Catch: all -> 0x0024, TryCatch #0 {all -> 0x0024, blocks: (B:9:0x001f, B:44:0x00c6, B:25:0x005f, B:27:0x0067, B:29:0x006f, B:32:0x0080, B:35:0x0095, B:36:0x0098, B:38:0x00a0, B:41:0x00b5, B:45:0x00d5, B:47:0x00dd, B:50:0x00ed, B:16:0x0037, B:19:0x0042, B:22:0x004d), top: B:54:0x000d }] */
    /* JADX WARN: Type inference failed for: r1v0, types: [int] */
    /* JADX WARN: Type inference failed for: r1v1, types: [qx8] */
    /* JADX WARN: Type inference failed for: r1v16, types: [qx8] */
    /* JADX WARN: Type inference failed for: r1v17 */
    /* JADX WARN: Type inference failed for: r1v18 */
    /* JADX WARN: Type inference failed for: r1v4, types: [qx8] */
    /* JADX WARN: Type inference failed for: r1v7, types: [java.lang.Object, ss7] */
    /* JADX WARN: Type inference failed for: r9v1, types: [nv8] */
    /* JADX WARN: Type inference failed for: r9v10, types: [nv8] */
    /* JADX WARN: Type inference failed for: r9v11 */
    /* JADX WARN: Type inference failed for: r9v12 */
    /* JADX WARN: Type inference failed for: r9v13 */
    /* JADX WARN: Type inference failed for: r9v14 */
    /* JADX WARN: Type inference failed for: r9v15 */
    /* JADX WARN: Type inference failed for: r9v16 */
    /* JADX WARN: Type inference failed for: r9v17 */
    /* JADX WARN: Type inference failed for: r9v18 */
    /* JADX WARN: Type inference failed for: r9v2, types: [nv8] */
    /* JADX WARN: Type inference failed for: r9v3, types: [nv8] */
    /* JADX WARN: Type inference failed for: r9v4, types: [nv8] */
    /* JADX WARN: Type inference failed for: r9v5, types: [java.lang.Object, nv8] */
    /* JADX WARN: Type inference failed for: r9v6 */
    /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:37:0x009e -> B:44:0x00c6). Please report as a decompilation issue!!! */
    /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:42:0x00c3 -> B:44:0x00c6). Please report as a decompilation issue!!! */
    /*  JADX ERROR: JadxRuntimeException in pass: RegionMakerVisitor
        jadx.core.utils.exceptions.JadxRuntimeException: Can't find top splitter block for handler:B:53:0x00c6
        	at jadx.core.utils.BlockUtils.getTopSplitterForHandler(BlockUtils.java:1182)
        	at jadx.core.dex.visitors.regions.maker.ExcHandlersRegionMaker.collectHandlerRegions(ExcHandlersRegionMaker.java:53)
        	at jadx.core.dex.visitors.regions.maker.ExcHandlersRegionMaker.process(ExcHandlersRegionMaker.java:38)
        	at jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:27)
        */
    @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final java.lang.Object invokeSuspend(java.lang.Object r13) {
        /*
            Method dump skipped, instruction units count: 247
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: defpackage.dm0.invokeSuspend(java.lang.Object):java.lang.Object");
    }
}
