package C1;

import android.content.Context;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
import java.util.concurrent.Callable;

/* JADX INFO: loaded from: classes.dex */
public final class g implements Callable {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ String f677b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ Context f678c;

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

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final /* synthetic */ Object f680e;

    public /* synthetic */ g(String str, Context context, Object obj, int i6, int i7) {
        this.f676a = i7;
        this.f677b = str;
        this.f678c = context;
        this.f680e = obj;
        this.f679d = i6;
    }

    @Override // java.util.concurrent.Callable
    public final Object call() {
        switch (this.f676a) {
            case 0:
                Object[] objArr = {(f) this.f680e};
                ArrayList arrayList = new ArrayList(1);
                Object obj = objArr[0];
                Objects.requireNonNull(obj);
                arrayList.add(obj);
                return j.b(this.f677b, this.f678c, Collections.unmodifiableList(arrayList), this.f679d);
            default:
                try {
                    return j.b(this.f677b, this.f678c, (List) this.f680e, this.f679d);
                } catch (Throwable unused) {
                    return new i(-3);
                }
        }
    }
}
