package defpackage;

import android.text.TextUtils;
import j$.util.Objects;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Locale;
import java.util.UUID;

/* JADX INFO: renamed from: ᵼᵖᵔ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final class C5286 {

    /* JADX INFO: renamed from: ʽˈˋ, reason: contains not printable characters */
    public final String f19958;

    /* JADX INFO: renamed from: ʽᵡᵢᵾ, reason: contains not printable characters */
    public final int f19959;

    /* JADX INFO: renamed from: ʿٴˇ, reason: contains not printable characters */
    public final int f19960;

    /* JADX INFO: renamed from: ˀᵭ, reason: contains not printable characters */
    public final int f19961;

    /* JADX INFO: renamed from: ˁˌᵩ, reason: contains not printable characters */
    public final int f19962;

    /* JADX INFO: renamed from: ˈᵲᵢ, reason: contains not printable characters */
    public final float f19963;

    /* JADX INFO: renamed from: ˈⁱᵡ, reason: contains not printable characters */
    public int f19964;

    /* JADX INFO: renamed from: ˉᵲ, reason: contains not printable characters */
    public final C5576 f19965;

    /* JADX INFO: renamed from: ˉᵵᵜ, reason: contains not printable characters */
    public final int f19966;

    /* JADX INFO: renamed from: ˊᵙᵾᵲ, reason: contains not printable characters */
    public final List f19967;

    /* JADX INFO: renamed from: ˊᵡᵗʨ, reason: contains not printable characters */
    public final int f19968;

    /* JADX INFO: renamed from: ˊᵨᵧ, reason: contains not printable characters */
    public final boolean f19969;

    /* JADX INFO: renamed from: ˊᵫᵗ, reason: contains not printable characters */
    public final int f19970;

    /* JADX INFO: renamed from: ˊᵾʽʼ, reason: contains not printable characters */
    public final int f19971;

    /* JADX INFO: renamed from: ˋˈ, reason: contains not printable characters */
    public final String f19972;

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

    /* JADX INFO: renamed from: ˌᵨʠᵫ, reason: contains not printable characters */
    public final byte[] f19974;

    /* JADX INFO: renamed from: ˏːˆ, reason: contains not printable characters */
    public final long f19975;

    /* JADX INFO: renamed from: ːˏᵟᵯ, reason: contains not printable characters */
    public final AbstractC4509 f19976;

    /* JADX INFO: renamed from: ˑʢ, reason: contains not printable characters */
    public final int f19977;

    /* JADX INFO: renamed from: ˑˊᵲ, reason: contains not printable characters */
    public final C3281 f19978;

    /* JADX INFO: renamed from: ᵔᵖᵹᵫ, reason: contains not printable characters */
    public final int f19979;

    /* JADX INFO: renamed from: ᵛˑﹳ, reason: contains not printable characters */
    public final int f19980;

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

    /* JADX INFO: renamed from: ᵝᵶ, reason: contains not printable characters */
    public final String f19982;

    /* JADX INFO: renamed from: ᵟᵹᵙ, reason: contains not printable characters */
    public final int f19983;

    /* JADX INFO: renamed from: ᵠˏˏ, reason: contains not printable characters */
    public final int f19984;

    /* JADX INFO: renamed from: ᵨᵣ, reason: contains not printable characters */
    public final int f19985;

    /* JADX INFO: renamed from: ᵨᵼⁱ, reason: contains not printable characters */
    public final int f19986;

    /* JADX INFO: renamed from: ᵪᵹᵥᵻ, reason: contains not printable characters */
    public final String f19987;

    /* JADX INFO: renamed from: ᵮᵣᵗˈ, reason: contains not printable characters */
    public final C1956 f19988;

    /* JADX INFO: renamed from: ᵯᵷʽ, reason: contains not printable characters */
    public final float f19989;

    /* JADX INFO: renamed from: ᵱʡˏ, reason: contains not printable characters */
    public final int f19990;

    /* JADX INFO: renamed from: ᵱᵽʡᵚ, reason: contains not printable characters */
    public final int f19991;

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public final String f19992;

    /* JADX INFO: renamed from: ᵵᵬᵽ, reason: contains not printable characters */
    public final int f19993;

    /* JADX INFO: renamed from: ᵵᵽ, reason: contains not printable characters */
    public final int f19994;

    /* JADX INFO: renamed from: ᵶˇᵱ, reason: contains not printable characters */
    public final int f19995;

    /* JADX INFO: renamed from: ᵶᵥᵝ, reason: contains not printable characters */
    public final String f19996;

    /* JADX INFO: renamed from: ᵷᵺʾᵖ, reason: contains not printable characters */
    public final String f19997;

    /* JADX INFO: renamed from: ᵸˆˁ, reason: contains not printable characters */
    public final int f19998;

    /* JADX INFO: renamed from: ᵻʽᵯ, reason: contains not printable characters */
    public final int f19999;

    /* JADX INFO: renamed from: ᵻˈᵦʼ, reason: contains not printable characters */
    public final int f20000;

    static {
        new C4753().m9934();
        AbstractC0956.m3211(0);
        AbstractC0956.m3211(1);
        AbstractC0956.m3211(2);
        AbstractC0956.m3211(3);
        AbstractC0956.m3211(4);
        AbstractC3653.m8221(5, 6, 7, 8, 9);
        AbstractC3653.m8221(10, 11, 12, 13, 14);
        AbstractC3653.m8221(15, 16, 17, 18, 19);
        AbstractC3653.m8221(20, 21, 22, 23, 24);
        AbstractC3653.m8221(25, 26, 27, 28, 29);
        AbstractC3653.m8221(30, 31, 32, 33, 34);
        AbstractC0956.m3211(35);
        AbstractC0956.m3211(36);
        AbstractC0956.m3211(37);
    }

    public C5286(C4753 c4753) {
        boolean z;
        String str;
        this.f19992 = c4753.f18121;
        String strM3236 = AbstractC0956.m3236(c4753.f18126);
        this.f19997 = strM3236;
        if (c4753.f18105.isEmpty() && c4753.f18089 != null) {
            this.f19976 = AbstractC4509.m9553(new C2700(strM3236, c4753.f18089));
            this.f19958 = c4753.f18089;
        } else if (!c4753.f18105.isEmpty() && c4753.f18089 == null) {
            AbstractC4509 abstractC4509 = c4753.f18105;
            this.f19976 = abstractC4509;
            int size = abstractC4509.size();
            int i = 0;
            while (true) {
                if (i >= size) {
                    str = ((C2700) abstractC4509.get(0)).f10389;
                    break;
                }
                Object obj = abstractC4509.get(i);
                i++;
                C2700 c2700 = (C2700) obj;
                if (TextUtils.equals(c2700.f10390, strM3236)) {
                    str = c2700.f10389;
                    break;
                }
            }
            this.f19958 = str;
        } else if (c4753.f18105.isEmpty() && c4753.f18089 == null) {
            z = true;
            ᵻᵪ.ˌᴵ(z);
            this.f19976 = c4753.f18105;
            this.f19958 = c4753.f18089;
        } else {
            for (int i2 = 0; i2 < c4753.f18105.size(); i2++) {
                if (((C2700) c4753.f18105.get(i2)).f10389.equals(c4753.f18089)) {
                    z = true;
                    break;
                }
            }
            z = false;
            ᵻᵪ.ˌᴵ(z);
            this.f19976 = c4753.f18105;
            this.f19958 = c4753.f18089;
        }
        this.f19985 = c4753.f18114;
        ᵻᵪ.ˊᵨᵧ("Auxiliary track type must only be set to a value other than AUXILIARY_TRACK_TYPE_UNDEFINED only when ROLE_FLAG_AUXILIARY is set", c4753.f18123 == 0 || (c4753.f18129 & 32768) != 0);
        this.f20000 = c4753.f18129;
        this.f19994 = c4753.f18123;
        int i3 = c4753.f18099;
        this.f19970 = i3;
        int i4 = c4753.f18128;
        this.f19999 = i4;
        this.f19991 = i4 != -1 ? i4 : i3;
        this.f19996 = c4753.f18120;
        this.f19988 = c4753.f18125;
        this.f19982 = c4753.f18117;
        this.f19972 = c4753.f18111;
        this.f19987 = c4753.f18101;
        this.f19983 = c4753.f18116;
        this.f19990 = c4753.f18112;
        List list = c4753.f18119;
        this.f19967 = list == null ? Collections.EMPTY_LIST : list;
        C5576 c5576 = c4753.f18096;
        this.f19965 = c5576;
        this.f19975 = c4753.f18094;
        this.f19969 = c4753.f18104;
        this.f19973 = c4753.f18098;
        this.f19981 = c4753.f18102;
        this.f19979 = c4753.f18110;
        this.f19986 = c4753.f18108;
        this.f19989 = c4753.f18115;
        int i5 = c4753.f18118;
        this.f19995 = i5 == -1 ? 0 : i5;
        float f = c4753.f18124;
        this.f19963 = f == -1.0f ? 1.0f : f;
        this.f19974 = c4753.f18093;
        this.f19998 = c4753.f18103;
        this.f19978 = c4753.f18127;
        this.f19960 = c4753.f18107;
        this.f19984 = c4753.f18090;
        this.f19966 = c4753.f18113;
        this.f19962 = c4753.f18095;
        int i6 = c4753.f18092;
        this.f19961 = i6 == -1 ? 0 : i6;
        int i7 = c4753.f18091;
        this.f19971 = i7 != -1 ? i7 : 0;
        this.f19968 = c4753.f18100;
        this.f19980 = c4753.f18097;
        this.f19993 = c4753.f18109;
        this.f19977 = c4753.f18122;
        int i8 = c4753.f18106;
        if (i8 != 0 || c5576 == null) {
            this.f19959 = i8;
        } else {
            this.f19959 = 1;
        }
    }

    /* JADX INFO: renamed from: ːˏᵟᵯ, reason: contains not printable characters */
    public static String m10876(C5286 c5286) {
        char c;
        int i;
        String str;
        String str2;
        if (c5286 == null) {
            return "null";
        }
        int i2 = c5286.f19985;
        AbstractC4509 abstractC4509 = c5286.f19976;
        String str3 = c5286.f19997;
        int i3 = c5286.f19966;
        int i4 = c5286.f19984;
        int i5 = c5286.f19960;
        float f = c5286.f19989;
        C3281 c3281 = c5286.f19978;
        float f2 = c5286.f19963;
        int i6 = c5286.f19986;
        int i7 = c5286.f19979;
        int i8 = c5286.f19981;
        int i9 = c5286.f19973;
        C5576 c5576 = c5286.f19965;
        String str4 = c5286.f19996;
        int i10 = c5286.f19991;
        String str5 = c5286.f19982;
        String str6 = c5286.f19972;
        int i11 = c5286.f20000;
        C2571 c2571 = new C2571(String.valueOf(','));
        StringBuilder sbM8219 = AbstractC3653.m8219("id=");
        sbM8219.append(c5286.f19992);
        sbM8219.append(", mimeType=");
        sbM8219.append(c5286.f19987);
        if (str6 != null) {
            sbM8219.append(", container=");
            sbM8219.append(str6);
        }
        if (str5 != null) {
            sbM8219.append(", primaryGroupId=");
            sbM8219.append(str5);
        }
        if (i10 != -1) {
            sbM8219.append(", bitrate=");
            sbM8219.append(i10);
        }
        if (str4 != null) {
            sbM8219.append(", codecs=");
            sbM8219.append(str4);
        }
        if (c5576 != null) {
            LinkedHashSet linkedHashSet = new LinkedHashSet();
            for (int i12 = 0; i12 < c5576.f21033; i12++) {
                UUID uuid = c5576.f21030[i12].f16666;
                if (uuid.equals(AbstractC3361.f12877)) {
                    linkedHashSet.add("cenc");
                } else if (uuid.equals(AbstractC3361.f12878)) {
                    linkedHashSet.add("clearkey");
                } else if (uuid.equals(AbstractC3361.f12879)) {
                    linkedHashSet.add("playready");
                } else if (uuid.equals(AbstractC3361.f12881)) {
                    linkedHashSet.add("widevine");
                } else if (uuid.equals(AbstractC3361.f12880)) {
                    linkedHashSet.add("universal");
                } else {
                    linkedHashSet.add("unknown (" + uuid + ")");
                }
            }
            c = 0;
            sbM8219.append(", drm=[");
            c2571.m6299(sbM8219, linkedHashSet.iterator());
            sbM8219.append(']');
        } else {
            c = 0;
        }
        if (i9 != -1 && i8 != -1) {
            sbM8219.append(", res=");
            sbM8219.append(i9);
            sbM8219.append("x");
            sbM8219.append(i8);
        }
        if (i7 != -1 && i6 != -1) {
            sbM8219.append(", decRes=");
            sbM8219.append(i7);
            sbM8219.append("x");
            sbM8219.append(i6);
        }
        double d = f2;
        int i13 = AbstractC1480.f6002;
        if (Math.copySign(d - 1.0d, 1.0d) > 0.001d && d != 1.0d && (!Double.isNaN(d) || !Double.isNaN(1.0d))) {
            sbM8219.append(", par=");
            Object[] objArr = new Object[1];
            objArr[c] = Float.valueOf(f2);
            String str7 = AbstractC0956.f4222;
            sbM8219.append(String.format(Locale.US, "%.3f", objArr));
        }
        if (c3281 != null) {
            int i14 = c3281.f12580;
            int i15 = c3281.f12576;
            if ((i15 != -1 && i14 != -1) || c3281.m7519()) {
                sbM8219.append(", color=");
                if (c3281.m7519()) {
                    String strM7513 = C3281.m7513(c3281.f12577);
                    String strM7516 = C3281.m7516(c3281.f12574);
                    String strM7514 = C3281.m7514(c3281.f12575);
                    Locale locale = Locale.US;
                    str2 = strM7513 + "/" + strM7516 + "/" + strM7514;
                } else {
                    str2 = "NA/NA/NA";
                }
                sbM8219.append(str2 + "/" + ((i15 == -1 || i14 == -1) ? "NA/NA" : i15 + "/" + i14));
            }
        }
        if (f != -1.0f) {
            sbM8219.append(", fps=");
            sbM8219.append(f);
        }
        if (i5 != -1) {
            sbM8219.append(", maxSubLayers=");
            sbM8219.append(i5);
        }
        if (i4 != -1) {
            sbM8219.append(", channels=");
            sbM8219.append(i4);
        }
        if (i3 != -1) {
            sbM8219.append(", sample_rate=");
            sbM8219.append(i3);
        }
        if (str3 != null) {
            sbM8219.append(", language=");
            sbM8219.append(str3);
        }
        if (!abstractC4509.isEmpty()) {
            sbM8219.append(", labels=[");
            c2571.m6299(sbM8219, ᵫﾞˌ.ᵨᵼⁱ(abstractC4509, new C3821(7)).iterator());
            sbM8219.append("]");
        }
        if (i2 != 0) {
            sbM8219.append(", selectionFlags=[");
            String str8 = AbstractC0956.f4222;
            ArrayList arrayList = new ArrayList();
            if ((i2 & 4) != 0) {
                arrayList.add("auto");
            }
            if ((i2 & 1) != 0) {
                arrayList.add("default");
            }
            if ((i2 & 2) != 0) {
                arrayList.add("forced");
            }
            c2571.m6299(sbM8219, arrayList.iterator());
            sbM8219.append("]");
        }
        if (i11 != 0) {
            sbM8219.append(", roleFlags=[");
            String str9 = AbstractC0956.f4222;
            ArrayList arrayList2 = new ArrayList();
            if ((i11 & 1) != 0) {
                arrayList2.add("main");
            }
            if ((i11 & 2) != 0) {
                arrayList2.add("alt");
            }
            if ((i11 & 4) != 0) {
                arrayList2.add("supplementary");
            }
            if ((i11 & 8) != 0) {
                arrayList2.add("commentary");
            }
            if ((i11 & 16) != 0) {
                arrayList2.add("dub");
            }
            if ((i11 & 32) != 0) {
                arrayList2.add("emergency");
            }
            if ((i11 & 64) != 0) {
                arrayList2.add("caption");
            }
            i = i11;
            if ((i & 128) != 0) {
                arrayList2.add("subtitle");
            }
            if ((i & 256) != 0) {
                arrayList2.add("sign");
            }
            if ((i & 512) != 0) {
                arrayList2.add("describes-video");
            }
            if ((i & 1024) != 0) {
                arrayList2.add("describes-music");
            }
            if ((i & 2048) != 0) {
                arrayList2.add("enhanced-intelligibility");
            }
            if ((i & 4096) != 0) {
                arrayList2.add("transcribes-dialog");
            }
            if ((i & 8192) != 0) {
                arrayList2.add("easy-read");
            }
            if ((i & 16384) != 0) {
                arrayList2.add("trick-play");
            }
            if ((i & 32768) != 0) {
                arrayList2.add("auxiliary");
            }
            c2571.m6299(sbM8219, arrayList2.iterator());
            sbM8219.append("]");
        } else {
            i = i11;
        }
        if ((i & 32768) != 0) {
            sbM8219.append(", auxiliaryTrackType=");
            int i16 = c5286.f19994;
            String str10 = AbstractC0956.f4222;
            if (i16 == 0) {
                str = "undefined";
            } else if (i16 == 1) {
                str = "original";
            } else if (i16 == 2) {
                str = "depth-linear";
            } else if (i16 == 3) {
                str = "depth-inverse";
            } else {
                if (i16 != 4) {
                    ᵕᵩʽᵲ.ᵪᵹᵥᵻ("Unsupported auxiliary track type");
                    return null;
                }
                str = "depth metadata";
            }
            sbM8219.append(str);
        }
        return sbM8219.toString();
    }

    public final boolean equals(Object obj) {
        int i;
        if (this == obj) {
            return true;
        }
        if (obj == null || C5286.class != obj.getClass()) {
            return false;
        }
        C5286 c5286 = (C5286) obj;
        int i2 = this.f19964;
        return (i2 == 0 || (i = c5286.f19964) == 0 || i2 == i) && this.f19985 == c5286.f19985 && this.f20000 == c5286.f20000 && this.f19994 == c5286.f19994 && this.f19970 == c5286.f19970 && this.f19999 == c5286.f19999 && this.f19983 == c5286.f19983 && this.f19975 == c5286.f19975 && this.f19973 == c5286.f19973 && this.f19981 == c5286.f19981 && this.f19979 == c5286.f19979 && this.f19986 == c5286.f19986 && this.f19995 == c5286.f19995 && this.f19998 == c5286.f19998 && this.f19960 == c5286.f19960 && this.f19984 == c5286.f19984 && this.f19966 == c5286.f19966 && this.f19962 == c5286.f19962 && this.f19961 == c5286.f19961 && this.f19971 == c5286.f19971 && this.f19968 == c5286.f19968 && this.f19993 == c5286.f19993 && this.f19977 == c5286.f19977 && this.f19959 == c5286.f19959 && Float.compare(this.f19989, c5286.f19989) == 0 && Float.compare(this.f19963, c5286.f19963) == 0 && Objects.equals(this.f19992, c5286.f19992) && Objects.equals(this.f19958, c5286.f19958) && this.f19976.equals(c5286.f19976) && Objects.equals(this.f19996, c5286.f19996) && Objects.equals(this.f19982, c5286.f19982) && Objects.equals(this.f19972, c5286.f19972) && Objects.equals(this.f19987, c5286.f19987) && Objects.equals(this.f19997, c5286.f19997) && Arrays.equals(this.f19974, c5286.f19974) && Objects.equals(this.f19988, c5286.f19988) && Objects.equals(this.f19978, c5286.f19978) && Objects.equals(this.f19965, c5286.f19965) && m10877(c5286);
    }

    public final int hashCode() {
        if (this.f19964 == 0) {
            String str = this.f19992;
            int iHashCode = (527 + (str == null ? 0 : str.hashCode())) * 31;
            String str2 = this.f19958;
            int iHashCode2 = (this.f19976.hashCode() + ((iHashCode + (str2 == null ? 0 : str2.hashCode())) * 31)) * 31;
            String str3 = this.f19997;
            int iHashCode3 = (((((((((((iHashCode2 + (str3 == null ? 0 : str3.hashCode())) * 31) + this.f19985) * 31) + this.f20000) * 31) + this.f19994) * 31) + this.f19970) * 31) + this.f19999) * 31;
            String str4 = this.f19996;
            int iHashCode4 = (iHashCode3 + (str4 == null ? 0 : str4.hashCode())) * 31;
            C1956 c1956 = this.f19988;
            int iHashCode5 = (iHashCode4 + (c1956 == null ? 0 : c1956.hashCode())) * 961;
            String str5 = this.f19982;
            int iHashCode6 = (iHashCode5 + (str5 == null ? 0 : str5.hashCode())) * 31;
            String str6 = this.f19972;
            int iHashCode7 = (iHashCode6 + (str6 == null ? 0 : str6.hashCode())) * 31;
            String str7 = this.f19987;
            this.f19964 = ((((((((((((((((((((((Float.floatToIntBits(this.f19963) + ((((Float.floatToIntBits(this.f19989) + ((((((((((((((iHashCode7 + (str7 != null ? str7.hashCode() : 0)) * 31) + this.f19983) * 31) + ((int) this.f19975)) * 31) + this.f19973) * 31) + this.f19981) * 31) + this.f19979) * 31) + this.f19986) * 31)) * 31) + this.f19995) * 31)) * 31) + this.f19998) * 31) + this.f19960) * 31) + this.f19984) * 31) + this.f19966) * 31) + this.f19962) * 31) + this.f19961) * 31) + this.f19971) * 31) + this.f19968) * 31) + this.f19993) * 31) + this.f19977) * 31) + this.f19959;
        }
        return this.f19964;
    }

    public final String toString() {
        StringBuilder sb = new StringBuilder("Format(");
        sb.append(this.f19992);
        sb.append(", ");
        sb.append(this.f19958);
        sb.append(", ");
        sb.append(this.f19972);
        sb.append(", ");
        sb.append(this.f19987);
        sb.append(", ");
        sb.append(this.f19996);
        sb.append(", ");
        sb.append(this.f19991);
        sb.append(", ");
        sb.append(this.f19997);
        sb.append(", [");
        sb.append(this.f19973);
        sb.append(", ");
        sb.append(this.f19981);
        sb.append(", ");
        sb.append(this.f19989);
        sb.append(", ");
        sb.append(this.f19978);
        sb.append("], [");
        sb.append(this.f19984);
        sb.append(", ");
        return AbstractC3589.m8110(sb, this.f19966, "])");
    }

    /* JADX INFO: renamed from: ʽˈˋ, reason: contains not printable characters */
    public final boolean m10877(C5286 c5286) {
        List list = this.f19967;
        if (list.size() != c5286.f19967.size()) {
            return false;
        }
        for (int i = 0; i < list.size(); i++) {
            if (!Arrays.equals((byte[]) list.get(i), (byte[]) c5286.f19967.get(i))) {
                return false;
            }
        }
        return true;
    }

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public final C4753 m10878() {
        C4753 c4753 = new C4753();
        c4753.f18121 = this.f19992;
        c4753.f18089 = this.f19958;
        c4753.f18105 = this.f19976;
        c4753.f18126 = this.f19997;
        c4753.f18114 = this.f19985;
        c4753.f18129 = this.f20000;
        c4753.f18099 = this.f19970;
        c4753.f18128 = this.f19999;
        c4753.f18120 = this.f19996;
        c4753.f18125 = this.f19988;
        c4753.f18117 = this.f19982;
        c4753.f18111 = this.f19972;
        c4753.f18101 = this.f19987;
        c4753.f18116 = this.f19983;
        c4753.f18112 = this.f19990;
        c4753.f18119 = this.f19967;
        c4753.f18096 = this.f19965;
        c4753.f18094 = this.f19975;
        c4753.f18104 = this.f19969;
        c4753.f18098 = this.f19973;
        c4753.f18102 = this.f19981;
        c4753.f18110 = this.f19979;
        c4753.f18108 = this.f19986;
        c4753.f18115 = this.f19989;
        c4753.f18118 = this.f19995;
        c4753.f18124 = this.f19963;
        c4753.f18093 = this.f19974;
        c4753.f18103 = this.f19998;
        c4753.f18127 = this.f19978;
        c4753.f18107 = this.f19960;
        c4753.f18090 = this.f19984;
        c4753.f18113 = this.f19966;
        c4753.f18095 = this.f19962;
        c4753.f18092 = this.f19961;
        c4753.f18091 = this.f19971;
        c4753.f18100 = this.f19968;
        c4753.f18097 = this.f19980;
        c4753.f18109 = this.f19993;
        c4753.f18122 = this.f19977;
        c4753.f18106 = this.f19959;
        return c4753;
    }

    /* JADX INFO: renamed from: ᵷᵺʾᵖ, reason: contains not printable characters */
    public final C5286 m10879(C5286 c5286) {
        String str;
        String str2;
        int i;
        int i2;
        if (this == c5286) {
            return this;
        }
        int iM9141 = AbstractC4208.m9141(this.f19987);
        String str3 = c5286.f19992;
        AbstractC4509 abstractC4509 = c5286.f19976;
        int i3 = c5286.f19993;
        int i4 = c5286.f19977;
        String str4 = c5286.f19958;
        if (str4 == null) {
            str4 = this.f19958;
        }
        if (abstractC4509.isEmpty()) {
            abstractC4509 = this.f19976;
        }
        if ((iM9141 != 3 && iM9141 != 1) || (str = c5286.f19997) == null) {
            str = this.f19997;
        }
        int i5 = this.f19970;
        if (i5 == -1) {
            i5 = c5286.f19970;
        }
        int i6 = this.f19999;
        if (i6 == -1) {
            i6 = c5286.f19999;
        }
        String str5 = this.f19996;
        if (str5 == null) {
            String strM3241 = AbstractC0956.m3241(iM9141, c5286.f19996);
            if (AbstractC0956.m3238(strM3241).length == 1) {
                str5 = strM3241;
            }
        }
        String str6 = this.f19982;
        if (str6 == null) {
            str6 = c5286.f19982;
        }
        C1956 c1956M5238 = c5286.f19988;
        C1956 c1956 = this.f19988;
        if (c1956 != null) {
            c1956M5238 = c1956.m5238(c1956M5238);
        }
        float f = this.f19989;
        if (f == -1.0f && iM9141 == 2) {
            f = c5286.f19989;
        }
        int i7 = this.f19985 | c5286.f19985;
        AbstractC4509 abstractC45092 = abstractC4509;
        int i8 = c5286.f20000 | this.f20000;
        C5576 c5576 = c5286.f19965;
        ArrayList arrayList = new ArrayList();
        if (c5576 != null) {
            String str7 = c5576.f21031;
            C4386[] c4386Arr = c5576.f21030;
            int length = c4386Arr.length;
            int i9 = 0;
            while (i9 < length) {
                int i10 = i9;
                C4386 c4386 = c4386Arr[i10];
                int i11 = length;
                if (c4386.f16668 != null) {
                    arrayList.add(c4386);
                }
                i9 = i10 + 1;
                length = i11;
            }
            str2 = str7;
        } else {
            str2 = null;
        }
        C5576 c55762 = this.f19965;
        if (c55762 != null) {
            if (str2 == null) {
                str2 = c55762.f21031;
            }
            int size = arrayList.size();
            C4386[] c4386Arr2 = c55762.f21030;
            String str8 = str2;
            int length2 = c4386Arr2.length;
            int i12 = 0;
            while (i12 < length2) {
                int i13 = i12;
                C4386 c43862 = c4386Arr2[i13];
                int i14 = length2;
                if (c43862.f16668 != null) {
                    UUID uuid = c43862.f16666;
                    i2 = i3;
                    int i15 = 0;
                    while (true) {
                        if (i15 >= size) {
                            i = size;
                            arrayList.add(c43862);
                            break;
                        }
                        i = size;
                        if (((C4386) arrayList.get(i15)).f16666.equals(uuid)) {
                            break;
                        }
                        i15++;
                        size = i;
                    }
                } else {
                    i = size;
                    i2 = i3;
                }
                i12 = i13 + 1;
                length2 = i14;
                i3 = i2;
                size = i;
            }
            str2 = str8;
        }
        int i16 = i3;
        C5576 c55763 = arrayList.isEmpty() ? null : new C5576(str2, arrayList);
        C4753 c4753M10878 = m10878();
        c4753M10878.f18121 = str3;
        c4753M10878.f18089 = str4;
        c4753M10878.f18105 = AbstractC4509.m9559(abstractC45092);
        c4753M10878.f18126 = str;
        c4753M10878.f18114 = i7;
        c4753M10878.f18129 = i8;
        c4753M10878.f18099 = i5;
        c4753M10878.f18128 = i6;
        c4753M10878.f18120 = str5;
        c4753M10878.f18125 = c1956M5238;
        c4753M10878.f18117 = str6;
        c4753M10878.f18096 = c55763;
        c4753M10878.f18115 = f;
        c4753M10878.f18109 = i16;
        c4753M10878.f18122 = i4;
        return new C5286(c4753M10878);
    }
}
