package g2;

import java.io.IOException;

/* JADX INFO: compiled from: BERTaggedObjectParser.java */
/* JADX INFO: loaded from: classes.dex */
public class j0 implements d, s1 {

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    private boolean f4712e;

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

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    private w f4714g;

    j0(boolean z2, int i3, w wVar) {
        this.f4712e = z2;
        this.f4713f = i3;
        this.f4714g = wVar;
    }

    @Override // g2.s1
    public s a() throws IOException {
        return this.f4714g.c(this.f4712e, this.f4713f);
    }

    @Override // g2.d
    public s c() {
        try {
            return a();
        } catch (IOException e3) {
            throw new r(e3.getMessage());
        }
    }
}
