// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/esa-bottomup.c
// Function: gt_esa_bottomup
int gt_esa_bottomup(Sequentialsuffixarrayreader *ssar,
                    GtESAVisitor *ev,
                    GtError *err)
{
  const GtUword incrementstacksize = 32UL;
  GtUword lcpvalue,
                previoussuffix = 0,
                idx,
                nonspecials,
                lastsuftabvalue = 0;
  GtBUItvinfo *lastinterval = NULL;
  bool haserr = false, firstedge, firstedgefromroot = true;
  GtArrayGtBUItvinfo *stack;

  stack = gt_GtArrayGtBUItvinfo_new();
  PUSH_ESA_BOTTOMUP(0,0);
  nonspecials = gt_Sequentialsuffixarrayreader_nonspecials(ssar);
  for (idx = 0; idx < nonspecials; idx++)
  {
    SSAR_NEXTSEQUENTIALLCPTABVALUEWITHLAST(lcpvalue,lastsuftabvalue,ssar);
    SSAR_NEXTSEQUENTIALSUFTABVALUE(previoussuffix,ssar);
    if (lcpvalue <= TOP_ESA_BOTTOMUP.lcp)
    {
      if (TOP_ESA_BOTTOMUP.lcp > 0 || !firstedgefromroot)
      {
        firstedge = false;
      } else
      {
        firstedge = true;
        firstedgefromroot = false;
      }
      if (gt_esa_visitor_visit_leaf_edge(ev,
                                         firstedge,
                                         TOP_ESA_BOTTOMUP.lcp,
                                         TOP_ESA_BOTTOMUP.lb,
                                         TOP_ESA_BOTTOMUP.info,
                                         previoussuffix,
                                         err) != 0)
      {
        haserr = true;
        break;
      }
    }
    gt_assert(lastinterval == NULL);
    while (lcpvalue < TOP_ESA_BOTTOMUP.lcp)
    {
      lastinterval = POP_ESA_BOTTOMUP;
      lastinterval->rb = idx;
      if (gt_esa_visitor_visit_lcp_interval(ev,
                                            lastinterval->lcp,
                                            lastinterval->lb,
                                            lastinterval->rb,
                                            lastinterval->info,
                                            err) != 0)
      {
        haserr = true;
        break;
      }
      if (lcpvalue <= TOP_ESA_BOTTOMUP.lcp)
      {
        if (TOP_ESA_BOTTOMUP.lcp > 0 || !firstedgefromroot)
        {
          firstedge = false;
        } else
        {
          firstedge = true;
          firstedgefromroot = false;
        }
        if (gt_esa_visitor_visit_branching_edge(ev,
                                                firstedge,
                                                TOP_ESA_BOTTOMUP.lcp,
                                                TOP_ESA_BOTTOMUP.lb,
                                                TOP_ESA_BOTTOMUP.info,
                                                lastinterval->lcp,
                                                lastinterval->lb,
                                                lastinterval->rb,
                                                lastinterval->info,
                                                err) != 0)
        {
          haserr = true;
          break;
        }
        lastinterval = NULL;
      }
    }
    if (haserr)
    {
      break;
    }
    if (lcpvalue > TOP_ESA_BOTTOMUP.lcp)
    {
      if (lastinterval != NULL)
      {
        GtUword lastintervallcp = lastinterval->lcp,
                      lastintervallb = lastinterval->lb,
                      lastintervalrb = lastinterval->rb;
        PUSH_ESA_BOTTOMUP(lcpvalue,lastintervallb);
        if (gt_esa_visitor_visit_branching_edge(ev,
                                                true,
                                                TOP_ESA_BOTTOMUP.lcp,
                                                TOP_ESA_BOTTOMUP.lb,
                                                TOP_ESA_BOTTOMUP.info,
                                                lastintervallcp,
                                                lastintervallb,
                                                lastintervalrb,
                                                NULL,
                                                err) != 0)
        {
          haserr = true;
          break;
        }
        lastinterval = NULL;
      } else
      {
        PUSH_ESA_BOTTOMUP(lcpvalue,idx);
        if (gt_esa_visitor_visit_leaf_edge(ev,
                                           true,
                                           TOP_ESA_BOTTOMUP.lcp,
                                           TOP_ESA_BOTTOMUP.lb,
                                           TOP_ESA_BOTTOMUP.info,
                                           previoussuffix,
                                           err) != 0)
        {
          haserr = true;
          break;
        }
      }
    }
  }
  gt_assert(stack->nextfreeGtBUItvinfo > 0);
  if (!haserr && TOP_ESA_BOTTOMUP.lcp > 0)
  {
    if (gt_esa_visitor_visit_leaf_edge(ev,
                                       false,
                                       TOP_ESA_BOTTOMUP.lcp,
                                       TOP_ESA_BOTTOMUP.lb,
                                       TOP_ESA_BOTTOMUP.info,
                                       lastsuftabvalue,
                                       err) != 0)
    {
      haserr = true;
    } else
    {
      TOP_ESA_BOTTOMUP.rb = idx;
      if (gt_esa_visitor_visit_lcp_interval(ev,
                                            TOP_ESA_BOTTOMUP.lcp,
                                            TOP_ESA_BOTTOMUP.lb,
                                            TOP_ESA_BOTTOMUP.rb,
                                            TOP_ESA_BOTTOMUP.info,
                                            err) != 0)
      {
        haserr = true;
      }
    }
  }
  gt_GtArrayGtBUItvinfo_delete(stack, ev);
  return haserr ? -1 : 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdx, %r13
movq %rsi, %rbp
movq %rdi, 0x58(%rsp)
leaq 0xd1449(%rip), %rsi     # 0x3eb4df
movl $0x18, %edi
movl $0x3e, %edx
callq 0x1092b2
movq %rax, %r14
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movq $0x0, 0x10(%rax)
movq 0x8(%rax), %rsi
testq %rsi, %rsi
jne 0x31a0dc
jne 0x31aada
movq (%r14), %rdi
leaq 0x20(%rsi), %rdx
movq %rbp, %rcx
callq 0x31aaee
movq %rax, (%r14)
addq $0x20, 0x8(%r14)
movq (%r14), %rax
testq %rax, %rax
je 0x31aac6
movq 0x10(%r14), %rcx
movq %rcx, %rdx
shlq $0x5, %rdx
xorps %xmm0, %xmm0
movups %xmm0, (%rax,%rdx)
movq $-0x1, 0x10(%rax,%rdx)
incq %rcx
movq %rcx, 0x10(%r14)
movq 0x58(%rsp), %rdi
callq 0x1ae599
movq %rax, 0x68(%rsp)
testq %rax, %rax
je 0x31a9e8
movb $0x1, %r15b
movq $0x0, 0x60(%rsp)
xorl %r12d, %r12d
movq $0x0, 0x38(%rsp)
xorl %ebx, %ebx
movl $0x0, 0x2c(%rsp)
movq %rax, 0x48(%rsp)
movq %rbp, 0x50(%rsp)
movq %r13, 0x30(%rsp)
movq 0x58(%rsp), %rax
cmpb $0x1, 0x40(%rax)
jne 0x31a278
movq (%rax), %rbp
movl 0xd4(%rbp), %eax
cmpl 0xd0(%rbp), %eax
jb 0x31a1c6
movq 0xd8(%rbp), %rdi
movq 0xe0(%rbp), %rcx
movl $0x1, %esi
movl $0x1000, %edx           # imm = 0x1000
callq 0x17b40
movq %rax, %r13
movl %r13d, 0xd0(%rbp)
movq 0xe0(%rbp), %rdi
callq 0x17f00
testl %eax, %eax
jne 0x31aac1
movl $0x0, 0xd4(%rbp)
testl %r13d, %r13d
movq 0x30(%rsp), %r13
je 0x31a45b
movq 0xd8(%rbp), %rax
movl 0xd4(%rbp), %ecx
leal 0x1(%rcx), %edx
movl %edx, 0xd4(%rbp)
movb (%rax,%rcx), %dl
xorl %eax, %eax
testb %al, %al
movq 0x50(%rsp), %rbp
movq 0x58(%rsp), %rax
je 0x31a2d2
movq (%rax), %r13
movq 0xb0(%r13), %rcx
testq %rcx, %rcx
movq %rdx, 0x48(%rsp)
je 0x31a323
movl 0xa4(%r13), %eax
cmpl 0xa0(%r13), %eax
jb 0x31a48e
movq 0xa8(%r13), %rdi
movl $0x8, %esi
movl $0x1000, %edx           # imm = 0x1000
callq 0x17b40
movq %rax, %rbp
movl %ebp, 0xa0(%r13)
movq 0xb0(%r13), %rdi
callq 0x17f00
testl %eax, %eax
je 0x31a47b
movq 0x30(%rsp), %rdi
leaq 0x489ef(%rip), %rsi     # 0x362c4e
leaq 0xd1e09(%rip), %rdx     # 0x3ec06f
xorl %eax, %eax
callq 0x1019cf
movb $0x1, %al
movl %eax, 0x2c(%rsp)
jmp 0x31a48e
movq %rax, %rdi
movq (%rax), %rcx
movq 0x20(%rax), %rax
cmpq 0x10(%rdi), %rax
jae 0x31a2ad
movq 0x60(%rcx), %rdx
leaq 0x1(%rax), %rsi
movq %rsi, 0x20(%rdi)
movzbl (%rdx,%rax), %edx
cmpq $0xff, %rdx
je 0x31a2ea
movb $0x1, %al
movq %rdx, 0x40(%rsp)
jmp 0x31a502
movq 0x58(%rcx), %rax
movq 0x18(%rdi), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x18(%rdi)
movq (%rax,%rcx,8), %rax
movq %rax, 0x38(%rsp)
xorl %eax, %eax
movq 0x48(%rsp), %rdx
jmp 0x31a502
cmpb $-0x1, %dl
je 0x31a397
movzbl %dl, %eax
movq %rax, 0x40(%rsp)
xorl %eax, %eax
jmp 0x31a4fd
movq %rdx, %r8
movq 0x68(%rcx), %rcx
movq 0x28(%rdi), %rdx
movq %rdx, %rsi
shlq $0x4, %rsi
cmpq %rax, (%rcx,%rsi)
jne 0x31aadf
addq %rsi, %rcx
incq %rdx
movq %rdx, 0x28(%rdi)
movq 0x8(%rcx), %rax
movq %rax, 0x40(%rsp)
movb $0x1, %al
movq %r8, %rdx
jmp 0x31a502
movl 0x8c(%r13), %eax
cmpl 0x88(%r13), %eax
jb 0x31a4bf
movq 0x90(%r13), %rdi
movq 0x98(%r13), %rcx
movl $0x4, %esi
movl $0x1000, %edx           # imm = 0x1000
callq 0x17b40
movq %rax, %rbp
movl %ebp, 0x88(%r13)
movq 0x98(%r13), %rdi
callq 0x17f00
testl %eax, %eax
je 0x31a4ac
movq 0x30(%rsp), %rdi
leaq 0x488d0(%rip), %rsi     # 0x362c4e
leaq 0x48cea(%rip), %rdx     # 0x36306f
xorl %eax, %eax
callq 0x1019cf
movb $0x1, %al
movl %eax, 0x2c(%rsp)
jmp 0x31a4bf
movq %rdx, 0x48(%rsp)
movq (%rax), %rbp
movl 0xec(%rbp), %eax
cmpl 0xe8(%rbp), %eax
jb 0x31a400
movq 0xf0(%rbp), %rdi
movq 0xf8(%rbp), %rcx
movl $0x10, %esi
movl $0x1000, %edx           # imm = 0x1000
callq 0x17b40
movq %rax, %r13
movl %r13d, 0xe8(%rbp)
movq 0xf8(%rbp), %rdi
callq 0x17f00
testl %eax, %eax
jne 0x31aae9
movl $0x0, 0xec(%rbp)
testl %r13d, %r13d
movq 0x30(%rsp), %r13
je 0x31a9e1
movq 0xf0(%rbp), %rax
movl 0xec(%rbp), %ecx
leal 0x1(%rcx), %edx
movl %edx, 0xec(%rbp)
shlq $0x4, %rcx
movq 0x8(%rax,%rcx), %rax
movq %rax, 0x70(%rsp)
xorl %ecx, %ecx
xorl %eax, %eax
testb %cl, %cl
movq 0x50(%rsp), %rbp
je 0x31a467
movq %r13, %rdi
leaq 0x48767(%rip), %rsi     # 0x362ba2
leaq 0xd109d(%rip), %rdx     # 0x3eb4df
movl $0x87, %ecx
xorl %eax, %eax
callq 0x1019cf
movb $0x1, %al
movl %eax, 0x2c(%rsp)
movl $0x6, %eax
jmp 0x31a471
movb $0x1, %al
movq 0x48(%rsp), %rdx
jmp 0x31a1e1
movq 0x70(%rsp), %rcx
movq %rcx, 0x40(%rsp)
movq 0x48(%rsp), %rdx
jmp 0x31a4fd
movl $0x0, 0xa4(%r13)
testl %ebp, %ebp
je 0x31a9b9
movq 0xa8(%r13), %rax
movl 0xa4(%r13), %ecx
leal 0x1(%rcx), %edx
movl %edx, 0xa4(%r13)
movq (%rax,%rcx,8), %rax
jmp 0x31a4da
movl $0x0, 0x8c(%r13)
testl %ebp, %ebp
je 0x31a9b9
movq 0x90(%r13), %rax
movl 0x8c(%r13), %ecx
leal 0x1(%rcx), %edx
movl %edx, 0x8c(%r13)
movl (%rax,%rcx,4), %eax
movq %rax, 0x38(%rsp)
xorl %eax, %eax
movb $0x1, %bpl
movq 0x30(%rsp), %r13
testb %bpl, %bpl
movq 0x48(%rsp), %rdx
je 0x31a4f8
movl $0x6, %eax
movq 0x50(%rsp), %rbp
testl %eax, %eax
sete %al
testb %al, %al
je 0x31a9f8
movq 0x58(%rsp), %rcx
movq (%rcx), %r13
cmpb $0x1, 0x40(%rcx)
movq %rdx, 0x48(%rsp)
jne 0x31a59a
movq 0xb0(%r13), %rcx
testq %rcx, %rcx
je 0x31a5c0
movl 0xa4(%r13), %eax
cmpl 0xa0(%r13), %eax
jb 0x31a640
movq 0xa8(%r13), %rdi
movl $0x8, %esi
movl $0x1000, %edx           # imm = 0x1000
callq 0x17b40
movq %rax, %rbp
movl %ebp, 0xa0(%r13)
movq 0xb0(%r13), %rdi
callq 0x17f00
testl %eax, %eax
je 0x31a62d
movq 0x30(%rsp), %rdi
leaq 0x486cd(%rip), %rsi     # 0x362c4e
leaq 0xd1ae7(%rip), %rdx     # 0x3ec06f
xorl %eax, %eax
callq 0x1019cf
movb $0x1, %al
movl %eax, 0x2c(%rsp)
jmp 0x31a640
movq 0x58(%r13), %rax
movq %rcx, %rsi
movq 0x18(%rcx), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x18(%rsi)
movq (%rax,%rcx,8), %rax
movq %rax, 0x60(%rsp)
movq 0x30(%rsp), %r13
jmp 0x31a6a7
movl 0x8c(%r13), %eax
cmpl 0x88(%r13), %eax
jb 0x31a671
movq 0x90(%r13), %rdi
movq 0x98(%r13), %rcx
movl $0x4, %esi
movl $0x1000, %edx           # imm = 0x1000
callq 0x17b40
movq %rax, %rbp
movl %ebp, 0x88(%r13)
movq 0x98(%r13), %rdi
callq 0x17f00
testl %eax, %eax
je 0x31a65e
movq 0x30(%rsp), %rdi
leaq 0x48637(%rip), %rsi     # 0x362c4e
leaq 0x48a51(%rip), %rdx     # 0x36306f
xorl %eax, %eax
callq 0x1019cf
movb $0x1, %al
movl %eax, 0x2c(%rsp)
jmp 0x31a671
movl $0x0, 0xa4(%r13)
testl %ebp, %ebp
je 0x31a996
movq 0xa8(%r13), %rax
movl 0xa4(%r13), %ecx
leal 0x1(%rcx), %edx
movl %edx, 0xa4(%r13)
movq (%rax,%rcx,8), %rax
jmp 0x31a68c
movl $0x0, 0x8c(%r13)
testl %ebp, %ebp
je 0x31a996
movq 0x90(%r13), %rax
movl 0x8c(%r13), %ecx
leal 0x1(%rcx), %edx
movl %edx, 0x8c(%r13)
movl (%rax,%rcx,4), %eax
movq %rax, 0x60(%rsp)
movb $0x1, %bpl
movq 0x30(%rsp), %r13
testb %bpl, %bpl
movq 0x50(%rsp), %rbp
je 0x31a9f8
movq (%r14), %rax
movq 0x10(%r14), %rcx
shlq $0x5, %rcx
movq -0x20(%rax,%rcx), %rdx
cmpq %rdx, 0x40(%rsp)
ja 0x31a6fd
addq %rcx, %rax
testq %rdx, %rdx
sete %sil
andb %r15b, %sil
movzbl %r15b, %r15d
movl $0x0, %ecx
cmovnel %ecx, %r15d
movq -0x18(%rax), %rcx
movq -0x8(%rax), %r8
movq %r13, (%rsp)
movzbl %sil, %esi
movq %rbp, %rdi
movq 0x60(%rsp), %r9
callq 0x1b119a
testl %eax, %eax
jne 0x31aaaa
testq %rbx, %rbx
jne 0x31aab7
movq (%r14), %rax
movq 0x10(%r14), %rcx
movq %rcx, %rdx
shlq $0x5, %rdx
movq 0x40(%rsp), %rsi
cmpq -0x20(%rax,%rdx), %rsi
jae 0x31a7e1
decq %rcx
movq %rcx, 0x10(%r14)
shlq $0x5, %rcx
leaq (%rax,%rcx), %rbx
movq %r12, 0x10(%rax,%rcx)
movq (%rax,%rcx), %rsi
movq 0x8(%rax,%rcx), %rdx
movq 0x18(%rax,%rcx), %r8
movq %rbp, %rdi
movq %r12, %rcx
movq %r13, %r9
callq 0x1b12a2
testl %eax, %eax
jne 0x31a7e5
movq (%r14), %rax
movq 0x10(%r14), %rcx
shlq $0x5, %rcx
movq -0x20(%rax,%rcx), %rdx
cmpq %rdx, 0x40(%rsp)
ja 0x31a7c1
testq %rdx, %rdx
sete %sil
movl $0x0, %edi
andb %r15b, %sil
jne 0x31a788
movzbl %r15b, %edi
addq %rcx, %rax
movl %edi, %r15d
movq -0x18(%rax), %rcx
movq -0x8(%rax), %r8
movq (%rbx), %r9
movups 0x8(%rbx), %xmm0
movq 0x18(%rbx), %rax
movq %r13, 0x18(%rsp)
movq %rax, 0x10(%rsp)
movups %xmm0, (%rsp)
movzbl %sil, %esi
movq %rbp, %rdi
callq 0x1b121e
testl %eax, %eax
jne 0x31a7e5
xorl %ebx, %ebx
movq (%r14), %rax
movq 0x10(%r14), %rcx
movq %rcx, %rdx
shlq $0x5, %rdx
movq 0x40(%rsp), %rsi
cmpq -0x20(%rax,%rdx), %rsi
jb 0x31a724
jmp 0x31a7eb
xorl %ebx, %ebx
jmp 0x31a7eb
movb $0x1, %al
movl %eax, 0x2c(%rsp)
testb $0x1, 0x2c(%rsp)
jne 0x31a9f8
movq (%r14), %rdi
movq 0x10(%r14), %rax
movq %rax, %rcx
shlq $0x5, %rcx
movq 0x40(%rsp), %rdx
cmpq -0x20(%rdi,%rcx), %rdx
jbe 0x31a981
testq %rbx, %rbx
je 0x31a8ff
movq (%rbx), %r9
movq 0x8(%rbx), %r10
movq 0x10(%rbx), %r11
movq 0x8(%r14), %rsi
cmpq %rsi, %rax
jb 0x31a86b
movq %r11, 0x78(%rsp)
movq %r10, 0x80(%rsp)
jne 0x31aad5
movq %r9, %r13
leaq 0x20(%rsi), %rdx
movq %rbp, %rcx
callq 0x31aaee
movq %rax, (%r14)
addq $0x20, 0x8(%r14)
movq %r13, %r9
movq 0x80(%rsp), %r10
movq 0x78(%rsp), %r11
movq (%r14), %rax
testq %rax, %rax
je 0x31aabc
movq 0x10(%r14), %rcx
movq %rcx, %rsi
shlq $0x5, %rsi
movq 0x40(%rsp), %rdx
movq %rdx, (%rax,%rsi)
movq %r10, 0x8(%rax,%rsi)
movq $-0x1, 0x10(%rax,%rsi)
incq %rcx
movq %rcx, 0x10(%r14)
movq 0x8(%rax,%rsi), %rcx
movq 0x18(%rax,%rsi), %r8
movq 0x30(%rsp), %r13
movq %r13, 0x18(%rsp)
xorl %esi, %esi
movq %rsi, 0x10(%rsp)
movq %r11, 0x8(%rsp)
movq %r10, (%rsp)
movq %rbp, %rdi
movl $0x1, %esi
callq 0x1b121e
movl 0x2c(%rsp), %ecx
movzbl %cl, %ecx
testl %eax, %eax
movl $0x1, %eax
cmovnel %eax, %ecx
movl %ecx, 0x2c(%rsp)
movl $0x0, %eax
cmoveq %rax, %rbx
movq 0x58(%rsp), %rax
je 0x31a986
jmp 0x31a9f8
movq 0x8(%r14), %rsi
cmpq %rsi, %rax
jb 0x31a922
jne 0x31aae4
leaq 0x20(%rsi), %rdx
movq %rbp, %rcx
callq 0x31aaee
movq %rax, (%r14)
addq $0x20, 0x8(%r14)
movq (%r14), %rax
testq %rax, %rax
je 0x31aad0
movq 0x10(%r14), %rcx
movq %rcx, %rsi
shlq $0x5, %rsi
movq 0x40(%rsp), %rdx
movq %rdx, (%rax,%rsi)
movq %r12, 0x8(%rax,%rsi)
movq $-0x1, 0x10(%rax,%rsi)
incq %rcx
movq %rcx, 0x10(%r14)
movq 0x8(%rax,%rsi), %rcx
movq 0x18(%rax,%rsi), %r8
movq %r13, (%rsp)
movq %rbp, %rdi
movl $0x1, %esi
movq 0x60(%rsp), %r9
callq 0x1b119a
testl %eax, %eax
jne 0x31aaaa
xorl %ebx, %ebx
movq 0x58(%rsp), %rax
incq %r12
cmpq 0x68(%rsp), %r12
jne 0x31a158
jmp 0x31a9f3
xorl %ebp, %ebp
movq 0x30(%rsp), %r13
movq %r13, %rdi
leaq 0x486b0(%rip), %rsi     # 0x363057
xorl %eax, %eax
callq 0x1019cf
movb $0x1, %al
movl %eax, 0x2c(%rsp)
jmp 0x31a699
xorl %ebp, %ebp
movq 0x30(%rsp), %r13
movq %r13, %rdi
leaq 0x4868d(%rip), %rsi     # 0x363057
xorl %eax, %eax
callq 0x1019cf
movb $0x1, %al
movl %eax, 0x2c(%rsp)
movl $0x6, %eax
jmp 0x31a4e9
movb $0x1, %cl
jmp 0x31a426
xorl %r12d, %r12d
xorl %r15d, %r15d
xorl %r9d, %r9d
jmp 0x31aa02
movq 0x68(%rsp), %r12
movq 0x38(%rsp), %r9
movl 0x2c(%rsp), %r15d
movq 0x10(%r14), %rax
testq %rax, %rax
je 0x31aacb
testb $0x1, %r15b
jne 0x31aa82
movq (%r14), %rsi
shlq $0x5, %rax
movq -0x20(%rsi,%rax), %rdx
testq %rdx, %rdx
je 0x31aa82
addq %rax, %rsi
movq -0x18(%rsi), %rcx
movq -0x8(%rsi), %r8
movq %r13, (%rsp)
movq %rbp, %rdi
xorl %esi, %esi
callq 0x1b119a
movb $0x1, %bl
testl %eax, %eax
jne 0x31aa85
movq (%r14), %rax
movq 0x10(%r14), %rcx
shlq $0x5, %rcx
movq %r12, -0x10(%rax,%rcx)
movq -0x20(%rax,%rcx), %rsi
movq -0x18(%rax,%rcx), %rdx
movq -0x8(%rax,%rcx), %r8
movq %rbp, %rdi
movq %r12, %rcx
movq %r13, %r9
callq 0x1b12a2
testl %eax, %eax
movzbl %r15b, %eax
movl $0x1, %ebx
cmovel %eax, %ebx
jmp 0x31aa85
movl %r15d, %ebx
movq %r14, %rdi
movq %rbp, %rsi
callq 0x31a007
andb $0x1, %bl
movzbl %bl, %eax
negl %eax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movb $0x1, %r15b
movq 0x38(%rsp), %r9
jmp 0x31aa02
callq 0x92601
callq 0x92673
callq 0x925b1
callq 0x92757
callq 0x9271e
callq 0x926e5
callq 0x9263a
callq 0x9253f
callq 0x92578
callq 0x926ac
callq 0x925d9