package f2;

import A6.n;
import O6.p;
import Z6.InterfaceC0382w;
import android.graphics.Bitmap;
import com.google.android.gms.internal.measurement.C1;
import java.util.ArrayList;
import k2.C1096k;
import p2.C1419i;

/* JADX INFO: renamed from: f2.h, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0918h extends G6.i implements p {

    /* JADX INFO: renamed from: u, reason: collision with root package name */
    public int f12688u;

    /* JADX INFO: renamed from: v, reason: collision with root package name */
    public final /* synthetic */ C1419i f12689v;

    /* JADX INFO: renamed from: w, reason: collision with root package name */
    public final /* synthetic */ C0920j f12690w;

    /* JADX INFO: renamed from: x, reason: collision with root package name */
    public final /* synthetic */ q2.h f12691x;

    /* JADX INFO: renamed from: y, reason: collision with root package name */
    public final /* synthetic */ C0913c f12692y;

    /* JADX INFO: renamed from: z, reason: collision with root package name */
    public final /* synthetic */ Bitmap f12693z;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C0918h(C1419i c1419i, C0920j c0920j, q2.h hVar, C0913c c0913c, Bitmap bitmap, E6.d dVar) {
        super(2, dVar);
        this.f12689v = c1419i;
        this.f12690w = c0920j;
        this.f12691x = hVar;
        this.f12692y = c0913c;
        this.f12693z = bitmap;
    }

    @Override // O6.p
    public final Object k(Object obj, Object obj2) {
        return ((C0918h) m((E6.d) obj2, (InterfaceC0382w) obj)).p(n.f457a);
    }

    @Override // G6.a
    public final E6.d m(E6.d dVar, Object obj) {
        return new C0918h(this.f12689v, this.f12690w, this.f12691x, this.f12692y, this.f12693z, dVar);
    }

    @Override // G6.a
    public final Object p(Object obj) throws Throwable {
        F6.a aVar = F6.a.f2580q;
        int i = this.f12688u;
        if (i != 0) {
            if (i != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            C1.N(obj);
            return obj;
        }
        C1.N(obj);
        ArrayList arrayList = this.f12690w.f12702h;
        boolean z8 = this.f12693z != null;
        C1419i c1419i = this.f12689v;
        C1096k c1096k = new C1096k(c1419i, arrayList, 0, c1419i, this.f12691x, this.f12692y, z8);
        this.f12688u = 1;
        Object objB = c1096k.b(c1419i, this);
        return objB == aVar ? aVar : objB;
    }
}
