// File: /workspace/github_c_makefile_star2_O0/BernardTatin[P]s7sh/s7.c
// Function: slot_list_to_port_with_cycle
static void slot_list_to_port_with_cycle(s7_scheme *sc, s7_pointer obj, s7_pointer slot, s7_pointer port, shared_info *ci, bool bindings)
    {
        if (tis_slot(slot))
        {
            s7_pointer sym, val;
            slot_list_to_port_with_cycle(sc, obj, next_slot(slot), port, ci, bindings);
            sym = slot_symbol(slot);
            val = slot_value(slot);

            if (bindings)
            {
                if (tis_slot(next_slot(slot)))
                    port_write_string(port)(sc, " (", 2, port);
                else port_write_character(port)(sc, '(', port);
            }
            else port_write_character(port)(sc, ' ', port);
            symbol_to_port(sc, sym, port, (bindings) ? P_DISPLAY : P_KEY, ci);
            if (has_structure(val))
            {
                char buf[128];
                int32_t symref, len;
                port_write_string(port)(sc, " #f", 3, port);

                len = catstrs_direct(buf, "  (set! (<", pos_int_to_str_direct(sc, -peek_shared_ref(ci, obj)), "> ", NULL);
                port_write_string(ci->cycle_port)(sc, buf, len, ci->cycle_port);
                symbol_to_port(sc, sym, ci->cycle_port, P_KEY, ci);

                symref = peek_shared_ref(ci, val);
                if (symref != 0)
                {
                    if (symref < 0) symref = -symref;
                    len = catstrs_direct(buf, ") <", pos_int_to_str_direct(sc, symref), ">)\n", NULL);
                    port_write_string(ci->cycle_port)(sc, buf, len, ci->cycle_port);
                }
                else
                {
                    port_write_string(ci->cycle_port)(sc, ") ", 2, ci->cycle_port);
                    object_to_port_with_circle_check(sc, val, ci->cycle_port, P_READABLE, ci);
                    port_write_string(ci->cycle_port)(sc, ")\n", 2, ci->cycle_port);
                }
            }
            else
            {
                port_write_character(port)(sc, ' ', port);
                object_to_port_with_circle_check(sc, val, port, P_READABLE, ci);
            }
            if (bindings) port_write_character(port)(sc, ')', port);
            if (is_immutable(obj))
            {
                char buf[128];
                int32_t len;
                len = catstrs_direct(buf, "  (immutable! <", pos_int_to_str_direct(sc, -peek_shared_ref(ci, obj)), ">)\n", NULL);
                port_write_string(ci->cycle_port)(sc, buf, len, ci->cycle_port);
            }
        }
    }

