package com.google.crypto.tink.shaded.protobuf;

/* JADX INFO: loaded from: classes.dex */
public final class a0 {

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

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

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

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

    public a0(AbstractC0735a abstractC0735a, String str, Object[] objArr) {
        this.f10474a = abstractC0735a;
        this.f10475b = str;
        this.f10476c = objArr;
        char cCharAt = str.charAt(0);
        if (cCharAt < 55296) {
            this.f10477d = cCharAt;
            return;
        }
        int i = cCharAt & 8191;
        int i5 = 1;
        int i8 = 13;
        while (true) {
            int i9 = i5 + 1;
            char cCharAt2 = str.charAt(i5);
            if (cCharAt2 < 55296) {
                this.f10477d = i | (cCharAt2 << i8);
                return;
            } else {
                i |= (cCharAt2 & 8191) << i8;
                i8 += 13;
                i5 = i9;
            }
        }
    }
}
