// File: /workspace/github_c_makefile_star2_O0/BernardTatin[P]s7sh/s7.c
// Function: g_make_float_vector
static s7_pointer g_make_float_vector(s7_scheme *sc, s7_pointer args)
                {
#define H_make_float_vector "(make-float-vector len (init 0.0)) returns a float-vector."
#define Q_make_float_vector s7_make_signature(sc, 3, sc->is_float_vector_symbol, s7_make_signature(sc, 2, sc->is_integer_symbol, sc->is_pair_symbol), sc->is_real_symbol)
                    s7_int len;
                    s7_pointer x, p;
                    block_t *arr;

                    p = car(args);
                    if ((is_pair(cdr(args))) ||
                            (!s7_is_integer(p)))      /* (make-float-vector (bignum "3")) */
                    {
                        s7_pointer init;
                        if (is_pair(cdr(args)))
                        {
                            init = cadr(args);
                            if (!s7_is_real(init))
                                return(method_or_bust(sc, init, sc->make_float_vector_symbol, args, T_REAL, 2));
#if WITH_GMP
                            if (s7_is_bignum(init))
                                return(g_make_vector_1(sc, set_plist_2(sc, p, wrap_real(sc, s7_real(init))), sc->make_float_vector_symbol));
#endif
                            if (is_rational(init))
                                return(g_make_vector_1(sc, set_plist_2(sc, p, wrap_real(sc, rational_to_double(sc, init))), sc->make_float_vector_symbol));
                        }
                        else init = real_zero;
                        if (s7_is_integer(p))
                            len = s7_integer(p);
                        else
                        {
                            if (!is_pair(p))
                                return(method_or_bust_with_type(sc, p, sc->make_float_vector_symbol, args, wrap_string(sc, "an integer or a list of integers", 32), 1));
                            len = multivector_length(sc, p, sc->make_float_vector_symbol);
                        }
                        x = make_vector_1(sc, len, NOT_FILLED, T_FLOAT_VECTOR);
                        float_vector_fill(sc, x, s7_real(init));
                        if (s7_is_integer(p))
                        {
                            add_vector(sc, x);
                            return(x);
                        }
                        return(make_multivector(sc, x, p));
                    }

                    len = s7_integer(p);
                    if (len < 0)
                        return(wrong_type_argument_with_type(sc, sc->make_float_vector_symbol, 1, p, a_non_negative_integer_string));
                    if (len > sc->max_vector_length)
                        return(out_of_range(sc, sc->make_float_vector_symbol, small_int(1), p, its_too_large_string));

                    arr = mallocate_vector(sc, len * sizeof(s7_double));
                    new_cell(sc, x, T_FLOAT_VECTOR | T_SAFE_PROCEDURE);
                    vector_length(x) = len;
                    vector_block(x) = arr;
                    float_vector_floats(x) = (s7_double *)block_data(arr);
                    if (len > 0)
                    {
                        if (STEP_8(len))
                            memclr64((void *)float_vector_floats(x), len * sizeof(s7_double));
                        else memclr((void *)float_vector_floats(x), len * sizeof(s7_double));
                    }
                    vector_set_dimension_info(x, NULL);
                    vector_getter(x) = float_vector_getter;
                    vector_setter(x) = float_vector_setter;

                    add_vector(sc, x);
                    return(x);
                }

