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

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

	if (lt.v.t == CY_V_CBLOCK)
		return eval_cblock_loop(t, &lt, f);

	if (get_branch(&bt, f) <= 0)
		return -1;

	switch (lt.v.t) {
	case CY_V_LIST:
		return eval_list_loop(t, &lt, &bt, f);
	case CY_V_MAP:
		return eval_map_loop(t, &lt, &bt, f);
	case CY_V_NUMBER:
		return eval_nuber_loop(t, &lt, &bt, f);
	}

	show_token_err(t, "Bad loop object");
	return -1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x28(%rsp), %rsi
movq %r14, %rdi
callq 0x42c4
testl %eax, %eax
js 0x6fbf
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
je 0x6f9f
movq 0x30(%rsp), %rax
movq 0x8(%rax), %rax
testq %rax, %rax
je 0x6d4e
leaq 0x28(%rsp), %rdi
movq %r14, %rsi
callq *%rax
testl %eax, %eax
jle 0x6f9f
cmpl $0x5, 0x40(%rsp)
jne 0x6da7
xorps %xmm0, %xmm0
leaq 0x50(%rsp), %rdx
movaps %xmm0, (%rdx)
leaq 0x28(%rsp), %rdi
movq %r14, %rsi
callq 0x6450
testl %eax, %eax
jle 0x6f9f
leaq 0x28(%rsp), %r15
leaq 0x50(%rsp), %r12
cmpl $0x2, %eax
je 0x6e4c
xorps %xmm0, %xmm0
movaps %xmm0, 0x50(%rsp)
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x6450
testl %eax, %eax
jg 0x6d7f
jmp 0x6f9f
leaq 0x50(%rsp), %rdi
movq %r14, %rsi
callq 0x6fc4
testl %eax, %eax
jle 0x6f9f
movl 0x40(%rsp), %eax
cmpl $0x1, %eax
je 0x6ee0
cmpl $0x4, %eax
je 0x6e5a
cmpl $0x3, %eax
jne 0x6f5e
movq 0x48(%rsp), %rax
movq 0x8(%rax), %r13
cmpq %rax, %r13
je 0x6f93
leaq 0x50(%rsp), %r15
movq %rsp, %r12
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
leaq 0x10(%r13), %rdi
callq 0x49a4
movq %r15, %rdi
callq 0x652e
testb %al, %al
jne 0x6e32
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x6450
movl %eax, %ebp
testl %eax, %eax
js 0x6f9f
cmpl $0x2, %ebp
je 0x6f8b
cmpq %r13, 0x8(%r13)
je 0x6f93
movq 0x8(%r13), %r13
cmpq 0x48(%rsp), %r13
jne 0x6df5
jmp 0x6f93
movaps 0x50(%rsp), %xmm0
movups %xmm0, 0x18(%rbx)
jmp 0x6f9a
movq 0x48(%rsp), %rdi
callq 0x7453
testq %rax, %rax
je 0x6f93
movq %rax, %r15
leaq 0x10(%rsp), %r12
leaq 0x50(%rsp), %r13
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movups 0x1778(%rip), %xmm0     # 0x8600
movaps %xmm0, 0x10(%rsp)
movq -0x8(%r15), %rax
movq %rax, 0x18(%rsp)
movq %r12, %rdi
callq 0x49a4
movq %r13, %rdi
callq 0x652e
testb %al, %al
jne 0x6ecb
movq %r13, %rdi
movq %r14, %rsi
movq %rsp, %rdx
callq 0x6450
movl %eax, %ebp
testl %eax, %eax
js 0x6f9f
cmpl $0x2, %ebp
je 0x6f8b
movq %r15, %rdi
callq 0x7483
movq %rax, %r15
testq %rax, %rax
jne 0x6e7a
jmp 0x6f93
movq 0x48(%rsp), %rax
movq $0x1, (%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
testq %rax, %rax
jle 0x6f71
movslq %eax, %r13
movl $0x1, %r15d
xorl %eax, %eax
movq %rax, 0x8(%rsp)
movl $0x1, %ebp
cmpq %r13, %rax
je 0x6f9f
leaq 0x50(%rsp), %r12
movq %rsp, %rdi
callq 0x49a4
movq %r12, %rdi
callq 0x652e
testb %al, %al
jne 0x6f4a
movq %r12, %rdi
movq %r14, %rsi
leaq 0x10(%rsp), %rdx
callq 0x6450
testl %eax, %eax
js 0x6fb0
cmpl $0x2, %eax
je 0x6fb4
movq 0x8(%rsp), %rax
addq %r15, %rax
movq %rax, 0x8(%rsp)
cmpq %r13, %rax
jne 0x6f1d
jmp 0x6f9f
leaq 0x1733(%rip), %rsi      # 0x8698
movq %rbx, %rdi
xorl %eax, %eax
callq 0x3240
jmp 0x6f9f
movl $0x1, %ebp
jns 0x6f9f
negl %eax
cltq
movq $-0x1, %r15
xorl %r13d, %r13d
jmp 0x6f05
movaps (%rsp), %xmm0
movups %xmm0, 0x18(%rbx)
xorl %edi, %edi
callq 0x49a4
movl $0x1, %ebp
movl %ebp, %eax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl %eax, %ebp
jmp 0x6f9f
movaps 0x10(%rsp), %xmm0
movups %xmm0, 0x18(%rbx)
jmp 0x6f9f
callq 0x3913