package gb;

import com.google.firebase.crashlytics.internal.metadata.UserMetadata;
import h2.e0;
import j2.g;
import l1.i;
import q2.d;
import rm.n0;
import v0.z1;
import v2.r;
import y0.d4;
import y0.l2;
import y0.x2;

/* loaded from: classes4.dex */
public abstract class r {

    /* JADX INFO: Access modifiers changed from: package-private */
    /* loaded from: classes4.dex */
    public static final class a extends kotlin.jvm.internal.v implements dn.p {

        /* renamed from: p, reason: collision with root package name */
        final /* synthetic */ q f19486p;

        /* renamed from: q, reason: collision with root package name */
        final /* synthetic */ int f19487q;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        a(q qVar, int i10) {
            super(2);
            this.f19486p = qVar;
            this.f19487q = i10;
        }

        public final void a(y0.m mVar, int i10) {
            r.a(this.f19486p, mVar, l2.a(this.f19487q | 1));
        }

        @Override // dn.p
        public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
            a((y0.m) obj, ((Number) obj2).intValue());
            return n0.f34904a;
        }
    }

    public static final void a(q itemData, y0.m mVar, int i10) {
        int i11;
        q2.b0 a10;
        q2.b0 a11;
        y0.m mVar2;
        kotlin.jvm.internal.t.g(itemData, "itemData");
        y0.m r10 = mVar.r(1990268405);
        if ((i10 & 14) == 0) {
            i11 = (r10.R(itemData) ? 4 : 2) | i10;
        } else {
            i11 = i10;
        }
        if ((i11 & 11) == 2 && r10.v()) {
            r10.A();
            mVar2 = r10;
        } else {
            if (y0.p.H()) {
                y0.p.Q(1990268405, i11, -1, "ca.canadapost.module.consumerhome.landing.items.HelloItem (HelloItem.kt:29)");
            }
            r10.e(-2129880039);
            d.a aVar = new d.a(0, 1, null);
            r10.e(-2129880008);
            n7.a aVar2 = n7.a.f29827a;
            int i12 = n7.a.f29828b;
            q2.b0 M = aVar2.c(r10, i12).n().M();
            r.a aVar3 = v2.r.f38997q;
            a10 = M.a((r38 & 1) != 0 ? M.g() : 0L, (r38 & 2) != 0 ? M.f33245b : 0L, (r38 & 4) != 0 ? M.f33246c : aVar3.e(), (r38 & 8) != 0 ? M.f33247d : null, (r38 & 16) != 0 ? M.f33248e : null, (r38 & 32) != 0 ? M.f33249f : null, (r38 & 64) != 0 ? M.f33250g : null, (r38 & 128) != 0 ? M.f33251h : 0L, (r38 & 256) != 0 ? M.f33252i : null, (r38 & 512) != 0 ? M.f33253j : null, (r38 & UserMetadata.MAX_ATTRIBUTE_SIZE) != 0 ? M.f33254k : null, (r38 & 2048) != 0 ? M.f33255l : 0L, (r38 & 4096) != 0 ? M.f33256m : null, (r38 & UserMetadata.MAX_INTERNAL_KEY_SIZE) != 0 ? M.f33257n : null, (r38 & 16384) != 0 ? M.f33258o : null, (r38 & 32768) != 0 ? M.f33259p : null);
            int l10 = aVar.l(a10);
            try {
                aVar.f(m2.j.b(bb.h.f6864o, r10, 0));
                n0 n0Var = n0.f34904a;
                aVar.j(l10);
                r10.N();
                a11 = r8.a((r38 & 1) != 0 ? r8.g() : 0L, (r38 & 2) != 0 ? r8.f33245b : 0L, (r38 & 4) != 0 ? r8.f33246c : aVar3.g(), (r38 & 8) != 0 ? r8.f33247d : null, (r38 & 16) != 0 ? r8.f33248e : null, (r38 & 32) != 0 ? r8.f33249f : null, (r38 & 64) != 0 ? r8.f33250g : null, (r38 & 128) != 0 ? r8.f33251h : 0L, (r38 & 256) != 0 ? r8.f33252i : null, (r38 & 512) != 0 ? r8.f33253j : null, (r38 & UserMetadata.MAX_ATTRIBUTE_SIZE) != 0 ? r8.f33254k : null, (r38 & 2048) != 0 ? r8.f33255l : 0L, (r38 & 4096) != 0 ? r8.f33256m : null, (r38 & UserMetadata.MAX_INTERNAL_KEY_SIZE) != 0 ? r8.f33257n : null, (r38 & 16384) != 0 ? r8.f33258o : null, (r38 & 32768) != 0 ? aVar2.c(r10, i12).n().M().f33259p : null);
                l10 = aVar.l(a11);
                try {
                    aVar.f(itemData.b() + " " + itemData.c());
                    aVar.j(l10);
                    q2.d m10 = aVar.m();
                    r10.N();
                    i.a aVar4 = l1.i.f27362a;
                    e0 a12 = e0.d.a(e0.b.f16607a.h(), l1.c.f27332a.k(), r10, 0);
                    int a13 = y0.j.a(r10, 0);
                    y0.y D = r10.D();
                    l1.i e10 = l1.h.e(r10, aVar4);
                    g.a aVar5 = j2.g.f23616d;
                    dn.a a14 = aVar5.a();
                    if (!(r10.w() instanceof y0.f)) {
                        y0.j.c();
                    }
                    r10.u();
                    if (r10.n()) {
                        r10.o(a14);
                    } else {
                        r10.F();
                    }
                    y0.m a15 = d4.a(r10);
                    d4.b(a15, a12, aVar5.c());
                    d4.b(a15, D, aVar5.e());
                    dn.p b10 = aVar5.b();
                    if (a15.n() || !kotlin.jvm.internal.t.b(a15.f(), Integer.valueOf(a13))) {
                        a15.I(Integer.valueOf(a13));
                        a15.l(Integer.valueOf(a13), b10);
                    }
                    d4.b(a15, e10, aVar5.d());
                    e0.g gVar = e0.g.f16653a;
                    l7.n.a(c3.h.t(10), l7.o.Vertical, r10, 54);
                    mVar2 = r10;
                    z1.c(m10, null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, null, null, mVar2, 0, 0, 262142);
                    mVar2.O();
                    if (y0.p.H()) {
                        y0.p.P();
                    }
                } finally {
                }
            } finally {
            }
        }
        x2 y10 = mVar2.y();
        if (y10 != null) {
            y10.a(new a(itemData, i10));
        }
    }
}
