// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x78, %rsp
movq %rdi, 0x68(%rsp)
movq %rsi, 0x60(%rsp)
movq 0x68(%rsp), %rdi
movq 0x68(%rsp), %rax
movq 0x110(%rax), %rsi
callq 0xc53b0
movq %rax, 0x58(%rsp)
movq 0x58(%rsp), %rcx
movq 0x68(%rsp), %rax
movq %rcx, 0x508(%rax)
movq 0x58(%rsp), %rax
movq 0x18(%rax), %rax
movq %rax, 0x48(%rsp)
movq 0x60(%rsp), %rax
movq %rax, 0x50(%rsp)
movq 0x50(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x1, %eax
jne 0x1d866c
movq 0x50(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x40(%rsp)
movq 0x40(%rsp), %rax
movzwl 0x6(%rax), %eax
andl $0x80, %eax
cmpl $0x0, %eax
je 0x1d847a
movq 0x40(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x20(%rax), %rax
movq 0x18(%rax), %rax
movq %rax, 0x40(%rsp)
movq 0x68(%rsp), %rdi
movq 0x40(%rsp), %rsi
callq 0xc57c0
testb $0x1, %al
jne 0x1d8492
jmp 0x1d8596
movq 0x68(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x68(%rsp), %rax
movq 0xfa0(%rax), %rax
movq 0x8(%rax), %rax
movq %rax, 0x10(%rsp)
movq $0x1, 0x30(%rsp)
movq 0x30(%rsp), %rax
andq $-0x800, %rax           # imm = 0xF800
cmpq $0x0, %rax
jne 0x1d84e1
movq 0x30(%rsp), %rcx
leaq 0x3dfa9(%rip), %rax     # 0x216480
movq (%rax,%rcx,8), %rax
movq %rax, (%rsp)
jmp 0x1d8557
jmp 0x1d84e3
movq 0x68(%rsp), %rax
movq 0x90(%rax), %rax
movq 0x68(%rsp), %rcx
cmpq 0x98(%rcx), %rax
ja 0x1d8507
movq 0x68(%rsp), %rdi
callq 0xc670
movq 0x68(%rsp), %rcx
movq 0x90(%rcx), %rax
movq %rax, %rdx
addq $-0x8, %rdx
movq %rdx, 0x90(%rcx)
movq -0x8(%rax), %rax
movq %rax, 0x20(%rsp)
movq 0x20(%rsp), %rax
movq $0xb, (%rax)
movq 0x30(%rsp), %rcx
movq 0x20(%rsp), %rax
movq %rcx, 0x8(%rax)
movq 0x20(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rax
movq %rax, (%rsp)
movq 0x10(%rsp), %rsi
movq 0x8(%rsp), %rdi
movq (%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rdx
movq 0x40(%rsp), %rcx
movq 0x68(%rsp), %rax
movq 0x140(%rax), %r8
movq 0x45469(%rip), %r9      # 0x21d9f0
callq 0xc560
movq %rax, 0x70(%rsp)
jmp 0x1d868e
jmp 0x1d8598
movq 0x68(%rsp), %rcx
movq 0x90(%rcx), %rax
movq %rax, %rdx
addq $-0x8, %rdx
movq %rdx, 0x90(%rcx)
movq -0x8(%rax), %rax
movq %rax, 0x38(%rsp)
movq 0x38(%rsp), %rax
movq $0x20, (%rax)
movq 0x40(%rsp), %rcx
movq 0x38(%rsp), %rax
movq %rcx, 0x8(%rax)
movq 0x50(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rcx
movq 0x38(%rsp), %rax
movq %rcx, 0x10(%rax)
movq 0x58(%rsp), %rax
movq 0x8(%rax), %rcx
movq 0x38(%rsp), %rax
movq %rcx, 0x18(%rax)
movq 0x38(%rsp), %rcx
movq 0x58(%rsp), %rax
movq %rcx, 0x8(%rax)
movq 0x40(%rsp), %rax
movq (%rax), %rcx
orq $0x100000, %rcx         # imm = 0x100000
andq $-0x12201, %rcx         # imm = 0xFFFEDDFF
movq 0x40(%rsp), %rax
movq %rcx, (%rax)
movq 0x38(%rsp), %rcx
movq 0x40(%rsp), %rax
movq %rcx, 0x18(%rax)
movq 0x48(%rsp), %rcx
movq 0x40(%rsp), %rax
movq %rcx, 0x20(%rax)
movq 0x40(%rsp), %rax
movl 0x28(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x28(%rax)
jmp 0x1d8655
movq 0x50(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %rax
movq %rax, 0x50(%rsp)
jmp 0x1d8432
movq 0x68(%rsp), %rax
movq 0x110(%rax), %rcx
movq 0x68(%rsp), %rax
movq %rcx, 0x508(%rax)
movq 0x58(%rsp), %rax
movq %rax, 0x70(%rsp)
movq 0x70(%rsp), %rax
addq $0x78, %rsp
retq
nopl (%rax,%rax)