// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: pair_equivalent
static bool pair_equivalent(s7_scheme *sc, s7_pointer x, s7_pointer y, shared_info *ci)
                {
                    shared_info *nci;
                    s7_pointer px, py;

                    if (x == y)
                        return(true);
                    if (!is_pair(y))
                    {
                        check_equivalent_method(sc, y, x);
                        return(false);
                    }

                    if (ci)
                    {
                        nci = ci;
                        equal_ref(sc, x, y, ci);
                    }
                    else nci = new_shared_info(sc);

                    if (!s7_is_equivalent_1(sc, car(x), car(y), nci)) return(false);
                    for (px = cdr(x), py = cdr(y); (is_pair(px)) && (is_pair(py)); px = cdr(px), py = cdr(py))
                    {
                        if (!s7_is_equivalent_1(sc, car(px), car(py), nci)) return(false);
                        equal_ref(sc, px, py, nci);
                    }
                    if (px == py) /* normally nil? */
                        return(true);
                    return(s7_is_equivalent_1(sc, px, py, nci));
                }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movb $0x1, %bpl
cmpq %rdx, %rsi
je 0xc50bb
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
cmpb $0x1, (%rdx)
jne 0xc4e03
movq %rcx, %r12
testq %rcx, %rcx
je 0xc4ec9
xorl %r13d, %r13d
testb $0x2, 0x2(%r14)
je 0xc4ddf
movq %r12, %rdi
movq %r14, %rsi
callq 0x785fb
movl %eax, %r13d
movq (%r15), %rax
btl $0x11, %eax
jb 0xc4ed9
testl %r13d, %r13d
je 0xc4ef5
movq %r12, %rdi
movq %r15, %rsi
movl %r13d, %edx
jmp 0xc4f73
testb $0x40, 0x3(%r14)
je 0xc50b9
cmpb $0x1, 0x24c(%rbx)
jne 0xc50b9
movq %rbx, %rdi
movq %r14, %rsi
callq 0x88f3
movq 0x1100(%rbx), %rdx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x888f
cmpq 0x128(%rbx), %rax
je 0xc50b9
movq %rax, %r12
movq 0x90(%rbx), %rax
movq 0x110(%rbx), %r13
cmpq 0x98(%rbx), %rax
ja 0xc4e6e
movq %rbx, %rdi
callq 0x9c27
movq 0x90(%rbx), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0x90(%rbx)
movq -0x8(%rax), %rax
movl $0x200001, %ecx         # imm = 0x200001
movq %rcx, (%rax)
movq %r15, 0x8(%rax)
movq %r13, 0x10(%rax)
movq 0x90(%rbx), %rdx
leaq -0x8(%rdx), %rsi
movq %rsi, 0x90(%rbx)
movq -0x8(%rdx), %rdx
movq %rcx, (%rdx)
movq %r14, 0x8(%rdx)
movq %rax, 0x10(%rdx)
movq %rbx, %rdi
movq %r12, %rsi
callq 0xa34c
cmpq %rax, 0x120(%rbx)
setne %bpl
jmp 0xc50bb
movq %rbx, %rdi
callq 0x77cff
movq %rax, %r12
jmp 0xc4f78
movq %r12, %rdi
movq %r15, %rsi
callq 0x785fb
testl %r13d, %r13d
je 0xc4f67
cmpl %r13d, %eax
sete %bpl
jmp 0xc50bb
movl 0xc(%r12), %ecx
cmpl 0x14(%r12), %ecx
jl 0xc4f0c
movq %r12, %rdi
callq 0x78405
movq (%r15), %rax
orq $0x20000, %rax          # imm = 0x20000
movq %rax, (%r15)
orb $0x2, 0x2(%r14)
movq (%r12), %rax
movslq 0xc(%r12), %rcx
movq %r15, (%rax,%rcx,8)
movl 0x10(%r12), %eax
incl %eax
movl %eax, 0x10(%r12)
movq 0x20(%r12), %rdx
leal 0x1(%rcx), %esi
movl %esi, 0xc(%r12)
movl %eax, (%rdx,%rcx,4)
movq (%r12), %rax
movslq 0xc(%r12), %rcx
movq %r14, (%rax,%rcx,8)
movl 0x10(%r12), %eax
movq 0x20(%r12), %rdx
leal 0x1(%rcx), %esi
movl %esi, 0xc(%r12)
movl %eax, (%rdx,%rcx,4)
jmp 0xc4f78
testl %eax, %eax
je 0xc4f78
movq %r12, %rdi
movq %r14, %rsi
movl %eax, %edx
callq 0xc57c1
movq 0x8(%r15), %rsi
movq 0x8(%r14), %rdx
movzbl (%rsi), %eax
leaq 0x5cf36(%rip), %r8      # 0x121ec0
movq %rbx, %rdi
movq %r12, %rcx
callq *(%r8,%rax,8)
testb %al, %al
je 0xc50b9
movq 0x10(%r15), %r15
movq 0x10(%r14), %r14
movzbl (%r15), %eax
cmpq $0x1, %rax
jne 0xc50cc
cmpb $0x1, (%r14)
jne 0xc50cc
movq 0x8(%r15), %rsi
movq 0x8(%r14), %rdx
movzbl (%rsi), %eax
movq %rbx, %rdi
movq %r12, %rcx
leaq 0x5ceec(%rip), %r8      # 0x121ec0
callq *(%r8,%rax,8)
xorl %r13d, %r13d
testb %al, %al
je 0xc50b9
testb $0x2, 0x2(%r14)
je 0xc4ff8
movq %r12, %rdi
movq %r14, %rsi
callq 0x785fb
movl %eax, %r13d
movq (%r15), %rax
btl $0x11, %eax
jb 0xc5016
testl %r13d, %r13d
je 0xc5044
movq %r12, %rdi
movq %r15, %rsi
movl %r13d, %edx
callq 0xc57c1
jmp 0xc4f9c
movq %r12, %rdi
movq %r15, %rsi
callq 0x785fb
testl %r13d, %r13d
jne 0xc4ee9
testl %eax, %eax
je 0xc4f9c
movq %r12, %rdi
movq %r14, %rsi
movl %eax, %edx
callq 0xc57c1
jmp 0xc4f9c
movl 0xc(%r12), %ecx
cmpl 0x14(%r12), %ecx
jl 0xc505b
movq %r12, %rdi
callq 0x78405
movq (%r15), %rax
orq $0x20000, %rax          # imm = 0x20000
movq %rax, (%r15)
orb $0x2, 0x2(%r14)
movq (%r12), %rax
movslq 0xc(%r12), %rcx
movq %r15, (%rax,%rcx,8)
movl 0x10(%r12), %eax
incl %eax
movl %eax, 0x10(%r12)
movq 0x20(%r12), %rdx
leal 0x1(%rcx), %esi
movl %esi, 0xc(%r12)
movl %eax, (%rdx,%rcx,4)
movq (%r12), %rax
movslq 0xc(%r12), %rcx
movq %r14, (%rax,%rcx,8)
movl 0x10(%r12), %eax
movq 0x20(%r12), %rdx
leal 0x1(%rcx), %esi
movl %esi, 0xc(%r12)
movl %eax, (%rdx,%rcx,4)
jmp 0xc4f9c
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpq %r14, %r15
je 0xc50bb
leaq 0x5cde8(%rip), %rcx     # 0x121ec0
movq (%rcx,%rax,8), %rax
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %r12, %rcx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%rax