	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function collide
LCPI0_0:
	.long	0xbe800000                      ## float -0.25
LCPI0_1:
	.long	0x3e800000                      ## float 0.25
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_collide
	.p2align	4, 0x90
_collide:                               ## @collide
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r15
	movl	%edi, %ebx
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movss	(%rsi), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	callq	_chunked
	movl	%eax, %r14d
	movss	(%r12), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	callq	_chunked
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_find_chunk
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	testq	%rax, %rax
	je	LBB0_22
## %bb.1:
	movq	%rax, %r13
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movss	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	callq	_roundf
	movl	%eax, %r14d
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movss	(%r15), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	callq	_roundf
	movl	%eax, %r15d
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movss	(%r12), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	callq	_roundf
	testl	%ebx, %ebx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	jle	LBB0_22
## %bb.2:
	movl	%eax, %r12d
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movss	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	cvtsi2ss	%r12d, %xmm1
	subss	%xmm1, %xmm0
	movss	%xmm0, -56(%rbp)                ## 4-byte Spill
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r15d, %xmm0
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movss	(%rax), %xmm2                   ## xmm2 = mem[0],zero,zero,zero
	cvtsi2ss	%r14d, %xmm3
	subss	%xmm0, %xmm2
	movss	%xmm2, -52(%rbp)                ## 4-byte Spill
	movss	(%rcx), %xmm2                   ## xmm2 = mem[0],zero,zero,zero
	subss	%xmm3, %xmm2
	movss	%xmm2, -48(%rbp)                ## 4-byte Spill
	leal	-1(%r14), %eax
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	movss	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	movaps	%xmm3, %xmm4
	addss	%xmm2, %xmm4
	movss	%xmm4, -92(%rbp)                ## 4-byte Spill
	movl	%r14d, %eax
	incl	%eax
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	movss	LCPI0_1(%rip), %xmm4            ## xmm4 = mem[0],zero,zero,zero
	addss	%xmm4, %xmm3
	movss	%xmm3, -96(%rbp)                ## 4-byte Spill
	movaps	%xmm0, %xmm3
	addss	%xmm2, %xmm3
	movss	%xmm3, -88(%rbp)                ## 4-byte Spill
	addss	%xmm4, %xmm0
	movss	%xmm0, -100(%rbp)               ## 4-byte Spill
	leal	-1(%r12), %eax
	movl	%eax, -112(%rbp)                ## 4-byte Spill
	movaps	%xmm1, %xmm0
	addss	%xmm2, %xmm0
	movss	%xmm0, -84(%rbp)                ## 4-byte Spill
	movl	%r12d, %eax
	incl	%eax
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	addss	%xmm4, %xmm1
	movss	%xmm1, -104(%rbp)               ## 4-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	decl	%r15d
	decl	%ebx
	je	LBB0_22
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	ucomiss	-48(%rbp), %xmm0                ## 4-byte Folded Reload
	jbe	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	movl	-120(%rbp), %esi                ## 4-byte Reload
	movl	%r15d, %edx
	movl	%r12d, %ecx
	callq	_map_get
	movl	%eax, %edi
	callq	_is_obstacle
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movss	-92(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rcx)
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movss	-48(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	ucomiss	LCPI0_1(%rip), %xmm0
	jbe	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	movl	-116(%rbp), %esi                ## 4-byte Reload
	movl	%r15d, %edx
	movl	%r12d, %ecx
	callq	_map_get
	movl	%eax, %edi
	callq	_is_obstacle
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movss	-96(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rcx)
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	ucomiss	-52(%rbp), %xmm0                ## 4-byte Folded Reload
	jbe	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	leal	-1(%r15), %edx
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%r12d, %ecx
	callq	_map_get
	movl	%eax, %edi
	callq	_is_obstacle
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movss	-88(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rax)
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movss	-52(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	ucomiss	LCPI0_1(%rip), %xmm0
	jbe	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	leal	1(%r15), %edx
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%r12d, %ecx
	callq	_map_get
	movl	%eax, %edi
	callq	_is_obstacle
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movss	-100(%rbp), %xmm0               ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rax)
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	ucomiss	-56(%rbp), %xmm0                ## 4-byte Folded Reload
	jbe	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	-112(%rbp), %ecx                ## 4-byte Reload
	callq	_map_get
	movl	%eax, %edi
	callq	_is_obstacle
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movss	-84(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rax)
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	movss	-56(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	ucomiss	LCPI0_1(%rip), %xmm0
	jbe	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	-108(%rbp), %ecx                ## 4-byte Reload
	callq	_map_get
	movl	%eax, %edi
	callq	_is_obstacle
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movss	-104(%rbp), %xmm0               ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rax)
	jmp	LBB0_21
LBB0_22:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_collide                        ; -- Begin function collide
	.p2align	2
_collide:                               ; @collide
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	d15, d14, [sp, #32]             ; 16-byte Folded Spill
	stp	d13, d12, [sp, #48]             ; 16-byte Folded Spill
	stp	d11, d10, [sp, #64]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #80]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	.cfi_offset b12, -136
	.cfi_offset b13, -144
	.cfi_offset b14, -152
	.cfi_offset b15, -160
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	s0, [x1]
	bl	_chunked
	mov	x23, x0
	ldr	s0, [x19]
	bl	_chunked
	mov	x1, x0
	mov	x0, x23
	bl	_find_chunk
	cbz	x0, LBB0_22
; %bb.1:
	mov	x23, x0
	ldr	s0, [x21]
	bl	_roundf
	mov	x24, x0
	ldr	s0, [x20]
	bl	_roundf
	mov	x25, x0
	ldr	s0, [x19]
	bl	_roundf
	cmp	w22, #1
	b.lt	LBB0_22
; %bb.2:
	mov	x26, x0
	mov	w27, #0
	ldr	s0, [x19]
	scvtf	s1, w0
	fsub	s8, s0, s1
	scvtf	s0, w25
	ldr	s2, [x20]
	fsub	s9, s2, s0
	ldr	s2, [x21]
	scvtf	s3, w24
	fsub	s10, s2, s3
	sub	w9, w24, #1
	fmov	s11, #-0.25000000
	fadd	s4, s3, s11
	add	w8, w24, #1
	stp	w8, w9, [sp, #24]               ; 8-byte Folded Spill
	fmov	s13, #0.25000000
	fadd	s2, s3, s13
	stp	s2, s4, [sp, #12]               ; 8-byte Folded Spill
	fadd	s2, s0, s11
	str	s2, [sp, #8]                    ; 4-byte Folded Spill
	fadd	s12, s0, s13
	sub	w8, w0, #1
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
	fadd	s14, s1, s11
	add	w28, w0, #1
	fadd	s15, s1, s13
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	w25, w25, #1
	subs	w22, w22, #1
	b.eq	LBB0_23
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	fcmp	s10, s11
	b.pl	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	ldr	w1, [sp, #28]                   ; 4-byte Folded Reload
	mov	x2, x25
	mov	x3, x26
	bl	_map_get
	bl	_is_obstacle
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	s0, [sp, #16]                   ; 4-byte Folded Reload
	str	s0, [x21]
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	fcmp	s10, s13
	b.le	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	ldr	w1, [sp, #24]                   ; 4-byte Folded Reload
	mov	x2, x25
	mov	x3, x26
	bl	_map_get
	bl	_is_obstacle
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	s0, [sp, #12]                   ; 4-byte Folded Reload
	str	s0, [x21]
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	fcmp	s9, s11
	b.pl	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	sub	w2, w25, #1
	mov	x0, x23
	mov	x1, x24
	mov	x3, x26
	bl	_map_get
	bl	_is_obstacle
	cbz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	s0, [sp, #8]                    ; 4-byte Folded Reload
	str	s0, [x20]
	mov	w27, #1
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	fcmp	s9, s13
	b.le	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	add	w2, w25, #1
	mov	x0, x23
	mov	x1, x24
	mov	x3, x26
	bl	_map_get
	bl	_is_obstacle
	cbz	x0, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	str	s12, [x20]
	mov	w27, #1
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	fcmp	s8, s11
	b.pl	LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	mov	x1, x24
	mov	x2, x25
	ldr	w3, [sp, #20]                   ; 4-byte Folded Reload
	bl	_map_get
	bl	_is_obstacle
	cbz	x0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	str	s14, [x19]
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	fcmp	s8, s13
	b.le	LBB0_3
; %bb.20:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	mov	x1, x24
	mov	x2, x25
	mov	x3, x28
	bl	_map_get
	bl	_is_obstacle
	cbz	x0, LBB0_3
; %bb.21:                               ;   in Loop: Header=BB0_4 Depth=1
	str	s15, [x19]
	b	LBB0_3
LBB0_22:
	mov	w27, #0
LBB0_23:
	mov	x0, x27
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #80]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #64]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #48]             ; 16-byte Folded Reload
	ldp	d15, d14, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
