package defpackage;

import android.graphics.PointF;
import android.text.Layout;
import android.text.SpannableString;
import android.text.TextUtils;
import android.text.style.BackgroundColorSpan;
import android.text.style.ForegroundColorSpan;
import android.text.style.StrikethroughSpan;
import android.text.style.StyleSpan;
import android.text.style.UnderlineSpan;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import java.util.Collection;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Locale;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

/* JADX INFO: renamed from: ᵤᵯᵟ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final class C3462 implements InterfaceC3971 {

    /* JADX INFO: renamed from: ˈᵲᵢ, reason: contains not printable characters */
    public static final Pattern f13350 = Pattern.compile("(?:(\\d+):)?(\\d+):(\\d+)[:.](\\d+)");

    /* JADX INFO: renamed from: ˌᴵ, reason: contains not printable characters */
    public final boolean f13351;

    /* JADX INFO: renamed from: ᵜᵪʾ, reason: contains not printable characters */
    public final C1642 f13353;

    /* JADX INFO: renamed from: ᵨᵼⁱ, reason: contains not printable characters */
    public LinkedHashMap f13354;

    /* JADX INFO: renamed from: ᵯᵷʽ, reason: contains not printable characters */
    public float f13355 = -3.4028235E38f;

    /* JADX INFO: renamed from: ᵶˇᵱ, reason: contains not printable characters */
    public float f13356 = -3.4028235E38f;

    /* JADX INFO: renamed from: ᵔᵖᵹᵫ, reason: contains not printable characters */
    public final C4545 f13352 = new C4545();

    public C3462(List list) {
        if (list == null || list.isEmpty()) {
            this.f13351 = false;
            this.f13353 = null;
            return;
        }
        this.f13351 = true;
        String strM3225 = AbstractC0956.m3225((byte[]) list.get(0));
        ᵻᵪ.ᵱᵽʡᵚ(strM3225.startsWith("Format:"));
        C1642 c1642M4537 = C1642.m4537(strM3225);
        c1642M4537.getClass();
        this.f13353 = c1642M4537;
        m7897(new C4545((byte[]) list.get(1)), StandardCharsets.UTF_8);
    }

    /* JADX INFO: renamed from: ːˏᵟᵯ, reason: contains not printable characters */
    public static long m7895(String str) {
        Matcher matcher = f13350.matcher(str.trim());
        if (!matcher.matches()) {
            return -9223372036854775807L;
        }
        String strGroup = matcher.group(1);
        String str2 = AbstractC0956.f4222;
        return (Long.parseLong(matcher.group(4)) * 10000) + (Long.parseLong(matcher.group(3)) * 1000000) + (Long.parseLong(matcher.group(2)) * 60000000) + (Long.parseLong(strGroup) * 3600000000L);
    }

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public static int m7896(long j, ArrayList arrayList, ArrayList arrayList2) {
        int i;
        int size = arrayList.size() - 1;
        while (true) {
            if (size < 0) {
                i = 0;
                break;
            }
            if (((Long) arrayList.get(size)).longValue() == j) {
                return size;
            }
            if (((Long) arrayList.get(size)).longValue() < j) {
                i = size + 1;
                break;
            }
            size--;
        }
        arrayList.add(i, Long.valueOf(j));
        arrayList2.add(i, i == 0 ? new ArrayList() : new ArrayList((Collection) arrayList2.get(i - 1)));
        return i;
    }

    @Override // defpackage.InterfaceC3971
    public final /* synthetic */ void reset() {
    }

    /* JADX WARN: Failed to restore switch over string. Please report as a decompilation issue */
    /* JADX WARN: Removed duplicated region for block: B:169:0x02e0  */
    /* JADX INFO: renamed from: ʽˈˋ, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final void m7897(C4545 c4545, Charset charset) {
        int i;
        C3308 c3308;
        int i2;
        while (true) {
            String strM9604 = c4545.m9604(charset);
            if (strM9604 == null) {
                return;
            }
            int i3 = 2;
            int i4 = 0;
            if ("[Script Info]".equalsIgnoreCase(strM9604)) {
                while (true) {
                    String strM96042 = c4545.m9604(charset);
                    if (strM96042 == null) {
                        break;
                    }
                    if (c4545.m9623() != 0) {
                        if ((c4545.m9602(charset) != 0 ? ᵝˉː.ᵷᵺʾᵖ(r2 >>> 8) : 1114112) == 91) {
                            break;
                        }
                    }
                    String[] strArrSplit = strM96042.split(":");
                    if (strArrSplit.length == 2) {
                        String str = ᵻᵕᵭ.ʽᵡᵢᵾ(strArrSplit[0].trim());
                        str.getClass();
                        if (str.equals("playresx")) {
                            this.f13355 = Float.parseFloat(strArrSplit[1].trim());
                        } else if (str.equals("playresy")) {
                            try {
                                this.f13356 = Float.parseFloat(strArrSplit[1].trim());
                            } catch (NumberFormatException unused) {
                            }
                        }
                    }
                }
            } else if ("[V4+ Styles]".equalsIgnoreCase(strM9604)) {
                LinkedHashMap linkedHashMap = new LinkedHashMap();
                while (true) {
                    C0723 c0723 = null;
                    while (true) {
                        String strM96043 = c4545.m9604(charset);
                        if (strM96043 != null) {
                            if (c4545.m9623() != 0) {
                                if ((c4545.m9602(charset) != 0 ? ᵝˉː.ᵷᵺʾᵖ(r0 >>> 8) : 1114112) == 91) {
                                }
                            }
                            int i5 = -1;
                            if (strM96043.startsWith("Format:")) {
                                String[] strArrSplit2 = TextUtils.split(strM96043.substring(7), ",");
                                int i6 = -1;
                                int i7 = -1;
                                int i8 = -1;
                                int i9 = -1;
                                int i10 = -1;
                                int i11 = -1;
                                int i12 = -1;
                                int i13 = -1;
                                int i14 = -1;
                                int i15 = -1;
                                for (int i16 = i4; i16 < strArrSplit2.length; i16++) {
                                    String str2 = ᵻᵕᵭ.ʽᵡᵢᵾ(strArrSplit2[i16].trim());
                                    str2.getClass();
                                    switch (str2.hashCode()) {
                                        case -1178781136:
                                            i = str2.equals("italic") ? i4 : -1;
                                            break;
                                        case -1026963764:
                                            i = str2.equals("underline") ? 1 : -1;
                                            break;
                                        case -192095652:
                                            i = str2.equals("strikeout") ? i3 : -1;
                                            break;
                                        case -70925746:
                                            i = str2.equals("primarycolour") ? 3 : -1;
                                            break;
                                        case 3029637:
                                            i = str2.equals("bold") ? 4 : -1;
                                            break;
                                        case 3373707:
                                            i = str2.equals("name") ? 5 : -1;
                                            break;
                                        case 366554320:
                                            i = str2.equals("fontsize") ? 6 : -1;
                                            break;
                                        case 767321349:
                                            i = str2.equals("borderstyle") ? 7 : -1;
                                            break;
                                        case 1767875043:
                                            i = str2.equals("alignment") ? 8 : -1;
                                            break;
                                        case 1988365454:
                                            i = str2.equals("outlinecolour") ? 9 : -1;
                                            break;
                                        default:
                                            i = -1;
                                            break;
                                    }
                                    switch (i) {
                                        case 0:
                                            i12 = i16;
                                            break;
                                        case 1:
                                            i13 = i16;
                                            break;
                                        case 2:
                                            i14 = i16;
                                            break;
                                        case 3:
                                            i8 = i16;
                                            break;
                                        case 4:
                                            i11 = i16;
                                            break;
                                        case 5:
                                            i6 = i16;
                                            break;
                                        case C5224.STRING_SET_FIELD_NUMBER /* 6 */:
                                            i10 = i16;
                                            break;
                                        case C5224.DOUBLE_FIELD_NUMBER /* 7 */:
                                            i15 = i16;
                                            break;
                                        case C5224.BYTES_FIELD_NUMBER /* 8 */:
                                            i7 = i16;
                                            break;
                                        case 9:
                                            i9 = i16;
                                            break;
                                    }
                                }
                                if (i6 != -1) {
                                    c0723 = new C0723(i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, strArrSplit2.length);
                                }
                            } else {
                                if (strM96043.startsWith("Style:")) {
                                    if (c0723 == null) {
                                        ˋˀᵧ.ʿٴˇ("Skipping 'Style:' line before 'Format:' line: ".concat(strM96043));
                                    } else {
                                        ᵻᵪ.ᵱᵽʡᵚ(strM96043.startsWith("Style:"));
                                        String[] strArrSplit3 = TextUtils.split(strM96043.substring(6), ",");
                                        int length = strArrSplit3.length;
                                        int i17 = c0723.f3287;
                                        if (length != i17) {
                                            int length2 = strArrSplit3.length;
                                            String str3 = AbstractC0956.f4222;
                                            Locale locale = Locale.US;
                                            StringBuilder sbM8103 = AbstractC3589.m8103("Skipping malformed 'Style:' line (expected ", i17, " values, found ", length2, "): '");
                                            sbM8103.append(strM96043);
                                            sbM8103.append("'");
                                            ˋˀᵧ.ʿٴˇ(sbM8103.toString());
                                        } else {
                                            try {
                                                String strTrim = strArrSplit3[c0723.f3285].trim();
                                                int i18 = c0723.f3280;
                                                int iM7573 = i18 != -1 ? C3308.m7573(strArrSplit3[i18].trim()) : -1;
                                                int i19 = c0723.f3282;
                                                Integer numM7572 = i19 != -1 ? C3308.m7572(strArrSplit3[i19].trim()) : null;
                                                int i20 = c0723.f3288;
                                                Integer numM75722 = i20 != -1 ? C3308.m7572(strArrSplit3[i20].trim()) : null;
                                                int i21 = c0723.f3283;
                                                float f = -3.4028235E38f;
                                                if (i21 != -1) {
                                                    String strTrim2 = strArrSplit3[i21].trim();
                                                    try {
                                                        f = Float.parseFloat(strTrim2);
                                                    } catch (NumberFormatException e) {
                                                        ˋˀᵧ.ᵠˏˏ("Failed to parse font size: '" + strTrim2 + "'", e);
                                                    }
                                                }
                                                float f2 = f;
                                                int i22 = c0723.f3290;
                                                boolean z = i22 != -1 && C3308.m7571(strArrSplit3[i22].trim());
                                                int i23 = c0723.f3286;
                                                boolean z2 = i23 != -1 && C3308.m7571(strArrSplit3[i23].trim());
                                                int i24 = c0723.f3281;
                                                boolean z3 = i24 != -1 && C3308.m7571(strArrSplit3[i24].trim());
                                                int i25 = c0723.f3289;
                                                boolean z4 = i25 != -1 && C3308.m7571(strArrSplit3[i25].trim());
                                                int i26 = c0723.f3284;
                                                if (i26 != -1) {
                                                    String strTrim3 = strArrSplit3[i26].trim();
                                                    try {
                                                        i2 = Integer.parseInt(strTrim3.trim());
                                                    } catch (NumberFormatException unused2) {
                                                    }
                                                    if (i2 == 1 || i2 == 3) {
                                                        i5 = i2;
                                                    } else {
                                                        ˋˀᵧ.ʿٴˇ("Ignoring unknown BorderStyle: " + strTrim3);
                                                    }
                                                }
                                                c3308 = new C3308(strTrim, iM7573, numM7572, numM75722, f2, z, z2, z3, z4, i5);
                                            } catch (RuntimeException e2) {
                                                ˋˀᵧ.ᵠˏˏ("Skipping malformed 'Style:' line: '" + strM96043 + "'", e2);
                                                c3308 = null;
                                            }
                                            if (c3308 != null) {
                                                linkedHashMap.put(c3308.f12727, c3308);
                                            }
                                        }
                                        c3308 = null;
                                        if (c3308 != null) {
                                        }
                                    }
                                }
                                i3 = 2;
                                i4 = 0;
                            }
                        }
                    }
                }
                this.f13354 = linkedHashMap;
            } else if ("[V4 Styles]".equalsIgnoreCase(strM9604)) {
                ˋˀᵧ.ˏːˆ("[V4 Styles] are not supported");
            } else if ("[Events]".equalsIgnoreCase(strM9604)) {
                return;
            }
        }
    }

    /* JADX WARN: Removed duplicated region for block: B:33:0x00c2  */
    /* JADX WARN: Removed duplicated region for block: B:34:0x00ca  */
    @Override // defpackage.InterfaceC3971
    /* JADX INFO: renamed from: ˊᵫᵗ */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final void mo1086(byte[] bArr, int i, int i2, C1589 c1589, InterfaceC3498 interfaceC3498) {
        Charset charset;
        long j;
        C1642 c1642;
        C4545 c4545;
        int i3;
        long jM7895;
        float f;
        float f2;
        int i4;
        float f3;
        int i5;
        Layout.Alignment alignment;
        Layout.Alignment alignment2;
        int i6;
        int i7;
        int i8;
        float f4;
        float f5;
        float f6;
        boolean z;
        int i9;
        int i10;
        float f7;
        int i11;
        int i12;
        float f8;
        int i13;
        int iM7573;
        int i14;
        C3462 c3462 = this;
        long j2 = c1589.f6385;
        ArrayList arrayList = new ArrayList();
        ArrayList arrayList2 = new ArrayList();
        C4545 c45452 = c3462.f13352;
        c45452.m9600(i + i2, bArr);
        c45452.m9624(i);
        Charset charsetM9594 = c45452.m9594();
        if (charsetM9594 == null) {
            charsetM9594 = StandardCharsets.UTF_8;
        }
        boolean z2 = c3462.f13351;
        if (!z2) {
            c3462.m7897(c45452, charsetM9594);
        }
        C1642 c1642M4537 = z2 ? c3462.f13353 : null;
        while (true) {
            String strM9604 = c45452.m9604(charsetM9594);
            if (strM9604 == null) {
                long j3 = j2;
                ArrayList arrayList3 = (j3 == -9223372036854775807L || !c1589.f6386) ? null : new ArrayList();
                for (int i15 = 0; i15 < arrayList.size(); i15++) {
                    List list = (List) arrayList.get(i15);
                    if ((!list.isEmpty() || i15 == 0) && i15 != arrayList.size() - 1) {
                        long jLongValue = ((Long) arrayList2.get(i15)).longValue();
                        long jLongValue2 = ((Long) arrayList2.get(i15 + 1)).longValue();
                        C5508 c5508 = new C5508(jLongValue, jLongValue2 - jLongValue, list);
                        if (j3 == -9223372036854775807L || jLongValue2 >= j3) {
                            interfaceC3498.accept(c5508);
                        } else if (arrayList3 != null) {
                            arrayList3.add(c5508);
                        }
                    }
                }
                if (arrayList3 != null) {
                    int size = arrayList3.size();
                    int i16 = 0;
                    while (i16 < size) {
                        Object obj = arrayList3.get(i16);
                        i16++;
                        interfaceC3498.accept((C5508) obj);
                    }
                    return;
                }
                return;
            }
            if (strM9604.startsWith("Format:")) {
                c1642M4537 = C1642.m4537(strM9604);
            } else if (strM9604.startsWith("Dialogue:")) {
                if (c1642M4537 == null) {
                    ˋˀᵧ.ʿٴˇ("Skipping dialogue line before complete format: ".concat(strM9604));
                } else {
                    int i17 = c1642M4537.f6536;
                    ᵻᵪ.ᵱᵽʡᵚ(strM9604.startsWith("Dialogue:"));
                    String strSubstring = strM9604.substring(9);
                    int i18 = c1642M4537.f6534;
                    String[] strArrSplit = strSubstring.split(",", i17);
                    if (strArrSplit.length != i17) {
                        ˋˀᵧ.ʿٴˇ("Skipping dialogue line with fewer columns than format: ".concat(strM9604));
                    } else if (i18 != -1) {
                        try {
                            i3 = Integer.parseInt(strArrSplit[i18].trim());
                        } catch (RuntimeException unused) {
                            ˋˀᵧ.ʿٴˇ("Fail to parse layer: " + strArrSplit[i18]);
                            i3 = 0;
                        }
                        jM7895 = m7895(strArrSplit[c1642M4537.f6531]);
                        if (jM7895 != -9223372036854775807L) {
                            ˋˀᵧ.ʿٴˇ("Skipping invalid timing: ".concat(strM9604));
                        } else {
                            j = j2;
                            long jM78952 = m7895(strArrSplit[c1642M4537.f6532]);
                            if (jM78952 == -9223372036854775807L || jM78952 <= jM7895) {
                                charset = charsetM9594;
                                c1642 = c1642M4537;
                                c4545 = c45452;
                                ˋˀᵧ.ʿٴˇ("Skipping invalid timing: ".concat(strM9604));
                            } else {
                                LinkedHashMap linkedHashMap = c3462.f13354;
                                C3308 c3308 = (linkedHashMap == null || (i14 = c1642M4537.f6535) == -1) ? null : (C3308) linkedHashMap.get(strArrSplit[i14].trim());
                                String str = strArrSplit[c1642M4537.f6533];
                                Matcher matcher = C3322.f12771.matcher(str);
                                charset = charsetM9594;
                                PointF pointF = null;
                                int i19 = -1;
                                while (matcher.find()) {
                                    C1642 c16422 = c1642M4537;
                                    C4545 c45453 = c45452;
                                    String strGroup = matcher.group(1);
                                    strGroup.getClass();
                                    try {
                                        PointF pointFM7599 = C3322.m7599(strGroup);
                                        if (pointFM7599 != null) {
                                            pointF = pointFM7599;
                                        }
                                    } catch (RuntimeException unused2) {
                                    }
                                    try {
                                        Matcher matcher2 = C3322.f12772.matcher(strGroup);
                                        if (matcher2.find()) {
                                            String strGroup2 = matcher2.group(1);
                                            strGroup2.getClass();
                                            iM7573 = C3308.m7573(strGroup2);
                                        } else {
                                            iM7573 = -1;
                                        }
                                        if (iM7573 != -1) {
                                            i19 = iM7573;
                                        }
                                    } catch (RuntimeException unused3) {
                                    }
                                    c1642M4537 = c16422;
                                    c45452 = c45453;
                                }
                                c1642 = c1642M4537;
                                c4545 = c45452;
                                String strReplace = C3322.f12771.matcher(str).replaceAll("").replace("\\N", "\n").replace("\\n", "\n").replace("\\h", " ");
                                float f9 = c3462.f13355;
                                float f10 = c3462.f13356;
                                SpannableString spannableString = new SpannableString(strReplace);
                                if (c3308 != null) {
                                    boolean z3 = c3308.f12728;
                                    Integer num = c3308.f12729;
                                    Integer num2 = c3308.f12724;
                                    if (num2 != null) {
                                        z = z3;
                                        f = f9;
                                        f2 = f10;
                                        i9 = 33;
                                        i10 = 0;
                                        spannableString.setSpan(new ForegroundColorSpan(num2.intValue()), 0, spannableString.length(), 33);
                                    } else {
                                        z = z3;
                                        f = f9;
                                        f2 = f10;
                                        i9 = 33;
                                        i10 = 0;
                                    }
                                    if (c3308.f12726 == 3 && num != null) {
                                        spannableString.setSpan(new BackgroundColorSpan(num.intValue()), i10, spannableString.length(), i9);
                                    }
                                    float f11 = c3308.f12725;
                                    if (f11 == -3.4028235E38f || f2 == -3.4028235E38f) {
                                        f7 = -3.4028235E38f;
                                        i11 = Integer.MIN_VALUE;
                                    } else {
                                        f7 = f11 / f2;
                                        i11 = 1;
                                    }
                                    boolean z4 = c3308.f12731;
                                    if (z4 && z) {
                                        i12 = i11;
                                        f8 = f7;
                                        i13 = 33;
                                        i4 = 0;
                                        spannableString.setSpan(new StyleSpan(3), 0, spannableString.length(), 33);
                                    } else {
                                        i12 = i11;
                                        f8 = f7;
                                        i13 = 33;
                                        i4 = 0;
                                        if (z4) {
                                            spannableString.setSpan(new StyleSpan(1), 0, spannableString.length(), 33);
                                        } else if (z) {
                                            spannableString.setSpan(new StyleSpan(2), 0, spannableString.length(), 33);
                                        }
                                    }
                                    if (c3308.f12723) {
                                        spannableString.setSpan(new UnderlineSpan(), i4, spannableString.length(), i13);
                                    }
                                    if (c3308.f12730) {
                                        spannableString.setSpan(new StrikethroughSpan(), i4, spannableString.length(), i13);
                                    }
                                    i5 = i12;
                                    f3 = f8;
                                } else {
                                    f = f9;
                                    f2 = f10;
                                    i4 = 0;
                                    f3 = -3.4028235E38f;
                                    i5 = Integer.MIN_VALUE;
                                }
                                if (i19 == -1) {
                                    i19 = c3308 != null ? c3308.f12722 : -1;
                                }
                                switch (i19) {
                                    case 0:
                                    default:
                                        AbstractC3653.m8224(i19, "Unknown alignment: ");
                                    case -1:
                                        alignment2 = null;
                                        break;
                                    case 1:
                                    case 4:
                                    case C5224.DOUBLE_FIELD_NUMBER /* 7 */:
                                        alignment = Layout.Alignment.ALIGN_NORMAL;
                                        alignment2 = alignment;
                                        break;
                                    case 2:
                                    case 5:
                                    case C5224.BYTES_FIELD_NUMBER /* 8 */:
                                        alignment = Layout.Alignment.ALIGN_CENTER;
                                        alignment2 = alignment;
                                        break;
                                    case 3:
                                    case C5224.STRING_SET_FIELD_NUMBER /* 6 */:
                                    case 9:
                                        alignment = Layout.Alignment.ALIGN_OPPOSITE;
                                        alignment2 = alignment;
                                        break;
                                }
                                int i20 = Integer.MIN_VALUE;
                                switch (i19) {
                                    case 0:
                                    default:
                                        AbstractC3653.m8224(i19, "Unknown alignment: ");
                                    case -1:
                                        i6 = Integer.MIN_VALUE;
                                        break;
                                    case 1:
                                    case 4:
                                    case C5224.DOUBLE_FIELD_NUMBER /* 7 */:
                                        i6 = i4;
                                        break;
                                    case 2:
                                    case 5:
                                    case C5224.BYTES_FIELD_NUMBER /* 8 */:
                                        i6 = 1;
                                        break;
                                    case 3:
                                    case C5224.STRING_SET_FIELD_NUMBER /* 6 */:
                                    case 9:
                                        i6 = 2;
                                        break;
                                }
                                switch (i19) {
                                    case -1:
                                        break;
                                    case 0:
                                    default:
                                        AbstractC3653.m8224(i19, "Unknown alignment: ");
                                        break;
                                    case 1:
                                    case 2:
                                    case 3:
                                        i20 = 2;
                                        break;
                                    case 4:
                                    case 5:
                                    case C5224.STRING_SET_FIELD_NUMBER /* 6 */:
                                        i20 = 1;
                                        break;
                                    case C5224.DOUBLE_FIELD_NUMBER /* 7 */:
                                    case C5224.BYTES_FIELD_NUMBER /* 8 */:
                                    case 9:
                                        i20 = i4;
                                        break;
                                }
                                if (pointF == null || f2 == -3.4028235E38f || f == -3.4028235E38f) {
                                    float f12 = 0.95f;
                                    if (i6 != 0) {
                                        i8 = 1;
                                        if (i6 != 1) {
                                            i7 = 2;
                                            f4 = i6 != 2 ? -3.4028235E38f : 0.95f;
                                        } else {
                                            i7 = 2;
                                            f4 = 0.5f;
                                        }
                                    } else {
                                        i7 = 2;
                                        i8 = 1;
                                        f4 = 0.05f;
                                    }
                                    if (i20 == 0) {
                                        f12 = 0.05f;
                                    } else if (i20 == i8) {
                                        f12 = 0.5f;
                                    } else if (i20 != i7) {
                                        f12 = -3.4028235E38f;
                                    }
                                    f5 = f12;
                                    f6 = f4;
                                } else {
                                    f6 = pointF.x / f;
                                    f5 = pointF.y / f2;
                                }
                                C4847 c4847 = new C4847(spannableString, alignment2, null, null, f5, i4, i20, f6, i6, i5, f3, -3.4028235E38f, -3.4028235E38f, false, -16777216, Integer.MIN_VALUE, 0.0f, i3);
                                int iM7896 = m7896(jM78952, arrayList2, arrayList);
                                for (int iM78962 = m7896(jM7895, arrayList2, arrayList); iM78962 < iM7896; iM78962++) {
                                    ((List) arrayList.get(iM78962)).add(c4847);
                                }
                            }
                            c3462 = this;
                            j2 = j;
                            charsetM9594 = charset;
                            c1642M4537 = c1642;
                            c45452 = c4545;
                        }
                    } else {
                        i3 = 0;
                        jM7895 = m7895(strArrSplit[c1642M4537.f6531]);
                        if (jM7895 != -9223372036854775807L) {
                        }
                    }
                }
                charset = charsetM9594;
                j = j2;
                c1642 = c1642M4537;
                c4545 = c45452;
                c3462 = this;
                j2 = j;
                charsetM9594 = charset;
                c1642M4537 = c1642;
                c45452 = c4545;
            } else {
                charset = charsetM9594;
                j = j2;
                c1642 = c1642M4537;
                c4545 = c45452;
                c3462 = this;
                j2 = j;
                charsetM9594 = charset;
                c1642M4537 = c1642;
                c45452 = c4545;
            }
        }
    }

    @Override // defpackage.InterfaceC3971
    /* JADX INFO: renamed from: ᵱᵽʡᵚ */
    public final int mo1087() {
        return 1;
    }

    @Override // defpackage.InterfaceC3971
    /* JADX INFO: renamed from: ᵷᵺʾᵖ */
    public final /* synthetic */ InterfaceC4153 mo1088(byte[] bArr, int i, int i2) {
        return AbstractC2704.m6518(this, bArr, i2);
    }
}
