package h.b.p.a0;

/* JADX INFO: compiled from: TreeJsonDecoder.kt */
/* JADX INFO: loaded from: classes.dex */
@g.i
public final class p extends b {

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final h.b.p.y f4523f;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public p(h.b.p.a aVar, h.b.p.y yVar) {
        super(aVar, yVar, null);
        g.h0.c.l.f(aVar, "json");
        g.h0.c.l.f(yVar, "value");
        this.f4523f = yVar;
        this.a.add("primitive");
    }

    @Override // h.b.p.a0.b
    public h.b.p.h Z(String str) {
        g.h0.c.l.f(str, "tag");
        if (str == "primitive") {
            return this.f4523f;
        }
        throw new IllegalArgumentException("This input can only handle primitives with 'primitive' tag".toString());
    }

    @Override // h.b.p.a0.b
    public h.b.p.h c0() {
        return this.f4523f;
    }

    @Override // h.b.n.c
    public int x(h.b.m.e eVar) {
        g.h0.c.l.f(eVar, "descriptor");
        return 0;
    }
}
