package FSaI4_7.KNBe_11;
/* compiled from: StringBuilder.kt */
/* loaded from: classes.dex */
public class Xgtqvk_8 extends FSaI4_7 {
    public static final <T> void KQgRr5e_0(Appendable appendable, T t, FSaI4_7.Xgtqvk_8.KQgRr5e_0.KQgRr5e_0<? super T, ? extends CharSequence> kQgRr5e_0) {
        FSaI4_7.Xgtqvk_8.QxJ9d_1.IFxWkV_5.QxJ9d_1(appendable, "$receiver");
        if (kQgRr5e_0 != null) {
            appendable.append(kQgRr5e_0.KQgRr5e_0(t));
            return;
        }
        if (t != null ? t instanceof CharSequence : true) {
            appendable.append((CharSequence) t);
        } else if (t instanceof Character) {
            appendable.append(((Character) t).charValue());
        } else {
            appendable.append(String.valueOf(t));
        }
    }
}
