// File: /workspace/github_c_makefile_star2_O1/voithos[P]awl/src/mpc.c
// Function: mpc_parse_input
int mpc_parse_input(mpc_input_t *i, mpc_parser_t *init, mpc_result_t *final) {
  
  /* Stack */
  int st = 0;
  mpc_parser_t *p = NULL;
  mpc_stack_t *stk = mpc_stack_new(i->filename);
  
  /* Variables */
  char *s;
  mpc_result_t r;

  /* Go! */
  mpc_stack_pushp(stk, init);
  
  while (!mpc_stack_empty(stk)) {
    
    mpc_stack_peepp(stk, &p, &st);
    
    switch (p->type) {
      
      /* Basic Parsers */

      case MPC_TYPE_SOI:       MPC_PRIMATIVE(NULL, mpc_input_soi(i));
      case MPC_TYPE_EOI:       MPC_PRIMATIVE(NULL, mpc_input_eoi(i));
      case MPC_TYPE_ANY:       MPC_PRIMATIVE(s, mpc_input_any(i, &s));
      case MPC_TYPE_SINGLE:    MPC_PRIMATIVE(s, mpc_input_char(i, p->data.single.x, &s));
      case MPC_TYPE_RANGE:     MPC_PRIMATIVE(s, mpc_input_range(i, p->data.range.x, p->data.range.y, &s));
      case MPC_TYPE_ONEOF:     MPC_PRIMATIVE(s, mpc_input_oneof(i, p->data.string.x, &s));
      case MPC_TYPE_NONEOF:    MPC_PRIMATIVE(s, mpc_input_noneof(i, p->data.string.x, &s));
      case MPC_TYPE_SATISFY:   MPC_PRIMATIVE(s, mpc_input_satisfy(i, p->data.satisfy.f, &s));
      case MPC_TYPE_STRING:    MPC_PRIMATIVE(s, mpc_input_string(i, p->data.string.x, &s));
      
      /* Other parsers */
      
      case MPC_TYPE_UNDEFINED: MPC_FAILURE(mpc_err_fail(i->filename, i->state, "Parser Undefined!"));      
      case MPC_TYPE_PASS:      MPC_SUCCESS(NULL);
      case MPC_TYPE_FAIL:      MPC_FAILURE(mpc_err_fail(i->filename, i->state, p->data.fail.m));
      case MPC_TYPE_LIFT:      MPC_SUCCESS(p->data.lift.lf());
      case MPC_TYPE_LIFT_VAL:  MPC_SUCCESS(p->data.lift.x);
      case MPC_TYPE_STATE:     MPC_SUCCESS(mpc_state_copy(i->state));
      
      case MPC_TYPE_BOUNDARY:
	if (mpc_input_boundary(i)) {
	  MPC_SUCCESS(NULL);
        } else {
	  MPC_FAILURE(mpc_err_new(i->filename, i->state, "boundary", mpc_input_peekc(i)));
	}
      
      /* Application Parsers */
      
      case MPC_TYPE_EXPECT:
        if (st == 0) { MPC_CONTINUE(1, p->data.expect.x); }
        if (st == 1) {
          if (mpc_stack_popr(stk, &r)) {
            MPC_SUCCESS(r.output);
          } else {
            mpc_err_delete(r.error); 
            MPC_FAILURE(mpc_err_new(i->filename, i->state, p->data.expect.m, mpc_input_peekc(i)));
          }
        }
      
      case MPC_TYPE_APPLY:
        if (st == 0) { MPC_CONTINUE(1, p->data.apply.x); }
        if (st == 1) {
          if (mpc_stack_popr(stk, &r)) {
            MPC_SUCCESS(p->data.apply.f(r.output));
          } else {
            MPC_FAILURE(r.error);
          }
        }
      
      case MPC_TYPE_APPLY_TO:
        if (st == 0) { MPC_CONTINUE(1, p->data.apply_to.x); }
        if (st == 1) {
          if (mpc_stack_popr(stk, &r)) {
            MPC_SUCCESS(p->data.apply_to.f(r.output, p->data.apply_to.d));
          } else {
            MPC_FAILURE(r.error);
          }
        }
      
      case MPC_TYPE_PREDICT:
        if (st == 0) { mpc_input_backtrack_disable(i); MPC_CONTINUE(1, p->data.predict.x); }
        if (st == 1) {
          mpc_input_backtrack_enable(i);
          mpc_stack_popp(stk, &p, &st);
          continue;
        }
      
      /* Optional Parsers */
      
      /* TODO: Update Not Error Message */
      
      case MPC_TYPE_NOT:
        if (st == 0) { mpc_input_mark(i); MPC_CONTINUE(1, p->data.not.x); }
        if (st == 1) {
          if (mpc_stack_popr(stk, &r)) {
            mpc_input_rewind(i);
            p->data.not.dx(r.output);
            MPC_FAILURE(mpc_err_new(i->filename, i->state, "opposite", mpc_input_peekc(i)));
          } else {
            mpc_input_unmark(i);
            mpc_stack_err(stk, r.error);
            MPC_SUCCESS(p->data.not.lf());
          }
        }
      
      case MPC_TYPE_MAYBE:
        if (st == 0) { MPC_CONTINUE(1, p->data.not.x); }
        if (st == 1) {
          if (mpc_stack_popr(stk, &r)) {
            MPC_SUCCESS(r.output);
          } else {
            mpc_stack_err(stk, r.error);
            MPC_SUCCESS(p->data.not.lf());
          }
        }
      
      /* Repeat Parsers */
      
      case MPC_TYPE_MANY:
        if (st == 0) { MPC_CONTINUE(st+1, p->data.repeat.x); }
        if (st >  0) {
          if (mpc_stack_peekr(stk, &r)) {
            MPC_CONTINUE(st+1, p->data.repeat.x);
          } else {
            mpc_stack_popr(stk, &r);
            mpc_stack_err(stk, r.error);
            MPC_SUCCESS(mpc_stack_merger_out(stk, st-1, p->data.repeat.f));
          }
        }
      
      case MPC_TYPE_MANY1:
        if (st == 0) { MPC_CONTINUE(st+1, p->data.repeat.x); }
        if (st >  0) {
          if (mpc_stack_peekr(stk, &r)) {
            MPC_CONTINUE(st+1, p->data.repeat.x);
          } else {
            if (st == 1) {
              mpc_stack_popr(stk, &r);
              MPC_FAILURE(mpc_err_many1(r.error));
            } else {
              mpc_stack_popr(stk, &r);
              mpc_stack_err(stk, r.error);
              MPC_SUCCESS(mpc_stack_merger_out(stk, st-1, p->data.repeat.f));
            }
          }
        }
      
      case MPC_TYPE_COUNT:
        if (st == 0) { mpc_input_mark(i); MPC_CONTINUE(st+1, p->data.repeat.x); }
        if (st >  0) {
          if (mpc_stack_peekr(stk, &r)) {
            MPC_CONTINUE(st+1, p->data.repeat.x);
          } else {
            if (st != (p->data.repeat.n+1)) {
              mpc_stack_popr(stk, &r);
              mpc_stack_popr_out_single(stk, st-1, p->data.repeat.dx);
              mpc_input_rewind(i);
              MPC_FAILURE(mpc_err_count(r.error, p->data.repeat.n));
            } else {
              mpc_stack_popr(stk, &r);
              mpc_stack_err(stk, r.error);
              mpc_input_unmark(i);
              MPC_SUCCESS(mpc_stack_merger_out(stk, st-1, p->data.repeat.f));
            }
          }
        }
        
      /* Combinatory Parsers */
      
      case MPC_TYPE_OR:
        
        if (p->data.or.n == 0) { MPC_SUCCESS(NULL); }
        
        if (st == 0) { MPC_CONTINUE(st+1, p->data.or.xs[st]); }
        if (st <= p->data.or.n) {
          if (mpc_stack_peekr(stk, &r)) {
            mpc_stack_popr(stk, &r);
            mpc_stack_popr_err(stk, st-1);
            MPC_SUCCESS(r.output);
          }
          if (st <  p->data.or.n) { MPC_CONTINUE(st+1, p->data.or.xs[st]); }
          if (st == p->data.or.n) { MPC_FAILURE(mpc_stack_merger_err(stk, p->data.or.n)); }
        }
      
      case MPC_TYPE_AND:
        
        if (p->data.or.n == 0) { MPC_SUCCESS(p->data.and.f(0, NULL)); }
        
        if (st == 0) { mpc_input_mark(i); MPC_CONTINUE(st+1, p->data.and.xs[st]); }
        if (st <= p->data.and.n) {
          if (!mpc_stack_peekr(stk, &r)) {
            mpc_input_rewind(i);
            mpc_stack_popr(stk, &r);
            mpc_stack_popr_out(stk, st-1, p->data.and.dxs);
            MPC_FAILURE(r.error);
          }
          if (st <  p->data.and.n) { MPC_CONTINUE(st+1, p->data.and.xs[st]); }
          if (st == p->data.and.n) { mpc_input_unmark(i); MPC_SUCCESS(mpc_stack_merger_out(stk, p->data.and.n, p->data.and.f)); }
        }
      
      /* End */
      
      default:
        
        MPC_FAILURE(mpc_err_fail(i->filename, i->state, "Unknown Parser Type Id!"));
    }
  }
  
  return mpc_stack_terminate(stk, final);
  
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdx, 0x30(%rsp)
movq %rsi, %r12
movq %rdi, %r15
movl $0x0, 0x4(%rsp)
movq $0x0, 0x8(%rsp)
movq 0x8(%rdi), %r13
movl $0x38, %edi
callq 0x2290
movq %rax, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x20(%rax)
leaq 0xacee(%rip), %rcx      # 0x12e0b
movq %r13, %rdi
movq $-0x1, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x8f2e
movq %rax, 0x30(%rbx)
movq %rbx, %rdi
movq %r12, %rsi
callq 0x8d91
movl (%rbx), %eax
testl %eax, %eax
je 0x8d0a
leaq 0x28(%rsp), %r14
movq 0x8(%rbx), %rcx
cltq
movq -0x8(%rcx,%rax,8), %r12
movq %r12, 0x8(%rsp)
movq 0x10(%rbx), %rcx
movl -0x4(%rcx,%rax,4), %ebp
movl %ebp, 0x4(%rsp)
movzbl 0x10(%r12), %edx
cmpq $0x1a, %rdx
ja 0x8798
movslq %ebp, %r13
leaq 0xa74b(%rip), %rsi      # 0x128d0
movslq (%rsi,%rdx,4), %rdx
addq %rsi, %rdx
jmpq *%rdx
leaq 0x8(%rsp), %rsi
leaq 0x4(%rsp), %rdx
movq %rbx, %rdi
callq 0x8e0c
movq 0x8(%r15), %rdi
movq 0x10(%r15), %rsi
movl 0x18(%r15), %edx
leaq 0xa916(%rip), %rcx      # 0x12ac9
jmp 0x895d
movq 0x18(%r12), %r13
movq %r15, %rdi
callq 0xe8fa
movl %eax, %ebp
movq %r15, %rdi
callq 0xe966
testl %eax, %eax
jne 0x8938
movsbl %bpl, %ebp
movq %r13, %rdi
movl %ebp, %esi
callq 0x2120
testq %rax, %rax
je 0x8418
leaq 0x18(%rsp), %r13
movq %r15, %rdi
movl %ebp, %esi
jmp 0x8532
movq %r15, %rdi
callq 0xe8fa
movl %eax, %ebp
movq %r15, %rdi
callq 0xe966
testl %eax, %eax
jne 0x8938
jmp 0x8526
leaq 0x8(%rsp), %rsi
leaq 0x4(%rsp), %rdx
movq %rbx, %rdi
callq 0x8e0c
movq 0x10(%r15), %r12
movl 0x18(%r15), %ebp
movl $0xc, %edi
callq 0x2290
movq %r12, (%rax)
movl %ebp, 0x8(%rax)
jmp 0x8b3c
leaq 0x8(%rsp), %r13
leaq 0x4(%rsp), %rdx
movq %rbx, %rdi
movq %r13, %rsi
callq 0x8e0c
movq (%r13), %rax
movq 0x20(%rax), %rsi
jmp 0x8550
movl 0x10(%r15), %ebp
leaq 0x8(%rsp), %rsi
leaq 0x4(%rsp), %rdx
movq %rbx, %rdi
callq 0x8e0c
testl %ebp, %ebp
jne 0x894a
jmp 0x87d4
cmpl $0x1, %r13d
jne 0x84bf
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x9166
testl %eax, %eax
jne 0x8314
movq 0x10(%rsp), %rdi
callq 0x7d64
leaq 0x8(%rsp), %r13
leaq 0x4(%rsp), %rdx
movq %rbx, %rdi
movq %r13, %rsi
callq 0x8e0c
movq 0x8(%r15), %rbp
movq (%r13), %rax
movq 0x20(%rax), %r13
movq %r15, %rdi
callq 0x90ac
movq 0x10(%r15), %rsi
movl 0x18(%r15), %edx
movsbl %al, %r8d
movq %rbp, %rdi
movq %r13, %rcx
jmp 0x8891
cmpl $0x1, %r13d
jne 0x84bf
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x9166
testl %eax, %eax
je 0x8afd
leaq 0x8(%rsp), %rsi
leaq 0x4(%rsp), %rdx
movq %rbx, %rdi
callq 0x8e0c
movq 0x10(%rsp), %rsi
jmp 0x8550
cmpl $0x1, %r13d
je 0x8836
testl %r13d, %r13d
jne 0x865c
movq %r15, %rdi
callq 0x9209
movq 0x10(%rbx), %rax
movslq (%rbx), %rcx
movl $0x1, -0x4(%rax,%rcx,4)
jmp 0x864a
leaq 0x8(%rsp), %r13
leaq 0x4(%rsp), %rdx
movq %rbx, %rdi
movq %r13, %rsi
callq 0x8e0c
movq (%r13), %rax
movq 0x18(%rax), %rcx
movq 0x8(%r15), %rdi
movq 0x10(%r15), %rsi
movl 0x18(%r15), %edx
jmp 0x895d
movsbl 0x18(%r12), %esi
leaq 0x18(%rsp), %rdx
movq %r15, %rdi
callq 0x8fb6
movl %eax, %ebp
leaq 0x8(%rsp), %rsi
leaq 0x4(%rsp), %rdx
movq %rbx, %rdi
callq 0x8e0c
testl %ebp, %ebp
jne 0x84ab
jmp 0x894a
leaq 0x8(%rsp), %r13
leaq 0x4(%rsp), %rdx
movq %rbx, %rdi
movq %r13, %rsi
callq 0x8e0c
movq (%r13), %rax
callq *0x18(%rax)
jmp 0x8b3c
movq 0x18(%r12), %r13
movq %r15, %rdi
callq 0xe8fa
movl %eax, %ebp
movq %r15, %rdi
callq 0xe966
testl %eax, %eax
jne 0x8938
movsbl %bpl, %ebp
movq %r13, %rdi
movl %ebp, %esi
callq 0x2120
testq %rax, %rax
je 0x81ee
movq %r15, %rdi
movl %ebp, %esi
jmp 0x84ee
movq 0x18(%r12), %rbp
movq $0x0, 0x20(%rsp)
movq %r15, %rdi
callq 0x9209
movb (%rbp), %al
testb %al, %al
je 0x8470
leaq 0x1(%rbp), %r12
movsbl %al, %esi
leaq 0x20(%rsp), %rdx
movq %r15, %rdi
callq 0x8fb6
testl %eax, %eax
je 0x8930
movq 0x20(%rsp), %rdi
callq 0x23f0
movb (%r12), %al
incq %r12
testb %al, %al
jne 0x8443
movq %r15, %rdi
callq 0x92e8
movq %rbp, %rdi
callq 0x2110
leaq 0x1(%rax), %rdi
callq 0x2290
movq %rax, 0x18(%rsp)
movq %rax, %rdi
movq %rbp, %rsi
callq 0x2080
leaq 0x8(%rsp), %rsi
leaq 0x4(%rsp), %rdx
movq %rbx, %rdi
callq 0x8e0c
movq 0x18(%rsp), %rsi
jmp 0x8550
cmpl $0x1, %r13d
je 0x889b
testl %r13d, %r13d
je 0x8642
jmp 0x865c
movq %r15, %rdi
callq 0xe8fa
movl %eax, %ebp
movq %r15, %rdi
callq 0xe966
testl %eax, %eax
jne 0x87c2
movsbl %bpl, %esi
movq %r15, %rdi
callq 0xe9cb
jmp 0x8938
movb 0x18(%r12), %r13b
movb 0x19(%r12), %r12b
movq %r15, %rdi
callq 0xe8fa
movl %eax, %ebp
movq %r15, %rdi
callq 0xe966
testl %eax, %eax
jne 0x8938
cmpb %r13b, %bpl
jl 0x84e7
cmpb %r12b, %bpl
jg 0x84e7
movsbl %bpl, %esi
leaq 0x18(%rsp), %r13
movq %r15, %rdi
movq %r13, %rdx
callq 0xea30
leaq 0x8(%rsp), %rsi
leaq 0x4(%rsp), %rdx
movq %rbx, %rdi
callq 0x8e0c
movq (%r13), %rsi
movq %rbx, %rdi
jmp 0x8b42
movq %r15, %rdi
callq 0x90ac
movl %eax, %ebp
movsbl 0x50(%r15), %esi
leaq 0xa8ab(%rip), %rdi      # 0x12e19
movl $0x40, %edx
callq 0x21c0
testq %rax, %rax
setne %cl
testb %bpl, %bpl
sete %dl
testb %dl, %cl
jne 0x87c2
testq %rax, %rax
setne %r12b
movsbl %bpl, %esi
leaq 0xa87b(%rip), %rdi      # 0x12e19
movl $0x40, %edx
callq 0x21c0
testq %rax, %rax
sete %al
xorb %r12b, %al
je 0x87c2
leaq 0x8(%rsp), %rsi
leaq 0x4(%rsp), %rdx
movq %rbx, %rdi
callq 0x8e0c
movq 0x8(%r15), %r13
movq %r15, %rdi
callq 0x90ac
movq 0x10(%r15), %rsi
movl 0x18(%r15), %edx
movsbl %al, %r8d
leaq 0xa4f3(%rip), %rcx      # 0x12adb
jmp 0x888e
cmpl $0x1, %ebp
je 0x88d6
testl %ebp, %ebp
je 0x8642
jmp 0x865c
movq 0x18(%r12), %r12
movq %r15, %rdi
callq 0xe8fa
movl %eax, %ebp
movq %r15, %rdi
callq 0xe966
testl %eax, %eax
jne 0x8938
movsbl %bpl, %ebp
movl %ebp, %edi
callq *%r12
testl %eax, %eax
jne 0x81ee
jmp 0x8418
cmpl $0x1, %ebp
je 0x8915
testl %ebp, %ebp
jne 0x865c
decl 0x38(%r15)
movl $0x1, -0x4(%rcx,%rax,4)
movq 0x18(%r12), %rsi
jmp 0x8804
testl %ebp, %ebp
je 0x87de
testl %r13d, %r13d
jle 0x86ea
movq 0x20(%rbx), %rdx
movslq 0x18(%rbx), %rsi
movq -0x8(%rdx,%rsi,8), %rdx
movq %rdx, 0x10(%rsp)
movq 0x28(%rbx), %rdx
cmpl $0x0, -0x4(%rdx,%rsi,4)
jne 0x8719
leaq 0x10(%rsp), %r13
movq %rbx, %rdi
movq %r13, %rsi
callq 0x9166
movq (%r13), %rax
movq 0x30(%rbx), %rcx
leaq 0x20(%rsp), %rdi
movq %rcx, (%rdi)
movq %rax, 0x8(%rdi)
movl $0x2, %esi
callq 0xead9
movq %rax, 0x30(%rbx)
leaq 0x8(%rsp), %r13
leaq 0x4(%rsp), %rbp
movq %rbx, %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq 0x8e0c
movl (%rbp), %esi
decl %esi
movq (%r13), %rax
movq 0x20(%rax), %rdx
movq %rbx, %rdi
callq 0x9349
jmp 0x8b3c
testl %r13d, %r13d
je 0x87de
testl %r13d, %r13d
jle 0x8724
movq 0x20(%rbx), %rdx
movslq 0x18(%rbx), %rsi
movq -0x8(%rdx,%rsi,8), %rdx
movq %rdx, 0x10(%rsp)
movq 0x28(%rbx), %rdx
cmpl $0x0, -0x4(%rdx,%rsi,4)
je 0x89a3
incl %ebp
movl %ebp, -0x4(%rcx,%rax,4)
jmp 0x87ff
testl %r13d, %r13d
je 0x87e8
testl %r13d, %r13d
jle 0x8760
movq 0x20(%rbx), %rdx
movslq 0x18(%rbx), %rsi
movq -0x8(%rdx,%rsi,8), %rdx
movq %rdx, 0x10(%rsp)
movq 0x28(%rbx), %rdx
cmpl $0x0, -0x4(%rdx,%rsi,4)
je 0x8a7e
leal 0x1(%r13), %edx
movl %edx, -0x4(%rcx,%rax,4)
jmp 0x87ff
movl 0x18(%r12), %edx
testl %edx, %edx
je 0x87c2
testl %ebp, %ebp
je 0x896f
cmpl %edx, %r13d
jle 0x89e7
movl 0x18(%r12), %edx
testl %edx, %edx
je 0x8811
testl %r13d, %r13d
je 0x897e
cmpl %edx, %ebp
jle 0x8a44
movq %rbx, %rdi
leaq 0x8(%rsp), %rsi
leaq 0x4(%rsp), %rdx
callq 0x8e0c
movq 0x8(%r15), %rdi
movq 0x10(%r15), %rsi
movl 0x18(%r15), %edx
leaq 0xa330(%rip), %rcx      # 0x12aed
jmp 0x895d
leaq 0x8(%rsp), %rsi
leaq 0x4(%rsp), %rdx
movq %rbx, %rdi
callq 0x8e0c
movq %rbx, %rdi
xorl %esi, %esi
jmp 0x8b42
movl $0x1, -0x4(%rcx,%rax,4)
jmp 0x87ff
movq %r15, %rdi
callq 0x9209
movq 0x10(%rbx), %rax
movslq (%rbx), %rcx
movl $0x1, -0x4(%rax,%rcx,4)
movq 0x28(%r12), %rsi
movq %rbx, %rdi
callq 0x8d91
jmp 0x8b4c
leaq 0x8(%rsp), %r12
leaq 0x4(%rsp), %rdx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x8e0c
movq (%r12), %rax
xorl %edi, %edi
xorl %esi, %esi
callq *0x20(%rax)
jmp 0x8b3c
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x9166
movq %r15, %rdi
testl %eax, %eax
je 0x8af8
callq 0x929c
movq 0x10(%rsp), %rdi
callq *0x20(%r12)
leaq 0x8(%rsp), %rsi
leaq 0x4(%rsp), %rdx
movq %rbx, %rdi
callq 0x8e0c
movq 0x8(%r15), %r13
movq %r15, %rdi
callq 0x90ac
movq 0x10(%r15), %rsi
movl 0x18(%r15), %edx
movsbl %al, %r8d
leaq 0xa256(%rip), %rcx      # 0x12ae4
movq %r13, %rdi
callq 0x9008
jmp 0x8962
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x9166
movl %eax, %ebp
leaq 0x8(%rsp), %rsi
leaq 0x4(%rsp), %rdx
movq %rbx, %rdi
callq 0x8e0c
testl %ebp, %ebp
je 0x8c6e
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rdi
callq *0x20(%rax)
jmp 0x8b3c
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x9166
movl %eax, %ebp
leaq 0x8(%rsp), %rsi
leaq 0x4(%rsp), %rdx
movq %rbx, %rdi
callq 0x8e0c
testl %ebp, %ebp
je 0x8c6e
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rdi
movq 0x28(%rax), %rsi
callq *0x20(%rax)
jmp 0x8b3c
incl 0x38(%r15)
leaq 0x8(%rsp), %rsi
leaq 0x4(%rsp), %rdx
movq %rbx, %rdi
callq 0x8e0c
jmp 0x8b4c
movq %r15, %rdi
callq 0x929c
leaq 0x8(%rsp), %rsi
leaq 0x4(%rsp), %rdx
movq %rbx, %rdi
callq 0x8e0c
movq 0x8(%r15), %rdi
movq 0x10(%r15), %rsi
movl 0x18(%r15), %edx
leaq 0xa15c(%rip), %rcx      # 0x12ab9
callq 0x8f2e
movq %rbx, %rdi
movq %rax, %rsi
xorl %edx, %edx
jmp 0x8b47
movl $0x1, -0x4(%rcx,%rax,4)
movq 0x20(%r12), %rax
jmp 0x899a
movq %r15, %rdi
callq 0x9209
movq 0x10(%rbx), %rax
movslq (%rbx), %rcx
movl $0x1, -0x4(%rax,%rcx,4)
movq 0x28(%r12), %rax
movq (%rax,%rbp,8), %rsi
jmp 0x8804
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x9166
cmpl $0x1, %ebp
jne 0x8aee
leaq 0x8(%rsp), %rsi
leaq 0x4(%rsp), %rdx
movq %rbx, %rdi
callq 0x8e0c
movq 0x10(%rsp), %r13
leaq 0xa482(%rip), %rsi      # 0x12e59
movq %r13, %rdi
callq 0xece7
movq %rbx, %rdi
movq %r13, %rsi
jmp 0x8968
movq 0x20(%rbx), %rsi
movslq 0x18(%rbx), %rdi
movq -0x8(%rsi,%rdi,8), %rsi
movq %rsi, 0x10(%rsp)
movq 0x28(%rbx), %rsi
cmpl $0x0, -0x4(%rsi,%rdi,4)
je 0x8bfd
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x9166
decl %ebp
je 0x8314
movq %rbx, %rdi
movq %r14, %rsi
callq 0x9166
movq 0x30(%rbx), %rax
leaq 0x20(%rsp), %rdi
movq %rax, (%rdi)
movl $0x2, %esi
callq 0xead9
movq %rax, 0x30(%rbx)
jmp 0x8a15
movq 0x20(%rbx), %rsi
movslq 0x18(%rbx), %rdi
movq -0x8(%rsi,%rdi,8), %rsi
movq %rsi, 0x10(%rsp)
movq 0x28(%rbx), %rsi
cmpl $0x0, -0x4(%rsi,%rdi,4)
je 0x8c1c
cmpl %edx, %ebp
jge 0x8c7b
leal 0x1(%rbp), %edx
movl %edx, -0x4(%rcx,%rax,4)
movq 0x28(%r12), %rax
jmp 0x8c13
movl 0x18(%r12), %r13d
incl %r13d
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x9166
cmpl %r13d, %ebp
jne 0x8b5b
movq 0x10(%rsp), %rax
movq 0x30(%rbx), %rcx
leaq 0x20(%rsp), %rdi
movq %rcx, (%rdi)
movq %rax, 0x8(%rdi)
movl $0x2, %esi
callq 0xead9
movq %rax, 0x30(%rbx)
movq %r15, %rdi
callq 0x92e8
leaq 0x8(%rsp), %r12
leaq 0x4(%rsp), %r13
movq %rbx, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x8e0c
movl (%r13), %esi
decl %esi
movq (%r12), %rax
jmp 0x86d9
movq 0x10(%rsp), %rax
jmp 0x869a
callq 0x92e8
movq 0x10(%rsp), %rax
movq 0x30(%rbx), %rcx
leaq 0x20(%rsp), %rdi
movq %rcx, (%rdi)
movq %rax, 0x8(%rdi)
movl $0x2, %esi
callq 0xead9
movq %rax, 0x30(%rbx)
leaq 0x8(%rsp), %r13
leaq 0x4(%rsp), %rdx
movq %rbx, %rdi
movq %r13, %rsi
callq 0x8e0c
movq (%r13), %rax
callq *0x28(%rax)
movq %rbx, %rdi
movq %rax, %rsi
movl $0x1, %edx
callq 0x8eae
movl (%rbx), %eax
testl %eax, %eax
jne 0x814f
jmp 0x8d0a
decl %ebp
je 0x8b7f
movq 0x30(%r12), %r12
leaq 0x20(%rsp), %r13
movq %rbx, %rdi
movq %r13, %rsi
callq 0x9166
movq (%r13), %rdi
callq *%r12
decl %ebp
jne 0x8b64
movq %r15, %rdi
callq 0x929c
leaq 0x8(%rsp), %r13
leaq 0x4(%rsp), %rdx
movq %rbx, %rdi
movq %r13, %rsi
callq 0x8e0c
movq 0x10(%rsp), %rbp
movq (%r13), %rax
movslq 0x18(%rax), %r13
imulq $0x66666667, %r13, %rax # imm = 0x66666667
movq %rax, %rcx
sarq $0x22, %rcx
shrq $0x3f, %rax
addl %ecx, %eax
addl $0x6, %eax
movslq %eax, %rdi
callq 0x2290
movq %rax, %r12
leaq 0xa29c(%rip), %rsi      # 0x12e6e
movq %rax, %rdi
movl %r13d, %edx
xorl %eax, %eax
callq 0x2370
movq %rbp, %rdi
movq %r12, %rsi
callq 0xece7
movq %r12, %rdi
callq 0x23f0
movq %rbx, %rdi
movq %rbp, %rsi
jmp 0x8968
cmpl %edx, %r13d
jge 0x8cad
leal 0x1(%r13), %edx
movl %edx, -0x4(%rcx,%rax,4)
movq 0x20(%r12), %rax
movq (%rax,%r13,8), %rsi
jmp 0x8804
movq %r15, %rdi
callq 0x929c
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x9166
decq %r13
testl %r13d, %r13d
je 0x8c5c
movq 0x30(%r12), %rbp
leaq 0x20(%rsp), %r12
movq %rbx, %rdi
movq %r12, %rsi
callq 0x9166
movq (%r12), %rdi
callq *-0x8(%rbp,%r13,8)
decq %r13
jne 0x8c3e
leaq 0x8(%rsp), %rsi
leaq 0x4(%rsp), %rdx
movq %rbx, %rdi
callq 0x8e0c
movq 0x10(%rsp), %rsi
movq %rbx, %rdi
jmp 0x8968
cmpl %edx, %r13d
jne 0x8798
movq %r15, %rdi
callq 0x92e8
leaq 0x8(%rsp), %r12
leaq 0x4(%rsp), %rdx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x8e0c
movq (%r12), %rax
movl 0x18(%rax), %esi
jmp 0x86d9
cmpl %edx, %ebp
jne 0x877a
leaq 0x8(%rsp), %r12
leaq 0x4(%rsp), %rdx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x8e0c
movq (%r12), %rax
movslq 0x18(%rax), %rbp
movslq 0x18(%rbx), %rdi
subq %rbp, %rdi
shlq $0x3, %rdi
addq 0x20(%rbx), %rdi
movl %ebp, %esi
callq 0xead9
movq %rax, %r13
testq %rbp, %rbp
je 0x89df
leaq 0x20(%rsp), %rsi
movq %rbx, %rdi
callq 0x9166
decl %ebp
jne 0x8cf4
jmp 0x89df
movq 0x20(%rbx), %rax
movq 0x28(%rbx), %rcx
movl (%rcx), %ebp
movq (%rax), %rax
testl %ebp, %ebp
je 0x8d2e
movq 0x30(%rsp), %rcx
movq %rax, (%rcx)
movq 0x30(%rbx), %rdi
callq 0x7d64
jmp 0x8d54
movq 0x30(%rbx), %rcx
leaq 0x20(%rsp), %rdi
movq %rcx, (%rdi)
movq %rax, 0x8(%rdi)
movl $0x2, %esi
callq 0xead9
movq %rax, 0x30(%rbx)
movq 0x30(%rsp), %rcx
movq %rax, (%rcx)
movq 0x8(%rbx), %rdi
callq 0x23f0
movq 0x10(%rbx), %rdi
callq 0x23f0
movq 0x20(%rbx), %rdi
callq 0x23f0
movq 0x28(%rbx), %rdi
callq 0x23f0
movq %rbx, %rdi
callq 0x23f0
movl %ebp, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq