// File: /workspace/github_c_makefile_star2_O0/BernardTatin[P]s7sh/s7.c
// Function: g_local_inlet
static s7_pointer g_local_inlet(s7_scheme *sc, s7_int num_args, ...)
    {
        va_list ap;
        s7_int i;
        s7_pointer new_e;
        int64_t id;

        new_e = new_frame_in_env(sc, sc->nil);
        sc->temp3 = new_e;
        id = let_id(new_e);

        va_start(ap, num_args);
        for (i = 0; i < num_args; i += 2)
        {
            s7_pointer symbol, slot, value;
            symbol = va_arg(ap, s7_pointer);
            value = va_arg(ap, s7_pointer);
            if (is_keyword(symbol))                 /* (inlet ':allow-other-keys 3) */
                symbol = keyword_symbol(symbol);
            new_cell_no_check(sc, slot, T_SLOT);
            slot_set_symbol(slot, symbol);
            slot_set_value(slot, value);
            slot_set_next(slot, let_slots(new_e));
            let_set_slots(new_e, slot);
            set_local(symbol);
            symbol_set_local(symbol, id, slot);
        }
        va_end(ap);

        sc->temp3 = sc->nil;
        return(new_e);
    }

// Assembly:
subq $0x138, %rsp            # imm = 0x138
testb %al, %al
je 0x1c4795
movaps %xmm0, 0x60(%rsp)
movaps %xmm1, 0x70(%rsp)
movaps %xmm2, 0x80(%rsp)
movaps %xmm3, 0x90(%rsp)
movaps %xmm4, 0xa0(%rsp)
movaps %xmm5, 0xb0(%rsp)
movaps %xmm6, 0xc0(%rsp)
movaps %xmm7, 0xd0(%rsp)
movq %r9, 0x58(%rsp)
movq %r8, 0x50(%rsp)
movq %rcx, 0x48(%rsp)
movq %rdx, 0x40(%rsp)
movq %rdi, 0x130(%rsp)
movq %rsi, 0x128(%rsp)
movq 0x130(%rsp), %rdi
movq 0x130(%rsp), %rax
movq 0x110(%rax), %rsi
callq 0xc53b0
movq %rax, 0x100(%rsp)
movq 0x100(%rsp), %rcx
movq 0x130(%rsp), %rax
movq %rcx, 0x508(%rax)
movq 0x100(%rsp), %rax
movq 0x18(%rax), %rax
movq %rax, 0xf8(%rsp)
leaq 0x110(%rsp), %rax
leaq 0x30(%rsp), %rcx
movq %rcx, 0x10(%rax)
leaq 0x140(%rsp), %rcx
movq %rcx, 0x8(%rax)
movl $0x30, 0x4(%rax)
movl $0x10, (%rax)
movq $0x0, 0x108(%rsp)
movq 0x108(%rsp), %rax
cmpq 0x128(%rsp), %rax
jge 0x1c4a4d
leaq 0x110(%rsp), %rax
movq %rax, 0x20(%rsp)
movl 0x110(%rsp), %eax
movl %eax, 0x2c(%rsp)
cmpl $0x28, %eax
ja 0x1c488d
movq 0x20(%rsp), %rcx
movl 0x2c(%rsp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, 0x18(%rsp)
jmp 0x1c48a6
movq 0x20(%rsp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rax
movq (%rax), %rax
movq %rax, 0xf0(%rsp)
leaq 0x110(%rsp), %rax
movq %rax, 0x8(%rsp)
movl 0x110(%rsp), %eax
movl %eax, 0x14(%rsp)
cmpl $0x28, %eax
ja 0x1c48ee
movq 0x8(%rsp), %rcx
movl 0x14(%rsp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, (%rsp)
jmp 0x1c4906
movq 0x8(%rsp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, (%rsp)
movq (%rsp), %rax
movq (%rax), %rax
movq %rax, 0xe0(%rsp)
movq 0xf0(%rsp), %rax
movzwl 0x6(%rax), %eax
andl $0x80, %eax
cmpl $0x0, %eax
je 0x1c4947
movq 0xf0(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x20(%rax), %rax
movq 0x18(%rax), %rax
movq %rax, 0xf0(%rsp)
jmp 0x1c4949
movq 0x130(%rsp), %rcx
movq 0x90(%rcx), %rax
movq %rax, %rdx
addq $-0x8, %rdx
movq %rdx, 0x90(%rcx)
movq -0x8(%rax), %rax
movq %rax, 0xe8(%rsp)
movq 0xe8(%rsp), %rax
movq $0x20, (%rax)
movq 0xf0(%rsp), %rcx
movq 0xe8(%rsp), %rax
movq %rcx, 0x8(%rax)
movq 0xe0(%rsp), %rcx
movq 0xe8(%rsp), %rax
movq %rcx, 0x10(%rax)
movq 0x100(%rsp), %rax
movq 0x8(%rax), %rcx
movq 0xe8(%rsp), %rax
movq %rcx, 0x18(%rax)
movq 0xe8(%rsp), %rcx
movq 0x100(%rsp), %rax
movq %rcx, 0x8(%rax)
movq 0xf0(%rsp), %rax
movq (%rax), %rcx
orq $0x100000, %rcx         # imm = 0x100000
andq $-0x12201, %rcx         # imm = 0xFFFEDDFF
movq 0xf0(%rsp), %rax
movq %rcx, (%rax)
movq 0xe8(%rsp), %rcx
movq 0xf0(%rsp), %rax
movq %rcx, 0x18(%rax)
movq 0xf8(%rsp), %rcx
movq 0xf0(%rsp), %rax
movq %rcx, 0x20(%rax)
movq 0xf0(%rsp), %rax
movl 0x28(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x28(%rax)
jmp 0x1c4a34
movq 0x108(%rsp), %rax
addq $0x2, %rax
movq %rax, 0x108(%rsp)
jmp 0x1c483e
movq 0x130(%rsp), %rax
movq 0x110(%rax), %rcx
movq %rcx, 0x508(%rax)
movq 0x100(%rsp), %rax
addq $0x138, %rsp            # imm = 0x138
retq
nopw %cs:(%rax,%rax)