// File: /workspace/github_c_makefile_star2_O3/Encryptr[P]O-plus-plus/opp/parser/parser.c
// Function: opp_parse_statement
static struct Opp_Node* opp_parse_statement(struct Opp_Parser* parser)
{
	switch (parser->lex->t.id)
	{
		case TSEMICOLON:
			opp_error(parser->lex, "Trailing ';' found");
			break;

		case TOPENC:
			return opp_parse_block(parser);

		case TRET:
			return opp_parse_return(parser);

		case TWHILE:
			return opp_parse_while(parser);

		case TGOTO:
			return opp_parse_goto(parser);

		case TIF:
			return opp_parse_if(parser);

		case TFOR:
			return opp_parse_for(parser);

		case TSWITCH:
			return opp_parse_switch(parser);

		case TCASE:
			return opp_parse_case(parser);

		case TBREAK:
			return opp_parse_break(parser);

		case TUNSIGNED:
			return opp_parse_type(parser);

		case TIDENT: 
			if (opp_parse_peak(parser, ':'))
				return opp_parse_label(parser);

			if (get_type(&parser->tree, parser->lex->t.buffer.buf) != NULL)
				return opp_parse_type(parser);
			else 
				return opp_parse_expr(parser);

		default:
			return opp_parse_expr(parser);
	}

