package e.a.r.y;

/* JADX INFO: compiled from: StreamingJsonDecoder.kt */
/* JADX INFO: loaded from: classes.dex */
@d.n
public final class t extends e.a.p.a {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    private final a f3054a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    private final e.a.s.c f3055b;

    public t(a aVar, e.a.r.a aVar2) {
        d.n0.c.s.e(aVar, "lexer");
        d.n0.c.s.e(aVar2, "json");
        this.f3054a = aVar;
        this.f3055b = aVar2.e();
    }

    @Override // e.a.p.a, e.a.p.e
    public byte B() {
        a aVar = this.f3054a;
        String strS = aVar.s();
        try {
            return d.s0.u.a(strS);
        } catch (IllegalArgumentException unused) {
            a.y(aVar, "Failed to parse type 'UByte' for input '" + strS + '\'', 0, null, 6, null);
            throw new d.h();
        }
    }

    @Override // e.a.p.a, e.a.p.e
    public short C() {
        a aVar = this.f3054a;
        String strS = aVar.s();
        try {
            return d.s0.u.j(strS);
        } catch (IllegalArgumentException unused) {
            a.y(aVar, "Failed to parse type 'UShort' for input '" + strS + '\'', 0, null, 6, null);
            throw new d.h();
        }
    }

    @Override // e.a.p.c
    public e.a.s.c b() {
        return this.f3055b;
    }

    @Override // e.a.p.a, e.a.p.e
    public int j() {
        a aVar = this.f3054a;
        String strS = aVar.s();
        try {
            return d.s0.u.d(strS);
        } catch (IllegalArgumentException unused) {
            a.y(aVar, "Failed to parse type 'UInt' for input '" + strS + '\'', 0, null, 6, null);
            throw new d.h();
        }
    }

    @Override // e.a.p.a, e.a.p.e
    public long r() {
        a aVar = this.f3054a;
        String strS = aVar.s();
        try {
            return d.s0.u.g(strS);
        } catch (IllegalArgumentException unused) {
            a.y(aVar, "Failed to parse type 'ULong' for input '" + strS + '\'', 0, null, 6, null);
            throw new d.h();
        }
    }

    @Override // e.a.p.c
    public int w(e.a.o.f fVar) {
        d.n0.c.s.e(fVar, "descriptor");
        throw new IllegalStateException("unsupported".toString());
    }
}
