// File: /workspace/github_c_makefile_star2_O1/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 0x42fd
testl %eax, %eax
js 0x7299
je 0x6fd8
movq 0x30(%rsp), %rcx
movq 0x8(%rcx), %rcx
testq %rcx, %rcx
je 0x6fda
leaq 0x28(%rsp), %rdi
movq %r14, %rsi
callq *%rcx
jmp 0x6fda
xorl %eax, %eax
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
testl %eax, %eax
jle 0x71bb
cmpl $0x5, 0x40(%rsp)
jne 0x7043
addq $0x18, %rbx
leaq 0x28(%rsp), %r15
leaq 0x50(%rsp), %r12
xorps %xmm0, %xmm0
movaps %xmm0, 0x50(%rsp)
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x6710
testl %eax, %eax
jle 0x702c
xorl %ecx, %ecx
cmpl $0x2, %eax
jne 0x7031
movaps 0x50(%rsp), %xmm0
movups %xmm0, (%rbx)
movl $0x3, %ecx
jmp 0x7031
movl $0x1, %ecx
testl %ecx, %ecx
je 0x6ffc
cmpl $0x3, %ecx
je 0x71b6
jmp 0x71bb
leaq 0x50(%rsp), %rdi
movq %r14, %rsi
callq 0x729e
testl %eax, %eax
jle 0x71bb
movl 0x40(%rsp), %eax
cmpl $0x1, %eax
je 0x71cc
cmpl $0x4, %eax
je 0x7109
cmpl $0x3, %eax
jne 0x7257
movq 0x48(%rsp), %r13
addq $0x18, %rbx
leaq 0x50(%rsp), %r15
movq 0x8(%r13), %r13
cmpq 0x48(%rsp), %r13
je 0x71af
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
leaq 0x10(%r13), %rdi
callq 0x4a68
movq %r15, %rdi
callq 0x67f1
movl %eax, %ecx
movl $0x1, %r12d
movl $0x1, %eax
testb %cl, %cl
jne 0x70cb
movq %r15, %rdi
movq %r14, %rsi
movq %rsp, %rdx
callq 0x6710
testl %eax, %eax
js 0x70e3
cmpl $0x2, %eax
jne 0x70e7
movaps (%rsp), %xmm0
movups %xmm0, (%rbx)
movl $0x2, %r12d
jmp 0x70f5
movl %eax, %ebp
jmp 0x70f5
xorl %r12d, %r12d
cmpq %r13, 0x8(%r13)
sete %r12b
addl %r12d, %r12d
testl %r12d, %r12d
je 0x7085
cmpl $0x2, %r12d
je 0x71af
jmp 0x71bb
movq 0x48(%rsp), %rdi
callq 0x771c
testq %rax, %rax
je 0x71af
movq %rax, %r15
addq $0x18, %rbx
leaq 0x50(%rsp), %r13
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movups 0x24ca(%rip), %xmm0     # 0x9600
movaps %xmm0, 0x10(%rsp)
movq -0x8(%r15), %rax
movq %rax, 0x18(%rsp)
leaq 0x10(%rsp), %rdi
callq 0x4a68
movq %r13, %rdi
callq 0x67f1
movl %eax, %ecx
movl $0x1, %r12d
movl $0x1, %eax
testb %cl, %cl
jne 0x7175
movq %r13, %rdi
movq %r14, %rsi
movq %rsp, %rdx
callq 0x6710
testl %eax, %eax
js 0x7190
xorl %r12d, %r12d
cmpl $0x2, %eax
jne 0x7192
movaps (%rsp), %xmm0
movups %xmm0, (%rbx)
movl $0x2, %r12d
jmp 0x7192
movl %eax, %ebp
testl %r12d, %r12d
jne 0x70fa
movq %r15, %rdi
callq 0x774c
movq %rax, %r15
testq %rax, %rax
jne 0x7128
xorl %edi, %edi
callq 0x4a68
movl $0x1, %ebp
movl %ebp, %eax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movups 0x243d(%rip), %xmm0     # 0x9610
movaps %xmm0, (%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movq 0x48(%rsp), %rax
testq %rax, %rax
jle 0x726d
movslq %eax, %r13
movl $0x1, %r15d
xorl %eax, %eax
movq %rax, 0x8(%rsp)
movl $0x1, %ebp
cmpq %r13, %rax
je 0x71bb
leaq 0x50(%rsp), %r12
movq %rsp, %rdi
callq 0x4a68
movq %r12, %rdi
callq 0x67f1
movl $0x1, %ebp
testb %al, %al
jne 0x7237
movq %r12, %rdi
movq %r14, %rsi
leaq 0x10(%rsp), %rdx
callq 0x6710
movl %eax, %ebp
testl %ebp, %ebp
js 0x71bb
cmpl $0x2, %ebp
je 0x728b
movq 0x8(%rsp), %rax
addq %r15, %rax
movq %rax, 0x8(%rsp)
cmpq %r13, %rax
jne 0x720c
jmp 0x71b6
leaq 0x244a(%rip), %rsi      # 0x96a8
movq %rbx, %rdi
xorl %eax, %eax
callq 0x3240
jmp 0x71bb
movl $0x1, %ebp
jns 0x71bb
negl %eax
cltq
movq $-0x1, %r15
xorl %r13d, %r13d
jmp 0x71f8
movaps 0x10(%rsp), %xmm0
movups %xmm0, 0x18(%rbx)
jmp 0x71b6
callq 0x3946