// File: /workspace/github_c_makefile_star2_O1/orangeduck[P]mpc/mpc.c
// Function: mpc_parse_input
int mpc_parse_input(mpc_input_t *i, mpc_parser_t *p, mpc_result_t *r) {
  int x;
  mpc_err_t *e = mpc_err_fail(i, "Unknown Error");
  e->state = mpc_state_invalid();
  x = mpc_parse_run(i, p, r, &e, 0);
  if (x) {
    mpc_err_delete_internal(i, e);
    r->output = mpc_export(i, r->output);
  } else {
    r->error = mpc_err_export(i, mpc_err_merge(i, e, r->error));
  }
  return x;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbp
leaq 0x994c(%rip), %rsi      # 0xe317
callq 0x4c66
leaq 0x20(%rsp), %r12
movq %rax, (%r12)
pcmpeqd %xmm0, %xmm0
movdqu %xmm0, (%rax)
movq $-0x1, 0x10(%rax)
movl $0x0, 0x18(%rax)
movq %rbp, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %r12, %rcx
xorl %r8d, %r8d
callq 0x4cfd
movl %eax, %r15d
movq (%r12), %rsi
testl %eax, %eax
je 0x4a36
movq %rbp, %rdi
callq 0x5814
movq (%r14), %rdx
leaq 0x278(%rbp), %r12
cmpq %rdx, %r12
seta %al
leaq 0x8278(%rbp), %rcx
cmpq %rdx, %rcx
jmp 0x4c0e
movl %r15d, 0x4(%rsp)
movq %r14, 0x18(%rsp)
movq (%r14), %rdx
movq %rbp, 0x10(%rsp)
movq %rbp, %rdi
callq 0x5948
movq %rax, %rdx
movslq 0x20(%rax), %r12
testq %r12, %r12
movq %rax, 0x8(%rsp)
jle 0x4ae6
movq 0x10(%rsp), %rax
leaq 0x278(%rax), %r13
leaq 0x8278(%rax), %rbp
xorl %ebx, %ebx
movq 0x38(%rdx), %r14
movq (%r14,%rbx,8), %r15
cmpq %r15, %r13
seta %al
cmpq %r15, %rbp
setbe %cl
orb %al, %cl
jne 0x4ada
movl $0x40, %edi
callq 0x43a0
movq 0x8(%rsp), %rdx
movdqu (%r15), %xmm0
movups 0x10(%r15), %xmm1
movups 0x20(%r15), %xmm2
movups 0x30(%r15), %xmm3
movdqu %xmm0, (%rax)
movups %xmm1, 0x10(%rax)
movups %xmm2, 0x20(%rax)
movups %xmm3, 0x30(%rax)
subq %r13, %r15
shrq $0x6, %r15
movq 0x10(%rsp), %rcx
movb $0x0, 0x78(%rcx,%r15)
movq %rax, %r15
movq %r15, (%r14,%rbx,8)
incq %rbx
cmpq %rbx, %r12
jne 0x4a7a
movq 0x38(%rdx), %rbx
movq 0x10(%rsp), %rbp
leaq 0x278(%rbp), %r12
cmpq %rbx, %r12
seta %al
leaq 0x8278(%rbp), %r13
cmpq %rbx, %r13
setbe %cl
orb %al, %cl
jne 0x4b4b
movl $0x40, %edi
callq 0x43a0
movq 0x8(%rsp), %rdx
movdqu (%rbx), %xmm0
movups 0x10(%rbx), %xmm1
movups 0x20(%rbx), %xmm2
movups 0x30(%rbx), %xmm3
movdqu %xmm0, (%rax)
movups %xmm1, 0x10(%rax)
movups %xmm2, 0x20(%rax)
movups %xmm3, 0x30(%rax)
subq %r12, %rbx
shrq $0x6, %rbx
movb $0x0, 0x78(%rbp,%rbx)
movq %rax, %rbx
movq %rbx, 0x38(%rdx)
movq 0x28(%rdx), %rbx
cmpq %rbx, %r12
seta %al
cmpq %rbx, %r13
setbe %cl
orb %al, %cl
jne 0x4ba1
movl $0x40, %edi
callq 0x43a0
movq 0x8(%rsp), %rdx
movdqu (%rbx), %xmm0
movups 0x10(%rbx), %xmm1
movups 0x20(%rbx), %xmm2
movups 0x30(%rbx), %xmm3
movdqu %xmm0, (%rax)
movups %xmm1, 0x10(%rax)
movups %xmm2, 0x20(%rax)
movups %xmm3, 0x30(%rax)
subq %r12, %rbx
shrq $0x6, %rbx
movb $0x0, 0x78(%rbp,%rbx)
movq %rax, %rbx
movq 0x18(%rsp), %r14
movl 0x4(%rsp), %r15d
movq %rbx, 0x28(%rdx)
movq 0x30(%rdx), %rbx
cmpq %rbx, %r12
seta %al
cmpq %rbx, %r13
setbe %cl
orb %al, %cl
jne 0x4c01
movl $0x40, %edi
callq 0x43a0
movq 0x8(%rsp), %rdx
movdqu (%rbx), %xmm0
movups 0x10(%rbx), %xmm1
movups 0x20(%rbx), %xmm2
movups 0x30(%rbx), %xmm3
movdqu %xmm0, (%rax)
movups %xmm1, 0x10(%rax)
movups %xmm2, 0x20(%rax)
movups %xmm3, 0x30(%rax)
subq %r12, %rbx
shrq $0x6, %rbx
movb $0x0, 0x78(%rbp,%rbx)
movq %rax, %rbx
movq %rbx, 0x30(%rdx)
cmpq %rdx, %r12
seta %al
cmpq %rdx, %r13
setbe %cl
orb %al, %cl
jne 0x4c51
movl $0x40, %edi
movq %rdx, %rbx
callq 0x43a0
movq %rax, %rdx
movdqu (%rbx), %xmm0
movups 0x10(%rbx), %xmm1
movups 0x20(%rbx), %xmm2
movups 0x30(%rbx), %xmm3
movdqu %xmm0, (%rax)
movups %xmm1, 0x10(%rax)
movups %xmm2, 0x20(%rax)
movups %xmm3, 0x30(%rax)
subq %r12, %rbx
shrq $0x6, %rbx
movb $0x0, 0x78(%rbp,%rbx)
movq %rdx, (%r14)
movl %r15d, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq