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

        body = closure_body(obj);
        arglist = closure_args(obj);

        port_write_string(port)(sc, "(define-", 8, port);
        port_write_string(port)(sc, (is_either_macro(obj)) ? "macro" : "bacro", 5, port);
        if ((is_macro_star(obj)) || (is_bacro_star(obj)))
            port_write_character(port)(sc, '*', port);
        port_write_string(port)(sc, " (_m_", 5, port);
        if (is_symbol(arglist))
        {
            port_write_string(port)(sc, " . ", 3, port);
            port_write_string(port)(sc, symbol_name(arglist), symbol_name_length(arglist), port);
        }
        else
        {
            if (is_pair(arglist))
            {
                for (expr = arglist; is_pair(expr); expr = cdr(expr))
                {
                    port_write_character(port)(sc, ' ', port);
                    object_to_port(sc, car(expr), port, P_WRITE, NULL);
                }
                if (!is_null(expr))
                {
                    port_write_string(port)(sc, " . ", 3, port);
                    object_to_port(sc, expr, port, P_WRITE, NULL);
                }
            }
        }
        port_write_string(port)(sc, ") ", 2, port);
        for (expr = body; is_pair(expr); expr = cdr(expr))
            object_to_port(sc, car(expr), port, P_WRITE, NULL);
        port_write_character(port)(sc, ')', port);
    }

// Assembly:
subq $0x48, %rsp
movq %rdi, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
movq %rdx, 0x30(%rsp)
movq 0x38(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x20(%rsp)
movq 0x38(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x28(%rsp)
movq 0x30(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x40(%rsp), %rdi
movq 0x30(%rsp), %rcx
leaq 0x412af(%rip), %rsi     # 0x1f2a70
movl $0x8, %edx
callq *%rax
movq 0x30(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq %rax, (%rsp)
movq 0x40(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x38(%rsp), %rax
movzbl (%rax), %ecx
movb $0x1, %al
cmpl $0x2a, %ecx
movb %al, 0x17(%rsp)
je 0x1b180c
movq 0x38(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x2b, %eax
sete %al
movb %al, 0x17(%rsp)
movq (%rsp), %rax
movq 0x8(%rsp), %rdi
movb 0x17(%rsp), %dl
leaq 0x318d2(%rip), %rsi     # 0x1e30f2
leaq 0x4260e(%rip), %rcx     # 0x1f3e35
testb $0x1, %dl
cmovneq %rcx, %rsi
movq 0x30(%rsp), %rcx
movl $0x5, %edx
callq *%rax
movq 0x38(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x2b, %eax
je 0x1b1854
movq 0x38(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x2d, %eax
jne 0x1b1876
movq 0x30(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x8(%rax), %rax
movq 0x40(%rsp), %rdi
movq 0x30(%rsp), %rdx
movl $0x2a, %esi
callq *%rax
movq 0x30(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x40(%rsp), %rdi
movq 0x30(%rsp), %rcx
leaq 0x411e1(%rip), %rsi     # 0x1f2a79
movl $0x5, %edx
callq *%rax
movq 0x28(%rsp), %rax
movzbl (%rax), %eax
cmpl $0xa, %eax
jne 0x1b1911
movq 0x30(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x40(%rsp), %rdi
movq 0x30(%rsp), %rcx
leaq 0x40c8c(%rip), %rsi     # 0x1f255a
movl $0x3, %edx
callq *%rax
movq 0x30(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x40(%rsp), %rdi
movq 0x28(%rsp), %rcx
movq 0x8(%rcx), %rcx
movq 0x10(%rcx), %rsi
movq 0x28(%rsp), %rcx
movq 0x8(%rcx), %rcx
movq 0x8(%rcx), %rdx
movq 0x30(%rsp), %rcx
callq *%rax
jmp 0x1b1a0f
movq 0x28(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x1, %eax
jne 0x1b1a0d
movq 0x28(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x1, %eax
jne 0x1b19a1
movq 0x30(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x8(%rax), %rax
movq 0x40(%rsp), %rdi
movq 0x30(%rsp), %rdx
movl $0x20, %esi
callq *%rax
movq 0x18(%rsp), %rax
movq 0x8(%rax), %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq 0x70560(%rip), %rax     # 0x221ed0
movq (%rax,%rcx,8), %rax
movq 0x40(%rsp), %rdi
movq 0x18(%rsp), %rcx
movq 0x8(%rcx), %rsi
movq 0x30(%rsp), %rdx
movl $0x1, %ecx
xorl %r8d, %r8d
callq *%rax
movq 0x18(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x18(%rsp)
jmp 0x1b192c
movq 0x18(%rsp), %rax
movq 0x40(%rsp), %rcx
cmpq 0x110(%rcx), %rax
je 0x1b1a0b
movq 0x30(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x40(%rsp), %rdi
movq 0x30(%rsp), %rcx
leaq 0x40b84(%rip), %rsi     # 0x1f255a
movl $0x3, %edx
callq *%rax
movq 0x18(%rsp), %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq 0x704e2(%rip), %rax     # 0x221ed0
movq (%rax,%rcx,8), %rax
movq 0x40(%rsp), %rdi
movq 0x18(%rsp), %rsi
movq 0x30(%rsp), %rdx
movl $0x1, %ecx
xorl %r8d, %r8d
callq *%rax
jmp 0x1b1a0d
jmp 0x1b1a0f
movq 0x30(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x40(%rsp), %rdi
movq 0x30(%rsp), %rcx
leaq 0x40caa(%rip), %rsi     # 0x1f26db
movl $0x2, %edx
callq *%rax
movq 0x20(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x1, %eax
jne 0x1b1a95
movq 0x18(%rsp), %rax
movq 0x8(%rax), %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq 0x7046c(%rip), %rax     # 0x221ed0
movq (%rax,%rcx,8), %rax
movq 0x40(%rsp), %rdi
movq 0x18(%rsp), %rcx
movq 0x8(%rcx), %rsi
movq 0x30(%rsp), %rdx
movl $0x1, %ecx
xorl %r8d, %r8d
callq *%rax
movq 0x18(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x18(%rsp)
jmp 0x1b1a42
movq 0x30(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x8(%rax), %rax
movq 0x40(%rsp), %rdi
movq 0x30(%rsp), %rdx
movl $0x29, %esi
callq *%rax
addq $0x48, %rsp
retq
nopl (%rax)