package o;

import java.util.List;
import java.util.regex.Matcher;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class IN {
    public final Matcher a;
    public final CharSequence b;
    public HN c;

    public IN(Matcher matcher, CharSequence charSequence) {
        this.a = matcher;
        this.b = charSequence;
    }

    public final List a() {
        if (this.c == null) {
            this.c = new HN(0, this);
        }
        return this.c;
    }

    public final C0991dI b() {
        Matcher matcher = this.a;
        return AbstractC0940cn0.K(matcher.start(), matcher.end());
    }

    public final IN c() {
        Matcher matcher = this.a;
        int iEnd = matcher.end() + (matcher.end() == matcher.start() ? 1 : 0);
        CharSequence charSequence = this.b;
        if (iEnd <= charSequence.length()) {
            return AbstractC2539te.h(matcher.pattern().matcher(charSequence), iEnd, charSequence);
        }
        return null;
    }
}
