// File: /workspace/github_c_makefile_star2_O3/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 %r14
pushq %rbx
pushq %rax
movq %rsi, %rcx
movq %rdi, %rbx
movq 0x8(%rsi), %rsi
cmpb $0x17, (%rsi)
jne 0x10217d
movq 0x18(%rsi), %rax
movq 0x20(%rax), %rdx
testq %rdx, %rdx
je 0x10219f
cmpq $0x2, 0x10(%rdx)
jne 0x10219f
movq 0x10(%rcx), %r8
movq 0x8(%r8), %rax
cmpb $0xb, (%rax)
jne 0x1021bd
movq 0x8(%rax), %rdi
testq %rdi, %rdi
js 0x1021d8
movq (%rdx), %r9
cmpq (%r9), %rdi
jge 0x1021d8
movq 0x10(%r8), %rax
movq 0x8(%rax), %rax
cmpb $0xb, (%rax)
jne 0x10223e
movq 0x8(%rax), %rcx
testq %rcx, %rcx
js 0x10225c
cmpq 0x8(%r9), %rcx
jge 0x10225c
movq 0x18(%rdx), %rax
imulq (%rax), %rdi
shlq $0x3, %rdi
addq 0x10(%rsi), %rdi
movsd (%rdi,%rcx,8), %xmm0
movq 0x90(%rbx), %rax
cmpq 0x98(%rbx), %rax
ja 0x10215c
movq %rbx, %rdi
movsd %xmm0, (%rsp)
callq 0xa550
movsd (%rsp), %xmm0
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %r14
movq $0xd, (%r14)
movsd %xmm0, 0x8(%r14)
jmp 0x102233
movq 0xef0(%rbx), %rdx
movq %rbx, %rdi
movl $0x17, %r8d
movl $0x1, %r9d
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xe42d
movq 0xef0(%rbx), %rdx
movq %rbx, %rdi
movq %rcx, %rsi
movl $0x17, %ecx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xd6155
movq 0xef0(%rbx), %rdx
movq %rbx, %rdi
movq %rax, %rsi
movl $0xb, %r8d
movl $0x2, %r9d
jmp 0x102193
testq %rdi, %rdi
movq 0xef0(%rbx), %rcx
movq 0x8(%rcx), %rcx
leaq 0x4885b(%rip), %rdx     # 0x14aa48
leaq 0x4884c(%rip), %rsi     # 0x14aa40
cmovsq %rdx, %rsi
movq (%rsi), %rdx
movq 0x1ef8(%rbx), %rsi
movq 0x10(%rsi), %rsi
movq %rcx, 0x8(%rsi)
movq 0x10(%rsi), %rcx
movq %rax, 0x8(%rcx)
movq 0x10(%rcx), %rax
movq %rdx, 0x8(%rax)
movq 0x1948(%rbx), %r14
movq 0x1ef8(%rbx), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x38dfa
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq 0xef0(%rbx), %rdx
movq %rbx, %rdi
movq %rax, %rsi
movl $0xb, %r8d
movl $0x3, %r9d
jmp 0x102193
testq %rcx, %rcx
jmp 0x1021db