// File: /workspace/github_cpp_makefile_star2_O1/sisong[P]ApkDiffPatch/lzma/C/MtDec.c
// Function: MtDec_ThreadFunc
static Z7_NO_INLINE THREAD_FUNC_DECL MtDec_ThreadFunc(void *pp)
{
  #ifdef USE_ALLOCA
  CMtDecThread *t = (CMtDecThread *)pp;
  // fprintf(stderr, "\n%d = %p - before", t->index, &t);
  t->allocaPtr = alloca(t->index * 128);
  #endif
  return MtDec_ThreadFunc1(pp);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
movq %rdi, %r14
movq (%rdi), %rax
leaq 0x38(%rdi), %r15
leaq 0x10(%rdi), %rcx
movq %rcx, 0xc0(%rsp)
leaq 0x80(%rax), %rcx
movq %rcx, 0xa0(%rsp)
leaq 0xe0(%rax), %rcx
movq %rcx, 0xf8(%rsp)
leaq 0x108(%rax), %r13
leaq 0xa0(%rdi), %rcx
movq %rcx, 0x120(%rsp)
leaq 0xc0(%rax), %rcx
movq %rcx, 0x118(%rsp)
leaq 0x1a8(%rax), %rcx
movq %rcx, 0x110(%rsp)
movq %rax, 0x8(%rsp)
addq $0x140, %rax            # imm = 0x140
movq %rax, 0x108(%rsp)
movq %rdi, 0x70(%rsp)
movq %r15, 0xa8(%rsp)
movq %r13, 0x100(%rsp)
movq %r15, %rdi
callq 0x3dc62
xorl %r12d, %r12d
testl %eax, %eax
cmovnel %eax, %ebp
jne 0x3d83c
movq 0x8(%rsp), %rbx
cmpl $0x0, 0x40(%rbx)
je 0x3cb7e
xorl %ebp, %ebp
jmp 0x3d83c
movl %ebp, 0x24(%rsp)
movq 0x48(%rbx), %rcx
leaq 0x1(%rcx), %rax
movq %rax, 0x48(%rbx)
movq $0x0, 0x90(%rsp)
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %rcx, 0x88(%rsp)
leaq 0x14(%rsp), %r8
callq 0x3d8f8
movl 0x98(%rbx), %edi
movl 0x14(%rsp), %ecx
movq %rax, 0x18(%rsp)
orl %eax, %ecx
movq %rbx, %r12
je 0x3cc21
movq $0x0, 0x78(%rsp)
movl $0x0, 0x6c(%rsp)
movq $0x0, 0xb8(%rsp)
movq $0x0, 0xb0(%rsp)
movq $0x0, 0x40(%rsp)
movq $0x0, 0x60(%rsp)
xorl %ebp, %ebp
xorl %r13d, %r13d
movl $0x0, 0x84(%rsp)
movl $0x0, 0x48(%rsp)
jmp 0x3d190
movq 0xc0(%rsp), %rax
movq (%rax), %rsi
movq 0x88(%r12), %r15
subq 0x80(%r12), %r15
movq $0x0, 0x78(%rsp)
movl $0x0, 0x6c(%rsp)
xorl %r8d, %r8d
movq $0x0, 0xb8(%rsp)
movq $0x0, 0xb0(%rsp)
movq $0x0, 0x58(%rsp)
movq $0x0, 0x40(%rsp)
movq $0x0, 0x60(%rsp)
xorl %ebp, %ebp
movl $0x0, 0x38(%rsp)
movl $0x0, 0x84(%rsp)
movl $0x0, 0x48(%rsp)
movq $0x0, 0x18(%rsp)
movq %rsi, %rax
testq %rsi, %rsi
movq %r8, 0x50(%rsp)
jne 0x3ccf0
movl %edi, %ebx
movq (%r12), %rsi
movq 0x20(%r12), %rdi
addq $0x20, %rsi
callq *(%rdi)
testq %rax, %rax
je 0x3d11c
movq $0x0, (%rax)
movq 0x50(%rsp), %r8
testq %r8, %r8
movq %r8, %rcx
cmoveq 0xc0(%rsp), %rcx
movq %rax, (%rcx)
movl %ebx, %edi
leaq 0x20(%rax), %rbx
testq %r15, %r15
movq %rax, 0x28(%rsp)
je 0x3cd2a
movq %r15, 0x30(%rsp)
movq 0x78(%r12), %rax
movq 0x80(%r12), %rcx
leaq (%rax,%rcx), %rbp
addq $0x20, %rbp
movq %r15, 0x40(%rsp)
movq %r15, %r13
movq %r15, 0x60(%rsp)
jmp 0x3ce22
movq (%r12), %rax
movq %rax, 0x30(%rsp)
movq 0x10(%r12), %rdi
movq %rbx, %rsi
leaq 0x30(%rsp), %rdx
callq 0x37578
movq 0x50(%rsp), %r8
movq 0x30(%rsp), %rcx
testq %r8, %r8
movq 0x60(%rsp), %rdx
cmoveq %rcx, %rdx
movq %rdx, 0x60(%rsp)
addq %rcx, 0x90(%r12)
xorl %edi, %edi
cmpq (%r12), %rcx
setne %dl
je 0x3cd7f
movl $0x1, 0x98(%r12)
movq %r15, %r13
testl %eax, %eax
je 0x3cd9e
movl %eax, 0x60(%r12)
movl $0x1, 0x98(%r12)
movl $0x1, %edi
jmp 0x3cda1
movb %dl, %dil
movq 0x40(%rsp), %rdx
addq %rcx, %rdx
movq $0x0, 0x18(%rsp)
movq %rdx, 0x40(%rsp)
cmpq 0x58(%rsp), %rdx
jne 0x3cdc3
movq %rbx, %rbp
jmp 0x3ce22
movq %r14, %r15
movl %edi, %r14d
movq $0x0, 0x18(%rsp)
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
movq 0x88(%rsp), %rcx
leaq 0x14(%rsp), %r8
callq 0x3d8f8
movl 0x14(%rsp), %ecx
orl %eax, %ecx
je 0x3ce0a
xorl %ecx, %ecx
movq %rax, 0x18(%rsp)
movl %r14d, %edi
movq %r15, %r14
movq 0x28(%rsp), %rdx
jmp 0x3cf7c
movq %rbx, %rbp
movq 0x40(%rsp), %rax
movq %rax, 0x58(%rsp)
movl %r14d, %edi
movq %r15, %r14
movq 0x50(%rsp), %r8
xorl %eax, %eax
testq %r8, %r8
sete %al
movl %eax, 0xc8(%rsp)
movq %rbp, 0xd0(%rsp)
movq 0x30(%rsp), %rax
movq %rax, 0xd8(%rsp)
movl %edi, %r15d
movl %edi, 0xe0(%rsp)
movl $0x1, 0xe8(%rsp)
movq 0x28(%r12), %rax
movq 0x30(%r12), %rdi
movl 0x8(%r14), %esi
leaq 0xc8(%rsp), %rdx
callq *(%rax)
movl 0xe4(%rsp), %r14d
movl 0xe8(%rsp), %eax
movq %rax, 0x78(%rsp)
cmpl $0x1, %r14d
jne 0x3ceca
testq %r13, %r13
je 0x3cea2
movq 0x30(%rsp), %rdx
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x4290
movq 0xa0(%rsp), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movl $0x1, %edi
movl $0x4, %eax
movl $0x1, 0x84(%rsp)
jmp 0x3cf68
testq %r13, %r13
je 0x3cef5
movq 0xd8(%rsp), %r12
movq %rbx, %rdi
movq %rbp, %rsi
movq %r12, %rdx
callq 0x4290
movq 0xa0(%rsp), %rax
addq %r12, (%rax)
movq 0x8(%rsp), %r12
movl %r14d, %eax
orl %r15d, %eax
je 0x3cf3f
movl %r15d, %edi
cmpl $0x3, %r14d
movl $0x1, %eax
cmovel %eax, %edi
movq 0xd8(%rsp), %rax
movq 0x30(%rsp), %rcx
subq %rax, %rcx
jne 0x3cfb2
movq 0xa0(%rsp), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movl $0x1, 0x38(%rsp)
movl $0x4, %eax
jmp 0x3cf68
movq 0xd8(%rsp), %rcx
xorl %eax, %eax
cmpq 0x30(%rsp), %rcx
setne %al
movl $0xb, %ecx
movq 0x18(%rsp), %rdx
cmovnel %ecx, %edx
movq %rdx, 0x18(%rsp)
shll $0x2, %eax
xorl %edi, %edi
movq 0x70(%rsp), %r14
movq 0x28(%rsp), %rdx
testl %eax, %eax
sete %cl
movl $0x1, %ebp
testb %cl, %cl
je 0x3d129
movq (%rdx), %rsi
movq %rdx, %r8
testq %r13, %r13
movl $0x0, %r15d
je 0x3cca9
movq 0xa0(%rsp), %rcx
xorps %xmm0, %xmm0
movups %xmm0, (%rcx)
movq %rdx, %r8
xorl %r15d, %r15d
jmp 0x3cca9
cmpl $0x3, %r14d
jne 0x3d009
addq %rax, %rbp
testq %r13, %r13
movl $0x1, %esi
movl 0x6c(%rsp), %edx
movl $0x1, 0x38(%rsp)
cmovnel %esi, %edx
movl %edx, 0x6c(%rsp)
subq %rcx, 0x40(%rsp)
cmpq $0x0, 0x50(%rsp)
movq 0x60(%rsp), %rdx
cmoveq %rax, %rdx
movq %rdx, 0x60(%rsp)
movl $0x4, %eax
movq %rcx, 0xb8(%rsp)
movq %rbp, 0xb0(%rsp)
jmp 0x3cf68
testq %r13, %r13
movq 0x50(%rsp), %rcx
je 0x3d027
movq %rax, 0x40(%rsp)
movq 0x70(%rsp), %r14
movq 0x28(%rsp), %rdx
jmp 0x3d0e4
movq 0x78(%r12), %rbx
testq %rbx, %rbx
movq 0x70(%rsp), %r14
jne 0x3d067
movq %r14, %r15
movl %edi, %r14d
movq (%r12), %rsi
movq 0x20(%r12), %rdi
addq $0x20, %rsi
callq *(%rdi)
testq %rax, %rax
je 0x3d10a
movq %rax, %rbx
movq %rax, 0x78(%r12)
movl %r14d, %edi
movq %r15, %r14
movq 0x50(%rsp), %rcx
addq $0x20, %rbx
movl $0x1, 0x38(%rsp)
testq %rbx, %rbx
je 0x3d0c4
movq 0x30(%rsp), %rdx
movq 0xd8(%rsp), %rax
subq %rax, %rdx
subq %rdx, 0x40(%rsp)
movq %rdx, 0x88(%r12)
movq $0x0, 0x80(%r12)
addq %rax, %rbp
movq %r14, %r15
movl %edi, %r14d
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x4290
movq 0x50(%rsp), %rcx
movl %r14d, %edi
movq %r15, %r14
xorl %eax, %eax
jmp 0x3d0d6
movl $0x4, %eax
movl $0x1, %edi
movl $0x1, 0x48(%rsp)
movq 0x28(%rsp), %rdx
testq %rbx, %rbx
je 0x3cf72
testq %rcx, %rcx
jne 0x3d0f6
movq 0xd8(%rsp), %rax
movq %rax, 0x60(%rsp)
xorl %edi, %edi
movl $0x1, 0x38(%rsp)
movl $0x4, %eax
jmp 0x3cf72
xorl %ebx, %ebx
movl %r14d, %edi
movq %r15, %r14
movq 0x50(%rsp), %rcx
jmp 0x3d06b
movl $0x1, %edi
movl $0x1, 0x48(%rsp)
cmpl $0x0, 0x18(%rsp)
movq 0xa8(%rsp), %r15
movl 0x38(%rsp), %r13d
jne 0x3d190
movl %edi, %ebx
movq 0xf8(%rsp), %rdi
callq 0x3de7a
cmpl $0x0, 0xb0(%r12)
je 0x3d16e
xorl %eax, %eax
movq 0x88(%rsp), %rcx
cmpq %rcx, 0xb8(%r12)
setb %al
jmp 0x3d170
xorl %eax, %eax
movl %eax, 0x14(%rsp)
movl 0xc8(%r12), %eax
movq %rax, 0x18(%rsp)
movq 0xf8(%rsp), %rdi
callq 0x3de84
movl %ebx, %edi
testl %r13d, %r13d
sete %al
movl 0x14(%rsp), %ebx
movq 0x18(%rsp), %rcx
orl %ebx, %ecx
setne %cl
orb %al, %cl
jne 0x3d1e9
movq 0x28(%r12), %rax
movl %r13d, 0x38(%rsp)
movl %ebp, %r13d
movq %r15, %rbp
movl %edi, %r15d
movq 0x30(%r12), %rdi
movl 0x8(%r14), %esi
callq *0x8(%rax)
movl %r15d, %edi
movq %rbp, %r15
movl %r13d, %ebp
movl 0x38(%rsp), %r13d
testl %eax, %eax
je 0x3d1e9
movl $0x1, %edi
xorl %r13d, %r13d
movq %rax, 0x90(%rsp)
movb $0x1, %r12b
cmpl $0x0, 0x18(%rsp)
jne 0x3d25e
testl %ebx, %ebx
jne 0x3d25e
testl %edi, %edi
jne 0x3d25e
movq 0x8(%rsp), %rcx
movl 0x70(%rcx), %eax
movb $0x1, %r12b
cmpl 0x6c(%rcx), %eax
jae 0x3d2a7
cmpl $0x0, 0x78(%rsp)
je 0x3d2a7
imulq $0x110, %rax, %rax      # imm = 0x110
movq 0x100(%rsp), %rcx
leaq (%rcx,%rax), %rbx
leaq (%rcx,%rax), %rdi
addq $0xa0, %rdi
callq 0x3deb0
testl %eax, %eax
jne 0x3d24a
leaq 0x38(%rbx), %rdi
callq 0x3deb0
testl %eax, %eax
je 0x3d277
movzwl %ax, %edx
orl $0x88000000, %edx       # imm = 0x88000000
testl %eax, %eax
cmovlel %eax, %edx
jmp 0x3d283
movq $0x0, 0x38(%rsp)
movl %r13d, %edx
movl $0x0, 0x58(%rsp)
jmp 0x3d329
xorl %edx, %edx
cmpl $0x0, 0x30(%rbx)
je 0x3d6dd
movq 0x8(%rsp), %rcx
movl 0x70(%rcx), %eax
testl %edx, %edx
je 0x3d2b4
movl %edx, 0x58(%rsp)
xorl %edx, %edx
movl $0x0, %ecx
cmpl $0x1, %eax
je 0x3d2c6
movq 0x8(%rsp), %rcx
movl %eax, 0x6c(%rcx)
movl $0x0, 0x58(%rsp)
movl %r13d, %edx
jmp 0x3d2c4
incl %eax
movl %eax, 0x70(%rcx)
movl %r13d, %edx
movl $0x0, 0x58(%rsp)
movb $0x1, %cl
testb %cl, %cl
je 0x3d320
movl %edx, 0x78(%rsp)
movl 0x8(%r14), %eax
incl %eax
xorl %r12d, %r12d
movq 0x8(%rsp), %rcx
cmpl 0x70(%rcx), %eax
cmovael %r12d, %eax
imulq $0x110, %rax, %rbx      # imm = 0x110
movq 0x100(%rsp), %r13
leaq (%rbx,%r13), %rdi
addq $0x38, %rdi
callq 0x3dbe9
testl %eax, %eax
movl 0x24(%rsp), %ecx
cmovnel %eax, %ecx
movl %ecx, 0x24(%rsp)
jne 0x3d536
addq %r13, %rbx
movq %rbx, 0x38(%rsp)
movl 0x78(%rsp), %edx
jmp 0x3d329
movq $0x0, 0x38(%rsp)
xorl %eax, %eax
movq %rax, 0xc8(%rsp)
movq %rax, 0x30(%rsp)
cmpl $0x0, 0x90(%rsp)
movl %edx, 0x78(%rsp)
jne 0x3d50a
cmpl $0x0, 0x18(%rsp)
jne 0x3d50a
movl $0x0, %ebx
movl $0x0, %eax
movq %rax, 0x28(%rsp)
testl %edx, %edx
je 0x3d515
movq 0xc0(%rsp), %rax
movq (%rax), %rbx
movq $0x0, 0x50(%rsp)
movl $0x1, %r15d
movq $0x0, 0x28(%rsp)
movq $0x0, 0x18(%rsp)
movq 0x60(%rsp), %rcx
testl %r15d, %r15d
jne 0x3d3be
movq 0x40(%rsp), %rcx
subq 0xc8(%rsp), %rcx
movq 0x8(%rsp), %rax
movq (%rax), %rax
cmpq %rcx, %rax
cmovbq %rax, %rcx
movq 0xc8(%rsp), %rax
addq %rcx, %rax
movq %rax, 0xc8(%rsp)
movl $0x1, 0x4c(%rsp)
movq 0x8(%rsp), %r13
movq 0x28(%r13), %r10
movq 0x30(%r13), %rdi
movl 0x8(%r14), %esi
leaq 0x20(%rbx), %rdx
xorl %r8d, %r8d
cmpq 0x40(%rsp), %rax
sete %r8b
leaq 0xc8(%rsp), %r9
leaq 0x4c(%rsp), %rax
pushq %rax
leaq 0x38(%rsp), %rax
pushq %rax
callq *0x10(%r10)
addq $0x10, %rsp
movq %rax, 0x90(%rsp)
testl %eax, %eax
je 0x3d43d
movq %r13, %rdi
movq 0x88(%rsp), %rsi
callq 0x3d9a8
movl $0x6, %r8d
jmp 0x3d4f2
movl $0x6, %r8d
cmpl $0x0, 0x4c(%rsp)
jne 0x3d4f2
movq 0xc8(%rsp), %rsi
cmpq 0x40(%rsp), %rsi
je 0x3d4f2
movq 0x30(%rsp), %rdx
movq %rsi, %rcx
movq 0x28(%rsp), %r9
xorq %r9, %rcx
movq %rdx, %rdi
movq 0x50(%rsp), %rax
xorq %rax, %rdi
xorl %r8d, %r8d
movb $0x1, %r14b
orq %rcx, %rdi
je 0x3d4df
subq %rax, %rdx
subq %r9, %rsi
movq 0x8(%rsp), %rdi
movq 0x88(%rsp), %rcx
leaq 0x14(%rsp), %r8
callq 0x3d8f8
xorl %r8d, %r8d
movl 0x14(%rsp), %ecx
movq %rax, 0x18(%rsp)
orl %eax, %ecx
je 0x3d4bf
movl $0x6, %r8d
xorl %r14d, %r14d
jmp 0x3d4df
movq 0xc8(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x30(%rsp), %rax
movq %rax, 0x50(%rsp)
movq $0x0, 0x18(%rsp)
testb %r14b, %r14b
je 0x3d4ed
movq (%rbx), %rbx
xorl %r8d, %r8d
xorl %r15d, %r15d
movq 0x70(%rsp), %r14
testl %r8d, %r8d
je 0x3d398
movq 0xa8(%rsp), %r15
movq 0x50(%rsp), %rbx
jmp 0x3d515
xorl %ebx, %ebx
movq $0x0, 0x28(%rsp)
movq 0x120(%rsp), %rdi
callq 0x3dc62
xorl %ecx, %ecx
testl %eax, %eax
movl 0x24(%rsp), %edx
cmovnel %eax, %edx
movl %edx, 0x24(%rsp)
je 0x3d53f
xorl %r12d, %r12d
movl 0x24(%rsp), %ebp
jmp 0x3d83c
movl $0x1, 0x9c(%rsp)
movq 0x8(%rsp), %rax
cmpl $0x0, 0x40(%rax)
movl $0x0, %eax
jne 0x3d837
movq 0x8(%rsp), %rax
cmpl $0x0, 0x68(%rax)
je 0x3d584
movq %rbx, %rdi
movl $0x1, 0x14(%rsp)
movl %ebp, %ebx
movl 0x78(%rsp), %esi
movq 0x28(%rsp), %r8
jmp 0x3d60d
movq 0x90(%rsp), %rax
testl %eax, %eax
movl 0x78(%rsp), %esi
movq 0x28(%rsp), %r8
movq %rbx, %rdi
je 0x3d5bd
movq %rax, %rdx
movq 0x8(%rsp), %rax
movl $0x1, %ecx
movl %ecx, 0x68(%rax)
movl %edx, 0x64(%rax)
cmpl $0x2, %edx
movl 0x48(%rsp), %eax
cmovel %ecx, %eax
movl %eax, 0x48(%rsp)
movl %ebp, %ebx
movl 0x58(%rsp), %ecx
testl %ecx, %ecx
je 0x3d5d8
movq 0x8(%rsp), %rax
movl $0x1, 0x68(%rax)
movl %ecx, 0x58(%rax)
xorl %ebx, %ebx
cmpl $0x0, 0x48(%rsp)
je 0x3d5f1
movq 0x8(%rsp), %rax
movl $0x1, %ecx
movl %ecx, 0x68(%rax)
movl %ecx, 0x50(%rax)
xorl %ebx, %ebx
cmpl $0x0, 0x84(%rsp)
je 0x3d60d
movq 0x8(%rsp), %rax
movl $0x1, %ecx
movl %ecx, 0x68(%rax)
movl %ecx, 0x54(%rax)
xorl %ebx, %ebx
testl %esi, %esi
je 0x3d652
movl %esi, %r13d
cmpl $0x0, 0x14(%rsp)
je 0x3d62a
xorl %eax, %eax
movq %rax, 0xc8(%rsp)
movq %rax, 0x30(%rsp)
movq 0xc8(%rsp), %rsi
subq %r8, %rsi
movq 0x30(%rsp), %rdx
subq %rdi, %rdx
movq 0x118(%rsp), %rdi
callq 0x3c4a0
movq %rax, 0x18(%rsp)
movl %r13d, %esi
movl %r12d, %eax
xorb $0x1, %al
movzbl %al, %eax
movl %eax, 0x4c(%rsp)
testl %ebp, %ebp
je 0x3d6d5
movl %esi, %r13d
movq 0x8(%rsp), %r15
movq 0x28(%r15), %rax
movq 0x30(%r15), %rdi
testl %ebx, %ebx
setne %cl
movq 0x18(%rsp), %rdx
orl 0x14(%rsp), %edx
movl 0x8(%r14), %esi
sete %dl
andb %cl, %dl
movzbl %dl, %edx
movq 0xb0(%rsp), %rcx
movq 0xb8(%rsp), %r8
movl 0x6c(%rsp), %r9d
leaq 0x9c(%rsp), %r10
pushq %r10
leaq 0x54(%rsp), %r10
pushq %r10
callq *0x18(%rax)
addq $0x10, %rsp
movq %rax, 0x18(%rsp)
testl %eax, %eax
movl 0x24(%rsp), %ebp
je 0x3d6ff
movl $0x1, 0x68(%r15)
movl $0x1, %ebx
jmp 0x3d701
xorl %ebx, %ebx
movl 0x24(%rsp), %ebp
jmp 0x3d73d
leaq 0x28(%rbx), %rdi
leaq -0xc33(%rip), %rsi      # 0x3cab5
movq %rbx, %rdx
callq 0x3da87
xorl %edx, %edx
testl %eax, %eax
jne 0x3d24e
jmp 0x3d283
xorl %ebx, %ebx
cmpl $0x0, 0x18(%rsp)
movq 0xa8(%rsp), %r15
jne 0x3d728
cmpl $0x0, 0x4c(%rsp)
setne %al
orb %r12b, %al
je 0x3d728
movq $0x0, 0x18(%rsp)
jmp 0x3d73a
movq 0x8(%rsp), %rdi
movq 0x88(%rsp), %rsi
callq 0x3d9a8
movl %r13d, %esi
cmpl $0x0, 0x9c(%rsp)
je 0x3d7c0
testl %esi, %esi
je 0x3d775
cmpl $0x0, 0x18(%rsp)
jne 0x3d775
movq 0x8(%rsp), %rax
movq 0x90(%rsp), %rcx
orl 0x68(%rax), %ecx
orl 0x14(%rsp), %ecx
jne 0x3d775
movq 0x8(%rsp), %rax
orl 0xac(%rax), %ebx
je 0x3d7c0
movq 0x8(%rsp), %rax
movl 0xac(%rax), %eax
testl %eax, %eax
jne 0x3d793
movl 0x8(%r14), %ecx
movq 0x8(%rsp), %rdx
movl %ecx, 0xa8(%rdx)
cmpq $0x0, 0x40(%rsp)
sete %cl
testb %r12b, %cl
jne 0x3d7c0
movq 0x60(%rsp), %rcx
movq %rcx, 0x18(%r14)
movq 0x40(%rsp), %rcx
movq %rcx, 0x20(%r14)
incl %eax
movq 0x8(%rsp), %rcx
movl %eax, 0xac(%rcx)
testb %r12b, %r12b
je 0x3d7e2
cmpl $0x0, 0x4c(%rsp)
je 0x3d800
movq 0x110(%rsp), %rdi
callq 0x3dbe9
testl %eax, %eax
cmovnel %eax, %ebp
jne 0x3d7fa
jmp 0x3d813
movq 0x38(%rsp), %rdi
addq $0xa0, %rdi
callq 0x3dbe9
testl %eax, %eax
cmovnel %eax, %ebp
je 0x3d82d
xorl %eax, %eax
movl %ebp, %ecx
jmp 0x3d837
cmpl $0x0, 0x8(%r14)
je 0x3d833
movq 0x8(%rsp), %rax
movl $0x1, 0x40(%rax)
movq 0x108(%rsp), %rdi
callq 0x3dbe9
movl %ebp, %ecx
testl %eax, %eax
cmovnel %eax, %ecx
je 0x3d82f
xorl %eax, %eax
jmp 0x3d837
movl %ebp, %ecx
movb $0x1, %al
jmp 0x3d837
xorl %eax, %eax
xorl %ecx, %ecx
movl %eax, %r12d
movl %ecx, %ebp
testb %r12b, %r12b
jne 0x3cb56
movq (%r14), %rbx
movl 0x44(%rbx), %eax
testl %ebp, %ebp
je 0x3d894
testl %eax, %eax
jne 0x3d856
movl %ebp, 0x44(%rbx)
movl $0x1, 0x40(%rbx)
leaq 0x140(%rbx), %rdi
callq 0x3dbe9
leaq 0x1a8(%rbx), %rdi
callq 0x3dbe9
addq $0xc0, %rbx
movzwl %bp, %esi
orl $0x88000000, %esi       # imm = 0x88000000
testl %ebp, %ebp
cmovlel %ebp, %esi
movq %rbx, %rdi
callq 0x3c531
jmp 0x3d896
movl %eax, %ebp
movslq %ebp, %rax
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq