// File: /workspace/github_c_makefile_star2_O1/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 0xff0f9
movq %rdx, %r15
cmpb $0x14, (%rdx)
jne 0xff287
movq %rsi, %r12
movq 0x8(%rsi), %rax
cmpq 0x8(%r15), %rax
jne 0xff287
movq %rcx, %r14
movq %rdi, %rbx
movq 0x8d8(%rdi), %rcx
movq (%rcx,%rax,8), %rcx
movq 0x38(%rcx), %rax
testq %rax, %rax
je 0xff100
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 0xff289
movq 0x78(%rcx), %r13
testq %r13, %r13
je 0xff287
testq %r14, %r14
je 0xff13b
xorl %edx, %edx
testb $0x2, 0x2(%r15)
je 0xff152
movslq 0xc(%r14), %rax
testq %rax, %rax
jle 0xff152
movq (%r14), %rdx
xorl %ecx, %ecx
cmpq %r15, (%rdx,%rcx,8)
je 0xff14b
incq %rcx
cmpq %rcx, %rax
jne 0xff129
xorl %edx, %edx
jmp 0xff152
movq %rbx, %rdi
callq 0x9c66c
movq %rax, %r14
jmp 0xff20a
movq 0x20(%r14), %rax
movl (%rax,%rcx,4), %edx
testb $0x2, 0x2(%r12)
jne 0xff16b
testl %edx, %edx
je 0xff18b
movq %r14, %rdi
movq %r12, %rsi
callq 0x100fa2
jmp 0xff1e8
movslq 0xc(%r14), %rax
testq %rax, %rax
jle 0xff187
movq (%r14), %rsi
xorl %ecx, %ecx
cmpq %r12, (%rsi,%rcx,8)
je 0xff1ed
incq %rcx
cmpq %rcx, %rax
jne 0xff179
xorl %eax, %eax
jmp 0xff1f4
movl 0xc(%r14), %eax
cmpl 0x14(%r14), %eax
jl 0xff19d
movq %r14, %rdi
callq 0x9cf49
orb $0x2, 0x2(%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)
movb $0x1, %bpl
jmp 0xff205
movq 0x20(%r14), %rax
movl (%rax,%rcx,4), %eax
testl %edx, %edx
sete %bpl
je 0xff29a
cmpl %edx, %eax
sete %al
testb %bpl, %bpl
je 0xff289
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
cmpb $0x1, (%r12)
jne 0xff27f
leaq 0x5bad2(%rip), %r13     # 0x15ad20
cmpb $0x1, (%r15)
jne 0xff27f
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 0xff287
movq 0x10(%r12), %r12
movq 0x10(%r15), %r15
cmpb $0x1, (%r12)
je 0xff24e
cmpq %r15, %r12
sete %al
jmp 0xff289
xorl %eax, %eax
andb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
testl %eax, %eax
je 0xff1eb
movq %r14, %rdi
movq %r15, %rsi
movl %eax, %edx
callq 0x100fa2
jmp 0xff1eb