// File: /workspace/github_c_makefile_star2_O2/markdryan[P]subtilis/frontend/parser.c
// Function: subtilis_parse
void subtilis_parse(subtilis_parser_t *p, subtilis_error_t *err)
{
	subtilis_token_t *t = NULL;

	t = subtilis_token_new(err);
	if (err->type != SUBTILIS_ERROR_OK)
		return;

	prv_root(p, t, err);
	if (err->type != SUBTILIS_ERROR_OK)
		goto cleanup;

	subtilis_parser_check_calls(p, err);

cleanup:

	subtilis_token_delete(t);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r15
movq %rsi, %rdi
callq 0x12aab
cmpl $0x0, (%rbx)
je 0x150a7
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movl $0x3fffffff, %edi       # imm = 0x3FFFFFFF
movq %rbx, %rsi
callq 0x2a369
cmpl $0x0, (%rbx)
jne 0x1514a
leaq 0x910a9(%rip), %rcx     # 0xa6170
movq (%rcx), %rsi
leaq 0x597f7(%rip), %rdx     # 0x6e8c8
movq %r15, %rdi
movq %rax, %rcx
movq %rbx, %r8
callq 0x33be8
cmpl $0x0, (%rbx)
jne 0x1514a
xorl %edi, %edi
movq %rbx, %rsi
callq 0x2a369
cmpl $0x0, (%rbx)
jne 0x1514a
leaq 0x9107e(%rip), %rcx     # 0xa6178
movq (%rcx), %rsi
leaq 0x597c4(%rip), %rdx     # 0x6e8c8
movq %r15, %rdi
movq %rax, %rcx
movq %rbx, %r8
callq 0x33be8
cmpl $0x0, (%rbx)
jne 0x1514a
xorl %edi, %edi
movq %rbx, %rsi
callq 0x2a369
cmpl $0x0, (%rbx)
jne 0x1514a
leaq 0x91053(%rip), %rcx     # 0xa6180
movq (%rcx), %rsi
leaq 0x59791(%rip), %rdx     # 0x6e8c8
movq %r15, %rdi
movq %rax, %rcx
movq %rbx, %r8
callq 0x33be8
cmpl $0x0, (%rbx)
je 0x15160
movq %r14, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x12996
cmpb $0x1, 0xba(%r15)
jne 0x151b3
movq 0x48(%r15), %rdi
movl $0x87, %esi
movq %rbx, %rdx
callq 0x2a98b
cmpl $0x0, (%rbx)
jne 0x1514a
movl %eax, %edi
movq %rbx, %rsi
callq 0x2a336
cmpl $0x0, (%rbx)
jne 0x1514a
leaq 0x90ff2(%rip), %rcx     # 0xa6188
movq (%rcx), %rsi
leaq 0x59728(%rip), %rdx     # 0x6e8c8
movq %r15, %rdi
movq %rax, %rcx
movq %rbx, %r8
callq 0x33be8
cmpl $0x0, (%rbx)
jne 0x1514a
movq (%r15), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x12e0e
cmpl $0x0, (%rbx)
jne 0x1514a
movq 0x48(%r15), %rdi
movq %rbx, %rsi
callq 0x2aae2
movq 0x48(%r15), %rcx
movq %rax, 0xc0(%rcx)
cmpl $0x0, (%rbx)
jne 0x1514a
cmpl $0x0, (%r14)
je 0x151fc
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x14d03
jmp 0x151dd
movq 0x50(%r15), %rax
movq 0x70(%r15), %rcx
movq 0x310(%rcx), %rcx
movq %rcx, 0x10(%rax)
movq 0x48(%r15), %rdi
movq 0x98(%rdi), %rsi
movq %rbx, %rdx
callq 0x2b781
cmpl $0x0, (%rbx)
jne 0x1514a
movq %r15, %rdi
movq %rbx, %rsi
callq 0x1c338
cmpl $0x0, (%rbx)
jne 0x1514a
movq 0x48(%r15), %rdi
movq 0xa0(%rdi), %rsi
movq %rbx, %rdx
callq 0x2b781
cmpl $0x0, (%rbx)
jne 0x1514a
cmpb $0x1, 0xba(%r15)
jne 0x152e9
movq 0x48(%r15), %rdi
callq 0x2b774
movq %rax, %rbp
movq 0x48(%r15), %rdi
callq 0x2b774
movq %rax, (%rsp)
leaq 0x90eff(%rip), %rax     # 0xa6188
movq (%rax), %rsi
movq %r15, %rdi
movq %rbx, %rdx
callq 0x33cb3
cmpl $0x0, (%rbx)
jne 0x1514a
movq %rax, %r13
movq 0x48(%r15), %rdi
movl $0x87, %esi
movq %rbx, %rdx
callq 0x2a98b
cmpl $0x0, (%rbx)
je 0x152be
xorl %r12d, %r12d
jmp 0x152d0
movl %eax, %edi
movq %rbx, %rsi
callq 0x2a336
movq %rax, %r12
cmpl $0x0, (%rbx)
je 0x1533a
movq %r13, %rdi
callq 0x29d88
movq %r12, %rdi
callq 0x29d88
cmpl $0x0, (%rbx)
jne 0x1514a
movq 0x48(%r15), %rdi
pushq $0x74
popq %rsi
movq %rbx, %rdx
callq 0x2a9af
cmpl $0x0, (%rbx)
jne 0x1514a
movq 0x48(%r15), %rdi
movq %rbx, %rsi
callq 0x2a73c
cmpl $0x0, (%rbx)
jne 0x1514a
movq %r15, %rdi
movq %rbx, %rsi
callq 0x4103a
cmpl $0x0, (%rbx)
jne 0x1514a
movq %r15, %rdi
movq %rbx, %rsi
callq 0x1c5f6
jmp 0x1514a
movq %r15, %rdi
movq %r13, %rsi
movq %r12, %rdx
movq %rbx, %rcx
callq 0x34e98
movq %rax, %r13
cmpl $0x0, (%rbx)
jne 0x152b9
movq 0x48(%r15), %rdi
movq 0x148(%r13), %rdx
pushq $0x43
popq %rsi
movq %rbp, %rcx
movq (%rsp), %r8
movq %rbx, %r9
callq 0x2a8c1
cmpl $0x0, (%rbx)
jne 0x152b9
movq 0x48(%r15), %rdi
movq %rbp, %rsi
movq %rbx, %rdx
callq 0x2b781
cmpl $0x0, (%rbx)
jne 0x152b9
movb $0x1, 0xb9(%r15)
movq %r15, %rdi
movq %r13, %rsi
movq %rbx, %rdx
callq 0x35719
cmpl $0x0, (%rbx)
jne 0x1514a
leaq 0x580ee(%rip), %rsi     # 0x6d4a9
pushq $0xe
popq %rdx
movq %r15, %rdi
movq %rbx, %rcx
callq 0x458cb
cmpl $0x0, (%rbx)
jne 0x1514a
movq %rax, %r12
movq 0x48(%r15), %rdi
pushq $0x1b
popq %rsi
pushq $0xe
popq %rdx
movq %rbx, %rcx
callq 0x2a981
cmpl $0x0, (%rbx)
jne 0x1514a
movq 0x48(%r15), %rdi
pushq $0x1f
popq %rsi
movq %r12, %rdx
movq %rax, %rcx
movq %rbx, %r8
callq 0x2a9a4
cmpl $0x0, (%rbx)
jne 0x1514a
movq 0x48(%r15), %rdi
movq (%rsp), %rsi
movq %rbx, %rdx
callq 0x2b781
xorl %r13d, %r13d
jmp 0x152b9