// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: g_simple_inlet
static s7_pointer g_simple_inlet(s7_scheme *sc, s7_pointer args)
    {
        /* here all args are paired with normal symbol/value, no fallbacks, no immutable symbols etc */
        s7_pointer new_e, x;
        int64_t id;
        new_e = new_frame_in_env(sc, sc->nil);
        sc->temp3 = new_e;
        id = let_id(new_e);
        for (x = args; is_pair(x); x = cddr(x))
        {
            s7_pointer symbol, slot;
            symbol = car(x);
            if (is_keyword(symbol))                 /* (inlet ':allow-other-keys 3) */
                symbol = keyword_symbol(symbol);
            if (is_constant_symbol(sc, symbol))     /* (inlet 'pi 1) */
                return(wrong_type_argument_with_type(sc, sc->inlet_symbol, 1, symbol, a_non_constant_symbol_string));
            new_cell_no_check(sc, slot, T_SLOT);
            slot_set_symbol(slot, symbol);
            slot_set_value(slot, cadr(x));
            slot_set_next(slot, let_slots(new_e));
            let_set_slots(new_e, slot);
            set_local(symbol);
            symbol_set_local(symbol, id, slot);
        }
        sc->temp3 = sc->nil;
        return(new_e);
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq 0x90(%rdi), %rax
movq 0x110(%rdi), %r15
cmpq 0x98(%rdi), %rax
ja 0x103aa4
movq %rbx, %rdi
callq 0xa550
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movq $0x20001c, (%rax)       # imm = 0x20001C
movq 0x250(%rbx), %rcx
incq %rcx
movq %rcx, 0x250(%rbx)
movq %rcx, 0x18(%rax)
movq $0x0, 0x8(%rax)
movq %r15, 0x10(%rax)
movq %rax, 0x508(%rbx)
cmpb $0x1, (%r14)
jne 0x103bf6
movq 0x18(%rax), %rdx
movq $-0x112201, %rsi        # imm = 0xFFEEDDFF
movq 0x8(%r14), %rcx
testb $-0x80, 0x6(%rcx)
je 0x103b0d
movq 0x8(%rcx), %rcx
movq 0x20(%rcx), %rcx
movq 0x18(%rcx), %rcx
movq (%rcx), %rdi
btl $0x18, %edi
jb 0x103c0a
btq $0x30, %rdi
jae 0x103b60
movq 0x8(%rbx), %r8
movq 0x18(%r8), %r10
movq 0x20(%rcx), %r9
movl $0x18, %edi
cmpq %r9, %r10
je 0x103b4b
jle 0x103b46
movq 0x10(%r8), %r8
movq 0x18(%r8), %r10
cmpq %r10, %r9
jl 0x103b39
cmpq %r9, %r10
jne 0x103bc8
movq (%rcx,%rdi), %r9
cmpb $0x20, (%r9)
jne 0x103b60
testb $0x1, 0x3(%r9)
jne 0x103c0a
movq 0x90(%rbx), %rdi
leaq -0x8(%rdi), %r8
movq %r8, 0x90(%rbx)
movq -0x8(%rdi), %rdi
movq $0x20, (%rdi)
movq %rcx, 0x8(%rdi)
movq 0x10(%r14), %r8
movq 0x8(%r8), %r8
movq %r8, 0x10(%rdi)
movq 0x8(%rax), %r8
movq %r8, 0x18(%rdi)
movq %rdi, 0x8(%rax)
movq (%rcx), %r8
andq %rsi, %r8
orq $0x100000, %r8          # imm = 0x100000
movq %r8, (%rcx)
movq %rdi, 0x18(%rcx)
movq %rdx, 0x20(%rcx)
incl 0x28(%rcx)
movq 0x10(%r14), %rcx
movq 0x10(%rcx), %r14
cmpb $0x1, (%r14)
je 0x103af7
jmp 0x103bf6
movl $0x10, %edi
cmpb $0x1c, (%r8)
jne 0x103b4b
movq 0x8(%r8), %r9
testq %r9, %r9
je 0x103bf0
cmpq %rcx, 0x8(%r9)
je 0x103b4f
movq 0x18(%r9), %r9
jmp 0x103bdb
movq 0x10(%r8), %r8
jmp 0x103bcd
movq 0x110(%rbx), %rcx
movq %rcx, 0x508(%rbx)
popq %rbx
popq %r14
popq %r15
retq
movq 0xfa0(%rbx), %rax
movq 0x8(%rax), %rsi
movq 0x42d3c(%rip), %rdx     # 0x146958
movq 0x140(%rbx), %r8
movq 0x4a28e(%rip), %r9      # 0x14deb8
movq %rbx, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0xa4e4