package X6FRs_4.IMuAHx_6.EuDEkJe_12;

import android.os.Build;
import android.view.WindowInsets;
/* compiled from: WindowInsetsCompat.java */
/* loaded from: classes.dex */
public class XuVgy_28 {
    public final Object KQgRr5e_0;

    public XuVgy_28(Object obj) {
        this.KQgRr5e_0 = obj;
    }

    public int KQgRr5e_0() {
        if (Build.VERSION.SDK_INT >= 20) {
            return ((WindowInsets) this.KQgRr5e_0).getSystemWindowInsetBottom();
        }
        return 0;
    }

    public int Mqv2r_3() {
        if (Build.VERSION.SDK_INT >= 20) {
            return ((WindowInsets) this.KQgRr5e_0).getSystemWindowInsetTop();
        }
        return 0;
    }

    public int PGPF6hQ_2() {
        if (Build.VERSION.SDK_INT >= 20) {
            return ((WindowInsets) this.KQgRr5e_0).getSystemWindowInsetRight();
        }
        return 0;
    }

    public int QxJ9d_1() {
        if (Build.VERSION.SDK_INT >= 20) {
            return ((WindowInsets) this.KQgRr5e_0).getSystemWindowInsetLeft();
        }
        return 0;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || XuVgy_28.class != obj.getClass()) {
            return false;
        }
        Object obj2 = this.KQgRr5e_0;
        Object obj3 = ((XuVgy_28) obj).KQgRr5e_0;
        return obj2 == null ? obj3 == null : obj2.equals(obj3);
    }

    public int hashCode() {
        Object obj = this.KQgRr5e_0;
        if (obj == null) {
            return 0;
        }
        return obj.hashCode();
    }

    /* renamed from: KQgRr5e_0  reason: collision with other method in class */
    public boolean m246KQgRr5e_0() {
        if (Build.VERSION.SDK_INT >= 20) {
            return ((WindowInsets) this.KQgRr5e_0).hasSystemWindowInsets();
        }
        return false;
    }

    /* renamed from: QxJ9d_1  reason: collision with other method in class */
    public boolean m247QxJ9d_1() {
        if (Build.VERSION.SDK_INT >= 21) {
            return ((WindowInsets) this.KQgRr5e_0).isConsumed();
        }
        return false;
    }

    /* renamed from: KQgRr5e_0  reason: collision with other method in class */
    public XuVgy_28 m245KQgRr5e_0() {
        if (Build.VERSION.SDK_INT >= 20) {
            return new XuVgy_28(((WindowInsets) this.KQgRr5e_0).consumeSystemWindowInsets());
        }
        return null;
    }

    public XuVgy_28 KQgRr5e_0(int i, int i2, int i3, int i4) {
        if (Build.VERSION.SDK_INT >= 20) {
            return new XuVgy_28(((WindowInsets) this.KQgRr5e_0).replaceSystemWindowInsets(i, i2, i3, i4));
        }
        return null;
    }

    public static XuVgy_28 KQgRr5e_0(Object obj) {
        if (obj == null) {
            return null;
        }
        return new XuVgy_28(obj);
    }

    public static Object KQgRr5e_0(XuVgy_28 xuVgy_28) {
        if (xuVgy_28 == null) {
            return null;
        }
        return xuVgy_28.KQgRr5e_0;
    }
}
