// File: /workspace/github_c_makefile_star2_O1/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 %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x90(%rdi), %rax
movq 0x110(%rdi), %r12
cmpq 0x98(%rdi), %rax
ja 0x10cf49
movq %rbx, %rdi
callq 0xb389
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %r15
movq $0x20001c, (%r15)       # imm = 0x20001C
movq 0x250(%rbx), %rax
incq %rax
movq %rax, 0x250(%rbx)
movq %rax, 0x18(%r15)
movq $0x0, 0x8(%r15)
movq %r12, 0x10(%r15)
movq %r15, 0x508(%rbx)
cmpb $0x1, (%r14)
jne 0x10d0d8
movq 0x18(%r15), %r12
movq $-0x112201, %r13        # imm = 0xFFEEDDFF
movq 0x8(%r14), %rcx
testb $-0x80, 0x6(%rcx)
je 0x10cfb9
movq 0x8(%rcx), %rcx
movq 0x20(%rcx), %rcx
movq 0x18(%rcx), %rcx
movb $0x1, %bpl
testb $0x1, 0x3(%rcx)
jne 0x10d03e
testb $0x1, 0x6(%rcx)
je 0x10d03c
movq 0x8(%rbx), %rsi
movq 0x18(%rsi), %r8
movq 0x20(%rcx), %rdi
movl $0x18, %edx
cmpq %rdi, %r8
je 0x10d029
jle 0x10cfed
movq 0x10(%rsi), %rsi
movq 0x18(%rsi), %r8
cmpq %r8, %rdi
jl 0x10cfe0
cmpq %rdi, %r8
je 0x10d029
movl $0x10, %edx
cmpb $0x1c, (%rsi)
jne 0x10d029
movq 0x8(%rsi), %r8
testq %r8, %r8
sete %r9b
je 0x10d01b
cmpq %rcx, 0x8(%r8)
je 0x10d015
movq 0x18(%r8), %r8
jmp 0x10d000
xorl %r9d, %r9d
movq %r8, %rdi
testb %r9b, %r9b
je 0x10d02d
movq 0x10(%rsi), %rsi
cmpb $0x1c, (%rsi)
je 0x10cffc
movq (%rcx,%rdx), %rdi
cmpb $0x20, (%rdi)
jne 0x10d03c
movb 0x3(%rdi), %bpl
andb $0x1, %bpl
jmp 0x10d03e
xorl %ebp, %ebp
testb %bpl, %bpl
je 0x10d06d
movq 0xfa0(%rbx), %rax
movq 0x8(%rax), %rsi
movq 0x41903(%rip), %rdx     # 0x14e958
movq 0x140(%rbx), %r8
movq 0x48e55(%rip), %r9      # 0x155eb8
movq %rbx, %rdi
callq 0xb31d
jmp 0x10d0c1
movq 0x90(%rbx), %rdx
leaq -0x8(%rdx), %rsi
movq %rsi, 0x90(%rbx)
movq -0x8(%rdx), %rdx
movq $0x20, (%rdx)
movq %rcx, 0x8(%rdx)
movq 0x10(%r14), %rsi
movq 0x8(%rsi), %rsi
movq %rsi, 0x10(%rdx)
movq 0x8(%r15), %rsi
movq %rsi, 0x18(%rdx)
movq %rdx, 0x8(%r15)
movq (%rcx), %rsi
andq %r13, %rsi
orq $0x100000, %rsi         # imm = 0x100000
movq %rsi, (%rcx)
movq %rdx, 0x18(%rcx)
movq %r12, 0x20(%rcx)
incl 0x28(%rcx)
testb %bpl, %bpl
jne 0x10d0e8
movq 0x10(%r14), %rcx
movq 0x10(%rcx), %r14
cmpb $0x1, (%r14)
je 0x10cfa3
movq 0x110(%rbx), %rax
movq %rax, 0x508(%rbx)
jmp 0x10d0eb
movq %rax, %r15
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq