package o;

import java.util.concurrent.atomic.AtomicReference;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final /* synthetic */ class C9 implements InterfaceC2294qz, YC {
    public final /* synthetic */ int l;
    public final /* synthetic */ Object m;

    public /* synthetic */ C9(int i, Object obj) {
        this.l = i;
        this.m = obj;
    }

    @Override // o.YC
    public final QC b() {
        switch (this.l) {
            case 0:
                return new O1(2, 4, I9.class, (I9) this.m, "updateState", "updateState(Lcoil/compose/AsyncImagePainter$State;)V");
            default:
                return new O1(2, 4, AtomicReference.class, (AtomicReference) this.m, "set", "set(Ljava/lang/Object;)V");
        }
    }

    @Override // o.InterfaceC2294qz
    public final Object c(Object obj, InterfaceC0220Im interfaceC0220Im) {
        switch (this.l) {
            case 0:
                ((I9) this.m).k((B9) obj);
                break;
            default:
                ((AtomicReference) this.m).set((V60) obj);
                break;
        }
        return Oh0.a;
    }

    public final boolean equals(Object obj) {
        switch (this.l) {
            case 0:
                if ((obj instanceof InterfaceC2294qz) && (obj instanceof YC)) {
                    break;
                }
                break;
            default:
                if ((obj instanceof InterfaceC2294qz) && (obj instanceof YC)) {
                    break;
                }
                break;
        }
        return b().equals(((YC) obj).b());
    }

    public final int hashCode() {
        switch (this.l) {
        }
        return b().hashCode();
    }
}
