package Z6;

import java.util.concurrent.ScheduledFuture;

/* JADX INFO: renamed from: Z6.e, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0365e implements InterfaceC0366f {

    /* JADX INFO: renamed from: q, reason: collision with root package name */
    public final /* synthetic */ int f7505q;

    /* JADX INFO: renamed from: r, reason: collision with root package name */
    public final Object f7506r;

    public /* synthetic */ C0365e(int i, Object obj) {
        this.f7505q = i;
        this.f7506r = obj;
    }

    @Override // Z6.InterfaceC0366f
    public final void b(Throwable th) {
        switch (this.f7505q) {
            case n4.u0.f15495q /* 0 */:
                ((ScheduledFuture) this.f7506r).cancel(false);
                break;
            case 1:
                ((O6.l) this.f7506r).b(th);
                break;
            default:
                ((L) this.f7506r).b();
                break;
        }
    }

    public final String toString() {
        switch (this.f7505q) {
            case n4.u0.f15495q /* 0 */:
                return "CancelFutureOnCancel[" + ((ScheduledFuture) this.f7506r) + ']';
            case 1:
                return "CancelHandler.UserSupplied[" + ((O6.l) this.f7506r).getClass().getSimpleName() + '@' + AbstractC0385z.m(this) + ']';
            default:
                return "DisposeOnCancel[" + ((L) this.f7506r) + ']';
        }
    }
}
