	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function _hit_test
LCPI0_0:
	.long	0x42000000                      ## float 32
LCPI0_1:
	.long	0x3d000000                      ## float 0.03125
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_2:
	.long	0x3d000000                      ## float 0.03125
	.long	0x3d000000                      ## float 0.03125
	.space	4
	.space	4
	.section	__TEXT,__text,regular,pure_instructions
	.globl	__hit_test
	.p2align	4, 0x90
__hit_test:                             ## @_hit_test
	.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
	mulss	LCPI0_0(%rip), %xmm0
	xorl	%eax, %eax
	xorps	%xmm7, %xmm7
	ucomiss	%xmm7, %xmm0
	jbe	LBB0_10
## %bb.1:
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	%r8, -104(%rbp)                 ## 8-byte Spill
	mulss	LCPI0_1(%rip), %xmm4
	insertps	$16, %xmm6, %xmm5               ## xmm5 = xmm5[0],xmm6[0],xmm5[2,3]
	mulps	LCPI0_2(%rip), %xmm5
	insertps	$16, %xmm3, %xmm2               ## xmm2 = xmm2[0],xmm3[0],xmm2[2,3]
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$1, %r13d
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%r14d, %r14d
	movaps	%xmm5, -128(%rbp)               ## 16-byte Spill
	movss	%xmm4, -60(%rbp)                ## 4-byte Spill
	movss	%xmm0, -56(%rbp)                ## 4-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movl	%r15d, %ebx
	movl	%r15d, %esi
	movl	%ecx, %r15d
	movl	%ecx, %edx
	movl	%r12d, %ecx
	callq	_map_get
	movl	%r15d, %ecx
	testl	%eax, %eax
	jg	LBB0_9
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movss	-60(%rbp), %xmm4                ## 4-byte Reload
                                        ## xmm4 = mem[0],zero,zero,zero
	movss	-64(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	addss	%xmm4, %xmm1
	xorps	%xmm3, %xmm3
	cvtsi2ss	%r13d, %xmm3
	movaps	-128(%rbp), %xmm5               ## 16-byte Reload
	movaps	-80(%rbp), %xmm2                ## 16-byte Reload
	addps	%xmm5, %xmm2
	incl	%r13d
	movss	-56(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	ucomiss	%xmm3, %xmm0
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%ebx, %r14d
	jbe	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movaps	%xmm2, -80(%rbp)                ## 16-byte Spill
	movss	%xmm1, -64(%rbp)                ## 4-byte Spill
	movaps	%xmm1, %xmm0
	callq	_roundf
	movl	%eax, %r15d
	movaps	-80(%rbp), %xmm0                ## 16-byte Reload
	callq	_roundf
	movl	%eax, %ebx
	movshdup	-80(%rbp), %xmm0                ## 16-byte Folded Reload
                                        ## xmm0 = mem[1,1,3,3]
	callq	_roundf
	movl	%ebx, %ecx
	movl	%eax, %r12d
	cmpl	%r14d, %r15d
	jne	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	-48(%rbp), %ecx                 ## 4-byte Folded Reload
	jne	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	-44(%rbp), %r12d                ## 4-byte Folded Reload
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %ebx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	jmp	LBB0_6
LBB0_7:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_9:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	cmovel	%ebx, %r14d
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	cmovel	%ecx, %r15d
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	cmovel	%r12d, %edx
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	%r14d, (%rcx)
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	%r15d, (%rcx)
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movl	%edx, (%rcx)
LBB0_10:
	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	__hit_test                      ; -- Begin function _hit_test
	.p2align	2
__hit_test:                             ; @_hit_test
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	d15, d14, [sp, #16]             ; 16-byte Folded Spill
	stp	d13, d12, [sp, #32]             ; 16-byte Folded Spill
	stp	d11, d10, [sp, #48]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #64]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	fmov	s10, s1
	movi.2s	v1, #66, lsl #24
	fmul	s11, s0, s1
	fcmp	s11, #0.0
	b.le	LBB0_8
; %bb.1:
	mov	x21, x2
	fmov	s8, s3
	fmov	s9, s2
	mov	x22, x1
	mov	x23, x0
	stp	x3, x4, [sp]                    ; 16-byte Folded Spill
	mov	w28, #0
	mov	w19, #0
	mov	w24, #0
	movi.2s	v0, #61, lsl #24
	fmul	s12, s4, s0
	fmul	s13, s5, s0
	fmul	s14, s6, s0
	mov	w27, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	mov	x1, x20
	mov	x2, x25
	mov	x3, x26
	bl	_map_get
	cmp	w0, #1
	b.ge	LBB0_10
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	fadd	s10, s12, s10
	fadd	s9, s13, s9
	scvtf	s0, w27
	fadd	s8, s14, s8
	add	w27, w27, #1
	fcmp	s11, s0
	mov	x28, x26
	mov	x19, x25
	mov	x24, x20
	b.le	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	fmov	s0, s10
	bl	_roundf
	mov	x20, x0
	fmov	s0, s9
	bl	_roundf
	mov	x25, x0
	fmov	s0, s8
	bl	_roundf
	mov	x26, x0
	cmp	w20, w24
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w25, w19
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w26, w28
	b.ne	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x20, x24
	mov	x25, x19
	mov	x26, x28
	b	LBB0_3
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #64]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #48]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #32]             ; 16-byte Folded Reload
	ldp	d15, d14, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_10:
	cmp	w22, #0
	csel	w8, w20, w24, eq
	csel	w9, w25, w19, eq
	str	w8, [x21]
	csel	w8, w26, w28, eq
	ldr	x10, [sp]                       ; 8-byte Folded Reload
	str	w9, [x10]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	str	w8, [x9]
	b	LBB0_9
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
