package w0;

import android.os.Bundle;
import android.text.Spanned;
import x0.v;

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

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public static final String f18215a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public static final String f18216b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public static final String f18217c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public static final String f18218d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public static final String f18219e;

    static {
        int i = v.f18553a;
        f18215a = Integer.toString(0, 36);
        f18216b = Integer.toString(1, 36);
        f18217c = Integer.toString(2, 36);
        f18218d = Integer.toString(3, 36);
        f18219e = Integer.toString(4, 36);
    }

    public static Bundle a(Spanned spanned, Object obj, int i, Bundle bundle) {
        Bundle bundle2 = new Bundle();
        bundle2.putInt(f18215a, spanned.getSpanStart(obj));
        bundle2.putInt(f18216b, spanned.getSpanEnd(obj));
        bundle2.putInt(f18217c, spanned.getSpanFlags(obj));
        bundle2.putInt(f18218d, i);
        if (bundle != null) {
            bundle2.putBundle(f18219e, bundle);
        }
        return bundle2;
    }
}
