// File: /workspace/github_c_makefile_star2_O3/BernardTatin[P]s7sh/s7.c
// Function: c_pointer_equal
static bool c_pointer_equal(s7_scheme *sc, s7_pointer x, s7_pointer y, shared_info *ci)
                {
                    shared_info *nci = ci;
                    if (x == y) return(true);
                    if (!s7_is_c_pointer(y)) return(false);
                    if (c_pointer(x) != c_pointer(y)) return(false);
                    if (c_pointer_type(x) != c_pointer_type(y))
                    {
                        if (!nci) nci = new_shared_info(sc);
                        if (!s7_is_equal_1(sc, c_pointer_type(x), c_pointer_type(y), nci))
                            return(false);
                    }
                    if (c_pointer_info(x) != c_pointer_info(y))
                    {
                        if (!nci) nci = new_shared_info(sc);
                        if (!s7_is_equal_1(sc, c_pointer_info(x), c_pointer_info(y), nci))
                            return(false);
                    }
                    return(true);
                }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movb $0x1, %bl
cmpq %rdx, %rsi
je 0xf60ee
movq %rdx, %r12
cmpb $0x21, (%rdx)
jne 0xf60ec
movq %rsi, %r13
movq 0x8(%rsi), %rax
cmpq 0x8(%r12), %rax
je 0xf60ff
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rcx, %r14
movq %rdi, %r15
movq 0x10(%r13), %rsi
movq 0x10(%r12), %rdx
cmpq %rdx, %rsi
je 0xf6238
testq %r14, %r14
jne 0xf621c
movq 0x6c0(%r15), %r14
movslq 0xc(%r14), %rbp
testq %rbp, %rbp
jle 0xf6206
movq 0x20(%r14), %rdi
movq %rbp, %rdx
shlq $0x2, %rdx
cmpl $0x1, %ebp
je 0xf617d
movabsq $0x1fffffff8, %rax      # imm = 0x1FFFFFFF8
andq %rdx, %rax
movq %rdi, 0x8(%rsp)
xorl %esi, %esi
movq %rdx, (%rsp)
movq %rax, 0x10(%rsp)
movq %rax, %rdx
callq 0x8270
movq (%rsp), %rdx
andq $0x4, %rdx
je 0xf6188
movq 0x8(%rsp), %rdi
addq 0x10(%rsp), %rdi
xorl %esi, %esi
callq 0x8270
movl 0xc(%r14), %ebp
movq 0x48(%r14), %rdi
movslq %ebp, %rdx
cmpl $0x8, %edx
jb 0xf61c8
movq %rdx, %rax
andq $-0x8, %rax
movq %rax, 0x8(%rsp)
movq %rdi, (%rsp)
movq (%rsp), %rdi
xorl %esi, %esi
movq %rdx, 0x10(%rsp)
movq %rax, %rdx
callq 0x8270
movq (%rsp), %rdi
movq 0x10(%rsp), %rdx
addq 0x8(%rsp), %rdi
andl $0x7, %edx
testq %rdx, %rdx
je 0xf61d8
xorl %esi, %esi
callq 0x8270
movl 0xc(%r14), %ebp
testl %ebp, %ebp
jle 0xf61fe
xorl %eax, %eax
movabsq $-0x600000000a0001, %rcx # imm = 0xFF9FFFFFFFF5FFFF
movq (%r14), %rdx
movq (%rdx,%rax,8), %rdx
andq %rcx, (%rdx)
incq %rax
movslq 0xc(%r14), %rdx
cmpq %rdx, %rax
jl 0xf61e8
movl $0x0, 0xc(%r14)
movl $0x0, 0x10(%r14)
movb $0x0, 0x18(%r14)
movq 0x10(%r13), %rsi
movq 0x10(%r12), %rdx
movzbl (%rsi), %eax
leaq 0x5cafa(%rip), %r8      # 0x152d20
movq %r15, %rdi
movq %r14, %rcx
callq *(%r8,%rax,8)
testb %al, %al
je 0xf60ec
movq 0x18(%r13), %rsi
movq 0x18(%r12), %rdx
cmpq %rdx, %rsi
je 0xf60ee
testq %r14, %r14
jne 0xf6267
movq 0x6c0(%r15), %r14
movq %r14, %rdi
callq 0x95f8c
movq 0x18(%r13), %rsi
movq 0x18(%r12), %rdx
movzbl (%rsi), %eax
leaq 0x5caaf(%rip), %r8      # 0x152d20
movq %r15, %rdi
movq %r14, %rcx
callq *(%r8,%rax,8)
testb %al, %al
je 0xf60ec
jmp 0xf60ee