package Y3;

import I2.O;
import java.security.GeneralSecurityException;
import javax.crypto.Mac;
import javax.crypto.spec.SecretKeySpec;

/* JADX INFO: loaded from: classes3.dex */
public final class q extends ThreadLocal {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ O f8842a;

    public q(O o6) {
        this.f8842a = o6;
    }

    @Override // java.lang.ThreadLocal
    public final Object initialValue() {
        O o6 = this.f8842a;
        try {
            o oVar = o.f8839c;
            Mac mac = (Mac) oVar.f8841a.a((String) o6.f2526d);
            mac.init((SecretKeySpec) o6.f2525c);
            return mac;
        } catch (GeneralSecurityException e6) {
            throw new IllegalStateException(e6);
        }
    }
}
