package o;

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

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public class Cl0 extends Bl0 {
    public Cl0(Kl0 kl0, WindowInsets windowInsets) {
        super(kl0, windowInsets);
    }

    @Override // o.Hl0
    public Kl0 a() {
        return Kl0.g(null, this.c.consumeDisplayCutout());
    }

    @Override // o.Al0, o.Hl0
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof Cl0)) {
            return false;
        }
        Cl0 cl0 = (Cl0) obj;
        return Objects.equals(this.c, cl0.c) && Objects.equals(this.g, cl0.g) && Al0.C(this.h, cl0.h);
    }

    @Override // o.Hl0
    public C1998ns f() {
        DisplayCutout displayCutout = this.c.getDisplayCutout();
        if (displayCutout == null) {
            return null;
        }
        return new C1998ns(displayCutout);
    }

    @Override // o.Hl0
    public int hashCode() {
        return this.c.hashCode();
    }

    public Cl0(Kl0 kl0, Cl0 cl0) {
        super(kl0, cl0);
    }
}
