#include "crypto_asm_hidden.h" // linker define ge25519_dbl_p1p1 // linker use 38 # 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: stack64 a0_stack # qhasm: stack64 a1_stack # qhasm: stack64 a2_stack # qhasm: stack64 a3_stack # qhasm: int64 b0 # qhasm: int64 b1 # qhasm: int64 b2 # qhasm: int64 b3 # qhasm: stack64 b0_stack # qhasm: stack64 b1_stack # qhasm: stack64 b2_stack # qhasm: stack64 b3_stack # qhasm: int64 c0 # qhasm: int64 c1 # qhasm: int64 c2 # qhasm: int64 c3 # qhasm: stack64 c0_stack # qhasm: stack64 c1_stack # qhasm: stack64 c2_stack # qhasm: stack64 c3_stack # qhasm: int64 d0 # qhasm: int64 d1 # qhasm: int64 d2 # qhasm: int64 d3 # qhasm: stack64 d0_stack # qhasm: stack64 d1_stack # qhasm: stack64 d2_stack # qhasm: stack64 d3_stack # qhasm: int64 e0 # qhasm: int64 e1 # qhasm: int64 e2 # qhasm: int64 e3 # qhasm: stack64 e0_stack # qhasm: stack64 e1_stack # qhasm: stack64 e2_stack # qhasm: stack64 e3_stack # qhasm: int64 rx0 # qhasm: int64 rx1 # qhasm: int64 rx2 # qhasm: int64 rx3 # qhasm: stack64 rx0_stack # qhasm: stack64 rx1_stack # qhasm: stack64 rx2_stack # qhasm: stack64 rx3_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 rt0 # qhasm: int64 rt1 # qhasm: int64 rt2 # qhasm: int64 rt3 # qhasm: int64 mulr4 # qhasm: int64 mulr5 # qhasm: int64 mulr6 # qhasm: int64 mulr7 # qhasm: int64 mulr8 # qhasm: int64 mulrax # qhasm: int64 mulrdx # qhasm: int64 mulx0 # qhasm: int64 mulx1 # qhasm: int64 mulx2 # qhasm: int64 mulx3 # qhasm: int64 mulc # qhasm: int64 mulzero # qhasm: int64 muli38 # qhasm: int64 squarer4 # qhasm: int64 squarer5 # qhasm: int64 squarer6 # qhasm: int64 squarer7 # qhasm: int64 squarer8 # qhasm: int64 squarerax # qhasm: int64 squarerdx # qhasm: int64 squaret1 # qhasm: int64 squaret2 # qhasm: int64 squaret3 # qhasm: int64 squarec # qhasm: int64 squarezero # qhasm: int64 squarei38 # qhasm: int64 addt0 # qhasm: int64 addt1 # qhasm: int64 subt0 # qhasm: int64 subt1 # 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 ASM_HIDDEN _CRYPTO_SHARED_NAMESPACE(ge25519_dbl_p1p1) .globl _CRYPTO_SHARED_NAMESPACE(ge25519_dbl_p1p1) ASM_HIDDEN 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 $192,%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: squarer7 = 0 # asm 1: mov $0,>squarer7=int64#4 # asm 2: mov $0,>squarer7=%rcx mov $0,%rcx # 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 + 0) # asm 1: mulq 0(a1=int64#5 # asm 2: mov a1=%r8 mov %rax,%r8 # qhasm: a2 = squarerdx # asm 1: mov a2=int64#6 # asm 2: mov a2=%r9 mov %rdx,%r9 # qhasm: squarerax = *(uint64 *)(pp + 16) # asm 1: movq 16(squarerax=int64#7 # asm 2: movq 16(squarerax=%rax movq 16(%rsi),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 8) # asm 1: mulq 8(a3=int64#8 # asm 2: mov a3=%r10 mov %rax,%r10 # qhasm: squarer4 = squarerdx # asm 1: mov squarer4=int64#9 # asm 2: mov squarer4=%r11 mov %rdx,%r11 # qhasm: squarerax = *(uint64 *)(pp + 24) # asm 1: movq 24(squarerax=int64#7 # asm 2: movq 24(squarerax=%rax movq 24(%rsi),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 16) # asm 1: mulq 16(squarer5=int64#10 # asm 2: mov squarer5=%r12 mov %rax,%r12 # qhasm: squarer6 = squarerdx # asm 1: mov squarer6=int64#11 # asm 2: mov squarer6=%r13 mov %rdx,%r13 # qhasm: squarerax = *(uint64 *)(pp + 16) # asm 1: movq 16(squarerax=int64#7 # asm 2: movq 16(squarerax=%rax movq 16(%rsi),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 0) # asm 1: mulq 0(squarerax=int64#7 # asm 2: movq 24(squarerax=%rax movq 24(%rsi),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 8) # asm 1: mulq 8(squarerax=int64#7 # asm 2: movq 24(squarerax=%rax movq 24(%rsi),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 0) # asm 1: mulq 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#12 # asm 2: mov a0=%r14 mov %rax,%r14 # qhasm: squaret1 = squarerdx # asm 1: mov squaret1=int64#13 # asm 2: mov squaret1=%r15 mov %rdx,%r15 # 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(squaret2=int64#14 # asm 2: mov squaret2=%rbx mov %rax,%rbx # qhasm: squaret3 = squarerdx # asm 1: mov squaret3=int64#15 # asm 2: mov squaret3=%rbp mov %rdx,%rbp # qhasm: squarerax = *(uint64 *)(pp + 16) # asm 1: movq 16(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#7 # asm 2: movq 24(squarerax=%rax movq 24(%rsi),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 24) # asm 1: mulq 24(squarerax=int64#7 # asm 2: mov squarerax=%rax mov %r11,%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)&CRYPTO_SHARED_NAMESPACE(38) mulq CRYPTO_SHARED_NAMESPACE(38)(%rip) # qhasm: squarer4 = squarerax # asm 1: mov squarer4=int64#9 # asm 2: mov squarer4=%r11 mov %rax,%r11 # qhasm: squarerax = squarer5 # asm 1: mov squarerax=int64#7 # asm 2: mov squarerax=%rax mov %r12,%rax # qhasm: squarer5 = squarerdx # asm 1: mov squarer5=int64#10 # asm 2: mov squarer5=%r12 mov %rdx,%r12 # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)&CRYPTO_SHARED_NAMESPACE(38) mulq CRYPTO_SHARED_NAMESPACE(38)(%rip) # qhasm: carry? squarer5 += squarerax # asm 1: add squarerax=int64#7 # asm 2: mov squarerax=%rax mov %r13,%rax # qhasm: squarer6 = 0 # asm 1: mov $0,>squarer6=int64#11 # asm 2: mov $0,>squarer6=%r13 mov $0,%r13 # qhasm: squarer6 += squarerdx + carry # asm 1: adc squarerax=int64#7 # asm 2: mov squarerax=%rax mov %rcx,%rax # qhasm: squarer7 = 0 # asm 1: mov $0,>squarer7=int64#4 # asm 2: mov $0,>squarer7=%rcx mov $0,%rcx # qhasm: squarer7 += squarerdx + carry # asm 1: adc squarer8=int64#7 # asm 2: mov $0,>squarer8=%rax mov $0,%rax # qhasm: squarer8 += squarerdx + carry # asm 1: adc squarezero=int64#3 # asm 2: mov $0,>squarezero=%rdx mov $0,%rdx # qhasm: squarer8 += squarezero + carry # asm 1: adc squarer8=int64#4 # asm 2: imulq $38,squarer8=%rcx imulq $38,%rax,%rcx # qhasm: carry? a0 += squarer8 # asm 1: add squarezero=int64#3 # asm 2: imulq $38,squarezero=%rdx imulq $38,%rdx,%rdx # qhasm: a0 += squarezero # asm 1: add a0_stack=stack64#8 # asm 2: movq a0_stack=56(%rsp) movq %r14,56(%rsp) # qhasm: a1_stack = a1 # asm 1: movq a1_stack=stack64#9 # asm 2: movq a1_stack=64(%rsp) movq %r8,64(%rsp) # qhasm: a2_stack = a2 # asm 1: movq a2_stack=stack64#10 # asm 2: movq a2_stack=72(%rsp) movq %r9,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: squarer7 = 0 # asm 1: mov $0,>squarer7=int64#4 # asm 2: mov $0,>squarer7=%rcx mov $0,%rcx # 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 + 32) # asm 1: mulq 32(b1=int64#5 # asm 2: mov b1=%r8 mov %rax,%r8 # qhasm: b2 = squarerdx # asm 1: mov b2=int64#6 # asm 2: mov b2=%r9 mov %rdx,%r9 # 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 + 40) # asm 1: mulq 40(b3=int64#8 # asm 2: mov b3=%r10 mov %rax,%r10 # qhasm: squarer4 = squarerdx # asm 1: mov squarer4=int64#9 # asm 2: mov squarer4=%r11 mov %rdx,%r11 # qhasm: squarerax = *(uint64 *)(pp + 56) # asm 1: movq 56(squarerax=int64#7 # asm 2: movq 56(squarerax=%rax movq 56(%rsi),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 48) # asm 1: mulq 48(squarer5=int64#10 # asm 2: mov squarer5=%r12 mov %rax,%r12 # qhasm: squarer6 = squarerdx # asm 1: mov squarer6=int64#11 # asm 2: mov squarer6=%r13 mov %rdx,%r13 # 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 + 32) # asm 1: mulq 32(squarerax=int64#7 # asm 2: movq 56(squarerax=%rax movq 56(%rsi),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 40) # asm 1: mulq 40(squarerax=int64#7 # asm 2: movq 56(squarerax=%rax movq 56(%rsi),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 32) # asm 1: mulq 32(squarerax=int64#7 # asm 2: movq 32(squarerax=%rax movq 32(%rsi),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 32) # asm 1: mulq 32(b0=int64#12 # asm 2: mov b0=%r14 mov %rax,%r14 # qhasm: squaret1 = squarerdx # asm 1: mov squaret1=int64#13 # asm 2: mov squaret1=%r15 mov %rdx,%r15 # 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(squaret2=int64#14 # asm 2: mov squaret2=%rbx mov %rax,%rbx # qhasm: squaret3 = squarerdx # asm 1: mov squaret3=int64#15 # asm 2: mov squaret3=%rbp mov %rdx,%rbp # 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 56(squarerax=%rax movq 56(%rsi),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 56) # asm 1: mulq 56(squarerax=int64#7 # asm 2: mov squarerax=%rax mov %r11,%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)&CRYPTO_SHARED_NAMESPACE(38) mulq CRYPTO_SHARED_NAMESPACE(38)(%rip) # qhasm: squarer4 = squarerax # asm 1: mov squarer4=int64#9 # asm 2: mov squarer4=%r11 mov %rax,%r11 # qhasm: squarerax = squarer5 # asm 1: mov squarerax=int64#7 # asm 2: mov squarerax=%rax mov %r12,%rax # qhasm: squarer5 = squarerdx # asm 1: mov squarer5=int64#10 # asm 2: mov squarer5=%r12 mov %rdx,%r12 # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)&CRYPTO_SHARED_NAMESPACE(38) mulq CRYPTO_SHARED_NAMESPACE(38)(%rip) # qhasm: carry? squarer5 += squarerax # asm 1: add squarerax=int64#7 # asm 2: mov squarerax=%rax mov %r13,%rax # qhasm: squarer6 = 0 # asm 1: mov $0,>squarer6=int64#11 # asm 2: mov $0,>squarer6=%r13 mov $0,%r13 # qhasm: squarer6 += squarerdx + carry # asm 1: adc squarerax=int64#7 # asm 2: mov squarerax=%rax mov %rcx,%rax # qhasm: squarer7 = 0 # asm 1: mov $0,>squarer7=int64#4 # asm 2: mov $0,>squarer7=%rcx mov $0,%rcx # qhasm: squarer7 += squarerdx + carry # asm 1: adc squarer8=int64#7 # asm 2: mov $0,>squarer8=%rax mov $0,%rax # qhasm: squarer8 += squarerdx + carry # asm 1: adc squarezero=int64#3 # asm 2: mov $0,>squarezero=%rdx mov $0,%rdx # qhasm: squarer8 += squarezero + carry # asm 1: adc squarer8=int64#4 # asm 2: imulq $38,squarer8=%rcx imulq $38,%rax,%rcx # qhasm: carry? b0 += squarer8 # asm 1: add squarezero=int64#3 # asm 2: imulq $38,squarezero=%rdx imulq $38,%rdx,%rdx # qhasm: b0 += squarezero # asm 1: add b0_stack=stack64#12 # asm 2: movq b0_stack=88(%rsp) movq %r14,88(%rsp) # qhasm: b1_stack = b1 # asm 1: movq b1_stack=stack64#13 # asm 2: movq b1_stack=96(%rsp) movq %r8,96(%rsp) # qhasm: b2_stack = b2 # asm 1: movq b2_stack=stack64#14 # asm 2: movq b2_stack=104(%rsp) movq %r9,104(%rsp) # qhasm: b3_stack = b3 # asm 1: movq b3_stack=stack64#15 # asm 2: movq b3_stack=112(%rsp) movq %r10,112(%rsp) # qhasm: squarer7 = 0 # asm 1: mov $0,>squarer7=int64#4 # asm 2: mov $0,>squarer7=%rcx mov $0,%rcx # qhasm: squarerax = *(uint64 *)(pp + 72) # asm 1: movq 72(squarerax=int64#7 # asm 2: movq 72(squarerax=%rax movq 72(%rsi),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 64) # asm 1: mulq 64(c1=int64#5 # asm 2: mov c1=%r8 mov %rax,%r8 # qhasm: c2 = squarerdx # asm 1: mov c2=int64#6 # asm 2: mov c2=%r9 mov %rdx,%r9 # 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 + 72) # asm 1: mulq 72(c3=int64#8 # asm 2: mov c3=%r10 mov %rax,%r10 # qhasm: squarer4 = squarerdx # asm 1: mov squarer4=int64#9 # asm 2: mov squarer4=%r11 mov %rdx,%r11 # 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 + 80) # asm 1: mulq 80(squarer5=int64#10 # asm 2: mov squarer5=%r12 mov %rax,%r12 # qhasm: squarer6 = squarerdx # asm 1: mov squarer6=int64#11 # asm 2: mov squarer6=%r13 mov %rdx,%r13 # 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 + 64) # asm 1: mulq 64(squarerax=int64#7 # asm 2: movq 88(squarerax=%rax movq 88(%rsi),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 72) # asm 1: mulq 72(squarerax=int64#7 # asm 2: movq 88(squarerax=%rax movq 88(%rsi),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 64) # asm 1: mulq 64(squarerax=int64#7 # asm 2: movq 64(squarerax=%rax movq 64(%rsi),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 64) # asm 1: mulq 64(c0=int64#12 # asm 2: mov c0=%r14 mov %rax,%r14 # qhasm: squaret1 = squarerdx # asm 1: mov squaret1=int64#13 # asm 2: mov squaret1=%r15 mov %rdx,%r15 # qhasm: squarerax = *(uint64 *)(pp + 72) # asm 1: movq 72(squarerax=int64#7 # asm 2: movq 72(squarerax=%rax movq 72(%rsi),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)(pp + 72) # asm 1: mulq 72(squaret2=int64#14 # asm 2: mov squaret2=%rbx mov %rax,%rbx # qhasm: squaret3 = squarerdx # asm 1: mov squaret3=int64#15 # asm 2: mov squaret3=%rbp mov %rdx,%rbp # 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(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: mov squarerax=%rax mov %r11,%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)&CRYPTO_SHARED_NAMESPACE(38) mulq CRYPTO_SHARED_NAMESPACE(38)(%rip) # qhasm: squarer4 = squarerax # asm 1: mov squarer4=int64#9 # asm 2: mov squarer4=%r11 mov %rax,%r11 # qhasm: squarerax = squarer5 # asm 1: mov squarerax=int64#7 # asm 2: mov squarerax=%rax mov %r12,%rax # qhasm: squarer5 = squarerdx # asm 1: mov squarer5=int64#10 # asm 2: mov squarer5=%r12 mov %rdx,%r12 # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)&CRYPTO_SHARED_NAMESPACE(38) mulq CRYPTO_SHARED_NAMESPACE(38)(%rip) # qhasm: carry? squarer5 += squarerax # asm 1: add squarerax=int64#7 # asm 2: mov squarerax=%rax mov %r13,%rax # qhasm: squarer6 = 0 # asm 1: mov $0,>squarer6=int64#11 # asm 2: mov $0,>squarer6=%r13 mov $0,%r13 # qhasm: squarer6 += squarerdx + carry # asm 1: adc squarerax=int64#7 # asm 2: mov squarerax=%rax mov %rcx,%rax # qhasm: squarer7 = 0 # asm 1: mov $0,>squarer7=int64#4 # asm 2: mov $0,>squarer7=%rcx mov $0,%rcx # qhasm: squarer7 += squarerdx + carry # asm 1: adc squarer8=int64#7 # asm 2: mov $0,>squarer8=%rax mov $0,%rax # qhasm: squarer8 += squarerdx + carry # asm 1: adc squarezero=int64#3 # asm 2: mov $0,>squarezero=%rdx mov $0,%rdx # qhasm: squarer8 += squarezero + carry # asm 1: adc squarer8=int64#4 # asm 2: imulq $38,squarer8=%rcx imulq $38,%rax,%rcx # qhasm: carry? c0 += squarer8 # asm 1: add squarezero=int64#3 # asm 2: imulq $38,squarezero=%rdx imulq $38,%rdx,%rdx # qhasm: c0 += squarezero # asm 1: add addt0=int64#3 # asm 2: mov $0,>addt0=%rdx mov $0,%rdx # qhasm: addt1 = 38 # asm 1: mov $38,>addt1=int64#4 # asm 2: mov $38,>addt1=%rcx mov $38,%rcx # qhasm: addt1 = addt0 if !carry # asm 1: cmovae c0_stack=stack64#16 # asm 2: movq c0_stack=120(%rsp) movq %r14,120(%rsp) # qhasm: c1_stack = c1 # asm 1: movq c1_stack=stack64#17 # asm 2: movq c1_stack=128(%rsp) movq %r8,128(%rsp) # qhasm: c2_stack = c2 # asm 1: movq c2_stack=stack64#18 # asm 2: movq c2_stack=136(%rsp) movq %r9,136(%rsp) # qhasm: c3_stack = c3 # asm 1: movq c3_stack=stack64#19 # asm 2: movq c3_stack=144(%rsp) movq %r10,144(%rsp) # qhasm: d0 = 0 # asm 1: mov $0,>d0=int64#3 # asm 2: mov $0,>d0=%rdx mov $0,%rdx # qhasm: d1 = 0 # asm 1: mov $0,>d1=int64#4 # asm 2: mov $0,>d1=%rcx mov $0,%rcx # qhasm: d2 = 0 # asm 1: mov $0,>d2=int64#5 # asm 2: mov $0,>d2=%r8 mov $0,%r8 # qhasm: d3 = 0 # asm 1: mov $0,>d3=int64#6 # asm 2: mov $0,>d3=%r9 mov $0,%r9 # qhasm: carry? d0 -= a0_stack # asm 1: subq subt0=int64#7 # asm 2: mov $0,>subt0=%rax mov $0,%rax # qhasm: subt1 = 38 # asm 1: mov $38,>subt1=int64#8 # asm 2: mov $38,>subt1=%r10 mov $38,%r10 # qhasm: subt1 = subt0 if !carry # asm 1: cmovae 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: e0 = 0 # asm 1: mov $0,>e0=int64#7 # asm 2: mov $0,>e0=%rax mov $0,%rax # qhasm: e1 = 0 # asm 1: mov $0,>e1=int64#8 # asm 2: mov $0,>e1=%r10 mov $0,%r10 # qhasm: e2 = 0 # asm 1: mov $0,>e2=int64#9 # asm 2: mov $0,>e2=%r11 mov $0,%r11 # qhasm: e3 = 0 # asm 1: mov $0,>e3=int64#10 # asm 2: mov $0,>e3=%r12 mov $0,%r12 # qhasm: carry? e0 -= b0_stack # asm 1: subq subt0=int64#11 # asm 2: mov $0,>subt0=%r13 mov $0,%r13 # qhasm: subt1 = 38 # asm 1: mov $38,>subt1=int64#12 # asm 2: mov $38,>subt1=%r14 mov $38,%r14 # qhasm: subt1 = subt0 if !carry # asm 1: cmovae e0_stack=stack64#20 # asm 2: movq e0_stack=152(%rsp) movq %rax,152(%rsp) # qhasm: e1_stack = e1 # asm 1: movq e1_stack=stack64#21 # asm 2: movq e1_stack=160(%rsp) movq %r10,160(%rsp) # qhasm: e2_stack = e2 # asm 1: movq e2_stack=stack64#22 # asm 2: movq e2_stack=168(%rsp) movq %r11,168(%rsp) # qhasm: e3_stack = e3 # asm 1: movq e3_stack=stack64#23 # asm 2: movq e3_stack=176(%rsp) movq %r12,176(%rsp) # qhasm: rz0 = d0 # asm 1: mov rz0=int64#7 # asm 2: mov rz0=%rax mov %rdx,%rax # qhasm: rz1 = d1 # asm 1: mov rz1=int64#8 # asm 2: mov rz1=%r10 mov %rcx,%r10 # qhasm: rz2 = d2 # asm 1: mov rz2=int64#9 # asm 2: mov rz2=%r11 mov %r8,%r11 # qhasm: rz3 = d3 # asm 1: mov rz3=int64#10 # asm 2: mov rz3=%r12 mov %r9,%r12 # qhasm: carry? rz0 += b0_stack # asm 1: addq addt0=int64#11 # asm 2: mov $0,>addt0=%r13 mov $0,%r13 # qhasm: addt1 = 38 # asm 1: mov $38,>addt1=int64#12 # asm 2: mov $38,>addt1=%r14 mov $38,%r14 # qhasm: addt1 = addt0 if !carry # asm 1: cmovae subt0=int64#11 # asm 2: mov $0,>subt0=%r13 mov $0,%r13 # qhasm: subt1 = 38 # asm 1: mov $38,>subt1=int64#12 # asm 2: mov $38,>subt1=%r14 mov $38,%r14 # qhasm: subt1 = subt0 if !carry # asm 1: cmovae subt0=int64#3 # asm 2: mov $0,>subt0=%rdx mov $0,%rdx # qhasm: subt1 = 38 # asm 1: mov $38,>subt1=int64#4 # asm 2: mov $38,>subt1=%rcx mov $38,%rcx # qhasm: subt1 = subt0 if !carry # asm 1: cmovae 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: carry? rx0 += *(uint64 *)(pp + 32) # asm 1: addq 32(addt0=int64#2 # asm 2: mov $0,>addt0=%rsi mov $0,%rsi # qhasm: addt1 = 38 # asm 1: mov $38,>addt1=int64#7 # asm 2: mov $38,>addt1=%rax mov $38,%rax # qhasm: addt1 = addt0 if !carry # asm 1: cmovae rx0_stack=stack64#12 # asm 2: movq rx0_stack=88(%rsp) movq %rdx,88(%rsp) # qhasm: rx1_stack = rx1 # asm 1: movq rx1_stack=stack64#13 # asm 2: movq rx1_stack=96(%rsp) movq %rcx,96(%rsp) # qhasm: rx2_stack = rx2 # asm 1: movq rx2_stack=stack64#14 # asm 2: movq rx2_stack=104(%rsp) movq %r8,104(%rsp) # qhasm: rx3_stack = rx3 # asm 1: movq rx3_stack=stack64#15 # asm 2: movq rx3_stack=112(%rsp) movq %r9,112(%rsp) # qhasm: squarer7 = 0 # asm 1: mov $0,>squarer7=int64#2 # asm 2: mov $0,>squarer7=%rsi mov $0,%rsi # qhasm: squarerax = rx1_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 rx1=int64#4 # asm 2: mov rx1=%rcx mov %rax,%rcx # qhasm: rx2 = squarerdx # asm 1: mov rx2=int64#5 # asm 2: mov rx2=%r8 mov %rdx,%r8 # qhasm: squarerax = rx2_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 rx3=int64#6 # asm 2: mov rx3=%r9 mov %rax,%r9 # qhasm: squarer4 = squarerdx # asm 1: mov squarer4=int64#8 # asm 2: mov squarer4=%r10 mov %rdx,%r10 # qhasm: squarerax = rx3_stack # asm 1: movq squarerax=int64#7 # asm 2: movq squarerax=%rax movq 112(%rsp),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * rx2_stack # asm 1: mulq squarer5=int64#9 # asm 2: mov squarer5=%r11 mov %rax,%r11 # qhasm: squarer6 = squarerdx # asm 1: mov squarer6=int64#10 # asm 2: mov squarer6=%r12 mov %rdx,%r12 # qhasm: squarerax = rx2_stack # asm 1: movq squarerax=int64#7 # asm 2: movq squarerax=%rax movq 104(%rsp),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * rx0_stack # asm 1: mulq squarerax=int64#7 # asm 2: movq squarerax=%rax movq 112(%rsp),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * rx1_stack # asm 1: mulq squarerax=int64#7 # asm 2: movq squarerax=%rax movq 112(%rsp),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * rx0_stack # asm 1: mulq squarerax=int64#7 # asm 2: movq squarerax=%rax movq 88(%rsp),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * rx0_stack # asm 1: mulq rx0=int64#11 # asm 2: mov rx0=%r13 mov %rax,%r13 # qhasm: squaret1 = squarerdx # asm 1: mov squaret1=int64#12 # asm 2: mov squaret1=%r14 mov %rdx,%r14 # qhasm: squarerax = rx1_stack # asm 1: movq squarerax=int64#7 # asm 2: movq squarerax=%rax movq 96(%rsp),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * rx1_stack # asm 1: mulq squaret2=int64#13 # asm 2: mov squaret2=%r15 mov %rax,%r15 # qhasm: squaret3 = squarerdx # asm 1: mov squaret3=int64#14 # asm 2: mov squaret3=%rbx mov %rdx,%rbx # qhasm: squarerax = rx2_stack # asm 1: movq squarerax=int64#7 # asm 2: movq squarerax=%rax movq 104(%rsp),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * rx2_stack # asm 1: mulq squarerax=int64#7 # asm 2: movq squarerax=%rax movq 112(%rsp),%rax # qhasm: (uint128) squarerdx squarerax = squarerax * rx3_stack # asm 1: mulq squarerax=int64#7 # asm 2: mov squarerax=%rax mov %r10,%rax # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)&CRYPTO_SHARED_NAMESPACE(38) mulq CRYPTO_SHARED_NAMESPACE(38)(%rip) # qhasm: squarer4 = squarerax # asm 1: mov squarer4=int64#8 # asm 2: mov squarer4=%r10 mov %rax,%r10 # qhasm: squarerax = squarer5 # asm 1: mov squarerax=int64#7 # asm 2: mov squarerax=%rax mov %r11,%rax # qhasm: squarer5 = squarerdx # asm 1: mov squarer5=int64#9 # asm 2: mov squarer5=%r11 mov %rdx,%r11 # qhasm: (uint128) squarerdx squarerax = squarerax * *(uint64 *)&CRYPTO_SHARED_NAMESPACE(38) mulq CRYPTO_SHARED_NAMESPACE(38)(%rip) # qhasm: carry? squarer5 += squarerax # asm 1: add squarerax=int64#7 # asm 2: mov squarerax=%rax mov %r12,%rax # qhasm: squarer6 = 0 # asm 1: mov $0,>squarer6=int64#10 # asm 2: mov $0,>squarer6=%r12 mov $0,%r12 # qhasm: squarer6 += squarerdx + carry # asm 1: adc squarerax=int64#7 # asm 2: mov squarerax=%rax mov %rsi,%rax # qhasm: squarer7 = 0 # asm 1: mov $0,>squarer7=int64#2 # asm 2: mov $0,>squarer7=%rsi mov $0,%rsi # qhasm: squarer7 += squarerdx + carry # asm 1: adc squarer8=int64#7 # asm 2: mov $0,>squarer8=%rax mov $0,%rax # qhasm: squarer8 += squarerdx + carry # asm 1: adc squarezero=int64#2 # asm 2: mov $0,>squarezero=%rsi mov $0,%rsi # qhasm: squarer8 += squarezero + carry # asm 1: adc squarer8=int64#3 # asm 2: imulq $38,squarer8=%rdx imulq $38,%rax,%rdx # qhasm: carry? rx0 += squarer8 # asm 1: add squarezero=int64#2 # asm 2: imulq $38,squarezero=%rsi imulq $38,%rsi,%rsi # qhasm: rx0 += squarezero # asm 1: add addt0=int64#2 # asm 2: mov $0,>addt0=%rsi mov $0,%rsi # qhasm: addt1 = 38 # asm 1: mov $38,>addt1=int64#3 # asm 2: mov $38,>addt1=%rdx mov $38,%rdx # qhasm: addt1 = addt0 if !carry # asm 1: cmovae addt0=int64#2 # asm 2: mov $0,>addt0=%rsi mov $0,%rsi # qhasm: addt1 = 38 # asm 1: mov $38,>addt1=int64#3 # asm 2: mov $38,>addt1=%rdx mov $38,%rdx # qhasm: addt1 = addt0 if !carry # asm 1: cmovae 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 .section .note.GNU-stack,"",@progbits