// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/apps/sflprocess/sflprocess.cpp
// Function: CreateObjectRelationships(gaps::R3SurfelScene*, double, double, double, double)
static int
CreateObjectRelationships(R3SurfelScene *scene,
  RNLength max_gap_distance, RNLength max_plane_offset, RNAngle max_normal_angle,
  RNScalar min_overlap)
{
  // Create object relationships
  if (!CreateOverlapObjectRelationships(scene, max_gap_distance, max_plane_offset, max_normal_angle, min_overlap)) return 0;

  // Return success
  return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
xorpd %xmm2, %xmm2
ucomisd %xmm2, %xmm0
jne 0x1d6ce
jnp 0x1db19
movq %rdi, %r15
movsd %xmm0, 0x10(%rsp)
movsd %xmm1, 0x40(%rsp)
leaq 0x60(%rsp), %r14
movq %r14, %rdi
callq 0xc2368
movq %r14, %rdi
xorl %esi, %esi
callq 0x15a20
cmpl $0x0, 0x1516d1(%rip)    # 0x16edcc
je 0x1d718
leaq 0xec85a(%rip), %rdi     # 0x109f5e
callq 0x15980
movq 0x150850(%rip), %rax    # 0x16df60
movq (%rax), %rdi
callq 0x15760
movslq 0x1c(%r15), %rbx
leaq (,%rbx,8), %rax
testq %rbx, %rbx
movq $-0x1, %rdi
cmovnsq %rax, %rdi
callq 0x15040
movq %rax, 0x20(%rsp)
testq %rbx, %rbx
movq %r15, 0x28(%rsp)
jle 0x1d813
movsd 0x10(%rsp), %xmm0
mulsd %xmm0, %xmm0
movsd 0xeb91c(%rip), %xmm1    # 0x109078
divsd %xmm0, %xmm1
movsd %xmm1, (%rsp)
xorl %ebx, %ebx
leaq 0x70(%rsp), %r14
movq 0x10(%r15), %rax
movq (%rax,%rbx,8), %r12
movq %r14, %rdi
callq 0x3a160
movl $0x60, %edi
callq 0x15610
movq %rax, %r15
movq %rax, %rdi
callq 0x34fb4
movq 0x20(%rsp), %rax
movq %r15, (%rax,%rbx,8)
movq %r14, %rdi
movq %r12, %rsi
movsd (%rsp), %xmm0
callq 0x3a2c6
cmpl $0x0, 0x84(%rsp)
jle 0x1d7f6
xorl %r12d, %r12d
movq 0x78(%rsp), %rax
movq (%rax,%r12,8), %r13
cmpl $0x0, 0x4c(%r13)
jle 0x1d7e6
xorl %ebp, %ebp
movq 0x40(%r13), %rax
movq (%rax,%rbp,8), %rsi
movq (%r15), %rax
movq %r15, %rdi
callq *0x10(%rax)
incq %rbp
movslq 0x4c(%r13), %rax
cmpq %rax, %rbp
jl 0x1d7c9
incq %r12
movslq 0x84(%rsp), %rax
cmpq %rax, %r12
jl 0x1d7b7
movq %r14, %rdi
callq 0x3a274
incq %rbx
movq 0x28(%rsp), %r15
movslq 0x1c(%r15), %rax
cmpq %rax, %rbx
jl 0x1d76c
cmpl $0x0, 0x1c(%r15)
jle 0x1da94
xorl %ebx, %ebx
movl $0x0, 0xc(%rsp)
movsd 0x10(%rsp), %xmm0
movq 0x20(%rsp), %r12
movq (%r12,%rbx,8), %rdi
cmpl $0x0, 0x10(%rdi)
je 0x1da82
movq 0x10(%r15), %rax
movq (%rax,%rbx,8), %rax
movq %rax, (%rsp)
movq %rdi, 0x30(%rsp)
movl $0x400, %esi            # imm = 0x400
callq 0x50100
testq %rax, %rax
je 0x1da7c
movq %rax, %r13
movq %rbx, 0x38(%rsp)
cmpl $0x0, 0x1c(%r15)
jle 0x1da5a
addq $0x18, 0x30(%rsp)
xorl %ebx, %ebx
movq (%rsp), %rcx
movq 0x10(%r15), %rax
movq (%rax,%rbx,8), %rbp
cmpq %rbp, %rcx
je 0x1da4a
movq (%r12,%rbx,8), %r14
cmpl $0x0, 0x10(%r14)
je 0x1da4a
leaq 0x18(%r14), %rsi
movq 0x30(%rsp), %rdi
callq 0x6a441
ucomisd 0x10(%rsp), %xmm0
ja 0x1da46
movl 0x10(%r14), %eax
testl %eax, %eax
jle 0x1d9ed
xorl %r12d, %r12d
movl $0x8, %r15d
movl $0x0, 0x1c(%rsp)
movq 0x8(%r14), %rax
movq -0x8(%rax,%r15), %rcx
movq (%rax,%r15), %rax
xorps %xmm0, %xmm0
cvtss2sd (%rax), %xmm0
addsd 0x10(%rcx), %xmm0
xorps %xmm1, %xmm1
cvtss2sd 0x4(%rax), %xmm1
addsd 0x18(%rcx), %xmm1
xorps %xmm2, %xmm2
cvtss2sd 0x8(%rax), %xmm2
addsd 0x20(%rcx), %xmm2
leaq 0x70(%rsp), %rdi
callq 0x9d282
movsd 0x70(%rsp), %xmm0
movsd 0x78(%rsp), %xmm1
movsd 0x80(%rsp), %xmm2
leaq 0x48(%rsp), %rdi
movq %r13, %rsi
callq 0x901be
movsd 0x48(%rsp), %xmm0
addsd 0xeb708(%rip), %xmm0    # 0x109050
cvttsd2si %xmm0, %eax
testl %eax, %eax
js 0x1d9c4
cmpl %eax, 0x238(%r13)
jle 0x1d9c4
movsd 0x50(%rsp), %xmm0
addsd 0xeb6e9(%rip), %xmm0    # 0x109050
cvttsd2si %xmm0, %ecx
testl %ecx, %ecx
js 0x1d9c4
cmpl %ecx, 0x23c(%r13)
jle 0x1d9c4
movsd 0x58(%rsp), %xmm0
addsd 0xeb6ca(%rip), %xmm0    # 0x109050
cvttsd2si %xmm0, %edx
testl %edx, %edx
js 0x1d9c4
cmpl %edx, 0x240(%r13)
jle 0x1d9c4
movq 0x230(%r13), %rsi
imull 0x248(%r13), %edx
imull 0x244(%r13), %ecx
addl %eax, %edx
addl %ecx, %edx
movslq %edx, %rax
xorpd %xmm0, %xmm0
ucomisd (%rsi,%rax,8), %xmm0
jae 0x1d9c4
incl 0x1c(%rsp)
incq %r12
movslq 0x10(%r14), %rax
addq $0x10, %r15
cmpq %rax, %r12
jl 0x1d8db
xorps %xmm0, %xmm0
cvtsi2sdl 0x1c(%rsp), %xmm0
movq 0x28(%rsp), %r15
movq 0x20(%rsp), %r12
jmp 0x1d9f1
xorpd %xmm0, %xmm0
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
divsd %xmm1, %xmm0
ucomisd 0x40(%rsp), %xmm0
jbe 0x1da46
movsd %xmm0, 0x70(%rsp)
movl $0x38, %edi
callq 0x15610
movq %rax, %r14
movq %rax, %rdi
movl $0x2, %esi
movq (%rsp), %rdx
movq %rbp, %rcx
leaq 0x70(%rsp), %r8
movl $0x1, %r9d
callq 0x41bf6
movq (%r15), %rax
movq %r15, %rdi
movq %r14, %rsi
callq *0x60(%rax)
incl 0xc(%rsp)
movq (%rsp), %rcx
incq %rbx
movslq 0x1c(%r15), %rax
cmpq %rax, %rbx
jl 0x1d884
movq %r13, %rdi
callq 0x8f980
movl $0x250, %esi            # imm = 0x250
movq %r13, %rdi
callq 0x15620
movsd 0x10(%rsp), %xmm0
movq 0x38(%rsp), %rbx
jmp 0x1da82
movsd 0x10(%rsp), %xmm0
incq %rbx
movslq 0x1c(%r15), %rax
cmpq %rax, %rbx
jl 0x1d833
jmp 0x1daa1
movl $0x0, 0xc(%rsp)
movq 0x20(%rsp), %r12
cmpl $0x0, 0x1c(%r15)
jle 0x1dac5
xorl %ebx, %ebx
movq (%r12,%rbx,8), %rdi
testq %rdi, %rdi
je 0x1dab9
movq (%rdi), %rax
callq *0x8(%rax)
incq %rbx
movslq 0x1c(%r15), %rax
cmpq %rax, %rbx
jl 0x1daaa
cmpl $0x0, 0x151300(%rip)    # 0x16edcc
je 0x1db19
leaq 0x60(%rsp), %rdi
callq 0xc23ca
leaq 0xebada(%rip), %rdi     # 0x1095b9
movb $0x1, %al
callq 0x15080
movl 0x1c(%r15), %esi
leaq 0xebb6d(%rip), %rdi     # 0x10965e
xorl %eax, %eax
callq 0x15080
leaq 0xec14a(%rip), %rdi     # 0x109c49
movl 0xc(%rsp), %esi
xorl %eax, %eax
callq 0x15080
movq 0x15044f(%rip), %rax    # 0x16df60
movq (%rax), %rdi
callq 0x15760
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movl $0x38, %esi
movq %r14, %rdi
callq 0x15620
jmp 0x1db5e
movq %rax, %rbx
movl $0x60, %esi
movq %r15, %rdi
callq 0x15620
jmp 0x1db54
jmp 0x1db51
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0x3a274
movq %rbx, %rdi
callq 0x15ae0