// File: /workspace/github_c_makefile_star2_O2/BernardTatin[P]s7sh/s7.c
// Function: c_objects_are_equal
bool c_objects_are_equal(s7_scheme *sc, s7_pointer a, s7_pointer b, shared_info *ci)
                {
                    s7_pointer (*to_list)(s7_scheme *sc, s7_pointer args);
                    shared_info *nci = ci;
                    s7_pointer pa, pb;

                    if (a == b)
                        return(true);
                    if (!is_c_object(b))
                        return(false);
                    if (c_object_type(a) != c_object_type(b))
                        return(false);
                    if (c_object_eql(sc, a))
                        return((*(c_object_eql(sc, a)))(c_object_value(a), c_object_value(b)));

                    to_list = c_object_to_list(sc, a);
                    if (!to_list)
                        return(false);
                    if (ci)
                        equal_ref(sc, a, b, ci); /* and nci == ci above */
                    else nci = new_shared_info(sc);

                    for (pa = to_list(sc, set_plist_1(sc, a)), pb = to_list(sc, set_plist_1(sc, b)); is_pair(pa) && (is_pair(pb)); pa = cdr(pa), pb = cdr(pb))
                        if (!(s7_is_equal_1(sc, car(pa), car(pb), nci)))
                            return(false);

                    return(pa == pb); /* presumably both are nil if successful */
                }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
cmpq %rdx, %rsi
je 0xc3f45
movq %rdx, %r15
cmpb $0x14, (%rdx)
jne 0xc409d
movq %rsi, %r12
movq 0x8(%rsi), %rax
cmpq 0x8(%r15), %rax
jne 0xc409d
movq %rcx, %r14
movq %rdi, %rbx
movq 0x8d8(%rdi), %rcx
movq (%rcx,%rax,8), %rcx
movq 0x38(%rcx), %rax
testq %rax, %rax
je 0xc3f4c
movq 0x10(%r12), %rdi
movq 0x10(%r15), %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%rax
movb $0x1, %al
jmp 0xc409f
movq 0x78(%rcx), %r13
testq %r13, %r13
je 0xc409d
testq %r14, %r14
je 0xc3f8f
xorl %ebp, %ebp
testb $0x2, 0x2(%r15)
je 0xc3f74
movq %r14, %rdi
movq %r15, %rsi
callq 0x785fb
movl %eax, %ebp
movq (%r12), %rax
btl $0x11, %eax
jb 0xc3f9f
testl %ebp, %ebp
je 0xc3fb5
movq %r14, %rdi
movq %r12, %rsi
movl %ebp, %edx
jmp 0xc4028
movq %rbx, %rdi
callq 0x77cff
movq %rax, %r14
jmp 0xc402d
movq %r14, %rdi
movq %r12, %rsi
callq 0x785fb
testl %ebp, %ebp
je 0xc401c
cmpl %ebp, %eax
jmp 0xc40b1
movl 0xc(%r14), %ecx
cmpl 0x14(%r14), %ecx
jl 0xc3fcb
movq %r14, %rdi
callq 0x78405
movq (%r12), %rax
orq $0x20000, %rax          # imm = 0x20000
movq %rax, (%r12)
orb $0x2, 0x2(%r15)
movq (%r14), %rax
movslq 0xc(%r14), %rcx
movq %r12, (%rax,%rcx,8)
movl 0x10(%r14), %eax
incl %eax
movl %eax, 0x10(%r14)
movq 0x20(%r14), %rdx
leal 0x1(%rcx), %esi
movl %esi, 0xc(%r14)
movl %eax, (%rdx,%rcx,4)
movq (%r14), %rax
movslq 0xc(%r14), %rcx
movq %r15, (%rax,%rcx,8)
movl 0x10(%r14), %eax
movq 0x20(%r14), %rdx
leal 0x1(%rcx), %esi
movl %esi, 0xc(%r14)
movl %eax, (%rdx,%rcx,4)
jmp 0xc402d
testl %eax, %eax
je 0xc402d
movq %r14, %rdi
movq %r15, %rsi
movl %eax, %edx
callq 0xc57c1
movq 0x700(%rbx), %rax
movq %r12, 0x8(%rax)
movq 0x700(%rbx), %rsi
movq %rbx, %rdi
callq *%r13
movq %rax, %r12
movq 0x700(%rbx), %rax
movq %r15, 0x8(%rax)
movq 0x700(%rbx), %rsi
movq %rbx, %rdi
callq *%r13
movq %rax, %r15
leaq 0x5dcb6(%rip), %r13     # 0x121d20
cmpb $0x1, (%r12)
jne 0xc40ae
cmpb $0x1, (%r15)
jne 0xc40ae
movq 0x8(%r12), %rsi
movq 0x8(%r15), %rdx
movzbl (%rsi), %eax
movq %rbx, %rdi
movq %r14, %rcx
callq *(%r13,%rax,8)
testb %al, %al
je 0xc409d
movq 0x10(%r12), %r12
movq 0x10(%r15), %r15
jmp 0xc406a
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpq %r15, %r12
sete %al
jmp 0xc409f