package p138.p176.p177.p190.p217.p222;

import android.net.Uri;
import android.os.Handler;
import android.util.Log;
import android.util.SparseIntArray;
import com.google.android.exoplayer2.source.BehindLiveWindowException;
import com.google.android.exoplayer2.upstream.Loader;
import java.io.EOFException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.checkerframework.checker.nullness.qual.EnsuresNonNull;
import p000.p001.p002.p003.p004.C0567;
import p138.p139.p143.p144.C2803;
import p138.p176.p177.p190.C3431;
import p138.p176.p177.p190.p194.C3526;
import p138.p176.p177.p190.p194.InterfaceC3532;
import p138.p176.p177.p190.p198.C3558;
import p138.p176.p177.p190.p198.C3560;
import p138.p176.p177.p190.p198.InterfaceC3562;
import p138.p176.p177.p190.p198.InterfaceC3571;
import p138.p176.p177.p190.p198.InterfaceC3575;
import p138.p176.p177.p190.p210.C3710;
import p138.p176.p177.p190.p210.p211.C3720;
import p138.p176.p177.p190.p210.p211.C3722;
import p138.p176.p177.p190.p210.p214.C3754;
import p138.p176.p177.p190.p217.C3820;
import p138.p176.p177.p190.p217.C3827;
import p138.p176.p177.p190.p217.C3829;
import p138.p176.p177.p190.p217.InterfaceC3798;
import p138.p176.p177.p190.p217.InterfaceC3803;
import p138.p176.p177.p190.p217.InterfaceC3824;
import p138.p176.p177.p190.p217.p219.AbstractC3836;
import p138.p176.p177.p190.p217.p222.C3899;
import p138.p176.p177.p190.p217.p222.p223.C3923;
import p138.p176.p177.p190.p217.p222.p223.C3929;
import p138.p176.p177.p190.p235.InterfaceC4036;
import p138.p176.p177.p190.p238.C4098;
import p138.p176.p177.p190.p238.C4114;
import p138.p176.p177.p190.p238.InterfaceC4089;
import p138.p176.p177.p190.p238.InterfaceC4095;
import p138.p176.p177.p190.p238.InterfaceC4109;
import p138.p176.p177.p190.p239.C4134;
import p138.p176.p177.p190.p239.C4140;
import p138.p176.p177.p190.p239.C4150;

