package P;

import android.view.DisplayCutout;
import android.view.WindowInsets;
import java.util.Objects;

/* JADX INFO: loaded from: classes.dex */
public class k0 extends j0 {
    public k0(s0 s0Var, WindowInsets windowInsets) {
        super(s0Var, windowInsets);
    }

    @Override // P.p0
    public s0 a() {
        return s0.d(null, this.f2455c.consumeDisplayCutout());
    }

    @Override // P.p0
    public C0164h e() {
        DisplayCutout displayCutout = this.f2455c.getDisplayCutout();
        if (displayCutout == null) {
            return null;
        }
        return new C0164h(displayCutout);
    }

    @Override // P.i0, P.p0
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof k0)) {
            return false;
        }
        k0 k0Var = (k0) obj;
        return Objects.equals(this.f2455c, k0Var.f2455c) && Objects.equals(this.f2459g, k0Var.f2459g) && i0.A(this.f2460h, k0Var.f2460h);
    }

    @Override // P.p0
    public int hashCode() {
        return this.f2455c.hashCode();
    }
}
