import assert from'node:assert/strict'; export function inspectCpuLifecycleGicDtb(b){assert.equal(b.readUInt32BE(),0xd00dfeed);assert.equal(b.readUInt32BE(4),b.length);const strings=b.subarray(b.readUInt32BE(12),b.readUInt32BE(12)+b.readUInt32BE(32));let p=b.readUInt32BE(8),end=p+b.readUInt32BE(36),depth=0,node=null,ac=null,sc=null;const matches=[];const text=(bytes,at=0)=>{const z=bytes.indexOf(0,at);assert.ok(z>=at);return bytes.subarray(at,z).toString();};while(p=65536n&&redistSize>=4n*131072n&&dist+distSize<=redist);assert.ok(redist+redistSize<=0x40000000n);return{dist,distSize,redist,redistSize};}