/* JADX INFO: renamed from: ދ.ހ.֏.ؠ.ໞ.ޟ.ތ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public final class C3911 implements Loader.InterfaceC0319<AbstractC3836>, Loader.InterfaceC0323, InterfaceC3824, InterfaceC3562, C3820.InterfaceC3822 {

    /* JADX INFO: renamed from: ࢬ, reason: contains not printable characters */
    public static final Set<Integer> f12125 = Collections.unmodifiableSet(new HashSet(Arrays.asList(1, 2, 4)));

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public final int f12126;

    /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
    public final InterfaceC3912 f12127;

    /* JADX INFO: renamed from: ޅ, reason: contains not printable characters */
    public final C3899 f12128;

    /* JADX INFO: renamed from: ކ, reason: contains not printable characters */
    public final InterfaceC4089 f12129;

    /* JADX INFO: renamed from: އ, reason: contains not printable characters */
    public final C3431 f12130;

    /* JADX INFO: renamed from: ވ, reason: contains not printable characters */
    public final InterfaceC3532<?> f12131;

    /* JADX INFO: renamed from: މ, reason: contains not printable characters */
    public final InterfaceC4109 f12132;

    /* JADX INFO: renamed from: ދ, reason: contains not printable characters */
    public final InterfaceC3803.C3804 f12134;

    /* JADX INFO: renamed from: ތ, reason: contains not printable characters */
    public final int f12135;

    /* JADX INFO: renamed from: ގ, reason: contains not printable characters */
    public final ArrayList<C3908> f12137;

    /* JADX INFO: renamed from: ޏ, reason: contains not printable characters */
    public final List<C3908> f12138;

    /* JADX INFO: renamed from: ސ, reason: contains not printable characters */
    public final Runnable f12139;

    /* JADX INFO: renamed from: ޑ, reason: contains not printable characters */
    public final Runnable f12140;

    /* JADX INFO: renamed from: ޒ, reason: contains not printable characters */
    public final Handler f12141;

    /* JADX INFO: renamed from: ޓ, reason: contains not printable characters */
    public final ArrayList<C3910> f12142;

    /* JADX INFO: renamed from: ޔ, reason: contains not printable characters */
    public final Map<String, C3526> f12143;

    /* JADX INFO: renamed from: ޙ, reason: contains not printable characters */
    public InterfaceC3575 f12148;

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

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

    /* JADX INFO: renamed from: ޜ, reason: contains not printable characters */
    public boolean f12151;

    /* JADX INFO: renamed from: ޝ, reason: contains not printable characters */
    public boolean f12152;

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

    /* JADX INFO: renamed from: ޟ, reason: contains not printable characters */
    public C3431 f12154;

    /* JADX INFO: renamed from: ޠ, reason: contains not printable characters */
    public C3431 f12155;

    /* JADX INFO: renamed from: ޡ, reason: contains not printable characters */
    public boolean f12156;

    /* JADX INFO: renamed from: ޢ, reason: contains not printable characters */
    public C3829 f12157;

    /* JADX INFO: renamed from: ޣ, reason: contains not printable characters */
    public Set<C3827> f12158;

    /* JADX INFO: renamed from: ޤ, reason: contains not printable characters */
    public int[] f12159;

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

    /* JADX INFO: renamed from: ޱ, reason: contains not printable characters */
    public boolean f12161;

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

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

    /* JADX INFO: renamed from: ࢥ, reason: contains not printable characters */
    public boolean f12166;

    /* JADX INFO: renamed from: ࢦ, reason: contains not printable characters */
    public boolean f12167;

    /* JADX INFO: renamed from: ࢧ, reason: contains not printable characters */
    public boolean f12168;

    /* JADX INFO: renamed from: ࢨ, reason: contains not printable characters */
    public boolean f12169;

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

    /* JADX INFO: renamed from: ࢪ, reason: contains not printable characters */
    public C3526 f12171;

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

    /* JADX INFO: renamed from: ފ, reason: contains not printable characters */
    public final Loader f12133 = new Loader("Loader:HlsSampleStreamWrapper");

    /* JADX INFO: renamed from: ލ, reason: contains not printable characters */
    public final C3899.C3901 f12136 = new C3899.C3901();

    /* JADX INFO: renamed from: ޖ, reason: contains not printable characters */
    public int[] f12145 = new int[0];

    /* JADX INFO: renamed from: ޗ, reason: contains not printable characters */
    public Set<Integer> f12146 = new HashSet(f12125.size());

    /* JADX INFO: renamed from: ޘ, reason: contains not printable characters */
    public SparseIntArray f12147 = new SparseIntArray(f12125.size());

    /* JADX INFO: renamed from: ޕ, reason: contains not printable characters */
    public C3914[] f12144 = new C3914[0];

    /* JADX INFO: renamed from: ࢢ, reason: contains not printable characters */
    public boolean[] f12163 = new boolean[0];

    /* JADX INFO: renamed from: ࢠ, reason: contains not printable characters */
    public boolean[] f12162 = new boolean[0];

    /* JADX INFO: renamed from: ދ.ހ.֏.ؠ.ໞ.ޟ.ތ$֏, reason: contains not printable characters */
    public interface InterfaceC3912 extends InterfaceC3824.InterfaceC3825<C3911> {
    }

    /* JADX INFO: renamed from: ދ.ހ.֏.ؠ.ໞ.ޟ.ތ$ؠ, reason: contains not printable characters */
    public static class C3913 implements InterfaceC3575 {

        /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
        public static final C3431 f12173 = C3431.m5580(null, "application/id3", Long.MAX_VALUE);

        /* JADX INFO: renamed from: ޅ, reason: contains not printable characters */
        public static final C3431 f12174 = C3431.m5580(null, "application/x-emsg", Long.MAX_VALUE);

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public final C3722 f12175 = new C3722();

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public final InterfaceC3575 f12176;

        /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
        public final C3431 f12177;

        /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
        public C3431 f12178;

        /* JADX INFO: renamed from: ނ, reason: contains not printable characters */
        public byte[] f12179;

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

        public C3913(InterfaceC3575 interfaceC3575, int i) {
            this.f12176 = interfaceC3575;
            if (i == 1) {
                this.f12177 = f12173;
            } else {
                if (i != 3) {
                    throw new IllegalArgumentException(C2803.m4871("Unknown metadataType: ", i));
                }
                this.f12177 = f12174;
            }
            this.f12179 = new byte[0];
            this.f12180 = 0;
        }

        @Override // p138.p176.p177.p190.p198.InterfaceC3575
        /* JADX INFO: renamed from: ֏ */
        public int mo5882(C3558 c3558, int i, boolean z) throws InterruptedException, EOFException {
            int i2 = this.f12180 + i;
            byte[] bArr = this.f12179;
            if (bArr.length < i2) {
                this.f12179 = Arrays.copyOf(bArr, (i2 / 2) + i2);
            }
            int iM5870 = c3558.m5870(this.f12179, this.f12180, i);
            if (iM5870 != -1) {
                this.f12180 += iM5870;
                return iM5870;
            }
            if (z) {
                return -1;
            }
            throw new EOFException();
        }

        @Override // p138.p176.p177.p190.p198.InterfaceC3575
        /* JADX INFO: renamed from: ֏ */
        public void mo5883(long j, int i, int i2, int i3, InterfaceC3575.C3576 c3576) {
            C0567.m1856(this.f12178);
            int i4 = this.f12180 - i3;
            C4140 c4140 = new C4140(Arrays.copyOfRange(this.f12179, i4 - i2, i4));
            byte[] bArr = this.f12179;
            System.arraycopy(bArr, i4, bArr, 0, i3);
            this.f12180 = i3;
            if (!C4150.m6769((Object) this.f12178.f10090, (Object) this.f12177.f10090)) {
                if (!"application/x-emsg".equals(this.f12178.f10090)) {
                    C2803.m4899(C2803.m4889("Ignoring sample for unsupported format: "), this.f12178.f10090, "EmsgUnwrappingTrackOutput");
                    return;
                }
                C3720 c3720M6063 = this.f12175.m6063(c4140);
                C3431 c3431Mo5966 = c3720M6063.mo5966();
                if (!(c3431Mo5966 != null && C4150.m6769((Object) this.f12177.f10090, (Object) c3431Mo5966.f10090))) {
                    Log.w("EmsgUnwrappingTrackOutput", String.format("Ignoring EMSG. Expected it to contain wrapped %s but actual wrapped format: %s", this.f12177.f10090, c3720M6063.mo5966()));
                    return;
                } else {
                    byte[] bArr2 = c3720M6063.mo5966() != null ? c3720M6063.f11460 : null;
                    C0567.m1856(bArr2);
                    c4140 = new C4140(bArr2);
                }
            }
            int iM6679 = c4140.m6679();
            this.f12176.mo5885(c4140, iM6679);
            this.f12176.mo5883(j, i, iM6679, i3, c3576);
        }

        @Override // p138.p176.p177.p190.p198.InterfaceC3575
        /* JADX INFO: renamed from: ֏ */
        public void mo5884(C3431 c3431) {
            this.f12178 = c3431;
            this.f12176.mo5884(this.f12177);
        }

        @Override // p138.p176.p177.p190.p198.InterfaceC3575
        /* JADX INFO: renamed from: ֏ */
        public void mo5885(C4140 c4140, int i) {
            int i2 = this.f12180 + i;
            byte[] bArr = this.f12179;
            if (bArr.length < i2) {
                this.f12179 = Arrays.copyOf(bArr, (i2 / 2) + i2);
            }
            c4140.m6685(this.f12179, this.f12180, i);
            this.f12180 += i;
        }
    }

    /* JADX INFO: renamed from: ދ.ހ.֏.ؠ.ໞ.ޟ.ތ$ހ, reason: contains not printable characters */
    public static final class C3914 extends C3820 {

        /* JADX INFO: renamed from: ޜ, reason: contains not printable characters */
        public final Map<String, C3526> f12181;

        /* JADX INFO: renamed from: ޝ, reason: contains not printable characters */
        public C3526 f12182;

        public C3914(InterfaceC4089 interfaceC4089, InterfaceC3532<?> interfaceC3532, Map<String, C3526> map) {
            super(interfaceC4089, interfaceC3532);
            this.f12181 = map;
        }

        /* JADX WARN: Removed duplicated region for block: B:12:0x001b  */
        @Override // p138.p176.p177.p190.p217.C3820
        /* JADX INFO: renamed from: ؠ */
        /*
            Code decompiled incorrectly, please refer to instructions dump.
        */
        public C3431 mo6183(C3431 c3431) {
            C3526 c3526;
            C3526 c35262 = this.f12182;
            if (c35262 == null) {
                c35262 = c3431.f10093;
            }
            if (c35262 != null && (c3526 = this.f12181.get(c35262.f10496)) != null) {
                c35262 = c3526;
            }
            C3710 c3710 = c3431.f10088;
            if (c3710 == null) {
                c3710 = null;
            } else {
                int length = c3710.f11440.length;
                int i = 0;
                int i2 = 0;
                while (true) {
                    if (i2 >= length) {
                        i2 = -1;
                        break;
                    }
                    C3710.InterfaceC3712 interfaceC3712 = c3710.f11440[i2];
                    if ((interfaceC3712 instanceof C3754) && "com.apple.streaming.transportStreamTimestamp".equals(((C3754) interfaceC3712).f11524)) {
                        break;
                    }
                    i2++;
                }
                if (i2 != -1) {
                    if (length != 1) {
                        C3710.InterfaceC3712[] interfaceC3712Arr = new C3710.InterfaceC3712[length - 1];
                        while (i < length) {
                            if (i != i2) {
                                interfaceC3712Arr[i < i2 ? i : i - 1] = c3710.f11440[i];
                            }
                            i++;
                        }
                        c3710 = new C3710(interfaceC3712Arr);
                    }
                }
            }
            return super.mo6183(c3431.m5601(c35262, c3710));
        }
    }

    public C3911(int i, InterfaceC3912 interfaceC3912, C3899 c3899, Map<String, C3526> map, InterfaceC4089 interfaceC4089, long j, C3431 c3431, InterfaceC3532<?> interfaceC3532, InterfaceC4109 interfaceC4109, InterfaceC3803.C3804 c3804, int i2) {
        this.f12126 = i;
        this.f12127 = interfaceC3912;
        this.f12128 = c3899;
        this.f12143 = map;
        this.f12129 = interfaceC4089;
        this.f12130 = c3431;
        this.f12131 = interfaceC3532;
        this.f12132 = interfaceC4109;
        this.f12134 = c3804;
        this.f12135 = i2;
        ArrayList<C3908> arrayList = new ArrayList<>();
        this.f12137 = arrayList;
        this.f12138 = Collections.unmodifiableList(arrayList);
        this.f12142 = new ArrayList<>();
        this.f12139 = new Runnable() { // from class: ދ.ހ.֏.ؠ.ໞ.ޟ.ހ
            @Override // java.lang.Runnable
            public final void run() {
                this.f12038.m6331();
            }
        };
        this.f12140 = new Runnable() { // from class: ދ.ހ.֏.ؠ.ໞ.ޟ.ؠ
            @Override // java.lang.Runnable
            public final void run() {
                this.f12037.m6333();
            }
        };
        this.f12141 = new Handler();
        this.f12164 = j;
        this.f12165 = j;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static int m6322(int i) {
        if (i == 1) {
            return 2;
        }
        if (i != 2) {
            return i != 3 ? 0 : 1;
        }
        return 3;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static C3431 m6323(C3431 c3431, C3431 c34312, boolean z) {
        if (c3431 == null) {
            return c34312;
        }
        int i = z ? c3431.f10086 : -1;
        int i2 = c3431.f10103;
        int i3 = i2 != -1 ? i2 : c34312.f10103;
        String strM6757 = C4150.m6757(c3431.f10087, C4134.m6655(c34312.f10090));
        String strM6653 = C4134.m6653(strM6757);
        if (strM6653 == null) {
            strM6653 = c34312.f10090;
        }
        String str = strM6653;
        String str2 = c3431.f10082;
        String str3 = c3431.f10083;
        C3710 c3710M6056 = c3431.f10088;
        int i4 = c3431.f10095;
        int i5 = c3431.f10096;
        int i6 = c3431.f10084;
        String str4 = c3431.f10108;
        C3710 c3710 = c34312.f10088;
        if (c3710 != null) {
            c3710M6056 = c3710.m6056(c3710M6056);
        }
        return new C3431(str2, str3, i6, c34312.f10085, i, strM6757, c3710M6056, c34312.f10089, str, c34312.f10091, c34312.f10092, c34312.f10093, c34312.f10094, i4, i5, c34312.f10097, c34312.f10098, c34312.f10099, c34312.f10101, c34312.f10100, c34312.f10102, i3, c34312.f10104, c34312.f10105, c34312.f10106, c34312.f10107, str4, c34312.f10109, c34312.f10110);
    }

    @Override // com.google.android.exoplayer2.upstream.Loader.InterfaceC0319
    /* JADX INFO: renamed from: ֏ */
    public Loader.C0320 mo1230(Loader.InterfaceC0322 interfaceC0322, long j, long j2, IOException iOException, int i) {
        boolean zMo6476;
        Loader.C0320 c0320M1289;
        AbstractC3836 abstractC3836 = (AbstractC3836) interfaceC0322;
        long j3 = abstractC3836.f11812.f13159;
        boolean z = abstractC3836 instanceof C3908;
        long jMo6615 = this.f12132.mo6615(abstractC3836.f11806, j2, iOException, i);
        if (jMo6615 != -9223372036854775807L) {
            C3899 c3899 = this.f12128;
            InterfaceC4036 interfaceC4036 = c3899.f12063;
            zMo6476 = interfaceC4036.mo6476(interfaceC4036.mo6480(c3899.f12055.m6208(abstractC3836.f11807)), jMo6615);
        } else {
            zMo6476 = false;
        }
        if (zMo6476) {
            if (z && j3 == 0) {
                ArrayList<C3908> arrayList = this.f12137;
                C0567.m1932(arrayList.remove(arrayList.size() + (-1)) == abstractC3836);
                if (this.f12137.isEmpty()) {
                    this.f12165 = this.f12164;
                }
            }
            c0320M1289 = Loader.f1980;
        } else {
            long jMo6616 = this.f12132.mo6616(abstractC3836.f11806, j2, iOException, i);
            c0320M1289 = jMo6616 != -9223372036854775807L ? Loader.m1289(false, jMo6616) : Loader.f1981;
        }
        InterfaceC3803.C3804 c3804 = this.f12134;
        C4098 c4098 = abstractC3836.f11805;
        C4114 c4114 = abstractC3836.f11812;
        c3804.m6135(c4098, c4114.f13160, c4114.f13161, abstractC3836.f11806, this.f12126, abstractC3836.f11807, abstractC3836.f11808, abstractC3836.f11809, abstractC3836.f11810, abstractC3836.f11811, j, j2, j3, iOException, !c0320M1289.m1296());
        if (zMo6476) {
            if (this.f12152) {
                ((C3909) this.f12127).mo5541(this);
            } else {
                mo6107(this.f12164);
            }
        }
        return c0320M1289;
    }

    @Override // p138.p176.p177.p190.p198.InterfaceC3562
    /* JADX INFO: renamed from: ֏ */
    public InterfaceC3575 mo5891(int i, int i2) {
        C3914 c3914;
        int i3 = 0;
        while (true) {
            C3914[] c3914Arr = this.f12144;
            if (i3 >= c3914Arr.length) {
                c3914 = null;
                break;
            }
            if (this.f12145[i3] == i) {
                c3914 = c3914Arr[i3];
                break;
            }
            i3++;
        }
        if (c3914 == null) {
            if (this.f12169) {
                Log.w("HlsSampleStreamWrapper", "Unmapped track with id " + i + " of type " + i2);
                return new C3560();
            }
            int length = this.f12144.length;
            boolean z = i2 == 1 || i2 == 2;
            C3914 c39142 = new C3914(this.f12129, this.f12131, this.f12143);
            if (z) {
                c39142.f12182 = this.f12171;
                c39142.f11762 = true;
            }
            c39142.m6189(this.f12170);
            c39142.f11761 = this.f12172;
            c39142.f11739 = this;
            int i4 = length + 1;
            int[] iArrCopyOf = Arrays.copyOf(this.f12145, i4);
            this.f12145 = iArrCopyOf;
            iArrCopyOf[length] = i;
            this.f12144 = (C3914[]) C4150.m6794(this.f12144, c39142);
            boolean[] zArrCopyOf = Arrays.copyOf(this.f12163, i4);
            this.f12163 = zArrCopyOf;
            zArrCopyOf[length] = z;
            this.f12161 = zArrCopyOf[length] | this.f12161;
            this.f12146.add(Integer.valueOf(i2));
            this.f12147.append(i2, length);
            if (m6322(i2) > m6322(this.f12149)) {
                this.f12150 = length;
                this.f12149 = i2;
            }
            this.f12162 = Arrays.copyOf(this.f12162, i4);
            c3914 = c39142;
        }
        if (i2 != 4) {
            return c3914;
        }
        if (this.f12148 == null) {
            this.f12148 = new C3913(c3914, this.f12135);
        }
        return this.f12148;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final C3829 m6324(C3827[] c3827Arr) {
        for (int i = 0; i < c3827Arr.length; i++) {
            C3827 c3827 = c3827Arr[i];
            C3431[] c3431Arr = new C3431[c3827.f11781];
            for (int i2 = 0; i2 < c3827.f11781; i2++) {
                C3431 c3431M5599 = c3827.f11782[i2];
                C3526 c3526 = c3431M5599.f10093;
                if (c3526 != null) {
                    c3431M5599 = c3431M5599.m5599(this.f12131.mo1125(c3526));
                }
                c3431Arr[i2] = c3431M5599;
            }
            c3827Arr[i] = new C3827(c3431Arr);
        }
        return new C3829(c3827Arr);
    }

    @Override // p138.p176.p177.p190.p198.InterfaceC3562
    /* JADX INFO: renamed from: ֏ */
    public void mo5892() {
        this.f12169 = true;
        this.f12141.post(this.f12140);
    }

    @Override // com.google.android.exoplayer2.upstream.Loader.InterfaceC0319
    /* JADX INFO: renamed from: ֏ */
    public void mo1231(Loader.InterfaceC0322 interfaceC0322, long j, long j2) {
        AbstractC3836 abstractC3836 = (AbstractC3836) interfaceC0322;
        C3899 c3899 = this.f12128;
        if (c3899 == null) {
            throw null;
        }
        if (abstractC3836 instanceof C3899.C3900) {
            C3899.C3900 c3900 = (C3899.C3900) abstractC3836;
            c3899.f12059 = c3900.f11865;
            C3897 c3897 = c3899.f12057;
            Uri uri = c3900.f11805.f13076;
            byte[] bArr = c3900.f12066;
            C0567.m1856(bArr);
            LinkedHashMap<Uri, byte[]> linkedHashMap = c3897.f12046;
            if (uri == null) {
                throw null;
            }
            linkedHashMap.put(uri, bArr);
        }
        InterfaceC3803.C3804 c3804 = this.f12134;
        C4098 c4098 = abstractC3836.f11805;
        C4114 c4114 = abstractC3836.f11812;
        c3804.m6141(c4098, c4114.f13160, c4114.f13161, abstractC3836.f11806, this.f12126, abstractC3836.f11807, abstractC3836.f11808, abstractC3836.f11809, abstractC3836.f11810, abstractC3836.f11811, j, j2, c4114.f13159);
        if (this.f12152) {
            ((C3909) this.f12127).mo5541(this);
        } else {
            mo6107(this.f12164);
        }
    }

    @Override // com.google.android.exoplayer2.upstream.Loader.InterfaceC0319
    /* JADX INFO: renamed from: ֏ */
    public void mo1232(Loader.InterfaceC0322 interfaceC0322, long j, long j2, boolean z) {
        AbstractC3836 abstractC3836 = (AbstractC3836) interfaceC0322;
        InterfaceC3803.C3804 c3804 = this.f12134;
        C4098 c4098 = abstractC3836.f11805;
        C4114 c4114 = abstractC3836.f11812;
        c3804.m6134(c4098, c4114.f13160, c4114.f13161, abstractC3836.f11806, this.f12126, abstractC3836.f11807, abstractC3836.f11808, abstractC3836.f11809, abstractC3836.f11810, abstractC3836.f11811, j, j2, c4114.f13159);
        if (z) {
            return;
        }
        m6334();
        if (this.f12153 > 0) {
            ((C3909) this.f12127).mo5541(this);
        }
    }

    @Override // p138.p176.p177.p190.p217.C3820.InterfaceC3822
    /* JADX INFO: renamed from: ֏ */
    public void mo6149(C3431 c3431) {
        this.f12141.post(this.f12139);
    }

    @Override // p138.p176.p177.p190.p198.InterfaceC3562
    /* JADX INFO: renamed from: ֏ */
    public void mo5893(InterfaceC3571 interfaceC3571) {
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void m6325(C3827[] c3827Arr, int i, int... iArr) {
        this.f12157 = m6324(c3827Arr);
        this.f12158 = new HashSet();
        for (int i2 : iArr) {
            this.f12158.add(this.f12157.f11786[i2]);
        }
        this.f12160 = i;
        Handler handler = this.f12141;
        final InterfaceC3912 interfaceC3912 = this.f12127;
        interfaceC3912.getClass();
        handler.post(new Runnable() { // from class: ދ.ހ.֏.ؠ.ໞ.ޟ.֏
            @Override // java.lang.Runnable
            public final void run() {
                ((C3909) interfaceC3912).m6319();
            }
        });
        this.f12152 = true;
    }

    /* JADX WARN: Removed duplicated region for block: B:83:0x01c1  */
    /* JADX WARN: Removed duplicated region for block: B:87:0x01cc  */
    @Override // p138.p176.p177.p190.p217.InterfaceC3824
    /* JADX INFO: renamed from: ֏ */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public boolean mo6107(long j) {
        List<C3908> listEmptyList;
        long jMax;
        long j2;
        C3899 c3899;
        boolean z;
        Uri uri;
        C3929 c3929M6341;
        long j3;
        AbstractC3836 abstractC3836M6307;
        String str;
        if (this.f12168 || this.f12133.m1295() || this.f12133.m1294()) {
            return false;
        }
        if (m6330()) {
            listEmptyList = Collections.emptyList();
            jMax = this.f12165;
        } else {
            listEmptyList = this.f12138;
            C3908 c3908M6329 = m6329();
            jMax = c3908M6329.f12100 ? c3908M6329.f11811 : Math.max(this.f12164, c3908M6329.f11810);
        }
        List<C3908> list = listEmptyList;
        long j4 = jMax;
        C3899 c38992 = this.f12128;
        boolean z2 = this.f12152 || !list.isEmpty();
        C3899.C3901 c3901 = this.f12136;
        if (c38992 == null) {
            throw null;
        }
        C3908 c3908 = list.isEmpty() ? null : list.get(list.size() - 1);
        int iM6208 = c3908 == null ? -1 : c38992.f12055.m6208(c3908.f11807);
        long jMax2 = j4 - j;
        long jMax3 = (c38992.f12064 > (-9223372036854775807L) ? 1 : (c38992.f12064 == (-9223372036854775807L) ? 0 : -1)) != 0 ? c38992.f12064 - j : -9223372036854775807L;
        if (c3908 == null || c38992.f12062) {
            j2 = -9223372036854775807L;
            c3899 = c38992;
        } else {
            c3899 = c38992;
            long j5 = c3908.f11811 - c3908.f11810;
            jMax2 = Math.max(0L, jMax2 - j5);
            j2 = -9223372036854775807L;
            if (jMax3 != -9223372036854775807L) {
                jMax3 = Math.max(0L, jMax3 - j5);
            }
        }
        C3899 c38993 = c3899;
        C3908 c39082 = c3908;
        int i = iM6208;
        c38993.f12063.mo6309(j, jMax2, jMax3, list, c38993.m6308(c3908, j4));
        int iMo6477 = c38993.f12063.mo6477();
        boolean z3 = i != iMo6477;
        Uri uri2 = c38993.f12052[iMo6477];
        if (((C3923) c38993.f12054).m6342(uri2)) {
            C3929 c3929M63412 = ((C3923) c38993.f12054).m6341(uri2, true);
            C0567.m1856(c3929M63412);
            c38993.f12062 = c3929M63412.f12275;
            c38993.f12064 = c3929M63412.f12257 ? j2 : (c3929M63412.f12251 + c3929M63412.f12261) - ((C3923) c38993.f12054).f12217;
            long j6 = c3929M63412.f12251 - ((C3923) c38993.f12054).f12217;
            z = true;
            long jM6306 = c38993.m6306(c39082, z3, c3929M63412, j6, j4);
            if (jM6306 >= c3929M63412.f12254 || c39082 == null || !z3) {
                uri = uri2;
                c3929M6341 = c3929M63412;
                j3 = j6;
            } else {
                uri = c38993.f12052[i];
                c3929M6341 = ((C3923) c38993.f12054).m6341(uri, true);
                C0567.m1856(c3929M6341);
                long j7 = c3929M6341.f12251 - ((C3923) c38993.f12054).f12217;
                jM6306 = c39082.mo6233();
                j3 = j7;
                iMo6477 = i;
            }
            long j8 = c3929M6341.f12254;
            if (jM6306 < j8) {
                c38993.f12060 = new BehindLiveWindowException();
            } else {
                int i2 = (int) (jM6306 - j8);
                int size = c3929M6341.f12260.size();
                if (i2 < size) {
                    c38993.f12065 = false;
                    c38993.f12061 = null;
                    C3929.C3930 c3930 = c3929M6341.f12260.get(i2);
                    C3929.C3930 c39302 = c3930.f12263;
                    Uri uriM1934 = (c39302 != null || (str = c39302.f12268) == null) ? null : C0567.m1934(c3929M6341.f12273, str);
                    abstractC3836M6307 = c38993.m6307(uriM1934, iMo6477);
                    c3901.f12067 = abstractC3836M6307;
                    if (abstractC3836M6307 == null) {
                        String str2 = c3930.f12268;
                        Uri uriM19342 = str2 == null ? null : C0567.m1934(c3929M6341.f12273, str2);
                        AbstractC3836 abstractC3836M63072 = c38993.m6307(uriM19342, iMo6477);
                        c3901.f12067 = abstractC3836M63072;
                        if (abstractC3836M63072 == null) {
                            InterfaceC3905 interfaceC3905 = c38993.f12048;
                            InterfaceC4095 interfaceC4095 = c38993.f12049;
                            C3431 c3431 = c38993.f12053[iMo6477];
                            List<C3431> list2 = c38993.f12056;
                            int iMo6310 = c38993.f12063.mo6310();
                            Object objMo6312 = c38993.f12063.mo6312();
                            boolean z4 = c38993.f12058;
                            C3919 c3919 = c38993.f12051;
                            C3897 c3897 = c38993.f12057;
                            if (c3897 == null) {
                                throw null;
                            }
                            byte[] bArr = uriM19342 == null ? null : c3897.f12046.get(uriM19342);
                            C3897 c38972 = c38993.f12057;
                            if (c38972 == null) {
                                throw null;
                            }
                            c3901.f12067 = C3908.m6313(interfaceC3905, interfaceC4095, c3431, j3, c3929M6341, i2, uri, list2, iMo6310, objMo6312, z4, c3919, c39082, bArr, uriM1934 == null ? null : c38972.f12046.get(uriM1934));
                        }
                    }
                } else if (!c3929M6341.f12257) {
                    c3901.f12069 = uri;
                    c38993.f12065 &= uri.equals(c38993.f12061);
                    c38993.f12061 = uri;
                } else if (z2 || size == 0) {
                    c3901.f12068 = true;
                } else {
                    i2 = size - 1;
                    c38993.f12065 = false;
                    c38993.f12061 = null;
                    C3929.C3930 c39303 = c3929M6341.f12260.get(i2);
                    C3929.C3930 c393022 = c39303.f12263;
                    if (c393022 != null) {
                        abstractC3836M6307 = c38993.m6307(uriM1934, iMo6477);
                        c3901.f12067 = abstractC3836M6307;
                        if (abstractC3836M6307 == null) {
                        }
                    }
                }
            }
        } else {
            c3901.f12069 = uri2;
            c38993.f12065 &= uri2.equals(c38993.f12061);
            c38993.f12061 = uri2;
            z = true;
        }
        C3899.C3901 c39012 = this.f12136;
        boolean z5 = c39012.f12068;
        AbstractC3836 abstractC3836 = c39012.f12067;
        Uri uri3 = c39012.f12069;
        c39012.f12067 = null;
        c39012.f12068 = false;
        c39012.f12069 = null;
        if (z5) {
            this.f12165 = -9223372036854775807L;
            this.f12168 = z;
            return z;
        }
        if (abstractC3836 == null) {
            if (uri3 == null) {
                return false;
            }
            ((C3923) ((C3909) this.f12127).f12102).f12205.get(uri3).m6344();
            return false;
        }
        if (abstractC3836 instanceof C3908) {
            this.f12165 = -9223372036854775807L;
            C3908 c39083 = (C3908) abstractC3836;
            c39083.f12096 = this;
            int i3 = c39083.f12077;
            boolean z6 = c39083.f12086;
            this.f12172 = i3;
            for (C3914 c3914 : this.f12144) {
                c3914.f11761 = i3;
            }
            if (z6) {
                for (C3914 c39142 : this.f12144) {
                    c39142.f11765 = z;
                }
            }
            this.f12137.add(c39083);
            this.f12154 = c39083.f11807;
        }
        this.f12134.m6132(abstractC3836.f11805, abstractC3836.f11806, this.f12126, abstractC3836.f11807, abstractC3836.f11808, abstractC3836.f11809, abstractC3836.f11810, abstractC3836.f11811, this.f12133.m1290(abstractC3836, this, this.f12132.mo6614(abstractC3836.f11806)));
        return z;
    }

    @Override // p138.p176.p177.p190.p217.InterfaceC3824
    /* JADX INFO: renamed from: ؠ */
    public void mo6108(long j) {
    }

    @Override // p138.p176.p177.p190.p217.InterfaceC3824
    /* JADX INFO: renamed from: ؠ */
    public boolean mo6109() {
        return this.f12133.m1295();
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public boolean m6326(long j, boolean z) {
        boolean z2;
        this.f12164 = j;
        if (m6330()) {
            this.f12165 = j;
            return true;
        }
        if (this.f12151 && !z) {
            int length = this.f12144.length;
            for (int i = 0; i < length; i++) {
                if (!this.f12144[i].m6179(j, false) && (this.f12163[i] || !this.f12161)) {
                    z2 = false;
                    break;
                }
            }
            z2 = true;
            if (z2) {
                return false;
            }
        }
        this.f12165 = j;
        this.f12168 = false;
        this.f12137.clear();
        if (this.f12133.m1295()) {
            this.f12133.m1293();
        } else {
            this.f12133.f1984 = null;
            m6334();
        }
        return true;
    }

    @Override // p138.p176.p177.p190.p217.InterfaceC3824
    /* JADX INFO: renamed from: ހ */
    public long mo6110() {
        if (m6330()) {
            return this.f12165;
        }
        if (this.f12168) {
            return Long.MIN_VALUE;
        }
        return m6329().f11811;
    }

    /*  JADX ERROR: NullPointerException in pass: LoopRegionVisitor
        java.lang.NullPointerException: Cannot invoke "jadx.core.dex.instructions.args.SSAVar.use(jadx.core.dex.instructions.args.RegisterArg)" because "ssaVar" is null
        	at jadx.core.dex.nodes.InsnNode.rebindArgs(InsnNode.java:506)
        	at jadx.core.dex.nodes.InsnNode.rebindArgs(InsnNode.java:509)
        */
    @Override // p138.p176.p177.p190.p217.InterfaceC3824
    /* JADX INFO: renamed from: ށ */
    public long mo6112() {
        /*
            r7 = this;
            boolean r0 = r7.f12168
            if (r0 == 0) goto L7
            r0 = -9223372036854775808
            return r0
        L7:
            boolean r0 = r7.m6330()
            if (r0 == 0) goto L10
            long r0 = r7.f12165
            return r0
        L10:
            long r0 = r7.f12164
            ދ.ހ.֏.ؠ.ໞ.ޟ.މ r2 = r7.m6329()
            boolean r3 = r2.f12100
            if (r3 == 0) goto L1b
            goto L34
        L1b:
            java.util.ArrayList<ދ.ހ.֏.ؠ.ໞ.ޟ.މ> r2 = r7.f12137
            int r2 = r2.size()
            r3 = 1
            if (r2 <= r3) goto L33
            java.util.ArrayList<ދ.ހ.֏.ؠ.ໞ.ޟ.މ> r2 = r7.f12137
            int r3 = r2.size()
            int r3 = r3 + (-2)
            java.lang.Object r2 = r2.get(r3)
            ދ.ހ.֏.ؠ.ໞ.ޟ.މ r2 = (p138.p176.p177.p190.p217.p222.C3908) r2
            goto L34
        L33:
            r2 = 0
        L34:
            if (r2 == 0) goto L3c
            long r2 = r2.f11811
            long r0 = java.lang.Math.max(r0, r2)
        L3c:
            boolean r2 = r7.f12151
            if (r2 == 0) goto L53
            ދ.ހ.֏.ؠ.ໞ.ޟ.ތ$ހ[] r2 = r7.f12144
            int r3 = r2.length
            r4 = 0
        L44:
            if (r4 >= r3) goto L53
            r5 = r2[r4]
            long r5 = r5.m6195()
            long r0 = java.lang.Math.max(r0, r5)
            int r4 = r4 + 1
            goto L44
        L53:
            return r0
        */
        throw new UnsupportedOperationException("Method not decompiled: p138.p176.p177.p190.p217.p222.C3911.mo6112():long");
    }

    /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
    public void m6327(long j) {
        if (this.f12170 != j) {
            this.f12170 = j;
            for (C3914 c3914 : this.f12144) {
                if (c3914.f11764 != j) {
                    c3914.f11764 = j;
                    c3914.f11762 = true;
                }
            }
        }
    }

    @Override // com.google.android.exoplayer2.upstream.Loader.InterfaceC0323
    /* JADX INFO: renamed from: ނ */
    public void mo1301() {
        for (C3914 c3914 : this.f12144) {
            c3914.m6206();
        }
    }

    @EnsuresNonNull({"trackGroups", "optionalTrackGroups"})
    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public final void m6328() {
        C0567.m1932(this.f12152);
        C0567.m1856(this.f12157);
        C0567.m1856(this.f12158);
    }

    /* JADX INFO: renamed from: އ, reason: contains not printable characters */
    public final C3908 m6329() {
        return this.f12137.get(r0.size() - 1);
    }

    /* JADX INFO: renamed from: ވ, reason: contains not printable characters */
    public final boolean m6330() {
        return this.f12165 != -9223372036854775807L;
    }

    /* JADX INFO: renamed from: މ, reason: contains not printable characters */
    public final void m6331() {
        if (!this.f12156 && this.f12159 == null && this.f12151) {
            for (C3914 c3914 : this.f12144) {
                if (c3914.m6199() == null) {
                    return;
                }
            }
            C3829 c3829 = this.f12157;
            if (c3829 != null) {
                int i = c3829.f11785;
                int[] iArr = new int[i];
                this.f12159 = iArr;
                Arrays.fill(iArr, -1);
                for (int i2 = 0; i2 < i; i2++) {
                    int i3 = 0;
                    while (true) {
                        C3914[] c3914Arr = this.f12144;
                        if (i3 < c3914Arr.length) {
                            C3431 c3431M6199 = c3914Arr[i3].m6199();
                            C3431 c3431 = this.f12157.f11786[i2].f11782[0];
                            String str = c3431M6199.f10090;
                            String str2 = c3431.f10090;
                            int iM6655 = C4134.m6655(str);
                            if (iM6655 == 3 ? C4150.m6769((Object) str, (Object) str2) && (!("application/cea-608".equals(str) || "application/cea-708".equals(str)) || c3431M6199.f10109 == c3431.f10109) : iM6655 == C4134.m6655(str2)) {
                                this.f12159[i2] = i3;
                                break;
                            }
                            i3++;
                        }
                    }
                }
                Iterator<C3910> it = this.f12142.iterator();
                while (it.hasNext()) {
                    it.next().m6320();
                }
                return;
            }
            int length = this.f12144.length;
            int i4 = 0;
            int i5 = 6;
            int i6 = -1;
            while (true) {
                if (i4 >= length) {
                    break;
                }
                String str3 = this.f12144[i4].m6199().f10090;
                int i7 = C4134.m6659(str3) ? 2 : C4134.m6657(str3) ? 1 : C4134.m6658(str3) ? 3 : 6;
                if (m6322(i7) > m6322(i5)) {
                    i6 = i4;
                    i5 = i7;
                } else if (i7 == i5 && i6 != -1) {
                    i6 = -1;
                }
                i4++;
            }
            C3827 c3827 = this.f12128.f12055;
            int i8 = c3827.f11781;
            this.f12160 = -1;
            this.f12159 = new int[length];
            for (int i9 = 0; i9 < length; i9++) {
                this.f12159[i9] = i9;
            }
            C3827[] c3827Arr = new C3827[length];
            for (int i10 = 0; i10 < length; i10++) {
                C3431 c3431M61992 = this.f12144[i10].m6199();
                if (i10 == i6) {
                    C3431[] c3431Arr = new C3431[i8];
                    if (i8 == 1) {
                        c3431Arr[0] = c3431M61992.m5600(c3827.f11782[0]);
                    } else {
                        for (int i11 = 0; i11 < i8; i11++) {
                            c3431Arr[i11] = m6323(c3827.f11782[i11], c3431M61992, true);
                        }
                    }
                    c3827Arr[i10] = new C3827(c3431Arr);
                    this.f12160 = i10;
                } else {
                    c3827Arr[i10] = new C3827(m6323((i5 == 2 && C4134.m6657(c3431M61992.f10090)) ? this.f12130 : null, c3431M61992, false));
                }
            }
            this.f12157 = m6324(c3827Arr);
            C0567.m1932(this.f12158 == null);
            this.f12158 = Collections.emptySet();
            this.f12152 = true;
            C3909 c3909 = (C3909) this.f12127;
            int i12 = c3909.f12116 - 1;
            c3909.f12116 = i12;
            if (i12 > 0) {
                return;
            }
            int i13 = 0;
            for (C3911 c3911 : c3909.f12118) {
                c3911.m6328();
                i13 += c3911.f12157.f11785;
            }
            C3827[] c3827Arr2 = new C3827[i13];
            int i14 = 0;
            for (C3911 c39112 : c3909.f12118) {
                c39112.m6328();
                int i15 = c39112.f12157.f11785;
                int i16 = 0;
                while (i16 < i15) {
                    c39112.m6328();
                    c3827Arr2[i14] = c39112.f12157.f11786[i16];
                    i16++;
                    i14++;
                }
            }
            c3909.f12117 = new C3829(c3827Arr2);
            c3909.f12115.mo5538((InterfaceC3798) c3909);
        }
    }

    /* JADX INFO: renamed from: ފ, reason: contains not printable characters */
    public void m6332() {
        this.f12133.m1291(Integer.MIN_VALUE);
        C3899 c3899 = this.f12128;
        IOException iOException = c3899.f12060;
        if (iOException != null) {
            throw iOException;
        }
        Uri uri = c3899.f12061;
        if (uri == null || !c3899.f12065) {
            return;
        }
        ((C3923) c3899.f12054).m6343(uri);
    }

    /* JADX INFO: renamed from: ދ, reason: contains not printable characters */
    public final void m6333() {
        this.f12151 = true;
        if (this.f12156 || this.f12159 != null || 1 == 0) {
            return;
        }
        for (C3914 c3914 : this.f12144) {
            if (c3914.m6199() == null) {
                return;
            }
        }
        C3829 c3829 = this.f12157;
        if (c3829 != null) {
            int i = c3829.f11785;
            int[] iArr = new int[i];
            this.f12159 = iArr;
            Arrays.fill(iArr, -1);
            for (int i2 = 0; i2 < i; i2++) {
                int i3 = 0;
                while (true) {
                    C3914[] c3914Arr = this.f12144;
                    if (i3 < c3914Arr.length) {
                        C3431 c3431M6199 = c3914Arr[i3].m6199();
                        C3431 c3431 = this.f12157.f11786[i2].f11782[0];
                        String str = c3431M6199.f10090;
                        String str2 = c3431.f10090;
                        int iM6655 = C4134.m6655(str);
                        if (iM6655 == 3 ? C4150.m6769((Object) str, (Object) str2) && (!("application/cea-608".equals(str) || "application/cea-708".equals(str)) || c3431M6199.f10109 == c3431.f10109) : iM6655 == C4134.m6655(str2)) {
                            this.f12159[i2] = i3;
                            break;
                        }
                        i3++;
                    }
                }
            }
            Iterator<C3910> it = this.f12142.iterator();
            while (it.hasNext()) {
                it.next().m6320();
            }
            return;
        }
        int length = this.f12144.length;
        int i4 = 0;
        int i5 = 6;
        int i6 = -1;
        while (true) {
            if (i4 >= length) {
                break;
            }
            String str3 = this.f12144[i4].m6199().f10090;
            int i7 = C4134.m6659(str3) ? 2 : C4134.m6657(str3) ? 1 : C4134.m6658(str3) ? 3 : 6;
            if (m6322(i7) > m6322(i5)) {
                i6 = i4;
                i5 = i7;
            } else if (i7 == i5 && i6 != -1) {
                i6 = -1;
            }
            i4++;
        }
        C3827 c3827 = this.f12128.f12055;
        int i8 = c3827.f11781;
        this.f12160 = -1;
        this.f12159 = new int[length];
        for (int i9 = 0; i9 < length; i9++) {
            this.f12159[i9] = i9;
        }
        C3827[] c3827Arr = new C3827[length];
        for (int i10 = 0; i10 < length; i10++) {
            C3431 c3431M61992 = this.f12144[i10].m6199();
            if (i10 == i6) {
                C3431[] c3431Arr = new C3431[i8];
                if (i8 == 1) {
                    c3431Arr[0] = c3431M61992.m5600(c3827.f11782[0]);
                } else {
                    for (int i11 = 0; i11 < i8; i11++) {
                        c3431Arr[i11] = m6323(c3827.f11782[i11], c3431M61992, true);
                    }
                }
                c3827Arr[i10] = new C3827(c3431Arr);
                this.f12160 = i10;
            } else {
                c3827Arr[i10] = new C3827(m6323((i5 == 2 && C4134.m6657(c3431M61992.f10090)) ? this.f12130 : null, c3431M61992, false));
            }
        }
        this.f12157 = m6324(c3827Arr);
        C0567.m1932(this.f12158 == null);
        this.f12158 = Collections.emptySet();
        this.f12152 = true;
        C3909 c3909 = (C3909) this.f12127;
        int i12 = c3909.f12116 - 1;
        c3909.f12116 = i12;
        if (i12 > 0) {
            return;
        }
        int i13 = 0;
        for (C3911 c3911 : c3909.f12118) {
            c3911.m6328();
            i13 += c3911.f12157.f11785;
        }
        C3827[] c3827Arr2 = new C3827[i13];
        int i14 = 0;
        for (C3911 c39112 : c3909.f12118) {
            c39112.m6328();
            int i15 = c39112.f12157.f11785;
            int i16 = 0;
            while (i16 < i15) {
                c39112.m6328();
                c3827Arr2[i14] = c39112.f12157.f11786[i16];
                i16++;
                i14++;
            }
        }
        c3909.f12117 = new C3829(c3827Arr2);
        c3909.f12115.mo5538((InterfaceC3798) c3909);
    }

    /* JADX INFO: renamed from: ތ, reason: contains not printable characters */
    public final void m6334() {
        for (C3914 c3914 : this.f12144) {
            c3914.m6185(this.f12166);
        }
        this.f12166 = false;
    }
}