// Assembly:
subq $0x118, %rsp            # imm = 0x118
movq %rdi, 0x108(%rsp)
movq %rsi, 0x100(%rsp)
movq 0x100(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0xe8(%rsp)
movq 0x100(%rsp), %rax
movq 0x10(%rax), %rax
movzbl (%rax), %eax
cmpl $0x1, %eax
je 0x9b014
movq 0xe8(%rsp), %rdi
callq 0x11340
testb $0x1, %al
jne 0x9b394
movq 0x100(%rsp), %rax
movq 0x10(%rax), %rax
movzbl (%rax), %eax
cmpl $0x1, %eax
jne 0x9b1cd
movq 0x100(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
movq %rax, 0xd8(%rsp)
movq 0xd8(%rsp), %rdi
callq 0x11360
testb $0x1, %al
jne 0x9b09a
movq 0x108(%rsp), %rdi
movq 0xd8(%rsp), %rsi
movq 0x108(%rsp), %rax
movq 0x12d8(%rax), %rdx
movq 0x100(%rsp), %rcx
movl $0xd, %r8d
movl $0x2, %r9d
callq 0x13c50
movq %rax, 0x110(%rsp)
jmp 0x9b6e3
movq 0xd8(%rsp), %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq 0x17f472(%rip), %rax    # 0x21a520
testb $0x1, (%rax,%rcx)
je 0x9b1cb
movq 0x108(%rsp), %rax
movq %rax, 0x60(%rsp)
movq 0x108(%rsp), %rax
movq %rax, 0x68(%rsp)
movq 0xe8(%rsp), %rax
movq %rax, 0x70(%rsp)
movq 0x108(%rsp), %rax
movq %rax, 0x78(%rsp)
movq 0xd8(%rsp), %rax
movq %rax, 0xd0(%rsp)
movq 0xd0(%rsp), %rax
movzbl (%rax), %eax
cmpl $0xb, %eax
jne 0x9b130
movq 0xd0(%rsp), %rax
cvtsi2sdq 0x8(%rax), %xmm0
movsd %xmm0, 0x88(%rsp)
fldl 0x88(%rsp)
fstpt 0x54(%rsp)
jmp 0x9b164
movq 0xd0(%rsp), %rax
movq 0x8(%rax), %rcx
movq 0x10(%rax), %rax
movq %rcx, 0x98(%rsp)
fildll 0x98(%rsp)
movq %rax, 0x90(%rsp)
fildll 0x90(%rsp)
fdivrp %st, %st(1)
fstpt 0x54(%rsp)
movq 0x78(%rsp), %rdi
fldt 0x54(%rsp)
fstpt 0xc0(%rsp)
fldt 0xc0(%rsp)
fstpl 0x80(%rsp)
movsd 0x80(%rsp), %xmm0
callq 0x1bc2f0
movq 0x68(%rsp), %rdi
movq 0x70(%rsp), %rsi
movq %rax, %rdx
callq 0x36f70
movq 0x60(%rsp), %rdi
movq %rax, %rsi
movq 0x108(%rsp), %rax
movq 0x12d8(%rax), %rdx
callq 0x35ed0
movq %rax, 0x110(%rsp)
jmp 0x9b6e3
jmp 0x9b1dc
movq 0x17f5b4(%rip), %rax    # 0x21a788
movq %rax, 0xd8(%rsp)
movq 0xe8(%rsp), %rdi
callq 0x11340
testb $0x1, %al
jne 0x9b1ef
jmp 0x9b209
movq 0xe8(%rsp), %rdi
callq 0x10790
movq %rax, 0xf8(%rsp)
jmp 0x9b2cc
movq 0xe8(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x1, %eax
je 0x9b2a0
movq 0x108(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0xe8(%rsp), %rax
movq %rax, 0x38(%rsp)
movq 0x108(%rsp), %rax
movq 0x12d8(%rax), %rax
movq %rax, 0x40(%rsp)
movq 0x100(%rsp), %rax
movq %rax, 0x48(%rsp)
movq 0x108(%rsp), %rdi
leaq 0x153991(%rip), %rsi    # 0x1eebf8
movl $0x20, %edx
callq 0xb880
movq 0x30(%rsp), %rdi
movq 0x38(%rsp), %rsi
movq 0x40(%rsp), %rdx
movq 0x48(%rsp), %rcx
movq %rax, %r8
movl $0x1, %r9d
callq 0x14130
movq %rax, 0x110(%rsp)
jmp 0x9b6e3
movq 0x108(%rsp), %rdi
movq 0xe8(%rsp), %rsi
movq 0x108(%rsp), %rax
movq 0x12d8(%rax), %rdx
callq 0xd8c70
movq %rax, 0xf8(%rsp)
movq 0x108(%rsp), %rdi
movq 0xf8(%rsp), %rsi
xorl %edx, %edx
movl $0x17, %ecx
callq 0x333c0
movq %rax, 0xf0(%rsp)
movq 0x108(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0xf0(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0xd8(%rsp), %rdi
callq 0x128d0
movq 0x20(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0xd8130
movq 0xe8(%rsp), %rdi
callq 0x11340
testb $0x1, %al
jne 0x9b339
jmp 0x9b36a
movq 0x108(%rsp), %rax
movq 0x740(%rax), %rdi
movq 0xf0(%rsp), %rsi
callq 0x11230
movq 0xf0(%rsp), %rax
movq %rax, 0x110(%rsp)
jmp 0x9b6e3
movq 0x108(%rsp), %rdi
movq 0xf0(%rsp), %rsi
movq 0xe8(%rsp), %rdx
callq 0xd91f0
movq %rax, 0x110(%rsp)
jmp 0x9b6e3
movq 0xe8(%rsp), %rdi
callq 0x10790
movq %rax, 0xf8(%rsp)
cmpq $0x0, 0xf8(%rsp)
jge 0x9b501
movq 0x108(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x108(%rsp), %rax
movq 0x12d8(%rax), %rax
movq 0x8(%rax), %rax
movq %rax, 0x18(%rsp)
movq $0x1, 0xb8(%rsp)
movq 0xb8(%rsp), %rax
andq $-0x800, %rax           # imm = 0xF800
cmpq $0x0, %rax
jne 0x9b41a
movq 0xb8(%rsp), %rcx
leaq 0x17b074(%rip), %rax    # 0x216480
movq (%rax,%rcx,8), %rax
movq %rax, 0x8(%rsp)
jmp 0x9b4b2
jmp 0x9b41c
movq 0x108(%rsp), %rax
movq 0x90(%rax), %rax
movq 0x108(%rsp), %rcx
cmpq 0x98(%rcx), %rax
ja 0x9b449
movq 0x108(%rsp), %rdi
callq 0xc670
movq 0x108(%rsp), %rcx
movq 0x90(%rcx), %rax
movq %rax, %rdx
addq $-0x8, %rdx
movq %rdx, 0x90(%rcx)
movq -0x8(%rax), %rax
movq %rax, 0xa8(%rsp)
movq 0xa8(%rsp), %rax
movq $0xb, (%rax)
movq 0xb8(%rsp), %rcx
movq 0xa8(%rsp), %rax
movq %rcx, 0x8(%rax)
movq 0xa8(%rsp), %rax
movq %rax, 0xa0(%rsp)
movq 0xa0(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x18(%rsp), %rsi
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rax
movq %rax, 0xb0(%rsp)
movq 0xb0(%rsp), %rdx
movq 0xe8(%rsp), %rcx
movq 0x108(%rsp), %rax
movq 0x140(%rax), %r8
movq 0x187239(%rip), %r9     # 0x222728
callq 0xc560
movq %rax, 0x110(%rsp)
jmp 0x9b6e3
movq 0xf8(%rsp), %rax
movq 0x108(%rsp), %rcx
cmpq 0x2a0(%rcx), %rax
jle 0x9b55d
movq 0x108(%rsp), %rdi
movq 0x108(%rsp), %rax
movq 0x12d8(%rax), %rax
movq 0x8(%rax), %rsi
movq 0x17af4c(%rip), %rdx    # 0x216488
movq 0xe8(%rsp), %rcx
movq 0x17f025(%rip), %r8     # 0x21a570
callq 0x13880
movq %rax, 0x110(%rsp)
jmp 0x9b6e3
movq 0x108(%rsp), %rdi
movq 0xf8(%rsp), %rsi
shlq $0x3, %rsi
callq 0x33d80
movq %rax, 0xe0(%rsp)
movq 0x108(%rsp), %rax
movq 0x90(%rax), %rax
movq 0x108(%rsp), %rcx
cmpq 0x98(%rcx), %rax
ja 0x9b5ab
movq 0x108(%rsp), %rdi
callq 0xc670
movq 0x108(%rsp), %rcx
movq 0x90(%rcx), %rax
movq %rax, %rdx
addq $-0x8, %rdx
movq %rdx, 0x90(%rcx)
movq -0x8(%rax), %rax
movq %rax, 0xf0(%rsp)
movq 0xf0(%rsp), %rax
movq $0x200017, (%rax)       # imm = 0x200017
movq 0xf8(%rsp), %rcx
movq 0xf0(%rsp), %rax
movq %rcx, 0x8(%rax)
movq 0xe0(%rsp), %rcx
movq 0xf0(%rsp), %rax
movq %rcx, 0x18(%rax)
movq 0xe0(%rsp), %rax
movq (%rax), %rcx
movq 0xf0(%rsp), %rax
movq %rcx, 0x10(%rax)
cmpq $0x0, 0xf8(%rsp)
jle 0x9b67d
movq 0xf8(%rsp), %rax
andq $0x7, %rax
cmpq $0x0, %rax
jne 0x9b65e
movq 0xf0(%rsp), %rax
movq 0x10(%rax), %rdi
movq 0xf8(%rsp), %rsi
shlq $0x3, %rsi
callq 0xd7ce0
jmp 0x9b67b
movq 0xf0(%rsp), %rax
movq 0x10(%rax), %rdi
movq 0xf8(%rsp), %rsi
shlq $0x3, %rsi
callq 0xd2340
jmp 0x9b67d
movq 0xf0(%rsp), %rax
movq 0x18(%rax), %rax
movq $0x0, 0x20(%rax)
movq 0xf0(%rsp), %rax
leaq -0x678b0(%rip), %rcx    # 0x33df0
movq %rcx, 0x20(%rax)
movq 0xf0(%rsp), %rax
leaq -0x67813(%rip), %rcx    # 0x33ea0
movq %rcx, 0x28(%rax)
movq 0x108(%rsp), %rax
movq 0x740(%rax), %rdi
movq 0xf0(%rsp), %rsi
callq 0x11230
movq 0xf0(%rsp), %rax
movq %rax, 0x110(%rsp)
movq 0x110(%rsp), %rax
addq $0x118, %rsp            # imm = 0x118
retq
nopw %cs:(%rax,%rax)