package Z;

import b0.t;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

/* JADX INFO: loaded from: classes.dex */
public abstract class b {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public static final Pattern f1907a = Pattern.compile("^(\\S+)\\s+-->\\s+(\\S+)(.*)?$");

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    private static final Pattern f1908b = Pattern.compile("^NOTE(( |\t).*)?$");

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    private static final Pattern f1909c = Pattern.compile("(\\S+?):(\\S+)");

    public static Matcher a(t tVar) {
        String strI;
        while (true) {
            String strI2 = tVar.i();
            if (strI2 == null) {
                return null;
            }
            if (f1908b.matcher(strI2).matches()) {
                do {
                    strI = tVar.i();
                    if (strI != null) {
                    }
                } while (!strI.isEmpty());
            } else {
                Matcher matcher = f1907a.matcher(strI2);
                if (matcher.matches()) {
                    return matcher;
                }
            }
        }
    }
}