// Assembly:
subq $0x198, %rsp            # imm = 0x198
movb %r9b, %al
movq %rdi, 0x190(%rsp)
movq %rsi, 0x188(%rsp)
movq %rdx, 0x180(%rsp)
movq %rcx, 0x178(%rsp)
movq %r8, 0x170(%rsp)
andb $0x1, %al
movb %al, 0x16f(%rsp)
cmpq $0x0, 0x180(%rsp)
je 0x1afade
movq 0x190(%rsp), %rdi
movq 0x188(%rsp), %rsi
movq 0x180(%rsp), %rax
movq 0x18(%rax), %rdx
movq 0x178(%rsp), %rcx
movq 0x170(%rsp), %r8
movb 0x16f(%rsp), %al
andb $0x1, %al
movzbl %al, %r9d
callq 0x1af400
movq 0x180(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x160(%rsp)
movq 0x180(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x158(%rsp)
testb $0x1, 0x16f(%rsp)
je 0x1af52a
movq 0x180(%rsp), %rax
cmpq $0x0, 0x18(%rax)
je 0x1af4fd
movq 0x178(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x190(%rsp), %rdi
movq 0x178(%rsp), %rcx
leaq 0x43074(%rip), %rsi     # 0x1f2568
movl $0x2, %edx
callq *%rax
jmp 0x1af528
movq 0x178(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x8(%rax), %rax
movq 0x190(%rsp), %rdi
movq 0x178(%rsp), %rdx
movl $0x28, %esi
callq *%rax
jmp 0x1af555
movq 0x178(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x8(%rax), %rax
movq 0x190(%rsp), %rdi
movq 0x178(%rsp), %rdx
movl $0x20, %esi
callq *%rax
movq 0x190(%rsp), %rdi
movq 0x160(%rsp), %rsi
movq 0x178(%rsp), %rdx
movb 0x16f(%rsp), %r8b
movl $0x3, %ecx
xorl %eax, %eax
testb $0x1, %r8b
cmovnel %eax, %ecx
movq 0x170(%rsp), %r8
callq 0x1a9970
movq 0x158(%rsp), %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq 0x728ec(%rip), %rax     # 0x221e90
testb $0x1, (%rax,%rcx)
je 0x1af8fc
movq 0x158(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x15, %eax
jne 0x1af5d8
movq 0x158(%rsp), %rax
movzwl 0x6(%rax), %eax
andl $0x100, %eax            # imm = 0x100
cmpl $0x0, %eax
jne 0x1af8fc
movq 0x178(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x190(%rsp), %rdi
movq 0x178(%rsp), %rcx
leaq 0x3418c(%rip), %rsi     # 0x1e378f
movl $0x3, %edx
callq *%rax
leaq 0xd0(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x190(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x170(%rsp), %rdi
movq 0x188(%rsp), %rsi
callq 0xd2740
movq 0x18(%rsp), %rdi
movl %eax, %ecx
xorl %eax, %eax
subl %ecx, %eax
movslq %eax, %rsi
callq 0xae30
movq 0x20(%rsp), %rdi
movq %rax, %rdx
leaq 0x42e6f(%rip), %rsi     # 0x1f24ca
leaq 0x3ef9d(%rip), %rcx     # 0x1ee5ff
xorl %eax, %eax
movl %eax, %r8d
movb $0x0, %al
callq 0x10540
movl %eax, 0xc8(%rsp)
movq 0x170(%rsp), %rax
movq 0x28(%rax), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x190(%rsp), %rdi
leaq 0xd0(%rsp), %rsi
movslq 0xc8(%rsp), %rdx
movq 0x170(%rsp), %rcx
movq 0x28(%rcx), %rcx
callq *%rax
movq 0x190(%rsp), %rdi
movq 0x160(%rsp), %rsi
movq 0x170(%rsp), %rax
movq 0x28(%rax), %rdx
movq 0x170(%rsp), %r8
movl $0x3, %ecx
callq 0x1a9970
movq 0x170(%rsp), %rdi
movq 0x158(%rsp), %rsi
callq 0xd2740
movl %eax, 0xcc(%rsp)
cmpl $0x0, 0xcc(%rsp)
je 0x1af7b3
cmpl $0x0, 0xcc(%rsp)
jge 0x1af725
xorl %eax, %eax
subl 0xcc(%rsp), %eax
movl %eax, 0xcc(%rsp)
leaq 0xd0(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x190(%rsp), %rdi
movslq 0xcc(%rsp), %rsi
callq 0xae30
movq 0x10(%rsp), %rdi
movq %rax, %rdx
leaq 0x42d7f(%rip), %rsi     # 0x1f24d5
leaq 0x42d81(%rip), %rcx     # 0x1f24de
xorl %eax, %eax
movl %eax, %r8d
movb $0x0, %al
callq 0x10540
movl %eax, 0xc8(%rsp)
movq 0x170(%rsp), %rax
movq 0x28(%rax), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x190(%rsp), %rdi
leaq 0xd0(%rsp), %rsi
movslq 0xc8(%rsp), %rdx
movq 0x170(%rsp), %rcx
movq 0x28(%rcx), %rcx
callq *%rax
jmp 0x1af8f7
movq 0x170(%rsp), %rax
movq 0x28(%rax), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x190(%rsp), %rdi
movq 0x170(%rsp), %rcx
movq 0x28(%rcx), %rcx
leaq 0x42ef5(%rip), %rsi     # 0x1f26db
movl $0x2, %edx
callq *%rax
movq 0x158(%rsp), %rax
movq %rax, 0xc0(%rsp)
cmpq $0x0, 0x170(%rsp)
je 0x1af878
movq 0xc0(%rsp), %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq 0x72674(%rip), %rax     # 0x221e90
testb $0x1, (%rax,%rcx)
je 0x1af878
movq 0xc0(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x15, %eax
jne 0x1af848
movq 0xc0(%rsp), %rax
movzwl 0x6(%rax), %eax
andl $0x100, %eax            # imm = 0x100
cmpl $0x0, %eax
jne 0x1af878
movq 0x190(%rsp), %rdi
movq 0xc0(%rsp), %rsi
movq 0x170(%rsp), %rax
movq 0x28(%rax), %rdx
movq 0x170(%rsp), %r8
movl $0x2, %ecx
callq 0xd0220
jmp 0x1af8bb
movq 0xc0(%rsp), %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq 0x72644(%rip), %rax     # 0x221ed0
movq (%rax,%rcx,8), %rax
movq 0x190(%rsp), %rdi
movq 0xc0(%rsp), %rsi
movq 0x170(%rsp), %rcx
movq 0x28(%rcx), %rdx
movq 0x170(%rsp), %r8
movl $0x2, %ecx
callq *%rax
jmp 0x1af8bd
movq 0x170(%rsp), %rax
movq 0x28(%rax), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x190(%rsp), %rdi
movq 0x170(%rsp), %rcx
movq 0x28(%rcx), %rcx
leaq 0x42c0f(%rip), %rsi     # 0x1f24ff
movl $0x2, %edx
callq *%rax
jmp 0x1af9f1
movq 0x178(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x8(%rax), %rax
movq 0x190(%rsp), %rdi
movq 0x178(%rsp), %rdx
movl $0x20, %esi
callq *%rax
movq 0x158(%rsp), %rax
movq %rax, 0xb8(%rsp)
cmpq $0x0, 0x170(%rsp)
je 0x1af9ae
movq 0xb8(%rsp), %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq 0x7253a(%rip), %rax     # 0x221e90
testb $0x1, (%rax,%rcx)
je 0x1af9ae
movq 0xb8(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x15, %eax
jne 0x1af982
movq 0xb8(%rsp), %rax
movzwl 0x6(%rax), %eax
andl $0x100, %eax            # imm = 0x100
cmpl $0x0, %eax
jne 0x1af9ae
movq 0x190(%rsp), %rdi
movq 0xb8(%rsp), %rsi
movq 0x178(%rsp), %rdx
movq 0x170(%rsp), %r8
movl $0x2, %ecx
callq 0xd0220
jmp 0x1af9ed
movq 0xb8(%rsp), %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq 0x7250e(%rip), %rax     # 0x221ed0
movq (%rax,%rcx,8), %rax
movq 0x190(%rsp), %rdi
movq 0xb8(%rsp), %rsi
movq 0x178(%rsp), %rdx
movq 0x170(%rsp), %r8
movl $0x2, %ecx
callq *%rax
jmp 0x1af9ef
jmp 0x1af9f1
testb $0x1, 0x16f(%rsp)
je 0x1afa26
movq 0x178(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x8(%rax), %rax
movq 0x190(%rsp), %rdi
movq 0x178(%rsp), %rdx
movl $0x29, %esi
callq *%rax
movq 0x188(%rsp), %rax
movq (%rax), %rax
andq $0x1000000, %rax        # imm = 0x1000000
cmpq $0x0, %rax
je 0x1afadc
leaq 0x30(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x190(%rsp), %rax
movq %rax, (%rsp)
movq 0x170(%rsp), %rdi
movq 0x188(%rsp), %rsi
callq 0xd2740
movq (%rsp), %rdi
movl %eax, %ecx
xorl %eax, %eax
subl %ecx, %eax
movslq %eax, %rsi
callq 0xae30
movq 0x8(%rsp), %rdi
movq %rax, %rdx
leaq 0x42cf6(%rip), %rsi     # 0x1f2783
leaq 0x42a4a(%rip), %rcx     # 0x1f24de
xorl %eax, %eax
movl %eax, %r8d
movb $0x0, %al
callq 0x10540
movl %eax, 0x2c(%rsp)
movq 0x170(%rsp), %rax
movq 0x28(%rax), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x190(%rsp), %rdi
leaq 0x30(%rsp), %rsi
movslq 0x2c(%rsp), %rdx
movq 0x170(%rsp), %rcx
movq 0x28(%rcx), %rcx
callq *%rax
jmp 0x1afade
addq $0x198, %rsp            # imm = 0x198
retq
nopw %cs:(%rax,%rax)