// File: /workspace/github_c_makefile_star2_O0/BernardTatin[P]s7sh/s7.c
// Function: closure_equivalent
static bool closure_equivalent(s7_scheme *sc, s7_pointer x, s7_pointer y, shared_info *ci)
                {
                    if (x == y)
                        return(true);
                    if (type(x) != type(y))
                        return(false);
                    if (has_active_methods(sc, y))
                        check_equivalent_method(sc, x, y);
                    /* not sure about this -- we can't simply check let_equal(closure_let(x), closure_let(y))
                     *   because locally defined constant functions on the second pass find the outer let.
                     */
                    return((s7_is_equivalent_1(sc, closure_args(x), closure_args(y), ci)) &&
                            (s7_is_equivalent_1(sc, closure_body(x), closure_body(y), ci)));
                }

// Assembly:
subq $0x88, %rsp
movq %rdi, 0x78(%rsp)
movq %rsi, 0x70(%rsp)
movq %rdx, 0x68(%rsp)
movq %rcx, 0x60(%rsp)
movq 0x70(%rsp), %rax
cmpq 0x68(%rsp), %rax
jne 0x1b4934
movb $0x1, 0x87(%rsp)
jmp 0x1b4b65
movq 0x70(%rsp), %rax
movzbl (%rax), %eax
movq 0x68(%rsp), %rcx
movzbl (%rcx), %ecx
cmpl %ecx, %eax
je 0x1b4955
movb $0x0, 0x87(%rsp)
jmp 0x1b4b65
movq 0x68(%rsp), %rax
movq (%rax), %rax
andq $0x40000000, %rax       # imm = 0x40000000
cmpq $0x0, %rax
je 0x1b4b03
movq 0x78(%rsp), %rax
testb $0x1, 0x24c(%rax)
je 0x1b4b03
jmp 0x1b4981
movq 0x70(%rsp), %rax
movq (%rax), %rax
andq $0x40000000, %rax       # imm = 0x40000000
cmpq $0x0, %rax
je 0x1b4aff
movq 0x78(%rsp), %rax
testb $0x1, 0x24c(%rax)
je 0x1b4aff
movq 0x78(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x78(%rsp), %rdi
movq 0x70(%rsp), %rsi
callq 0x9a10
movq 0x30(%rsp), %rdi
movq %rax, %rsi
movq 0x78(%rsp), %rax
movq 0x1100(%rax), %rdx
callq 0x98d0
movq %rax, 0x58(%rsp)
movq 0x58(%rsp), %rax
movq 0x78(%rsp), %rcx
cmpq 0x128(%rcx), %rax
je 0x1b4afd
movq 0x78(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x78(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x58(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x78(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x70(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x68(%rsp), %rax
movq %rax, 0x48(%rsp)
movq 0x78(%rsp), %rax
movq 0x110(%rax), %rax
movq %rax, 0x40(%rsp)
movq 0x78(%rsp), %rax
movq 0x90(%rax), %rax
movq 0x78(%rsp), %rcx
cmpq 0x98(%rcx), %rax
ja 0x1b4a6a
movq 0x78(%rsp), %rdi
callq 0xc670
movq 0x78(%rsp), %rcx
movq 0x90(%rcx), %rax
movq %rax, %rdx
addq $-0x8, %rdx
movq %rdx, 0x90(%rcx)
movq -0x8(%rax), %rax
movq %rax, 0x50(%rsp)
movq 0x50(%rsp), %rax
movq $0x200001, (%rax)       # imm = 0x200001
movq 0x28(%rsp), %rsi
movq 0x20(%rsp), %rdi
movq 0x48(%rsp), %rcx
movq 0x50(%rsp), %rax
movq %rcx, 0x8(%rax)
movq 0x40(%rsp), %rcx
movq 0x50(%rsp), %rax
movq %rcx, 0x10(%rax)
movq 0x50(%rsp), %rax
movq %rax, 0x38(%rsp)
movq 0x38(%rsp), %rdx
callq 0xd9f0
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %rsi
movq %rax, %rdx
callq 0xda50
movq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0x9be0
andb $0x1, %al
movb %al, 0x87(%rsp)
jmp 0x1b4b65
jmp 0x1b4aff
jmp 0x1b4b01
jmp 0x1b4b03
movq 0x78(%rsp), %rdi
movq 0x70(%rsp), %rax
movq 0x8(%rax), %rsi
movq 0x68(%rsp), %rax
movq 0x8(%rax), %rdx
movq 0x60(%rsp), %rcx
callq 0x3e960
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x7(%rsp)
jne 0x1b4b33
jmp 0x1b4b58
movq 0x78(%rsp), %rdi
movq 0x70(%rsp), %rax
movq 0x10(%rax), %rsi
movq 0x68(%rsp), %rax
movq 0x10(%rax), %rdx
movq 0x60(%rsp), %rcx
callq 0x3e960
movb %al, 0x7(%rsp)
movb 0x7(%rsp), %al
andb $0x1, %al
movb %al, 0x87(%rsp)
movb 0x87(%rsp), %al
andb $0x1, %al
addq $0x88, %rsp
retq
nopw %cs:(%rax,%rax)