// File: /workspace/github_c_makefile_star2_O1/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: sqlite3_step
SQLITE_API int sqlite3_step(sqlite3_stmt *pStmt){
  int rc = SQLITE_OK;      /* Result from sqlite3Step() */
  int rc2 = SQLITE_OK;     /* Result from sqlite3Reprepare() */
  Vdbe *v = (Vdbe*)pStmt;  /* the prepared statement */
  int cnt = 0;             /* Counter to prevent infinite loop of reprepares */
  sqlite3 *db;             /* The database connection */

  if( vdbeSafetyNotNull(v) ){
    return SQLITE_MISUSE_BKPT;
  }
  db = v->db;
  sqlite3_mutex_enter(db->mutex);
  v->doingRerun = 0;
  while( (rc = sqlite3Step(v))==SQLITE_SCHEMA
         && cnt++ < SQLITE_MAX_SCHEMA_RETRY
         && (rc2 = rc = sqlite3Reprepare(v))==SQLITE_OK ){
    sqlite3_reset(pStmt);
    v->doingRerun = 1;
    assert( v->expired==0 );
  }
  if( rc2!=SQLITE_OK && ALWAYS(v->isPrepareV2) && ALWAYS(db->pErr) ){
    /* This case occurs after failing to recompile an sql statement. 
    ** The error message from the SQL compiler has already been loaded 
    ** into the database handle. This block copies the error message 
    ** from the database handle into the statement and sets the statement
    ** program counter to 0 to ensure that when the statement is 
    ** finalized or reset the parser error message is available via
    ** sqlite3_errmsg() and sqlite3_errcode().
    */
    const char *zErr = (const char *)sqlite3_value_text(db->pErr); 
    sqlite3DbFree(db, v->zErrMsg);
    if( !db->mallocFailed ){
      v->zErrMsg = sqlite3DbStrDup(db, zErr);
      v->rc = rc2;
    } else {
      v->zErrMsg = 0;
      v->rc = rc = SQLITE_NOMEM;
    }
  }
  rc = sqlite3ApiExit(db, rc);
  sqlite3_mutex_leave(db->mutex);
  return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x198, %rsp            # imm = 0x198
movq %rdi, %r14
callq 0x100d8
testl %eax, %eax
je 0xf51b
leaq 0x6deeb(%rip), %rsi     # 0x7d3e4
leaq 0x6a039(%rip), %rcx     # 0x79539
movl $0x15, %ebx
movl $0x15, %edi
movl $0xf933, %edx           # imm = 0xF933
xorl %eax, %eax
callq 0xb8cc
jmp 0x100c4
movq (%r14), %r12
movzwl 0x9a(%r14), %eax
andl $0xf7ff, %eax           # imm = 0xF7FF
leaq 0xc0(%r14), %rcx
movq %rcx, -0x78(%rbp)
leaq 0x58(%r14), %rcx
movq %rcx, -0x80(%rbp)
xorl %r15d, %r15d
movq %r12, -0x88(%rbp)
movw %ax, 0x9a(%r14)
cmpl $0xbdf20da3, 0x50(%r14) # imm = 0xBDF20DA3
je 0xf562
movq %r14, %rdi
callq 0xea74
movq (%r14), %r12
cmpb $0x0, 0x50(%r12)
je 0xf583
movl $0x7, 0x94(%r14)
movl $0x7, %r13d
jmp 0xf90f
movl 0x90(%r14), %eax
testl %eax, %eax
jg 0xf59c
testb $0x20, 0x9a(%r14)
jne 0xf69f
testl %eax, %eax
jns 0xf611
cmpl $0x0, 0x9c(%r12)
jne 0xf5b7
movl $0x0, 0x148(%r12)
cmpq $0x0, 0xc8(%r12)
je 0xf5da
cmpb $0x0, 0x99(%r12)
jne 0xf5da
movq (%r12), %rdi
movq -0x78(%rbp), %rsi
callq 0x25588
incl 0x9c(%r12)
testb $0x1, 0x9b(%r14)
jne 0xf5f4
incl 0xa4(%r12)
testb $0x2, 0x9b(%r14)
je 0xf606
incl 0xa0(%r12)
movl $0x0, 0x90(%r14)
testb $0x3, 0x9a(%r14)
je 0xf653
movl %r15d, -0x2c(%rbp)
movq (%r14), %r15
movq 0x10(%r14), %rbx
leaq 0x38(%rbx), %r13
movq %r13, %rdi
movl $0x8, %esi
callq 0x2309b
movq $0x0, 0x28(%r14)
cmpl $0x7, 0x94(%r14)
jne 0xf673
movb $0x1, 0x50(%r15)
jmp 0xf798
incl 0xa8(%r12)
movq %r14, %rdi
callq 0x255dc
movl %eax, %r13d
decl 0xa8(%r12)
jmp 0xf7b5
movl 0x34(%r14), %edx
movzwl 0x9a(%r14), %ecx
andl $0x3, %ecx
cmpw $0x1, %cx
movq %r13, -0x48(%rbp)
jne 0xf6b5
movq 0x10(%r14), %rdi
testb $0x10, 0x21c(%rdi)
jne 0xf6c3
xorl %eax, %eax
xorl %esi, %esi
jmp 0xf6d3
movl $0x11, 0x94(%r14)
movl $0x1, %r13d
jmp 0xf8e7
xorl %eax, %eax
movq $0x0, -0x58(%rbp)
xorl %esi, %esi
jmp 0xf6fc
movl 0x218(%rdi), %esi
sarl $0x3, %esi
movq 0x200(%rdi), %rax
addq $0x1f8, %rdi            # imm = 0x1F8
movq %rdi, -0x58(%rbp)
testl %esi, %esi
jle 0xf6fc
movl %esi, %r8d
xorl %r9d, %r9d
movl %edx, %edi
movq (%rax,%r9,8), %r10
addl 0x8(%r10), %edi
incq %r9
cmpq %r9, %r8
jne 0xf6ea
jmp 0xf6fe
movl %edx, %edi
movl %esi, %esi
movq %rsi, -0x38(%rbp)
movslq 0x90(%r14), %r10
movslq %edi, %r8
movq %r10, %r11
shlq $0x20, %r11
leaq (,%r10,8), %rsi
leaq (%rsi,%rsi,2), %r9
movq %r10, %rsi
movq %r11, %rdi
cmpw $0x2, %cx
jne 0xf753
cmpq %r8, %rsi
jge 0xf753
movq 0x8(%r14), %r13
leaq 0x1(%rsi), %r10
movabsq $0x100000000, %r11      # imm = 0x100000000
addq %rdi, %r11
cmpb $-0x6a, (%r13,%r9)
leaq 0x18(%r9), %r9
jne 0xf721
leal 0x1(%rsi), %r9d
movl %r9d, 0x90(%r14)
cmpq %r8, %rsi
jge 0xf7a0
cmpl $0x0, 0x148(%r15)
je 0xfa6c
movl $0x9, 0x94(%r14)
movq -0x80(%rbp), %rdi
movq %r15, %rsi
leaq 0x69f4f(%rip), %rdx     # 0x796d9
leaq 0x6d9b7(%rip), %rcx     # 0x7d148
xorl %eax, %eax
callq 0x24616
movl $0x1, %r13d
jmp 0xf7b1
movl $0x0, 0x94(%r14)
movl $0x65, %r13d
movl -0x2c(%rbp), %r15d
cmpl $0x64, %r13d
je 0xf8c3
cmpq $0x0, 0xc8(%r12)
je 0xf81b
cmpb $0x0, 0x99(%r12)
jne 0xf81b
cmpq $0x0, 0xe0(%r14)
je 0xf81b
movq (%r12), %rdi
leaq -0x1b0(%rbp), %rsi
callq 0x25588
movq 0xd0(%r12), %rdi
movq 0xe0(%r14), %rsi
movq -0x1b0(%rbp), %rax
subq 0xc0(%r14), %rax
imulq $0xf4240, %rax, %rdx    # imm = 0xF4240
callq *0xc8(%r12)
cmpl $0x65, %r13d
jne 0xf8c3
movl %r15d, -0x2c(%rbp)
cmpl $0x0, 0x28(%r12)
jle 0xf8a5
xorl %ebx, %ebx
movl $0x8, %r15d
xorl %eax, %eax
movq 0x20(%r12), %rdx
movq (%rdx,%r15), %rcx
testq %rcx, %rcx
je 0xf892
movq 0x8(%rcx), %rcx
movq (%rcx), %rcx
movq 0x118(%rcx), %rsi
testq %rsi, %rsi
je 0xf868
movl 0x18(%rsi), %ecx
movl $0x0, 0x18(%rsi)
jmp 0xf86a
xorl %ecx, %ecx
movq 0x108(%r12), %r8
testq %r8, %r8
je 0xf892
testl %ecx, %ecx
jle 0xf892
testl %eax, %eax
jne 0xf892
movq 0x110(%r12), %rdi
movq -0x8(%rdx,%r15), %rdx
movq %r12, %rsi
callq *%r8
incq %rbx
movslq 0x28(%r12), %rcx
addq $0x20, %r15
cmpq %rcx, %rbx
jl 0xf83b
jmp 0xf8a7
xorl %eax, %eax
movl %eax, 0x94(%r14)
testl %eax, %eax
movl $0x1, %r13d
movl $0x65, %eax
cmovel %eax, %r13d
movl -0x2c(%rbp), %r15d
movl %r13d, 0x44(%r12)
movq (%r14), %rdi
movl 0x94(%r14), %esi
callq 0xea22
cmpl $0x7, %eax
jne 0xf8e7
movl $0x7, 0x94(%r14)
leal -0x66(%r13), %eax
cmpl $-0x3, %eax
ja 0xf90a
movzwl 0x9a(%r14), %eax
andl $0x400, %eax            # imm = 0x400
je 0xf90a
movq %r14, %rdi
callq 0x23732
movl %eax, %r13d
andl 0x48(%r12), %r13d
xorl %ebx, %ebx
cmpl $0x11, %r13d
movq -0x88(%rbp), %r12
jne 0x10056
cmpl $0x32, %r15d
je 0x10050
testq %r14, %r14
je 0xf93b
testb $0x4, 0x9b(%r14)
jne 0xf942
movl %r15d, %r13d
xorl %esi, %esi
jmp 0xf94c
movl %r15d, %r13d
movq 0xe0(%r14), %rsi
movq (%r14), %r15
movq $0x0, (%rsp)
movq %r15, %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
xorl %ecx, %ecx
movq %r14, %r8
leaq -0x70(%rbp), %r9
callq 0x12dde
testl %eax, %eax
je 0xf986
movl %eax, %ebx
cmpl $0x7, %eax
jne 0xfa41
movb $0x1, 0x50(%r15)
jmp 0xfa41
movq -0x70(%rbp), %rbx
movl $0x128, %edx            # imm = 0x128
leaq -0x1b0(%rbp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x82f0
movl $0x128, %edx            # imm = 0x128
movq %rbx, %rdi
movq %r14, %rsi
callq 0x82f0
movl $0x128, %edx            # imm = 0x128
movq %r14, %rdi
movq %r15, %rsi
callq 0x82f0
movq 0x68(%rbx), %rax
movq 0x68(%r14), %rcx
movq %rcx, 0x68(%rbx)
movq %rax, 0x68(%r14)
movq 0x60(%rbx), %rax
movq 0x60(%r14), %rcx
movq %rcx, 0x60(%rbx)
movq %rax, 0x60(%r14)
movq 0xe0(%rbx), %rax
movq 0xe0(%r14), %rcx
movq %rcx, 0xe0(%rbx)
movq %rax, 0xe0(%r14)
movzwl 0x9a(%rbx), %eax
andl $0x400, %eax            # imm = 0x400
movzwl 0x9a(%r14), %ecx
andl $0xfffffbff, %ecx       # imm = 0xFFFFFBFF
orl %eax, %ecx
movw %cx, 0x9a(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10ddb
movq -0x70(%rbp), %rdi
movl $0x0, 0x94(%rdi)
callq 0xe9e9
xorl %ebx, %ebx
movl %r13d, %r15d
movl %ebx, %r13d
testl %ebx, %ebx
jne 0x10056
incl %r15d
movq %r14, %rdi
callq 0xea74
movzwl 0x9a(%r14), %eax
orl $0x800, %eax            # imm = 0x800
jmp 0xf548
cmpl %esi, %edx
jle 0xfa8a
sarq $0x20, %rdi
leaq (%rdi,%rdi,2), %rdi
shlq $0x3, %rdi
addq 0x8(%r14), %rdi
movl -0x2c(%rbp), %r15d
movq -0x48(%rbp), %r13
jmp 0xfac6
subl %edx, %esi
movq (%rax), %rdx
movl 0x8(%rdx), %edi
cmpl %edi, %esi
movq -0x48(%rbp), %r13
jge 0xfaa0
movl -0x2c(%rbp), %r15d
jmp 0xfab8
leaq 0x8(%rax), %r8
movl -0x2c(%rbp), %r15d
subl %edi, %esi
movq (%r8), %rdx
movl 0x8(%rdx), %edi
addq $0x8, %r8
cmpl %edi, %esi
jge 0xfaa8
movslq %esi, %rdi
leaq (%rdi,%rdi,2), %rdi
shlq $0x3, %rdi
addq (%rdx), %rdi
cmpw $0x1, %cx
movq %rdi, -0x50(%rbp)
jne 0xfbaa
movw $0x4, 0x5c(%rbx)
movb $0x1, 0x5e(%rbx)
movslq %esi, %rcx
movq %rcx, 0x50(%rbx)
movw $0xa02, 0x94(%rbx)      # imm = 0xA02
movzbl (%rdi), %ecx
leaq 0x833f8(%rip), %rdx     # 0x92ef0
movq (%rdx,%rcx,8), %rdx
movq %rdx, 0x78(%rbx)
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
incl %ecx
cmpb $0x0, (%rdx)
leaq 0x1(%rdx), %rdx
jne 0xfb05
andl $0x3fffffff, %ecx       # imm = 0x3FFFFFFF
movl %ecx, 0x90(%rbx)
movw $0x103, 0x96(%rbx)      # imm = 0x103
addq $0xa8, %rbx
cmpb $-0x12, 0x1(%rdi)
movq -0x38(%rbp), %r8
jne 0xfba7
testl %r8d, %r8d
jle 0xfb54
movq 0x10(%rdi), %rdx
xorl %ecx, %ecx
cmpq %rdx, (%rax,%rcx,8)
je 0xfb56
incq %rcx
cmpq %rcx, %r8
jne 0xfb41
movl %r8d, %ecx
jmp 0xfb56
xorl %ecx, %ecx
cmpl %r8d, %ecx
jne 0xfba7
leal 0x8(,%r8,8), %esi
xorl %edx, %edx
testq %r8, %r8
setne %dl
movq -0x58(%rbp), %r13
movq %r13, %rdi
movl %esi, -0x48(%rbp)
callq 0x1025e
testl %eax, %eax
je 0xfb87
movq %rbx, %r13
movq -0x50(%rbp), %rdi
jmp 0xfbaa
movq 0x8(%r13), %rax
movq -0x50(%rbp), %rdi
movq 0x10(%rdi), %rcx
movslq -0x38(%rbp), %rdx
movq %rcx, (%rax,%rdx,8)
orb $0x10, 0x24(%r13)
movl -0x48(%rbp), %eax
movl %eax, 0x20(%r13)
movq %rbx, %r13
movw $0x4, %cx
movw %cx, 0x24(%r13)
movslq 0x4(%rdi), %rax
movq %rax, 0x18(%r13)
movb $0x1, %dl
movb %dl, 0x26(%r13)
movw %cx, 0x5c(%r13)
movslq 0x8(%rdi), %rax
movq %rax, 0x50(%r13)
movb %dl, 0x5e(%r13)
movw %cx, 0x94(%r13)
movslq 0xc(%rdi), %rax
movq %rax, 0x88(%r13)
movb %dl, 0x96(%r13)
leaq 0xa8(%r13), %rbx
movq %rbx, %rdi
movl $0x20, %esi
xorl %edx, %edx
callq 0x1025e
movq %r13, %rcx
movl $0x1, %r13d
testl %eax, %eax
jne 0xf7b5
movq %rbx, -0x38(%rbp)
movw $0x602, 0xcc(%rcx)      # imm = 0x602
movq %rcx, -0x48(%rbp)
movq 0xb0(%rcx), %r9
movq -0x50(%rbp), %rcx
movzbl 0x1(%rcx), %eax
addl $0xffffff13, %eax       # imm = 0xFFFFFF13
cmpl $0xf, %eax
movq %rcx, %rdx
ja 0xffe2
leaq 0x65431(%rip), %rcx     # 0x7507c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x10(%rdx), %rax
movq %rax, -0x68(%rbp)
movzwl 0xa(%rax), %ecx
xorl %ebx, %ebx
movl $0x20, %edi
movq %r9, %rsi
leaq 0x6a0d4(%rip), %rdx     # 0x79d45
xorl %eax, %eax
movq %r9, -0x40(%rbp)
callq 0xb859
movq -0x40(%rbp), %rdx
testq %rdx, %rdx
je 0xfc9e
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
movq %rdx, %rax
incl %ebx
cmpb $0x0, (%rax)
leaq 0x1(%rax), %rax
jne 0xfc8d
andl $0x3fffffff, %ebx       # imm = 0x3FFFFFFF
movq -0x68(%rbp), %rcx
cmpw $0x0, 0xa(%rcx)
je 0xfd5d
xorl %edi, %edi
movq 0x18(%rcx,%rdi,8), %rax
leaq 0x6a095(%rip), %rsi     # 0x79d50
testq %rax, %rax
je 0xfcc3
movq (%rax), %rsi
testq %rsi, %rsi
je 0xfce6
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
movq %rsi, %rax
incl %r15d
cmpb $0x0, (%rax)
leaq 0x1(%rax), %rax
jne 0xfcd1
andl $0x3fffffff, %r15d      # imm = 0x3FFFFFFF
jmp 0xfce9
xorl %r15d, %r15d
leal (%r15,%rbx), %r8d
movl %ebx, %eax
cmpl $0x1b, %r8d
jge 0xfd17
movb $0x2c, (%rdx,%rax)
incq %rax
movq 0x10(%rcx), %rcx
cmpb $0x0, (%rcx,%rdi)
movq %rdi, -0x58(%rbp)
movl %r8d, -0x5c(%rbp)
je 0xfd20
addl $0x2, %ebx
movb $0x2d, (%rdx,%rax)
jmp 0xfd22
movl $0x2e2e2e2c, (%rdx,%rax) # imm = 0x2E2E2E2C
jmp 0xfd43
movl %eax, %ebx
movl %ebx, %edi
addq %rdx, %rdi
leal 0x1(%r15), %edx
callq 0x82f0
movq -0x40(%rbp), %rdx
addl %r15d, %ebx
movq -0x68(%rbp), %rcx
movq -0x58(%rbp), %rdi
movl -0x5c(%rbp), %r8d
cmpl $0x1b, %r8d
movl -0x2c(%rbp), %r15d
jge 0xfd5d
incq %rdi
movzwl 0xa(%rcx), %eax
cmpq %rax, %rdi
jb 0xfcaf
movl %ebx, %eax
movw $0x29, (%rdx,%rax)
movq %rdx, %rsi
jmp 0xfecc
movq 0x10(%rdx), %rax
movq 0x30(%rax), %rcx
movswl (%rax), %r8d
movl $0x20, %edi
movq %r9, %rsi
leaq 0x69fdb(%rip), %rdx     # 0x79d63
xorl %eax, %eax
movq %r9, %rbx
callq 0xb859
jmp 0xfec9
movl 0x10(%rdx), %ecx
movl $0x20, %edi
movq %r9, %rsi
leaq 0x6b8f5(%rip), %rdx     # 0x7b69e
xorl %eax, %eax
movq %r9, %rbx
callq 0xb859
jmp 0xfec9
movq 0x10(%rdx), %rax
movq (%rax), %rcx
movl $0x20, %edi
movq %r9, %rsi
leaq 0x69f86(%rip), %rdx     # 0x79d54
jmp 0xfdf2
movb $0x0, (%r9)
movq %r9, %rsi
jmp 0xfecc
movq 0x10(%rdx), %rax
movq (%rax), %rcx
movl $0x20, %edi
movq %r9, %rsi
leaq 0x6abf8(%rip), %rdx     # 0x7a9ea
xorl %eax, %eax
movq %r9, %rbx
callq 0xb859
jmp 0xfec9
movl $0x20, %edi
movq %r9, %rsi
leaq 0x6b870(%rip), %rdx     # 0x7b680
jmp 0xfe47
movq 0x10(%rdx), %rax
movsd (%rax), %xmm0
movl $0x20, %edi
movq %r9, %rsi
leaq 0x69f41(%rip), %rdx     # 0x79d6a
movb $0x1, %al
movq %r9, %rbx
callq 0xb859
jmp 0xfec9
movl $0x20, %edi
movq %r9, %rsi
leaq 0x69f3b(%rip), %rdx     # 0x79d82
xorl %eax, %eax
movq %r9, %rbx
callq 0xb859
jmp 0xfec9
movq 0x10(%rdx), %rax
movzwl 0x24(%rax), %ecx
testb $0x2, %cl
jne 0xffff
testb $0x4, %cl
movq -0x38(%rbp), %rbx
jne 0x10008
testb $0x8, %cl
jne 0x10028
leaq 0x69eef(%rip), %rsi     # 0x79d70
testb $0x1, %cl
je 0xfed0
movl $0x20, %edi
movq %r9, %rsi
leaq 0x6c5da(%rip), %rdx     # 0x7c46f
xorl %eax, %eax
movq %r9, -0x40(%rbp)
callq 0xb859
jmp 0x10047
movq 0x10(%rdx), %rax
movq 0x10(%rax), %rcx
movq (%rcx), %r8
movl $0x20, %edi
movq %r9, %rsi
leaq 0x69eb8(%rip), %rdx     # 0x79d77
xorl %eax, %eax
movq %r9, %rbx
callq 0xb859
movq %rbx, %rsi
movq -0x38(%rbp), %rbx
movq -0x48(%rbp), %rax
movq 0xb0(%rax), %rcx
cmpq %rcx, %rsi
je 0xfefb
movq %rbx, %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl $0x1, %ecx
xorl %r8d, %r8d
callq 0xeff4
movq -0x48(%rbp), %rbx
jmp 0xff2a
testq %rcx, %rcx
je 0xff17
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
incl %eax
cmpb $0x0, (%rcx)
leaq 0x1(%rcx), %rcx
jne 0xff05
andl $0x3fffffff, %eax       # imm = 0x3FFFFFFF
jmp 0xff19
xorl %eax, %eax
movq -0x48(%rbp), %rbx
movl %eax, 0xc8(%rbx)
movb $0x1, 0xcf(%rbx)
movb $0x3, 0xce(%rbx)
movzwl 0x9a(%r14), %eax
andl $0x3, %eax
cmpw $0x1, %ax
jne 0xffab
leaq 0xe0(%rbx), %rdi
movl $0x4, %esi
xorl %edx, %edx
callq 0x1025e
testl %eax, %eax
jne 0xf7b5
movw $0x602, 0x104(%rbx)     # imm = 0x602
movl $0x2, 0x100(%rbx)
movq 0xe8(%rbx), %rsi
movq -0x50(%rbp), %rax
movzbl 0x3(%rax), %ecx
movl $0x3, %edi
leaq 0x69986(%rip), %rdx     # 0x79911
xorl %eax, %eax
callq 0xb859
movw $0x103, 0x106(%rbx)     # imm = 0x103
movw $0x1, 0x13c(%rbx)
movb $0x5, 0x13e(%rbx)
movzwl 0x9a(%r14), %eax
notl %eax
shll $0x2, %eax
andl $0xc, %eax
movw %ax, 0x48(%r14)
movq 0x10(%r14), %rax
addq $0x38, %rax
movq %rax, 0x28(%r14)
movl $0x0, 0x94(%r14)
movl $0x64, %r13d
jmp 0xf7b5
movq 0x10(%rdx), %rsi
testq %rsi, %rsi
movq -0x38(%rbp), %rbx
jne 0xfed0
movb $0x0, (%r9)
movq %r9, %rsi
jmp 0xfed0
movq 0x8(%rax), %rsi
jmp 0xfecc
movq 0x18(%rax), %rcx
movl $0x20, %edi
movq %r9, %rsi
leaq 0x6a9cf(%rip), %rdx     # 0x7a9ea
xorl %eax, %eax
movq %r9, -0x40(%rbp)
callq 0xb859
jmp 0x10047
movsd 0x10(%rax), %xmm0
movl $0x20, %edi
movq %r9, %rsi
leaq 0x69d2e(%rip), %rdx     # 0x79d6a
movb $0x1, %al
movq %r9, -0x40(%rbp)
callq 0xb859
movq -0x40(%rbp), %rsi
jmp 0xfed0
movl $0x11, %r13d
testl %ebx, %ebx
je 0x100b7
testb $0x4, 0x9b(%r14)
je 0x100b7
movq 0x130(%r12), %rdi
testq %rdi, %rdi
je 0x100b7
movl $0x1, %esi
callq 0xee49
movq %rax, %r15
movq 0x58(%r14), %rsi
movq %r12, %rdi
callq 0x9c3a
cmpb $0x0, 0x50(%r12)
je 0x100a1
movl $0x7, %ebx
xorl %eax, %eax
movl $0x7, %r13d
jmp 0x100ac
movq %r12, %rdi
movq %r15, %rsi
callq 0x1010d
movq %rax, 0x58(%r14)
movl %ebx, 0x94(%r14)
movq %r12, %rdi
movl %r13d, %esi
callq 0xea22
movl %eax, %ebx
movl %ebx, %eax
addq $0x198, %rsp            # imm = 0x198
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq