// File: /workspace/github_c_makefile_star2_O0/BernardTatin[P]s7sh/s7.c
// Function: float_vector_to_port
static void float_vector_to_port(s7_scheme *sc, s7_pointer vect, s7_pointer port, use_write_t use_write, shared_info *ignored)
    {
        s7_int i, len, plen;
        bool too_long;
        char buf[128];
        s7_double *els;

        len = print_vector_length(sc, vect, port, use_write);
        if (len < 0) return;
        too_long = (len < vector_length(vect));
        els = float_vector_floats(vect);

        if ((use_write == P_READABLE) &&
                (is_immutable_vector(vect)))
            port_write_string(port)(sc, "(immutable! ", 12, port);

        if (len > 1000)
        {
            s7_int vlen;
            s7_double first;
            vlen = vector_length(vect);
            first = els[0];
            for (i = 1; i < vlen; i++)
                if (els[i] != first)
                    break;
            if (i == vlen)
            {
                make_vector_to_port(sc, vect, port);
                plen = snprintf(buf, 128, "%.*g)", sc->float_format_precision, first);
                port_write_string(port)(sc, buf, plen, port);
                if ((use_write == P_READABLE) &&
                        (is_immutable_vector(vect)))
                    port_write_character(port)(sc, ')', port);
                return;
            }
        }

        if (vector_rank(vect) == 1)
        {
            port_write_string(port)(sc, "#r(", 3, port);
            plen = snprintf(buf, 124, "%.*g", sc->float_format_precision, els[0]); /* 124 so floatify has room */
            floatify(buf, &plen);
            port_write_string(port)(sc, buf, plen, port);
            for (i = 1; i < len; i++)
            {
                plen = snprintf(buf, 124, " %.*g", sc->float_format_precision, els[i]);
                floatify(buf, &plen);
                port_write_string(port)(sc, buf, plen, port);
            }
            if (too_long)
                port_write_string(port)(sc, " ...)", 5, port);
            else port_write_character(port)(sc, ')', port);
        }
        else
        {
            bool last = false;
            plen = catstrs_direct(buf, "#r", pos_int_to_str_direct(sc, vector_ndims(vect)), "d", NULL);
            port_write_string(port)(sc, buf, plen, port);
            multivector_to_port(sc, vect, port, len, 0, 0, vector_ndims(vect), &last, P_DISPLAY, NULL);
        }

        if ((use_write == P_READABLE) &&
                (is_immutable_vector(vect)))
            port_write_character(port)(sc, ')', port);
    }

