// File: /workspace/github_c_makefile_star2_O0/seanpringle[P]xoat/./monitor.c
// Function: monitor_choose_by_direction
int monitor_choose_by_direction(int cmon, int dir)
{
  int mon = cmon;
  int i; Monitor *m;
  if (dir == LEFT)
  {
    for_monitors(i, m)
      if (OVERLAP(m->y, m->h, monitors[cmon].y, monitors[cmon].h) && m->x < monitors[cmon].x && (mon == cmon || m->x >= monitors[mon].x))
        mon = i;
    if (mon == cmon) for_monitors(i, m)
      if (m->x < monitors[cmon].x && (mon == cmon || m->x >= monitors[mon].x))
        mon = i;
  }
  else
  if (dir == RIGHT)
  {
    for_monitors(i, m)
      if (OVERLAP(m->y, m->h, monitors[cmon].y, monitors[cmon].h) && m->x >= monitors[cmon].x + monitors[cmon].w && (mon == cmon || m->x <= monitors[mon].x))
        mon = i;
    if (mon == cmon) for_monitors(i, m)
      if (m->x >= monitors[cmon].x + monitors[cmon].w && (mon == cmon || m->x <= monitors[mon].x))
        mon = i;
  }
  else
  if (dir == UP)
  {
    for_monitors(i, m)
      if (OVERLAP(m->x, m->w, monitors[cmon].x, monitors[cmon].w) && m->y < monitors[cmon].y && (mon == cmon || m->y >= monitors[mon].y))
        mon = i;
    if (mon == cmon) for_monitors(i, m)
      if (m->y < monitors[cmon].y && (mon == cmon || m->y >= monitors[mon].y))
        mon = i;
  }
  else
  if (dir == DOWN)
  {
    for_monitors(i, m)
      if (OVERLAP(m->x, m->w, monitors[cmon].x, monitors[cmon].w) && m->y >= monitors[cmon].y + monitors[cmon].h && (mon == cmon || m->y <= monitors[mon].y))
        mon = i;
    if (mon == cmon) for_monitors(i, m)
      if (m->y >= monitors[cmon].y + monitors[cmon].h && (mon == cmon || m->y <= monitors[mon].y))
        mon = i;
  }
  return mon;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl %edi, -0x4(%rbp)
movl %esi, -0x8(%rbp)
movl -0x4(%rbp), %eax
movl %eax, -0xc(%rbp)
cmpl $0x1, -0x8(%rbp)
jne 0x66eb
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %ecx
xorl %eax, %eax
cmpl 0xd2e4(%rip), %ecx      # 0x13760
movb %al, -0x19(%rbp)
jge 0x64a1
movslq -0x10(%rbp), %rcx
leaq 0xd724(%rip), %rax      # 0x13bb0
imulq $0x48, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, %rax
setne %al
movb %al, -0x19(%rbp)
movb -0x19(%rbp), %al
testb $0x1, %al
jne 0x64ad
jmp 0x663a
movq -0x18(%rbp), %rax
movswl 0x2(%rax), %eax
movslq -0x4(%rbp), %rdx
leaq 0xd6f0(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl 0x2(%rcx), %ecx
cmpl %ecx, %eax
jne 0x64f5
movq -0x18(%rbp), %rax
movswl 0x6(%rax), %eax
movslq -0x4(%rbp), %rdx
leaq 0xd6ce(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl 0x6(%rcx), %ecx
cmpl %ecx, %eax
je 0x65dc
movq -0x18(%rbp), %rax
movswl 0x2(%rax), %eax
movq -0x18(%rbp), %rcx
movswl 0x6(%rcx), %ecx
addl %ecx, %eax
movslq -0x4(%rbp), %rdx
leaq 0xd69e(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl 0x2(%rcx), %ecx
movslq -0x4(%rbp), %rsi
leaq 0xd688(%rip), %rdx      # 0x13bb0
imulq $0x48, %rsi, %rsi
addq %rsi, %rdx
movswl 0x6(%rdx), %edx
addl %edx, %ecx
cmpl %ecx, %eax
jge 0x6550
movq -0x18(%rbp), %rax
movswl 0x2(%rax), %eax
movq -0x18(%rbp), %rcx
movswl 0x6(%rcx), %ecx
addl %ecx, %eax
movl %eax, -0x20(%rbp)
jmp 0x6581
movslq -0x4(%rbp), %rcx
leaq 0xd655(%rip), %rax      # 0x13bb0
imulq $0x48, %rcx, %rcx
addq %rcx, %rax
movswl 0x2(%rax), %eax
movslq -0x4(%rbp), %rdx
leaq 0xd63f(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl 0x6(%rcx), %ecx
addl %ecx, %eax
movl %eax, -0x20(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x24(%rbp)
movq -0x18(%rbp), %rax
movswl 0x2(%rax), %eax
movslq -0x4(%rbp), %rdx
leaq 0xd616(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl 0x2(%rcx), %ecx
cmpl %ecx, %eax
jle 0x65b6
movq -0x18(%rbp), %rax
movswl 0x2(%rax), %eax
movl %eax, -0x28(%rbp)
jmp 0x65cf
movslq -0x4(%rbp), %rcx
leaq 0xd5ef(%rip), %rax      # 0x13bb0
imulq $0x48, %rcx, %rcx
addq %rcx, %rax
movswl 0x2(%rax), %eax
movl %eax, -0x28(%rbp)
movl -0x24(%rbp), %eax
movl -0x28(%rbp), %ecx
subl %ecx, %eax
cmpl $0x0, %eax
jle 0x662a
movq -0x18(%rbp), %rax
movswl (%rax), %eax
movslq -0x4(%rbp), %rdx
leaq 0xd5c2(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl (%rcx), %ecx
cmpl %ecx, %eax
jge 0x662a
movl -0xc(%rbp), %eax
cmpl -0x4(%rbp), %eax
je 0x6624
movq -0x18(%rbp), %rax
movswl (%rax), %eax
movslq -0xc(%rbp), %rdx
leaq 0xd59a(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl (%rcx), %ecx
cmpl %ecx, %eax
jl 0x662a
movl -0x10(%rbp), %eax
movl %eax, -0xc(%rbp)
jmp 0x662c
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x6471
movl -0xc(%rbp), %eax
cmpl -0x4(%rbp), %eax
jne 0x66e6
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %ecx
xorl %eax, %eax
cmpl 0xd108(%rip), %ecx      # 0x13760
movb %al, -0x29(%rbp)
jge 0x667d
movslq -0x10(%rbp), %rcx
leaq 0xd548(%rip), %rax      # 0x13bb0
imulq $0x48, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, %rax
setne %al
movb %al, -0x29(%rbp)
movb -0x29(%rbp), %al
testb $0x1, %al
jne 0x6686
jmp 0x66e4
movq -0x18(%rbp), %rax
movswl (%rax), %eax
movslq -0x4(%rbp), %rdx
leaq 0xd518(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl (%rcx), %ecx
cmpl %ecx, %eax
jge 0x66d4
movl -0xc(%rbp), %eax
cmpl -0x4(%rbp), %eax
je 0x66ce
movq -0x18(%rbp), %rax
movswl (%rax), %eax
movslq -0xc(%rbp), %rdx
leaq 0xd4f0(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl (%rcx), %ecx
cmpl %ecx, %eax
jl 0x66d4
movl -0x10(%rbp), %eax
movl %eax, -0xc(%rbp)
jmp 0x66d6
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x664d
jmp 0x66e6
jmp 0x6eeb
cmpl $0x2, -0x8(%rbp)
jne 0x69a6
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %ecx
xorl %eax, %eax
cmpl 0xd059(%rip), %ecx      # 0x13760
movb %al, -0x2a(%rbp)
jge 0x672c
movslq -0x10(%rbp), %rcx
leaq 0xd499(%rip), %rax      # 0x13bb0
imulq $0x48, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, %rax
setne %al
movb %al, -0x2a(%rbp)
movb -0x2a(%rbp), %al
testb $0x1, %al
jne 0x6738
jmp 0x68dd
movq -0x18(%rbp), %rax
movswl 0x2(%rax), %eax
movslq -0x4(%rbp), %rdx
leaq 0xd465(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl 0x2(%rcx), %ecx
cmpl %ecx, %eax
jne 0x6780
movq -0x18(%rbp), %rax
movswl 0x6(%rax), %eax
movslq -0x4(%rbp), %rdx
leaq 0xd443(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl 0x6(%rcx), %ecx
cmpl %ecx, %eax
je 0x6867
movq -0x18(%rbp), %rax
movswl 0x2(%rax), %eax
movq -0x18(%rbp), %rcx
movswl 0x6(%rcx), %ecx
addl %ecx, %eax
movslq -0x4(%rbp), %rdx
leaq 0xd413(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl 0x2(%rcx), %ecx
movslq -0x4(%rbp), %rsi
leaq 0xd3fd(%rip), %rdx      # 0x13bb0
imulq $0x48, %rsi, %rsi
addq %rsi, %rdx
movswl 0x6(%rdx), %edx
addl %edx, %ecx
cmpl %ecx, %eax
jge 0x67db
movq -0x18(%rbp), %rax
movswl 0x2(%rax), %eax
movq -0x18(%rbp), %rcx
movswl 0x6(%rcx), %ecx
addl %ecx, %eax
movl %eax, -0x30(%rbp)
jmp 0x680c
movslq -0x4(%rbp), %rcx
leaq 0xd3ca(%rip), %rax      # 0x13bb0
imulq $0x48, %rcx, %rcx
addq %rcx, %rax
movswl 0x2(%rax), %eax
movslq -0x4(%rbp), %rdx
leaq 0xd3b4(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl 0x6(%rcx), %ecx
addl %ecx, %eax
movl %eax, -0x30(%rbp)
movl -0x30(%rbp), %eax
movl %eax, -0x34(%rbp)
movq -0x18(%rbp), %rax
movswl 0x2(%rax), %eax
movslq -0x4(%rbp), %rdx
leaq 0xd38b(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl 0x2(%rcx), %ecx
cmpl %ecx, %eax
jle 0x6841
movq -0x18(%rbp), %rax
movswl 0x2(%rax), %eax
movl %eax, -0x38(%rbp)
jmp 0x685a
movslq -0x4(%rbp), %rcx
leaq 0xd364(%rip), %rax      # 0x13bb0
imulq $0x48, %rcx, %rcx
addq %rcx, %rax
movswl 0x2(%rax), %eax
movl %eax, -0x38(%rbp)
movl -0x34(%rbp), %eax
movl -0x38(%rbp), %ecx
subl %ecx, %eax
cmpl $0x0, %eax
jle 0x68cd
movq -0x18(%rbp), %rax
movswl (%rax), %eax
movslq -0x4(%rbp), %rdx
leaq 0xd337(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl (%rcx), %ecx
movslq -0x4(%rbp), %rsi
leaq 0xd322(%rip), %rdx      # 0x13bb0
imulq $0x48, %rsi, %rsi
addq %rsi, %rdx
movswl 0x4(%rdx), %edx
addl %edx, %ecx
cmpl %ecx, %eax
jl 0x68cd
movl -0xc(%rbp), %eax
cmpl -0x4(%rbp), %eax
je 0x68c7
movq -0x18(%rbp), %rax
movswl (%rax), %eax
movslq -0xc(%rbp), %rdx
leaq 0xd2f7(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl (%rcx), %ecx
cmpl %ecx, %eax
jg 0x68cd
movl -0x10(%rbp), %eax
movl %eax, -0xc(%rbp)
jmp 0x68cf
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x66fc
movl -0xc(%rbp), %eax
cmpl -0x4(%rbp), %eax
jne 0x69a1
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %ecx
xorl %eax, %eax
cmpl 0xce65(%rip), %ecx      # 0x13760
movb %al, -0x39(%rbp)
jge 0x6920
movslq -0x10(%rbp), %rcx
leaq 0xd2a5(%rip), %rax      # 0x13bb0
imulq $0x48, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, %rax
setne %al
movb %al, -0x39(%rbp)
movb -0x39(%rbp), %al
testb $0x1, %al
jne 0x6929
jmp 0x699f
movq -0x18(%rbp), %rax
movswl (%rax), %eax
movslq -0x4(%rbp), %rdx
leaq 0xd275(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl (%rcx), %ecx
movslq -0x4(%rbp), %rsi
leaq 0xd260(%rip), %rdx      # 0x13bb0
imulq $0x48, %rsi, %rsi
addq %rsi, %rdx
movswl 0x4(%rdx), %edx
addl %edx, %ecx
cmpl %ecx, %eax
jl 0x698f
movl -0xc(%rbp), %eax
cmpl -0x4(%rbp), %eax
je 0x6989
movq -0x18(%rbp), %rax
movswl (%rax), %eax
movslq -0xc(%rbp), %rdx
leaq 0xd235(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl (%rcx), %ecx
cmpl %ecx, %eax
jg 0x698f
movl -0x10(%rbp), %eax
movl %eax, -0xc(%rbp)
jmp 0x6991
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x68f0
jmp 0x69a1
jmp 0x6ee9
cmpl $0x3, -0x8(%rbp)
jne 0x6c2f
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %ecx
xorl %eax, %eax
cmpl 0xcd9e(%rip), %ecx      # 0x13760
movb %al, -0x3a(%rbp)
jge 0x69e7
movslq -0x10(%rbp), %rcx
leaq 0xd1de(%rip), %rax      # 0x13bb0
imulq $0x48, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, %rax
setne %al
movb %al, -0x3a(%rbp)
movb -0x3a(%rbp), %al
testb $0x1, %al
jne 0x69f3
jmp 0x6b7a
movq -0x18(%rbp), %rax
movswl (%rax), %eax
movslq -0x4(%rbp), %rdx
leaq 0xd1ab(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl (%rcx), %ecx
cmpl %ecx, %eax
jne 0x6a39
movq -0x18(%rbp), %rax
movswl 0x4(%rax), %eax
movslq -0x4(%rbp), %rdx
leaq 0xd18a(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl 0x4(%rcx), %ecx
cmpl %ecx, %eax
je 0x6b18
movq -0x18(%rbp), %rax
movswl (%rax), %eax
movq -0x18(%rbp), %rcx
movswl 0x4(%rcx), %ecx
addl %ecx, %eax
movslq -0x4(%rbp), %rdx
leaq 0xd15b(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl (%rcx), %ecx
movslq -0x4(%rbp), %rsi
leaq 0xd146(%rip), %rdx      # 0x13bb0
imulq $0x48, %rsi, %rsi
addq %rsi, %rdx
movswl 0x4(%rdx), %edx
addl %edx, %ecx
cmpl %ecx, %eax
jge 0x6a91
movq -0x18(%rbp), %rax
movswl (%rax), %eax
movq -0x18(%rbp), %rcx
movswl 0x4(%rcx), %ecx
addl %ecx, %eax
movl %eax, -0x40(%rbp)
jmp 0x6ac1
movslq -0x4(%rbp), %rcx
leaq 0xd114(%rip), %rax      # 0x13bb0
imulq $0x48, %rcx, %rcx
addq %rcx, %rax
movswl (%rax), %eax
movslq -0x4(%rbp), %rdx
leaq 0xd0ff(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl 0x4(%rcx), %ecx
addl %ecx, %eax
movl %eax, -0x40(%rbp)
movl -0x40(%rbp), %eax
movl %eax, -0x44(%rbp)
movq -0x18(%rbp), %rax
movswl (%rax), %eax
movslq -0x4(%rbp), %rdx
leaq 0xd0d7(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl (%rcx), %ecx
cmpl %ecx, %eax
jle 0x6af3
movq -0x18(%rbp), %rax
movswl (%rax), %eax
movl %eax, -0x48(%rbp)
jmp 0x6b0b
movslq -0x4(%rbp), %rcx
leaq 0xd0b2(%rip), %rax      # 0x13bb0
imulq $0x48, %rcx, %rcx
addq %rcx, %rax
movswl (%rax), %eax
movl %eax, -0x48(%rbp)
movl -0x44(%rbp), %eax
movl -0x48(%rbp), %ecx
subl %ecx, %eax
cmpl $0x0, %eax
jle 0x6b6a
movq -0x18(%rbp), %rax
movswl 0x2(%rax), %eax
movslq -0x4(%rbp), %rdx
leaq 0xd085(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl 0x2(%rcx), %ecx
cmpl %ecx, %eax
jge 0x6b6a
movl -0xc(%rbp), %eax
cmpl -0x4(%rbp), %eax
je 0x6b64
movq -0x18(%rbp), %rax
movswl 0x2(%rax), %eax
movslq -0xc(%rbp), %rdx
leaq 0xd05b(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl 0x2(%rcx), %ecx
cmpl %ecx, %eax
jl 0x6b6a
movl -0x10(%rbp), %eax
movl %eax, -0xc(%rbp)
jmp 0x6b6c
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x69b7
movl -0xc(%rbp), %eax
cmpl -0x4(%rbp), %eax
jne 0x6c2a
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %ecx
xorl %eax, %eax
cmpl 0xcbc8(%rip), %ecx      # 0x13760
movb %al, -0x49(%rbp)
jge 0x6bbd
movslq -0x10(%rbp), %rcx
leaq 0xd008(%rip), %rax      # 0x13bb0
imulq $0x48, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, %rax
setne %al
movb %al, -0x49(%rbp)
movb -0x49(%rbp), %al
testb $0x1, %al
jne 0x6bc6
jmp 0x6c28
movq -0x18(%rbp), %rax
movswl 0x2(%rax), %eax
movslq -0x4(%rbp), %rdx
leaq 0xcfd7(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl 0x2(%rcx), %ecx
cmpl %ecx, %eax
jge 0x6c18
movl -0xc(%rbp), %eax
cmpl -0x4(%rbp), %eax
je 0x6c12
movq -0x18(%rbp), %rax
movswl 0x2(%rax), %eax
movslq -0xc(%rbp), %rdx
leaq 0xcfad(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl 0x2(%rcx), %ecx
cmpl %ecx, %eax
jl 0x6c18
movl -0x10(%rbp), %eax
movl %eax, -0xc(%rbp)
jmp 0x6c1a
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x6b8d
jmp 0x6c2a
jmp 0x6ee7
cmpl $0x4, -0x8(%rbp)
jne 0x6ee5
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %ecx
xorl %eax, %eax
cmpl 0xcb15(%rip), %ecx      # 0x13760
movb %al, -0x4a(%rbp)
jge 0x6c70
movslq -0x10(%rbp), %rcx
leaq 0xcf55(%rip), %rax      # 0x13bb0
imulq $0x48, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, %rax
setne %al
movb %al, -0x4a(%rbp)
movb -0x4a(%rbp), %al
testb $0x1, %al
jne 0x6c7c
jmp 0x6e1b
movq -0x18(%rbp), %rax
movswl (%rax), %eax
movslq -0x4(%rbp), %rdx
leaq 0xcf22(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl (%rcx), %ecx
cmpl %ecx, %eax
jne 0x6cc2
movq -0x18(%rbp), %rax
movswl 0x4(%rax), %eax
movslq -0x4(%rbp), %rdx
leaq 0xcf01(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl 0x4(%rcx), %ecx
cmpl %ecx, %eax
je 0x6da1
movq -0x18(%rbp), %rax
movswl (%rax), %eax
movq -0x18(%rbp), %rcx
movswl 0x4(%rcx), %ecx
addl %ecx, %eax
movslq -0x4(%rbp), %rdx
leaq 0xced2(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl (%rcx), %ecx
movslq -0x4(%rbp), %rsi
leaq 0xcebd(%rip), %rdx      # 0x13bb0
imulq $0x48, %rsi, %rsi
addq %rsi, %rdx
movswl 0x4(%rdx), %edx
addl %edx, %ecx
cmpl %ecx, %eax
jge 0x6d1a
movq -0x18(%rbp), %rax
movswl (%rax), %eax
movq -0x18(%rbp), %rcx
movswl 0x4(%rcx), %ecx
addl %ecx, %eax
movl %eax, -0x50(%rbp)
jmp 0x6d4a
movslq -0x4(%rbp), %rcx
leaq 0xce8b(%rip), %rax      # 0x13bb0
imulq $0x48, %rcx, %rcx
addq %rcx, %rax
movswl (%rax), %eax
movslq -0x4(%rbp), %rdx
leaq 0xce76(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl 0x4(%rcx), %ecx
addl %ecx, %eax
movl %eax, -0x50(%rbp)
movl -0x50(%rbp), %eax
movl %eax, -0x54(%rbp)
movq -0x18(%rbp), %rax
movswl (%rax), %eax
movslq -0x4(%rbp), %rdx
leaq 0xce4e(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl (%rcx), %ecx
cmpl %ecx, %eax
jle 0x6d7c
movq -0x18(%rbp), %rax
movswl (%rax), %eax
movl %eax, -0x58(%rbp)
jmp 0x6d94
movslq -0x4(%rbp), %rcx
leaq 0xce29(%rip), %rax      # 0x13bb0
imulq $0x48, %rcx, %rcx
addq %rcx, %rax
movswl (%rax), %eax
movl %eax, -0x58(%rbp)
movl -0x54(%rbp), %eax
movl -0x58(%rbp), %ecx
subl %ecx, %eax
cmpl $0x0, %eax
jle 0x6e0b
movq -0x18(%rbp), %rax
movswl 0x2(%rax), %eax
movslq -0x4(%rbp), %rdx
leaq 0xcdfc(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl 0x2(%rcx), %ecx
movslq -0x4(%rbp), %rsi
leaq 0xcde6(%rip), %rdx      # 0x13bb0
imulq $0x48, %rsi, %rsi
addq %rsi, %rdx
movswl 0x6(%rdx), %edx
addl %edx, %ecx
cmpl %ecx, %eax
jl 0x6e0b
movl -0xc(%rbp), %eax
cmpl -0x4(%rbp), %eax
je 0x6e05
movq -0x18(%rbp), %rax
movswl 0x2(%rax), %eax
movslq -0xc(%rbp), %rdx
leaq 0xcdba(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl 0x2(%rcx), %ecx
cmpl %ecx, %eax
jg 0x6e0b
movl -0x10(%rbp), %eax
movl %eax, -0xc(%rbp)
jmp 0x6e0d
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x6c40
movl -0xc(%rbp), %eax
cmpl -0x4(%rbp), %eax
jne 0x6ee3
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %ecx
xorl %eax, %eax
cmpl 0xc927(%rip), %ecx      # 0x13760
movb %al, -0x59(%rbp)
jge 0x6e5e
movslq -0x10(%rbp), %rcx
leaq 0xcd67(%rip), %rax      # 0x13bb0
imulq $0x48, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, %rax
setne %al
movb %al, -0x59(%rbp)
movb -0x59(%rbp), %al
testb $0x1, %al
jne 0x6e67
jmp 0x6ee1
movq -0x18(%rbp), %rax
movswl 0x2(%rax), %eax
movslq -0x4(%rbp), %rdx
leaq 0xcd36(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl 0x2(%rcx), %ecx
movslq -0x4(%rbp), %rsi
leaq 0xcd20(%rip), %rdx      # 0x13bb0
imulq $0x48, %rsi, %rsi
addq %rsi, %rdx
movswl 0x6(%rdx), %edx
addl %edx, %ecx
cmpl %ecx, %eax
jl 0x6ed1
movl -0xc(%rbp), %eax
cmpl -0x4(%rbp), %eax
je 0x6ecb
movq -0x18(%rbp), %rax
movswl 0x2(%rax), %eax
movslq -0xc(%rbp), %rdx
leaq 0xccf4(%rip), %rcx      # 0x13bb0
imulq $0x48, %rdx, %rdx
addq %rdx, %rcx
movswl 0x2(%rcx), %ecx
cmpl %ecx, %eax
jg 0x6ed1
movl -0x10(%rbp), %eax
movl %eax, -0xc(%rbp)
jmp 0x6ed3
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x6e2e
jmp 0x6ee3
jmp 0x6ee5
jmp 0x6ee7
jmp 0x6ee9
jmp 0x6eeb
movl -0xc(%rbp), %eax
popq %rbp
retq