// File: /workspace/github_c_makefile_star2_O0/BernardTatin[P]s7sh/s7.c
// Function: write_closure_readably_1
static void write_closure_readably_1(s7_scheme *sc, s7_pointer obj, s7_pointer arglist, s7_pointer body, s7_pointer port)
    {
        s7_int old_print_length;
        s7_pointer p;

        if (type(obj) == T_CLOSURE_STAR)
            port_write_string(port)(sc, "(lambda* ", 9, port);
        else port_write_string(port)(sc, "(lambda ", 8, port);

        if ((is_pair(arglist)) &&
                (allows_other_keys(arglist)))
        {
            sc->temp9 = s7_append(sc, arglist, cons(sc, sc->key_allow_other_keys_symbol, sc->nil));
            object_to_port(sc, sc->temp9, port, P_WRITE, NULL);
            sc->temp9 = sc->nil;
        }
        else object_to_port(sc, arglist, port, P_WRITE, NULL); /* here we just want the straight output (a b) not (list 'a 'b) */

        old_print_length = sc->print_length;
        sc->print_length = 1048576;
        for (p = body; is_pair(p); p = cdr(p))
        {
            port_write_character(port)(sc, ' ', port);
            object_to_port(sc, car(p), port, P_WRITE, NULL);
        }
        port_write_character(port)(sc, ')', port);
        sc->print_length = old_print_length;
    }

// Assembly:
subq $0x68, %rsp
movq %rdi, 0x60(%rsp)
movq %rsi, 0x58(%rsp)
movq %rdx, 0x50(%rsp)
movq %rcx, 0x48(%rsp)
movq %r8, 0x40(%rsp)
movq 0x58(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x29, %eax
jne 0x1b1225
movq 0x40(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x60(%rsp), %rdi
movq 0x40(%rsp), %rcx
leaq 0x417e0(%rip), %rsi     # 0x1f29fc
movl $0x9, %edx
callq *%rax
jmp 0x1b124e
movq 0x40(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x60(%rsp), %rdi
movq 0x40(%rsp), %rcx
leaq 0x417bf(%rip), %rsi     # 0x1f2a06
movl $0x8, %edx
callq *%rax
movq 0x50(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x1, %eax
jne 0x1b139d
movq 0x50(%rsp), %rax
movq (%rax), %rax
andq $0x2000000, %rax        # imm = 0x2000000
cmpq $0x0, %rax
je 0x1b139d
movq 0x60(%rsp), %rax
movq %rax, (%rsp)
movq 0x50(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x60(%rsp), %rax
movq 0x1898(%rax), %rax
movq %rax, 0x20(%rsp)
movq 0x60(%rsp), %rax
movq 0x110(%rax), %rax
movq %rax, 0x18(%rsp)
movq 0x60(%rsp), %rax
movq 0x90(%rax), %rax
movq 0x60(%rsp), %rcx
cmpq 0x98(%rcx), %rax
ja 0x1b12d0
movq 0x60(%rsp), %rdi
callq 0xc670
movq 0x60(%rsp), %rcx
movq 0x90(%rcx), %rax
movq %rax, %rdx
addq $-0x8, %rdx
movq %rdx, 0x90(%rcx)
movq -0x8(%rax), %rax
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rax
movq $0x200001, (%rax)       # imm = 0x200001
movq 0x8(%rsp), %rsi
movq (%rsp), %rdi
movq 0x20(%rsp), %rcx
movq 0x28(%rsp), %rax
movq %rcx, 0x8(%rax)
movq 0x18(%rsp), %rcx
movq 0x28(%rsp), %rax
movq %rcx, 0x10(%rax)
movq 0x28(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rdx
callq 0x316f0
movq %rax, %rcx
movq 0x60(%rsp), %rax
movq %rcx, 0x538(%rax)
movq 0x60(%rsp), %rax
movq 0x538(%rax), %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq 0x70b71(%rip), %rax     # 0x221ed0
movq (%rax,%rcx,8), %rax
movq 0x60(%rsp), %rdi
movq 0x60(%rsp), %rcx
movq 0x538(%rcx), %rsi
movq 0x40(%rsp), %rdx
movl $0x1, %ecx
xorl %r8d, %r8d
callq *%rax
movq 0x60(%rsp), %rax
movq 0x110(%rax), %rcx
movq 0x60(%rsp), %rax
movq %rcx, 0x538(%rax)
jmp 0x1b13cb
movq 0x50(%rsp), %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq 0x70b22(%rip), %rax     # 0x221ed0
movq (%rax,%rcx,8), %rax
movq 0x60(%rsp), %rdi
movq 0x50(%rsp), %rsi
movq 0x40(%rsp), %rdx
movl $0x1, %ecx
xorl %r8d, %r8d
callq *%rax
movq 0x60(%rsp), %rax
movq 0x280(%rax), %rax
movq %rax, 0x38(%rsp)
movq 0x60(%rsp), %rax
movq $0x100000, 0x280(%rax) # imm = 0x100000
movq 0x48(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x30(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x1, %eax
jne 0x1b146b
movq 0x40(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x8(%rax), %rax
movq 0x60(%rsp), %rdi
movq 0x40(%rsp), %rdx
movl $0x20, %esi
callq *%rax
movq 0x30(%rsp), %rax
movq 0x8(%rax), %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq 0x70a96(%rip), %rax     # 0x221ed0
movq (%rax,%rcx,8), %rax
movq 0x60(%rsp), %rdi
movq 0x30(%rsp), %rcx
movq 0x8(%rcx), %rsi
movq 0x40(%rsp), %rdx
movl $0x1, %ecx
xorl %r8d, %r8d
callq *%rax
movq 0x30(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x30(%rsp)
jmp 0x1b13f6
movq 0x40(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x8(%rax), %rax
movq 0x60(%rsp), %rdi
movq 0x40(%rsp), %rdx
movl $0x29, %esi
callq *%rax
movq 0x38(%rsp), %rcx
movq 0x60(%rsp), %rax
movq %rcx, 0x280(%rax)
addq $0x68, %rsp
retq
nopw %cs:(%rax,%rax)