// File: /workspace/github_cpp_makefile_star2_O3/simap[P]ecctools/lib/uECC.c
// Function: double_jacobian_secp256k1(unsigned long*, unsigned long*, unsigned long*, uECC_Curve_t const*)
uECC_VLI_API uECC_word_t uECC_vli_isZero(const uECC_word_t *vli, wordcount_t num_words) {
    uECC_word_t bits = 0;
    wordcount_t i;
    for (i = 0; i < num_words; ++i) {
        bits |= vli[i];
    }
    return (bits == 0);
}

// Assembly:
movdqu (%rdx), %xmm0
movdqu 0x10(%rdx), %xmm1
por %xmm0, %xmm1
pxor %xmm0, %xmm0
pcmpeqd %xmm1, %xmm0
movmskps %xmm0, %eax
xorl $0xf, %eax
je 0x50d4
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rcx, %r14
movq %rdx, %r12
movq %rsi, %rbx
movq %rdi, %r15
movsbl (%rcx), %ecx
movq %rsp, %rbp
movq %rbp, %rdi
movq %rsi, %rdx
callq 0x561c
leaq 0x40(%rsp), %r13
movq %r13, %rdi
movq %rbp, %rsi
callq *0xc0(%r14)
movsbl (%r14), %ecx
movq %rsp, %rbp
movq %rbp, %rdi
movq %r15, %rsi
movq %r13, %rdx
callq 0x561c
leaq 0x60(%rsp), %rdi
movq %rbp, %rsi
callq *0xc0(%r14)
movsbl (%r14), %ecx
movq %rsp, %rbp
movq %rbp, %rdi
movq %r15, %rsi
movq %r15, %rdx
callq 0x561c
movq %r15, %rdi
movq %rbp, %rsi
callq *0xc0(%r14)
movsbl (%r14), %ecx
movq %rsp, %rbp
movq %rbp, %rdi
movq %r13, %rsi
movq %r13, %rdx
callq 0x561c
movq %r13, %rdi
movq %rbp, %rsi
callq *0xc0(%r14)
movsbl (%r14), %ecx
movq %rsp, %r13
movq %r13, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq 0x561c
movq %r12, %rdi
movq %r13, %rsi
callq *0xc0(%r14)
leaq 0x8(%r14), %r12
movq %rbx, %rdi
movq %r15, %rsi
movq %r15, %rdx
movq %r12, %rcx
movl $0x4, %r8d
callq 0x4143
movq %rbx, %rdi
movq %rbx, %rsi
movq %r15, %rdx
movq %r12, %rcx
movl $0x4, %r8d
callq 0x4143
testb $0x1, (%rbx)
jne 0x4fbe
leaq 0x20(%rbx), %rax
xorl %ecx, %ecx
movq -0x8(%rax), %rdx
movq %rdx, %rsi
shrq %rsi
orq %rcx, %rsi
movq %rsi, -0x8(%rax)
leaq -0x8(%rax), %rsi
shlq $0x3f, %rdx
movq %rsi, %rax
movq %rdx, %rcx
cmpq %rbx, %rsi
ja 0x4f98
jmp 0x501c
xorl %ecx, %ecx
xorl %eax, %eax
movq %rax, %rdx
movq (%rbx,%rcx,8), %rsi
leaq (%rsi,%rax), %rdi
addq (%r12,%rcx,8), %rdi
xorl %eax, %eax
cmpq %rsi, %rdi
setb %al
cmoveq %rdx, %rax
movq %rdi, (%rbx,%rcx,8)
incq %rcx
cmpq $0x4, %rcx
jne 0x4fc2
leaq 0x20(%rbx), %rcx
xorl %edx, %edx
movq -0x8(%rcx), %rsi
movq %rsi, %rdi
shrq %rdi
orq %rdx, %rdi
movq %rdi, -0x8(%rcx)
leaq -0x8(%rcx), %rdi
shlq $0x3f, %rsi
movq %rdi, %rcx
movq %rsi, %rdx
cmpq %rbx, %rdi
ja 0x4ff0
shlq $0x3f, %rax
orq %rax, 0x18(%rbx)
movsbl (%r14), %ecx
movq %rsp, %r13
movq %r13, %rdi
movq %rbx, %rsi
movq %rbx, %rdx
callq 0x561c
movq %r15, %rdi
movq %r13, %rsi
callq *0xc0(%r14)
leaq 0x60(%rsp), %r13
movq %r15, %rdi
movq %r15, %rsi
movq %r13, %rdx
movq %r12, %rcx
movl $0x4, %r8d
callq 0x37ab
movq %r15, %rdi
movq %r15, %rsi
movq %r13, %rdx
movq %r12, %rcx
movl $0x4, %r8d
callq 0x37ab
movq %r13, %rdi
movq %r13, %rsi
movq %r15, %rdx
movq %r12, %rcx
movl $0x4, %r8d
callq 0x37ab
movsbl (%r14), %ecx
movq %rsp, %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r13, %rdx
callq 0x561c
movq %rbx, %rdi
movq %r15, %rsi
callq *0xc0(%r14)
leaq 0x40(%rsp), %rdx
movq %rbx, %rdi
movq %rbx, %rsi
movq %r12, %rcx
movl $0x4, %r8d
callq 0x37ab
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq