// File: /workspace/github_c_makefile_star2_O3/masyagin1998[P]GCI/src/parser/parser.c
// Function: parser_parse
enum PARSER_CODES parser_parse(parser_type_t parser, struct UNIT_AST**unit)
{
    enum PARSER_CODES r;
    lexer_next_token(parser->lexer, &(parser->tok));
    r = unit_ast_read(parser, unit);
    token_free(parser->tok);
    return r;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, %r15
movq %rdi, %rbp
movq (%rdi), %rdi
leaq 0x8(%rbp), %r14
movq %r14, %rsi
callq 0x45d6
movq 0x8(%rbp), %rdi
movl (%rdi), %eax
cmpl $0x26, %eax
jne 0x5654
movq $0x0, (%rsp)
xorl %r13d, %r13d
movq 0x18(%rdi), %rdx
movq 0x20(%rdi), %rcx
movq (%rsp), %rdi
movq %r13, %rsi
callq 0x7dd8
xorl %ebp, %ebp
jmp 0x5937
xorl %ecx, %ecx
leaq 0x10(%rsp), %r12
xorl %r13d, %r13d
movq $0x0, (%rsp)
movq %r15, 0x18(%rsp)
testl %eax, %eax
jne 0x58cd
movq %rcx, 0x28(%rsp)
callq 0x53ac
movq (%rbp), %rdi
movq %r14, %rsi
callq 0x45d6
movq %rbp, %rdi
leaq 0x20(%rsp), %rsi
callq 0x5c5f
testl %eax, %eax
jne 0x58de
movq (%r14), %rdi
cmpl $0x1b, (%rdi)
jne 0x58e9
callq 0x53ac
movq (%rbp), %rdi
movq %r14, %rsi
callq 0x45d6
movq 0x8(%rbp), %rdi
cmpl $0x1c, (%rdi)
jne 0x56cb
xorl %ebx, %ebx
jmp 0x57d0
movq %rbp, %rdi
movq %r12, %rsi
callq 0x5c5f
testl %eax, %eax
jne 0x58fd
movq %r13, 0x8(%rsp)
movl $0x8, %edi
callq 0x1130
testq %rax, %rax
je 0x5998
movq %rax, %r13
movq 0x10(%rsp), %rax
movq %rax, (%r13)
movq (%r14), %rdi
movl $0x1, %ebx
cmpl $0x22, (%rdi)
jne 0x57a4
movl $0x1, %r15d
callq 0x53ac
movq (%rbp), %rdi
movq %r14, %rsi
callq 0x45d6
movq %rbp, %rdi
movq %r12, %rsi
callq 0x5c5f
testl %eax, %eax
jne 0x589f
cmpq %r15, %rbx
jne 0x578b
testq %r15, %r15
je 0x576f
movq %r15, %r12
shlq $0x4, %r12
movq %r13, %rdi
movq %r12, %rsi
callq 0x1160
testq %rax, %rax
je 0x598b
movq %rax, %r13
addq %r15, %r15
leaq 0x10(%rsp), %r12
jmp 0x578b
movl $0x8, %edi
callq 0x1130
testq %rax, %rax
je 0x5993
movq %rax, %r13
movl $0x1, %r15d
movq 0x10(%rsp), %rax
movq %rax, (%r13,%rbx,8)
incq %rbx
movq (%r14), %rdi
cmpl $0x22, (%rdi)
je 0x5719
movq 0x18(%rdi), %rdx
movq 0x20(%rdi), %rcx
movq %r13, %rdi
movq %rbx, %rsi
callq 0x811c
movq %rax, %rbx
movq (%r14), %rdi
cmpl $0x1c, (%rdi)
movq 0x18(%rsp), %r15
jne 0x5957
movq 0x8(%rsp), %r13
callq 0x53ac
movq (%rbp), %rdi
movq %r14, %rsi
callq 0x45d6
movq %rbp, %rdi
leaq 0x30(%rsp), %rsi
callq 0x5cc9
testl %eax, %eax
jne 0x5953
movq 0x20(%rsp), %rdi
movq 0x30(%rsp), %rdx
movq (%r14), %rax
movq 0x18(%rax), %rcx
movq 0x20(%rax), %r8
movq %rbx, %rsi
callq 0x7f06
movq %rax, %rbx
movq 0x28(%rsp), %rcx
cmpq %rcx, %r13
jne 0x5881
testq %rcx, %rcx
je 0x5865
movq %rbx, 0x8(%rsp)
movq %r15, %rbx
movq %rcx, %r12
shlq $0x4, %r12
movq (%rsp), %rdi
movq %r12, %rsi
movq %rcx, %r15
callq 0x1160
movq %rax, (%rsp)
testq %rax, %rax
je 0x599d
addq %r15, %r15
leaq 0x10(%rsp), %r12
movq %r15, %rcx
movq %rbx, %r15
movq 0x8(%rsp), %rbx
jmp 0x5881
movl $0x8, %edi
callq 0x1130
movq %rax, (%rsp)
testq %rax, %rax
je 0x59a5
movl $0x1, %ecx
movq (%rsp), %rax
movq %rbx, (%rax,%r13,8)
incq %r13
movq (%r14), %rdi
movl (%rdi), %eax
cmpl $0x26, %eax
jne 0x566b
jmp 0x5639
testq %rbx, %rbx
je 0x58b9
xorl %r15d, %r15d
movq (%r13,%r15,8), %rdi
callq 0x809d
incq %r15
cmpq %r15, %rbx
jne 0x58a7
movq %r13, %rdi
callq 0x1030
movq 0x18(%rsp), %r15
movq 0x8(%rsp), %r13
jmp 0x58fd
movl $0x1, %esi
movq %rbp, %rdi
xorl %edx, %edx
xorl %eax, %eax
callq 0x5b97
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
movq (%rsp), %r12
jmp 0x5910
movl $0x1, %esi
movq %rbp, %rdi
movl $0x1b, %edx
xorl %eax, %eax
callq 0x5b97
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
movq (%rsp), %r12
movq 0x20(%rsp), %rdi
callq 0x809d
testq %r12, %r12
je 0x5935
testq %r13, %r13
je 0x592d
xorl %ebx, %ebx
movq (%r12,%rbx,8), %rdi
callq 0x7eda
incq %rbx
cmpq %rbx, %r13
jne 0x591c
movq %r12, %rdi
callq 0x1030
xorl %eax, %eax
movq %rax, (%r15)
movq (%r14), %rdi
callq 0x53ac
movl %ebp, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl %eax, %ebp
jmp 0x5975
movl $0x1, %esi
movq %rbp, %rdi
movl $0x1c, %edx
xorl %eax, %eax
callq 0x5b97
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
movq 0x8(%rsp), %r13
testq %rbx, %rbx
movq (%rsp), %r12
je 0x5906
movq %rbx, %rdi
callq 0x80a2
jmp 0x5906
movq %r12, %rdi
callq 0x1637
callq 0x1667
callq 0x1698
movq %r12, %rdi
callq 0x16c9
callq 0x16f9