{"capsule":{"id":"c46b63760991a5e2ae0d998566749757","name":"smart_tree_marqant_token_pack","domain":"smart-tree","source_code":"pub fn smart_tree_marqant_token_pack(node_word: u64) -> u64 {\n    let mut packed: u64 = 0;\n    let mut prev_depth: u64 = 0xFF;\n    let mut run_len: u64 = 0;\n    let mut slot: u32 = 0;\n    while slot < 8 {\n        let depth = (node_word >> (slot * 8)) & 0x1F;\n        let kind = (node_word >> (slot * 8 + 5)) & 0x07;\n        if depth == prev_depth && run_len < 7 {\n            run_len += 1;\n        } else {\n            prev_depth = depth;\n            run_len = 1;\n        }\n        let token = ((depth & 0x0F) << 4) | ((kind & 0x03) << 2) | (run_len & 0x03);\n        packed |= (token & 0xFF) << (slot * 8);\n        slot += 1;\n    }\n    packed\n}","inputs":[{"name":"node_word","pin_type":"u64","direction":"input"}],"output":{"name":"out","pin_type":"u64","direction":"output"},"signature_key":"(u64)->u64","c64_report":{"code_bytes":644,"ram_budget_ratio":{"num":161,"den":16384},"fits_fast_page":true,"ast_node_count":88,"zero_unsafe":true,"zero_external_crates":true,"zero_floats":true},"marine_salience":{"peak_count":34,"period_jitter":{"num":67,"den":1152},"amplitude_jitter":{"num":3149,"den":25740},"combined_jitter":{"num":148673,"den":1647360},"salience_score":{"num":7493435,"den":82368},"salience_trit":"Pos","wave_signature":{"frequencies_hz":[475,864,1425,1900,7344,2592,3024,5875],"phases_mrad":[975,0,5853,1873,3063,0,0,4712],"amplitudes":[90,9,67,58,54,9,9,31],"interference_hash":[8,139,240,196,167,103,166,50,110,152,69,160,53,233,198,55,7,126,86,98,131,55,231,104,157,166,146,80,231,252,221,92]}},"author_aye":"aye-core-8b","author_resonance_hz":432,"published_epoch_ns":9000012,"compiled_text_bytes":442,"asm_instruction_count":134,"asm_preview":"smart_tree_marqant_token_pack:\n    mov    esi, edi\n    and    esi, 31\n    mov    eax, edi\n    shl    eax, 4\n    movzx    eax, al\n    mov    edx, edi\n    shr    edx, 3\n    and    edx, 12\n    or    edx, eax\n    mov    r8, rdi\n    shr    r8, 8\n    mov    eax, r8d\n    and    eax, 31\n    xor    ecx, ecx\n    cmp    rax, rsi\n    sete    cl\n    shl    r8d, 4\n    movzx    esi, r8b\n    mov    r8d, edi\n    shr    r8d, 11\n    and    r8d, 12\n    or    r8d, esi\n    or    r8d, ecx\n    shl    r8d, 8\n    mov    r9, rdi\n    shr    r9, 16\n    mov    esi, r9d\n    and    esi, 31\n    or    rcx, 2\n    cmp    rsi, rax\n    mov    eax, 1\n    cmovne    rcx, rax\n    add    r8d, edx\n    add    r8d, 256\n    shl    r9d, 4\n    movzx    r9d, r9b\n    mov    edx, edi\n    shr    edx, 19\n    and    edx, 12\n    or    edx, r9d\n    or    edx, ecx\n    shl    edx, 16\n    or    edx, r8d\n    mov    r8, rdi\n    shr    r8, 24\n    mov    r9d, r8d\n    and    r9d, 31\n    inc    rcx\n    cmp    r9, rsi\n    cmovne    rcx, rax\n    shl    r8d, 4\n    mov    r10d, edi\n    shr    r10d, 27\n    and    r10d, 12\n    or    r10d, r8d\n    mov    esi, ecx\n    and    esi, 3\n    or    esi, r10d\n    shl    esi, 24\n    or    esi, edx\n    mov    rdx, rdi\n    shr    rdx, 32\n    mov    r8d, edx\n    and    r8d, 31\n    inc    rcx\n    cmp    r8, r9\n    cmovne    rcx, rax\n    shl    edx, 4\n    movzx    edx, dl\n    mov    r9, rdi\n    shr    r9, 35\n    and    r9d, 12\n    or    r9d, edx\n    mov    edx, ecx\n    and    edx, 3\n    or    edx, r9d\n    shl    rdx, 32\n    or    rdx, rsi\n    mov    r9, rdi\n    shr    r9, 40\n    mov    esi, r9d\n    and    esi, 31\n    inc    rcx\n    cmp    rsi, r8\n    cmovne    rcx, rax\n    shl    r9d, 4\n    movzx    r8d, r9b\n    mov    r9, rdi\n    shr    r9, 43\n    and    r9d, 12\n    or    r9d, r8d\n    mov    r8d, ecx\n    and    r8d, 3\n    or    r8d, r9d\n    shl    r8, 40\n    or    r8, rdx\n    mov    r9, rdi\n    shr    r9, 48\n    mov    edx, r9d\n    and    edx, 31\n    inc    rcx\n    cmp    rdx, rsi\n    cmovne    rcx, rax\n    shl    r9d, 4\n    movzx    eax, r9b\n    mov    r9, rdi\n    shr    r9, 51\n    and    r9d, 12\n    or    r9d, eax\n    mov    esi, ecx\n    and    esi, 3\n    or    esi, r9d\n    shl    rsi, 48\n    or    rsi, r8\n    mov    r8, rdi\n    shr    r8, 56\n    mov    r9d, r8d\n    and    r9d, 31\n    lea    eax, [rcx + 1]\n    shl    r8d, 4\n    shr    rdi, 59\n    and    edi, 12\n    or    r8d, edi\n    and    eax, 3\n    cmp    rcx, 7\n    mov    ecx, 1\n    cmovae    eax, ecx\n    cmp    r9d, edx\n    cmovne    eax, ecx\n    or    eax, r8d\n    shl    rax, 56\n    or    rax, rsi\n    or    rax, 1\n    ret","output_digest_blake3":"0e39242839630415d6e7e3619fe942f1"},"efficiency":{"capsule_id":"c46b63760991a5e2ae0d998566749757","vote_count":1,"total_historical_votes":1,"net_trit_score":0,"net_trit_balanced":"0","consensus_trit":"Zero","speed_ops_per_us":{"num":10000000,"den":79303},"ns_per_op":{"num":79303,"den":10000},"cycles_per_op":{"num":9813731,"den":400000},"c64_memory_ratio":{"num":221,"den":32768},"timing_salience":{"num":5948628983644010677,"den":63738845210877002},"efficiency_index":{"num":7091318349413884493,"den":60256500741936900}},"ns_per_op_pq":"79303/10000","speed_ops_per_us_pq":"10000000/79303","cycles_per_op_pq":"9813731/400000","marine_salience_pq":"7493435/82368","vote_trits":"0","equivalence_class":"(u64)->u64::0e3924283963"}