package e.a.q;

import java.util.Arrays;
import java.util.Iterator;

/* JADX INFO: compiled from: PluginGeneratedSerialDescriptor.kt */
/* JADX INFO: loaded from: classes.dex */
@d.n
public final class d1 {
    public static final int a(e.a.o.f fVar, e.a.o.f[] fVarArr) {
        d.n0.c.s.e(fVar, "<this>");
        d.n0.c.s.e(fVarArr, "typeParams");
        int iHashCode = (fVar.a().hashCode() * 31) + Arrays.hashCode(fVarArr);
        Iterable<e.a.o.f> iterableA = e.a.o.h.a(fVar);
        Iterator<e.a.o.f> it = iterableA.iterator();
        int iHashCode2 = 1;
        int i = 1;
        while (true) {
            int iHashCode3 = 0;
            if (!it.hasNext()) {
                break;
            }
            int i2 = i * 31;
            String strA = it.next().a();
            if (strA != null) {
                iHashCode3 = strA.hashCode();
            }
            i = i2 + iHashCode3;
        }
        Iterator<e.a.o.f> it2 = iterableA.iterator();
        while (it2.hasNext()) {
            int i3 = iHashCode2 * 31;
            e.a.o.j jVarE = it2.next().e();
            iHashCode2 = i3 + (jVarE != null ? jVarE.hashCode() : 0);
        }
        return (((iHashCode * 31) + i) * 31) + iHashCode2;
    }
}