// Assembly:
subq $0x118, %rsp            # imm = 0x118
movq %rdi, 0x110(%rsp)
movq %rsi, 0x108(%rsp)
movq %rdx, 0x100(%rsp)
movl %ecx, 0xfc(%rsp)
movq %r8, 0xf0(%rsp)
movq 0x110(%rsp), %rdi
movq 0x108(%rsp), %rsi
movq 0x100(%rsp), %rdx
movl 0xfc(%rsp), %ecx
callq 0x1ad990
cltq
movq %rax, 0xe0(%rsp)
cmpq $0x0, 0xe0(%rsp)
jge 0x1a0f8c
jmp 0x1a14e9
movq 0xe0(%rsp), %rax
movq 0x108(%rsp), %rcx
cmpq 0x8(%rcx), %rax
setl %al
andb $0x1, %al
movb %al, 0xd7(%rsp)
movq 0x108(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x48(%rsp)
cmpl $0x2, 0xfc(%rsp)
jne 0x1a1010
movq 0x108(%rsp), %rax
movq (%rax), %rax
andq $0x1000000, %rax        # imm = 0x1000000
cmpq $0x0, %rax
je 0x1a1010
movq 0x100(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x110(%rsp), %rdi
movq 0x100(%rsp), %rcx
leaq 0x4d5fb(%rip), %rsi     # 0x1ee604
movl $0xc, %edx
callq *%rax
cmpq $0x3e8, 0xe0(%rsp) # imm = 0x3E8
jle 0x1a1181
movq 0x108(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x40(%rsp)
movq 0x48(%rsp), %rax
movsd (%rax), %xmm0
movsd %xmm0, 0x38(%rsp)
movq $0x1, 0xe8(%rsp)
movq 0xe8(%rsp), %rax
cmpq 0x40(%rsp), %rax
jge 0x1a1095
movq 0x48(%rsp), %rax
movq 0xe8(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
ucomisd 0x38(%rsp), %xmm0
jne 0x1a107b
jp 0x1a107b
jmp 0x1a107d
jmp 0x1a1095
jmp 0x1a107f
movq 0xe8(%rsp), %rax
addq $0x1, %rax
movq %rax, 0xe8(%rsp)
jmp 0x1a104e
movq 0xe8(%rsp), %rax
cmpq 0x40(%rsp), %rax
jne 0x1a117f
movq 0x110(%rsp), %rdi
movq 0x108(%rsp), %rsi
movq 0x100(%rsp), %rdx
callq 0x1add70
leaq 0x50(%rsp), %rdi
movq 0x110(%rsp), %rax
movl 0x468(%rax), %ecx
movsd 0x38(%rsp), %xmm0
movl $0x80, %esi
leaq 0x51372(%rip), %rdx     # 0x1f245c
movb $0x1, %al
callq 0x9210
cltq
movq %rax, 0xd8(%rsp)
movq 0x100(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x110(%rsp), %rdi
leaq 0x50(%rsp), %rsi
movq 0xd8(%rsp), %rdx
movq 0x100(%rsp), %rcx
callq *%rax
cmpl $0x2, 0xfc(%rsp)
jne 0x1a117a
movq 0x108(%rsp), %rax
movq (%rax), %rax
andq $0x1000000, %rax        # imm = 0x1000000
cmpq $0x0, %rax
je 0x1a117a
movq 0x100(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x8(%rax), %rax
movq 0x110(%rsp), %rdi
movq 0x100(%rsp), %rdx
movl $0x29, %esi
callq *%rax
jmp 0x1a14e9
jmp 0x1a1181
movq 0x108(%rsp), %rax
movq 0x18(%rax), %rax
cmpq $0x0, 0x20(%rax)
je 0x1a11af
movq 0x108(%rsp), %rax
movq 0x18(%rax), %rax
movq 0x20(%rax), %rax
movq 0x10(%rax), %rax
movq %rax, 0x28(%rsp)
jmp 0x1a11bb
movl $0x1, %eax
movq %rax, 0x28(%rsp)
jmp 0x1a11bb
movq 0x28(%rsp), %rax
cmpq $0x1, %rax
jne 0x1a13aa
movq 0x100(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x110(%rsp), %rdi
movq 0x100(%rsp), %rcx
leaq 0x5126d(%rip), %rsi     # 0x1f2462
movl $0x3, %edx
callq *%rax
leaq 0x50(%rsp), %rdi
movq 0x110(%rsp), %rax
movl 0x468(%rax), %ecx
movq 0x48(%rsp), %rax
movsd (%rax), %xmm0
movl $0x7c, %esi
leaq 0x51243(%rip), %rdx     # 0x1f2467
movb $0x1, %al
callq 0x9210
cltq
movq %rax, 0xd8(%rsp)
leaq 0x50(%rsp), %rdi
leaq 0xd8(%rsp), %rsi
callq 0xc7550
movq 0x100(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x110(%rsp), %rdi
leaq 0x50(%rsp), %rsi
movq 0xd8(%rsp), %rdx
movq 0x100(%rsp), %rcx
callq *%rax
movq $0x1, 0xe8(%rsp)
movq 0xe8(%rsp), %rax
cmpq 0xe0(%rsp), %rax
jge 0x1a133c
leaq 0x50(%rsp), %rdi
movq 0x110(%rsp), %rax
movl 0x468(%rax), %ecx
movq 0x48(%rsp), %rax
movq 0xe8(%rsp), %rdx
movsd (%rax,%rdx,8), %xmm0
movl $0x7c, %esi
leaq 0x51199(%rip), %rdx     # 0x1f2466
movb $0x1, %al
callq 0x9210
cltq
movq %rax, 0xd8(%rsp)
leaq 0x50(%rsp), %rdi
leaq 0xd8(%rsp), %rsi
callq 0xc7550
movq 0x100(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x110(%rsp), %rdi
leaq 0x50(%rsp), %rsi
movq 0xd8(%rsp), %rdx
movq 0x100(%rsp), %rcx
callq *%rax
movq 0xe8(%rsp), %rax
addq $0x1, %rax
movq %rax, 0xe8(%rsp)
jmp 0x1a1286
testb $0x1, 0xd7(%rsp)
je 0x1a137a
movq 0x100(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x110(%rsp), %rdi
movq 0x100(%rsp), %rcx
leaq 0x4f297(%rip), %rsi     # 0x1f0608
movl $0x5, %edx
callq *%rax
jmp 0x1a13a5
movq 0x100(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x8(%rax), %rax
movq 0x110(%rsp), %rdi
movq 0x100(%rsp), %rdx
movl $0x29, %esi
callq *%rax
jmp 0x1a149d
movb $0x0, 0x37(%rsp)
leaq 0x50(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x110(%rsp), %rdi
movq 0x108(%rsp), %rax
movq 0x18(%rax), %rax
movq 0x20(%rax), %rax
movq 0x10(%rax), %rsi
callq 0xae30
movq 0x20(%rsp), %rdi
movq %rax, %rdx
leaq 0x51083(%rip), %rsi     # 0x1f246c
leaq 0x4e045(%rip), %rcx     # 0x1ef435
xorl %eax, %eax
movl %eax, %r8d
movb $0x0, %al
callq 0x10540
movq %rax, 0xd8(%rsp)
movq 0x100(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x10(%rax), %rax
movq 0x110(%rsp), %rdi
leaq 0x50(%rsp), %rsi
movq 0xd8(%rsp), %rdx
movq 0x100(%rsp), %rcx
callq *%rax
movq 0x110(%rsp), %rdi
movq 0x108(%rsp), %rsi
movq 0x100(%rsp), %rdx
movq 0xe0(%rsp), %rax
movl %eax, %ecx
movq 0x108(%rsp), %rax
movq 0x18(%rax), %rax
movq 0x20(%rax), %rax
movq 0x10(%rax), %rax
movl %eax, %r10d
xorl %r9d, %r9d
leaq 0x37(%rsp), %rax
xorl %r8d, %r8d
movl %r9d, %r8d
movl %r10d, (%rsp)
movq %rax, 0x8(%rsp)
movl $0x0, 0x10(%rsp)
movq $0x0, 0x18(%rsp)
callq 0x1ae0b0
cmpl $0x2, 0xfc(%rsp)
jne 0x1a14e9
movq 0x108(%rsp), %rax
movq (%rax), %rax
andq $0x1000000, %rax        # imm = 0x1000000
cmpq $0x0, %rax
je 0x1a14e9
movq 0x100(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x48(%rax), %rax
movq 0x8(%rax), %rax
movq 0x110(%rsp), %rdi
movq 0x100(%rsp), %rdx
movl $0x29, %esi
callq *%rax
addq $0x118, %rsp            # imm = 0x118
retq
nopw %cs:(%rax,%rax)