package com.google.android.gms.internal.measurement;

/* JADX INFO: loaded from: classes2.dex */
public final class c7 implements t6 {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final u6 f20143a;

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

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final Object[] f20145c;

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

    public c7(b6 b6Var, String str, Object[] objArr) {
        this.f20143a = b6Var;
        this.f20144b = str;
        this.f20145c = objArr;
        char cCharAt = str.charAt(0);
        if (cCharAt < 55296) {
            this.f20146d = cCharAt;
            return;
        }
        int i10 = cCharAt & 8191;
        int i11 = 1;
        int i12 = 13;
        while (true) {
            int i13 = i11 + 1;
            char cCharAt2 = str.charAt(i11);
            if (cCharAt2 < 55296) {
                this.f20146d = i10 | (cCharAt2 << i12);
                return;
            } else {
                i10 |= (cCharAt2 & 8191) << i12;
                i12 += 13;
                i11 = i13;
            }
        }
    }

    public final u6 a() {
        return this.f20143a;
    }

    public final zzln b() {
        int i10 = this.f20146d;
        return (i10 & 1) != 0 ? zzln.f20667a : (i10 & 4) == 4 ? zzln.f20669c : zzln.f20668b;
    }

    public final String c() {
        return this.f20144b;
    }

    public final Object[] d() {
        return this.f20145c;
    }
}
