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