package com.strmr.ps.data.service;

import androidx.media3.container.NalUnitUtil;
import com.strmr.ps.data.local.entity.PlaybackProgress;
import com.strmr.ps.data.model.DebridProvider;
import com.strmr.ps.data.model.StreamInfo;
import com.strmr.ps.data.repository.IDebridProvider;
import defpackage.ck1;
import defpackage.q38;
import java.util.Iterator;
import kotlin.Metadata;
import kotlin.coroutines.jvm.internal.ContinuationImpl;
import kotlin.coroutines.jvm.internal.DebugMetadata;

/* JADX INFO: loaded from: classes3.dex */
@Metadata(k = 3, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
@DebugMetadata(c = "com.strmr.ps.data.service.AddonResolutionService", f = "AddonResolutionService.kt", i = {0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3}, l = {1055, 1069, 1078, 1080}, m = "resolveViaBestDebrid-bMdYcbs", n = {"this", "streamInfo", "season", PlaybackProgress.TYPE_EPISODE, "airDate", "forceProvider", "suppressFallback", "this", "streamInfo", "season", PlaybackProgress.TYPE_EPISODE, "airDate", "forceProvider", "preferredProvider", "this", "streamInfo", "season", PlaybackProgress.TYPE_EPISODE, "airDate", "forceProvider", "preferredProvider", "provider", "this", "streamInfo", "season", PlaybackProgress.TYPE_EPISODE, "airDate", "forceProvider", "preferredProvider"}, s = {"L$0", "L$1", "L$2", "L$3", "L$4", "L$5", "Z$0", "L$0", "L$1", "L$2", "L$3", "L$4", "L$5", "L$6", "L$0", "L$1", "L$2", "L$3", "L$4", "L$5", "L$6", "L$8", "L$0", "L$1", "L$2", "L$3", "L$4", "L$5", "L$6"})
final class g extends ContinuationImpl {
    public AddonResolutionService a;
    public StreamInfo b;
    public Integer c;
    public Integer d;
    public String e;
    public DebridProvider f;
    public DebridProvider i;
    public Iterator j;
    public IDebridProvider k;
    public boolean l;
    public /* synthetic */ Object m;
    public final /* synthetic */ AddonResolutionService n;
    public int o;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public g(AddonResolutionService addonResolutionService, ContinuationImpl continuationImpl) {
        super(continuationImpl);
        this.n = addonResolutionService;
    }

    @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
    public final Object invokeSuspend(Object obj) {
        this.m = obj;
        this.o |= Integer.MIN_VALUE;
        Object objJ = this.n.j(null, null, null, null, null, false, this);
        return objJ == ck1.a ? objJ : new q38(objJ);
    }
}
