// File: /workspace/github_cpp_makefile_star2_O1/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 $0x2748, %rsp           # imm = 0x2748
movq %rdi, %rsi
leaq 0x438(%rsp), %rbx
movq %rbx, %rdi
callq 0x1918d
movq %rax, 0x20(%rsp)
movb $0x0, 0x30(%rsp)
leaq 0xc(%rsp), %rsi
xorl %r13d, %r13d
movq %rbx, %rdi
xorl %edx, %edx
callq 0x191cc
testl %eax, %eax
je 0x19168
movl $0x0, 0x8(%rsp)
leaq 0x30(%rsp), %rbp
leaq 0x558(%rsp), %r14
movabsq $0x64656e69666564, %r15 # imm = 0x64656E69666564
leaq 0xc(%rsp), %r12
movl 0xc(%rsp), %eax
cmpl $0x1, %eax
je 0x18dec
cmpl $0x9, %eax
je 0x18dbe
cmpl $0xe, %eax
je 0x18f35
movq %rbp, %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x18cf4
movq %rax, %rbp
jmp 0x18f13
movl 0x18(%rsp), %eax
cmpl $0x5c, %eax
je 0x18ef0
cmpl $0xa, %eax
jne 0x18efa
cmpl $0x0, 0x8(%rsp)
movl $0x0, 0x8(%rsp)
jne 0x18f13
jmp 0x18f35
cmpq %r15, 0x558(%rsp)
jne 0x18ed8
leaq 0x438(%rsp), %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0x191cc
movl %eax, %r13d
testl %eax, %eax
je 0x19153
cmpl $0x9, 0xc(%rsp)
jne 0x19153
cmpl $0x28, 0x18(%rsp)
jne 0x19153
leaq 0x438(%rsp), %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0x191cc
movl %eax, %r13d
testl %eax, %eax
je 0x1915c
cmpl $0x1, 0xc(%rsp)
jne 0x1915c
movq %r14, %r15
movq %r14, %rdi
callq 0x17167
movl %eax, %ebx
movq %rbp, %rdi
callq 0x31a0
cmpl $0x1, %ebx
movw $0x31, %cx
sbbw $0x0, %cx
movw %cx, (%rbp,%rax)
leaq 0x438(%rsp), %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0x191cc
movl %eax, %ebx
testl %eax, %eax
setne %al
movl 0xc(%rsp), %ecx
movl 0x18(%rsp), %edx
xorl $0x9, %ecx
xorl $0x29, %edx
orl %ecx, %edx
sete %r14b
andb %al, %r14b
jne 0x18ebc
leaq 0x4981(%rip), %rdi      # 0x1d834
callq 0x1717e
movl %ebx, 0x1c(%rsp)
movl 0x1c(%rsp), %r13d
testb %r14b, %r14b
movq %r15, %r14
movabsq $0x64656e69666564, %r15 # imm = 0x64656E69666564
jne 0x18ee3
jmp 0x19168
movq %r14, %rdi
movq %rbp, %rsi
callq 0x17128
movq %rbp, %rdi
callq 0x31a0
addq %rax, %rbp
jmp 0x18f13
movl $0x1, 0x8(%rsp)
jmp 0x18f13
movq %rbp, %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x18cf4
movq %rax, %rbp
movl $0x0, 0x8(%rsp)
xorl %r13d, %r13d
leaq 0x438(%rsp), %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0x191cc
testl %eax, %eax
jne 0x18d91
jmp 0x19168
cmpb $0x0, 0x30(%rsp)
je 0x19142
leaq 0x15c0(%rsp), %r15
leaq 0x30(%rsp), %rsi
movq %r15, %rdi
callq 0x1918d
movq %rax, %r14
leaq 0x3ae7(%rip), %rdx      # 0x1ca46
movq %r15, %rdi
movl $0x3e8, %esi            # imm = 0x3E8
callq 0x17c75
leaq 0x3ad6(%rip), %rdx      # 0x1ca49
movq %r15, %rdi
movl $0x3e9, %esi            # imm = 0x3E9
callq 0x17c75
leaq 0x3aa4(%rip), %rdx      # 0x1ca2b
movq %r15, %rdi
movl $0x3ea, %esi            # imm = 0x3EA
callq 0x17c75
leaq 0x3a94(%rip), %rdx      # 0x1ca2f
movq %r15, %rdi
movl $0x3eb, %esi            # imm = 0x3EB
callq 0x17c75
leaq 0x3a8b(%rip), %rdx      # 0x1ca3a
movq %r15, %rdi
movl $0x3ec, %esi            # imm = 0x3EC
callq 0x17c75
leaq 0x3a7a(%rip), %rdx      # 0x1ca3d
movq %r15, %rdi
movl $0x3ed, %esi            # imm = 0x3ED
callq 0x17c75
leaq 0x3a69(%rip), %rdx      # 0x1ca40
movq %r15, %rdi
movl $0x3ee, %esi            # imm = 0x3EE
callq 0x17c75
leaq 0x3a58(%rip), %rdx      # 0x1ca43
movq %r15, %rdi
movl $0x3ef, %esi            # imm = 0x3EF
callq 0x17c75
leaq 0x3a3c(%rip), %rdx      # 0x1ca3b
movq %r15, %rdi
movl $0x3f0, %esi            # imm = 0x3F0
callq 0x17c75
leaq 0x3a2b(%rip), %rdx      # 0x1ca3e
movq %r15, %rdi
movl $0x3f1, %esi            # imm = 0x3F1
callq 0x17c75
leaq 0x3a20(%rip), %rdx      # 0x1ca47
movq %r15, %rdi
movl $0x3f2, %esi            # imm = 0x3F2
callq 0x17c75
leaq 0x3a0f(%rip), %rdx      # 0x1ca4a
movq %r15, %rdi
movl $0x3f3, %esi            # imm = 0x3F3
callq 0x17c75
leaq 0x3b40(%rip), %rdx      # 0x1cb8f
movq %r15, %rdi
movl $0x3f4, %esi            # imm = 0x3F4
callq 0x17c75
leaq 0x484f(%rip), %rdx      # 0x1d8b2
movq %r15, %rdi
movl $0x3f5, %esi            # imm = 0x3F5
callq 0x17c75
leaq 0x39bc(%rip), %rdx      # 0x1ca33
movq %r15, %rdi
movl $0x3f6, %esi            # imm = 0x3F6
callq 0x17c75
leaq 0x39ab(%rip), %rdx      # 0x1ca36
movq %r15, %rdi
movl $0x3f7, %esi            # imm = 0x3F7
callq 0x17c75
leaq 0x41f9(%rip), %rdx      # 0x1d298
movq %r15, %rdi
movl $0x3f8, %esi            # imm = 0x3F8
callq 0x17c75
leaq 0x41df(%rip), %rdx      # 0x1d292
movq %r15, %rdi
movl $0x3f9, %esi            # imm = 0x3F9
callq 0x17c75
leaq 0x3971(%rip), %rdx      # 0x1ca38
movq %r15, %rdi
movl $0x3fa, %esi            # imm = 0x3FA
callq 0x17c75
leaq 0x4757(%rip), %rdx      # 0x1d832
movq %r15, %rdi
movl $0x3fb, %esi            # imm = 0x3FB
callq 0x17c75
leaq 0x22d5(%rip), %rdx      # 0x1b3c4
movq %r15, %rdi
movl $0x3fc, %esi            # imm = 0x3FC
callq 0x17c75
leaq 0x4789(%rip), %rdx      # 0x1d88c
movq %r15, %rdi
movl $0x3fd, %esi            # imm = 0x3FD
callq 0x17c75
leaq 0x2c(%rsp), %r12
movl $0x0, (%r12)
movq %r15, %rdi
xorl %esi, %esi
movq %r12, %rdx
callq 0x1921f
movl %eax, %ebx
xorl %r13d, %r13d
cmpl $0x0, (%r12)
sete %r13b
movq %r14, %rdi
callq 0x3300
jmp 0x19168
leaq 0x4707(%rip), %rdi      # 0x1d850
callq 0x1717e
xorl %r13d, %r13d
jmp 0x19168
leaq 0x469e(%rip), %rdi      # 0x1d7f8
jmp 0x19163
leaq 0x46ae(%rip), %rdi      # 0x1d811
callq 0x1717e
movq 0x20(%rsp), %rdi
callq 0x3300
testl %r13d, %r13d
cmovel %r13d, %ebx
movl %ebx, %eax
addq $0x2748, %rsp           # imm = 0x2748
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq