package com.strmr.ps.data.repository;

import defpackage.ak1;
import defpackage.e6a;
import defpackage.gr3;
import defpackage.iy4;
import defpackage.q38;
import defpackage.vx8;
import java.util.List;
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\u0014\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010 \n\u0002\u0010\u000e\n\u0002\b\u0002\u0010\u0004\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00030\u00020\u0001*\u00020\u0000H\n¢\u0006\u0004\b\u0004\u0010\u0005"}, d2 = {"Lak1;", "Lq38;", "", "", "<anonymous>", "(Lak1;)Lq38;"}, k = 3, mv = {2, 0, 0})
@DebugMetadata(c = "com.strmr.ps.data.repository.AddonRepository$installBundle$2", f = "AddonRepository.kt", i = {0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3}, l = {368, 374, 379, 410}, m = "invokeSuspend", n = {"jsonParser", "bundle", "installedNames", "addonDef", "jsonParser", "bundle", "installedNames", "addonDef", "jsonParser", "bundle", "installedNames", "addonDef", "manifest", "resolvedAddonId", "jsonParser", "bundle", "installedNames", "addonDef", "instanceId"}, s = {"L$0", "L$1", "L$2", "L$4", "L$0", "L$1", "L$2", "L$4", "L$0", "L$1", "L$2", "L$4", "L$5", "L$6", "L$0", "L$1", "L$2", "L$4", "L$5"})
@vx8
public final class AddonRepository$installBundle$2 extends SuspendLambda implements gr3<ak1, Continuation<? super q38<? extends List<? extends String>>>, Object> {
    final /* synthetic */ String $bundleJson;
    final /* synthetic */ String $bundleSourceUrl;
    Object L$0;
    Object L$1;
    Object L$2;
    Object L$3;
    Object L$4;
    Object L$5;
    Object L$6;
    int label;
    final /* synthetic */ AddonRepository this$0;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public AddonRepository$installBundle$2(String str, AddonRepository addonRepository, String str2, Continuation<? super AddonRepository$installBundle$2> continuation) {
        super(2, continuation);
        this.$bundleJson = str;
        this.this$0 = addonRepository;
        this.$bundleSourceUrl = str2;
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final e6a invokeSuspend$lambda$0(iy4 iy4Var) {
        iy4Var.b = true;
        return e6a.a;
    }

    @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
    public final Continuation<e6a> create(Object obj, Continuation<?> continuation) {
        return new AddonRepository$installBundle$2(this.$bundleJson, this.this$0, this.$bundleSourceUrl, continuation);
    }

    @Override // defpackage.gr3
    public final Object invoke(ak1 ak1Var, Continuation<? super q38<? extends List<String>>> continuation) {
        return ((AddonRepository$installBundle$2) create(ak1Var, continuation)).invokeSuspend(e6a.a);
    }

    /* JADX WARN: Removed duplicated region for block: B:109:0x0381 A[Catch: Exception -> 0x00ee, TryCatch #0 {Exception -> 0x00ee, blocks: (B:34:0x0103, B:36:0x0109, B:108:0x035c, B:109:0x0381, B:111:0x038a, B:27:0x00c0, B:29:0x00dd, B:33:0x00f1), top: B:116:0x000f }] */
    /* JADX WARN: Removed duplicated region for block: B:36:0x0109 A[Catch: Exception -> 0x00ee, TRY_LEAVE, TryCatch #0 {Exception -> 0x00ee, blocks: (B:34:0x0103, B:36:0x0109, B:108:0x035c, B:109:0x0381, B:111:0x038a, B:27:0x00c0, B:29:0x00dd, B:33:0x00f1), top: B:116:0x000f }] */
    /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:105:0x0331 -> B:97:0x0319). Please report as a decompilation issue!!! */
    /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:108:0x035c -> B:97:0x0319). Please report as a decompilation issue!!! */
    /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:50:0x015a -> B:34:0x0103). Please report as a decompilation issue!!! */
    /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:94:0x02e8 -> B:117:0x02eb). Please report as a decompilation issue!!! */
    /*  JADX ERROR: JadxOverflowException in pass: RegionMakerVisitor
        jadx.core.utils.exceptions.JadxOverflowException: Regions count limit reached
        	at jadx.core.utils.ErrorsCounter.addError(ErrorsCounter.java:59)
        	at jadx.core.utils.ErrorsCounter.error(ErrorsCounter.java:31)
        	at jadx.core.dex.attributes.nodes.NotificationAttrNode.addError(NotificationAttrNode.java:19)
        */
    @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final java.lang.Object invokeSuspend(java.lang.Object r55) {
        /*
            Method dump skipped, instruction units count: 945
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: com.strmr.ps.data.repository.AddonRepository$installBundle$2.invokeSuspend(java.lang.Object):java.lang.Object");
    }
}
