package d7;

import kotlin.jvm.internal.t;
import kotlin.text.y;

/* loaded from: classes.dex */
public abstract class b {
    public static final String a(String str, String prefix) {
        boolean P;
        t.g(str, "<this>");
        t.g(prefix, "prefix");
        P = y.P(str, prefix, false, 2, null);
        if (P) {
            return str;
        }
        return prefix + str;
    }
}
