// File: /workspace/github_c_makefile_star2_O3/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:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movl %ecx, %ebp
movq %rdx, %rbx
movq %rsi, %r12
movq %rdi, %r14
callq 0xf3c27
testl %eax, %eax
js 0xecdbf
movl %eax, %r13d
movq 0x8(%r12), %r15
movq 0x10(%r12), %rax
movq %rax, 0x10(%rsp)
cmpl $0x2, %ebp
jne 0xeca1d
testb $0x1, 0x3(%r12)
je 0xeca1d
movq 0x8(%rbx), %rax
movq 0x48(%rax), %rax
leaq 0x2a135(%rip), %rsi     # 0x116b44
movl $0xc, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq *0x10(%rax)
cmpl $0x3e9, %r13d           # imm = 0x3E9
movq %r14, 0x8(%rsp)
jb 0xecae8
movq 0x8(%r12), %rax
movq 0x10(%rsp), %rcx
movsd (%rcx), %xmm1
movl $0x1, %ecx
cmpq $0x2, %rax
jl 0xeca64
movq 0x10(%rsp), %rdx
movsd (%rdx,%rcx,8), %xmm0
ucomisd %xmm1, %xmm0
jne 0xeca64
jp 0xeca64
incq %rcx
cmpq %rcx, %rax
jne 0xeca4d
jmp 0xeca69
cmpq %rax, %rcx
jne 0xecae8
movq %r14, %rdi
movq %r12, %rsi
movq %rbx, %rdx
movsd %xmm1, 0x10(%rsp)
callq 0xf3e5c
movl 0x468(%r14), %ecx
leaq 0x2daab(%rip), %rdx     # 0x11a536
leaq 0x30(%rsp), %r15
movl $0x80, %esi
movq %r15, %rdi
movsd 0x10(%rsp), %xmm0
movb $0x1, %al
callq 0x8210
movslq %eax, %rdx
movq 0x8(%rbx), %rax
movq 0x48(%rax), %rax
movq 0x8(%rsp), %rdi
movq %r15, %rsi
movq 0x8(%rsp), %r14
movq %rbx, %rcx
callq *0x10(%rax)
cmpl $0x2, %ebp
jne 0xecdbf
testb $0x1, 0x3(%r12)
je 0xecdbf
movq 0x8(%rbx), %rax
movq 0x48(%rax), %rax
movq %r14, %rdi
jmp 0xecdb4
movq 0x18(%r12), %rax
movq 0x20(%rax), %rax
testq %rax, %rax
je 0xecb04
movq 0x10(%rax), %rsi
cmpq $0x1, %rsi
jne 0xeccca
movq %r15, 0x28(%rsp)
movl %ebp, 0x1c(%rsp)
movq 0x8(%rbx), %rax
movq 0x48(%rax), %rax
leaq 0x2da20(%rip), %rsi     # 0x11a53c
movl $0x3, %edx
movq %r14, %rdi
movq %rbx, %rcx
callq *0x10(%rax)
movl 0x468(%r14), %ecx
movq 0x10(%rsp), %rax
movsd (%rax), %xmm0
leaq 0x2da00(%rip), %rdx     # 0x11a541
leaq 0x30(%rsp), %r15
movl $0x7c, %esi
movq %r15, %rdi
movb $0x1, %al
callq 0x8210
movl %eax, %ebp
movslq %eax, %r14
movq %r15, %rdi
movl $0x2e, %esi
callq 0x81d0
testq %rax, %rax
movq %r12, 0x20(%rsp)
jne 0xecb89
leaq 0x30(%rsp), %rdi
movl $0x65, %esi
callq 0x81d0
testq %rax, %rax
je 0xecdd1
movq 0x8(%rsp), %r15
movslq %r13d, %r12
movq 0x8(%rbx), %rax
movq 0x48(%rax), %rax
leaq 0x30(%rsp), %rsi
movq %r15, %rdi
movq %r14, %rdx
movq %rbx, %rcx
callq *0x10(%rax)
cmpl $0x2, %r13d
jl 0xecc88
movl $0x1, %r14d
leaq 0x30(%rsp), %r13
movl 0x468(%r15), %ecx
movq 0x10(%rsp), %rax
movsd (%rax,%r14,8), %xmm0
movl $0x7c, %esi
movq %r13, %rdi
leaq 0x2d960(%rip), %rdx     # 0x11a540
movb $0x1, %al
callq 0x8210
movl %eax, %r15d
movslq %eax, %rbp
movq %r13, %rdi
movl $0x2e, %esi
callq 0x81d0
testq %rax, %rax
jne 0xecc11
movq %r13, %rdi
movl $0x65, %esi
callq 0x81d0
testq %rax, %rax
je 0xecc37
movq 0x8(%rsp), %r15
movq 0x8(%rbx), %rax
movq 0x48(%rax), %rax
movq %r15, %rdi
movq %r13, %rsi
movq %rbp, %rdx
movq %rbx, %rcx
callq *0x10(%rax)
incq %r14
cmpq %r14, %r12
jne 0xecbbf
jmp 0xecc88
cmpl $0x3, %r15d
movq 0x8(%rsp), %r15
jne 0xecc76
movzbl 0x30(%rsp), %eax
cmpl $0x6e, %eax
je 0xecc5c
movl $0x3, %ebp
cmpl $0x69, %eax
jne 0xecc76
movb $0x66, %dl
movb $0x6e, %cl
jmp 0xecc60
movb $0x61, %cl
movl %eax, %edx
movb $0x2b, 0x30(%rsp)
movb %al, 0x31(%rsp)
movb %cl, 0x32(%rsp)
movb %dl, 0x33(%rsp)
movl $0x4, %ebp
movw $0x302e, 0x30(%rsp,%rbp) # imm = 0x302E
movb $0x0, 0x32(%rsp,%rbp)
addq $0x2, %rbp
jmp 0xecc16
movq 0x8(%rbx), %rax
movq 0x48(%rax), %rax
cmpq %r12, 0x28(%rsp)
jle 0xeccae
leaq 0x2ba52(%rip), %rsi     # 0x1186f0
movl $0x5, %edx
movq %r15, %rdi
movq %rbx, %rcx
callq *0x10(%rax)
jmp 0xeccbc
movq %r15, %rdi
movl $0x29, %esi
movq %rbx, %rdx
callq *0x8(%rax)
movq 0x20(%rsp), %r12
movl 0x1c(%rsp), %ebp
jmp 0xecd9c
xorl %eax, %eax
movb %al, 0x7(%rsp)
leaq 0xb6f(%r14), %r8
movb %al, 0xb6f(%r14)
leaq 0x2985b(%rip), %rcx     # 0x116540
movabsq $0x6666666666666667, %rdi # imm = 0x6666666666666667
movq %rsi, %rax
imulq %rdi
movq %rdx, %rax
shrq $0x3f, %rax
sarq $0x2, %rdx
addq %rax, %rdx
leaq (%rdx,%rdx), %rax
leaq (%rax,%rax,4), %rax
movq %rsi, %r9
subq %rax, %r9
movb (%rcx,%r9), %al
movb %al, -0x1(%r8)
decq %r8
addq $0x9, %rsi
cmpq $0x12, %rsi
movq %rdx, %rsi
ja 0xeccef
leaq 0x2d816(%rip), %rsi     # 0x11a546
leaq 0x2a9fa(%rip), %rcx     # 0x117731
leaq 0x30(%rsp), %r15
movq %r15, %rdi
movq %r8, %rdx
xorl %r8d, %r8d
xorl %eax, %eax
callq 0xc442
movq 0x8(%rbx), %rcx
movq 0x48(%rcx), %r8
movq 0x8(%rsp), %rdi
movq %r15, %rsi
movq %rdi, %r15
movq %rax, %rdx
movq %rbx, %rcx
callq *0x10(%r8)
movq 0x18(%r12), %rax
movq 0x20(%rax), %rax
movl 0x10(%rax), %eax
leaq 0x7(%rsp), %r10
movq %r15, %rdi
movq %r12, %rsi
movq %rbx, %rdx
movl %r13d, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq $0x0
pushq $0x0
pushq %r10
pushq %rax
callq 0xf4186
addq $0x20, %rsp
cmpl $0x2, %ebp
jne 0xecdbf
testb $0x1, 0x3(%r12)
je 0xecdbf
movq 0x8(%rbx), %rax
movq 0x48(%rax), %rax
movq %r15, %rdi
movl $0x29, %esi
movq %rbx, %rdx
callq *0x8(%rax)
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpl $0x3, %ebp
movq 0x8(%rsp), %r15
jne 0xece11
movzbl 0x30(%rsp), %eax
cmpl $0x6e, %eax
je 0xecdf6
movl $0x3, %r14d
cmpl $0x69, %eax
jne 0xece11
movb $0x66, %dl
movb $0x6e, %cl
jmp 0xecdfa
movb $0x61, %cl
movl %eax, %edx
movb $0x2b, 0x30(%rsp)
movb %al, 0x31(%rsp)
movb %cl, 0x32(%rsp)
movb %dl, 0x33(%rsp)
movl $0x4, %r14d
movw $0x302e, 0x30(%rsp,%r14) # imm = 0x302E
movb $0x0, 0x32(%rsp,%r14)
addq $0x2, %r14
jmp 0xecb8e