// File: /workspace/github_c_makefile_star2_O0/BernardTatin[P]s7sh/s7.c
// Function: iterator_to_let
static s7_pointer iterator_to_let(s7_scheme *sc, s7_pointer obj)
                {
                    s7_pointer let, seq;
                    if (!sc->at_end_symbol)
                    {
                        sc->at_end_symbol = make_symbol(sc, "at-end");
                        sc->sequence_symbol = make_symbol(sc, "sequence");
                    }
                    seq = iterator_sequence(obj);
                    let = g_local_inlet(sc, 8, sc->value_symbol, obj,
                            sc->type_symbol, sc->is_iterator_symbol,
                            sc->at_end_symbol, s7_make_boolean(sc, iterator_is_at_end(obj)),
                            sc->sequence_symbol, iterator_sequence(obj));
                    if (is_pair(seq))
                        s7_varlet(sc, let, sc->length_symbol, s7_length(sc, seq));
                    else
                    {
                        if (is_hash_table(seq))
                            s7_varlet(sc, let, sc->length_symbol, s7_make_integer(sc, hash_table_entries(seq)));
                        else s7_varlet(sc, let, sc->length_symbol, s7_length(sc, obj));
                    }
                    if ((is_string(seq)) ||
                            (is_any_vector(seq)) ||
                            (seq == sc->rootlet) ||
                            (is_c_object(seq)) ||
                            (is_hash_table(seq)))
                        s7_varlet(sc, let, make_symbol(sc, "position"), s7_make_integer(sc, iterator_position(obj)));
                    else
                    {
                        if (is_pair(seq))
                            s7_varlet(sc, let, make_symbol(sc, "position"), iterator_current(obj));
                    }
                    return(let);
                }

