package p000.p001.p002.p003.p004;

import ar.tvplayer.core.data.prefs.ރ;
import ar.tvplayer.core.data.repositories.ޱ;
import p000.p001.p021.p023.C1267;
import p025.p026.C1340;
import p025.p026.C1356;
import p025.p026.InterfaceC1327;
import p138.p176.p177.p242.p246.p251.C4303;
import p402.C6549;
import p402.p405.InterfaceC6575;
import p402.p405.p406.EnumC6586;
import p402.p405.p407.p408.AbstractC6597;
import p402.p405.p407.p408.InterfaceC6593;
import p402.p411.p412.InterfaceC6603;
import p402.p411.p412.InterfaceC6618;
import p402.p411.p413.C6635;

/* JADX INFO: renamed from: ނ.֏.֏.֏.֏.ໟ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
@InterfaceC6593(c = "ar.tvplayer.tv.player.ui.PlayerFragment$updateChannelTurnOnData$1", f = "PlayerFragment.kt", l = {304}, m = "invokeSuspend")
public final class C0623 extends AbstractC6597 implements InterfaceC6618<InterfaceC1327, InterfaceC6575<? super C6549>, Object> {

    /* JADX INFO: renamed from: އ, reason: contains not printable characters */
    public InterfaceC1327 f2949;

    /* JADX INFO: renamed from: ވ, reason: contains not printable characters */
    public Object f2950;

    /* JADX INFO: renamed from: މ, reason: contains not printable characters */
    public long f2951;

    /* JADX INFO: renamed from: ފ, reason: contains not printable characters */
    public int f2952;

    /* JADX INFO: renamed from: ދ, reason: contains not printable characters */
    public int f2953;

    /* JADX INFO: renamed from: ތ, reason: contains not printable characters */
    public final /* synthetic */ SharedPreferencesOnSharedPreferenceChangeListenerC0501 f2954;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C0623(SharedPreferencesOnSharedPreferenceChangeListenerC0501 sharedPreferencesOnSharedPreferenceChangeListenerC0501, InterfaceC6575 interfaceC6575) {
        super(2, interfaceC6575);
        this.f2954 = sharedPreferencesOnSharedPreferenceChangeListenerC0501;
    }

    @Override // p402.p405.p407.p408.AbstractC6589
    /* JADX INFO: renamed from: ֏ */
    public final InterfaceC6575<C6549> mo837(Object obj, InterfaceC6575<?> interfaceC6575) {
        if (interfaceC6575 == null) {
            C6635.m9824("completion");
            throw null;
        }
        C0623 c0623 = new C0623(this.f2954, interfaceC6575);
        c0623.f2949 = (InterfaceC1327) obj;
        return c0623;
    }

    @Override // p402.p411.p412.InterfaceC6618
    /* JADX INFO: renamed from: ؠ */
    public final Object mo838(InterfaceC1327 interfaceC1327, InterfaceC6575<? super C6549> interfaceC6575) {
        return ((C0623) mo837(interfaceC1327, interfaceC6575)).mo839(C6549.f19328);
    }

    /* JADX WARN: Removed duplicated region for block: B:22:0x005f  */
    /* JADX WARN: Removed duplicated region for block: B:27:0x0083  */
    @Override // p402.p405.p407.p408.AbstractC6589
    /* JADX INFO: renamed from: ށ */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final Object mo839(Object obj) {
        long j;
        long j2;
        C0636 c0636M1798;
        C1267 c1267;
        EnumC6586 enumC6586 = EnumC6586.COROUTINE_SUSPENDED;
        int i = this.f2953;
        if (i == 0) {
            C4303.m7198(obj);
            InterfaceC1327 interfaceC1327 = this.f2949;
            long jCurrentTimeMillis = System.currentTimeMillis();
            int i2 = ރ.ߠ.ޥ();
            if (i2 <= 0) {
                j = jCurrentTimeMillis;
                c0636M1798 = this.f2954.m1798();
                if (c0636M1798.f2994 != 0 && c0636M1798.f2995 != null) {
                    long j3 = c0636M1798.f2994;
                    c1267 = c0636M1798.f2995;
                    if (c1267 != null) {
                        C6635.m9822();
                        throw null;
                    }
                    int i3 = c1267.f4384.f4393;
                    C1267 c12672 = c0636M1798.f2995;
                    if (c12672 == null) {
                        C6635.m9822();
                        throw null;
                    }
                    C4303.m7160(C1356.f4507, C1340.f4488, null, new ޱ(j3, j, i3, c12672.f4385, (InterfaceC6603) null, (InterfaceC6575) null), 2, null);
                }
                return C6549.f19328;
            }
            this.f2950 = interfaceC1327;
            this.f2951 = jCurrentTimeMillis;
            this.f2952 = i2;
            this.f2953 = 1;
            if (C4303.m7005(((long) i2) * 1000, this) == enumC6586) {
                return enumC6586;
            }
            j2 = jCurrentTimeMillis;
        } else {
            if (i != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            j2 = this.f2951;
            C4303.m7198(obj);
        }
        j = j2;
        c0636M1798 = this.f2954.m1798();
        if (c0636M1798.f2994 != 0) {
            long j32 = c0636M1798.f2994;
            c1267 = c0636M1798.f2995;
            if (c1267 != null) {
            }
        }
        return C6549.f19328;
    }
}
