{"capsule":{"id":"b1b0f9a58585ab9287dc3d2acdbc79f6","name":"wupz_xor_fold","domain":"smart-tree","source_code":"pub fn wupz_xor_fold(bytes: &[u8]) -> u64 {\n    let mut a0 = 0u64;\n    let mut a1 = 0u64;\n    let mut a2 = 0u64;\n    let mut a3 = 0u64;\n    let mut chunks64 = bytes.chunks_exact(64);\n    for c in &mut chunks64 {\n        a0 ^= u64::from_le_bytes([c[0], c[1], c[2], c[3], c[4], c[5], c[6], c[7]])\n            ^ u64::from_le_bytes([c[32], c[33], c[34], c[35], c[36], c[37], c[38], c[39]]);\n        a1 ^= u64::from_le_bytes([c[8], c[9], c[10], c[11], c[12], c[13], c[14], c[15]])\n            ^ u64::from_le_bytes([c[40], c[41], c[42], c[43], c[44], c[45], c[46], c[47]]);\n        a2 ^= u64::from_le_bytes([c[16], c[17], c[18], c[19], c[20], c[21], c[22], c[23]])\n            ^ u64::from_le_bytes([c[48], c[49], c[50], c[51], c[52], c[53], c[54], c[55]]);\n        a3 ^= u64::from_le_bytes([c[24], c[25], c[26], c[27], c[28], c[29], c[30], c[31]])\n            ^ u64::from_le_bytes([c[56], c[57], c[58], c[59], c[60], c[61], c[62], c[63]]);\n    }\n    let mut acc = (a0 ^ a1) ^ (a2 ^ a3);\n    let mut chunks8 = chunks64.remainder().chunks_exact(8);\n    for c in &mut chunks8 {\n        acc ^= u64::from_le_bytes([c[0], c[1], c[2], c[3], c[4], c[5], c[6], c[7]]);\n    }\n    let rem = chunks8.remainder();\n    if !rem.is_empty() {\n        let mut tail = [0u8; 8];\n        tail[..rem.len()].copy_from_slice(rem);\n        acc ^= u64::from_le_bytes(tail);\n    }\n    acc\n}","inputs":[{"name":"bytes","pin_type":"&[u8]","direction":"input"}],"output":{"name":"out","pin_type":"u64","direction":"output"},"signature_key":"(&[u8])->u64","c64_report":{"code_bytes":1357,"ram_budget_ratio":{"num":1357,"den":65536},"fits_fast_page":true,"ast_node_count":310,"zero_unsafe":true,"zero_external_crates":true,"zero_floats":true},"marine_salience":{"peak_count":126,"period_jitter":{"num":15,"den":496},"amplitude_jitter":{"num":1637,"den":24375},"combined_jitter":{"num":1177577,"den":24180000},"salience_score":{"num":23002423,"den":241800},"salience_trit":"Pos","wave_signature":{"frequencies_hz":[475,864,1555,1900,4968,6998,28123,6566],"phases_mrad":[463,0,5366,3657,2490,439,1240,5833],"amplitudes":[95,9,71,61,57,47,42,33],"interference_hash":[20,222,43,70,151,41,155,134,77,193,22,106,92,124,182,140,194,121,56,112,249,81,200,27,70,48,52,52,144,11,73,183]}},"author_aye":"aye::Hue+Gemini(0+1)::x86_64","author_resonance_hz":432,"published_epoch_ns":1794283728295074553,"compiled_text_bytes":442,"asm_instruction_count":105,"asm_preview":"wupz_xor_fold:\n    push    rbx\n    sub    rsp, 16\n    movabs    rcx, 9223372036854775744\n    and    rcx, rsi\n    je    .LBB7_1\n    lea    r8, [rsi - 64]\n    test    r8b, 64\n    jne    .LBB7_3\n    lea    rax, [rdi + 64]\n    lea    rdx, [rcx - 64]\n    movdqu    xmm1, xmmword ptr [rdi]\n    movdqu    xmm2, xmmword ptr [rdi + 16]\n    movdqu    xmm0, xmmword ptr [rdi + 32]\n    pxor    xmm0, xmm1\n    movdqu    xmm1, xmmword ptr [rdi + 48]\n    pxor    xmm1, xmm2\n    cmp    r8, 64\n    jae    .LBB7_6\n    jmp    .LBB7_8\n.LBB7_1:\n    xor    ebx, ebx\n    jmp    .LBB7_9\n.LBB7_3:\n    pxor    xmm0, xmm0\n    mov    rax, rdi\n    mov    rdx, rcx\n    pxor    xmm1, xmm1\n    cmp    r8, 64\n    jb    .LBB7_8\n.LBB7_6:\n    xor    r8d, r8d\n.LBB7_7:\n    movdqu    xmm2, xmmword ptr [rax + r8]\n    pxor    xmm2, xmm0\n    movdqu    xmm0, xmmword ptr [rax + r8 + 16]\n    pxor    xmm0, xmm1\n    movdqu    xmm1, xmmword ptr [rax + r8 + 32]\n    movdqu    xmm3, xmmword ptr [rax + r8 + 48]\n    movdqu    xmm4, xmmword ptr [rax + r8 + 80]\n    pxor    xmm4, xmm3\n    pxor    xmm4, xmm0\n    movdqu    xmm3, xmmword ptr [rax + r8 + 64]\n    pxor    xmm3, xmm1\n    pxor    xmm3, xmm2\n    movdqu    xmm0, xmmword ptr [rax + r8 + 96]\n    pxor    xmm0, xmm3\n    movdqu    xmm1, xmmword ptr [rax + r8 + 112]\n    pxor    xmm1, xmm4\n    sub    r8, -128\n    cmp    rdx, r8\n    jne    .LBB7_7\n.LBB7_8:\n    pxor    xmm0, xmm1\n    pshufd    xmm1, xmm0, 238\n    pxor    xmm1, xmm0\n    movq    rbx, xmm1\n.LBB7_9:\n    lea    rax, [rdi + rcx]\n    mov    edx, esi\n    and    edx, 7\n    and    esi, 56\n    je    .LBB7_17\n    lea    r10, [rsi - 8]\n    cmp    r10, 24\n    jae    .LBB7_12\n    mov    r8, rsi\n    mov    r9, rax\n    jmp    .LBB7_15\n.LBB7_12:\n    shr    r10, 3\n    inc    r10\n    mov    r11, r10\n    and    r11, -4\n    lea    r9, [8*r11]\n    mov    r8, rsi\n    sub    r8, r9\n    lea    r9, [rax + 8*r11]\n    movq    xmm1, rbx\n    add    rcx, rdi\n    add    rcx, 16\n    pxor    xmm0, xmm0\n    xor    edi, edi\n.LBB7_13:\n    movdqu    xmm2, xmmword ptr [rcx + 8*rdi - 16]\n    pxor    xmm1, xmm2\n    movdqu    xmm2, xmmword ptr [rcx + 8*rdi]\n    pxor    xmm0, xmm2\n    add    rdi, 4\n    cmp    r11, rdi\n    jne    .LBB7_13\n    pxor    xmm0, xmm1\n    pshufd    xmm1, xmm0, 238\n    pxor    xmm1, xmm0\n    movq    rbx, xmm1\n    cmp    r10, r11\n    je    .LBB7_17\n.LBB7_15:\n    xor    ecx, ecx\n.LBB7_16:\n    xor    rbx, qword ptr [r9 + rcx]\n    add    rcx, 8\n    cmp    r8, rcx\n    jne    .LBB7_16\n.LBB7_17:\n    test    rdx, rdx\n    je    .LBB7_19\n    add    rax, rsi\n    mov    qword ptr [rsp + 8], 0\n    lea    rdi, [rsp + 8]\n    mov    rsi, rax\n    call    qword ptr [rip + memcpy@GOTPCREL]\n    xor    rbx, qword ptr [rsp + 8]\n.LBB7_19:\n    mov    rax, rbx\n    add    rsp, 16\n    pop    rbx\n    ret","output_digest_blake3":"f2befb3850c8144dd09459d51a4db5c7"},"efficiency":{"capsule_id":"b1b0f9a58585ab9287dc3d2acdbc79f6","vote_count":1,"total_historical_votes":1,"net_trit_score":1,"net_trit_balanced":"+","consensus_trit":"Pos","speed_ops_per_us":{"num":400000000,"den":2644609},"ns_per_op":{"num":2644609,"den":400000},"cycles_per_op":{"num":277647,"den":20000},"c64_memory_ratio":{"num":221,"den":32768},"timing_salience":{"num":8692613992401053501,"den":98605577441565049},"efficiency_index":{"num":1295300422966637239,"den":6476372419599680}},"ns_per_op_pq":"2644609/400000","speed_ops_per_us_pq":"400000000/2644609","cycles_per_op_pq":"277647/20000","marine_salience_pq":"23002423/241800","vote_trits":"+","equivalence_class":"(&[u8])->u64::f2befb3850c8"}