LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpc_input_peekc
static char mpc_input_peekc(mpc_input_t *i) {
  
  char c;
  
  switch (i->type) {
    case MPC_INPUT_STRING: return i->string[i->state.pos];
    case MPC_INPUT_FILE: 
      
      if (feof(i->file)) { return '\0'; }
      
      c = fgetc(i->file);
      fseek(i->file, -1, SEEK_CUR);
      break;
    
    case MPC_INPUT_PIPE:
      
      if (feof(i->file)) { return '\0'; }
      
      if (!i->buffer) { c = getc(i->file); ungetc(c, i->file); break; }
      
      if (i->buffer && mpc_input_buffer_in_range(i)) {
        return mpc_input_buffer_get(i);
      } else {
        c = getc(i->file); ungetc(c, i->file);
        break;
      }
      
  }
  
  return c;
  
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl (%rdi), %eax
cmpl $0x2, %eax
je 0x8ea5
cmpl $0x1, %eax
je 0x8e76
testl %eax, %eax
jne 0x8eb4
movq 0x20(%rbx), %rax
movslq 0x10(%rbx), %rcx
movb (%rax,%rcx), %bpl
jmp 0x8eb4
movq 0x30(%rbx), %rdi
callq 0x2240
testl %eax, %eax
jne 0x8eb2
movq 0x30(%rbx), %rdi
callq 0x2190
movl %eax, %ebp
movq 0x30(%rbx), %rdi
movq $-0x1, %rsi
movl $0x1, %edx
callq 0x22d0
jmp 0x8eb4
movq 0x30(%rbx), %rdi
callq 0x2240
testl %eax, %eax
je 0x8ec1
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq 0x28(%rbx), %r14
testq %r14, %r14
je 0x8eee
movslq 0x10(%rbx), %r15
movq %r14, %rdi
callq 0x2110
movq 0x40(%rbx), %rcx
movslq (%rcx), %rcx
addq %rcx, %rax
cmpq %r15, %rax
jbe 0x8eee
subq %rcx, %r15
movb (%r14,%r15), %bpl
jmp 0x8eb4
movq 0x30(%rbx), %rdi
callq 0x23b0
movl %eax, %ebp
movsbl %bpl, %edi
movq 0x30(%rbx), %rsi
callq 0x22c0
jmp 0x8eb4
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpc_stack_popr
static int mpc_stack_popr(mpc_stack_t *s, mpc_result_t *x) {
  int r;
  *x = s->results[s->results_num-1];
  r = s->returns[s->results_num-1];
  s->results_num--;
  mpc_stack_results_reserve_less(s);
  return r;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x20(%rdi), %rax
movslq 0x18(%rdi), %rcx
movq -0x8(%rax,%rcx,8), %rax
movq %rax, (%rsi)
movq 0x28(%rdi), %rax
movslq 0x18(%rdi), %rcx
movl -0x4(%rax,%rcx,4), %ebp
leal -0x1(%rcx), %eax
movl %eax, 0x18(%rdi)
cvtsi2sdl 0x1c(%rdi), %xmm0
movsd %xmm0, (%rsp)
xorps %xmm0, %xmm0
cvtsi2sd %ecx, %xmm0
movsd 0x9b2f(%rip), %xmm1     # 0x12a78
callq 0x20f0
movsd (%rsp), %xmm1
ucomisd %xmm0, %xmm1
jbe 0x8fa2
movl 0x1c(%rbx), %eax
decl %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
mulsd 0x9b13(%rip), %xmm0     # 0x12a80
callq 0x2340
cvttsd2si %xmm0, %eax
movl %eax, 0x1c(%rbx)
movq 0x20(%rbx), %rdi
movslq %eax, %rsi
shlq $0x3, %rsi
callq 0x22e0
movq %rax, 0x20(%rbx)
movq 0x28(%rbx), %rdi
movslq 0x1c(%rbx), %rsi
shlq $0x2, %rsi
callq 0x22e0
movq %rax, 0x28(%rbx)
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpc_input_mark
static void mpc_input_mark(mpc_input_t *i) {
  
  if (i->backtrack < 1) { return; }
  
  i->marks_num++;
  i->marks = realloc(i->marks, sizeof(mpc_state_t) * i->marks_num);
  i->lasts = realloc(i->lasts, sizeof(int) * i->marks_num);
  i->marks[i->marks_num-1] = i->state;
  i->lasts[i->marks_num-1] = i->last;
  
  if (i->type == MPC_INPUT_PIPE && i->marks_num == 1) {
    i->buffer = calloc(1, 1);
  }
  
}

// Assembly:
cmpl $0x0, 0x38(%rdi)
jle 0x903d
pushq %rbx
movq %rdi, %rbx
movslq 0x3c(%rdi), %rax
leaq 0x1(%rax), %rcx
movl %ecx, 0x3c(%rdi)
movq 0x40(%rdi), %rdi
leaq 0x4(,%rax,4), %rax
leaq (%rax,%rax,2), %rsi
callq 0x22e0
movq %rax, 0x40(%rbx)
movq 0x48(%rbx), %rdi
movslq 0x3c(%rbx), %rsi
shlq $0x2, %rsi
callq 0x22e0
movq %rax, 0x48(%rbx)
movq 0x40(%rbx), %rax
movslq 0x3c(%rbx), %rcx
leaq (%rcx,%rcx,2), %rcx
movl 0x18(%rbx), %edx
movl %edx, -0x4(%rax,%rcx,4)
movq 0x10(%rbx), %rdx
movq %rdx, -0xc(%rax,%rcx,4)
movsbl 0x50(%rbx), %eax
movq 0x48(%rbx), %rcx
movslq 0x3c(%rbx), %rdx
movl %eax, -0x4(%rcx,%rdx,4)
cmpl $0x2, (%rbx)
jne 0x903c
cmpl $0x1, 0x3c(%rbx)
jne 0x903c
movl $0x1, %edi
movl $0x1, %esi
callq 0x2200
movq %rax, 0x28(%rbx)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpc_input_unmark
static void mpc_input_unmark(mpc_input_t *i) {
  
  if (i->backtrack < 1) { return; }
  
  i->marks_num--;
  i->marks = realloc(i->marks, sizeof(mpc_state_t) * i->marks_num);
  i->lasts = realloc(i->lasts, sizeof(int) * i->marks_num);
  
  if (i->type == MPC_INPUT_PIPE && i->marks_num == 0) {
    free(i->buffer);
    i->buffer = NULL;
  }
  
}

// Assembly:
cmpl $0x0, 0x38(%rdi)
jle 0x90ea
pushq %rbx
movq %rdi, %rbx
movslq 0x3c(%rdi), %rax
leaq -0x1(%rax), %rcx
movl %ecx, 0x3c(%rdi)
movq 0x40(%rdi), %rdi
leaq -0x4(,%rax,4), %rax
leaq (%rax,%rax,2), %rsi
callq 0x22e0
movq %rax, 0x40(%rbx)
movq 0x48(%rbx), %rdi
movslq 0x3c(%rbx), %rsi
shlq $0x2, %rsi
callq 0x22e0
movq %rax, 0x48(%rbx)
cmpl $0x2, (%rbx)
jne 0x90e9
cmpl $0x0, 0x3c(%rbx)
jne 0x90e9
movq 0x28(%rbx), %rdi
callq 0x23f0
movq $0x0, 0x28(%rbx)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpc_parse_contents
int mpc_parse_contents(const char *filename, mpc_parser_t *p, mpc_result_t *r) {
  
  FILE *f = fopen(filename, "rb");
  int res;
  
  if (f == NULL) {
    r->output = NULL;
    r->error = mpc_err_fail(filename, mpc_state_new(), "Unable to open file!");
    return 0;
  }
  
  res = mpc_parse_file(filename, f, p, r);
  fclose(f);
  return res;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r12
leaq 0x97b0(%rip), %rsi      # 0x12b5d
callq 0x2330
testq %rax, %rax
je 0x93ec
movq %rax, %r14
movq %r12, %rdi
movq %rax, %rsi
callq 0x9275
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x7d5a
movl %eax, %ebx
movq %r12, %rdi
callq 0x91fb
movq %r14, %rdi
callq 0x2100
movl %ebx, %eax
jmp 0x940b
movq $0x0, (%rbx)
leaq 0x9766(%rip), %rcx      # 0x12b60
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x8cc9
movq %rax, (%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpc_lift_val
mpc_parser_t *mpc_lift_val(mpc_val_t *x) {
  mpc_parser_t *p = mpc_undefined();
  p->type = MPC_TYPE_LIFT_VAL;
  p->data.lift.x = x;
  return p;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl $0x1, %edi
movl $0x38, %esi
callq 0x2200
movb $0x4, 0x10(%rax)
movq %rbx, 0x20(%rax)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpc_lift
mpc_parser_t *mpc_lift(mpc_ctor_t lf) {
  mpc_parser_t *p = mpc_undefined();
  p->type = MPC_TYPE_LIFT;
  p->data.lift.lf = lf;
  return p;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl $0x1, %edi
movl $0x38, %esi
callq 0x2200
movb $0x3, 0x10(%rax)
movq %rbx, 0x18(%rax)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpc_char
mpc_parser_t *mpc_char(char c) {
  mpc_parser_t *p = mpc_undefined();
  p->type = MPC_TYPE_SINGLE;
  p->data.single.x = c;
  return mpc_expectf(p, "'%c'", c);
}

// Assembly:
pushq %rbx
movl %edi, %ebx
movl $0x1, %edi
movl $0x38, %esi
callq 0x2200
movb $0xb, 0x10(%rax)
movb %bl, 0x18(%rax)
leaq 0x9182(%rip), %rsi      # 0x12bc6
movq %rax, %rdi
movl %ebx, %edx
xorl %eax, %eax
popq %rbx
jmp 0x9916
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpc_range
mpc_parser_t *mpc_range(char s, char e) {
  mpc_parser_t *p = mpc_undefined();
  p->type = MPC_TYPE_RANGE;
  p->data.range.x = s;
  p->data.range.y = e;
  return mpc_expectf(p, "character between '%c' and '%c'", s, e);
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl %esi, %ebx
movl %edi, %ebp
movl $0x1, %edi
movl $0x38, %esi
callq 0x2200
movb $0xe, 0x10(%rax)
movb %bpl, 0x18(%rax)
movb %bl, 0x19(%rax)
leaq 0x9132(%rip), %rsi      # 0x12bab
movq %rax, %rdi
movl %ebp, %edx
movl %ebx, %ecx
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x9916
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpc_noneof
mpc_parser_t *mpc_noneof(const char *s) {
  mpc_parser_t *p = mpc_undefined();
  p->type = MPC_TYPE_NONEOF;
  p->data.string.x = malloc(strlen(s) + 1);
  strcpy(p->data.string.x, s);
  return mpc_expectf(p, "one of '%s'", s);

}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl $0x1, %edi
movl $0x38, %esi
callq 0x2200
movq %rax, %r14
movb $0xd, 0x10(%rax)
movq %rbx, %rdi
callq 0x2110
leaq 0x1(%rax), %rdi
callq 0x2290
movq %rax, 0x18(%r14)
movq %rax, %rdi
movq %rbx, %rsi
callq 0x2080
leaq 0x90a2(%rip), %rsi      # 0x12bcb
movq %r14, %rdi
movq %rbx, %rdx
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x9916
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpc_satisfy
mpc_parser_t *mpc_satisfy(int(*f)(char)) {
  mpc_parser_t *p = mpc_undefined();
  p->type = MPC_TYPE_SATISFY;
  p->data.satisfy.f = f;
  return mpc_expectf(p, "character satisfying function %p", f);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl $0x1, %edi
movl $0x38, %esi
callq 0x2200
movb $0xf, 0x10(%rax)
movq %rbx, 0x18(%rax)
leaq 0x9078(%rip), %rsi      # 0x12bd7
movq %rax, %rdi
movq %rbx, %rdx
xorl %eax, %eax
popq %rbx
jmp 0x9916
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpc_apply_to
mpc_parser_t *mpc_apply_to(mpc_parser_t *a, mpc_apply_to_t f, void *x) {
  mpc_parser_t *p = mpc_undefined();
  p->type = MPC_TYPE_APPLY_TO;
  p->data.apply_to.x = a;
  p->data.apply_to.f = f;
  p->data.apply_to.d = x;
  return p;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movl $0x1, %edi
movl $0x38, %esi
callq 0x2200
movb $0x12, 0x10(%rax)
movq %r15, 0x18(%rax)
movq %r14, 0x20(%rax)
movq %rbx, 0x28(%rax)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpc_predictive
mpc_parser_t *mpc_predictive(mpc_parser_t *a) {
  mpc_parser_t *p = mpc_undefined();
  p->type = MPC_TYPE_PREDICT;
  p->data.predict.x = a;
  return p;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl $0x1, %edi
movl $0x38, %esi
callq 0x2200
movb $0x13, 0x10(%rax)
movq %rbx, 0x18(%rax)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpc_not_lift
mpc_parser_t *mpc_not_lift(mpc_parser_t *a, mpc_dtor_t da, mpc_ctor_t lf) {
  mpc_parser_t *p = mpc_undefined();
  p->type = MPC_TYPE_NOT;
  p->data.not.x = a;
  p->data.not.dx = da;
  p->data.not.lf = lf;
  return p;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movl $0x1, %edi
movl $0x38, %esi
callq 0x2200
movb $0x14, 0x10(%rax)
movq %r15, 0x18(%rax)
movq %r14, 0x20(%rax)
movq %rbx, 0x28(%rax)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpc_maybe_lift
mpc_parser_t *mpc_maybe_lift(mpc_parser_t *a, mpc_ctor_t lf) {
  mpc_parser_t *p = mpc_undefined();
  p->type = MPC_TYPE_MAYBE;
  p->data.not.x = a;
  p->data.not.lf = lf;
  return p;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movl $0x1, %edi
movl $0x38, %esi
callq 0x2200
movb $0x15, 0x10(%rax)
movq %r14, 0x18(%rax)
movq %rbx, 0x28(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpc_many
mpc_parser_t *mpc_many(mpc_fold_t f, mpc_parser_t *a) {
  mpc_parser_t *p = mpc_undefined();
  p->type = MPC_TYPE_MANY;
  p->data.repeat.x = a;
  p->data.repeat.f = f;
  return p;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movl $0x1, %edi
movl $0x38, %esi
callq 0x2200
movb $0x16, 0x10(%rax)
movq %rbx, 0x28(%rax)
movq %r14, 0x20(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpc_many1
mpc_parser_t *mpc_many1(mpc_fold_t f, mpc_parser_t *a) {
  mpc_parser_t *p = mpc_undefined();
  p->type = MPC_TYPE_MANY1;
  p->data.repeat.x = a;
  p->data.repeat.f = f;
  return p;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movl $0x1, %edi
movl $0x38, %esi
callq 0x2200
movb $0x17, 0x10(%rax)
movq %rbx, 0x28(%rax)
movq %r14, 0x20(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpc_count
mpc_parser_t *mpc_count(int n, mpc_fold_t f, mpc_parser_t *a, mpc_dtor_t da) {
  mpc_parser_t *p = mpc_undefined();
  p->type = MPC_TYPE_COUNT;
  p->data.repeat.n = n;
  p->data.repeat.f = f;
  p->data.repeat.x = a;
  p->data.repeat.dx = da;
  return p;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movl %edi, %ebp
movl $0x1, %edi
movl $0x38, %esi
callq 0x2200
movb $0x18, 0x10(%rax)
movl %ebp, 0x18(%rax)
movq %r15, 0x20(%rax)
movq %r14, 0x28(%rax)
movq %rbx, 0x30(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpcf_strfold
mpc_val_t *mpcf_strfold(int n, mpc_val_t **xs) {
  char *x = calloc(1, 1);
  int i;
  for (i = 0; i < n; i++) {
    x = realloc(x, strlen(x) + strlen(xs[i]) + 1);
    strcat(x, xs[i]);
    free(xs[i]);
  }
  return x;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movl %edi, %ebp
movl $0x1, %edi
movl $0x1, %esi
callq 0x2200
movq %rax, %r14
testl %ebp, %ebp
jle 0xa148
movl %ebp, %r13d
xorl %ebp, %ebp
movq %r14, %rdi
callq 0x2110
movq %rax, %r15
movq (%rbx,%rbp,8), %r12
movq %r12, %rdi
callq 0x2110
leaq (%r15,%rax), %rsi
incq %rsi
movq %r14, %rdi
callq 0x22e0
movq %rax, %r14
movq %rax, %rdi
movq %r12, %rsi
callq 0x2360
movq %r12, %rdi
callq 0x23f0
incq %rbp
cmpq %rbp, %r13
jne 0xa104
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpcf_re_repeat
static mpc_val_t *mpcf_re_repeat(int n, mpc_val_t **xs) {
  
  int num;
  if (xs[1] == NULL) { return xs[0]; }
  if (strcmp(xs[1], "*") == 0) { free(xs[1]); return mpc_many(mpcf_strfold, xs[0]); }
  if (strcmp(xs[1], "+") == 0) { free(xs[1]); return mpc_many1(mpcf_strfold, xs[0]); }
  if (strcmp(xs[1], "?") == 0) { free(xs[1]); return mpc_maybe_lift(xs[0], mpcf_ctor_str); }
  num = *(int*)xs[1];
  free(xs[1]);
  
  return mpc_count(num, mpcf_strfold, xs[0], free);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq 0x8(%rsi), %rdi
testq %rdi, %rdi
je 0xb395
movzbl (%rdi), %eax
cmpl $0x3f, %eax
je 0xb3cc
cmpl $0x2b, %eax
je 0xb39a
cmpl $0x2a, %eax
jne 0xb3d2
cmpb $0x0, 0x1(%rdi)
jne 0xb3d2
callq 0x23f0
movq (%rbx), %rbx
movl $0x1, %edi
movl $0x38, %esi
callq 0x2200
movb $0x16, 0x10(%rax)
jmp 0xb3bb
movq (%rbx), %rax
jmp 0xb40c
cmpb $0x0, 0x1(%rdi)
jne 0xb3d2
callq 0x23f0
movq (%rbx), %rbx
movl $0x1, %edi
movl $0x38, %esi
callq 0x2200
movb $0x17, 0x10(%rax)
movq %rbx, 0x28(%rax)
leaq -0x12ed(%rip), %rcx     # 0xa0d9
movq %rcx, 0x20(%rax)
jmp 0xb40c
cmpb $0x0, 0x1(%rdi)
je 0xb411
movl (%rdi), %ebp
callq 0x23f0
movq 0xfbd0(%rip), %r14      # 0x1afb0
movq (%rbx), %rbx
movl $0x1, %edi
movl $0x38, %esi
callq 0x2200
movb $0x18, 0x10(%rax)
movl %ebp, 0x18(%rax)
leaq -0x1327(%rip), %rcx     # 0xa0d9
movq %rcx, 0x20(%rax)
movq %rbx, 0x28(%rax)
movq %r14, 0x30(%rax)
popq %rbx
popq %r14
popq %rbp
retq
callq 0x23f0
movq (%rbx), %rbx
movl $0x1, %edi
movl $0x38, %esi
callq 0x2200
movb $0x15, 0x10(%rax)
movq %rbx, 0x18(%rax)
leaq -0xc13(%rip), %rcx      # 0xa824
movq %rcx, 0x28(%rax)
jmp 0xb40c
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpcf_escape_new
static mpc_val_t *mpcf_escape_new(mpc_val_t *x, char *input, char **output) {
  
  int i;
  int found;
  char *s = x;
  char *y = calloc(1, 1);
  char buff[2];
  
  while (*s) {
    
    i = 0;
    found = 0;

    while (output[i]) {
      if (*s == input[i]) {
        y = realloc(y, strlen(y) + strlen(output[i]) + 1);
        strcat(y, output[i]);
        found = 1;
        break;
      }
      i++;
    }
    
    if (!found) {
      y = realloc(y, strlen(y) + 2);
      buff[0] = *s; buff[1] = '\0';
      strcat(y, buff);
    }
    
    s++;
  }
  
  
  return y;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movl $0x1, %edi
movl $0x1, %esi
callq 0x2200
movq %rax, %r12
movb (%r15), %al
testb %al, %al
je 0xbc29
movq (%rbx), %rbp
testq %rbp, %rbp
je 0xbbed
cmpb (%r14), %al
jne 0xbb9e
xorl %r13d, %r13d
jmp 0xbbb8
xorl %ecx, %ecx
movq 0x8(%rbx,%rcx,8), %rbp
testq %rbp, %rbp
je 0xbbed
leaq 0x1(%rcx), %r13
cmpb 0x1(%r14,%rcx), %al
movq %r13, %rcx
jne 0xbba0
movq %r12, %rdi
callq 0x2110
movq %rax, 0x10(%rsp)
movq %rbp, %rdi
callq 0x2110
movq 0x10(%rsp), %rcx
leaq (%rcx,%rax), %rsi
incq %rsi
movq %r12, %rdi
callq 0x22e0
movq %rax, %r12
movq (%rbx,%r13,8), %rsi
movq %rax, %rdi
jmp 0xbc18
movq %r12, %rdi
callq 0x2110
leaq 0x2(%rax), %rsi
movq %r12, %rdi
callq 0x22e0
movq %rax, %r12
movb (%r15), %al
movb %al, 0xe(%rsp)
movb $0x0, 0xf(%rsp)
movq %r12, %rdi
leaq 0xe(%rsp), %rsi
callq 0x2360
movb 0x1(%r15), %al
incq %r15
jmp 0xbb84
movq %r12, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpcf_unescape_new
static mpc_val_t *mpcf_unescape_new(mpc_val_t *x, char *input, char **output) {
  
  int i;
  int found = 0;
  char *s = x;
  char *y = calloc(1, 1);
  char buff[2];

  while (*s) {
    
    i = 0;
    found = 0;
    
    while (output[i]) {
      if ((*(s+0)) == output[i][0] &&
          (*(s+1)) == output[i][1]) {
        y = realloc(y, strlen(y) + 2);
        buff[0] = input[i]; buff[1] = '\0';
        strcat(y, buff);
        found = 1;
        s++;
        break;
      }
      i++;
    }
      
    if (!found) {
      y = realloc(y, strlen(y) + 2);
      buff[0] = *s; buff[1] = '\0';
      strcat(y, buff);
    }
    
    if (*s == '\0') { break; }
    else { s++; }
  }
  
  return y;
  
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
movq %rsi, 0x10(%rsp)
movq %rdi, %r12
movl $0x1, %edi
movl $0x1, %esi
callq 0x2200
movq %rax, %r15
movb (%r12), %al
testb %al, %al
je 0xbd41
leaq 0x8(%rbx), %rbp
movq (%rbx), %rcx
testq %rcx, %rcx
je 0xbcd8
leaq 0x1(%r12), %r13
movq %rbp, %rdx
movq 0x10(%rsp), %r14
cmpb (%rcx), %al
jne 0xbcc9
movb (%r13), %sil
cmpb 0x1(%rcx), %sil
je 0xbcf4
movq (%rdx), %rcx
incq %r14
addq $0x8, %rdx
testq %rcx, %rcx
jne 0xbcbb
movq %r15, %rdi
callq 0x2110
leaq 0x2(%rax), %rsi
movq %r15, %rdi
callq 0x22e0
movq %rax, %r15
movq %r12, %r13
jmp 0xbd0e
movq %r15, %rdi
callq 0x2110
leaq 0x2(%rax), %rsi
movq %r15, %rdi
callq 0x22e0
movq %rax, %r15
movq %r14, %r12
movb (%r12), %al
movb %al, 0xe(%rsp)
movb $0x0, 0xf(%rsp)
movq %r15, %rdi
leaq 0xe(%rsp), %rsi
callq 0x2360
cmpb $0x0, (%r13)
je 0xbd41
movb 0x1(%r13), %al
incq %r13
movq %r13, %r12
testb %al, %al
jne 0xbca6
movq %r15, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpc_test_fail
int mpc_test_fail(mpc_parser_t *p, const char *s, void *d,
  int(*tester)(void*, void*),
  mpc_dtor_t destructor,
  void(*printer)(void*)) {

  mpc_result_t r;  
  if (mpc_parse("<test>", s, p, &r)) {

    if (tester(r.output, d)) {
      destructor(r.output);
      return 0;
    } else {
      destructor(r.output);
      return 1;
    }
  
  } else {
    mpc_err_delete(r.error);
    return 1;
  }
  
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, 0x8(%rsp)
movq %rcx, %r14
movq %rdx, %r15
movq %rdi, %r12
leaq 0x69c2(%rip), %rdi      # 0x12da9
callq 0x916b
movq %rax, %r13
leaq 0x10(%rsp), %rbp
movq %rax, %rdi
movq %r12, %rsi
movq %rbp, %rdx
callq 0x7d5a
movl %eax, %ebx
movq %r13, %rdi
callq 0x91fb
movq (%rbp), %r12
testl %ebx, %ebx
je 0xc42e
movq %r12, %rdi
movq %r15, %rsi
callq *%r14
xorl %ebp, %ebp
testl %eax, %eax
sete %bpl
movq %r12, %rdi
callq *0x8(%rsp)
jmp 0xc43b
movq %r12, %rdi
callq 0x79f4
movl $0x1, %ebp
movl %ebp, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpc_test_pass
int mpc_test_pass(mpc_parser_t *p, const char *s, void *d,
  int(*tester)(void*, void*), 
  mpc_dtor_t destructor, 
  void(*printer)(void*)) {

  mpc_result_t r;  
  if (mpc_parse("<test>", s, p, &r)) {
    
    if (tester(r.output, d)) {
      destructor(r.output);
      return 1;
    } else {
      printf("Got "); printer(r.output); printf("\n");
      printf("Expected "); printer(d); printf("\n");
      destructor(r.output);
      return 0;
    }
    
  } else {    
    mpc_err_print(r.error);
    mpc_err_delete(r.error);
    return 0;
    
  }
  
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, 0x8(%rsp)
movq %r8, (%rsp)
movq %rcx, %r13
movq %rdx, %r15
movq %rdi, %r12
leaq 0x6936(%rip), %rdi      # 0x12da9
callq 0x916b
movq %rax, %rbp
leaq 0x10(%rsp), %rbx
movq %rax, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x7d5a
movl %eax, %r14d
movq %rbp, %rdi
callq 0x91fb
movq (%rbx), %r12
movq %r12, %rdi
testl %r14d, %r14d
je 0xc4bb
movq %r15, %rsi
callq *%r13
testl %eax, %eax
je 0xc4cc
movq %r12, %rdi
callq *(%rsp)
movl $0x1, %ebp
jmp 0xc513
callq 0x7a47
movq %r12, %rdi
callq 0x79f4
xorl %ebp, %ebp
jmp 0xc513
leaq 0x68dd(%rip), %rdi      # 0x12db0
xorl %ebp, %ebp
xorl %eax, %eax
callq 0x2130
movq %r12, %rdi
movq 0x8(%rsp), %rbx
callq *%rbx
movl $0xa, %edi
callq 0x2040
leaq 0x68be(%rip), %rdi      # 0x12db5
xorl %eax, %eax
callq 0x2130
movq %r15, %rdi
callq *%rbx
movl $0xa, %edi
callq 0x2040
movq %r12, %rdi
callq *(%rsp)
movl %ebp, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpc_ast_print_depth
static void mpc_ast_print_depth(mpc_ast_t *a, int d) {
  
  int i;
  for (i = 0; i < d; i++) { printf("  "); }
  
  if (strlen(a->contents)) {
    printf("%s:%i:%i '%s'\n", a->tag, a->state.row+1, a->state.col+1, a->contents);
  } else {
    printf("%s \n", a->tag);
  }
  
  for (i = 0; i < a->children_num; i++) {
    mpc_ast_print_depth(a->children[i], d+1);
  }
  
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
testl %esi, %esi
jle 0xc912
leaq 0x6c4f(%rip), %r15      # 0x13551
movl %ebx, %ebp
movq %r15, %rdi
xorl %eax, %eax
callq 0x2130
decl %ebp
jne 0xc904
movq (%r14), %rsi
movq 0x8(%r14), %r8
cmpb $0x0, (%r8)
je 0xc93b
movl 0x14(%r14), %edx
movl 0x18(%r14), %ecx
incl %edx
incl %ecx
leaq 0x663a(%rip), %rdi      # 0x12f6c
xorl %eax, %eax
callq 0x2130
jmp 0xc949
leaq 0x6639(%rip), %rdi      # 0x12f7b
xorl %eax, %eax
callq 0x2130
cmpl $0x0, 0x1c(%r14)
jle 0xc970
incl %ebx
xorl %r15d, %r15d
movq 0x20(%r14), %rax
movq (%rax,%r15,8), %rdi
movl %ebx, %esi
callq 0xc8eb
incq %r15
movslq 0x1c(%r14), %rax
cmpq %rax, %r15
jl 0xc955
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpcf_state_ast
mpc_val_t *mpcf_state_ast(int n, mpc_val_t **xs) {
  mpc_state_t *s = ((mpc_state_t**)xs)[0];
  mpc_ast_t *a = ((mpc_ast_t**)xs)[1];
  a = mpc_ast_state(a, *s);
  free(s);
  return a;
}

// Assembly:
pushq %rbx
movq (%rsi), %rdi
movq 0x8(%rsi), %rbx
testq %rbx, %rbx
je 0xcb67
movl 0x8(%rdi), %eax
movq (%rdi), %rcx
movq %rcx, 0x10(%rbx)
movl %eax, 0x18(%rbx)
callq 0x23f0
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpcaf_grammar_repeat
static mpc_val_t *mpcaf_grammar_repeat(int n, mpc_val_t **xs) {
  
  int num;
  if (xs[1] == NULL) { return xs[0]; }  
  if (strcmp(xs[1], "*") == 0) { free(xs[1]); return mpca_many(xs[0]); }
  if (strcmp(xs[1], "+") == 0) { free(xs[1]); return mpca_many1(xs[0]); }
  if (strcmp(xs[1], "?") == 0) { free(xs[1]); return mpca_maybe(xs[0]); }
  if (strcmp(xs[1], "!") == 0) { free(xs[1]); return mpca_not(xs[0]); }
  num = *((int*)xs[1]);
  free(xs[1]);
  return mpca_count(num, xs[0]);
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq 0x8(%rsi), %rdi
testq %rdi, %rdi
je 0xd59c
movzbl (%rdi), %eax
cmpl $0x2a, %eax
jg 0xd5a4
cmpl $0x21, %eax
je 0xd5d5
cmpl $0x2a, %eax
jne 0xd618
cmpb $0x0, 0x1(%rdi)
jne 0xd618
callq 0x23f0
movq (%rbx), %rbx
movl $0x1, %edi
movl $0x38, %esi
callq 0x2200
movb $0x16, 0x10(%rax)
jmp 0xd674
movq (%rbx), %rax
jmp 0xd652
cmpl $0x2b, %eax
je 0xd612
cmpl $0x3f, %eax
jne 0xd618
cmpb $0x0, 0x1(%rdi)
jne 0xd618
callq 0x23f0
movq (%rbx), %rbx
movl $0x1, %edi
movl $0x38, %esi
callq 0x2200
movb $0x15, 0x10(%rax)
movq %rbx, 0x18(%rax)
jmp 0xd605
cmpb $0x0, 0x1(%rdi)
jne 0xd618
callq 0x23f0
movq (%rbx), %rbx
movl $0x1, %edi
movl $0x38, %esi
callq 0x2200
movb $0x14, 0x10(%rax)
movq %rbx, 0x18(%rax)
leaq -0x10dd(%rip), %rcx     # 0xc524
movq %rcx, 0x20(%rax)
leaq -0x395f(%rip), %rcx     # 0x9cad
movq %rcx, 0x28(%rax)
jmp 0xd652
cmpb $0x0, 0x1(%rdi)
je 0xd659
movl (%rdi), %ebp
callq 0x23f0
movq (%rbx), %rbx
movl $0x1, %edi
movl $0x38, %esi
callq 0x2200
movb $0x18, 0x10(%rax)
movl %ebp, 0x18(%rax)
leaq -0xcc4(%rip), %rcx      # 0xc97b
movq %rcx, 0x20(%rax)
movq %rbx, 0x28(%rax)
leaq -0x112a(%rip), %rcx     # 0xc524
movq %rcx, 0x30(%rax)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
callq 0x23f0
movq (%rbx), %rbx
movl $0x1, %edi
movl $0x38, %esi
callq 0x2200
movb $0x17, 0x10(%rax)
movq %rbx, 0x28(%rax)
leaq -0xd04(%rip), %rcx      # 0xc97b
movq %rcx, 0x20(%rax)
jmp 0xd652
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpca_lang_contents
mpc_err_t *mpca_lang_contents(int flags, const char *filename, ...) {
  
  mpca_grammar_st_t st;
  mpc_input_t *i;
  mpc_err_t *err;
  
  va_list va;

  FILE *f = fopen(filename, "rb");
  
  if (f == NULL) {
    return mpc_err_fail(filename, mpc_state_new(), "Unable to open file!");
  }
  
  va_start(va, filename);
  
  st.va = &va;
  st.parsers_num = 0;
  st.parsers = NULL;
  st.flags = flags;
  
  i = mpc_input_new_file(filename, f);
  err = mpca_lang_st(i, &st);
  mpc_input_delete(i);
  
  free(st.parsers);
  va_end(va);  
  
  fclose(f);
  
  return err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xf0, %rsp
movq %rsi, %r14
movl %edi, %ebp
movq %rdx, 0x30(%rsp)
movq %rcx, 0x38(%rsp)
movq %r8, 0x40(%rsp)
movq %r9, 0x48(%rsp)
testb %al, %al
je 0xe3b4
movaps %xmm0, 0x50(%rsp)
movaps %xmm1, 0x60(%rsp)
movaps %xmm2, 0x70(%rsp)
movaps %xmm3, 0x80(%rsp)
movaps %xmm4, 0x90(%rsp)
movaps %xmm5, 0xa0(%rsp)
movaps %xmm6, 0xb0(%rsp)
movaps %xmm7, 0xc0(%rsp)
leaq 0x47a2(%rip), %rsi      # 0x12b5d
movq %r14, %rdi
callq 0x2330
testq %rax, %rax
je 0xe45b
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq %rsp, %rcx
movq %rax, 0x10(%rcx)
leaq 0x120(%rsp), %rax
movq %rax, 0x8(%rcx)
movabsq $0x3000000010, %rax     # imm = 0x3000000010
movq %rax, (%rcx)
leaq 0xd0(%rsp), %r15
movq %rcx, (%r15)
movl $0x0, 0x8(%r15)
movq $0x0, 0x10(%r15)
movl %ebp, 0x18(%r15)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x9275
movq %rax, %r14
movq %rax, %rdi
movq %r15, %rsi
callq 0xdc03
movq %rax, %r12
movq %r14, %rdi
callq 0x91fb
movq 0x10(%r15), %rdi
callq 0x23f0
movq %rbx, %rdi
callq 0x2100
movq %r12, %rax
addq $0xf0, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x46fe(%rip), %rcx      # 0x12b60
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
addq $0xf0, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x8cc9
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpc_input_getc
static char mpc_input_getc(mpc_input_t *i) {
  
  char c;
  switch (i->type) {
    
    case MPC_INPUT_STRING: c = i->string[i->state.pos]; break;
    case MPC_INPUT_FILE: c = fgetc(i->file); break;
    case MPC_INPUT_PIPE:
    
      if (!i->buffer) { c = getc(i->file); break; }
      
      if (i->buffer && mpc_input_buffer_in_range(i)) {
        c = mpc_input_buffer_get(i);
      } else {
        c = getc(i->file);
      }
    
    break;
    
  }
  
  return c;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movl (%rdi), %ecx
cmpl $0x2, %ecx
je 0xe4ad
cmpl $0x1, %ecx
je 0xe4a2
testl %ecx, %ecx
jne 0xe4e3
movq 0x20(%rbx), %rax
movslq 0x10(%rbx), %rcx
movb (%rax,%rcx), %al
jmp 0xe4e3
movq 0x30(%rbx), %rdi
callq 0x2190
jmp 0xe4e3
movq 0x28(%rbx), %r14
testq %r14, %r14
je 0xe4da
movslq 0x10(%rbx), %r15
movq %r14, %rdi
callq 0x2110
movq 0x40(%rbx), %rcx
movslq (%rcx), %rcx
addq %rcx, %rax
cmpq %r15, %rax
jbe 0xe4da
subq %rcx, %r15
movb (%r14,%r15), %al
jmp 0xe4e3
movq 0x30(%rbx), %rdi
callq 0x23b0
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpc_input_terminated
static int mpc_input_terminated(mpc_input_t *i) {
  if (i->type == MPC_INPUT_STRING && i->state.pos == strlen(i->string)) { return 1; }
  if (i->type == MPC_INPUT_FILE && feof(i->file)) { return 1; }
  if (i->type == MPC_INPUT_PIPE && feof(i->file)) { return 1; }
  return 0;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl (%rdi), %eax
cmpl $0x1, %eax
je 0xe517
testl %eax, %eax
jne 0xe52d
movslq 0x10(%rbx), %r14
movq 0x20(%rbx), %rdi
callq 0x2110
movq %rax, %rcx
movl $0x1, %eax
cmpq %r14, %rcx
jne 0xe546
jmp 0xe548
movq 0x30(%rbx), %rdi
callq 0x2240
movl %eax, %ecx
movl $0x1, %eax
testl %ecx, %ecx
jne 0xe548
movl (%rbx), %eax
cmpl $0x2, %eax
jne 0xe546
movq 0x30(%rbx), %rdi
callq 0x2240
movl %eax, %ecx
movl $0x1, %eax
testl %ecx, %ecx
jne 0xe548
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpc_input_failure
static int mpc_input_failure(mpc_input_t *i, char c) {

  switch (i->type) {
    case MPC_INPUT_STRING: break;
    case MPC_INPUT_FILE: fseek(i->file, -1, SEEK_CUR); break;
    case MPC_INPUT_PIPE:
      
      if (!i->buffer) { ungetc(c, i->file); break; }
      
      if (i->buffer && mpc_input_buffer_in_range(i)) {
        break;
      } else {
        ungetc(c, i->file); 
      }
      
  }
  
  return 0;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movl (%rdi), %eax
cmpl $0x2, %eax
je 0xe57c
cmpl $0x1, %eax
jne 0xe59f
movq 0x30(%rbx), %rdi
movq $-0x1, %rsi
movl $0x1, %edx
popq %rbx
popq %r14
popq %rbp
jmp 0x22d0
movl %esi, %ebp
movq 0x28(%rbx), %rdi
testq %rdi, %rdi
je 0xe5a4
movslq 0x10(%rbx), %r14
callq 0x2110
movq 0x40(%rbx), %rcx
movslq (%rcx), %rcx
addq %rax, %rcx
cmpq %r14, %rcx
jbe 0xe5a4
popq %rbx
popq %r14
popq %rbp
retq
movsbl %bpl, %edi
movq 0x30(%rbx), %rsi
popq %rbx
popq %r14
popq %rbp
jmp 0x22c0
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpc_input_success
static int mpc_input_success(mpc_input_t *i, char c, char **o) {
  
  if (i->type == MPC_INPUT_PIPE &&
      i->buffer &&
      !mpc_input_buffer_in_range(i)) {
    
    i->buffer = realloc(i->buffer, strlen(i->buffer) + 2);
    i->buffer[strlen(i->buffer) + 1] = '\0';
    i->buffer[strlen(i->buffer) + 0] = c;
  }
  
  i->last = c;
  i->state.pos++;
  i->state.col++;
  
  if (c == '\n') {
    i->state.col = 0;
    i->state.row++;
  }
  
  if (o) {
    (*o) = malloc(2);
    (*o)[0] = c;
    (*o)[1] = '\0';
  }
  
  return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %r14
movl %esi, %ebx
movq %rdi, %r15
cmpl $0x2, (%rdi)
jne 0xe61f
movq 0x28(%r15), %r12
testq %r12, %r12
je 0xe61f
movslq 0x10(%r15), %r13
movq %r12, %rdi
callq 0x2110
movq 0x40(%r15), %rcx
movslq (%rcx), %rcx
addq %rax, %rcx
cmpq %r13, %rcx
ja 0xe61f
addq $0x2, %rax
movq %r12, %rdi
movq %rax, %rsi
callq 0x22e0
movq %rax, %r12
movq %rax, 0x28(%r15)
movq %rax, %rdi
callq 0x2110
movb $0x0, 0x1(%r12,%rax)
movq %r12, %rdi
callq 0x2110
movb %bl, (%r12,%rax)
movb %bl, 0x50(%r15)
incl 0x10(%r15)
incl 0x18(%r15)
cmpb $0xa, %bl
jne 0xe63c
movl $0x0, 0x18(%r15)
incl 0x14(%r15)
testq %r14, %r14
je 0xe654
movl $0x2, %edi
callq 0x2290
movq %rax, (%r14)
movb %bl, (%rax)
movb $0x0, 0x1(%rax)
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/mpc.c
// Function: mpc_err_repeat
static mpc_err_t *mpc_err_repeat(mpc_err_t *x, const char *prefix) {

  int i;
  char *expect = malloc(strlen(prefix) + 1);
  strcpy(expect, prefix);
  
  if (x->expected_num == 1) {
    expect = realloc(expect, strlen(expect) + strlen(x->expected[0]) + 1);
    strcat(expect, x->expected[0]);
  }
  
  if (x->expected_num > 1) {
  
    for (i = 0; i < x->expected_num-2; i++) {
      expect = realloc(expect, strlen(expect) + strlen(x->expected[i]) + strlen(", ") + 1);
      strcat(expect, x->expected[i]);
      strcat(expect, ", ");
    }
    
    expect = realloc(expect, strlen(expect) + strlen(x->expected[x->expected_num-2]) + strlen(" or ") + 1);
    strcat(expect, x->expected[x->expected_num-2]);
    strcat(expect, " or ");
    expect = realloc(expect, strlen(expect) + strlen(x->expected[x->expected_num-1]) + 1);
    strcat(expect, x->expected[x->expected_num-1]);

  }
  
  mpc_err_clear_expected(x, expect);
  free(expect);
  
  return x;

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x2110
leaq 0x1(%rax), %rdi
callq 0x2290
movq %rax, %r14
movq %rax, %rdi
movq %r15, %rsi
callq 0x2080
movslq 0xc(%rbx), %rax
cmpq $0x1, %rax
jne 0xe8d1
movq %r14, %rdi
callq 0x2110
movq %rax, %r15
movq 0x20(%rbx), %r12
jmp 0xe9a6
cmpl $0x2, %eax
jl 0xe9e9
movq 0x20(%rbx), %r13
cmpl $0x2, %eax
movq %rax, (%rsp)
je 0xe941
addl $-0x2, %eax
movl %eax, %ebp
xorl %r12d, %r12d
movq %r14, %rdi
callq 0x2110
movq %rax, %r15
movq (%r13,%r12,8), %rdi
callq 0x2110
leaq (%r15,%rax), %rsi
addq $0x3, %rsi
movq %r14, %rdi
callq 0x22e0
movq %rax, %r14
movq (%r13,%r12,8), %rsi
movq %rax, %rdi
callq 0x2360
movq %r14, %rdi
callq 0x2110
movw $0x202c, (%r14,%rax)    # imm = 0x202C
movb $0x0, 0x2(%r14,%rax)
incq %r12
cmpq %r12, %rbp
jne 0xe8ef
movq %r14, %rdi
callq 0x2110
movq %rax, %r15
movq (%rsp), %rax
leaq -0x8(,%rax,8), %r12
addq %r13, %r12
movq -0x8(%r12), %rdi
callq 0x2110
leaq (%r15,%rax), %rsi
addq $0x5, %rsi
movq %r14, %rdi
callq 0x22e0
movq %rax, %r14
movq -0x8(%r12), %rsi
movq %rax, %rdi
callq 0x2360
movq %r14, %rdi
callq 0x2110
movl $0x20726f20, (%r14,%rax) # imm = 0x20726F20
movb $0x0, 0x4(%r14,%rax)
movq %r14, %rdi
callq 0x2110
movq %rax, %r15
movq (%r12), %rdi
callq 0x2110
leaq (%r15,%rax), %rsi
incq %rsi
movq %r14, %rdi
callq 0x22e0
movq %rax, %r14
movq (%r12), %rsi
movq %rax, %rdi
callq 0x2360
xorl %r15d, %r15d
movq 0x20(%rbx), %rax
movq (%rax,%r15,8), %rdi
callq 0x23f0
incq %r15
movslq 0xc(%rbx), %rax
cmpq %rax, %r15
jl 0xe9d0
movl $0x1, 0xc(%rbx)
movq 0x20(%rbx), %rdi
movl $0x8, %esi
callq 0x22e0
movq %rax, %r15
movq %rax, 0x20(%rbx)
movq %r14, %rdi
callq 0x2110
leaq 0x1(%rax), %rdi
callq 0x2290
movq %rax, (%r15)
movq %rax, %rdi
movq %r14, %rsi
callq 0x2080
movq %r14, %rdi
callq 0x23f0
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/parser.c
// Function: awlval_parse
bool awlval_parse(const char* input, awlval** v, char** err) {
    mpc_result_t r;
    if (mpc_parse("<stdin>", input, Awl, &r)) {
        *v = awlval_read(r.output);
        mpc_ast_delete(r.output);
        return true;
    } else {
        *err = mpc_err_string(r.error);
        mpc_err_delete(r.error);
        return false;
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rsi
movq 0xc419(%rip), %rdx      # 0x1b3d0
leaq 0x4596(%rip), %rdi      # 0x13554
movq %rsp, %r12
movq %r12, %rcx
callq 0x9138
movl %eax, %ebx
movq (%r12), %rdi
testl %eax, %eax
je 0xefe6
callq 0xf008
movq %rax, (%r15)
movq (%rsp), %rdi
callq 0xc524
jmp 0xeff7
callq 0x7aa0
movq %rax, (%r14)
movq (%rsp), %rdi
callq 0x79f4
testl %ebx, %ebx
setne %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/parser.c
// Function: awlval_parse_file
bool awlval_parse_file(const char* file, awlval** v, char** err) {
    mpc_result_t r;
    if (mpc_parse_contents(file, Awl, &r)) {
        *v = awlval_read(r.output);
        mpc_ast_delete(r.output);
        return true;
    } else {
        *err = mpc_err_string(r.error);
        mpc_err_delete(r.error);
        return false;
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq 0xbfb2(%rip), %rsi      # 0x1b3d0
movq %rsp, %r12
movq %r12, %rdx
callq 0x9395
movl %eax, %ebx
movq (%r12), %rdi
testl %eax, %eax
je 0xf446
callq 0xf008
movq %rax, (%r15)
movq (%rsp), %rdi
callq 0xc524
jmp 0xf457
callq 0x7aa0
movq %rax, (%r14)
movq (%rsp), %rdi
callq 0x79f4
testl %ebx, %ebx
setne %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/parser.c
// Function: awlval_read_qsym
static awlval* awlval_read_qsym(const mpc_ast_t* t) {
    if (strstr(t->children[1]->tag, "symbol")) {
        return awlval_qsym(t->children[1]->contents);
    }

    // Handle qsym string form (:'sym')
    t->children[1]->contents[strlen(t->children[1]->contents) - 1] = '\0';

    char* unescaped = safe_malloc(strlen(t->children[1]->contents + 1) + 1);
    strcpy(unescaped, t->children[1]->contents + 1);
    unescaped = mpcf_unescape(unescaped);
    awlval* qsym = awlval_qsym(unescaped);

    free(unescaped);
    return qsym;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x20(%rdi), %rax
movq 0x8(%rax), %r14
movq (%r14), %rdi
leaq 0x3275(%rip), %rsi      # 0x126f6
callq 0x23c0
movq 0x8(%r14), %r14
testq %rax, %rax
je 0xf49e
movq %r14, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x10024
movq %r14, %rdi
callq 0x2110
movb $0x0, -0x1(%r14,%rax)
movq 0x20(%rbx), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rbx
incq %rbx
movq %rbx, %rdi
callq 0x2110
leaq 0x1(%rax), %rdi
callq 0x2290
testq %rax, %rax
je 0xf508
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x2080
movq %r14, %rdi
callq 0xbc3b
movq %rax, %rbx
movq %rax, %rdi
callq 0x10024
movq %rax, %r14
movq %rbx, %rdi
callq 0x23f0
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x2606
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/parser.c
// Function: awlval_read_dict
static awlval* awlval_read_dict(const mpc_ast_t* t) {
    awlval* x = awlval_dict();

    bool new_dict_item = true;
    awlval* qsym;
    awlval* val;

    for (int i = 0; i < t->children_num; i++) {
        if (streq(t->children[i]->contents, "[")) { continue; }
        if (streq(t->children[i]->contents, "]")) { continue; }
        if (streq(t->children[i]->tag, "regex")) { continue; }
        if (strstr(t->children[i]->tag, "comment")) { continue; }

        if (new_dict_item) {
            qsym = awlval_read(t->children[i]);
            new_dict_item = false;
        } else {
            val = awlval_read(t->children[i]);
            x = awlval_add_dict(x, qsym, val);
            new_dict_item = true;

            awlval_del(qsym);
            awlval_del(val);
        }
    }

    return x;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
callq 0x101c3
movq %rax, 0x10(%rsp)
cmpl $0x0, 0x1c(%rbx)
jle 0xf611
movb $0x1, %al
movl %eax, 0xc(%rsp)
xorl %r13d, %r13d
leaq 0x3827(%rip), %r15      # 0x12d69
leaq 0x3a0d(%rip), %r12      # 0x12f56
movq 0x20(%rbx), %rax
movq (%rax,%r13,8), %rax
movq 0x8(%rax), %rdi
movq %r15, %rsi
callq 0x11692
testb %al, %al
jne 0xf5fb
movq 0x20(%rbx), %rax
movq (%rax,%r13,8), %rax
movq 0x8(%rax), %rdi
movq %r12, %rsi
callq 0x11692
testb %al, %al
jne 0xf5fb
movq 0x20(%rbx), %rax
movq (%rax,%r13,8), %rax
movq (%rax), %rdi
leaq 0x37ce(%rip), %rsi      # 0x12d5d
callq 0x11692
testb %al, %al
jne 0xf5fb
movq 0x20(%rbx), %rax
movq (%rax,%r13,8), %r14
movq (%r14), %rdi
leaq 0x3a39(%rip), %rsi      # 0x12fe3
callq 0x23c0
testq %rax, %rax
jne 0xf5fb
movq %r14, %rdi
callq 0xf008
movq %rax, %r14
testb $0x1, 0xc(%rsp)
je 0xf5d0
movl $0x0, 0xc(%rsp)
jmp 0xf5fe
movq 0x10(%rsp), %rdi
movq %rbp, %rsi
movq %r14, %rdx
callq 0x10408
movq %rax, 0x10(%rsp)
movq %rbp, %rdi
callq 0x1029f
movq %r14, %rdi
callq 0x1029f
movb $0x1, %al
movl %eax, 0xc(%rsp)
movq %rbp, %r14
incq %r13
movslq 0x1c(%rbx), %rax
movq %r14, %rbp
cmpq %rax, %r13
jl 0xf549
movq 0x10(%rsp), %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/print.c
// Function: awlval_to_str
char* awlval_to_str(const awlval* v) {
    stringbuilder_t* sb = stringbuilder_new();
    awlval_write_sb(sb, v);
    char* str = stringbuilder_to_str(sb);
    stringbuilder_del(sb);
    return str;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x114dc
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0xf792
movq %r14, %rdi
callq 0x11647
movq %rax, %rbx
movq %r14, %rdi
callq 0x1167c
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/print.c
// Function: awlval_expr_print
static void awlval_expr_print(stringbuilder_t* sb, const awlval* v, const char* open, const char* close) {
    stringbuilder_write(sb, open);
    for (int i = 0; i < v->count; i++) {
        awlval_write_sb(sb, v->cell[i]);

        if (i != (v->count - 1)) {
            stringbuilder_write(sb, " ");
        }
    }
    stringbuilder_write(sb, close);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rcx, %rbx
movq %rsi, %r15
movq %rdi, %r14
movq %rdx, %rsi
xorl %eax, %eax
callq 0x1151e
cmpl $0x0, 0x4(%r15)
jle 0xfa9d
leaq 0x3aef(%rip), %r12      # 0x13552
xorl %r13d, %r13d
movq 0x8(%r15), %rax
movq (%rax,%r13,8), %rsi
movq %r14, %rdi
callq 0xf792
movl 0x4(%r15), %eax
leal -0x1(%rax), %ecx
cmpq %rcx, %r13
je 0xfa93
movq %r14, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0x1151e
movl 0x4(%r15), %eax
incq %r13
cltq
cmpq %rax, %r13
jl 0xfa66
movq %r14, %rdi
movq %rbx, %rsi
xorl %eax, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x1151e
nop
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/repl.c
// Function: eval_repl
awlval* eval_repl(awlenv* e, awlval* v) {
    if (v->count == 0) {
        awlval_del(v);
        return awlval_qexpr();
    }
    if (v->count != 1) {
        awlval_del(v);
        return awlval_err("too many expressions in REPL; only one is allowed");
    }
    return awlval_eval(e, awlval_take(v, 0));
}

// Assembly:
pushq %rbx
movl 0x4(%rsi), %eax
cmpl $0x1, %eax
je 0xfaf3
movq %rsi, %rdi
testl %eax, %eax
jne 0xfb0c
callq 0x1029f
popq %rbx
jmp 0x10233
movq %rdi, %rbx
movq %rsi, %rdi
xorl %esi, %esi
callq 0x107b7
movq %rbx, %rdi
movq %rax, %rsi
popq %rbx
jmp 0x5be8
callq 0x1029f
leaq 0x3aec(%rip), %rdi      # 0x13604
xorl %eax, %eax
popq %rbx
jmp 0xfe6b
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/repl.c
// Function: eval_repl_str
void eval_repl_str(awlenv* e, const char* input) {
    awlval* v;
    char* err;
    if (awlval_parse(input, &v, &err)) {
        awlval* x = eval_repl(e, v);
        if (!is_awlval_empty_qexpr(x)) {
            awlval_println(x);
        }
        awlval_del(x);
    } else {
        awl_printf("%s", err);
        free(err);
    }
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rax
movq %rdi, %rbx
leaq 0x8(%rsp), %rsi
movq %rsp, %rdx
movq %rax, %rdi
callq 0xef9f
testb %al, %al
je 0xfb6d
movq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0xfad8
movq %rax, %rbx
movq %rax, %rdi
callq 0x10eeb
testb %al, %al
jne 0xfb63
movq %rbx, %rdi
callq 0xf717
movq %rbx, %rdi
callq 0x1029f
jmp 0xfb88
movq (%rsp), %rsi
leaq 0x29d1(%rip), %rdi      # 0x12549
xorl %eax, %eax
callq 0xf64e
movq (%rsp), %rdi
callq 0x23f0
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/repl.c
// Function: run_repl
void run_repl(awlenv* e) {
    setup_sigint_handler();

    awl_printf("awl %s\n", get_awl_version());
    awl_printf("Ctrl+D to exit\n\n");

    load_history();

    while (!repl_aborted) {
        errno = 0;
        char* input = get_input("awl> ");
        if (!input) {
            if (errno == EAGAIN) {
                continue;
            } else {
                awl_printf("\n");
                break;
            }
        }
        add_history(input);
        eval_repl_str(e, input);
        free(input);
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
leaq 0xc5(%rip), %rsi        # 0xfc6e
movl $0x2, %edi
callq 0x2220
callq 0x2cd9
leaq 0x3a77(%rip), %rdi      # 0x13636
movq %rax, %rsi
xorl %eax, %eax
callq 0xf64e
leaq 0x3a6e(%rip), %rdi      # 0x1363e
xorl %eax, %eax
callq 0xf64e
leaq 0x3a1d(%rip), %rdi      # 0x135fb
callq 0x7803
cmpb $0x0, 0xb7f6(%rip)      # 0x1b3e0
jne 0xfc4d
callq 0x2060
movq %rax, %r14
leaq 0x3a54(%rip), %r15      # 0x1364f
leaq 0x39f9(%rip), %r12      # 0x135fb
movl $0x0, (%r14)
movq %r15, %rdi
callq 0x6e63
testq %rax, %rax
je 0xfc3e
movq %rax, %r13
movq %rax, %rdi
callq 0x75f7
movq %r12, %rdi
callq 0x7799
movq %rbx, %rdi
movq %r13, %rsi
callq 0xfb20
movq %r13, %rdi
callq 0x23f0
jmp 0xfc44
cmpl $0xb, (%r14)
jne 0xfc57
cmpb $0x1, 0xb795(%rip)      # 0x1b3e0
jne 0xfc02
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x39ef(%rip), %rdi      # 0x1364d
xorl %eax, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0xf64e
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/types.c
// Function: awlval_err
awlval* awlval_err(const char* fmt, ...) {
    awlval* v = safe_malloc(sizeof(awlval));
    v->type = AWLVAL_ERR;

    va_list va;
    va_start(va, fmt);

    v->err = safe_malloc(512);
    vsnprintf(v->err, 512, fmt, va);

    unsigned int l = strlen(v->err) + 1;
    v->err = realloc(v->err, l);
    v->err[l - 1] = '\0';

    va_end(va);

    return v;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0xd0, %rsp
movq %rdi, %r14
movq %rsi, 0x28(%rsp)
movq %rdx, 0x30(%rsp)
movq %rcx, 0x38(%rsp)
movq %r8, 0x40(%rsp)
movq %r9, 0x48(%rsp)
testb %al, %al
je 0xfece
movaps %xmm0, 0x50(%rsp)
movaps %xmm1, 0x60(%rsp)
movaps %xmm2, 0x70(%rsp)
movaps %xmm3, 0x80(%rsp)
movaps %xmm4, 0x90(%rsp)
movaps %xmm5, 0xa0(%rsp)
movaps %xmm6, 0xb0(%rsp)
movaps %xmm7, 0xc0(%rsp)
movl $0x38, %edi
callq 0x2290
testq %rax, %rax
je 0xff65
movq %rax, %rbx
movl $0x2, (%rax)
leaq 0x20(%rsp), %rax
movq %rax, 0x10(%rsp)
leaq 0xf0(%rsp), %rax
movq %rax, 0x8(%rsp)
movabsq $0x3000000008, %rax     # imm = 0x3000000008
movq %rax, (%rsp)
movl $0x200, %edi            # imm = 0x200
callq 0x2290
testq %rax, %rax
je 0xff6a
movq %rax, %r15
movq %rsp, %rcx
movl $0x200, %esi            # imm = 0x200
movq %rax, %rdi
movq %r14, %rdx
callq 0x20c0
movq %r15, %rdi
callq 0x2110
movq %rax, %r14
leal 0x1(%rax), %esi
movq %r15, %rdi
callq 0x22e0
movq %rax, 0x18(%rbx)
movl %r14d, %ecx
movb $0x0, (%rax,%rcx)
movq %rbx, %rax
addq $0xd0, %rsp
popq %rbx
popq %r14
popq %r15
retq
callq 0x269a
callq 0x2675
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/types.c
// Function: awlval_int
awlval* awlval_int(long x) {
    awlval* v = safe_malloc(sizeof(awlval));
    v->type = AWLVAL_INT;
    v->lng = x;
    return v;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl $0x38, %edi
callq 0x2290
testq %rax, %rax
je 0xff8e
movl $0x0, (%rax)
movq %rbx, 0x18(%rax)
popq %rbx
retq
callq 0x26bf
// File: /workspace/github_c_makefile_star2_O3/voithos[P]awl/src/types.c
// Function: awlval_float
awlval* awlval_float(double x) {
    awlval* v = safe_malloc(sizeof(awlval));
    v->type = AWLVAL_FLOAT;
    v->dbl = x;
    return v;
}

// Assembly:
pushq %rax
movsd %xmm0, (%rsp)
movl $0x38, %edi
callq 0x2290
testq %rax, %rax
je 0xffba
movl $0x1, (%rax)
movsd (%rsp), %xmm0
movsd %xmm0, 0x18(%rax)
popq %rcx
retq
callq 0x26e4