// Assembly:
pushq %rbx
subq $0xe0, %rsp
movq %rdi, 0xd8(%rsp)
movq %rsi, 0xd0(%rsp)
movq 0xd8(%rsp), %rax
cmpq $0x0, 0x1db8(%rax)
jne 0x1c5816
movq 0xd8(%rsp), %rdi
leaq 0x2df6e(%rip), %rsi     # 0x1f3747
callq 0xb400
movq %rax, %rcx
movq 0xd8(%rsp), %rax
movq %rcx, 0x1db8(%rax)
movq 0xd8(%rsp), %rdi
leaq 0x2d70d(%rip), %rsi     # 0x1f2f0c
callq 0xb400
movq %rax, %rcx
movq 0xd8(%rsp), %rax
movq %rcx, 0x1dc0(%rax)
movq 0xd0(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0xc0(%rsp)
movq 0xd8(%rsp), %rax
movq %rax, 0x98(%rsp)
movq 0xd8(%rsp), %rax
movq 0x18b8(%rax), %rax
movq %rax, 0xa0(%rsp)
movq 0xd0(%rsp), %rax
movq %rax, 0xa8(%rsp)
movq 0xd8(%rsp), %rax
movq 0x18c0(%rax), %rax
movq %rax, 0xb0(%rsp)
movq 0xd8(%rsp), %rax
movq 0x10d8(%rax), %rax
movq %rax, 0xb8(%rsp)
movq 0xd8(%rsp), %rax
movq 0x1db8(%rax), %rbx
movq 0xd8(%rsp), %rdi
movq 0xd0(%rsp), %rcx
movabsq $0x80000000, %rax       # imm = 0x80000000
andq (%rcx), %rax
cmpq $0x0, %rax
sete %al
movzbl %al, %esi
andl $0x1, %esi
callq 0x9c10
movq 0x98(%rsp), %rdi
movq 0xa0(%rsp), %rdx
movq 0xa8(%rsp), %rcx
movq 0xb0(%rsp), %r8
movq 0xb8(%rsp), %r9
movq %rax, %r11
movq 0xd8(%rsp), %rax
movq 0x1dc0(%rax), %r10
movq 0xd0(%rsp), %rax
movq 0x8(%rax), %rax
movl $0x8, %esi
movq %rbx, (%rsp)
movq %r11, 0x8(%rsp)
movq %r10, 0x10(%rsp)
movq %rax, 0x18(%rsp)
movb $0x0, %al
callq 0x1c4750
movq %rax, 0xc8(%rsp)
movq 0xc0(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x1, %eax
jne 0x1c59bb
movq 0xd8(%rsp), %rax
movq %rax, 0x80(%rsp)
movq 0xc8(%rsp), %rax
movq %rax, 0x88(%rsp)
movq 0xd8(%rsp), %rax
movq 0x1218(%rax), %rax
movq %rax, 0x90(%rsp)
movq 0xd8(%rsp), %rdi
movq 0xc0(%rsp), %rsi
callq 0x10f040
movq 0x80(%rsp), %rdi
movq 0x88(%rsp), %rsi
movq 0x90(%rsp), %rdx
movq %rax, %rcx
callq 0xc040
jmp 0x1c5a8b
movq 0xc0(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x1b, %eax
jne 0x1c5a2f
movq 0xd8(%rsp), %rax
movq %rax, 0x68(%rsp)
movq 0xc8(%rsp), %rax
movq %rax, 0x70(%rsp)
movq 0xd8(%rsp), %rax
movq 0x1218(%rax), %rax
movq %rax, 0x78(%rsp)
movq 0xd8(%rsp), %rdi
movq 0xc0(%rsp), %rax
movq 0x28(%rax), %rax
movq 0x18(%rax), %rsi
callq 0x120f0
movq 0x68(%rsp), %rdi
movq 0x70(%rsp), %rsi
movq 0x78(%rsp), %rdx
movq %rax, %rcx
callq 0xc040
jmp 0x1c5a89
movq 0xd8(%rsp), %rax
movq %rax, 0x50(%rsp)
movq 0xc8(%rsp), %rax
movq %rax, 0x58(%rsp)
movq 0xd8(%rsp), %rax
movq 0x1218(%rax), %rax
movq %rax, 0x60(%rsp)
movq 0xd8(%rsp), %rdi
movq 0xd0(%rsp), %rsi
callq 0x10f040
movq 0x50(%rsp), %rdi
movq 0x58(%rsp), %rsi
movq 0x60(%rsp), %rdx
movq %rax, %rcx
callq 0xc040
jmp 0x1c5a8b
movq 0xc0(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x13, %eax
je 0x1c5aee
movq 0xc0(%rsp), %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq 0x54ca1(%rip), %rax     # 0x21a750
testb $0x1, (%rax,%rcx)
jne 0x1c5aee
movq 0xc0(%rsp), %rax
movq 0xd8(%rsp), %rcx
cmpq 0x150(%rcx), %rax
je 0x1c5aee
movq 0xc0(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x14, %eax
je 0x1c5aee
movq 0xc0(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x1b, %eax
jne 0x1c5b53
movq 0xd8(%rsp), %rax
movq %rax, 0x38(%rsp)
movq 0xc8(%rsp), %rax
movq %rax, 0x40(%rsp)
movq 0xd8(%rsp), %rdi
leaq 0x2d457(%rip), %rsi     # 0x1f2f6e
callq 0xb400
movq %rax, 0x48(%rsp)
movq 0xd8(%rsp), %rdi
movq 0xd0(%rsp), %rax
movq 0x18(%rax), %rsi
callq 0x120f0
movq 0x38(%rsp), %rdi
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
movq %rax, %rcx
callq 0xc040
jmp 0x1c5bb1
movq 0xc0(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x1, %eax
jne 0x1c5baf
movq 0xd8(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0xc8(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0xd8(%rsp), %rdi
leaq 0x2d3e2(%rip), %rsi     # 0x1f2f6e
callq 0xb400
movq 0x28(%rsp), %rdi
movq 0x30(%rsp), %rsi
movq %rax, %rdx
movq 0xd0(%rsp), %rax
movq 0x10(%rax), %rcx
callq 0xc040
jmp 0x1c5bb1
movq 0xc8(%rsp), %rax
addq $0xe0, %rsp
popq %rbx
retq
nopw %cs:(%rax,%rax)