package g2;

import java.io.IOException;

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

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

    h0(w wVar) {
        this.f4707e = wVar;
    }

    @Override // g2.s1
    public s a() throws IOException {
        return new g0(this.f4707e.d());
    }

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