// File: /workspace/github_c_makefile_star2_O1/yui0[P]img2vec/./potracelib.h
// Function: bm_to_pathlist
int bm_to_pathlist(const potrace_bitmap_t *bm, path_t **plistp, const potrace_param_t *param, progress_t *progress) {
  int x;
  int y;
  path_t *p;
  path_t *plist = NULL;  /* linked list of path objects */
  path_t **plist_hook = &plist;  /* used to speed up appending to linked list */
  potrace_bitmap_t *bm1 = NULL;
  int sign;
  bm1 = bm_dup(bm);
  if (!bm1) {
    goto error;
  }
  /* be sure the byte padding on the right is set to 0, as the fast
     pixel search below relies on it */
  bm_clearexcess(bm1);
  /* iterate through components */
  x = 0;
  y = bm1->h - 1;
  while (findnext(bm1, &x, &y) == 0) { 
    /* calculate the sign by looking at the original */
    sign = BM_GET(bm, x, y) ? '+' : '-';
    /* calculate the path */
    p = findpath(bm1, x, y+1, sign, param->turnpolicy);
    if (p==NULL) {
      goto error;
    }
    /* update buffered image */
    xor_path(bm1, p);
    /* if it's a turd, eliminate it, else append it to the list */
    if (p->area <= param->turdsize) {
      path_free(p);
    } else {
      list_insert_beforehook(p, plist_hook);
    }
    if (bm1->h > 0) { /* to be sure */
      progress_update(1-y/(double)bm1->h, progress);
    }
  }
  pathlist_to_tree(plist, bm1);
  bm_free(bm1);
  *plistp = plist;
  progress_update(1.0, progress);
  return 0;
 error:
  bm_free(bm1);
  list_forall_unlink(p, plist) {
    path_free(p);
  }
  return -1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rcx, %r12
movq %rdx, %r13
movq %rdi, 0x38(%rsp)
movq $0x0, 0x48(%rsp)
movl (%rdi), %r14d
movl 0x4(%rdi), %ebx
movslq %ebx, %r8
testl %r14d, %r14d
movq %rsi, 0x80(%rsp)
je 0xb54d
leal -0x1(%r14), %eax
leal 0x3e(%r14), %ebp
testl %eax, %eax
cmovnsl %eax, %ebp
sarl $0x6, %ebp
incl %ebp
jmp 0xb54f
xorl %ebp, %ebp
movl %ebp, %edi
negl %edi
cmovsl %ebp, %edi
movq %rdi, %rcx
imulq %r8, %rcx
movq $-0x1, %r15
testq %rcx, %rcx
js 0xb58b
shlq $0x3, %rcx
testl %ebx, %ebx
je 0xb588
testl %ebp, %ebp
je 0xb588
movq %rcx, %rax
cqto
idivq %r8
cqto
idivq %rdi
cmpq $0x8, %rax
jne 0xb58b
movq %rcx, %r15
testq %r15, %r15
js 0xb5d7
movl $0x18, %edi
callq 0x1190
testq %rax, %rax
je 0xb5e2
testq %r15, %r15
movl $0x8, %esi
cmovneq %r15, %rsi
movl %r14d, (%rax)
movl %ebx, 0x4(%rax)
movl %ebp, 0x8(%rax)
movl $0x1, %edi
movq %rax, %rbx
callq 0x1120
movq %rbx, %r10
movq %rax, 0x10(%rbx)
testq %rax, %rax
jne 0xb5e5
movq %r10, %rdi
callq 0x1030
jmp 0xb5e2
callq 0x1050
movl $0xc, (%rax)
xorl %r10d, %r10d
movq 0x38(%rsp), %r15
testq %r10, %r10
je 0xb638
cmpl $0x0, 0x4(%r15)
jle 0xb63b
xorl %ebx, %ebx
movslq 0x8(%r10), %rdx
movq %rbx, %rdi
imulq %rdx, %rdi
shlq $0x3, %rdi
addq 0x10(%r10), %rdi
movslq 0x8(%r15), %rsi
imulq %rbx, %rsi
shlq $0x3, %rsi
addq 0x10(%r15), %rsi
shlq $0x3, %rdx
movq %r10, %r14
callq 0x1180
movq %r14, %r10
incq %rbx
movslq 0x4(%r15), %rax
cmpq %rax, %rbx
jl 0xb5f8
jmp 0xb63b
xorl %r10d, %r10d
testq %r10, %r10
je 0xc029
movl (%r10), %ecx
leal 0x3f(%rcx), %edx
testl %ecx, %ecx
cmovnsl %ecx, %edx
movl %edx, %eax
andl $-0x40, %eax
subl %eax, %ecx
je 0xb68e
negb %cl
movq $-0x1, %rax
shlq %cl, %rax
movslq 0x4(%r10), %rcx
testq %rcx, %rcx
jle 0xb68e
sarl $0x6, %edx
movslq 0x8(%r10), %rsi
movslq %edx, %rdx
shlq $0x3, %rdx
addq 0x10(%r10), %rdx
shlq $0x3, %rsi
andq %rax, (%rdx)
addq %rsi, %rdx
decq %rcx
jne 0xb683
movabsq $-0x8000000000000000, %rbx # imm = 0x8000000000000000
movl 0x4(%r10), %r14d
decl %r14d
leaq 0x48(%rsp), %rax
movq %rax, 0x70(%rsp)
xorl %ebp, %ebp
movq %r12, 0x58(%rsp)
movq %r10, 0x10(%rsp)
movq %r13, 0x88(%rsp)
testl %r14d, %r14d
js 0xb754
movl %ebp, %ecx
andl $-0x40, %ecx
movl (%r10), %edx
movl %r14d, %eax
cmpl %edx, %ecx
setge %sil
testl %ecx, %ecx
sets %dil
orb %sil, %dil
jne 0xb717
movslq 0x8(%r10), %rsi
imulq %rax, %rsi
shlq $0x3, %rsi
addq 0x10(%r10), %rsi
movl %ecx, %edi
shrl $0x6, %ecx
movl %ecx, %r8d
andl $0x3ffffff, %r8d        # imm = 0x3FFFFFF
cmpq $0x0, (%rsi,%r8,8)
jne 0xb727
addq $0x40, %rdi
testl %edi, %edi
js 0xb717
incq %rcx
cmpl %edi, %edx
jg 0xb6f7
leaq -0x1(%rax), %rsi
xorl %ecx, %ecx
testq %rax, %rax
movq %rsi, %rax
jg 0xb6d1
jmp 0xb756
movl 0x4(%r10), %r8d
movl %edi, %ebp
cmpl %edx, %ebp
jge 0xb749
cmpl %eax, %r8d
jle 0xb749
movq %rbx, %rdi
movl %ebp, %ecx
shrq %cl, %rdi
movl %ebp, %ecx
shrl $0x6, %ecx
testq %rdi, (%rsi,%rcx,8)
jne 0xb74d
incl %ebp
jmp 0xb72d
movb $0x1, %cl
movl %eax, %r14d
jmp 0xb756
xorl %ecx, %ecx
testb %cl, %cl
je 0xbc44
movl $0x2d, %edx
testl %ebp, %ebp
js 0xb7a7
cmpl (%r15), %ebp
jge 0xb7a7
testl %r14d, %r14d
js 0xb7a7
cmpl 0x4(%r15), %r14d
jge 0xb7a7
movl %r14d, %eax
movslq 0x8(%r15), %rdx
imulq %rax, %rdx
shlq $0x3, %rdx
addq 0x10(%r15), %rdx
movl %ebp, %eax
shrl $0x6, %eax
movq %rbx, %rsi
movl %ebp, %ecx
shrq %cl, %rsi
xorl %ecx, %ecx
testq %rsi, (%rdx,%rax,8)
sete %cl
leal 0x2b(,%rcx,2), %edx
movq %r14, 0x90(%rsp)
leal 0x1(%r14), %esi
movl 0x4(%r13), %edi
cmpl $0x3, %edi
sete %al
movl %edx, %ecx
xorl $0x2b, %ecx
orl %edi, %ecx
sete %r8b
movl %edi, 0x24(%rsp)
movl %edi, %ecx
xorl $0x1, %ecx
movl %edx, 0x68(%rsp)
xorl $0x2d, %edx
orl %ecx, %edx
sete %cl
orb %al, %r8b
orb %cl, %r8b
movb %r8b, 0xf(%rsp)
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
xorl %r8d, %r8d
movl $0x8, %r11d
xorl %edi, %edi
xorl %r14d, %r14d
xorl %r9d, %r9d
movl %esi, 0x6c(%rsp)
movl %esi, %r15d
movl %ebp, %r12d
xorl %r13d, %r13d
movl %ebp, 0x28(%rsp)
movslq %r14d, %rax
cmpq %rax, %r8
movq %rdi, 0x18(%rsp)
jge 0xb821
movq %r13, %rax
jmp 0xb88c
addl $0x64, %r14d
xorps %xmm0, %xmm0
cvtsi2sd %r14d, %xmm0
mulsd 0x1428b(%rip), %xmm0    # 0x1fac0
cvttsd2si %xmm0, %r14d
movslq %r14d, %rsi
shlq $0x4, %rsi
movq %r13, %rdi
movq %r12, 0x30(%rsp)
movq %r15, 0x40(%rsp)
movq %rbx, %r15
movq %r8, %rbx
movq %r9, %rbp
movq %r11, %r12
callq 0x11c0
movq 0x18(%rsp), %rdi
movq %r12, %r11
movq %rbp, %r9
movl 0x28(%rsp), %ebp
movq %rbx, %r8
movq %r15, %rbx
movq 0x40(%rsp), %r15
movq 0x30(%rsp), %r12
movq 0x10(%rsp), %r10
testq %rax, %rax
je 0xbb2e
movq %rax, %r13
movslq %r12d, %r12
movq %r12, -0x8(%rax,%r11)
movslq %r15d, %r15
movq %r15, (%rax,%r11)
addl %edi, %r12d
addl %ebx, %r15d
movl %r12d, %eax
imull %ebx, %eax
cltq
addq %rax, %r9
cmpl %ebp, %r12d
jne 0xb8bf
cmpl 0x6c(%rsp), %r15d
je 0xbaf0
leal (%rdi,%rbx), %eax
leal (%rdi,%rbx), %ecx
decl %ecx
shrl $0x1f, %ecx
leal (%rcx,%rax), %edx
decl %edx
sarl %edx
movl %r12d, %ecx
addl %edx, %ecx
movb $0x1, %al
js 0xb933
cmpl (%r10), %ecx
jge 0xb933
notl %edi
addl %ebx, %edi
movl %edi, %esi
shrl $0x1f, %esi
addl %edi, %esi
sarl %esi
addl %r15d, %esi
js 0xb92e
cmpl 0x4(%r10), %esi
movq 0x18(%rsp), %rdi
jge 0xb933
movl %esi, %eax
movslq 0x8(%r10), %rsi
imulq %rax, %rsi
shlq $0x3, %rsi
addq 0x10(%r10), %rsi
movl %ecx, %eax
movabsq $-0x8000000000000000, %rdi # imm = 0x8000000000000000
shrq %cl, %rdi
shrl $0x6, %eax
testq %rdi, (%rsi,%rax,8)
movq 0x18(%rsp), %rdi
sete %al
jmp 0xb933
movq 0x18(%rsp), %rdi
movl %ebx, %esi
notl %esi
addl %edi, %esi
movl %esi, %ecx
shrl $0x1f, %ecx
addl %esi, %ecx
sarl %ecx
addl %r12d, %ecx
js 0xb98f
cmpl (%r10), %ecx
jge 0xb98f
addl %r15d, %edx
js 0xb98f
cmpl 0x4(%r10), %edx
jge 0xb98f
movl %edx, %edx
movslq 0x8(%r10), %rsi
imulq %rdx, %rsi
shlq $0x3, %rsi
addq 0x10(%r10), %rsi
movl %ecx, %edx
movq %rdi, %r10
movabsq $-0x8000000000000000, %rdi # imm = 0x8000000000000000
shrq %cl, %rdi
shrl $0x6, %edx
testq %rdi, (%rsi,%rdx,8)
movq %r10, %rdi
movq 0x10(%rsp), %r10
setne %cl
jmp 0xb991
xorl %ecx, %ecx
movl %eax, %edx
orb %cl, %dl
testb $0x1, %dl
je 0xb9ae
testb %al, %al
je 0xb9b5
movl %ebx, %eax
negl %eax
testb %cl, %cl
cmovnel %edi, %eax
cmovnel %ebx, %edi
movl %eax, %ebx
jmp 0xb9b7
cmpb $0x0, 0xf(%rsp)
je 0xb9c9
negl %edi
movl %edi, %eax
addq $0x10, %r11
incq %r8
movl %ebx, %edi
movl %eax, %ebx
jmp 0xb80f
cmpl $0x4, 0x24(%rsp)
je 0xba99
cmpl $0x5, 0x24(%rsp)
je 0xba42
cmpl $0x6, 0x24(%rsp)
jne 0xbae9
imull $0x4b3e375, %r12d, %eax # imm = 0x4B3E375
xorl %r15d, %eax
imull $0x5a8ef93, %eax, %eax  # imm = 0x5A8EF93
movl %eax, %ecx
movl $0xff, %esi
andl %esi, %ecx
movl %eax, %edx
shrl $0x8, %edx
andl %esi, %edx
movq %rdi, %r10
leaq 0x13f20(%rip), %rdi     # 0x1f930
movb (%rdx,%rdi), %dl
xorb (%rcx,%rdi), %dl
movl %eax, %ecx
shrl $0x10, %ecx
andl %esi, %ecx
xorb (%rcx,%rdi), %dl
shrl $0x18, %eax
cmpb (%rax,%rdi), %dl
movq %r10, %rdi
movq 0x10(%rsp), %r10
jne 0xb9b5
cmpl $0x4, 0x24(%rsp)
je 0xba99
cmpl $0x5, 0x24(%rsp)
jne 0xbae9
movq %r10, %rdi
movl %r12d, %esi
movl %r15d, %edx
movq %rbx, 0x60(%rsp)
movq %r8, %rbx
movq %r13, %rbp
movq %r9, %r13
movl %r14d, 0x30(%rsp)
movq %r11, %r14
callq 0x1c53e
movq 0x18(%rsp), %rdi
movq %r14, %r11
movl 0x30(%rsp), %r14d
movq %r13, %r9
movq %rbp, %r13
movl 0x28(%rsp), %ebp
movq %rbx, %r8
movq 0x60(%rsp), %rbx
movq 0x10(%rsp), %r10
testl %eax, %eax
jne 0xb9b5
cmpl $0x4, 0x24(%rsp)
jne 0xbae9
movl %r14d, 0x30(%rsp)
movq %rbx, 0x60(%rsp)
movq %r10, %rdi
movl %r12d, %esi
movl %r15d, %edx
movq %r8, %rbx
movq %r13, %rbp
movq %r9, %r13
movq %r11, %r14
callq 0x1c53e
movq 0x18(%rsp), %rdi
movq %r14, %r11
movl 0x30(%rsp), %r14d
movq %r13, %r9
movq %rbp, %r13
movl 0x28(%rsp), %ebp
movq %rbx, %r8
movq 0x60(%rsp), %rbx
movq 0x10(%rsp), %r10
testl %eax, %eax
je 0xb9b5
negl %ebx
jmp 0xb9b7
movq %r9, %r15
movq %r8, %r14
callq 0x7bae
testq %rax, %rax
je 0xbb2e
movq %rax, %rbx
incl %r14d
movq 0x38(%rax), %rax
movq %r13, 0x8(%rax)
movl %r14d, (%rax)
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
cmpq %rax, %r15
cmovaeq %rax, %r15
movl %r15d, (%rbx)
movl 0x68(%rsp), %eax
movl %eax, 0x4(%rbx)
movq 0x10(%rsp), %r10
jmp 0xbb3d
movq %r13, %rdi
callq 0x1030
movq 0x10(%rsp), %r10
xorl %ebx, %ebx
testq %rbx, %rbx
movq 0x58(%rsp), %r12
movq 0x88(%rsp), %r13
movq 0x38(%rsp), %r15
movq 0x90(%rsp), %r14
je 0xbff4
movq %r10, %rdi
movq %rbx, %rsi
callq 0xc109
movl (%rbx), %eax
cmpl (%r13), %eax
jle 0xbb8d
movq 0x70(%rsp), %rcx
movq (%rcx), %rax
movq %rax, 0x20(%rbx)
movq %rbx, (%rcx)
leaq 0x20(%rbx), %rax
movq %rax, 0x70(%rsp)
jmp 0xbb95
movq %rbx, %rdi
callq 0x7c1c
movq 0x10(%rsp), %r10
movl 0x4(%r10), %ecx
testl %ecx, %ecx
movabsq $-0x8000000000000000, %rbx # imm = 0x8000000000000000
jle 0xb6bd
testq %r12, %r12
je 0xb6bd
movq (%r12), %rax
testq %rax, %rax
je 0xb6bd
xorps %xmm0, %xmm0
cvtsi2sd %r14d, %xmm0
cvtsi2sd %ecx, %xmm1
divsd %xmm1, %xmm0
movsd 0x13ea2(%rip), %xmm2    # 0x1fa80
movapd %xmm2, %xmm1
subsd %xmm0, %xmm1
movapd %xmm2, %xmm0
subsd %xmm1, %xmm0
ucomisd %xmm2, %xmm1
mulsd 0x18(%r12), %xmm1
mulsd 0x10(%r12), %xmm0
addsd %xmm1, %xmm0
jne 0xbc08
jnp 0xbc20
movsd 0x30(%r12), %xmm1
addsd 0x20(%r12), %xmm1
ucomisd %xmm1, %xmm0
jb 0xb6bd
movq 0x8(%r12), %rdi
movsd %xmm0, 0x18(%rsp)
callq *%rax
movq 0x10(%rsp), %r10
movsd 0x18(%rsp), %xmm0
movsd %xmm0, 0x30(%r12)
jmp 0xb6bd
movq 0x48(%rsp), %rax
movq %rax, 0x28(%rsp)
movq %rax, 0x50(%rsp)
movslq 0x8(%r10), %r8
movslq 0x4(%r10), %r9
movl %r8d, %edi
negl %edi
cmovsl %r8d, %edi
movq %rdi, %rsi
imulq %r9, %rsi
movq $-0x1, %rcx
testq %rsi, %rsi
js 0xbca1
shlq $0x3, %rsi
testl %r9d, %r9d
sete %al
testl %r8d, %r8d
sete %dl
orb %al, %dl
jne 0xbc9e
movq %rsi, %rax
cqto
idivq %r9
cqto
idivq %rdi
cmpq $0x8, %rax
jne 0xbca1
movq %rsi, %rcx
leal -0x1(%r9), %eax
movslq %eax, %rdi
imulq %r8, %rdi
xorl %eax, %eax
testl %r9d, %r9d
cmoveq %rax, %rdi
testl %r8d, %r8d
cmovnsq %rax, %rdi
shlq $0x3, %rdi
addq 0x10(%r10), %rdi
xorl %esi, %esi
movq %rcx, %rdx
callq 0x10f0
movq 0x10(%rsp), %r11
cmpq $0x0, 0x28(%rsp)
je 0xbf36
movq 0x28(%rsp), %rax
movq 0x20(%rax), %rcx
movq %rcx, 0x30(%rax)
movq $0x0, 0x28(%rax)
movq %rcx, %rax
testq %rcx, %rcx
jne 0xbce4
movq 0x28(%rsp), %r15
movq 0x20(%r15), %r14
movq 0x28(%r15), %r12
xorpd %xmm0, %xmm0
movupd %xmm0, 0x20(%r15)
movq %r11, %rdi
movq %r15, %rsi
callq 0xc109
movq %r15, 0x18(%rsp)
movq 0x38(%r15), %rax
movslq (%rax), %rdx
testq %rdx, %rdx
movq %r12, 0x30(%rsp)
jle 0xbdc6
movq 0x8(%rax), %rsi
shlq $0x4, %rdx
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
xorl %edi, %edi
xorl %r13d, %r13d
xorl %ebp, %ebp
movl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
xorl %r8d, %r8d
movl $0x7fffffff, %r9d       # imm = 0x7FFFFFFF
xorl %r10d, %r10d
movl $0x7fffffff, %r11d      # imm = 0x7FFFFFFF
movl (%rsi,%rdi), %ebx
cmpl %ebx, %r11d
cmovgl %ebx, %ecx
cmovgel %ebx, %r11d
cmpl %ebx, %r10d
cmovll %ebx, %ebp
movl 0x8(%rsi,%rdi), %r15d
cmovlel %ebx, %r10d
cmpl %r15d, %r9d
cmovgl %r15d, %eax
cmovgel %r15d, %r9d
cmpl %r15d, %r8d
cmovll %r15d, %r13d
cmovlel %r15d, %r8d
addq $0x10, %rdi
cmpq %rdi, %rdx
jne 0xbd63
leal 0x3f(%rbp), %edx
addl $0x7e, %ebp
testl %edx, %edx
cmovnsl %edx, %ebp
sarl $0x6, %ebp
leal 0x3f(%rcx), %r12d
testl %ecx, %ecx
cmovnsl %ecx, %r12d
sarl $0x6, %r12d
movabsq $-0x8000000000000000, %rbx # imm = 0x8000000000000000
jmp 0xbdd6
movl $0x1ffffff, %r12d       # imm = 0x1FFFFFF
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
xorl %r13d, %r13d
xorl %ebp, %ebp
movq 0x18(%rsp), %rsi
leaq 0x28(%rsi), %rdi
addq $0x20, %rsi
movslq %eax, %r15
movq %rdi, 0x40(%rsp)
movq %rsi, 0x18(%rsp)
movq %r14, %rdx
movq 0x10(%rsp), %r11
testq %r14, %r14
je 0xbe09
movq 0x20(%r14), %rdx
movq $0x0, 0x20(%r14)
testq %r14, %r14
je 0xbe9b
movq 0x38(%r14), %rcx
movq 0x8(%rcx), %rcx
movq 0x8(%rcx), %r8
cmpq %r15, %r8
jle 0xbe8d
movq (%rcx), %rcx
testl %ecx, %ecx
js 0xbe74
cmpl %ecx, (%r11)
jle 0xbe74
decq %r8
testl %r8d, %r8d
js 0xbe74
cmpl %r8d, 0x4(%r11)
jle 0xbe74
movslq 0x8(%r11), %r9
imulq %r9, %r8
shlq $0x3, %r8
addq 0x10(%r11), %r8
leaq 0x3f(%rcx), %r9
testq %rcx, %rcx
cmovnsq %rcx, %r9
movq %rbx, %r10
shrq %cl, %r10
sarq $0x6, %r9
testq %r10, (%r8,%r9,8)
je 0xbe74
movq (%rdi), %r8
movq %rdi, %rcx
leaq 0x20(%r14), %rdi
jmp 0xbe7e
movq (%rsi), %r8
movq %rsi, %rcx
leaq 0x20(%r14), %rsi
movq %r8, 0x20(%r14)
movq %r14, (%rcx)
movq %rdx, %r14
jmp 0xbdf8
movq (%rsi), %rcx
movq %rcx, 0x20(%r14)
movq %r14, (%rsi)
movq %rdx, 0x20(%r14)
cmpl %r13d, %eax
jge 0xbeed
movslq %r12d, %rcx
leaq (,%rcx,8), %rbx
notl %ecx
addl %ebp, %ecx
leaq 0x8(,%rcx,8), %r14
subl %eax, %r13d
shlq $0x3, %r15
cmpl %ebp, %r12d
jge 0xbee4
movslq 0x8(%r11), %rdi
movq 0x10(%r11), %rax
addq %rbx, %rax
imulq %r15, %rdi
addq %rax, %rdi
xorl %esi, %esi
movq %r14, %rdx
callq 0x10f0
movq 0x10(%rsp), %r11
addq $0x8, %r15
decq %r13
jne 0xbebe
movq 0x18(%rsp), %r15
movq (%r15), %r15
testq %r15, %r15
je 0xbf05
movq 0x30(%rsp), %rax
movq %rax, 0x28(%r15)
jmp 0xbf0a
movq 0x30(%rsp), %r15
movq 0x58(%rsp), %r12
movq 0x40(%rsp), %rcx
movq (%rcx), %rax
testq %rax, %rax
je 0xbf23
movq %r15, 0x28(%rax)
movq (%rcx), %r15
movabsq $-0x8000000000000000, %rbx # imm = 0x8000000000000000
testq %r15, %r15
jne 0xbd01
movq 0x50(%rsp), %rax
testq %rax, %rax
je 0xc077
movq %rax, %rcx
movq 0x20(%rcx), %rdx
movq 0x30(%rcx), %rsi
movq %rdx, 0x30(%rcx)
movq %rsi, %rcx
testq %rsi, %rsi
jne 0xbf47
xorl %ecx, %ecx
movq %rcx, 0x20(%rax)
movq %rcx, 0x50(%rsp)
testq %rax, %rax
je 0xc080
leaq 0x50(%rsp), %rdx
leaq 0x78(%rsp), %rcx
movq 0x20(%rax), %rsi
movq %rsi, 0x78(%rsp)
movq (%rdx), %rsi
movq %rsi, 0x20(%rax)
movq %rax, (%rdx)
leaq 0x20(%rax), %rdx
movq 0x28(%rax), %rsi
testq %rsi, %rsi
je 0xbfdc
movq (%rdx), %rdi
movq %rdi, 0x20(%rsi)
movq %rsi, (%rdx)
movq 0x28(%rsi), %rdx
testq %rdx, %rdx
je 0xbfc9
movq %rcx, %r8
movq %r8, %rdi
movq (%r8), %r9
leaq 0x20(%r9), %r8
testq %r9, %r9
jne 0xbfaf
movq $0x0, 0x20(%rdx)
movq %rdx, (%rdi)
movq %rsi, %rdx
movq 0x30(%rsi), %rdi
addq $0x20, %rdx
movq %rdi, %rsi
testq %rdi, %rdi
jne 0xbf99
movq 0x30(%rax), %rax
testq %rax, %rax
jne 0xbf82
movq 0x78(%rsp), %rax
testq %rax, %rax
jne 0xbf79
jmp 0xc080
testq %r10, %r10
je 0xc029
movq 0x10(%r10), %rdi
testq %rdi, %rdi
je 0xc029
movslq 0x8(%r10), %rax
testq %rax, %rax
jns 0xc01f
movslq 0x4(%r10), %rcx
testq %rcx, %rcx
je 0xc01f
decq %rcx
imulq %rax, %rcx
leaq (%rdi,%rcx,8), %rdi
callq 0x1030
movq 0x10(%rsp), %r10
movq %r10, %rdi
callq 0x1030
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0xc056
movq 0x20(%rdi), %rbx
movq $0x0, 0x20(%rdi)
callq 0x7c1c
movq %rbx, %rdi
testq %rbx, %rbx
jne 0xc03b
jmp 0xc059
movq %rdi, %rbx
movq %rbx, 0x48(%rsp)
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
movl %ebx, %eax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq $0x0, 0x50(%rsp)
movq 0x10(%r11), %rdi
testq %rdi, %rdi
je 0xc0b0
movslq 0x8(%r11), %rax
testq %rax, %rax
jns 0xc0a6
movslq 0x4(%r11), %rcx
testq %rcx, %rcx
je 0xc0a6
decq %rcx
imulq %rax, %rcx
leaq (%rdi,%rcx,8), %rdi
callq 0x1030
movq 0x10(%rsp), %r11
movq %r11, %rdi
callq 0x1030
movq 0x80(%rsp), %rax
movq 0x28(%rsp), %rcx
movq %rcx, (%rax)
xorl %ebx, %ebx
testq %r12, %r12
je 0xc063
movq (%r12), %rax
testq %rax, %rax
je 0xc063
xorpd %xmm0, %xmm0
mulsd 0x10(%r12), %xmm0
addsd 0x18(%r12), %xmm0
movsd %xmm0, 0x18(%rsp)
movq 0x8(%r12), %rdi
callq *%rax
movsd 0x18(%rsp), %xmm0
movsd %xmm0, 0x30(%r12)
jmp 0xc063