// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: pair_equal
static bool pair_equal(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))
                        return(false);
                    if (ci)
                    {
                        nci = ci;
                        equal_ref(sc, x, y, ci);
                    }
                    else nci = new_shared_info(sc);

                    if (!s7_is_equal_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_equal_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_equal_1(sc, px, py, nci));
                }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movb $0x1, %bl
cmpq %rdx, %rsi
je 0xc4444
movq %rdx, %r14
cmpb $0x1, (%rdx)
jne 0xc4442
movq %rcx, %r12
movq %rsi, %r15
movq %rdi, %r13
testq %rcx, %rcx
je 0xc425a
xorl %ebp, %ebp
testb $0x2, 0x2(%r14)
je 0xc4240
movq %r12, %rdi
movq %r14, %rsi
callq 0x785fb
movl %eax, %ebp
movq (%r15), %rax
btl $0x11, %eax
jb 0xc426a
testl %ebp, %ebp
je 0xc4283
movq %r12, %rdi
movq %r15, %rsi
movl %ebp, %edx
jmp 0xc4301
movq %r13, %rdi
callq 0x77cff
movq %rax, %r12
jmp 0xc4306
movq %r12, %rdi
movq %r15, %rsi
callq 0x785fb
testl %ebp, %ebp
je 0xc42f5
cmpl %ebp, %eax
sete %bl
jmp 0xc4444
movl 0xc(%r12), %ecx
cmpl 0x14(%r12), %ecx
jl 0xc429a
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 0xc4306
testl %eax, %eax
je 0xc4306
movq %r12, %rdi
movq %r14, %rsi
movl %eax, %edx
callq 0xc57c1
movq 0x8(%r15), %rsi
movq 0x8(%r14), %rdx
movzbl (%rsi), %eax
leaq 0x5da08(%rip), %r8      # 0x121d20
movq %r13, %rdi
movq %r12, %rcx
callq *(%r8,%rax,8)
testb %al, %al
je 0xc4442
movq 0x10(%r15), %r15
movq 0x10(%r14), %r14
movzbl (%r15), %eax
cmpq $0x1, %rax
jne 0xc4455
cmpb $0x1, (%r14)
jne 0xc4455
movq 0x8(%r15), %rsi
movq 0x8(%r14), %rdx
movzbl (%rsi), %eax
movq %r13, %rdi
movq %r12, %rcx
leaq 0x5d9be(%rip), %r8      # 0x121d20
callq *(%r8,%rax,8)
xorl %ebp, %ebp
testb %al, %al
je 0xc4442
testb $0x2, 0x2(%r14)
je 0xc4384
movq %r12, %rdi
movq %r14, %rsi
callq 0x785fb
movl %eax, %ebp
movq (%r15), %rax
btl $0x11, %eax
jb 0xc43a0
testl %ebp, %ebp
je 0xc43cd
movq %r12, %rdi
movq %r15, %rsi
movl %ebp, %edx
callq 0xc57c1
jmp 0xc432a
movq %r12, %rdi
movq %r15, %rsi
callq 0x785fb
testl %ebp, %ebp
jne 0xc4279
testl %eax, %eax
je 0xc432a
movq %r12, %rdi
movq %r14, %rsi
movl %eax, %edx
callq 0xc57c1
jmp 0xc432a
movl 0xc(%r12), %ecx
cmpl 0x14(%r12), %ecx
jl 0xc43e4
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 0xc432a
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpq %r14, %r15
je 0xc4444
leaq 0x5d8bf(%rip), %rcx     # 0x121d20
movq (%rcx,%rax,8), %rax
movq %r13, %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