// File: /workspace/github_c_makefile_star2_O2/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, 0x8(%rsp)
movq %rdi, %r13
movq (%rdi), %rdi
leaq 0x8(%r13), %r14
movq %r14, %rsi
callq 0x1c9f
xorl %ebp, %ebp
leaq 0x10(%rsp), %r15
xorl %r12d, %r12d
movq $0x0, 0x20(%rsp)
movq (%r14), %rdi
movl (%rdi), %eax
cmpl $0x26, %eax
je 0x2eb1
testl %eax, %eax
jne 0x2ece
callq 0x297c
movq (%r13), %rdi
movq %r14, %rsi
callq 0x1c9f
movq %r13, %rdi
movq %r15, %rsi
callq 0x332c
testl %eax, %eax
jne 0x2edd
movq (%r14), %rdi
cmpl $0x1b, (%rdi)
jne 0x2ee8
callq 0x297c
movq (%r13), %rdi
movq %r14, %rsi
callq 0x1c9f
movq 0x8(%r13), %rdi
cmpl $0x1c, (%rdi)
jne 0x2ca4
xorl %ebx, %ebx
jmp 0x2d90
movq %r13, %rdi
leaq 0x28(%rsp), %rsi
callq 0x332c
testl %eax, %eax
jne 0x2e5c
movq %rbp, 0x18(%rsp)
pushq $0x8
popq %rdi
callq 0x1130
testq %rax, %rax
je 0x2f7e
movq %rax, %rbx
movq 0x28(%rsp), %rax
movq %rax, (%rbx)
pushq $0x1
popq %rbp
movq %rbp, %r15
movq (%r14), %rdi
cmpl $0x22, (%rdi)
jne 0x2d64
callq 0x297c
movq (%r13), %rdi
movq %r14, %rsi
callq 0x1c9f
movq %r13, %rdi
leaq 0x28(%rsp), %rsi
callq 0x332c
testl %eax, %eax
jne 0x2e39
cmpq %rbp, %r15
jne 0x2d53
testq %r15, %r15
je 0x2d3c
movq %r15, %rbp
shlq $0x4, %rbp
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x1160
testq %rax, %rax
je 0x2f36
movq %rax, %rbx
leaq (%r15,%r15), %rbp
jmp 0x2d53
pushq $0x8
popq %rdi
callq 0x1130
testq %rax, %rax
je 0x2f5b
movq %rax, %rbx
pushq $0x1
popq %rbp
movq 0x28(%rsp), %rax
movq %rax, (%rbx,%r15,8)
incq %r15
jmp 0x2ce0
movq 0x18(%rdi), %rdx
movq 0x20(%rdi), %rcx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x58f9
movq %rax, %rbx
movq (%r14), %rdi
cmpl $0x1c, (%rdi)
jne 0x2f02
movq 0x18(%rsp), %rbp
leaq 0x10(%rsp), %r15
callq 0x297c
movq (%r13), %rdi
movq %r14, %rsi
callq 0x1c9f
movq %r13, %rdi
leaq 0x30(%rsp), %rsi
callq 0x338d
testl %eax, %eax
jne 0x2efd
movq 0x10(%rsp), %rdi
movq 0x30(%rsp), %rdx
movq (%r14), %rax
movq 0x18(%rax), %rcx
movq 0x20(%rax), %r8
movq %rbx, %rsi
callq 0x5703
movq %rax, %rbx
cmpq 0x20(%rsp), %r12
jne 0x2e2c
testq %r12, %r12
je 0x2e10
movq %r12, %r15
shlq $0x4, %r15
movq %rbp, %rdi
movq %r15, %rsi
callq 0x1160
testq %rax, %rax
je 0x2fa1
movq %rax, %rbp
leaq (%r12,%r12), %rax
movq %rax, 0x20(%rsp)
leaq 0x10(%rsp), %r15
jmp 0x2e2c
pushq $0x8
popq %rdi
callq 0x1130
testq %rax, %rax
je 0x2fc3
movq %rax, %rbp
pushq $0x1
popq %rax
movq %rax, 0x20(%rsp)
movq %rbx, (%rbp,%r12,8)
incq %r12
jmp 0x2c3d
xorl %r13d, %r13d
movq 0x18(%rsp), %rbp
cmpq %r13, %r15
je 0x2e54
movq (%rbx,%r13,8), %rdi
callq 0x588a
incq %r13
jmp 0x2e41
movq %rbx, %rdi
callq 0x1030
pushq $-0x1
popq %r13
movq 0x8(%rsp), %r15
movq 0x10(%rsp), %rdi
callq 0x588a
testq %rbp, %rbp
je 0x2e92
xorl %ebx, %ebx
cmpq %rbx, %r12
je 0x2e8a
movq (%rbp,%rbx,8), %rdi
callq 0x56d7
incq %rbx
jmp 0x2e76
movq %rbp, %rdi
callq 0x1030
xorl %eax, %eax
movq %rax, (%r15)
movq (%r14), %rdi
callq 0x297c
movl %r13d, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x18(%rdi), %rdx
movq 0x20(%rdi), %rcx
movq %rbp, %rdi
movq %r12, %rsi
callq 0x55b8
xorl %r13d, %r13d
movq 0x8(%rsp), %r15
jmp 0x2e94
pushq $0x1
popq %rsi
movq %r13, %rdi
xorl %edx, %edx
xorl %eax, %eax
callq 0x3273
movq 0x8(%rsp), %r15
pushq $-0x1
popq %r13
jmp 0x2e6f
pushq $0x1
popq %rsi
pushq $0x1b
popq %rdx
movq %r13, %rdi
xorl %eax, %eax
callq 0x3273
jmp 0x2e5c
movl %eax, %r13d
jmp 0x2f1b
pushq $0x1
popq %rsi
pushq $0x1c
popq %rdx
movq %r13, %rdi
xorl %eax, %eax
callq 0x3273
pushq $-0x1
popq %r13
movq 0x18(%rsp), %rbp
testq %rbx, %rbx
movq 0x8(%rsp), %r15
je 0x2e65
movq %rbx, %rdi
callq 0x588f
jmp 0x2e65
movq 0x130b3(%rip), %rax     # 0x15ff0
movq (%rax), %rdi
leaq 0xb9aa(%rip), %rsi      # 0xe8f1
leaq 0xb876(%rip), %rdx      # 0xe7c4
movl $0xbf, %ecx
movq %rbp, %r8
jmp 0x2fe4
movq 0x1308e(%rip), %rax     # 0x15ff0
movq (%rax), %rdi
leaq 0xb652(%rip), %rsi      # 0xe5be
leaq 0xb851(%rip), %rdx      # 0xe7c4
pushq $0x8
popq %r8
movl $0xbf, %ecx
jmp 0x2fe4
movq 0x1306b(%rip), %rax     # 0x15ff0
movq (%rax), %rdi
leaq 0xb62f(%rip), %rsi      # 0xe5be
leaq 0xb82e(%rip), %rdx      # 0xe7c4
pushq $0x8
popq %r8
movl $0xb4, %ecx
jmp 0x2fe4
movq 0x13048(%rip), %rax     # 0x15ff0
movq (%rax), %rdi
leaq 0xb93f(%rip), %rsi      # 0xe8f1
leaq 0xb80b(%rip), %rdx      # 0xe7c4
movl $0x75e, %ecx            # imm = 0x75E
movq %r15, %r8
jmp 0x2fe4
movq 0x13026(%rip), %rax     # 0x15ff0
movq (%rax), %rdi
leaq 0xb5ea(%rip), %rsi      # 0xe5be
leaq 0xb7e9(%rip), %rdx      # 0xe7c4
pushq $0x8
popq %r8
movl $0x75e, %ecx            # imm = 0x75E
xorl %eax, %eax
callq 0x1100
pushq $0x1
popq %rdi
callq 0x1180