package p057s1;

import p039m1.C1470g;

/* renamed from: s1.l */
/* loaded from: classes.dex */
public class C1630l extends C1629k {
    /* renamed from: c */
    public static final boolean m782c(String str, int i, String str2, int i2, int i3, boolean z) {
        C1470g.m1292e(str, "<this>");
        C1470g.m1292e(str2, "other");
        return !z ? str.regionMatches(i, str2, i2, i3) : str.regionMatches(z, i, str2, i2, i3);
    }

    /* renamed from: d */
    public static final boolean m781d(String str, String str2, boolean z) {
        C1470g.m1292e(str, "<this>");
        C1470g.m1292e(str2, "prefix");
        return !z ? str.startsWith(str2) : m782c(str, 0, str2, 0, str2.length(), z);
    }

    /* renamed from: e */
    public static /* synthetic */ boolean m780e(String str, String str2, boolean z, int i, Object obj) {
        if ((i & 2) != 0) {
            z = false;
        }
        return m781d(str, str2, z);
    }
}