package g.i.a.c.l;

import android.content.Context;
import android.text.TextUtils;
import g.i.a.c.q.i;
import java.util.Locale;

/* JADX INFO: loaded from: classes.dex */
public final class c {
    public Context a;

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

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

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

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

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

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

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

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

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

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public i f5524k;

    /* JADX INFO: renamed from: l, reason: collision with root package name */
    public boolean f5525l;

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

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

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

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

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

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

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

    public static final class b {
        public Context a;

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

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

        /* JADX INFO: renamed from: k, reason: collision with root package name */
        public i f5542k;

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

        /* JADX INFO: renamed from: b, reason: collision with root package name */
        public int f5533b = 0;

        /* JADX INFO: renamed from: e, reason: collision with root package name */
        public int f5536e = 3;

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

        /* JADX INFO: renamed from: g, reason: collision with root package name */
        public int f5538g = 0;

        /* JADX INFO: renamed from: h, reason: collision with root package name */
        public int f5539h = 0;

        /* JADX INFO: renamed from: i, reason: collision with root package name */
        public int f5540i = 1;

        /* JADX INFO: renamed from: j, reason: collision with root package name */
        public int f5541j = -1;

        /* JADX INFO: renamed from: l, reason: collision with root package name */
        public boolean f5543l = false;

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

        /* JADX INFO: renamed from: n, reason: collision with root package name */
        public boolean f5545n = false;

        /* JADX INFO: renamed from: o, reason: collision with root package name */
        public boolean f5546o = true;

        /* JADX INFO: renamed from: q, reason: collision with root package name */
        public boolean f5548q = false;

        /* JADX INFO: renamed from: r, reason: collision with root package name */
        public boolean f5549r = false;

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

        /* JADX WARN: Removed duplicated region for block: B:41:0x0076  */
        /*
            Code decompiled incorrectly, please refer to instructions dump.
            To view partially-correct add '--show-bad-code' argument
        */
        public g.i.a.c.l.c a() {
            /*
                Method dump skipped, instruction units count: 300
                To view this dump add '--comments-level debug' option
            */
            throw new UnsupportedOperationException("Method not decompiled: g.i.a.c.l.c.b.a():g.i.a.c.l.c");
        }
    }

    public c(Context context, int i2, int i3, int i4, int i5, int i6, String str, String str2, int i7, boolean z2, int i8, i iVar, boolean z3, int i9, boolean z4, boolean z5, boolean z6, int i10, int i11, boolean z7, a aVar) {
        this.f5515b = 3;
        this.f5516c = 0;
        this.f5517d = 0;
        this.f5518e = 0;
        this.f5519f = 1;
        this.f5522i = "BIN";
        this.f5526m = 0;
        this.f5531r = false;
        this.f5532s = 15;
        this.a = context;
        this.f5515b = i2;
        this.f5516c = i3;
        this.f5517d = i4;
        this.f5518e = i5;
        this.f5520g = i6;
        this.f5521h = str;
        this.f5522i = str2;
        this.f5523j = i7;
        this.f5531r = z2;
        this.f5532s = i8;
        this.f5524k = iVar;
        this.f5525l = z3;
        this.f5526m = i9;
        this.f5527n = z4;
        this.f5528o = z5;
        this.f5519f = i10;
        this.f5529p = i11;
        this.f5530q = z7;
    }

    public String a() {
        return TextUtils.isEmpty(this.f5522i) ? "BIN" : this.f5522i;
    }

    public String toString() {
        StringBuilder sb = new StringBuilder();
        i iVar = this.f5524k;
        sb.append(iVar != null ? String.format("icType=0x%02X, protocolType=0x%04X, specVersion=0x%02X", Integer.valueOf(iVar.f5674j), Integer.valueOf(this.f5524k.a), Integer.valueOf(this.f5524k.f5675k)) : String.format("protocolType=0x%04X", 0));
        sb.append(String.format("\ndualBank=%b, updateBank=0x%02X", Boolean.valueOf(this.f5531r), Integer.valueOf(this.f5532s)));
        sb.append(String.format("\nworkMode=0x%02X, preferredIcType=0x%02X, preferredFileType=0x%02X, preferredBudRole=0x%02X", Integer.valueOf(this.f5529p), Integer.valueOf(this.f5515b), Integer.valueOf(this.f5518e), Integer.valueOf(this.f5519f)));
        sb.append(String.format("\nFile: location=0x%02X, indicator=0x%08X, path=%s", Integer.valueOf(this.f5520g), Integer.valueOf(this.f5523j), this.f5521h));
        sb.append(String.format(Locale.US, "\nvalidate: versionCheck=%b(%d), icCheck=%b, sectionSizeCheck=%b,ignoreException=%b, dataImageValidate=%b", Boolean.valueOf(this.f5525l), Integer.valueOf(this.f5526m), Boolean.valueOf(this.f5527n), Boolean.valueOf(this.f5528o), Boolean.FALSE, Boolean.valueOf(this.f5530q)));
        return sb.toString();
    }
}
