// File: /workspace/github_c_makefile_star2_O0/BernardTatin[P]s7sh/s7.c
// Function: g_coverlet
static s7_pointer g_coverlet(s7_scheme *sc, s7_pointer args)
    {
        s7_pointer e;
#define H_coverlet "(coverlet e) undoes an earlier openlet."
#define Q_coverlet sc->pcl_e

        e = car(args);
        sc->temp3 = e;
        check_method_uncopied(sc, e, sc->coverlet_symbol, list_1(sc, e));
        sc->temp3 = sc->nil;
        if ((e == sc->rootlet) || (e == sc->s7_let))
            s7_error(sc, sc->error_symbol, set_elist_2(sc, wrap_string(sc, "can't coverlet ~S", 17), e));

        if ((is_let(e)) ||
                (has_closure_let(e)) ||
                ((is_c_object(e)) && (c_object_let(e) != sc->nil)) ||
                ((is_c_pointer(e)) && (is_let(c_pointer_info(e)))))
        {
            clear_has_methods(e);
            return(e);
        }
        return(simple_wrong_type_argument_with_type(sc, sc->coverlet_symbol, e, a_let_string));
    }

// Assembly:
subq $0x78, %rsp
movq %rdi, 0x68(%rsp)
movq %rsi, 0x60(%rsp)
movq 0x60(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x58(%rsp)
movq 0x58(%rsp), %rcx
movq 0x68(%rsp), %rax
movq %rcx, 0x508(%rax)
movq 0x58(%rsp), %rax
movq (%rax), %rax
andq $0x40000000, %rax       # imm = 0x40000000
cmpq $0x0, %rax
je 0x69656
movq 0x68(%rsp), %rax
testb $0x1, 0x24c(%rax)
je 0x69656
movq 0x68(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x68(%rsp), %rdi
movq 0x58(%rsp), %rsi
callq 0x9a10
movq 0x28(%rsp), %rdi
movq %rax, %rsi
movq 0x68(%rsp), %rax
movq 0xe38(%rax), %rdx
callq 0x98d0
movq %rax, 0x50(%rsp)
movq 0x68(%rsp), %rcx
cmpq 0x128(%rcx), %rax
je 0x69656
movq 0x68(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x50(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x58(%rsp), %rax
movq %rax, 0x40(%rsp)
movq 0x68(%rsp), %rax
movq 0x110(%rax), %rax
movq %rax, 0x38(%rsp)
movq 0x68(%rsp), %rax
movq 0x90(%rax), %rax
movq 0x68(%rsp), %rcx
cmpq 0x98(%rcx), %rax
ja 0x695e3
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, 0x48(%rsp)
movq 0x48(%rsp), %rax
movq $0x200001, (%rax)       # imm = 0x200001
movq 0x20(%rsp), %rsi
movq 0x18(%rsp), %rdi
movq 0x40(%rsp), %rcx
movq 0x48(%rsp), %rax
movq %rcx, 0x8(%rax)
movq 0x38(%rsp), %rcx
movq 0x48(%rsp), %rax
movq %rcx, 0x10(%rax)
movq 0x48(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x30(%rsp), %rdx
callq 0xda50
movq %rax, 0x70(%rsp)
jmp 0x697ac
movq 0x68(%rsp), %rax
movq 0x110(%rax), %rcx
movq 0x68(%rsp), %rax
movq %rcx, 0x508(%rax)
movq 0x58(%rsp), %rax
movq 0x68(%rsp), %rcx
cmpq 0x150(%rcx), %rax
je 0x69694
movq 0x58(%rsp), %rax
movq 0x68(%rsp), %rcx
cmpq 0x2150(%rcx), %rax
jne 0x696f1
movq 0x68(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x68(%rsp), %rax
movq 0xea8(%rax), %rax
movq %rax, 0x10(%rsp)
movq 0x68(%rsp), %rax
movq %rax, (%rsp)
movq 0x68(%rsp), %rdi
leaq 0x189e58(%rip), %rsi    # 0x1f351c
movl $0x11, %edx
callq 0xb880
movq (%rsp), %rdi
movq %rax, %rsi
movq 0x58(%rsp), %rdx
callq 0xb830
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq %rax, %rdx
callq 0x2f940
movq 0x58(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x1c, %eax
je 0x69757
movq 0x58(%rsp), %rax
movzbl (%rax), %eax
movl %eax, %ecx
leaq 0x1acd31(%rip), %rax    # 0x216440
testb $0x1, (%rax,%rcx)
jne 0x69757
movq 0x58(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x14, %eax
jne 0x69739
movq 0x58(%rsp), %rax
movq 0x18(%rax), %rax
movq 0x68(%rsp), %rcx
cmpq 0x110(%rcx), %rax
jne 0x69757
movq 0x58(%rsp), %rax
movzbl (%rax), %eax
cmpl $0x21, %eax
jne 0x69775
movq 0x58(%rsp), %rax
movq 0x18(%rax), %rax
movzbl (%rax), %eax
cmpl $0x1c, %eax
jne 0x69775
movq 0x58(%rsp), %rax
movq (%rax), %rcx
andq $-0x40000001, %rcx      # imm = 0xBFFFFFFF
movq %rcx, (%rax)
movq 0x58(%rsp), %rax
movq %rax, 0x70(%rsp)
jmp 0x697ac
movq 0x68(%rsp), %rdi
movq 0x68(%rsp), %rax
movq 0xe38(%rax), %rax
movq 0x8(%rax), %rsi
movq 0x58(%rsp), %rdx
movq 0x68(%rsp), %rax
movq 0x140(%rax), %rcx
movq 0x1b0ce6(%rip), %r8     # 0x21a488
callq 0x14a60
movq %rax, 0x70(%rsp)
movq 0x70(%rsp), %rax
addq $0x78, %rsp
retq
nopw %cs:(%rax,%rax)