{"capsule":{"id":"4245436235fcdca13e179e20502db009","name":"morton_encode","domain":"smart-tree","source_code":"pub fn morton_encode(x: u32, y: u32) -> u64 {\n    let mut result = 0u64;\n    for i in 0..32 {\n        result |= ((x as u64 & (1 << i)) << i) | ((y as u64 & (1 << i)) << (i + 1));\n    }\n    result\n}","inputs":[{"name":"x","pin_type":"u32","direction":"input"},{"name":"y","pin_type":"u32","direction":"input"}],"output":{"name":"out","pin_type":"u64","direction":"output"},"signature_key":"(u32,u32)->u64","c64_report":{"code_bytes":197,"ram_budget_ratio":{"num":197,"den":65536},"fits_fast_page":true,"ast_node_count":40,"zero_unsafe":true,"zero_external_crates":true,"zero_floats":true},"marine_salience":{"peak_count":12,"period_jitter":{"num":3,"den":40},"amplitude_jitter":{"num":83,"den":660},"combined_jitter":{"num":53,"den":528},"salience_score":{"num":11875,"den":132},"salience_trit":"Pos","wave_signature":{"frequencies_hz":[475,864,1425,1728,4104,2592,3024,3801],"phases_mrad":[3189,0,3285,0,4241,0,0,95],"amplitudes":[89,8,66,8,53,8,8,31],"interference_hash":[223,77,207,38,68,121,153,188,112,122,22,139,211,56,139,170,188,226,41,191,152,62,130,42,192,135,12,8,134,169,40,220]}},"author_aye":"aye::Hue+Gemini(0+1)::x86_64","author_resonance_hz":432,"published_epoch_ns":1794283663696411898,"compiled_text_bytes":966,"asm_instruction_count":262,"asm_preview":"morton_encode:\n    push    rbp\n    push    r15\n    push    r14\n    push    r13\n    push    r12\n    push    rbx\n    mov    ecx, edi\n    mov    edx, esi\n    mov    ebx, ecx\n    and    ebx, 1\n    mov    r14d, esi\n    mov    r12d, esi\n    mov    r15d, esi\n    mov    r13d, esi\n    mov    eax, esi\n    mov    r9d, esi\n    mov    r10d, esi\n    mov    r11d, esi\n    mov    r8d, esi\n    mov    ebp, esi\n    and    ebp, 1\n    lea    rbp, [rbx + 2*rbp]\n    mov    ebx, esi\n    and    r14d, 2\n    lea    r14, [4*r14]\n    add    r14, rbp\n    mov    ebp, edi\n    and    ebp, 2\n    lea    rbp, [r14 + 2*rbp]\n    mov    r14d, esi\n    and    r12d, 4\n    lea    r12, [8*r12]\n    add    r12, rbp\n    mov    ebp, edi\n    and    ebp, 4\n    lea    rbp, [r12 + 4*rbp]\n    lea    r12d, [8*rdi]\n    and    r12d, 64\n    and    r15d, 8\n    shl    r15d, 4\n    or    r15, r12\n    mov    r12d, esi\n    and    r13d, 16\n    shl    r13d, 5\n    or    r13, r15\n    mov    r15d, edi\n    and    r15d, 16\n    shl    r15d, 4\n    or    r13, r15\n    mov    r15d, esi\n    and    eax, 32\n    shl    eax, 6\n    or    rax, r13\n    mov    r13d, edi\n    and    r13d, 32\n    shl    r13d, 5\n    or    rax, r13\n    mov    r13d, esi\n    or    rax, rbp\n    mov    ebp, edi\n    and    ebp, 64\n    shl    ebp, 6\n    and    r9d, 64\n    shl    r9d, 7\n    or    r9, rbp\n    mov    ebp, esi\n    movsxd    rsi, esi\n    shl    r10d, 8\n    and    r10d, 32768\n    or    r10, r9\n    mov    r9d, edi\n    shl    r9d, 7\n    and    r9d, 16384\n    or    r10, r9\n    shl    r11d, 9\n    and    r11d, 131072\n    or    r11, r10\n    mov    r9d, edi\n    shl    r9d, 8\n    and    r9d, 65536\n    or    r11, r9\n    shl    r8d, 10\n    and    r8d, 524288\n    or    r8, r11\n    or    r8, rax\n    mov    eax, edi\n    shl    eax, 9\n    and    eax, 262144\n    shl    ebx, 11\n    and    ebx, 2097152\n    or    rbx, rax\n    mov    eax, edi\n    shl    eax, 10\n    and    eax, 1048576\n    or    rbx, rax\n    shl    r14d, 12\n    and    r14d, 8388608\n    or    r14, rbx\n    mov    eax, edi\n    shl    eax, 11\n    and    eax, 4194304\n    or    r14, rax\n    shl    r12d, 13\n    and    r12d, 33554432\n    or    r12, r14\n    mov    eax, edi\n    shl    eax, 12\n    and    eax, 16777216\n    or    r12, rax\n    shl    r15d, 14\n    and    r15d, 134217728\n    or    r15, r12\n    or    r15, r8\n    mov    eax, edi\n    shl    eax, 13\n    and    eax, 67108864\n    shl    r13d, 15\n    and    r13d, 536870912\n    or    r13, rax\n    mov    eax, edi\n    shl    eax, 14\n    and    eax, 268435456\n    or    r13, rax\n    shl    edi, 15\n    and    edi, 1073741824\n    shl    ebp, 16\n    and    ebp, -2147483648\n    or    rbp, r13\n    or    rbp, rdi\n    mov    eax, ecx\n    and    eax, 65536\n    shl    rax, 16\n    mov    edi, edx\n    and    edi, 65536\n    shl    rdi, 17\n    or    rdi, rbp\n    or    rdi, rax\n    mov    r8d, ecx\n    and    r8d, 131072\n    shl    r8, 17\n    mov    eax, edx\n    and    eax, 131072\n    shl    rax, 18\n    or    rax, rdi\n    or    rax, r8\n    or    rax, r15\n    mov    edi, ecx\n    and    edi, 262144\n    shl    rdi, 18\n    mov    r8d, edx\n    and    r8d, 262144\n    shl    r8, 19\n    or    r8, rdi\n    mov    edi, ecx\n    and    edi, 524288\n    shl    rdi, 19\n    mov    r9d, edx\n    and    r9d, 524288\n    shl    r9, 20\n    or    r9, r8\n    or    r9, rdi\n    mov    edi, ecx\n    and    edi, 1048576\n    shl    rdi, 20\n    mov    r8d, edx\n    and    r8d, 1048576\n    shl    r8, 21\n    or    r8, r9\n    or    r8, rdi\n    mov    edi, ecx\n    and    edi, 2097152\n    shl    rdi, 21\n    mov    r9d, edx\n    and    r9d, 2097152\n    shl    r9, 22\n    or    r9, r8\n    or    r9, rdi\n    mov    r8d, ecx\n    and    r8d, 4194304\n    shl    r8, 22\n    mov    edi, edx\n    and    edi, 4194304\n    shl    rdi, 23\n    or    rdi, r9\n    or    rdi, rax\n    mov    eax, ecx\n    and    eax, 8388608\n    shl    rax, 23\n    mov    r9d, edx\n    and    r9d, 8388608\n    shl    r9, 24\n    or    r9, r8\n    or    r9, rax\n    mov    eax, ecx\n    and    eax, 16777216\n    shl    rax, 24\n    mov    r8d, edx\n    and    r8d, 16777216\n    shl    r8, 25\n    or    r8, r9\n    or    r8, rax\n    mov    eax, ecx\n    and    eax, 33554432\n    shl    rax, 25\n    mov    r9d, edx\n    and    r9d, 33554432\n    shl    r9, 26\n    or    r9, r8\n    or    r9, rax\n    mov    eax, ecx\n    and    eax, 67108864\n    shl    rax, 26\n    mov    r10d, edx\n    and    r10d, 67108864\n    shl    r10, 27\n    or    r10, r9\n    or    r10, rax\n    mov    eax, ecx\n    and    eax, 134217728\n    shl    rax, 27\n    mov    r8d, edx\n    and    r8d, 134217728\n    shl    r8, 28\n    or    r8, r10\n    or    r8, rdi\n    mov    edi, ecx\n    and    edi, 268435456\n    shl    rdi, 28\n    mov    r9d, edx\n    and    r9d, 268435456\n    shl    r9, 29\n    or    r9, rax\n    or    r9, rdi\n    mov    eax, ecx\n    and    eax, 536870912\n    shl    rax, 29\n    mov    edi, edx\n    and    edi, 536870912\n    shl    rdi, 30\n    or    rdi, r9\n    or    rdi, rax\n    mov    eax, ecx\n    and    eax, 1073741824\n    shl    rax, 30\n    and    edx, 1073741824\n    shl    rdx, 31\n    or    rdx, rdi\n    or    rdx, rax\n    and    ecx, -2147483648\n    shl    rcx, 31\n    movabs    rax, -9223372036854775808\n    and    rax, rsi\n    or    rax, rdx\n    or    rax, rcx\n    or    rax, r8\n    pop    rbx\n    pop    r12\n    pop    r13\n    pop    r14\n    pop    r15\n    pop    rbp\n    ret","output_digest_blake3":"210e9086dca36a1faa0741350e1f1874"},"efficiency":{"capsule_id":"4245436235fcdca13e179e20502db009","vote_count":1,"total_historical_votes":1,"net_trit_score":1,"net_trit_balanced":"+","consensus_trit":"Pos","speed_ops_per_us":{"num":400000000,"den":8954441},"ns_per_op":{"num":8954441,"den":400000},"cycles_per_op":{"num":9401851,"den":200000},"c64_memory_ratio":{"num":483,"den":32768},"timing_salience":{"num":2888600598189982878,"den":31711647984849113},"efficiency_index":{"num":73788862522754913,"den":1208952839430316}},"ns_per_op_pq":"8954441/400000","speed_ops_per_us_pq":"400000000/8954441","cycles_per_op_pq":"9401851/200000","marine_salience_pq":"11875/132","vote_trits":"+","equivalence_class":"(u32,u32)->u64::210e9086dca3"}