// File: /workspace/github_cpp_makefile_star2_O1/CobaltXII[P]cxcc/./parser/parser.hpp
// Function: parser_t::parse_statement()
statement_t* parse_statement() {
		token_t peek = input.peek();
		if (peek.type == tk_left_brace) {
			// Compound statement.
			std::vector<statement_t*> statements;
			expect(tk_left_brace);
			while (input.peek().type != tk_right_brace) {
				statements.push_back(parse_statement());
			}
			expect(tk_right_brace);
			return new statement_t({statements});
		} else if (peek.type == tk_if) {
			// Conditional statement.
			expect(tk_if);
			expect(tk_left_parenthesis);
			expression_t* condition = parse_expression();
			expect(tk_right_parenthesis);
			statement_t* body = parse_statement();
			return new statement_t((conditional_statement_t){condition, body});
		} else if (peek.type == tk_while) {
			// While statement.
			expect(tk_while);
			expect(tk_left_parenthesis);
			expression_t* condition = parse_expression();
			expect(tk_right_parenthesis);
			statement_t* body = parse_statement();
			return new statement_t((while_statement_t){condition, body});
		} else if (peek.type == tk_return) {
			// Return statement.
			expect(tk_return);
			expression_t* value = parse_expression();
			expect(tk_semicolon);
			return new statement_t((return_statement_t){value});
		} else if (peek.type == tk_int) {
			// Variable declaration statement.
			type_t type = parse_type();
			identifier_t identifier = parse_identifier();
			expression_t* initializer = nullptr;
			if (input.peek().type == tk_bi_assignment) {
				expect(tk_bi_assignment);
				initializer = parse_expression();
			}
			expect(tk_semicolon);
			return new statement_t({type, identifier, initializer});
		} else if (peek.type == tk_semicolon) {
			// No-op statement.
			expect(tk_semicolon);
			return new statement_t(st_no_op, STATEMENT_DEBUG);
		} else if (peek.type == tk_break) {
			// Break statement.
			expect(tk_break);
			return new statement_t(st_break, STATEMENT_DEBUG);
		} else if (peek.type == tk_continue) {
			// Continue statement.
			expect(tk_continue);
			return new statement_t(st_continue, STATEMENT_DEBUG);
		} else {
			// Expression statement.
			expression_t* expression = parse_expression();
			expect(tk_semicolon);
			return new statement_t((expression_statement_t){expression});
		}
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x458, %rsp            # imm = 0x458
movq %rdi, %rbx
movq 0xb8(%rdi), %r14
imulq $0x38, 0xd0(%rdi), %r15
movl (%r14,%r15), %eax
leaq 0x28(%rsp), %rdi
movl %eax, -0x8(%rdi)
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x8(%r14,%r15), %rsi
movq 0x10(%r14,%r15), %rdx
addq %rsi, %rdx
callq 0x17a38
movups 0x28(%r14,%r15), %xmm0
movups %xmm0, 0x10(%r12)
movl -0x18(%r12), %eax
addl $-0x5, %eax
cmpl $0xe, %eax
ja 0xa802
leaq 0xe95b(%rip), %rcx      # 0x1905c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x3b0(%rsp), %rdi
movq %rbx, %rsi
movl $0x5, %edx
callq 0x9b4a
leaq 0x3c8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa740
movq 0x3c8(%rsp), %rsi
incq %rsi
callq 0x3280
leaq 0x378(%rsp), %rdi
movq %rbx, %rsi
movl $0xc, %edx
callq 0x9b4a
leaq 0x390(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa776
movq 0x390(%rsp), %rsi
incq %rsi
callq 0x3280
movq %rbx, %rdi
callq 0xb374
movq %rax, %r14
leaq 0x340(%rsp), %rdi
movq %rbx, %rsi
movl $0xd, %edx
callq 0x9b4a
leaq 0x358(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa7b7
movq 0x358(%rsp), %rsi
incq %rsi
callq 0x3280
movq %rbx, %rdi
callq 0xa692
movq %rax, %r15
movl $0x90, %edi
callq 0x3270
movq %rax, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
xorl %eax, %eax
movq %rax, 0x18(%rbx)
movq %rbx, %rcx
addq $0x60, %rcx
movq %rcx, 0x50(%rbx)
movq %rax, 0x58(%rbx)
movb $0x0, 0x60(%rbx)
movl $0x1, (%rbx)
movq %r14, 0x20(%rbx)
movq %r15, 0x28(%rbx)
jmp 0xaea9
movq %rbx, %rdi
callq 0xb374
movq %rax, %r14
leaq 0xd8(%rsp), %rdi
movq %rbx, %rsi
movl $0x13, %edx
callq 0x9b4a
leaq 0xf0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa843
movq 0xf0(%rsp), %rsi
incq %rsi
callq 0x3280
movl $0x90, %edi
callq 0x3270
movq %rax, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
xorl %eax, %eax
movq %rax, 0x18(%rbx)
movq %rbx, %rcx
addq $0x60, %rcx
movq %rcx, 0x50(%rbx)
movq %rax, 0x58(%rbx)
movb $0x0, 0x60(%rbx)
movl $0x6, (%rbx)
movq %r14, 0x78(%rbx)
jmp 0xaea9
leaq 0x110(%rsp), %rdi
movq %rbx, %rsi
movl $0xb, %edx
callq 0x9b4a
leaq 0x128(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa8b5
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x3280
movl $0x90, %edi
callq 0x3270
movq %rax, %rbx
movq 0x30(%rsp), %rax
movq 0x48(%rsp), %rcx
notq %rax
addq 0x50(%rsp), %rax
xorl %edx, %edx
movq %rdx, 0x18(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rbx)
movq %rbx, %rsi
addq $0x60, %rsi
movq %rsi, 0x50(%rbx)
movq %rdx, 0x58(%rbx)
movb $0x0, 0x60(%rbx)
movl $0x8, (%rbx)
jmp 0xad40
movq %rbx, %rdi
callq 0x932c
movq %rax, %r14
movq %rsp, %rdi
movq %rbx, %rsi
callq 0x9466
movq 0xb8(%rbx), %r15
imulq $0x38, 0xd0(%rbx), %r13
movl (%r15,%r13), %eax
leaq 0x60(%rsp), %rdi
movl %eax, -0x8(%rdi)
leaq 0x70(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x8(%r15,%r13), %rsi
movq 0x10(%r15,%r13), %rdx
addq %rsi, %rdx
callq 0x17a38
addq %r13, %r15
movups 0x28(%r15), %xmm0
movups %xmm0, 0x80(%rsp)
movl 0x58(%rsp), %ebp
movq 0x60(%rsp), %rdi
cmpq %r12, %rdi
je 0xa977
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x3280
cmpl $0x16, %ebp
jne 0xaded
leaq 0x1f0(%rsp), %rdi
movq %rbx, %rsi
movl $0x16, %edx
callq 0x9b4a
leaq 0x208(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa9b6
movq 0x208(%rsp), %rsi
incq %rsi
callq 0x3280
movq %rbx, %rdi
callq 0xb374
movq %rax, %r15
jmp 0xadf0
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
leaq 0x420(%rsp), %rdi
movq %rbx, %rsi
movl $0x10, %edx
callq 0x9b4a
leaq 0x438(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xaa0c
movq 0x438(%rsp), %rsi
incq %rsi
callq 0x3280
leaq 0x60(%rsp), %r14
leaq 0x70(%rsp), %rbp
leaq 0x58(%rsp), %r12
movq 0xb8(%rbx), %r13
imulq $0x38, 0xd0(%rbx), %r15
movl (%r13,%r15), %eax
movl %eax, 0x58(%rsp)
movq %rbp, 0x60(%rsp)
movq 0x8(%r13,%r15), %rsi
movq 0x10(%r13,%r15), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x17a38
addq %r15, %r13
movups 0x28(%r13), %xmm0
movups %xmm0, 0x20(%r14)
movl 0x58(%rsp), %r15d
movq 0x60(%rsp), %rdi
cmpq %rbp, %rdi
je 0xaa76
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x3280
cmpl $0x11, %r15d
je 0xad53
movq %rbx, %rdi
callq 0xa692
movq %rax, 0x58(%rsp)
movq %rsp, %rdi
movq %r12, %rsi
callq 0xafb6
jmp 0xaa1b
leaq 0x180(%rsp), %rdi
movq %rbx, %rsi
movl $0x13, %edx
callq 0x9b4a
leaq 0x198(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xaad0
movq 0x198(%rsp), %rsi
incq %rsi
callq 0x3280
movl $0x90, %edi
callq 0x3270
movq %rax, %rbx
movq 0x30(%rsp), %rax
movq 0x48(%rsp), %rcx
notq %rax
addq 0x50(%rsp), %rax
xorl %edx, %edx
movq %rdx, 0x18(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rbx)
movq %rbx, %rsi
addq $0x60, %rsi
movq %rsi, 0x50(%rbx)
movq %rdx, 0x58(%rbx)
movb $0x0, 0x60(%rbx)
movl $0x5, (%rbx)
jmp 0xad40
leaq 0x308(%rsp), %rdi
movq %rbx, %rsi
movl $0x8, %edx
callq 0x9b4a
leaq 0x320(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xab50
movq 0x320(%rsp), %rsi
incq %rsi
callq 0x3280
leaq 0x2d0(%rsp), %rdi
movq %rbx, %rsi
movl $0xc, %edx
callq 0x9b4a
leaq 0x2e8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xab86
movq 0x2e8(%rsp), %rsi
incq %rsi
callq 0x3280
movq %rbx, %rdi
callq 0xb374
movq %rax, %r14
leaq 0x298(%rsp), %rdi
movq %rbx, %rsi
movl $0xd, %edx
callq 0x9b4a
leaq 0x2b0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xabc7
movq 0x2b0(%rsp), %rsi
incq %rsi
callq 0x3280
movq %rbx, %rdi
callq 0xa692
movq %rax, %r15
movl $0x90, %edi
callq 0x3270
movq %rax, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
xorl %eax, %eax
movq %rax, 0x18(%rbx)
movq %rbx, %rcx
addq $0x60, %rcx
movq %rcx, 0x50(%rbx)
movq %rax, 0x58(%rbx)
movb $0x0, 0x60(%rbx)
movl $0x2, (%rbx)
movq %r14, 0x30(%rbx)
movq %r15, 0x38(%rbx)
jmp 0xaea9
leaq 0x260(%rsp), %rdi
movq %rbx, %rsi
movl $0x9, %edx
callq 0x9b4a
leaq 0x278(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xac48
movq 0x278(%rsp), %rsi
incq %rsi
callq 0x3280
movq %rbx, %rdi
callq 0xb374
movq %rax, %r14
leaq 0x228(%rsp), %rdi
movq %rbx, %rsi
movl $0x13, %edx
callq 0x9b4a
leaq 0x240(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xac89
movq 0x240(%rsp), %rsi
incq %rsi
callq 0x3280
movl $0x90, %edi
callq 0x3270
movq %rax, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
xorl %eax, %eax
movq %rax, 0x18(%rbx)
movq %rbx, %rcx
addq $0x60, %rcx
movq %rcx, 0x50(%rbx)
movq %rax, 0x58(%rbx)
movb $0x0, 0x60(%rbx)
movl $0x3, (%rbx)
movq %r14, 0x40(%rbx)
jmp 0xaea9
leaq 0x148(%rsp), %rdi
movq %rbx, %rsi
movl $0xa, %edx
callq 0x9b4a
leaq 0x160(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xacfb
movq 0x160(%rsp), %rsi
incq %rsi
callq 0x3280
movl $0x90, %edi
callq 0x3270
movq %rax, %rbx
movq 0x30(%rsp), %rax
movq 0x48(%rsp), %rcx
notq %rax
addq 0x50(%rsp), %rax
xorl %edx, %edx
movq %rdx, 0x18(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rbx)
movq %rbx, %rsi
addq $0x60, %rsi
movq %rsi, 0x50(%rbx)
movq %rdx, 0x58(%rbx)
movb $0x0, 0x60(%rbx)
movl $0x7, (%rbx)
movq %rcx, 0x80(%rbx)
movq %rax, 0x88(%rbx)
jmp 0xaea9
leaq 0x3e8(%rsp), %rdi
movq %rbx, %rsi
movl $0x11, %edx
callq 0x9b4a
leaq 0x400(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xad89
movq 0x400(%rsp), %rsi
incq %rsi
callq 0x3280
movl $0x90, %edi
callq 0x3270
movq %rax, %rbx
leaq 0x90(%rsp), %rdi
movq %rsp, %rsi
callq 0xb122
leaq 0x90(%rsp), %rsi
movq %rbx, %rdi
callq 0xb1a2
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0xadd3
movq 0xa0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3280
movq (%rsp), %rdi
testq %rdi, %rdi
je 0xaea9
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
jmp 0xaea4
xorl %r15d, %r15d
leaq 0x1b8(%rsp), %rdi
movq %rbx, %rsi
movl $0x13, %edx
callq 0x9b4a
leaq 0x1d0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xae26
movq 0x1d0(%rsp), %rsi
incq %rsi
callq 0x3280
movl $0x90, %edi
callq 0x3270
movq %rax, %rbx
leaq 0xb0(%rsp), %rdi
movq %r14, -0x8(%rdi)
leaq 0xc0(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
callq 0x17a38
leaq 0xa8(%rsp), %rsi
movq %r15, 0x28(%rsi)
movq %rbx, %rdi
callq 0xb214
movq 0xb0(%rsp), %rdi
cmpq %r12, %rdi
je 0xae8e
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x3280
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xaea9
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3280
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0xaec5
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3280
movq %rbx, %rax
addq $0x458, %rsp            # imm = 0x458
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0xaeff
movq 0xa0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3280
jmp 0xaeff
movq %rax, %r14
movl $0x90, %esi
movq %rbx, %rdi
callq 0x3280
jmp 0xaf7b
movq %rax, %r14
movq 0xb0(%rsp), %rdi
cmpq %r12, %rdi
je 0xaf33
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x3280
jmp 0xaf33
movq %rax, %r14
movl $0x90, %esi
movq %rbx, %rdi
callq 0x3280
jmp 0xaf55
jmp 0xaf52
jmp 0xaf71
jmp 0xaf71
jmp 0xaf71
jmp 0xaf71
jmp 0xaf71
jmp 0xaf71
jmp 0xaf78
movq %rax, %r14
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xaf91
movq 0x10(%rsp), %rsi
incq %rsi
jmp 0xaf8c
jmp 0xaf71
jmp 0xaf71
movq %rax, %r14
jmp 0xaf91
jmp 0xaf78
movq %rax, %r14
movq (%rsp), %rdi
testq %rdi, %rdi
je 0xaf91
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x3280
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0xafad
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3280
movq %r14, %rdi
callq 0x33b0
nop