package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class DT implements InterfaceC0707aL, AutoCloseable {
    public final /* synthetic */ AT l;
    public final /* synthetic */ ZB m;
    public final /* synthetic */ WK n;

    public DT(AT at, ZB zb, ET et, WK wk) {
        this.l = at;
        this.m = zb;
        this.n = wk;
    }

    @Override // java.lang.AutoCloseable
    public final void close() {
        this.n.c(this);
    }

    @Override // o.InterfaceC0707aL
    public final void f(InterfaceC0898cL interfaceC0898cL, UK uk) {
        boolean z = uk.a().a(VK.f372o) && this.m.b;
        AT at = this.l;
        at.b(z);
        if (uk == UK.ON_DESTROY) {
            at.a();
            this.n.c(this);
        }
    }
}
