// File: /workspace/github_c_makefile_star2_O0/BernardTatin[P]s7sh/s7.c
// Function: op_implicit_vector_aa
static goto_t op_implicit_vector_aa(s7_scheme *sc)
                {
                    s7_pointer v, x, y, code;

                    code = sc->code;
                    v = lookup_checked(sc, car(code));
                    if (!is_any_vector(v))
                    {
                        sc->last_function = v;
                        return(fall_through);
                    }
                    x = fx_call(sc, cdr(code));
                    y = fx_call(sc, cddr(code));
                    if ((s7_is_integer(x)) &&
                            (s7_is_integer(y)) &&
                            (vector_rank(v) == 2))
                    {
                        s7_int ix, iy;
                        ix = s7_integer(x);
                        iy = s7_integer(y);

                        if ((ix >= 0) &&
                                (iy >= 0) &&
                                (ix < vector_dimension(v, 0)) &&
                                (iy < vector_dimension(v, 1)))
                        {
                            s7_int index;
                            index = (ix * vector_offset(v, 0)) + iy;
                            sc->value = vector_getter(v)(sc, v, index);
                            return(goto_start);
                        }
                    }
                    sc->value = vector_ref_1(sc, v, set_plist_2(sc, x, y));
                    return(goto_start);
                }

// Assembly:
subq $0x98, %rsp
movq %rdi, 0x88(%rsp)
movq 0x88(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x68(%rsp)
movq 0x88(%rsp), %rdi
movq 0x68(%rsp), %rax
movq 0x8(%rax), %rsi
callq 0xde990
movq %rax, 0x60(%rsp)
cmpq $0x0, 0x60(%rsp)
je 0x12f75e
movq 0x60(%rsp), %rax
movq %rax, 0x18(%rsp)
jmp 0x12f779
movq 0x88(%rsp), %rdi
movq 0x68(%rsp), %rax
movq 0x8(%rax), %rsi
callq 0xdead0
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rax
movq %rax, 0x58(%rsp)
movq 0x58(%rsp), %rax
movq %rax, 0x80(%rsp)
movq 0x80(%rsp), %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq 0xeafac(%rip), %rax     # 0x21a750
testb $0x1, (%rax,%rcx)
jne 0x12f7d1
movq 0x80(%rsp), %rcx
movq 0x88(%rsp), %rax
movq %rcx, 0x1ed8(%rax)
movl $0x2, 0x94(%rsp)
jmp 0x12f9ee
movq 0x68(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x50(%rsp)
movq 0x50(%rsp), %rax
movq 0x20(%rax), %rax
movq 0x88(%rsp), %rdi
movq 0x50(%rsp), %rcx
movq 0x8(%rcx), %rsi
callq *%rax
movq %rax, 0x48(%rsp)
movq 0x48(%rsp), %rax
movq %rax, 0x78(%rsp)
movq 0x68(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %rax
movq %rax, 0x40(%rsp)
movq 0x40(%rsp), %rax
movq 0x20(%rax), %rax
movq 0x88(%rsp), %rdi
movq 0x40(%rsp), %rcx
movq 0x8(%rcx), %rsi
callq *%rax
movq %rax, 0x38(%rsp)
movq 0x38(%rsp), %rax
movq %rax, 0x70(%rsp)
movq 0x78(%rsp), %rdi
callq 0x11340
testb $0x1, %al
jne 0x12f85a
jmp 0x12f993
movq 0x70(%rsp), %rdi
callq 0x11340
testb $0x1, %al
jne 0x12f86d
jmp 0x12f993
movq 0x80(%rsp), %rax
movq 0x18(%rax), %rax
cmpq $0x0, 0x20(%rax)
je 0x12f89b
movq 0x80(%rsp), %rax
movq 0x18(%rax), %rax
movq 0x20(%rax), %rax
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
jmp 0x12f8a7
movl $0x1, %eax
movq %rax, 0x10(%rsp)
jmp 0x12f8a7
movq 0x10(%rsp), %rax
cmpq $0x2, %rax
jne 0x12f993
movq 0x78(%rsp), %rdi
callq 0x10790
movq %rax, 0x30(%rsp)
movq 0x70(%rsp), %rdi
callq 0x10790
movq %rax, 0x28(%rsp)
cmpq $0x0, 0x30(%rsp)
jl 0x12f991
cmpq $0x0, 0x28(%rsp)
jl 0x12f991
movq 0x30(%rsp), %rax
movq 0x80(%rsp), %rcx
movq 0x18(%rcx), %rcx
movq 0x20(%rcx), %rcx
movq (%rcx), %rcx
cmpq (%rcx), %rax
jge 0x12f991
movq 0x28(%rsp), %rax
movq 0x80(%rsp), %rcx
movq 0x18(%rcx), %rcx
movq 0x20(%rcx), %rcx
movq (%rcx), %rcx
cmpq 0x8(%rcx), %rax
jge 0x12f991
movq 0x30(%rsp), %rax
movq 0x80(%rsp), %rcx
movq 0x18(%rcx), %rcx
movq 0x20(%rcx), %rcx
movq 0x18(%rcx), %rcx
imulq (%rcx), %rax
addq 0x28(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x80(%rsp), %rax
movq 0x20(%rax), %rax
movq 0x88(%rsp), %rdi
movq 0x80(%rsp), %rsi
movq 0x20(%rsp), %rdx
callq *%rax
movq %rax, %rcx
movq 0x88(%rsp), %rax
movq %rcx, 0x20(%rax)
movl $0x0, 0x94(%rsp)
jmp 0x12f9ee
jmp 0x12f993
movq 0x88(%rsp), %rax
movq %rax, (%rsp)
movq 0x80(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x88(%rsp), %rdi
movq 0x78(%rsp), %rsi
movq 0x70(%rsp), %rdx
callq 0x36f70
movq (%rsp), %rdi
movq 0x8(%rsp), %rsi
movq %rax, %rdx
callq 0x16b410
movq %rax, %rcx
movq 0x88(%rsp), %rax
movq %rcx, 0x20(%rax)
movl $0x0, 0x94(%rsp)
movl 0x94(%rsp), %eax
addq $0x98, %rsp
retq
nopl (%rax)