	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function distance_limited
_distance_limited:                      ## @distance_limited
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edx, %edx
	jle	LBB0_1
## %bb.2:
	movl	%edx, %r8d
	xorl	%edx, %edx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %r9d
	movl	(%rdi,%rdx,4), %eax
	subl	(%rsi,%rdx,4), %eax
	imull	%eax, %eax
	addl	%r9d, %eax
	cmpl	%ecx, %eax
	jg	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rdx
	cmpq	%rdx, %r8
	jne	LBB0_4
## %bb.6:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_5:
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.no_dead_strip	_distance_limited
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function distance_limited
_distance_limited:                      ; @distance_limited
	.cfi_startproc
; %bb.0:
	cmp	w2, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x8, x0
	mov	w0, #0
	mov	w9, w2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8]
	ldr	w11, [x1]
	sub	w10, w10, w11
	madd	w0, w10, w10, w0
	cmp	w0, w3
	b.gt	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x1, x1, #4
	add	x8, x8, #4
	subs	x9, x9, #1
	b.ne	LBB0_2
; %bb.4:
	ret
LBB0_5:
	mov	w0, #0
	ret
LBB0_6:
Lloh0:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.no_dead_strip	_distance_limited
.subsections_via_symbols
