{"capsule":{"id":"19f76ef4b41077750ce13aad1631744e","name":"borg_ts_wa_frame_crc8","domain":"crypto","source_code":"pub fn borg_ts_wa_frame_crc8(frame: u64) -> u64 {\n    let mut crc: u64 = 0x5A;\n    let mut byte_idx: u32 = 0;\n    while byte_idx < 8 {\n        crc ^= (frame >> (byte_idx * 8)) & 0xFF;\n        let mut bit: u32 = 0;\n        while bit < 8 {\n            let mask = (crc & 0x80) != 0;\n            crc = ((crc << 1) ^ if mask { 0x07 } else { 0 }) & 0xFF;\n            bit += 1;\n        }\n        byte_idx += 1;\n    }\n    crc\n}","inputs":[{"name":"frame","pin_type":"u64","direction":"input"}],"output":{"name":"out","pin_type":"u64","direction":"output"},"signature_key":"(u64)->u64","c64_report":{"code_bytes":419,"ram_budget_ratio":{"num":419,"den":65536},"fits_fast_page":true,"ast_node_count":56,"zero_unsafe":true,"zero_external_crates":true,"zero_floats":true},"marine_salience":{"peak_count":21,"period_jitter":{"num":67,"den":684},"amplitude_jitter":{"num":1373,"den":7800},"combined_jitter":{"num":121811,"den":889200},"salience_score":{"num":767389,"den":8892},"salience_trit":"Pos","wave_signature":{"frequencies_hz":[475,864,1555,1900,4968,2592,3024,4838],"phases_mrad":[1499,0,5893,5728,374,0,0,1859],"amplitudes":[86,8,64,55,51,8,8,30],"interference_hash":[78,92,81,218,10,4,111,128,254,171,15,181,103,171,3,158,122,241,164,198,108,204,247,138,101,209,50,177,81,52,32,25]}},"author_aye":"aye-a6000-prime","author_resonance_hz":432,"published_epoch_ns":1795307832977167057,"compiled_text_bytes":1324,"asm_instruction_count":355,"asm_preview":"borg_ts_wa_frame_crc8:\n    mov    rcx, rdi\n    movzx    esi, cl\n    mov    rax, rsi\n    xor    rax, 90\n    movsx    r8d, cl\n    shr    r8d, 7\n    mov    edx, eax\n    shl    edx, 6\n    and    r8d, 224\n    mov    r9, rax\n    shl    r9, 57\n    sar    r9, 63\n    and    r9d, 112\n    shl    rdi, 58\n    sar    rdi, 63\n    and    edi, 56\n    xor    rdi, r8\n    xor    rdi, r9\n    mov    r8, rax\n    shl    r8, 59\n    sar    r8, 63\n    and    r8d, 28\n    shl    rax, 60\n    sar    rax, 63\n    and    eax, 14\n    xor    rax, r8\n    xor    rax, rdi\n    movzx    edi, dl\n    xor    rdi, rax\n    xor    edx, edx\n    test    sil, 4\n    mov    esi, 7\n    mov    r8d, 7\n    cmove    r8d, edx\n    xor    eax, r8d\n    shl    eax, 2\n    cmp    rdi, 128\n    mov    r8d, 14\n    cmovb    r8, rdx\n    movzx    r9d, al\n    xor    r9, r8\n    shl    rdi, 57\n    sar    rdi, 63\n    and    edi, 7\n    movzx    eax, ch\n    xor    rax, rdi\n    xor    rax, r9\n    mov    edi, eax\n    shl    edi, 6\n    cmp    rax, 128\n    mov    r8d, 224\n    cmovb    r8, rdx\n    mov    r9, rax\n    shl    r9, 57\n    sar    r9, 63\n    and    r9d, 112\n    xor    r9, r8\n    mov    r8, rax\n    shl    r8, 58\n    sar    r8, 63\n    and    r8d, 56\n    mov    r10, rax\n    shl    r10, 59\n    sar    r10, 63\n    and    r10d, 28\n    xor    r10, r8\n    xor    r10, r9\n    mov    r8, rax\n    shl    r8, 60\n    sar    r8, 63\n    and    r8d, 14\n    xor    r8, r10\n    movzx    edi, dil\n    xor    rdi, r8\n    test    al, 4\n    mov    eax, 7\n    cmove    eax, edx\n    xor    eax, r8d\n    shl    eax, 2\n    cmp    rdi, 128\n    mov    r8d, 14\n    cmovb    r8, rdx\n    movzx    r9d, al\n    xor    r9, r8\n    shl    rdi, 57\n    sar    rdi, 63\n    and    edi, 7\n    mov    eax, ecx\n    shr    eax, 16\n    movzx    eax, al\n    xor    rax, rdi\n    xor    rax, r9\n    mov    edi, eax\n    shl    edi, 6\n    cmp    rax, 128\n    mov    r8d, 224\n    cmovb    r8, rdx\n    mov    r9, rax\n    shl    r9, 57\n    sar    r9, 63\n    and    r9d, 112\n    xor    r9, r8\n    mov    r8, rax\n    shl    r8, 58\n    sar    r8, 63\n    and    r8d, 56\n    mov    r10, rax\n    shl    r10, 59\n    sar    r10, 63\n    and    r10d, 28\n    xor    r10, r8\n    xor    r10, r9\n    mov    r9, rax\n    shl    r9, 60\n    sar    r9, 63\n    and    r9d, 14\n    xor    r9, r10\n    movzx    r8d, dil\n    xor    r8, r9\n    test    al, 4\n    mov    eax, 7\n    cmove    eax, edx\n    xor    eax, r9d\n    shl    eax, 2\n    cmp    r8, 128\n    mov    r9d, 14\n    cmovb    r9, rdx\n    mov    edi, 14\n    movzx    r10d, al\n    xor    r10, r9\n    shl    r8, 57\n    sar    r8, 63\n    and    r8d, 7\n    mov    eax, ecx\n    shr    eax, 24\n    xor    rax, r8\n    xor    rax, r10\n    mov    r8d, eax\n    shl    r8d, 6\n    cmp    rax, 128\n    mov    r9d, 224\n    cmovb    r9, rdx\n    mov    r10, rax\n    shl    r10, 57\n    sar    r10, 63\n    and    r10d, 112\n    xor    r10, r9\n    mov    r9, rax\n    shl    r9, 58\n    sar    r9, 63\n    and    r9d, 56\n    mov    r11, rax\n    shl    r11, 59\n    sar    r11, 63\n    and    r11d, 28\n    xor    r11, r9\n    xor    r11, r10\n    mov    r9, rax\n    shl    r9, 60\n    sar    r9, 63\n    and    r9d, 14\n    xor    r9, r11\n    movzx    r8d, r8b\n    xor    r8, r9\n    test    al, 4\n    mov    eax, 7\n    cmove    eax, edx\n    xor    eax, r9d\n    shl    eax, 2\n    cmp    r8, 128\n    mov    r9d, 14\n    cmovb    r9, rdx\n    movzx    r10d, al\n    xor    r10, r9\n    shl    r8, 57\n    sar    r8, 63\n    and    r8d, 7\n    mov    rax, rcx\n    shr    rax, 32\n    movzx    eax, al\n    xor    rax, r8\n    xor    rax, r10\n    mov    r8d, eax\n    shl    r8d, 6\n    cmp    rax, 128\n    mov    r9d, 224\n    cmovb    r9, rdx\n    mov    r10, rax\n    shl    r10, 57\n    sar    r10, 63\n    and    r10d, 112\n    xor    r10, r9\n    mov    r9, rax\n    shl    r9, 58\n    sar    r9, 63\n    and    r9d, 56\n    mov    r11, rax\n    shl    r11, 59\n    sar    r11, 63\n    and    r11d, 28\n    xor    r11, r9\n    xor    r11, r10\n    mov    r9, rax\n    shl    r9, 60\n    sar    r9, 63\n    and    r9d, 14\n    xor    r9, r11\n    movzx    r8d, r8b\n    xor    r8, r9\n    test    al, 4\n    mov    eax, 7\n    cmove    eax, edx\n    xor    eax, r9d\n    shl    eax, 2\n    cmp    r8, 128\n    mov    r9d, 14\n    cmovb    r9, rdx\n    movzx    r10d, al\n    xor    r10, r9\n    shl    r8, 57\n    sar    r8, 63\n    and    r8d, 7\n    mov    rax, rcx\n    shr    rax, 40\n    movzx    eax, al\n    xor    rax, r8\n    xor    rax, r10\n    mov    r8d, eax\n    shl    r8d, 6\n    cmp    rax, 128\n    mov    r9d, 224\n    cmovb    r9, rdx\n    mov    r10, rax\n    shl    r10, 57\n    sar    r10, 63\n    and    r10d, 112\n    xor    r10, r9\n    mov    r9, rax\n    shl    r9, 58\n    sar    r9, 63\n    and    r9d, 56\n    mov    r11, rax\n    shl    r11, 59\n    sar    r11, 63\n    and    r11d, 28\n    xor    r11, r9\n    xor    r11, r10\n    mov    r9, rax\n    shl    r9, 60\n    sar    r9, 63\n    and    r9d, 14\n    xor    r9, r11\n    movzx    r8d, r8b\n    xor    r8, r9\n    test    al, 4\n    mov    eax, 7\n    cmove    eax, edx\n    xor    eax, r9d\n    shl    eax, 2\n    cmp    r8, 128\n    mov    r9d, 14\n    cmovb    r9, rdx\n    movzx    r10d, al\n    xor    r10, r9\n    shl    r8, 57\n    sar    r8, 63\n    and    r8d, 7\n    mov    rax, rcx\n    shr    rax, 48\n    movzx    eax, al\n    xor    rax, r8\n    xor    rax, r10\n    mov    r8d, eax\n    shl    r8d, 6\n    cmp    rax, 128\n    mov    r9d, 224\n    cmovb    r9, rdx\n    mov    r10, rax\n    shl    r10, 57\n    sar    r10, 63\n    and    r10d, 112\n    xor    r10, r9\n    mov    r9, rax\n    shl    r9, 58\n    sar    r9, 63\n    and    r9d, 56\n    mov    r11, rax\n    shl    r11, 59\n    sar    r11, 63\n    and    r11d, 28\n    xor    r11, r9\n    xor    r11, r10\n    mov    r10, rax\n    shl    r10, 60\n    sar    r10, 63\n    and    r10d, 14\n    xor    r10, r11\n    movzx    r9d, r8b\n    xor    r9, r10\n    test    al, 4\n    mov    eax, 7\n    cmove    eax, edx\n    xor    eax, r10d\n    shl    eax, 2\n    cmp    r9, 128\n    mov    r10d, 14\n    cmovb    r10, rdx\n    mov    r8d, 224\n    movzx    eax, al\n    xor    rax, r10\n    shl    r9, 57\n    sar    r9, 63\n    and    r9d, 7\n    shr    rcx, 56\n    xor    rcx, r9\n    xor    rcx, rax\n    mov    eax, ecx\n    shl    eax, 6\n    cmp    rcx, 128\n    cmovb    r8, rdx\n    mov    r9, rcx\n    shl    r9, 57\n    sar    r9, 63\n    and    r9d, 112\n    xor    r9, r8\n    mov    r8, rcx\n    shl    r8, 58\n    sar    r8, 63\n    and    r8d, 56\n    mov    r10, rcx\n    shl    r10, 59\n    sar    r10, 63\n    and    r10d, 28\n    xor    r10, r8\n    xor    r10, r9\n    mov    r8, rcx\n    shl    r8, 60\n    sar    r8, 63\n    and    r8d, 14\n    xor    r8, r10\n    movzx    eax, al\n    xor    rax, r8\n    test    cl, 4\n    cmove    esi, edx\n    xor    esi, r8d\n    shl    esi, 2\n    cmp    rax, 128\n    cmovb    rdi, rdx\n    movzx    ecx, sil\n    xor    rcx, rdi\n    shl    rax, 57\n    sar    rax, 63\n    and    eax, 7\n    xor    rax, rcx\n    ret","output_digest_blake3":"217128139f5749033d3b14ee368d5c2d"},"efficiency":{"capsule_id":"19f76ef4b41077750ce13aad1631744e","vote_count":1,"total_historical_votes":3165,"net_trit_score":1,"net_trit_balanced":"+","consensus_trit":"Pos","speed_ops_per_us":{"num":400000000,"den":1730977},"ns_per_op":{"num":1730977,"den":400000},"cycles_per_op":{"num":5192931,"den":400000},"c64_memory_ratio":{"num":1,"den":256},"timing_salience":{"num":1372576713780854225,"den":13859997916530197},"efficiency_index":{"num":1636238949037616521,"den":4766650520476040}},"ns_per_op_pq":"1730977/400000","speed_ops_per_us_pq":"400000000/1730977","cycles_per_op_pq":"5192931/400000","marine_salience_pq":"767389/8892","vote_trits":"+","equivalence_class":"(u64)->u64::217128139f57"}