	return NULL;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %rdi
movl 0x30(%rdi), %ecx
leal -0x27(%rcx), %eax
cmpl $0x18, %eax
ja 0x8cb2
leaq 0x3b06(%rip), %rcx      # 0xc7a0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x958d
cmpl $0x1, %ecx
jne 0x9041
movq (%rdi), %rax
cmpb $0x3a, (%rax)
jne 0x901d
movq %rbx, %rdi
movl $0xf, %esi
callq 0x8a85
movq %rax, %r14
movq %rbx, %rdi
callq 0x8acc
movq %rax, 0x10(%r14)
jmp 0x8f0d
movq %rbx, %rdi
movl $0x1a, %esi
callq 0x8a85
movq %rax, %r14
movq (%rbx), %rdi
callq 0x9b62
movq (%rbx), %rdi
cmpl $0x22, 0x30(%rdi)
je 0x8d1a
leaq 0x3f40(%rip), %rsi      # 0xcc50
xorl %eax, %eax
callq 0x96c6
movq (%rbx), %rdi
callq 0x9b62
movq %rbx, %rdi
callq 0x8c24
movq %rax, 0x10(%r14)
movq (%rbx), %rdi
cmpl $0x23, 0x30(%rdi)
je 0x8d45
leaq 0x3f3b(%rip), %rsi      # 0xcc76
xorl %eax, %eax
callq 0x96c6
movq (%rbx), %rdi
callq 0x9b62
movq (%rbx), %rdi
cmpl $0x27, 0x30(%rdi)
je 0x8d61
leaq 0x3f42(%rip), %rsi      # 0xcc9c
xorl %eax, %eax
callq 0x96c6
movq %rbx, %rdi
callq 0x958d
jmp 0x8f65
movq %rbx, %rdi
movl $0x17, %esi
callq 0x8a85
movq %rax, %r14
movq (%rbx), %rdi
callq 0x9b62
movq (%rbx), %rax
cmpl $0x2a, 0x30(%rax)
jne 0x9006
xorl %eax, %eax
jmp 0x900e
movq %rbx, %rdi
movl $0x15, %esi
callq 0x8a85
movq %rax, %r14
movq (%rbx), %rdi
callq 0x9b62
movq (%rbx), %rdi
cmpl $0x22, 0x30(%rdi)
je 0x8dc9
leaq 0x3dea(%rip), %rsi      # 0xcbac
xorl %eax, %eax
callq 0x96c6
movq %rbx, %rdi
callq 0x8c24
movq %rax, 0x10(%r14)
jmp 0x8f5d
leaq 0x3d78(%rip), %rsi      # 0xcb59
xorl %r14d, %r14d
xorl %eax, %eax
callq 0x96c6
jmp 0x9012
movq %rbx, %rdi
movl $0x10, %esi
callq 0x8a85
movq %rax, %r14
movq (%rbx), %rdi
callq 0x9b62
movq (%rbx), %rdi
cmpl $0x1, 0x30(%rdi)
je 0x8e1f
leaq 0x3dad(%rip), %rsi      # 0xcbc5
xorl %eax, %eax
callq 0x96c6
movq %rbx, %rdi
callq 0x8acc
movq %rax, 0x10(%r14)
movq (%rbx), %rdi
callq 0x9b62
movq (%rbx), %rdi
cmpl $0x2a, 0x30(%rdi)
je 0x9012
movl $0x3b, %esi
callq 0x9050
jmp 0x9012
movq %rbx, %rdi
movl $0x11, %esi
callq 0x8a85
movq %rax, %r14
movq (%rbx), %rdi
callq 0x9b62
movq (%rbx), %rdi
cmpl $0x22, 0x30(%rdi)
je 0x8e81
leaq 0x3d68(%rip), %rsi      # 0xcbdf
xorl %eax, %eax
callq 0x96c6
movq (%rbx), %rdi
callq 0x9b62
movq %rbx, %rdi
callq 0x8c24
movq %rax, 0x10(%r14)
movq (%rbx), %rdi
cmpl $0x23, 0x30(%rdi)
je 0x8eac
leaq 0x3d53(%rip), %rsi      # 0xcbf5
xorl %eax, %eax
callq 0x96c6
movq (%rbx), %rdi
callq 0x9b62
movq %rbx, %rdi
callq 0x8c7e
movq %rax, 0x18(%r14)
movq $0x0, 0x20(%r14)
movq (%rbx), %rdi
movl $0x1, %esi
callq 0x9b26
movq (%rbx), %rdi
cmpl $0x35, 0x30(%rdi)
jne 0x9012
callq 0x9b62
movq (%rbx), %rdi
callq 0x9b62
movq %rbx, %rdi
callq 0x8c7e
movq %rax, 0x20(%r14)
jmp 0x9012
movq %rbx, %rdi
movl $0x1d, %esi
callq 0x8a85
movq %rax, %r14
movq (%rbx), %rdi
callq 0x9b62
jmp 0x9012
movq %rbx, %rdi
movl $0x1c, %esi
callq 0x8a85
movq %rax, %r14
movq (%rbx), %rdi
callq 0x9b62
movq %rbx, %rdi
callq 0x8c24
movq %rax, 0x10(%r14)
movq (%rbx), %rdi
cmpl $0x1b, 0x30(%rdi)
je 0x8f58
leaq 0x3d98(%rip), %rsi      # 0xcce6
xorl %eax, %eax
callq 0x96c6
movq (%rbx), %rdi
callq 0x9b62
movq %rbx, %rdi
callq 0x8c7e
movq %rax, 0x18(%r14)
jmp 0x9012
movq %rbx, %rdi
movl $0x19, %esi
callq 0x8a85
movq %rax, %r14
movq (%rbx), %rdi
callq 0x9b62
movq (%rbx), %rdi
cmpl $0x22, 0x30(%rdi)
je 0x8fa0
leaq 0x3c7f(%rip), %rsi      # 0xcc15
xorl %eax, %eax
callq 0x96c6
movq (%rbx), %rdi
callq 0x9b62
movq %rbx, %rdi
callq 0x8c7e
movq %rax, 0x10(%r14)
movq (%rbx), %rdi
callq 0x9b62
movq %rbx, %rdi
callq 0x965a
movq %rax, 0x18(%r14)
movq (%rbx), %rdi
callq 0x9b62
movq %rbx, %rdi
callq 0x8c24
movq %rax, 0x20(%r14)
movq (%rbx), %rdi
cmpl $0x23, 0x30(%rdi)
je 0x8ff3
leaq 0x3c44(%rip), %rsi      # 0xcc2d
xorl %eax, %eax
callq 0x96c6
movq (%rbx), %rdi
callq 0x9b62
movq %rbx, %rdi
callq 0x8c7e
movq %rax, 0x28(%r14)
jmp 0x9012
movq %rbx, %rdi
callq 0x965a
movq %rax, 0x10(%r14)
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x20(%rbx), %rax
movq 0x38(%rdi), %rsi
movq %rax, %rdi
callq 0x861b
testq %rax, %rax
je 0x9041
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x8729
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x965a