// linker define ge25519_dbl_p1p1 // linker use REDMASK51 // linker use 2P0 // linker use 2P1234 // linker use 4P0 // linker use 4P1234 # qhasm: int64 rp # qhasm: int64 pp # qhasm: input rp # qhasm: input pp # qhasm: int64 a0 # qhasm: int64 a1 # qhasm: int64 a2 # qhasm: int64 a3 # qhasm: int64 a4 # qhasm: stack64 a0_stack # qhasm: stack64 a1_stack # qhasm: stack64 a2_stack # qhasm: stack64 a3_stack # qhasm: stack64 a4_stack # qhasm: int64 b0 # qhasm: int64 b1 # qhasm: int64 b2 # qhasm: int64 b3 # qhasm: int64 b4 # qhasm: stack64 b0_stack # qhasm: stack64 b1_stack # qhasm: stack64 b2_stack # qhasm: stack64 b3_stack # qhasm: stack64 b4_stack # qhasm: int64 c0 # qhasm: int64 c1 # qhasm: int64 c2 # qhasm: int64 c3 # qhasm: int64 c4 # qhasm: stack64 c0_stack # qhasm: stack64 c1_stack # qhasm: stack64 c2_stack # qhasm: stack64 c3_stack # qhasm: stack64 c4_stack # qhasm: int64 d0 # qhasm: int64 d1 # qhasm: int64 d2 # qhasm: int64 d3 # qhasm: int64 d4 # qhasm: stack64 d0_stack # qhasm: stack64 d1_stack # qhasm: stack64 d2_stack # qhasm: stack64 d3_stack # qhasm: stack64 d4_stack # qhasm: int64 e0 # qhasm: int64 e1 # qhasm: int64 e2 # qhasm: int64 e3 # qhasm: int64 e4 # qhasm: stack64 e0_stack # qhasm: stack64 e1_stack # qhasm: stack64 e2_stack # qhasm: stack64 e3_stack # qhasm: stack64 e4_stack # qhasm: int64 rx0 # qhasm: int64 rx1 # qhasm: int64 rx2 # qhasm: int64 rx3 # qhasm: int64 rx4 # qhasm: stack64 rx0_stack # qhasm: stack64 rx1_stack # qhasm: stack64 rx2_stack # qhasm: stack64 rx3_stack # qhasm: stack64 rx4_stack # qhasm: int64 ry0 # qhasm: int64 ry1 # qhasm: int64 ry2 # qhasm: int64 ry3 # qhasm: int64 ry4 # qhasm: int64 rz0 # qhasm: int64 rz1 # qhasm: int64 rz2 # qhasm: int64 rz3 # qhasm: int64 rz4 # qhasm: int64 rt0 # qhasm: int64 rt1 # qhasm: int64 rt2 # qhasm: int64 rt3 # qhasm: int64 rt4 # qhasm: int64 mulr01 # qhasm: int64 mulr11 # qhasm: int64 mulr21 # qhasm: int64 mulr31 # qhasm: int64 mulr41 # qhasm: int64 mulrax # qhasm: int64 mulrdx # qhasm: int64 mult # qhasm: int64 mulredmask # qhasm: stack64 mulx219_stack # qhasm: stack64 mulx319_stack # qhasm: stack64 mulx419_stack # qhasm: int64 squarer01 # qhasm: int64 squarer11 # qhasm: int64 squarer21 # qhasm: int64 squarer31 # qhasm: int64 squarer41 # qhasm: int64 squarerax # qhasm: int64 squarerdx # qhasm: int64 squaret # qhasm: int64 squareredmask # qhasm: int64 caller1 # qhasm: int64 caller2 # qhasm: int64 caller3 # qhasm: int64 caller4 # qhasm: int64 caller5 # qhasm: int64 caller6 # qhasm: int64 caller7 # qhasm: caller caller1 # qhasm: caller caller2 # qhasm: caller caller3 # qhasm: caller caller4 # qhasm: caller caller5 # qhasm: caller caller6 # qhasm: caller caller7 # qhasm: stack64 caller1_stack # qhasm: stack64 caller2_stack # qhasm: stack64 caller3_stack # qhasm: stack64 caller4_stack # qhasm: stack64 caller5_stack # qhasm: stack64 caller6_stack # qhasm: stack64 caller7_stack # qhasm: enter CRYPTO_SHARED_NAMESPACE(ge25519_dbl_p1p1) .text .p2align 5 .globl _CRYPTO_SHARED_NAMESPACE(ge25519_dbl_p1p1) .globl CRYPTO_SHARED_NAMESPACE(ge25519_dbl_p1p1) _CRYPTO_SHARED_NAMESPACE(ge25519_dbl_p1p1): CRYPTO_SHARED_NAMESPACE(ge25519_dbl_p1p1): mov %rsp,%r11 and $31,%r11 add $224,%r11 sub %r11,%rsp # qhasm: caller1_stack = caller1 # asm 1: movq caller1_stack=stack64#1 # asm 2: movq caller1_stack=0(%rsp) movq %r11,0(%rsp) # qhasm: caller2_stack = caller2 # asm 1: movq caller2_stack=stack64#2 # asm 2: movq caller2_stack=8(%rsp) movq %r12,8(%rsp) # qhasm: caller3_stack = caller3 # asm 1: movq caller3_stack=stack64#3 # asm 2: movq caller3_stack=16(%rsp) movq %r13,16(%rsp) # qhasm: caller4_stack = caller4 # asm 1: movq caller4_stack=stack64#4 # asm 2: movq caller4_stack=24(%rsp) movq %r14,24(%rsp) # qhasm: caller5_stack = caller5 # asm 1: movq caller5_stack=stack64#5 # asm 2: movq caller5_stack=32(%rsp) movq %r15,32(%rsp) # qhasm: caller6_stack = caller6 # asm 1: movq caller6_stack=stack64#6 # asm 2: movq caller6_stack=40(%rsp) movq %rbx,40(%rsp) # qhasm: caller7_stack = caller7 # asm 1: movq caller7_stack=stack64#7 # asm 2: movq caller7_stack=48(%rsp) movq %rbp,48(%rsp) # qhasm: squarerax = *(uint64 *)(pp + 0) # asm 1: movq 0(squarerax=int64#7 # asm 2: movq 0(squarerax=%rax movq 0(%rsi),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 0) # asm 1: mulq 0(a0=int64#4 # asm 2: mov a0=%rcx mov %rax,%rcx # qhasm: squarer01 = squarerdx # asm 1: mov squarer01=int64#5 # asm 2: mov squarer01=%r8 mov %rdx,%r8 # qhasm: squarerax = *(uint64 *)(pp + 0) # asm 1: movq 0(squarerax=int64#7 # asm 2: movq 0(squarerax=%rax movq 0(%rsi),%rax # qhasm: squarerax <<= 1 # asm 1: shl $1,a1=int64#6 # asm 2: mov a1=%r9 mov %rax,%r9 # qhasm: squarer11 = squarerdx # asm 1: mov squarer11=int64#8 # asm 2: mov squarer11=%r10 mov %rdx,%r10 # qhasm: squarerax = *(uint64 *)(pp + 0) # asm 1: movq 0(squarerax=int64#7 # asm 2: movq 0(squarerax=%rax movq 0(%rsi),%rax # qhasm: squarerax <<= 1 # asm 1: shl $1,a2=int64#9 # asm 2: mov a2=%r11 mov %rax,%r11 # qhasm: squarer21 = squarerdx # asm 1: mov squarer21=int64#10 # asm 2: mov squarer21=%r12 mov %rdx,%r12 # qhasm: squarerax = *(uint64 *)(pp + 0) # asm 1: movq 0(squarerax=int64#7 # asm 2: movq 0(squarerax=%rax movq 0(%rsi),%rax # qhasm: squarerax <<= 1 # asm 1: shl $1,a3=int64#11 # asm 2: mov a3=%r13 mov %rax,%r13 # qhasm: squarer31 = squarerdx # asm 1: mov squarer31=int64#12 # asm 2: mov squarer31=%r14 mov %rdx,%r14 # qhasm: squarerax = *(uint64 *)(pp + 0) # asm 1: movq 0(squarerax=int64#7 # asm 2: movq 0(squarerax=%rax movq 0(%rsi),%rax # qhasm: squarerax <<= 1 # asm 1: shl $1,a4=int64#13 # asm 2: mov a4=%r15 mov %rax,%r15 # qhasm: squarer41 = squarerdx # asm 1: mov squarer41=int64#14 # asm 2: mov squarer41=%rbx mov %rdx,%rbx # qhasm: squarerax = *(uint64 *)(pp + 8) # asm 1: movq 8(squarerax=int64#7 # asm 2: movq 8(squarerax=%rax movq 8(%rsi),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 8) # asm 1: mulq 8(squarerax=int64#7 # asm 2: movq 8(squarerax=%rax movq 8(%rsi),%rax # qhasm: squarerax <<= 1 # asm 1: shl $1,squarerax=int64#7 # asm 2: movq 8(squarerax=%rax movq 8(%rsi),%rax # qhasm: squarerax <<= 1 # asm 1: shl $1,squarerax=int64#3 # asm 2: movq 8(squarerax=%rdx movq 8(%rsi),%rdx # qhasm: squarerax *= 38 # asm 1: imulq $38,squarerax=int64#7 # asm 2: imulq $38,squarerax=%rax imulq $38,%rdx,%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 32) # asm 1: mulq 32(squarerax=int64#7 # asm 2: movq 16(squarerax=%rax movq 16(%rsi),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 16) # asm 1: mulq 16(squarerax=int64#3 # asm 2: movq 16(squarerax=%rdx movq 16(%rsi),%rdx # qhasm: squarerax *= 38 # asm 1: imulq $38,squarerax=int64#7 # asm 2: imulq $38,squarerax=%rax imulq $38,%rdx,%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 24) # asm 1: mulq 24(squarerax=int64#3 # asm 2: movq 16(squarerax=%rdx movq 16(%rsi),%rdx # qhasm: squarerax *= 38 # asm 1: imulq $38,squarerax=int64#7 # asm 2: imulq $38,squarerax=%rax imulq $38,%rdx,%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 32) # asm 1: mulq 32(squarerax=int64#3 # asm 2: movq 24(squarerax=%rdx movq 24(%rsi),%rdx # qhasm: squarerax *= 19 # asm 1: imulq $19,squarerax=int64#7 # asm 2: imulq $19,squarerax=%rax imulq $19,%rdx,%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 24) # asm 1: mulq 24(squarerax=int64#3 # asm 2: movq 24(squarerax=%rdx movq 24(%rsi),%rdx # qhasm: squarerax *= 38 # asm 1: imulq $38,squarerax=int64#7 # asm 2: imulq $38,squarerax=%rax imulq $38,%rdx,%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 32) # asm 1: mulq 32(squarerax=int64#3 # asm 2: movq 32(squarerax=%rdx movq 32(%rsi),%rdx # qhasm: squarerax *= 19 # asm 1: imulq $19,squarerax=int64#7 # asm 2: imulq $19,squarerax=%rax imulq $19,%rdx,%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 32) # asm 1: mulq 32(squareredmask=int64#3 # asm 2: movq CRYPTO_SHARED_NAMESPACE(REDMASK51),>squareredmask=%rdx movq CRYPTO_SHARED_NAMESPACE(REDMASK51)(%rip),%rdx # qhasm: squarer01 = (squarer01.a0) << 13 # asm 1: shld $13,squarer41=int64#5 # asm 2: imulq $19,squarer41=%r8 imulq $19,%rbx,%r8 # qhasm: a0 += squarer41 # asm 1: add squaret=int64#5 # asm 2: mov squaret=%r8 mov %rcx,%r8 # qhasm: (uint64) squaret >>= 51 # asm 1: shr $51,a1=int64#6 # asm 2: mov a1=%r9 mov %r8,%r9 # qhasm: (uint64) squaret >>= 51 # asm 1: shr $51,a2=int64#7 # asm 2: mov a2=%rax mov %r8,%rax # qhasm: (uint64) squaret >>= 51 # asm 1: shr $51,a3=int64#8 # asm 2: mov a3=%r10 mov %r8,%r10 # qhasm: (uint64) squaret >>= 51 # asm 1: shr $51,a4=int64#9 # asm 2: mov a4=%r11 mov %r8,%r11 # qhasm: (uint64) squaret >>= 51 # asm 1: shr $51,squaret=int64#5 # asm 2: imulq $19,squaret=%r8 imulq $19,%r8,%r8 # qhasm: a0 += squaret # asm 1: add a0_stack=stack64#8 # asm 2: movq a0_stack=56(%rsp) movq %rcx,56(%rsp) # qhasm: a1_stack = a1 # asm 1: movq a1_stack=stack64#9 # asm 2: movq a1_stack=64(%rsp) movq %r9,64(%rsp) # qhasm: a2_stack = a2 # asm 1: movq a2_stack=stack64#10 # asm 2: movq a2_stack=72(%rsp) movq %rax,72(%rsp) # qhasm: a3_stack = a3 # asm 1: movq a3_stack=stack64#11 # asm 2: movq a3_stack=80(%rsp) movq %r10,80(%rsp) # qhasm: a4_stack = a4 # asm 1: movq a4_stack=stack64#12 # asm 2: movq a4_stack=88(%rsp) movq %r11,88(%rsp) # qhasm: squarerax = *(uint64 *)(pp + 40) # asm 1: movq 40(squarerax=int64#7 # asm 2: movq 40(squarerax=%rax movq 40(%rsi),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 40) # asm 1: mulq 40(b0=int64#4 # asm 2: mov b0=%rcx mov %rax,%rcx # qhasm: squarer01 = squarerdx # asm 1: mov squarer01=int64#5 # asm 2: mov squarer01=%r8 mov %rdx,%r8 # qhasm: squarerax = *(uint64 *)(pp + 40) # asm 1: movq 40(squarerax=int64#7 # asm 2: movq 40(squarerax=%rax movq 40(%rsi),%rax # qhasm: squarerax <<= 1 # asm 1: shl $1,b1=int64#6 # asm 2: mov b1=%r9 mov %rax,%r9 # qhasm: squarer11 = squarerdx # asm 1: mov squarer11=int64#8 # asm 2: mov squarer11=%r10 mov %rdx,%r10 # qhasm: squarerax = *(uint64 *)(pp + 40) # asm 1: movq 40(squarerax=int64#7 # asm 2: movq 40(squarerax=%rax movq 40(%rsi),%rax # qhasm: squarerax <<= 1 # asm 1: shl $1,b2=int64#9 # asm 2: mov b2=%r11 mov %rax,%r11 # qhasm: squarer21 = squarerdx # asm 1: mov squarer21=int64#10 # asm 2: mov squarer21=%r12 mov %rdx,%r12 # qhasm: squarerax = *(uint64 *)(pp + 40) # asm 1: movq 40(squarerax=int64#7 # asm 2: movq 40(squarerax=%rax movq 40(%rsi),%rax # qhasm: squarerax <<= 1 # asm 1: shl $1,b3=int64#11 # asm 2: mov b3=%r13 mov %rax,%r13 # qhasm: squarer31 = squarerdx # asm 1: mov squarer31=int64#12 # asm 2: mov squarer31=%r14 mov %rdx,%r14 # qhasm: squarerax = *(uint64 *)(pp + 40) # asm 1: movq 40(squarerax=int64#7 # asm 2: movq 40(squarerax=%rax movq 40(%rsi),%rax # qhasm: squarerax <<= 1 # asm 1: shl $1,b4=int64#13 # asm 2: mov b4=%r15 mov %rax,%r15 # qhasm: squarer41 = squarerdx # asm 1: mov squarer41=int64#14 # asm 2: mov squarer41=%rbx mov %rdx,%rbx # qhasm: squarerax = *(uint64 *)(pp + 48) # asm 1: movq 48(squarerax=int64#7 # asm 2: movq 48(squarerax=%rax movq 48(%rsi),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 48) # asm 1: mulq 48(squarerax=int64#7 # asm 2: movq 48(squarerax=%rax movq 48(%rsi),%rax # qhasm: squarerax <<= 1 # asm 1: shl $1,squarerax=int64#7 # asm 2: movq 48(squarerax=%rax movq 48(%rsi),%rax # qhasm: squarerax <<= 1 # asm 1: shl $1,squarerax=int64#3 # asm 2: movq 48(squarerax=%rdx movq 48(%rsi),%rdx # qhasm: squarerax *= 38 # asm 1: imulq $38,squarerax=int64#7 # asm 2: imulq $38,squarerax=%rax imulq $38,%rdx,%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 72) # asm 1: mulq 72(squarerax=int64#7 # asm 2: movq 56(squarerax=%rax movq 56(%rsi),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 56) # asm 1: mulq 56(squarerax=int64#3 # asm 2: movq 56(squarerax=%rdx movq 56(%rsi),%rdx # qhasm: squarerax *= 38 # asm 1: imulq $38,squarerax=int64#7 # asm 2: imulq $38,squarerax=%rax imulq $38,%rdx,%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 64) # asm 1: mulq 64(squarerax=int64#3 # asm 2: movq 56(squarerax=%rdx movq 56(%rsi),%rdx # qhasm: squarerax *= 38 # asm 1: imulq $38,squarerax=int64#7 # asm 2: imulq $38,squarerax=%rax imulq $38,%rdx,%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 72) # asm 1: mulq 72(squarerax=int64#3 # asm 2: movq 64(squarerax=%rdx movq 64(%rsi),%rdx # qhasm: squarerax *= 19 # asm 1: imulq $19,squarerax=int64#7 # asm 2: imulq $19,squarerax=%rax imulq $19,%rdx,%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 64) # asm 1: mulq 64(squarerax=int64#3 # asm 2: movq 64(squarerax=%rdx movq 64(%rsi),%rdx # qhasm: squarerax *= 38 # asm 1: imulq $38,squarerax=int64#7 # asm 2: imulq $38,squarerax=%rax imulq $38,%rdx,%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 72) # asm 1: mulq 72(squarerax=int64#3 # asm 2: movq 72(squarerax=%rdx movq 72(%rsi),%rdx # qhasm: squarerax *= 19 # asm 1: imulq $19,squarerax=int64#7 # asm 2: imulq $19,squarerax=%rax imulq $19,%rdx,%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 72) # asm 1: mulq 72(squareredmask=int64#3 # asm 2: movq CRYPTO_SHARED_NAMESPACE(REDMASK51),>squareredmask=%rdx movq CRYPTO_SHARED_NAMESPACE(REDMASK51)(%rip),%rdx # qhasm: squarer01 = (squarer01.b0) << 13 # asm 1: shld $13,squarer41=int64#5 # asm 2: imulq $19,squarer41=%r8 imulq $19,%rbx,%r8 # qhasm: b0 += squarer41 # asm 1: add squaret=int64#5 # asm 2: mov squaret=%r8 mov %rcx,%r8 # qhasm: (uint64) squaret >>= 51 # asm 1: shr $51,b1=int64#6 # asm 2: mov b1=%r9 mov %r8,%r9 # qhasm: (uint64) squaret >>= 51 # asm 1: shr $51,b2=int64#7 # asm 2: mov b2=%rax mov %r8,%rax # qhasm: (uint64) squaret >>= 51 # asm 1: shr $51,b3=int64#8 # asm 2: mov b3=%r10 mov %r8,%r10 # qhasm: (uint64) squaret >>= 51 # asm 1: shr $51,b4=int64#9 # asm 2: mov b4=%r11 mov %r8,%r11 # qhasm: (uint64) squaret >>= 51 # asm 1: shr $51,squaret=int64#5 # asm 2: imulq $19,squaret=%r8 imulq $19,%r8,%r8 # qhasm: b0 += squaret # asm 1: add b0_stack=stack64#13 # asm 2: movq b0_stack=96(%rsp) movq %rcx,96(%rsp) # qhasm: b1_stack = b1 # asm 1: movq b1_stack=stack64#14 # asm 2: movq b1_stack=104(%rsp) movq %r9,104(%rsp) # qhasm: b2_stack = b2 # asm 1: movq b2_stack=stack64#15 # asm 2: movq b2_stack=112(%rsp) movq %rax,112(%rsp) # qhasm: b3_stack = b3 # asm 1: movq b3_stack=stack64#16 # asm 2: movq b3_stack=120(%rsp) movq %r10,120(%rsp) # qhasm: b4_stack = b4 # asm 1: movq b4_stack=stack64#17 # asm 2: movq b4_stack=128(%rsp) movq %r11,128(%rsp) # qhasm: squarerax = *(uint64 *)(pp + 80) # asm 1: movq 80(squarerax=int64#7 # asm 2: movq 80(squarerax=%rax movq 80(%rsi),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 80) # asm 1: mulq 80(c0=int64#4 # asm 2: mov c0=%rcx mov %rax,%rcx # qhasm: squarer01 = squarerdx # asm 1: mov squarer01=int64#5 # asm 2: mov squarer01=%r8 mov %rdx,%r8 # qhasm: squarerax = *(uint64 *)(pp + 80) # asm 1: movq 80(squarerax=int64#7 # asm 2: movq 80(squarerax=%rax movq 80(%rsi),%rax # qhasm: squarerax <<= 1 # asm 1: shl $1,c1=int64#6 # asm 2: mov c1=%r9 mov %rax,%r9 # qhasm: squarer11 = squarerdx # asm 1: mov squarer11=int64#8 # asm 2: mov squarer11=%r10 mov %rdx,%r10 # qhasm: squarerax = *(uint64 *)(pp + 80) # asm 1: movq 80(squarerax=int64#7 # asm 2: movq 80(squarerax=%rax movq 80(%rsi),%rax # qhasm: squarerax <<= 1 # asm 1: shl $1,c2=int64#9 # asm 2: mov c2=%r11 mov %rax,%r11 # qhasm: squarer21 = squarerdx # asm 1: mov squarer21=int64#10 # asm 2: mov squarer21=%r12 mov %rdx,%r12 # qhasm: squarerax = *(uint64 *)(pp + 80) # asm 1: movq 80(squarerax=int64#7 # asm 2: movq 80(squarerax=%rax movq 80(%rsi),%rax # qhasm: squarerax <<= 1 # asm 1: shl $1,c3=int64#11 # asm 2: mov c3=%r13 mov %rax,%r13 # qhasm: squarer31 = squarerdx # asm 1: mov squarer31=int64#12 # asm 2: mov squarer31=%r14 mov %rdx,%r14 # qhasm: squarerax = *(uint64 *)(pp + 80) # asm 1: movq 80(squarerax=int64#7 # asm 2: movq 80(squarerax=%rax movq 80(%rsi),%rax # qhasm: squarerax <<= 1 # asm 1: shl $1,c4=int64#13 # asm 2: mov c4=%r15 mov %rax,%r15 # qhasm: squarer41 = squarerdx # asm 1: mov squarer41=int64#14 # asm 2: mov squarer41=%rbx mov %rdx,%rbx # qhasm: squarerax = *(uint64 *)(pp + 88) # asm 1: movq 88(squarerax=int64#7 # asm 2: movq 88(squarerax=%rax movq 88(%rsi),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 88) # asm 1: mulq 88(squarerax=int64#7 # asm 2: movq 88(squarerax=%rax movq 88(%rsi),%rax # qhasm: squarerax <<= 1 # asm 1: shl $1,squarerax=int64#7 # asm 2: movq 88(squarerax=%rax movq 88(%rsi),%rax # qhasm: squarerax <<= 1 # asm 1: shl $1,squarerax=int64#3 # asm 2: movq 88(squarerax=%rdx movq 88(%rsi),%rdx # qhasm: squarerax *= 38 # asm 1: imulq $38,squarerax=int64#7 # asm 2: imulq $38,squarerax=%rax imulq $38,%rdx,%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 112) # asm 1: mulq 112(squarerax=int64#7 # asm 2: movq 96(squarerax=%rax movq 96(%rsi),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 96) # asm 1: mulq 96(squarerax=int64#3 # asm 2: movq 96(squarerax=%rdx movq 96(%rsi),%rdx # qhasm: squarerax *= 38 # asm 1: imulq $38,squarerax=int64#7 # asm 2: imulq $38,squarerax=%rax imulq $38,%rdx,%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 104) # asm 1: mulq 104(squarerax=int64#3 # asm 2: movq 96(squarerax=%rdx movq 96(%rsi),%rdx # qhasm: squarerax *= 38 # asm 1: imulq $38,squarerax=int64#7 # asm 2: imulq $38,squarerax=%rax imulq $38,%rdx,%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 112) # asm 1: mulq 112(squarerax=int64#3 # asm 2: movq 104(squarerax=%rdx movq 104(%rsi),%rdx # qhasm: squarerax *= 19 # asm 1: imulq $19,squarerax=int64#7 # asm 2: imulq $19,squarerax=%rax imulq $19,%rdx,%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 104) # asm 1: mulq 104(squarerax=int64#3 # asm 2: movq 104(squarerax=%rdx movq 104(%rsi),%rdx # qhasm: squarerax *= 38 # asm 1: imulq $38,squarerax=int64#7 # asm 2: imulq $38,squarerax=%rax imulq $38,%rdx,%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 112) # asm 1: mulq 112(squarerax=int64#3 # asm 2: movq 112(squarerax=%rdx movq 112(%rsi),%rdx # qhasm: squarerax *= 19 # asm 1: imulq $19,squarerax=int64#7 # asm 2: imulq $19,squarerax=%rax imulq $19,%rdx,%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 112) # asm 1: mulq 112(squareredmask=int64#3 # asm 2: movq CRYPTO_SHARED_NAMESPACE(REDMASK51),>squareredmask=%rdx movq CRYPTO_SHARED_NAMESPACE(REDMASK51)(%rip),%rdx # qhasm: squarer01 = (squarer01.c0) << 13 # asm 1: shld $13,squarer41=int64#5 # asm 2: imulq $19,squarer41=%r8 imulq $19,%rbx,%r8 # qhasm: c0 += squarer41 # asm 1: add squaret=int64#5 # asm 2: mov squaret=%r8 mov %rcx,%r8 # qhasm: (uint64) squaret >>= 51 # asm 1: shr $51,c1=int64#6 # asm 2: mov c1=%r9 mov %r8,%r9 # qhasm: (uint64) squaret >>= 51 # asm 1: shr $51,c2=int64#7 # asm 2: mov c2=%rax mov %r8,%rax # qhasm: (uint64) squaret >>= 51 # asm 1: shr $51,c3=int64#8 # asm 2: mov c3=%r10 mov %r8,%r10 # qhasm: (uint64) squaret >>= 51 # asm 1: shr $51,c4=int64#9 # asm 2: mov c4=%r11 mov %r8,%r11 # qhasm: (uint64) squaret >>= 51 # asm 1: shr $51,squaret=int64#5 # asm 2: imulq $19,squaret=%r8 imulq $19,%r8,%r8 # qhasm: c0 += squaret # asm 1: add c0_stack=stack64#18 # asm 2: movq c0_stack=136(%rsp) movq %rcx,136(%rsp) # qhasm: c1_stack = c1 # asm 1: movq c1_stack=stack64#19 # asm 2: movq c1_stack=144(%rsp) movq %r9,144(%rsp) # qhasm: c2_stack = c2 # asm 1: movq c2_stack=stack64#20 # asm 2: movq c2_stack=152(%rsp) movq %rax,152(%rsp) # qhasm: c3_stack = c3 # asm 1: movq c3_stack=stack64#21 # asm 2: movq c3_stack=160(%rsp) movq %r10,160(%rsp) # qhasm: c4_stack = c4 # asm 1: movq c4_stack=stack64#22 # asm 2: movq c4_stack=168(%rsp) movq %r11,168(%rsp) # qhasm: d0 = *(uint64 *)&CRYPTO_SHARED_NAMESPACE(2P0) # asm 1: movq CRYPTO_SHARED_NAMESPACE(2P0),>d0=int64#3 # asm 2: movq CRYPTO_SHARED_NAMESPACE(2P0),>d0=%rdx movq CRYPTO_SHARED_NAMESPACE(2P0)(%rip),%rdx # qhasm: d1 = *(uint64 *)&CRYPTO_SHARED_NAMESPACE(2P1234) # asm 1: movq CRYPTO_SHARED_NAMESPACE(2P1234),>d1=int64#4 # asm 2: movq CRYPTO_SHARED_NAMESPACE(2P1234),>d1=%rcx movq CRYPTO_SHARED_NAMESPACE(2P1234)(%rip),%rcx # qhasm: d2 = *(uint64 *)&CRYPTO_SHARED_NAMESPACE(2P1234) # asm 1: movq CRYPTO_SHARED_NAMESPACE(2P1234),>d2=int64#5 # asm 2: movq CRYPTO_SHARED_NAMESPACE(2P1234),>d2=%r8 movq CRYPTO_SHARED_NAMESPACE(2P1234)(%rip),%r8 # qhasm: d3 = *(uint64 *)&CRYPTO_SHARED_NAMESPACE(2P1234) # asm 1: movq CRYPTO_SHARED_NAMESPACE(2P1234),>d3=int64#6 # asm 2: movq CRYPTO_SHARED_NAMESPACE(2P1234),>d3=%r9 movq CRYPTO_SHARED_NAMESPACE(2P1234)(%rip),%r9 # qhasm: d4 = *(uint64 *)&CRYPTO_SHARED_NAMESPACE(2P1234) # asm 1: movq CRYPTO_SHARED_NAMESPACE(2P1234),>d4=int64#7 # asm 2: movq CRYPTO_SHARED_NAMESPACE(2P1234),>d4=%rax movq CRYPTO_SHARED_NAMESPACE(2P1234)(%rip),%rax # qhasm: e0 = d0 # asm 1: mov e0=int64#8 # asm 2: mov e0=%r10 mov %rdx,%r10 # qhasm: e1 = d1 # asm 1: mov e1=int64#9 # asm 2: mov e1=%r11 mov %rcx,%r11 # qhasm: e2 = d2 # asm 1: mov e2=int64#10 # asm 2: mov e2=%r12 mov %r8,%r12 # qhasm: e3 = d3 # asm 1: mov e3=int64#11 # asm 2: mov e3=%r13 mov %r9,%r13 # qhasm: e4 = d4 # asm 1: mov e4=int64#12 # asm 2: mov e4=%r14 mov %rax,%r14 # qhasm: d0 -= a0_stack # asm 1: subq d0_stack=stack64#8 # asm 2: movq d0_stack=56(%rsp) movq %rdx,56(%rsp) # qhasm: d1_stack = d1 # asm 1: movq d1_stack=stack64#9 # asm 2: movq d1_stack=64(%rsp) movq %rcx,64(%rsp) # qhasm: d2_stack = d2 # asm 1: movq d2_stack=stack64#10 # asm 2: movq d2_stack=72(%rsp) movq %r8,72(%rsp) # qhasm: d3_stack = d3 # asm 1: movq d3_stack=stack64#11 # asm 2: movq d3_stack=80(%rsp) movq %r9,80(%rsp) # qhasm: d4_stack = d4 # asm 1: movq d4_stack=stack64#12 # asm 2: movq d4_stack=88(%rsp) movq %rax,88(%rsp) # qhasm: e0_stack = e0 # asm 1: movq e0_stack=stack64#23 # asm 2: movq e0_stack=176(%rsp) movq %r10,176(%rsp) # qhasm: e1_stack = e1 # asm 1: movq e1_stack=stack64#24 # asm 2: movq e1_stack=184(%rsp) movq %r11,184(%rsp) # qhasm: e2_stack = e2 # asm 1: movq e2_stack=stack64#25 # asm 2: movq e2_stack=192(%rsp) movq %r12,192(%rsp) # qhasm: e3_stack = e3 # asm 1: movq e3_stack=stack64#26 # asm 2: movq e3_stack=200(%rsp) movq %r13,200(%rsp) # qhasm: e4_stack = e4 # asm 1: movq e4_stack=stack64#27 # asm 2: movq e4_stack=208(%rsp) movq %r14,208(%rsp) # qhasm: rz0 = d0 # asm 1: mov rz0=int64#8 # asm 2: mov rz0=%r10 mov %rdx,%r10 # qhasm: rz1 = d1 # asm 1: mov rz1=int64#9 # asm 2: mov rz1=%r11 mov %rcx,%r11 # qhasm: rz2 = d2 # asm 1: mov rz2=int64#10 # asm 2: mov rz2=%r12 mov %r8,%r12 # qhasm: rz3 = d3 # asm 1: mov rz3=int64#11 # asm 2: mov rz3=%r13 mov %r9,%r13 # qhasm: rz4 = d4 # asm 1: mov rz4=int64#12 # asm 2: mov rz4=%r14 mov %rax,%r14 # qhasm: rz0 += b0_stack # asm 1: addq rx0=int64#3 # asm 2: movq 0(rx0=%rdx movq 0(%rsi),%rdx # qhasm: rx1 = *(uint64 *)(pp + 8) # asm 1: movq 8(rx1=int64#4 # asm 2: movq 8(rx1=%rcx movq 8(%rsi),%rcx # qhasm: rx2 = *(uint64 *)(pp + 16) # asm 1: movq 16(rx2=int64#5 # asm 2: movq 16(rx2=%r8 movq 16(%rsi),%r8 # qhasm: rx3 = *(uint64 *)(pp + 24) # asm 1: movq 24(rx3=int64#6 # asm 2: movq 24(rx3=%r9 movq 24(%rsi),%r9 # qhasm: rx4 = *(uint64 *)(pp + 32) # asm 1: movq 32(rx4=int64#7 # asm 2: movq 32(rx4=%rax movq 32(%rsi),%rax # qhasm: rx0 += *(uint64 *)(pp + 40) # asm 1: addq 40(rx0_stack=stack64#13 # asm 2: movq rx0_stack=96(%rsp) movq %rdx,96(%rsp) # qhasm: rx1_stack = rx1 # asm 1: movq rx1_stack=stack64#14 # asm 2: movq rx1_stack=104(%rsp) movq %rcx,104(%rsp) # qhasm: rx2_stack = rx2 # asm 1: movq rx2_stack=stack64#15 # asm 2: movq rx2_stack=112(%rsp) movq %r8,112(%rsp) # qhasm: rx3_stack = rx3 # asm 1: movq rx3_stack=stack64#16 # asm 2: movq rx3_stack=120(%rsp) movq %r9,120(%rsp) # qhasm: rx4_stack = rx4 # asm 1: movq rx4_stack=stack64#17 # asm 2: movq rx4_stack=128(%rsp) movq %rax,128(%rsp) # qhasm: squarerax = rx0_stack # asm 1: movq squarerax=int64#7 # asm 2: movq squarerax=%rax movq 96(%rsp),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * rx0_stack # asm 1: mulq rx0=int64#2 # asm 2: mov rx0=%rsi mov %rax,%rsi # qhasm: squarer01 = squarerdx # asm 1: mov squarer01=int64#4 # asm 2: mov squarer01=%rcx mov %rdx,%rcx # qhasm: squarerax = rx0_stack # asm 1: movq squarerax=int64#7 # asm 2: movq squarerax=%rax movq 96(%rsp),%rax # qhasm: squarerax <<= 1 # asm 1: shl $1,rx1=int64#5 # asm 2: mov rx1=%r8 mov %rax,%r8 # qhasm: squarer11 = squarerdx # asm 1: mov squarer11=int64#6 # asm 2: mov squarer11=%r9 mov %rdx,%r9 # qhasm: squarerax = rx0_stack # asm 1: movq squarerax=int64#7 # asm 2: movq squarerax=%rax movq 96(%rsp),%rax # qhasm: squarerax <<= 1 # asm 1: shl $1,rx2=int64#8 # asm 2: mov rx2=%r10 mov %rax,%r10 # qhasm: squarer21 = squarerdx # asm 1: mov squarer21=int64#9 # asm 2: mov squarer21=%r11 mov %rdx,%r11 # qhasm: squarerax = rx0_stack # asm 1: movq squarerax=int64#7 # asm 2: movq squarerax=%rax movq 96(%rsp),%rax # qhasm: squarerax <<= 1 # asm 1: shl $1,rx3=int64#10 # asm 2: mov rx3=%r12 mov %rax,%r12 # qhasm: squarer31 = squarerdx # asm 1: mov squarer31=int64#11 # asm 2: mov squarer31=%r13 mov %rdx,%r13 # qhasm: squarerax = rx0_stack # asm 1: movq squarerax=int64#7 # asm 2: movq squarerax=%rax movq 96(%rsp),%rax # qhasm: squarerax <<= 1 # asm 1: shl $1,rx4=int64#12 # asm 2: mov rx4=%r14 mov %rax,%r14 # qhasm: squarer41 = squarerdx # asm 1: mov squarer41=int64#13 # asm 2: mov squarer41=%r15 mov %rdx,%r15 # qhasm: squarerax = rx1_stack # asm 1: movq squarerax=int64#7 # asm 2: movq squarerax=%rax movq 104(%rsp),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * rx1_stack # asm 1: mulq squarerax=int64#7 # asm 2: movq squarerax=%rax movq 104(%rsp),%rax # qhasm: squarerax <<= 1 # asm 1: shl $1,squarerax=int64#7 # asm 2: movq squarerax=%rax movq 104(%rsp),%rax # qhasm: squarerax <<= 1 # asm 1: shl $1,squarerax=int64#3 # asm 2: movq squarerax=%rdx movq 104(%rsp),%rdx # qhasm: squarerax *= 38 # asm 1: imulq $38,squarerax=int64#7 # asm 2: imulq $38,squarerax=%rax imulq $38,%rdx,%rax # qhasm: (uint128) squarerdx squarerax = squarerax * rx4_stack # asm 1: mulq squarerax=int64#7 # asm 2: movq squarerax=%rax movq 112(%rsp),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * rx2_stack # asm 1: mulq squarerax=int64#3 # asm 2: movq squarerax=%rdx movq 112(%rsp),%rdx # qhasm: squarerax *= 38 # asm 1: imulq $38,squarerax=int64#7 # asm 2: imulq $38,squarerax=%rax imulq $38,%rdx,%rax # qhasm: (uint128) squarerdx squarerax = squarerax * rx3_stack # asm 1: mulq squarerax=int64#3 # asm 2: movq squarerax=%rdx movq 112(%rsp),%rdx # qhasm: squarerax *= 38 # asm 1: imulq $38,squarerax=int64#7 # asm 2: imulq $38,squarerax=%rax imulq $38,%rdx,%rax # qhasm: (uint128) squarerdx squarerax = squarerax * rx4_stack # asm 1: mulq squarerax=int64#3 # asm 2: movq squarerax=%rdx movq 120(%rsp),%rdx # qhasm: squarerax *= 19 # asm 1: imulq $19,squarerax=int64#7 # asm 2: imulq $19,squarerax=%rax imulq $19,%rdx,%rax # qhasm: (uint128) squarerdx squarerax = squarerax * rx3_stack # asm 1: mulq squarerax=int64#3 # asm 2: movq squarerax=%rdx movq 120(%rsp),%rdx # qhasm: squarerax *= 38 # asm 1: imulq $38,squarerax=int64#7 # asm 2: imulq $38,squarerax=%rax imulq $38,%rdx,%rax # qhasm: (uint128) squarerdx squarerax = squarerax * rx4_stack # asm 1: mulq squarerax=int64#3 # asm 2: movq squarerax=%rdx movq 128(%rsp),%rdx # qhasm: squarerax *= 19 # asm 1: imulq $19,squarerax=int64#7 # asm 2: imulq $19,squarerax=%rax imulq $19,%rdx,%rax # qhasm: (uint128) squarerdx squarerax = squarerax * rx4_stack # asm 1: mulq squareredmask=int64#3 # asm 2: movq CRYPTO_SHARED_NAMESPACE(REDMASK51),>squareredmask=%rdx movq CRYPTO_SHARED_NAMESPACE(REDMASK51)(%rip),%rdx # qhasm: squarer01 = (squarer01.rx0) << 13 # asm 1: shld $13,squarer41=int64#4 # asm 2: imulq $19,squarer41=%rcx imulq $19,%r15,%rcx # qhasm: rx0 += squarer41 # asm 1: add squaret=int64#4 # asm 2: mov squaret=%rcx mov %rsi,%rcx # qhasm: (uint64) squaret >>= 51 # asm 1: shr $51,rx1=int64#5 # asm 2: mov rx1=%r8 mov %rcx,%r8 # qhasm: (uint64) squaret >>= 51 # asm 1: shr $51,rx2=int64#6 # asm 2: mov rx2=%r9 mov %rcx,%r9 # qhasm: (uint64) squaret >>= 51 # asm 1: shr $51,rx3=int64#7 # asm 2: mov rx3=%rax mov %rcx,%rax # qhasm: (uint64) squaret >>= 51 # asm 1: shr $51,rx4=int64#8 # asm 2: mov rx4=%r10 mov %rcx,%r10 # qhasm: (uint64) squaret >>= 51 # asm 1: shr $51,squaret=int64#4 # asm 2: imulq $19,squaret=%rcx imulq $19,%rcx,%rcx # qhasm: rx0 += squaret # asm 1: add caller1=int64#9 # asm 2: movq caller1=%r11 movq 0(%rsp),%r11 # qhasm: caller2 = caller2_stack # asm 1: movq caller2=int64#10 # asm 2: movq caller2=%r12 movq 8(%rsp),%r12 # qhasm: caller3 = caller3_stack # asm 1: movq caller3=int64#11 # asm 2: movq caller3=%r13 movq 16(%rsp),%r13 # qhasm: caller4 = caller4_stack # asm 1: movq caller4=int64#12 # asm 2: movq caller4=%r14 movq 24(%rsp),%r14 # qhasm: caller5 = caller5_stack # asm 1: movq caller5=int64#13 # asm 2: movq caller5=%r15 movq 32(%rsp),%r15 # qhasm: caller6 = caller6_stack # asm 1: movq caller6=int64#14 # asm 2: movq caller6=%rbx movq 40(%rsp),%rbx # qhasm: caller7 = caller7_stack # asm 1: movq caller7=int64#15 # asm 2: movq caller7=%rbp movq 48(%rsp),%rbp # qhasm: leave add %r11,%rsp mov %rdi,%rax mov %rsi,%rdx ret