// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: opt_do_any
static s7_pointer opt_do_any(opt_info *o)
                {
                    /* o->v[2].p=frame, o->v[1].i=body end index, o->v[3].i=body length, o->v[4].i=return length, o->v[5].i=end index */

                    opt_info *o1, *ostart;
                    int32_t loop, i;
                    s7_pointer vp, old_e, result;
                    s7_scheme *sc;

                    sc = o->sc;
                    old_e = sc->envir;
                    push_stack_no_let_no_code(sc, OP_GC_PROTECT, old_e);
                    sc->envir = T_Let(o->v[2].p);

                    /* init */
                    for (vp = let_slots(sc->envir); tis_slot(vp); vp = next_slot(vp))
                    {
                        o1 = sc->opts[++sc->pc];
                        slot_set_value(vp, o1->v[0].fp(o1));
                    }

                    loop = ++sc->pc;
                    ostart = sc->opts[loop];
                    while (true)
                    {
                        /* end */
                        if (ostart->v[0].fb(ostart))
                            break;

                        /* body */
                        for (i = 0; i < o->v[3].i; i++)
                        {
                            o1 = sc->opts[++sc->pc];
                            o1->v[0].fp(o1);
                        }

                        /* step (let not let*) */
                        for (vp = let_slots(sc->envir); tis_slot(vp); vp = next_slot(vp))
                            if (has_stepper(vp))
                            {
                                o1 = sc->opts[++sc->pc];
                                slot_set_pending_value(vp, o1->v[0].fp(o1));
                            }
                        for (vp = let_slots(sc->envir); tis_slot(vp); vp = next_slot(vp))
                            if (has_stepper(vp))
                                slot_set_value(vp, slot_pending_value(vp));

                        sc->pc = loop;
                    }
                    sc->pc = o->v[1].i;

                    /* result */
                    result = sc->T;
                    for (i = 0; i < o->v[4].i; i++)
                    {
                        o1 = sc->opts[++sc->pc];
                        result = o1->v[0].fp(o1);
                    }
                    sc->pc = o->v[5].i;
                    unstack(sc);
                    sc->envir = old_e;
                    return(result);
                }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x68(%rdi), %r15
movq 0x8(%r15), %r12
movq 0x50(%r15), %rax
movq %r12, 0x10(%rax)
movq 0x50(%r15), %rax
movq $0x1, 0x18(%rax)
addq $0x20, 0x50(%r15)
movq 0x10(%rdi), %r13
movq %r13, 0x8(%r15)
addq $0x8, %r13
movq (%r13), %r13
movslq 0x2258(%r15), %rax
leal 0x1(%rax), %ebp
movl %ebp, 0x2258(%r15)
movq 0x2268(%r15,%rax,8), %r14
testq %r13, %r13
je 0x89b81
movq %r14, %rdi
callq *(%r14)
movq %rax, 0x10(%r13)
addq $0x18, %r13
jmp 0x89ab5
xorl %r13d, %r13d
cmpq %r13, 0x18(%rbx)
jle 0x89b14
movslq 0x2258(%r15), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x2258(%r15)
movq 0x2268(%r15,%rax,8), %rdi
callq *(%rdi)
incq %r13
jmp 0x89aee
movq 0x8(%r15), %r13
addq $0x8, %r13
movq (%r13), %r13
testq %r13, %r13
je 0x89b56
testb $-0x80, 0x2(%r13)
je 0x89b50
movslq 0x2258(%r15), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x2258(%r15)
movq 0x2268(%r15,%rax,8), %rdi
callq *(%rdi)
movq %rax, 0x20(%r13)
orb $0x20, 0x3(%r13)
addq $0x18, %r13
jmp 0x89b1c
movq 0x8(%r15), %rax
addq $0x8, %rax
movq (%rax), %rax
testq %rax, %rax
je 0x89b7a
testb $-0x80, 0x2(%rax)
je 0x89b74
movq 0x20(%rax), %rcx
movq %rcx, 0x10(%rax)
addq $0x18, %rax
jmp 0x89b5e
movl %ebp, 0x2258(%r15)
movq %r14, %rdi
callq *(%r14)
testb %al, %al
je 0x89aeb
movl 0x8(%rbx), %eax
movl %eax, 0x2258(%r15)
movq 0x118(%r15), %rax
xorl %r14d, %r14d
cmpq %r14, 0x20(%rbx)
jle 0x89bc9
movslq 0x2258(%r15), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x2258(%r15)
movq 0x2268(%r15,%rax,8), %rdi
callq *(%rdi)
incq %r14
jmp 0x89ba3
movl 0x28(%rbx), %ecx
movl %ecx, 0x2258(%r15)
addq $-0x20, 0x50(%r15)
movq %r12, 0x8(%r15)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq