package g.i.a.c.l.f;

import android.os.Parcel;
import android.os.Parcelable;
import java.util.Locale;

/* JADX INFO: loaded from: classes.dex */
public final class a extends g.i.a.c.k.a implements Parcelable {
    public static final Parcelable.Creator<a> CREATOR = new C0083a();

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public int f5576f;

    /* JADX INFO: renamed from: m, reason: collision with root package name */
    public int f5577m;

    /* JADX INFO: renamed from: n, reason: collision with root package name */
    public int f5578n;

    /* JADX INFO: renamed from: o, reason: collision with root package name */
    public int f5579o;

    /* JADX INFO: renamed from: p, reason: collision with root package name */
    public int f5580p;

    /* JADX INFO: renamed from: q, reason: collision with root package name */
    public int f5581q;

    /* JADX INFO: renamed from: r, reason: collision with root package name */
    public int f5582r;

    /* JADX INFO: renamed from: s, reason: collision with root package name */
    public int f5583s;

    /* JADX INFO: renamed from: t, reason: collision with root package name */
    public int f5584t;

    /* JADX INFO: renamed from: u, reason: collision with root package name */
    public int f5585u;

    /* JADX INFO: renamed from: v, reason: collision with root package name */
    public int f5586v;

    /* JADX INFO: renamed from: w, reason: collision with root package name */
    public int f5587w;

    /* JADX INFO: renamed from: x, reason: collision with root package name */
    public String f5588x;

    /* JADX INFO: renamed from: y, reason: collision with root package name */
    public String f5589y;

    /* JADX INFO: renamed from: g.i.a.c.l.f.a$a, reason: collision with other inner class name */
    public static class C0083a implements Parcelable.Creator<a> {
        @Override // android.os.Parcelable.Creator
        public a createFromParcel(Parcel parcel) {
            return new a(parcel);
        }

        @Override // android.os.Parcelable.Creator
        public a[] newArray(int i2) {
            return new a[i2];
        }
    }

    /* JADX WARN: Removed duplicated region for block: B:14:0x003a  */
    /* JADX WARN: Removed duplicated region for block: B:15:0x003c  */
    /* JADX WARN: Removed duplicated region for block: B:20:0x006d  */
    /* JADX WARN: Removed duplicated region for block: B:39:0x0243  */
    /* JADX WARN: Removed duplicated region for block: B:43:0x025b  */
    /* JADX WARN: Removed duplicated region for block: B:80:0x0455  */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public a(int r8, int r9, int r10, int r11, int r12, int r13, int r14, g.i.a.c.l.f.a.C0083a r15) {
        /*
            Method dump skipped, instruction units count: 1132
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: g.i.a.c.l.f.a.<init>(int, int, int, int, int, int, int, g.i.a.c.l.f.a$a):void");
    }

    public a(Parcel parcel) {
        this.f5582r = 15;
        this.f5576f = parcel.readInt();
        this.f5577m = parcel.readInt();
        this.f5578n = parcel.readInt();
        this.f5579o = parcel.readInt();
        this.f5580p = parcel.readInt();
        this.f5581q = parcel.readInt();
        this.f5582r = parcel.readInt();
        this.f5583s = parcel.readInt();
        this.f5584t = parcel.readInt();
        this.f5585u = parcel.readInt();
        this.f5586v = parcel.readInt();
        this.f5587w = parcel.readInt();
        this.f5588x = parcel.readString();
        this.f5589y = parcel.readString();
    }

    /* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
    /* JADX WARN: Removed duplicated region for block: B:29:0x0038 A[RETURN, SYNTHETIC] */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final int a(int r4, int r5, boolean r6) {
        /*
            r3 = this;
            r0 = 5
            r1 = 3
            if (r4 > r1) goto L6
            r0 = 7
            goto L3d
        L6:
            if (r4 == r0) goto L3c
            r2 = 9
            if (r4 == r2) goto L3c
            r2 = 12
            if (r4 != r2) goto L11
            goto L3c
        L11:
            r2 = 10145(0x27a1, float:1.4216E-41)
            if (r5 == r2) goto L3a
            r2 = 10148(0x27a4, float:1.422E-41)
            if (r5 == r2) goto L3c
            switch(r5) {
                case 10128: goto L36;
                case 10129: goto L3a;
                case 10130: goto L3a;
                case 10131: goto L3d;
                case 10132: goto L33;
                case 10133: goto L33;
                case 10134: goto L3c;
                case 10135: goto L20;
                default: goto L1c;
            }
        L1c:
            switch(r5) {
                case 10140: goto L3a;
                case 10141: goto L3a;
                case 10142: goto L3a;
                default: goto L1f;
            }
        L1f:
            goto L38
        L20:
            r5 = 11
            if (r4 == r5) goto L30
            r5 = 13
            if (r4 == r5) goto L30
            r5 = 10
            if (r4 != r5) goto L2d
            goto L30
        L2d:
            r0 = 514(0x202, float:7.2E-43)
            goto L3d
        L30:
            r0 = 516(0x204, float:7.23E-43)
            goto L3d
        L33:
            r0 = 515(0x203, float:7.22E-43)
            goto L3d
        L36:
            if (r6 == 0) goto L3c
        L38:
            r0 = 1
            goto L3d
        L3a:
            r0 = r1
            goto L3d
        L3c:
            r0 = 2
        L3d:
            return r0
        */
        throw new UnsupportedOperationException("Method not decompiled: g.i.a.c.l.f.a.a(int, int, boolean):int");
    }

    @Override // android.os.Parcelable
    public int describeContents() {
        return 0;
    }

    public String toString() {
        return String.format(Locale.US, "0x%04X(%s), I%02XPT%04XSV%02X, imageVersion=[%08X], format=[%d]\nformatedVersion=(%d.%d.%d.%d)->[%s]", Integer.valueOf(this.f5581q), this.f5589y, Integer.valueOf(this.f5578n), Integer.valueOf(this.f5576f), Integer.valueOf(this.f5577m), Integer.valueOf(this.f5579o), Integer.valueOf(this.f5583s), Integer.valueOf(this.f5584t), Integer.valueOf(this.f5585u), Integer.valueOf(this.f5586v), Integer.valueOf(this.f5587w), this.f5588x);
    }

    @Override // android.os.Parcelable
    public void writeToParcel(Parcel parcel, int i2) {
        parcel.writeInt(this.f5576f);
        parcel.writeInt(this.f5577m);
        parcel.writeInt(this.f5578n);
        parcel.writeInt(this.f5579o);
        parcel.writeInt(this.f5580p);
        parcel.writeInt(this.f5581q);
        parcel.writeInt(this.f5582r);
        parcel.writeInt(this.f5583s);
        parcel.writeInt(this.f5584t);
        parcel.writeInt(this.f5585u);
        parcel.writeInt(this.f5586v);
        parcel.writeInt(this.f5587w);
        parcel.writeString(this.f5588x);
        parcel.writeString(this.f5589y);
    }
}
