package com.google.android.play.core.assetpacks;

import com.bytedance.covode.number.Covode;
import com.google.android.play.core.tasks.q;

public final class a extends q {
    public final int a;

    static {
        Covode.recordClassIndex(44105);
    }

    public final int getErrorCode() {
        return this.a;
    }

    /* JADX WARNING: Illegal instructions before constructor call */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public a(int r8) {
        /*
            r7 = this;
            r0 = 2
            java.lang.Object[] r6 = new java.lang.Object[r0]
            java.lang.Integer r1 = java.lang.Integer.valueOf(r8)
            r0 = 0
            r6[r0] = r1
            java.util.Map<java.lang.Integer, java.lang.String> r0 = com.google.android.play.core.assetpacks.a.a.LIZ
            java.lang.Integer r1 = java.lang.Integer.valueOf(r8)
            boolean r0 = r0.containsKey(r1)
            if (r0 != 0) goto L_0x0029
            java.lang.String r1 = ""
        L_0x0018:
            r0 = 1
            r6[r0] = r1
            java.lang.String r0 = "Asset Pack Download Error(%d): %s"
            java.lang.String r0 = X.0HH.LIZ(r0, r6)
            r7.<init>((java.lang.String) r0)
            if (r8 == 0) goto L_0x0070
            r7.a = r8
            return
        L_0x0029:
            java.util.Map<java.lang.Integer, java.lang.String> r0 = com.google.android.play.core.assetpacks.a.a.LIZ
            java.lang.Object r5 = r0.get(r1)
            java.lang.String r5 = (java.lang.String) r5
            java.util.Map<java.lang.Integer, java.lang.String> r0 = com.google.android.play.core.assetpacks.a.a.LIZIZ
            java.lang.Object r4 = r0.get(r1)
            java.lang.String r4 = (java.lang.String) r4
            java.lang.String r0 = java.lang.String.valueOf(r5)
            int r3 = r0.length()
            java.lang.String r0 = java.lang.String.valueOf(r4)
            int r2 = r0.length()
            java.lang.StringBuilder r1 = new java.lang.StringBuilder
            int r0 = r3 + 113
            int r0 = r0 + r2
            r1.<init>(r0)
            r1.append(r5)
            java.lang.String r0 = " ("
            r1.append(r0)
            java.lang.String r0 = "https://developer.android.com/reference/com/google/android/play/core/assetpacks/model/AssetPackErrorCode.html"
            r1.append(r0)
            java.lang.String r0 = "#"
            r1.append(r0)
            r1.append(r4)
            java.lang.String r0 = ")"
            r1.append(r0)
            java.lang.String r1 = r1.toString()
            goto L_0x0018
        L_0x0070:
            java.lang.IllegalArgumentException r1 = new java.lang.IllegalArgumentException
            java.lang.String r0 = "errorCode should not be 0."
            r1.<init>(r0)
            throw r1
        */
        throw new UnsupportedOperationException("Method not decompiled: com.google.android.play.core.assetpacks.a.<init>(int):void");
    }
}
