// File: /workspace/github_c_makefile_star2_O3/xemul[P]cylang/cond.c
// Function: eval_cond
static int eval_cond(struct cy_token *t, struct cy_file *f)
{
	struct cy_token tn;

	if (cy_eval_next(f, &tn) <= 0)
		return -1;

	if (tn.v.t == CY_V_BOOL)
		return eval_if(t, &tn, f);
	if (tn.v.t == CY_V_CBLOCK)
		return eval_select(t, &tn, f);

	show_token_err(t, "Bad argument for condition");
	return -1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x70(%rsp), %rsi
movq %rbx, %rdi
callq 0x42c4
testl %eax, %eax
js 0x6cf5
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
je 0x6ce1
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rax
testq %rax, %rax
je 0x6aae
leaq 0x70(%rsp), %rdi
movq %rbx, %rsi
callq *%rax
testl %eax, %eax
jle 0x6ce1
movl 0x88(%rsp), %eax
cmpl $0x5, %eax
je 0x6b18
cmpl $0x6, %eax
jne 0x6c02
leaq 0x40(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x6fc4
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
testl %eax, %eax
jle 0x6ce1
leaq 0x10(%rsp), %r12
movq %r12, %rdi
movq %rbx, %rsi
callq 0x6fc4
testl %eax, %eax
jle 0x6ce1
cmpb $0x1, 0x90(%rsp)
jne 0x6c45
movq %r15, %rdi
callq 0x652e
movl $0x1, %ebp
jmp 0x6c55
movq 0x90(%rsp), %rsi
movq 0x28(%rbx), %rax
movq %rax, (%rsp)
movq 0x30(%rbx), %rax
movq %rax, 0x8(%rsp)
movq %rbx, %rdi
callq 0x42ae
xorl %eax, %eax
leaq 0x40(%rsp), %rsi
movq %rax, 0x20(%rsi)
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsi)
movaps %xmm0, (%rsi)
movq %rax, 0x30(%rsp)
movaps %xmm0, 0x20(%rsp)
movaps %xmm0, 0x10(%rsp)
movq %rbx, %rdi
callq 0x42c4
testl %eax, %eax
js 0x6bfd
addq $0x18, %r14
leaq 0x10(%rsp), %r15
xorl %r13d, %r13d
leaq 0x40(%rsp), %r12
testl %eax, %eax
je 0x6c2a
movq 0x48(%rsp), %rcx
movq 0x8(%rcx), %rcx
testq %rcx, %rcx
je 0x6b9c
movq %r12, %rdi
movq %rbx, %rsi
callq *%rcx
cmpl $0x1, %eax
jne 0x6bad
cmpl $0x6, 0x58(%rsp)
je 0x6bb3
jmp 0x6c71
jl 0x6cc6
movq %r15, %rdi
movq %rbx, %rsi
callq 0x6fc4
testl %eax, %eax
jle 0x6cc6
cmpb $0x1, 0x60(%rsp)
je 0x6c18
movq %r13, 0x60(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
movq %r13, 0x30(%rsp)
movaps %xmm0, 0x20(%rsp)
movaps %xmm0, 0x10(%rsp)
movq %rbx, %rdi
movq %r12, %rsi
callq 0x42c4
testl %eax, %eax
jns 0x6b7e
callq 0x38c9
leaq 0x1a51(%rip), %rsi      # 0x865a
movq %r14, %rdi
xorl %eax, %eax
callq 0x3240
jmp 0x6ce1
leaq 0x10(%rsp), %rdi
callq 0x652e
testb %al, %al
je 0x6cb6
movq (%rsp), %rax
movq %rax, 0x28(%rbx)
movq 0x8(%rsp), %rax
movq %rax, 0x30(%rbx)
movl $0x1, %ebp
jmp 0x6ce1
movq %r12, %rdi
callq 0x652e
movl $0x1, %ebp
movq %r12, %r15
testb %al, %al
jne 0x6ce1
addq $0x18, %r14
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x6450
jmp 0x6cd7
movl $0x6, %edi
callq 0x3bbc
movq %rax, %r14
leaq 0x40(%rsp), %r15
movl 0x18(%r15), %edi
callq 0x3bbc
leaq 0x14bc(%rip), %rsi      # 0x814f
movq %r15, %rdi
movq %r14, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x3240
movq (%rsp), %rax
movq %rax, 0x28(%rbx)
movq 0x8(%rsp), %rax
movq %rax, 0x30(%rbx)
jmp 0x6ce1
leaq 0x10(%rsp), %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x6450
movq (%rsp), %rcx
movq %rcx, 0x28(%rbx)
movq 0x8(%rsp), %rcx
movq %rcx, 0x30(%rbx)
testl %eax, %eax
movl $0x1, %ebp
cmovsl %eax, %ebp
movl %ebp, %eax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x38ee