package androidx.appcompat.widget;

import X6FRs_4.IMuAHx_6.WwEq_13.XnFJ5_9;
import X6FRs_4.KQgRr5e_0.KQgRr5e_0;
import X6FRs_4.KQgRr5e_0.LGe8pk_15.Nm6q_10;
import X6FRs_4.KQgRr5e_0.LGe8pk_15.X6FRs_4;
import X6FRs_4.KQgRr5e_0.LGe8pk_15.XDsvEfm_26;
import android.content.Context;
import android.content.res.ColorStateList;
import android.graphics.PorterDuff;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.widget.RadioButton;
/* loaded from: classes.dex */
public class AppCompatRadioButton extends RadioButton implements XnFJ5_9 {
    public final Nm6q_10 KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public final X6FRs_4 f2053KQgRr5e_0;

    public AppCompatRadioButton(Context context, AttributeSet attributeSet) {
        this(context, attributeSet, KQgRr5e_0.radioButtonStyle);
    }

    @Override // android.widget.CompoundButton, android.widget.TextView
    public int getCompoundPaddingLeft() {
        int compoundPaddingLeft = super.getCompoundPaddingLeft();
        X6FRs_4 x6FRs_4 = this.f2053KQgRr5e_0;
        return x6FRs_4 != null ? x6FRs_4.KQgRr5e_0(compoundPaddingLeft) : compoundPaddingLeft;
    }

    public ColorStateList getSupportButtonTintList() {
        X6FRs_4 x6FRs_4 = this.f2053KQgRr5e_0;
        if (x6FRs_4 != null) {
            return x6FRs_4.KQgRr5e_0();
        }
        return null;
    }

    public PorterDuff.Mode getSupportButtonTintMode() {
        X6FRs_4 x6FRs_4 = this.f2053KQgRr5e_0;
        if (x6FRs_4 != null) {
            return x6FRs_4.m442KQgRr5e_0();
        }
        return null;
    }

    @Override // android.widget.CompoundButton
    public void setButtonDrawable(Drawable drawable) {
        super.setButtonDrawable(drawable);
        X6FRs_4 x6FRs_4 = this.f2053KQgRr5e_0;
        if (x6FRs_4 != null) {
            x6FRs_4.QxJ9d_1();
        }
    }

    @Override // X6FRs_4.IMuAHx_6.WwEq_13.XnFJ5_9
    public void setSupportButtonTintList(ColorStateList colorStateList) {
        X6FRs_4 x6FRs_4 = this.f2053KQgRr5e_0;
        if (x6FRs_4 != null) {
            x6FRs_4.KQgRr5e_0(colorStateList);
        }
    }

    @Override // X6FRs_4.IMuAHx_6.WwEq_13.XnFJ5_9
    public void setSupportButtonTintMode(PorterDuff.Mode mode) {
        X6FRs_4 x6FRs_4 = this.f2053KQgRr5e_0;
        if (x6FRs_4 != null) {
            x6FRs_4.KQgRr5e_0(mode);
        }
    }

    public AppCompatRadioButton(Context context, AttributeSet attributeSet, int i) {
        super(XDsvEfm_26.KQgRr5e_0(context), attributeSet, i);
        X6FRs_4 x6FRs_4 = new X6FRs_4(this);
        this.f2053KQgRr5e_0 = x6FRs_4;
        x6FRs_4.KQgRr5e_0(attributeSet, i);
        Nm6q_10 nm6q_10 = new Nm6q_10(this);
        this.KQgRr5e_0 = nm6q_10;
        nm6q_10.KQgRr5e_0(attributeSet, i);
    }

    @Override // android.widget.CompoundButton
    public void setButtonDrawable(int i) {
        setButtonDrawable(X6FRs_4.KQgRr5e_0.KNBe_11.KQgRr5e_0.KQgRr5e_0.m380KQgRr5e_0(getContext(), i));
    }
}
