package p056s0;

import androidx.lifecycle.AbstractC0405c0;
import androidx.lifecycle.C0407d0;
import androidx.lifecycle.C0417e0;
import p039m1.C1470g;

/* renamed from: s0.b */
/* loaded from: classes.dex */
public final class C1614b implements C0407d0.InterfaceC0411b {

    /* renamed from: a */
    public final C1618f<?>[] f3736a;

    public C1614b(C1618f<?>... c1618fArr) {
        C1470g.m1292e(c1618fArr, "initializers");
        this.f3736a = c1618fArr;
    }

    @Override // androidx.lifecycle.C0407d0.InterfaceC0411b
    /* renamed from: a */
    public /* synthetic */ AbstractC0405c0 mo693a(Class cls) {
        return C0417e0.m3711a(this, cls);
    }

    @Override // androidx.lifecycle.C0407d0.InterfaceC0411b
    /* renamed from: b */
    public <T extends AbstractC0405c0> T mo692b(Class<T> cls, AbstractC1611a abstractC1611a) {
        C1618f<?>[] c1618fArr;
        C1470g.m1292e(cls, "modelClass");
        C1470g.m1292e(abstractC1611a, "extras");
        T t = null;
        for (C1618f<?> c1618f : this.f3736a) {
            if (C1470g.m1296a(c1618f.m790a(), cls)) {
                Object mo510e = c1618f.m789b().mo510e(abstractC1611a);
                t = mo510e instanceof AbstractC0405c0 ? (T) mo510e : null;
            }
        }
        if (t != null) {
            return t;
        }
        throw new IllegalArgumentException("No initializer set for given class " + cls.getName());
    }
}