package cc;

import com.google.zxing.NotFoundException;

/* JADX INFO: loaded from: classes.dex */
public final class b extends e {

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public b(int i10, tb.a aVar) {
        super(aVar);
        this.f4959c = i10;
    }

    @Override // com.google.android.gms.internal.ads.k30
    public final String d() throws NotFoundException {
        int i10 = this.f4959c;
        Object obj = this.f13085b;
        switch (i10) {
            case 0:
                if (((tb.a) this.f13084a).f33004b < 48) {
                    throw NotFoundException.a();
                }
                StringBuilder sb = new StringBuilder();
                p(8, sb);
                tb.d dVar = (tb.d) obj;
                int iF = dVar.f(48, 2);
                sb.append("(392");
                sb.append(iF);
                sb.append(')');
                sb.append(dVar.d(50, null).f4963c);
                return sb.toString();
            case 1:
                if (((tb.a) this.f13084a).f33004b < 48) {
                    throw NotFoundException.a();
                }
                StringBuilder sb2 = new StringBuilder();
                p(8, sb2);
                tb.d dVar2 = (tb.d) obj;
                int iF2 = dVar2.f(48, 2);
                sb2.append("(393");
                sb2.append(iF2);
                sb2.append(')');
                int iF3 = dVar2.f(50, 10);
                if (iF3 / 100 == 0) {
                    sb2.append('0');
                }
                if (iF3 / 10 == 0) {
                    sb2.append('0');
                }
                sb2.append(iF3);
                sb2.append(dVar2.d(60, null).f4963c);
                return sb2.toString();
            default:
                StringBuilder sbC = u.a.c("(01)");
                int length = sbC.length();
                tb.d dVar3 = (tb.d) obj;
                sbC.append(dVar3.f(4, 4));
                q(sbC, 8, length);
                return dVar3.c(48, sbC);
        }
    }
}
