# qhasm: int64 input_0 # qhasm: int64 input_1 # qhasm: int64 input_2 # qhasm: int64 input_3 # qhasm: int64 input_4 # qhasm: int64 input_5 # qhasm: stack64 input_6 # qhasm: stack64 input_7 # qhasm: int64 caller_r11 # qhasm: int64 caller_r12 # qhasm: int64 caller_r13 # qhasm: int64 caller_r14 # qhasm: int64 caller_r15 # qhasm: int64 caller_rbx # qhasm: int64 caller_rbp # qhasm: int64 b64 # qhasm: int64 synd # qhasm: int64 addr # qhasm: int64 c # qhasm: int64 c_all # qhasm: int64 row # qhasm: int64 p # qhasm: int64 e # qhasm: int64 s # qhasm: reg256 pp # qhasm: reg256 ee # qhasm: reg256 ss # qhasm: int64 buf_ptr # qhasm: stack256 buf # qhasm: enter syndrome_asm .p2align 5 .global _PQCLEAN_MCELIECE8192128F_AVX_syndrome_asm .global PQCLEAN_MCELIECE8192128F_AVX_syndrome_asm _PQCLEAN_MCELIECE8192128F_AVX_syndrome_asm: PQCLEAN_MCELIECE8192128F_AVX_syndrome_asm: mov %rsp,%r11 and $31,%r11 add $32,%r11 sub %r11,%rsp # qhasm: input_1 += 1357008 # asm 1: add $1357008,buf_ptr=int64#4 # asm 2: leaq buf_ptr=%rcx leaq 0(%rsp),%rcx # qhasm: row = 1664 # asm 1: mov $1664,>row=int64#5 # asm 2: mov $1664,>row=%r8 mov $1664,%r8 # qhasm: loop: ._loop: # qhasm: row -= 1 # asm 1: sub $1,ss=reg256#1 # asm 2: vmovupd 0(ss=%ymm0 vmovupd 0(%rsi),%ymm0 # qhasm: ee = mem256[ input_2 + 208 ] # asm 1: vmovupd 208(ee=reg256#2 # asm 2: vmovupd 208(ee=%ymm1 vmovupd 208(%rdx),%ymm1 # qhasm: ss &= ee # asm 1: vpand pp=reg256#2 # asm 2: vmovupd 32(pp=%ymm1 vmovupd 32(%rsi),%ymm1 # qhasm: ee = mem256[ input_2 + 240 ] # asm 1: vmovupd 240(ee=reg256#3 # asm 2: vmovupd 240(ee=%ymm2 vmovupd 240(%rdx),%ymm2 # qhasm: pp &= ee # asm 1: vpand pp=reg256#2 # asm 2: vmovupd 64(pp=%ymm1 vmovupd 64(%rsi),%ymm1 # qhasm: ee = mem256[ input_2 + 272 ] # asm 1: vmovupd 272(ee=reg256#3 # asm 2: vmovupd 272(ee=%ymm2 vmovupd 272(%rdx),%ymm2 # qhasm: pp &= ee # asm 1: vpand pp=reg256#2 # asm 2: vmovupd 96(pp=%ymm1 vmovupd 96(%rsi),%ymm1 # qhasm: ee = mem256[ input_2 + 304 ] # asm 1: vmovupd 304(ee=reg256#3 # asm 2: vmovupd 304(ee=%ymm2 vmovupd 304(%rdx),%ymm2 # qhasm: pp &= ee # asm 1: vpand pp=reg256#2 # asm 2: vmovupd 128(pp=%ymm1 vmovupd 128(%rsi),%ymm1 # qhasm: ee = mem256[ input_2 + 336 ] # asm 1: vmovupd 336(ee=reg256#3 # asm 2: vmovupd 336(ee=%ymm2 vmovupd 336(%rdx),%ymm2 # qhasm: pp &= ee # asm 1: vpand pp=reg256#2 # asm 2: vmovupd 160(pp=%ymm1 vmovupd 160(%rsi),%ymm1 # qhasm: ee = mem256[ input_2 + 368 ] # asm 1: vmovupd 368(ee=reg256#3 # asm 2: vmovupd 368(ee=%ymm2 vmovupd 368(%rdx),%ymm2 # qhasm: pp &= ee # asm 1: vpand pp=reg256#2 # asm 2: vmovupd 192(pp=%ymm1 vmovupd 192(%rsi),%ymm1 # qhasm: ee = mem256[ input_2 + 400 ] # asm 1: vmovupd 400(ee=reg256#3 # asm 2: vmovupd 400(ee=%ymm2 vmovupd 400(%rdx),%ymm2 # qhasm: pp &= ee # asm 1: vpand pp=reg256#2 # asm 2: vmovupd 224(pp=%ymm1 vmovupd 224(%rsi),%ymm1 # qhasm: ee = mem256[ input_2 + 432 ] # asm 1: vmovupd 432(ee=reg256#3 # asm 2: vmovupd 432(ee=%ymm2 vmovupd 432(%rdx),%ymm2 # qhasm: pp &= ee # asm 1: vpand pp=reg256#2 # asm 2: vmovupd 256(pp=%ymm1 vmovupd 256(%rsi),%ymm1 # qhasm: ee = mem256[ input_2 + 464 ] # asm 1: vmovupd 464(ee=reg256#3 # asm 2: vmovupd 464(ee=%ymm2 vmovupd 464(%rdx),%ymm2 # qhasm: pp &= ee # asm 1: vpand pp=reg256#2 # asm 2: vmovupd 288(pp=%ymm1 vmovupd 288(%rsi),%ymm1 # qhasm: ee = mem256[ input_2 + 496 ] # asm 1: vmovupd 496(ee=reg256#3 # asm 2: vmovupd 496(ee=%ymm2 vmovupd 496(%rdx),%ymm2 # qhasm: pp &= ee # asm 1: vpand pp=reg256#2 # asm 2: vmovupd 320(pp=%ymm1 vmovupd 320(%rsi),%ymm1 # qhasm: ee = mem256[ input_2 + 528 ] # asm 1: vmovupd 528(ee=reg256#3 # asm 2: vmovupd 528(ee=%ymm2 vmovupd 528(%rdx),%ymm2 # qhasm: pp &= ee # asm 1: vpand pp=reg256#2 # asm 2: vmovupd 352(pp=%ymm1 vmovupd 352(%rsi),%ymm1 # qhasm: ee = mem256[ input_2 + 560 ] # asm 1: vmovupd 560(ee=reg256#3 # asm 2: vmovupd 560(ee=%ymm2 vmovupd 560(%rdx),%ymm2 # qhasm: pp &= ee # asm 1: vpand pp=reg256#2 # asm 2: vmovupd 384(pp=%ymm1 vmovupd 384(%rsi),%ymm1 # qhasm: ee = mem256[ input_2 + 592 ] # asm 1: vmovupd 592(ee=reg256#3 # asm 2: vmovupd 592(ee=%ymm2 vmovupd 592(%rdx),%ymm2 # qhasm: pp &= ee # asm 1: vpand pp=reg256#2 # asm 2: vmovupd 416(pp=%ymm1 vmovupd 416(%rsi),%ymm1 # qhasm: ee = mem256[ input_2 + 624 ] # asm 1: vmovupd 624(ee=reg256#3 # asm 2: vmovupd 624(ee=%ymm2 vmovupd 624(%rdx),%ymm2 # qhasm: pp &= ee # asm 1: vpand pp=reg256#2 # asm 2: vmovupd 448(pp=%ymm1 vmovupd 448(%rsi),%ymm1 # qhasm: ee = mem256[ input_2 + 656 ] # asm 1: vmovupd 656(ee=reg256#3 # asm 2: vmovupd 656(ee=%ymm2 vmovupd 656(%rdx),%ymm2 # qhasm: pp &= ee # asm 1: vpand pp=reg256#2 # asm 2: vmovupd 480(pp=%ymm1 vmovupd 480(%rsi),%ymm1 # qhasm: ee = mem256[ input_2 + 688 ] # asm 1: vmovupd 688(ee=reg256#3 # asm 2: vmovupd 688(ee=%ymm2 vmovupd 688(%rdx),%ymm2 # qhasm: pp &= ee # asm 1: vpand pp=reg256#2 # asm 2: vmovupd 512(pp=%ymm1 vmovupd 512(%rsi),%ymm1 # qhasm: ee = mem256[ input_2 + 720 ] # asm 1: vmovupd 720(ee=reg256#3 # asm 2: vmovupd 720(ee=%ymm2 vmovupd 720(%rdx),%ymm2 # qhasm: pp &= ee # asm 1: vpand pp=reg256#2 # asm 2: vmovupd 544(pp=%ymm1 vmovupd 544(%rsi),%ymm1 # qhasm: ee = mem256[ input_2 + 752 ] # asm 1: vmovupd 752(ee=reg256#3 # asm 2: vmovupd 752(ee=%ymm2 vmovupd 752(%rdx),%ymm2 # qhasm: pp &= ee # asm 1: vpand pp=reg256#2 # asm 2: vmovupd 576(pp=%ymm1 vmovupd 576(%rsi),%ymm1 # qhasm: ee = mem256[ input_2 + 784 ] # asm 1: vmovupd 784(ee=reg256#3 # asm 2: vmovupd 784(ee=%ymm2 vmovupd 784(%rdx),%ymm2 # qhasm: pp &= ee # asm 1: vpand pp=reg256#2 # asm 2: vmovupd 608(pp=%ymm1 vmovupd 608(%rsi),%ymm1 # qhasm: ee = mem256[ input_2 + 816 ] # asm 1: vmovupd 816(ee=reg256#3 # asm 2: vmovupd 816(ee=%ymm2 vmovupd 816(%rdx),%ymm2 # qhasm: pp &= ee # asm 1: vpand pp=reg256#2 # asm 2: vmovupd 640(pp=%ymm1 vmovupd 640(%rsi),%ymm1 # qhasm: ee = mem256[ input_2 + 848 ] # asm 1: vmovupd 848(ee=reg256#3 # asm 2: vmovupd 848(ee=%ymm2 vmovupd 848(%rdx),%ymm2 # qhasm: pp &= ee # asm 1: vpand pp=reg256#2 # asm 2: vmovupd 672(pp=%ymm1 vmovupd 672(%rsi),%ymm1 # qhasm: ee = mem256[ input_2 + 880 ] # asm 1: vmovupd 880(ee=reg256#3 # asm 2: vmovupd 880(ee=%ymm2 vmovupd 880(%rdx),%ymm2 # qhasm: pp &= ee # asm 1: vpand pp=reg256#2 # asm 2: vmovupd 704(pp=%ymm1 vmovupd 704(%rsi),%ymm1 # qhasm: ee = mem256[ input_2 + 912 ] # asm 1: vmovupd 912(ee=reg256#3 # asm 2: vmovupd 912(ee=%ymm2 vmovupd 912(%rdx),%ymm2 # qhasm: pp &= ee # asm 1: vpand pp=reg256#2 # asm 2: vmovupd 736(pp=%ymm1 vmovupd 736(%rsi),%ymm1 # qhasm: ee = mem256[ input_2 + 944 ] # asm 1: vmovupd 944(ee=reg256#3 # asm 2: vmovupd 944(ee=%ymm2 vmovupd 944(%rdx),%ymm2 # qhasm: pp &= ee # asm 1: vpand pp=reg256#2 # asm 2: vmovupd 768(pp=%ymm1 vmovupd 768(%rsi),%ymm1 # qhasm: ee = mem256[ input_2 + 976 ] # asm 1: vmovupd 976(ee=reg256#3 # asm 2: vmovupd 976(ee=%ymm2 vmovupd 976(%rdx),%ymm2 # qhasm: pp &= ee # asm 1: vpand buf=stack256#1 # asm 2: vmovapd buf=0(%rsp) vmovapd %ymm0,0(%rsp) # qhasm: s = mem64[input_1 + 800] # asm 1: movq 800(s=int64#6 # asm 2: movq 800(s=%r9 movq 800(%rsi),%r9 # qhasm: e = mem64[input_2 + 1008] # asm 1: movq 1008(e=int64#7 # asm 2: movq 1008(e=%rax movq 1008(%rdx),%rax # qhasm: s &= e # asm 1: and p=int64#7 # asm 2: movq 808(p=%rax movq 808(%rsi),%rax # qhasm: e = mem64[input_2 + 1016] # asm 1: movq 1016(e=int64#8 # asm 2: movq 1016(e=%r10 movq 1016(%rdx),%r10 # qhasm: p &= e # asm 1: and c_all=int64#6 # asm 2: popcnt c_all=%r9 popcnt %r9, %r9 # qhasm: b64 = mem64[ buf_ptr + 0 ] # asm 1: movq 0(b64=int64#7 # asm 2: movq 0(b64=%rax movq 0(%rcx),%rax # qhasm: c = count(b64) # asm 1: popcnt c=int64#7 # asm 2: popcnt c=%rax popcnt %rax, %rax # qhasm: c_all ^= c # asm 1: xor b64=int64#7 # asm 2: movq 8(b64=%rax movq 8(%rcx),%rax # qhasm: c = count(b64) # asm 1: popcnt c=int64#7 # asm 2: popcnt c=%rax popcnt %rax, %rax # qhasm: c_all ^= c # asm 1: xor b64=int64#7 # asm 2: movq 16(b64=%rax movq 16(%rcx),%rax # qhasm: c = count(b64) # asm 1: popcnt c=int64#7 # asm 2: popcnt c=%rax popcnt %rax, %rax # qhasm: c_all ^= c # asm 1: xor b64=int64#7 # asm 2: movq 24(b64=%rax movq 24(%rcx),%rax # qhasm: c = count(b64) # asm 1: popcnt c=int64#7 # asm 2: popcnt c=%rax popcnt %rax, %rax # qhasm: c_all ^= c # asm 1: xor addr=int64#7 # asm 2: mov addr=%rax mov %r8,%rax # qhasm: (uint64) addr >>= 3 # asm 1: shr $3,synd=int64#8 # asm 2: movzbq 0(synd=%r10 movzbq 0(%rax),%r10 # qhasm: synd <<= 1 # asm 1: shl $1,ss=reg256#1 # asm 2: vmovupd 0(ss=%ymm0 vmovupd 0(%rdi),%ymm0 # qhasm: ee = mem256[ input_2 + 0 ] # asm 1: vmovupd 0(ee=reg256#2 # asm 2: vmovupd 0(ee=%ymm1 vmovupd 0(%rdx),%ymm1 # qhasm: ss ^= ee # asm 1: vpxor ss=reg256#1 # asm 2: vmovupd 32(ss=%ymm0 vmovupd 32(%rdi),%ymm0 # qhasm: ee = mem256[ input_2 + 32 ] # asm 1: vmovupd 32(ee=reg256#2 # asm 2: vmovupd 32(ee=%ymm1 vmovupd 32(%rdx),%ymm1 # qhasm: ss ^= ee # asm 1: vpxor ss=reg256#1 # asm 2: vmovupd 64(ss=%ymm0 vmovupd 64(%rdi),%ymm0 # qhasm: ee = mem256[ input_2 + 64 ] # asm 1: vmovupd 64(ee=reg256#2 # asm 2: vmovupd 64(ee=%ymm1 vmovupd 64(%rdx),%ymm1 # qhasm: ss ^= ee # asm 1: vpxor ss=reg256#1 # asm 2: vmovupd 96(ss=%ymm0 vmovupd 96(%rdi),%ymm0 # qhasm: ee = mem256[ input_2 + 96 ] # asm 1: vmovupd 96(ee=reg256#2 # asm 2: vmovupd 96(ee=%ymm1 vmovupd 96(%rdx),%ymm1 # qhasm: ss ^= ee # asm 1: vpxor ss=reg256#1 # asm 2: vmovupd 128(ss=%ymm0 vmovupd 128(%rdi),%ymm0 # qhasm: ee = mem256[ input_2 + 128 ] # asm 1: vmovupd 128(ee=reg256#2 # asm 2: vmovupd 128(ee=%ymm1 vmovupd 128(%rdx),%ymm1 # qhasm: ss ^= ee # asm 1: vpxor ss=reg256#1 # asm 2: vmovupd 160(ss=%ymm0 vmovupd 160(%rdi),%ymm0 # qhasm: ee = mem256[ input_2 + 160 ] # asm 1: vmovupd 160(ee=reg256#2 # asm 2: vmovupd 160(ee=%ymm1 vmovupd 160(%rdx),%ymm1 # qhasm: ss ^= ee # asm 1: vpxor s=int64#2 # asm 2: movq 192(s=%rsi movq 192(%rdi),%rsi # qhasm: e = mem64[ input_2 + 192 ] # asm 1: movq 192(e=int64#4 # asm 2: movq 192(e=%rcx movq 192(%rdx),%rcx # qhasm: s ^= e # asm 1: xor s=int64#2 # asm 2: movq 200(s=%rsi movq 200(%rdi),%rsi # qhasm: e = mem64[ input_2 + 200 ] # asm 1: movq 200(e=int64#3 # asm 2: movq 200(e=%rdx movq 200(%rdx),%rdx # qhasm: s ^= e # asm 1: xor