// File: /workspace/github_cpp_makefile_star2_O3/rofl0r[P]ascc/eval_if.c
// Function: evaluate_if_statement
int evaluate_if_statement(char *str) {
	struct tokenizer t;
	FILE *m = tokenizer_from_string(&t, str);
	int res, ret = evaluate_condition(&t, &res);
	fclose(m);
	return ret ? res : 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2738, %rsp           # imm = 0x2738
movq %rdi, %rsi
leaq 0x428(%rsp), %r14
movq %r14, %rdi
callq 0x18dd3
movq %rax, 0x10(%rsp)
movb $0x0, 0x20(%rsp)
movq %rsp, %rsi
xorl %ebx, %ebx
movq %r14, %rdi
xorl %edx, %edx
callq 0x18e12
testl %eax, %eax
je 0x18b5e
leaq 0x20(%rsp), %r13
leaq 0x548(%rsp), %r14
leaq 0x428(%rsp), %r15
movq %rsp, %r12
movl (%rsp), %eax
cmpl $0x1, %eax
je 0x18a62
cmpl $0x9, %eax
je 0x18a3a
cmpl $0xe, %eax
je 0x18b80
movq %r13, %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x18980
movq %rax, %r13
jmp 0x18b49
movl 0xc(%rsp), %eax
cmpl $0x5c, %eax
je 0x18b2f
cmpl $0xa, %eax
jne 0x18b36
testl %ebx, %ebx
movl $0x0, %ebx
jne 0x18b49
jmp 0x18b80
movabsq $0x64656e69666564, %rax # imm = 0x64656E69666564
cmpq %rax, 0x548(%rsp)
jne 0x18b17
movq %r15, %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0x18e12
movl %eax, %ebp
testl %eax, %eax
je 0x18d9e
cmpl $0x9, (%rsp)
jne 0x18d9e
cmpl $0x28, 0xc(%rsp)
jne 0x18d9e
movq %r15, %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0x18e12
movl %eax, %ebp
testl %eax, %eax
je 0x18da7
cmpl $0x1, (%rsp)
jne 0x18da7
movq %r14, %rdi
callq 0x16f2b
movl %eax, %ebp
movq %r13, %rdi
callq 0x31a0
cmpl $0x1, %ebp
movw $0x31, %cx
sbbw $0x0, %cx
movw %cx, (%r13,%rax)
movq %r15, %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0x18e12
movl %eax, %ebp
testl %eax, %eax
je 0x18db0
cmpl $0x9, (%rsp)
jne 0x18db0
cmpl $0x29, 0xc(%rsp)
je 0x18b22
jmp 0x18db0
movq %r14, %rdi
movq %r13, %rsi
callq 0x16eec
movq %r13, %rdi
callq 0x31a0
addq %rax, %r13
jmp 0x18b49
movl $0x1, %ebx
jmp 0x18b49
movq %r13, %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x18980
movq %rax, %r13
xorl %ebx, %ebx
movq %r15, %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0x18e12
testl %eax, %eax
jne 0x18a0e
movq 0x10(%rsp), %rdi
callq 0x3300
xorl %r15d, %r15d
movl %r15d, %eax
addq $0x2738, %rsp           # imm = 0x2738
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpb $0x0, 0x20(%rsp)
je 0x18d8d
leaq 0x15b0(%rsp), %r15
leaq 0x20(%rsp), %rsi
movq %r15, %rdi
callq 0x18dd3
movq %rax, %r14
leaq 0x3e9c(%rip), %rdx      # 0x1ca46
movq %r15, %rdi
movl $0x3e8, %esi            # imm = 0x3E8
callq 0x17a21
leaq 0x3e8b(%rip), %rdx      # 0x1ca49
movq %r15, %rdi
movl $0x3e9, %esi            # imm = 0x3E9
callq 0x17a21
leaq 0x3e59(%rip), %rdx      # 0x1ca2b
movq %r15, %rdi
movl $0x3ea, %esi            # imm = 0x3EA
callq 0x17a21
leaq 0x3e49(%rip), %rdx      # 0x1ca2f
movq %r15, %rdi
movl $0x3eb, %esi            # imm = 0x3EB
callq 0x17a21
leaq 0x3e40(%rip), %rdx      # 0x1ca3a
movq %r15, %rdi
movl $0x3ec, %esi            # imm = 0x3EC
callq 0x17a21
leaq 0x3e2f(%rip), %rdx      # 0x1ca3d
movq %r15, %rdi
movl $0x3ed, %esi            # imm = 0x3ED
callq 0x17a21
leaq 0x3e1e(%rip), %rdx      # 0x1ca40
movq %r15, %rdi
movl $0x3ee, %esi            # imm = 0x3EE
callq 0x17a21
leaq 0x3e0d(%rip), %rdx      # 0x1ca43
movq %r15, %rdi
movl $0x3ef, %esi            # imm = 0x3EF
callq 0x17a21
leaq 0x3df1(%rip), %rdx      # 0x1ca3b
movq %r15, %rdi
movl $0x3f0, %esi            # imm = 0x3F0
callq 0x17a21
leaq 0x3de0(%rip), %rdx      # 0x1ca3e
movq %r15, %rdi
movl $0x3f1, %esi            # imm = 0x3F1
callq 0x17a21
leaq 0x3dd5(%rip), %rdx      # 0x1ca47
movq %r15, %rdi
movl $0x3f2, %esi            # imm = 0x3F2
callq 0x17a21
leaq 0x3dc4(%rip), %rdx      # 0x1ca4a
movq %r15, %rdi
movl $0x3f3, %esi            # imm = 0x3F3
callq 0x17a21
leaq 0x3ef5(%rip), %rdx      # 0x1cb8f
movq %r15, %rdi
movl $0x3f4, %esi            # imm = 0x3F4
callq 0x17a21
leaq 0x4bf4(%rip), %rdx      # 0x1d8a2
movq %r15, %rdi
movl $0x3f5, %esi            # imm = 0x3F5
callq 0x17a21
leaq 0x3d71(%rip), %rdx      # 0x1ca33
movq %r15, %rdi
movl $0x3f6, %esi            # imm = 0x3F6
callq 0x17a21
leaq 0x3d60(%rip), %rdx      # 0x1ca36
movq %r15, %rdi
movl $0x3f7, %esi            # imm = 0x3F7
callq 0x17a21
leaq 0x232a(%rip), %rdx      # 0x1b014
movq %r15, %rdi
movl $0x3f8, %esi            # imm = 0x3F8
callq 0x17a21
leaq 0x4594(%rip), %rdx      # 0x1d292
movq %r15, %rdi
movl $0x3f9, %esi            # imm = 0x3F9
callq 0x17a21
leaq 0x3d26(%rip), %rdx      # 0x1ca38
movq %r15, %rdi
movl $0x3fa, %esi            # imm = 0x3FA
callq 0x17a21
leaq 0x4afc(%rip), %rdx      # 0x1d822
movq %r15, %rdi
movl $0x3fb, %esi            # imm = 0x3FB
callq 0x17a21
leaq 0x268a(%rip), %rdx      # 0x1b3c4
movq %r15, %rdi
movl $0x3fc, %esi            # imm = 0x3FC
callq 0x17a21
leaq 0x4b2e(%rip), %rdx      # 0x1d87c
movq %r15, %rdi
movl $0x3fd, %esi            # imm = 0x3FD
callq 0x17a21
leaq 0x1c(%rsp), %r12
movl $0x0, (%r12)
movq %r15, %rdi
xorl %esi, %esi
movq %r12, %rdx
callq 0x18e65
movl %eax, %r15d
xorl %ebp, %ebp
cmpl $0x0, (%r12)
sete %bpl
movq %r14, %rdi
callq 0x3300
jmp 0x18dbc
leaq 0x4aac(%rip), %rdi      # 0x1d840
callq 0x16f42
jmp 0x18b5e
leaq 0x4a43(%rip), %rdi      # 0x1d7e8
jmp 0x18db7
leaq 0x4a53(%rip), %rdi      # 0x1d801
jmp 0x18db7
leaq 0x4a6d(%rip), %rdi      # 0x1d824
callq 0x16f42
movq 0x10(%rsp), %rdi
callq 0x3300
testl %ebp, %ebp
jne 0x18b6b
jmp 0x18b68