/* esm.sh - @noble/hashes@1.8.0/esm/_u64 */
var l=BigInt(4294967295),s=BigInt(32);function d(t,o=!1){return o?{h:Number(t&l),l:Number(t>>s&l)}:{h:Number(t>>s&l)|0,l:Number(t&l)|0}}function a(t,o=!1){let n=t.length,r=new Uint32Array(n),c=new Uint32Array(n);for(let e=0;e<n;e++){let{h:i,l:u}=d(t[e],o);[r[e],c[e]]=[i,u]}return[r,c]}var B=(t,o)=>BigInt(t>>>0)<<s|BigInt(o>>>0),f=(t,o,n)=>t>>>n,h=(t,o,n)=>t<<32-n|o>>>n,H=(t,o,n)=>t>>>n|o<<32-n,L=(t,o,n)=>t<<32-n|o>>>n,g=(t,o,n)=>t<<64-n|o>>>n-32,S=(t,o,n)=>t>>>n-32|o<<64-n,m=(t,o)=>o,A=(t,o)=>t,_=(t,o,n)=>t<<n|o>>>32-n,b=(t,o,n)=>o<<n|t>>>32-n,I=(t,o,n)=>o<<n-32|t>>>64-n,N=(t,o,n)=>t<<n-32|o>>>64-n;function p(t,o,n,r){let c=(o>>>0)+(r>>>0);return{h:t+n+(c/2**32|0)|0,l:c|0}}var U=(t,o,n)=>(t>>>0)+(o>>>0)+(n>>>0),w=(t,o,n,r)=>o+n+r+(t/2**32|0)|0,x=(t,o,n,r)=>(t>>>0)+(o>>>0)+(n>>>0)+(r>>>0),y=(t,o,n,r,c)=>o+n+r+c+(t/2**32|0)|0,K=(t,o,n,r,c)=>(t>>>0)+(o>>>0)+(n>>>0)+(r>>>0)+(c>>>0),M=(t,o,n,r,c,e)=>o+n+r+c+e+(t/2**32|0)|0;var j={fromBig:d,split:a,toBig:B,shrSH:f,shrSL:h,rotrSH:H,rotrSL:L,rotrBH:g,rotrBL:S,rotr32H:m,rotr32L:A,rotlSH:_,rotlSL:b,rotlBH:I,rotlBL:N,add:p,add3L:U,add3H:w,add4L:x,add4H:y,add5H:M,add5L:K},k=j;export{p as add,w as add3H,U as add3L,y as add4H,x as add4L,M as add5H,K as add5L,k as default,d as fromBig,I as rotlBH,N as rotlBL,_ as rotlSH,b as rotlSL,m as rotr32H,A as rotr32L,g as rotrBH,S as rotrBL,H as rotrSH,L as rotrSL,f as shrSH,h as shrSL,a as split,B as toBig};
//# sourceMappingURL=_u64.mjs.map