// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: simple_list_readable_display
static void simple_list_readable_display(s7_scheme *sc, s7_pointer lst, s7_int true_len, s7_int len, s7_pointer port, shared_info *ci)
    {
        /* the easier cases: no circles or shared refs to patch up */
        s7_pointer x;

        if (is_immutable(lst))
            port_write_string(port)(sc, "immutable! (", 12, port);

        if (true_len > 0)
        {
            port_write_string(port)(sc, "list", 4, port);
            for (x = lst; is_pair(x); x = cdr(x))
            {
                port_write_character(port)(sc, ' ', port);
                object_to_port_with_circle_check(sc, car(x), port, P_READABLE, ci);
            }
            port_write_character(port)(sc, ')', port);
        }
        else
        {
            s7_int i;
            port_write_string(port)(sc, "cons ", 5, port);
            object_to_port_with_circle_check(sc, car(lst), port, P_READABLE, ci);
            for (x = cdr(lst); is_pair(x); x = cdr(x))
            {
                port_write_string(port)(sc, " (cons ", 7, port);
                object_to_port_with_circle_check(sc, car(x), port, P_READABLE, ci);
            }
            port_write_character(port)(sc, ' ', port);
            object_to_port_with_circle_check(sc, x, port, P_READABLE, ci);
            for (i = 1; i < len; i++)
                port_write_character(port)(sc, ')', port);
        }
        if (is_immutable(lst))
            port_write_character(port)(sc, ')', port);
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, %r12
movq %r8, %rbx
movq %rcx, 0x10(%rsp)
movq %rdx, %r15
movq %rsi, %r13
movq %rdi, %r14
testb $0x1, 0x3(%rsi)
je 0xc2585
movq 0x8(%rbx), %rax
movq 0x48(%rax), %rax
leaq 0x2405f(%rip), %rsi     # 0xe65d8
pushq $0xc
popq %rdx
movq %r14, %rdi
movq %rbx, %rcx
callq *0x10(%rax)
movq 0x8(%rbx), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
testq %r15, %r15
movq %r13, 0x8(%rsp)
jle 0xc2677
leaq 0x166b4(%rip), %rsi     # 0xd8c5a
pushq $0x4
popq %rdx
movq %r14, %rdi
movq %rbx, %rcx
callq *%rax
pushq $0x20
popq %rbp
pushq $0x2
popq %r15
cmpb $0x1, (%r13)
movq 0x8(%rbx), %rax
movq 0x48(%rax), %rax
movq 0x8(%rax), %rax
jne 0xc262c
movq %r14, %rdi
movl %ebp, %esi
movq %rbx, %rdx
callq *%rax
movq 0x8(%r13), %rsi
movzbl (%rsi), %eax
testq %r12, %r12
je 0xc260f
leaq 0x5ed58(%rip), %rcx     # 0x121340
cmpb $0x1, (%rax,%rcx)
jne 0xc260f
cmpl $0x15, %eax
jne 0xc25fc
testb $0x1, 0x7(%rsi)
pushq $0x15
popq %rax
jne 0xc260f
movq %r14, %rdi
movq %rbx, %rdx
movl %r15d, %ecx
movq %r12, %r8
callq 0x77872
jmp 0xc2626
movq %r14, %rdi
movq %rbx, %rdx
movl %r15d, %ecx
movq %r12, %r8
leaq 0x5ed5e(%rip), %r9      # 0x121380
callq *(%r9,%rax,8)
movq 0x10(%r13), %r13
jmp 0xc25b8
pushq $0x29
popq %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq *%rax
movq 0x8(%rsp), %r13
testb $0x1, 0x3(%r13)
jne 0xc2652
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x8(%rbx), %rax
movq 0x48(%rax), %rax
movq 0x8(%rax), %rax
pushq $0x29
popq %rsi
movq %r14, %rdi
movq %rbx, %rdx
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%rax
leaq 0x23f69(%rip), %rsi     # 0xe65e7
pushq $0x5
popq %rdx
movq %r14, %rdi
movq %rbx, %rcx
callq *%rax
movq 0x8(%r13), %rsi
movzbl (%rsi), %eax
testq %r12, %r12
je 0xc26c3
leaq 0x5eca4(%rip), %rcx     # 0x121340
cmpb $0x1, (%rax,%rcx)
jne 0xc26c3
cmpl $0x15, %eax
jne 0xc26ad
testb $0x1, 0x7(%rsi)
jne 0xc26c0
pushq $0x2
popq %rcx
movq %r14, %rdi
movq %rbx, %rdx
movq %r12, %r8
callq 0x77872
jmp 0xc26da
pushq $0x15
popq %rax
leaq 0x5ecb6(%rip), %r9      # 0x121380
pushq $0x2
popq %rcx
movq %r14, %rdi
movq %rbx, %rdx
movq %r12, %r8
callq *(%r9,%rax,8)
pushq $0x7
popq %r13
pushq $0x2
popq %r15
movq 0x8(%rsp), %rbp
movq 0x10(%rbp), %rbp
cmpb $0x1, (%rbp)
movq 0x8(%rbx), %rax
movq 0x48(%rax), %rax
jne 0xc275f
movq %r14, %rdi
leaq 0x23ee2(%rip), %rsi     # 0xe65e5
movq %r13, %rdx
movq %rbx, %rcx
callq *0x10(%rax)
movq 0x8(%rbp), %rsi
movzbl (%rsi), %eax
testq %r12, %r12
je 0xc2746
leaq 0x5ec21(%rip), %rcx     # 0x121340
cmpb $0x1, (%rax,%rcx)
jne 0xc2746
cmpl $0x15, %eax
jne 0xc2733
testb $0x1, 0x7(%rsi)
pushq $0x15
popq %rax
jne 0xc2746
movq %r14, %rdi
movq %rbx, %rdx
movl %r15d, %ecx
movq %r12, %r8
callq 0x77872
jmp 0xc26e7
movq %r14, %rdi
movq %rbx, %rdx
movl %r15d, %ecx
movq %r12, %r8
leaq 0x5ec27(%rip), %r9      # 0x121380
callq *(%r9,%rax,8)
jmp 0xc26e7
pushq $0x20
popq %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq *0x8(%rax)
movzbl (%rbp), %eax
testq %r12, %r12
je 0xc27a7
leaq 0x5ebc5(%rip), %rcx     # 0x121340
cmpb $0x1, (%rax,%rcx)
movq 0x8(%rsp), %r13
jne 0xc27ac
cmpl $0x15, %eax
jne 0xc2791
testb $0x1, 0x7(%rbp)
jne 0xc27f3
pushq $0x2
popq %rcx
movq %r14, %rdi
movq %rbp, %rsi
movq %rbx, %rdx
movq %r12, %r8
callq 0x77872
jmp 0xc27c6
movq 0x8(%rsp), %r13
pushq $0x2
popq %rcx
movq %r14, %rdi
movq %rbp, %rsi
movq %rbx, %rdx
movq %r12, %r8
leaq 0x5ebbe(%rip), %r9      # 0x121380
callq *(%r9,%rax,8)
pushq $0x1
popq %r15
pushq $0x29
popq %rbp
movq 0x10(%rsp), %r12
cmpq %r12, %r15
jge 0xc263c
movq 0x8(%rbx), %rax
movq 0x48(%rax), %rax
movq %r14, %rdi
movl %ebp, %esi
movq %rbx, %rdx
callq *0x8(%rax)
incq %r15
jmp 0xc27d2
pushq $0x15
popq %rax
jmp 0xc27ac