package X6FRs_4.IMuAHx_6.IFxWkV_5.XnFJ5_9;

import android.content.res.ColorStateList;
import android.content.res.Resources;
import android.graphics.PorterDuff;
import android.graphics.drawable.Drawable;
import android.os.Build;
/* compiled from: WrappedDrawableState.java */
/* loaded from: classes.dex */
public final class IFxWkV_5 extends Drawable.ConstantState {
    public int KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public ColorStateList f405KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public PorterDuff.Mode f406KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public Drawable.ConstantState f407KQgRr5e_0;

    public IFxWkV_5(IFxWkV_5 iFxWkV_5) {
        this.f405KQgRr5e_0 = null;
        this.f406KQgRr5e_0 = Mqv2r_3.QxJ9d_1;
        if (iFxWkV_5 != null) {
            this.KQgRr5e_0 = iFxWkV_5.KQgRr5e_0;
            this.f407KQgRr5e_0 = iFxWkV_5.f407KQgRr5e_0;
            this.f405KQgRr5e_0 = iFxWkV_5.f405KQgRr5e_0;
            this.f406KQgRr5e_0 = iFxWkV_5.f406KQgRr5e_0;
        }
    }

    public boolean KQgRr5e_0() {
        return this.f407KQgRr5e_0 != null;
    }

    @Override // android.graphics.drawable.Drawable.ConstantState
    public int getChangingConfigurations() {
        int i = this.KQgRr5e_0;
        Drawable.ConstantState constantState = this.f407KQgRr5e_0;
        return i | (constantState != null ? constantState.getChangingConfigurations() : 0);
    }

    @Override // android.graphics.drawable.Drawable.ConstantState
    public Drawable newDrawable() {
        return newDrawable(null);
    }

    @Override // android.graphics.drawable.Drawable.ConstantState
    public Drawable newDrawable(Resources resources) {
        if (Build.VERSION.SDK_INT >= 21) {
            return new X6FRs_4(this, resources);
        }
        return new Mqv2r_3(this, resources);
    }
}
