// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: g_fv_ref_3
static s7_pointer g_fv_ref_3(s7_scheme *sc, s7_pointer args)
                {
                    s7_pointer fv, index;
                    s7_int ind1, ind2;
                    fv = car(args);
                    if (!is_float_vector(fv))
                        return(method_or_bust(sc, fv, sc->float_vector_ref_symbol, args, T_FLOAT_VECTOR, 1));
                    if (vector_rank(fv) != 2)
                        return(univect_ref(sc, args, sc->float_vector_ref_symbol, T_FLOAT_VECTOR));
                    index = cadr(args);
                    if (!s7_is_integer(index))
                        return(method_or_bust(sc, index, sc->float_vector_ref_symbol, args, T_INTEGER, 2));
                    ind1 = s7_integer(index);
                    if ((ind1 < 0) || (ind1 >= vector_dimension(fv, 0)))
                        return(simple_out_of_range(sc, sc->float_vector_ref_symbol, index, (ind1 < 0) ? its_negative_string : its_too_large_string));
                    index = caddr(args);
                    if (!s7_is_integer(index))
                        return(method_or_bust(sc, index, sc->float_vector_ref_symbol, args, T_INTEGER, 3));
                    ind2 = s7_integer(index);
                    if ((ind2 < 0) || (ind2 >= vector_dimension(fv, 1)))
                        return(simple_out_of_range(sc, sc->float_vector_ref_symbol, index, (ind2 < 0) ? its_negative_string : its_too_large_string));
                    ind1 = ind1 * vector_offset(fv, 0) + ind2;
                    return(make_real(sc, float_vector(fv, ind1)));
                }

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rax
movq %rdi, %rbx
movq 0x8(%rsi), %rsi
cmpb $0x17, (%rsi)
jne 0xce8af
movq 0x18(%rsi), %rcx
movq 0x20(%rcx), %rcx
testq %rcx, %rcx
je 0xce8ce
cmpq $0x2, 0x10(%rcx)
jne 0xce8ce
movq 0x10(%rax), %rdi
movq 0x8(%rdi), %r10
cmpb $0xb, (%r10)
jne 0xce8e8
movq 0x8(%r10), %rdx
testq %rdx, %rdx
js 0xce8ff
movq (%rcx), %r8
cmpq (%r8), %rdx
jge 0xce8ff
movq 0x10(%rdi), %rdi
movq 0x8(%rdi), %r10
cmpb $0xb, (%r10)
jne 0xce932
movq 0x8(%r10), %rax
testq %rax, %rax
js 0xce941
cmpq 0x8(%r8), %rax
jge 0xce941
movq 0x18(%rcx), %rcx
imulq (%rcx), %rdx
shlq $0x3, %rdx
addq 0x10(%rsi), %rdx
movsd (%rdx,%rax,8), %xmm0
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0xce88e
movq %rbx, %rdi
movsd %xmm0, 0x8(%rsp)
callq 0x9c27
movsd 0x8(%rsp), %xmm0
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movq $0xd, (%rax)
movsd %xmm0, 0x8(%rax)
addq $0x10, %rsp
popq %rbx
retq
movq 0xef0(%rbx), %rdx
pushq $0x17
popq %r8
pushq $0x1
popq %r9
movq %rbx, %rdi
movq %rax, %rcx
addq $0x10, %rsp
popq %rbx
jmp 0xcd70
movq 0xef0(%rbx), %rdx
pushq $0x17
popq %rcx
movq %rbx, %rdi
movq %rax, %rsi
addq $0x10, %rsp
popq %rbx
jmp 0xa941e
movq 0xef0(%rbx), %rdx
pushq $0xb
popq %r8
pushq $0x2
popq %r9
movq %rbx, %rdi
movq %r10, %rsi
jmp 0xce8c1
testq %rdx, %rdx
movq 0xef0(%rbx), %rax
movq 0x8(%rax), %rsi
leaq 0x4b134(%rip), %rax     # 0x119a48
leaq 0x4b125(%rip), %rcx     # 0x119a40
cmovsq %rax, %rcx
movq (%rcx), %rcx
movq %rbx, %rdi
movq %r10, %rdx
addq $0x10, %rsp
popq %rbx
jmp 0x35b47
movq 0xef0(%rbx), %rdx
pushq $0xb
popq %r8
pushq $0x3
jmp 0xce8f5
testq %rax, %rax
jmp 0xce902