// File: /workspace/github_c_makefile_star2_O1/ukontainer[P]sqlite-bench/sqlite3.c
// Function: sqlite3WindowCodeStep
SQLITE_PRIVATE void sqlite3WindowCodeStep(
  Parse *pParse,                  /* Parse context */
  Select *p,                      /* Rewritten SELECT statement */
  WhereInfo *pWInfo,              /* Context returned by sqlite3WhereBegin() */
  int regGosub,                   /* Register for OP_Gosub */
  int addrGosub                   /* OP_Gosub here to return each row */
){
  Window *pMWin = p->pWin;

  /* There are three different functions that may be used to do the work
  ** of this one, depending on the window frame and the specific built-in
  ** window functions used (if any).
  **
  ** windowCodeRowExprStep() handles all "ROWS" window frames, except for:
  **
  **   ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW
  **
  ** The exception is because windowCodeRowExprStep() implements all window
  ** frame types by caching the entire partition in a temp table, and
  ** "ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW" is easy enough to
  ** implement without such a cache.
  **
  ** windowCodeCacheStep() is used for:
  **
  **   RANGE BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING
  **
  ** It is also used for anything not handled by windowCodeRowExprStep() 
  ** that invokes a built-in window function that requires the entire 
  ** partition to be cached in a temp table before any rows are returned
  ** (e.g. nth_value() or percent_rank()).
  **
  ** Finally, assuming there is no built-in window function that requires
  ** the partition to be cached, windowCodeDefaultStep() is used for:
  **
  **   RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW 
  **   RANGE BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING
  **   RANGE BETWEEN CURRENT ROW AND CURRENT ROW 
  **   ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW
  **
  ** windowCodeDefaultStep() is the only one of the three functions that
  ** does not cache each partition in a temp table before beginning to
  ** return rows.
  */
  if( pMWin->eType==TK_ROWS 
   && (pMWin->eStart!=TK_UNBOUNDED||pMWin->eEnd!=TK_CURRENT||!pMWin->pOrderBy)
  ){
    VdbeModuleComment((pParse->pVdbe, "Begin RowExprStep()"));
    windowCodeRowExprStep(pParse, p, pWInfo, regGosub, addrGosub);
  }else{
    Window *pWin;
    int bCache = 0;               /* True to use CacheStep() */

    if( pMWin->eStart==TK_CURRENT && pMWin->eEnd==TK_UNBOUNDED ){
      bCache = 1;
    }else{
      for(pWin=pMWin; pWin; pWin=pWin->pNextWin){
        FuncDef *pFunc = pWin->pFunc;
        if( (pFunc->funcFlags & SQLITE_FUNC_WINDOW_SIZE)
         || (pFunc->zName==nth_valueName)
         || (pFunc->zName==first_valueName)
         || (pFunc->zName==leadName)
         || (pFunc->zName==lagName)
        ){
          bCache = 1;
          break;
        }
      }
    }

    /* Otherwise, call windowCodeDefaultStep().  */
    if( bCache ){
      VdbeModuleComment((pParse->pVdbe, "Begin CacheStep()"));
      windowCodeCacheStep(pParse, p, pWInfo, regGosub, addrGosub);
    }else{
      VdbeModuleComment((pParse->pVdbe, "Begin DefaultStep()"));
      windowCodeDefaultStep(pParse, p, pWInfo, regGosub, addrGosub);
    }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movl %r8d, 0x4c(%rsp)
movl %ecx, 0x48(%rsp)
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %r14
movq 0x70(%rsi), %rbx
cmpb $0x4c, 0x18(%rbx)
jne 0x45eea9
cmpb $0x57, 0x19(%rbx)
jne 0x45ef6b
cmpb $0x52, 0x1a(%rbx)
jne 0x45ef6b
cmpq $0x0, 0x10(%rbx)
je 0x45ef6b
cmpb $0x52, 0x19(%rbx)
movq %r12, 0x50(%rsp)
jne 0x45eebe
cmpb $0x57, 0x1a(%rbx)
je 0x45ef46
testq %rbx, %rbx
je 0x45f2fa
xorl %edx, %edx
leaq 0xf1082(%rip), %rax     # 0x54ff52
leaq 0xf1085(%rip), %rcx     # 0x54ff5c
leaq 0xf108a(%rip), %rsi     # 0x54ff68
leaq 0xf1088(%rip), %rdi     # 0x54ff6d
movl $0x1, %r8d
movq %rbx, %r9
movq 0x40(%r9), %r10
testb $0x2, 0x6(%r10)
jne 0x45ef28
movq 0x38(%r10), %r10
cmpq %rax, %r10
setne %r11b
cmpq %rcx, %r10
setne %bpl
andb %r11b, %bpl
cmpq %rsi, %r10
setne %r11b
cmpq %rdi, %r10
setne %r10b
andb %r11b, %r10b
andb %bpl, %r10b
cmovel %r8d, %edx
jmp 0x45ef30
xorl %r10d, %r10d
movl $0x1, %edx
testb %r10b, %r10b
je 0x45ef3e
movq 0x30(%r9), %r9
testq %r9, %r9
jne 0x45eeee
testl %edx, %edx
je 0x45f2fa
movq %r13, 0x78(%rsp)
movq %r14, %rdi
callq 0x44e8aa
movq %rax, %r15
movq 0x10(%rbx), %rax
testq %rax, %rax
je 0x45f438
movl (%rax), %r13d
jmp 0x45f43b
movq %rbx, 0x68(%rsp)
movq %r14, %rdi
callq 0x44e8aa
movq %r12, %r15
movq %rax, %r12
movl 0x34(%r14), %eax
leal 0x1(%rax), %ecx
movl %ecx, 0x18(%rsp)
movq %rax, 0x38(%rsp)
addl $0x2, %eax
movl %eax, 0x34(%r14)
leaq 0x5c(%rsp), %rax
movl $0x0, (%rax)
movl 0x38(%r14), %ebx
incl %ebx
movl %ebx, 0x38(%r14)
movq %r12, %rdi
callq 0x450901
movl %eax, %ebp
movq %r12, %rdi
callq 0x450901
movl %eax, 0x20(%rsp)
movl 0x38(%r14), %eax
movq %r13, %rsi
movq %rax, %r13
addl $0x2, %eax
movl %eax, 0x10(%rsp)
movl %eax, 0x38(%r14)
movq %r14, 0x40(%rsp)
movq %r14, %rdi
movq %r15, %rdx
movl %ebx, 0x78(%rsp)
movl %ebx, %ecx
movl %ebp, %r8d
leaq 0x5c(%rsp), %r9
callq 0x46c935
movq %r12, %rdi
movl $0xb, %esi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x43bae0
movl %eax, 0x60(%rsp)
movq 0x18(%r12), %rax
movq 0x50(%rax), %rax
testq %rax, %rax
je 0x45f029
notl %ebp
movl 0xb8(%r12), %ecx
movslq %ebp, %rdx
movl %ecx, (%rax,%rdx,4)
incl %r13d
movl 0xb8(%r12), %ecx
addl $0x3, %ecx
movq %r12, %rdi
movl $0x11, %esi
xorl %edx, %edx
xorl %r8d, %r8d
callq 0x43bae0
movq 0x68(%rsp), %rbx
movl 0x48(%rbx), %ecx
movq %r12, %rdi
movl $0x6f, %esi
movq 0x38(%rsp), %rdx
xorl %r8d, %r8d
callq 0x43bae0
movl 0x48(%rbx), %ecx
movq %r12, %rdi
movl $0x6f, %esi
movl 0x18(%rsp), %edx
xorl %r8d, %r8d
callq 0x43bae0
movq 0x20(%rbx), %rsi
testq %rsi, %rsi
movq 0x40(%rsp), %rbp
je 0x45f0a3
movq %rbp, %rdi
movl %r13d, %edx
callq 0x44ea56
movq %rbp, %rdi
movl %r13d, %esi
xorl %edx, %edx
callq 0x46cb09
movq 0x28(%rbx), %rsi
testq %rsi, %rsi
je 0x45f0cf
movq %rbp, %rdi
movq %rbp, %r14
movl 0x10(%rsp), %ebp
movl %ebp, %edx
callq 0x44ea56
movq %r14, %rdi
movl %ebp, %esi
movq %r14, %rbp
movl $0x1, %edx
callq 0x46cb09
cmpq $0x0, 0x28(%rbx)
je 0x45f130
cmpb $0x53, 0x19(%rbx)
jne 0x45f130
movl 0xb8(%r12), %ecx
addl $0x2, %ecx
movq %r12, %rdi
movl $0x39, %esi
movl %r13d, %edx
movq %rbp, %r14
movl 0x10(%rsp), %ebp
movl %ebp, %r8d
callq 0x43bae0
movl 0x5c(%rsp), %edx
movq %r12, %rdi
movl $0x4e, %esi
movl %r13d, %ecx
xorl %r8d, %r8d
callq 0x43bae0
movq %r12, %rdi
movl $0x61, %esi
movl %r13d, %edx
movl %ebp, %ecx
movl %ebp, %r8d
movq %r14, %rbp
callq 0x43bae0
cmpq $0x0, 0x20(%rbx)
je 0x45f193
cmpb $0x55, 0x1a(%rbx)
jne 0x45f193
movl 0xb8(%r12), %ecx
addl $0x3, %ecx
movq %r12, %rdi
movl $0x37, %esi
movl %r13d, %edx
movl 0x10(%rsp), %r14d
movl %r14d, %r8d
callq 0x43bae0
movl 0x5c(%rsp), %ebp
movq %r12, %rdi
movl $0x4e, %esi
movl %ebp, %edx
movl %r13d, %ecx
xorl %r8d, %r8d
callq 0x43bae0
movq %r12, %rdi
movl $0x4e, %esi
movl %ebp, %edx
movq 0x40(%rsp), %rbp
movl %r14d, %ecx
xorl %r8d, %r8d
callq 0x43bae0
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x46cc06
movl %eax, %r15d
movl 0x48(%rbx), %edx
movq %r12, %rdi
movl $0x24, %esi
movl 0x20(%rsp), %r14d
movl %r14d, %ecx
xorl %r8d, %r8d
callq 0x43bae0
movq %r12, %rdi
movl $0x24, %esi
movq 0x38(%rsp), %rdx
movl %r14d, %ecx
xorl %r8d, %r8d
callq 0x43bae0
movslq 0xb8(%r12), %rax
testq %rax, %rax
jle 0x45f1f1
movq 0x68(%r12), %rcx
leaq (%rax,%rax,2), %rax
movw $0x1, -0x16(%rcx,%rax,8)
movl $0x0, 0x30(%rsp)
movq %r12, %rdi
movl $0x24, %esi
movl 0x18(%rsp), %edx
movl 0x20(%rsp), %ecx
xorl %r8d, %r8d
callq 0x43bae0
movslq 0xb8(%r12), %r14
testq %r14, %r14
jle 0x45f22e
movq 0x68(%r12), %rax
leaq (%r14,%r14,2), %rcx
movw $0x1, -0x16(%rax,%rcx,8)
movq %r14, 0x50(%rsp)
movq %r13, 0x70(%rsp)
cmpb $0x55, 0x1a(%rbx)
jne 0x45f25b
movq %r12, %rdi
movl $0x2f, %esi
movl 0x10(%rsp), %edx
xorl %ecx, %ecx
movl $0x1, %r8d
callq 0x43bae0
movl %eax, 0x30(%rsp)
movl 0xb8(%r12), %ecx
addl $0x2, %ecx
movq %r12, %rdi
movl $0x5, %esi
movl 0x18(%rsp), %r14d
movl %r14d, %edx
xorl %r8d, %r8d
callq 0x43bae0
movq %r12, %rdi
movl $0xb, %esi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x43bae0
movl %eax, %r13d
movl 0x5c(%rsp), %r9d
movq %rbp, %rdi
movq %rbx, %rsi
movl %r14d, %edx
xorl %ecx, %ecx
movl %r15d, %r8d
movl %r9d, 0x18(%rsp)
callq 0x46cd2b
movb 0x1a(%rbx), %cl
cmpb $0x57, %cl
jne 0x45f326
movq %r12, %rdi
movl $0xb, %esi
xorl %edx, %edx
movq 0x50(%rsp), %rcx
xorl %r8d, %r8d
callq 0x43bae0
movl 0xb8(%r12), %eax
movq (%r12), %rcx
cmpb $0x0, 0x61(%rcx)
je 0x45f6f7
leaq 0x145b1a(%rip), %rcx    # 0x5a4e08
movl %eax, %edx
movq %rdx, 0x50(%rsp)
jmp 0x45f75b
movq %r14, %rdi
callq 0x44e8aa
movq %rax, %r15
movq 0x28(%r13), %rax
movq 0x28(%rax), %rcx
movswl 0x46(%rcx), %ebp
movl 0x38(%r14), %ecx
cmpb $0x57, 0x1a(%rbx)
je 0x45f349
movq 0x10(%rbx), %rdx
movq %rdx, 0x20(%rsp)
jmp 0x45f352
movl 0xb8(%r12), %eax
movq (%r12), %rdx
movb 0x61(%rdx), %dl
testb %dl, %dl
je 0x45f700
leaq 0x145ac4(%rip), %rsi    # 0x5a4e08
jmp 0x45f71a
movq $0x0, 0x20(%rsp)
movl 0x48(%rax), %r13d
leal 0x1(%rcx), %r12d
movq 0x8(%rbx), %rax
movq %rax, 0x18(%rsp)
movq %rcx, 0x38(%rsp)
leal (%rcx,%rbp), %eax
addl $0x2, %eax
movq %r14, 0x40(%rsp)
movl %eax, 0x38(%r14)
testl %ebp, %ebp
jle 0x45f39d
xorl %r14d, %r14d
leal (%r12,%r14), %r8d
movq %r15, %rdi
movl $0x5a, %esi
movl %r13d, %edx
movl %r14d, %ecx
callq 0x43bae0
incl %r14d
cmpl %r14d, %ebp
jne 0x45f37e
movq 0x18(%rsp), %rdx
movq %rdx, %rax
movq 0x20(%rsp), %rsi
orq %rsi, %rax
movq 0x40(%rsp), %r14
je 0x45fe50
xorl %ecx, %ecx
movl $0x0, %eax
movq %rax, 0x10(%rsp)
testq %rdx, %rdx
je 0x45f3d0
movl (%rdx), %eax
movq %rax, 0x10(%rsp)
testq %rsi, %rsi
je 0x45f3d7
movl (%rsi), %ecx
testq %rdx, %rdx
movq %rcx, 0x30(%rsp)
je 0x45f734
movq %r14, %rdi
movl 0x68(%rbx), %r14d
addl %r12d, %r14d
movq %rdx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x45d7eb
movq %rax, %r13
movl 0x5c(%rbx), %ecx
movq %r15, %rdi
movl $0x57, %esi
movl %r14d, %edx
movq 0x10(%rsp), %r8
callq 0x43bae0
movl %eax, %r14d
movq (%r15), %rdi
cmpb $0x0, 0x61(%rdi)
je 0x45f9f0
movl $0xfffffff7, %esi       # imm = 0xFFFFFFF7
movq %r13, %rdx
callq 0x423499
jmp 0x45fa09
xorl %r13d, %r13d
testq %rax, %rax
movq %rax, 0x30(%rsp)
je 0x45f458
cmpb $0x52, 0x19(%rbx)
jne 0x45f458
cmpb $0x57, 0x1a(%rbx)
sete %al
movl %eax, 0x18(%rsp)
jmp 0x45f460
movl $0x0, 0x18(%rsp)
movq 0x8(%rbx), %rax
movq %rax, 0x80(%rsp)
movq %r15, %rdi
callq 0x450901
movl %eax, 0x38(%rsp)
movl 0x38(%r14), %eax
movq %r13, 0x68(%rsp)
movq %rax, 0x10(%rsp)
addl %eax, %r13d
incl %r13d
movl %r13d, 0x38(%r14)
movq %r15, %rdi
callq 0x450901
movl %eax, %r12d
movl 0x34(%r14), %ebp
movl 0x38(%r14), %ecx
leal 0x1(%rbp), %eax
movl %eax, 0x34(%r14)
incl %ecx
movl %ecx, 0x20(%rsp)
movl %ecx, 0x38(%r14)
leaq 0x64(%rsp), %r9
movq %r14, %rdi
movq 0x78(%rsp), %rsi
movq 0x50(%rsp), %rdx
movl %r13d, 0x50(%rsp)
movl %r13d, %ecx
movl %r12d, %r8d
callq 0x46c935
movq %r15, %rdi
movl $0xb, %esi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x43bae0
movl %eax, 0x60(%rsp)
movq 0x18(%r15), %rax
movq 0x50(%rax), %rax
testq %rax, %rax
je 0x45f50b
notl %r12d
movl 0xb8(%r15), %ecx
movslq %r12d, %rdx
movl %ecx, (%rax,%rdx,4)
movl 0xb8(%r15), %ecx
addl $0x2, %ecx
movq %r15, %rdi
movl $0x11, %esi
xorl %edx, %edx
xorl %r8d, %r8d
callq 0x43bae0
movl 0x48(%rbx), %ecx
movq %r15, %rdi
movl $0x6f, %esi
movl %ebp, %edx
xorl %r8d, %r8d
callq 0x43bae0
movq %r14, %rdi
movq %rbx, %rsi
callq 0x46cc06
movl %eax, %r13d
movq %r15, %rdi
movl $0x46, %esi
xorl %edx, %edx
movl 0x20(%rsp), %ecx
xorl %r8d, %r8d
callq 0x43bae0
movq %r15, %rdi
movl $0x24, %esi
movl %ebp, %edx
movl 0x38(%rsp), %r12d
movl %r12d, %ecx
xorl %r8d, %r8d
callq 0x43bae0
movl 0x48(%rbx), %edx
movq %r15, %rdi
movl $0x24, %esi
movl %r12d, %ecx
xorl %r8d, %r8d
callq 0x43bae0
cmpb $0x0, 0x18(%rsp)
je 0x45f5e6
movq %r14, %r12
movl 0xb8(%r15), %r14d
movl 0x64(%rsp), %r9d
movq %r12, %rdi
movq %rbx, %rsi
movl %ebp, %edx
xorl %ecx, %ecx
movl %r13d, %r8d
callq 0x46cd2b
movq %r15, %rdi
movl $0x5, %esi
movl %ebp, %edx
movl %r14d, %ecx
movq %r12, %r14
xorl %r8d, %r8d
callq 0x43bae0
movq %r15, %rdi
movl $0x24, %esi
movl %ebp, %edx
movl 0x38(%rsp), %ecx
xorl %r8d, %r8d
callq 0x43bae0
movl %r13d, 0x70(%rsp)
movl 0xb8(%r15), %eax
movl %eax, 0x78(%rsp)
movq 0x30(%rsp), %rsi
testq %rsi, %rsi
je 0x45fb7f
cmpb $0x52, 0x1a(%rbx)
je 0x45f614
cmpb $0x52, 0x19(%rbx)
jne 0x45fb7f
movb 0x19(%rbx), %cl
xorl %r9d, %r9d
cmpb $0x56, 0x18(%rbx)
movl $0x0, %r13d
jne 0x45fb17
movb %cl, 0x2f(%rsp)
xorl %edx, %edx
movq 0x80(%rsp), %rcx
testq %rcx, %rcx
je 0x45f640
movl (%rcx), %r13d
movq %r14, 0x40(%rsp)
movl 0x5c(%rbx), %eax
testq %rcx, %rcx
je 0x45f64f
movl (%rcx), %edx
addl %eax, %edx
movl %edx, 0x80(%rsp)
movl 0x68(%rbx), %r14d
movq 0x10(%rsp), %rax
incl %eax
movq %rax, 0x10(%rsp)
movq 0x40(%rsp), %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x45d7eb
movq %rax, 0x30(%rsp)
cmpl $0x0, 0x68(%rsp)
jle 0x45f6b5
addl %r14d, %r13d
movq 0x10(%rsp), %rax
movl %eax, %r12d
movq 0x68(%rsp), %rax
movl %eax, %r14d
movq %r15, %rdi
movl $0x5a, %esi
movl %ebp, %edx
movl %r13d, %ecx
movl %r12d, %r8d
callq 0x43bae0
incl %r12d
incl %r13d
decl %r14d
jne 0x45f695
movq %r15, %rdi
movl $0x57, %esi
movq 0x10(%rsp), %rdx
movl 0x80(%rsp), %ecx
movq 0x68(%rsp), %r8
callq 0x43bae0
movl %eax, %r12d
movq (%r15), %rdi
cmpb $0x0, 0x61(%rdi)
je 0x45fab0
movl $0xfffffff7, %esi       # imm = 0xFFFFFFF7
movq 0x30(%rsp), %rdx
callq 0x423499
jmp 0x45face
movl %eax, %ecx
movq %rcx, 0x50(%rsp)
jmp 0x45f741
leal -0x1(%rax), %esi
testl %r13d, %r13d
cmovnsl %r13d, %esi
movslq %esi, %rsi
leaq (%rsi,%rsi,2), %rsi
shlq $0x3, %rsi
addq 0x68(%r12), %rsi
movq 0x38(%rsp), %r13
movl %eax, 0x8(%rsi)
cmpb $0x55, %cl
jne 0x45f763
testb %dl, %dl
je 0x45f73c
leaq 0x1456d6(%rip), %rcx    # 0x5a4e08
jmp 0x45f760
xorl %r13d, %r13d
jmp 0x45fa63
movl 0x30(%rsp), %r13d
leal -0x1(%rax), %ecx
testl %r13d, %r13d
cmovnsl %r13d, %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
shlq $0x3, %rcx
addq 0x68(%r12), %rcx
movq 0x38(%rsp), %r13
movl %eax, 0x8(%rcx)
movl %r15d, %r14d
cmpb $0x53, 0x1a(%rbx)
jne 0x45f789
movq %r12, %rdi
movl $0x2f, %esi
movl 0x10(%rsp), %edx
xorl %ecx, %ecx
movl $0x1, %r8d
callq 0x43bae0
movl %eax, 0x30(%rsp)
xorl %r15d, %r15d
cmpb $0x53, 0x19(%rbx)
jne 0x45f7af
movq %r12, %rdi
movl $0x2f, %esi
movq 0x70(%rsp), %rdx
xorl %ecx, %ecx
movl $0x1, %r8d
callq 0x43bae0
movl %eax, %r15d
movq %rbp, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x46d17b
movq %rbp, %rdi
movq %rbx, %rsi
movl 0x48(%rsp), %edx
movl 0x4c(%rsp), %ecx
callq 0x46d353
movl 0x48(%rbx), %edx
movl 0xb8(%r12), %ecx
addl $0x2, %ecx
movq %r12, %rdi
movl $0x5, %esi
xorl %r8d, %r8d
callq 0x43bae0
movq %r12, %rdi
movl $0xb, %esi
xorl %edx, %edx
movl 0x20(%rsp), %ecx
xorl %r8d, %r8d
callq 0x43bae0
movzbl 0x19(%rbx), %eax
cmpl $0x52, %eax
je 0x45f867
cmpl $0x55, %eax
je 0x45f867
cmpl $0x53, %eax
jne 0x45f915
movl 0xb8(%r12), %ecx
movq (%r12), %rdx
cmpb $0x0, 0x61(%rdx)
je 0x45f835
leaq 0x1455d5(%rip), %rdx    # 0x5a4e08
jmp 0x45f84f
leal -0x1(%rcx), %edx
testl %r15d, %r15d
cmovnsl %r15d, %edx
movslq %edx, %rdx
leaq (%rdx,%rdx,2), %rdx
shlq $0x3, %rdx
addq 0x68(%r12), %rdx
movl %ecx, 0x8(%rdx)
addl $-0x52, %eax
cmpl $0x3, %eax
ja 0x45f915
cmpl $0x2, %eax
je 0x45f915
movq %r12, %rdi
callq 0x450901
movl %eax, %r15d
cmpb $0x55, 0x19(%rbx)
jne 0x45f893
movq %r12, %rdi
movl $0x2f, %esi
movq 0x70(%rsp), %rdx
movl %r15d, %ecx
movl $0x1, %r8d
callq 0x43bae0
cmpb $0x53, 0x19(%rbx)
movl 0xb8(%r12), %ecx
jne 0x45f8c6
addl $0x2, %ecx
movq %r12, %rdi
movl $0x5, %esi
movl %r13d, %edx
xorl %r8d, %r8d
callq 0x43bae0
movq %r12, %rdi
movl $0xb, %esi
xorl %edx, %edx
movl %r15d, %ecx
jmp 0x45f8d3
incl %ecx
movq %r12, %rdi
movl $0x5, %esi
movl %r13d, %edx
xorl %r8d, %r8d
callq 0x43bae0
movq %rbp, %rdi
movq %rbx, %rsi
movl %r13d, %edx
movl $0x1, %ecx
movl %r14d, %r8d
movl 0x18(%rsp), %r9d
callq 0x46cd2b
movq 0x18(%r12), %rax
movq 0x50(%rax), %rax
testq %rax, %rax
je 0x45f915
notl %r15d
movl 0xb8(%r12), %ecx
movslq %r15d, %rdx
movl %ecx, (%rax,%rdx,4)
cmpb $0x53, 0x1a(%rbx)
jne 0x45f955
movl 0xb8(%r12), %eax
movq (%r12), %rcx
cmpb $0x0, 0x61(%rcx)
je 0x45f936
leaq 0x1454d4(%rip), %rcx    # 0x5a4e08
jmp 0x45f952
leal -0x1(%rax), %ecx
movl 0x30(%rsp), %edx
testl %edx, %edx
cmovnsl %edx, %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
shlq $0x3, %rcx
addq 0x68(%r12), %rcx
movl %eax, 0x8(%rcx)
movq %r12, %rdi
movl $0xb, %esi
xorl %edx, %edx
movq 0x50(%rsp), %rcx
xorl %r8d, %r8d
callq 0x43bae0
movq 0x18(%r12), %rax
movq 0x50(%rax), %rax
testq %rax, %rax
je 0x45f98e
movl 0x20(%rsp), %edx
notl %edx
movl 0xb8(%r12), %ecx
movslq %edx, %rdx
movl %ecx, (%rax,%rdx,4)
movl 0x48(%rbx), %edx
movq %r12, %rdi
movl $0x8b, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x43bae0
movq %r12, %rdi
movl $0x42, %esi
movl 0x78(%rsp), %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x43bae0
movl 0xb8(%r12), %eax
movq (%r12), %rcx
cmpb $0x0, 0x61(%rcx)
jne 0x45fc4e
leal -0x1(%rax), %ecx
movl 0x60(%rsp), %edx
testl %edx, %edx
cmovnsl %edx, %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
shlq $0x3, %rcx
addq 0x68(%r12), %rcx
jmp 0x45fc72
movq 0x68(%r15), %rax
movslq 0xb8(%r15), %rcx
leaq (%rcx,%rcx,2), %rcx
movb $-0x9, -0x17(%rax,%rcx,8)
movq %r13, -0x8(%rax,%rcx,8)
addl $0x2, %r14d
movq %r15, %rdi
movl $0x10, %esi
movl %r14d, %edx
xorl %ecx, %ecx
movl %r14d, %r8d
callq 0x43bae0
movl %eax, %r13d
movq 0x40(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
movl $0x1, %edx
callq 0x46d17b
movq 0x20(%rsp), %rsi
testq %rsi, %rsi
je 0x45fa63
movq %r15, %rdi
movl $0xb, %esi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x43bae0
movq 0x20(%rsp), %rsi
movl %eax, 0x18(%rsp)
jmp 0x45fa6b
movl $0x0, 0x18(%rsp)
testq %rsi, %rsi
je 0x45fd89
movq 0x10(%rsp), %rax
leal (%rax,%r12), %edx
addl 0x68(%rbx), %edx
movl 0x5c(%rbx), %r14d
addl %eax, %r14d
testl %r13d, %r13d
je 0x45fca3
movl 0xb8(%r15), %eax
movq (%r15), %rcx
cmpb $0x0, 0x61(%rcx)
je 0x45fc87
leaq 0x14535d(%rip), %rcx    # 0x5a4e08
jmp 0x45fca0
movq 0x68(%r15), %rax
movslq 0xb8(%r15), %rcx
leaq (%rcx,%rcx,2), %rcx
movb $-0x9, -0x17(%rax,%rcx,8)
movq 0x30(%rsp), %rdx
movq %rdx, -0x8(%rax,%rcx,8)
movq 0x40(%rsp), %r14
addl $0x2, %r12d
movq %r15, %rdi
movl $0x10, %esi
movl %r12d, %edx
xorl %ecx, %ecx
movl %r12d, %r8d
callq 0x43bae0
movl %eax, %r13d
movq 0x68(%rsp), %r8
decl %r8d
movq %r15, %rdi
movl $0x4e, %esi
movq 0x10(%rsp), %rdx
movl 0x80(%rsp), %ecx
callq 0x43bae0
xorl %r9d, %r9d
movb 0x2f(%rsp), %cl
movl $0x0, %eax
cmpb $0x52, %cl
jne 0x45fb2a
movl 0x64(%rsp), %eax
movl 0x70(%rsp), %r9d
movl %eax, (%rsp)
movq %r14, %rdi
movq %rbx, %rsi
movl 0x20(%rsp), %edx
movl 0x48(%rsp), %ecx
movl 0x4c(%rsp), %r8d
callq 0x46d712
testl %r13d, %r13d
je 0x45fb7f
movl 0xb8(%r15), %eax
movq (%r15), %rcx
cmpb $0x0, 0x61(%rcx)
je 0x45fb63
leaq 0x1452a7(%rip), %rcx    # 0x5a4e08
jmp 0x45fb7c
leal -0x1(%rax), %ecx
testl %r13d, %r13d
cmovnsl %r13d, %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
shlq $0x3, %rcx
addq 0x68(%r15), %rcx
movl %eax, 0x8(%rcx)
cmpb $0x0, 0x18(%rsp)
jne 0x45fb9f
movl 0x64(%rsp), %r9d
movq %r14, %rdi
movq %rbx, %rsi
movl %ebp, %edx
xorl %ecx, %ecx
movl 0x70(%rsp), %r8d
callq 0x46cd2b
movq %r15, %rdi
movl $0x53, %esi
movl 0x20(%rsp), %r12d
movl %r12d, %edx
movl $0x1, %ecx
xorl %r8d, %r8d
callq 0x43bae0
movq %r15, %rdi
movl $0x5, %esi
movl %ebp, %edx
movl 0x78(%rsp), %ecx
xorl %r8d, %r8d
callq 0x43bae0
movl $0x0, (%rsp)
movq %r14, %rdi
movq %rbx, %rsi
movl %r12d, %edx
movl 0x48(%rsp), %ecx
movl 0x4c(%rsp), %r8d
xorl %r9d, %r9d
callq 0x46d712
movq 0x18(%r15), %rax
movq 0x50(%rax), %rax
testq %rax, %rax
je 0x45fc13
movl 0x38(%rsp), %edx
notl %edx
movl 0xb8(%r15), %ecx
movslq %edx, %rdx
movl %ecx, (%rax,%rdx,4)
movl 0x48(%rbx), %edx
movq %r15, %rdi
movl $0x8b, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x43bae0
movq %r15, %rdi
movl $0x42, %esi
movl 0x50(%rsp), %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x43bae0
movl 0xb8(%r15), %eax
movq (%r15), %rcx
cmpb $0x0, 0x61(%rcx)
je 0x45fc57
leaq 0x1451b3(%rip), %rcx    # 0x5a4e08
jmp 0x45fc72
leal -0x1(%rax), %ecx
movl 0x60(%rsp), %edx
testl %edx, %edx
cmovnsl %edx, %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
shlq $0x3, %rcx
addq 0x68(%r15), %rcx
movl %eax, 0x8(%rcx)
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leal -0x1(%rax), %ecx
testl %r13d, %r13d
cmovnsl %r13d, %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
shlq $0x3, %rcx
addq 0x68(%r15), %rcx
movl %eax, 0x8(%rcx)
xorl %r13d, %r13d
cmpb $0x56, 0x18(%rbx)
jne 0x45fd35
movq 0x40(%rsp), %rdi
movl %edx, %r13d
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x45d7eb
movq %rax, 0x20(%rsp)
movq %r15, %rdi
movl $0x57, %esi
movl %r13d, %edx
movl %r14d, %ecx
movq 0x30(%rsp), %r8
callq 0x43bae0
movl %eax, %r14d
movq (%r15), %rdi
cmpb $0x0, 0x61(%rdi)
je 0x45fcfb
movl $0xfffffff7, %esi       # imm = 0xFFFFFFF7
movq 0x20(%rsp), %rdx
callq 0x423499
jmp 0x45fd19
movq 0x68(%r15), %rax
movslq 0xb8(%r15), %rcx
leaq (%rcx,%rcx,2), %rcx
movb $-0x9, -0x17(%rax,%rcx,8)
movq 0x20(%rsp), %rdx
movq %rdx, -0x8(%rax,%rcx,8)
addl $0x2, %r14d
movq %r15, %rdi
movl $0x10, %esi
movl %r14d, %edx
xorl %ecx, %ecx
movl %r14d, %r8d
callq 0x43bae0
movl %eax, %r13d
xorl %edx, %edx
cmpb $0x52, 0x19(%rbx)
sete %dl
movq 0x40(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x46d17b
movl 0x18(%rsp), %edx
testl %edx, %edx
je 0x45fd89
movl 0xb8(%r15), %eax
movq (%r15), %rcx
cmpb $0x0, 0x61(%rcx)
je 0x45fd6f
leaq 0x14509b(%rip), %rcx    # 0x5a4e08
jmp 0x45fd86
leal -0x1(%rax), %ecx
testl %edx, %edx
cmovnsl %edx, %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
shlq $0x3, %rcx
addq 0x68(%r15), %rcx
movl %eax, 0x8(%rcx)
movl 0x48(%rbx), %edx
movl 0xb8(%r15), %ecx
addl $0x3, %ecx
movq %r15, %rdi
movl $0x24, %esi
xorl %r8d, %r8d
callq 0x43bae0
movq %r15, %rdi
movl $0xc, %esi
movl 0x48(%rsp), %edx
movl 0x4c(%rsp), %ecx
xorl %r8d, %r8d
callq 0x43bae0
movl 0x48(%rbx), %edx
movl 0xb8(%r15), %ecx
decl %ecx
movq %r15, %rdi
movl $0x5, %esi
xorl %r8d, %r8d
callq 0x43bae0
movl 0x48(%rbx), %edx
movq %r15, %rdi
movl $0x8b, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x43bae0
movl 0x68(%rbx), %edx
addl %r12d, %edx
movl 0x5c(%rbx), %ecx
movq 0x10(%rsp), %rax
movq 0x30(%rsp), %rsi
leal (%rax,%rsi), %r8d
decl %r8d
movq %r15, %rdi
movl $0x4e, %esi
callq 0x43bae0
testl %r13d, %r13d
je 0x45fe50
movl 0xb8(%r15), %eax
movq (%r15), %rcx
cmpb $0x0, 0x61(%rcx)
je 0x45fe34
leaq 0x144fd6(%rip), %rcx    # 0x5a4e08
jmp 0x45fe4d
leal -0x1(%rax), %ecx
testl %r13d, %r13d
cmovnsl %r13d, %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
shlq $0x3, %rcx
addq 0x68(%r15), %rcx
movl %eax, 0x8(%rcx)
movq 0x38(%rsp), %rax
leal (%rax,%rbp), %r13d
incl %r13d
movq %r14, %rdi
movq %rbx, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
xorl %ecx, %ecx
movl %r12d, %r8d
xorl %r9d, %r9d
callq 0x46cd2b
movl 0x68(%rbx), %ecx
movq %r15, %rdi
testl %ecx, %ecx
jle 0x45fe90
movl $0x66, %esi
movl %r12d, %edx
movl %r13d, %r8d
callq 0x43bae0
jmp 0x45fecb
movl $0x4b, %esi
xorl %edx, %edx
movl %r13d, %ecx
xorl %r8d, %r8d
callq 0x43bae0
movq (%r15), %rax
cmpb $0x0, 0x61(%rax)
jne 0x45fecb
movq 0x68(%r15), %rax
movslq 0xb8(%r15), %rcx
leaq (%rcx,%rcx,2), %rcx
movb $0x0, -0x17(%rax,%rcx,8)
leaq 0x1123a7(%rip), %rdx    # 0x57226d
movq %rdx, -0x8(%rax,%rcx,8)
leal 0x1(%r13), %ebp
movl 0x48(%rbx), %edx
movq %r15, %rdi
movl $0x79, %esi
movl %ebp, %ecx
xorl %r8d, %r8d
callq 0x43bae0
movl 0x48(%rbx), %edx
movq %r15, %rdi
movl $0x7a, %esi
movl %r13d, %ecx
movl %ebp, %r8d
callq 0x43bae0
movq 0x50(%rsp), %rdi
callq 0x460b22
movq %r14, %rdi
movq %rbx, %rsi
movl $0x1, %edx
callq 0x46d17b
movl 0x48(%rbx), %edx
movl 0xb8(%r15), %ecx
addl $0x3, %ecx
movq %r15, %rdi
movl $0x24, %esi
xorl %r8d, %r8d
callq 0x43bae0
movq %r15, %rdi
movl $0xc, %esi
movl 0x48(%rsp), %edx
movl 0x4c(%rsp), %ecx
xorl %r8d, %r8d
callq 0x43bae0
movl 0x48(%rbx), %edx
movl 0xb8(%r15), %ecx
decl %ecx
movq %r15, %rdi
movl $0x5, %esi
xorl %r8d, %r8d
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x43bae0