	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_range_limit
_do_range_limit:                        ## @do_range_limit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %r9d
	movl	(%rcx), %eax
	cmpl	%edi, %eax
	jl	LBB0_1
## %bb.2:
	cmpl	%esi, %eax
	jge	LBB0_3
LBB0_4:
	popq	%rbp
	retq
LBB0_1:
	notl	%eax
	addl	%edi, %eax
	cltd
	idivl	%r9d
	notl	%eax
	addl	%eax, (%r8)
	movl	(%rcx), %r10d
	movl	%r10d, %eax
	notl	%eax
	addl	%edi, %eax
	cltd
	idivl	%r9d
	incl	%eax
	imull	%r9d, %eax
	addl	%r10d, %eax
	movl	%eax, (%rcx)
	cmpl	%esi, %eax
	jl	LBB0_4
LBB0_3:
	cltd
	idivl	%r9d
	addl	%eax, (%r8)
	movl	(%rcx), %eax
	cltd
	idivl	%r9d
	movl	%edx, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_do_range_limit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_range_limit
_do_range_limit:                        ; @do_range_limit
	.cfi_startproc
; %bb.0:
	ldr	w8, [x3]
	cmp	w8, w0
	b.lt	LBB0_3
; %bb.1:
	cmp	w8, w1
	b.ge	LBB0_4
LBB0_2:
	ret
LBB0_3:
	mvn	w8, w8
	add	w8, w8, w0
	sdiv	w8, w8, w2
	mvn	w8, w8
	ldr	w9, [x4]
	add	w8, w9, w8
	str	w8, [x4]
	ldr	w8, [x3]
	mvn	w9, w8
	add	w9, w9, w0
	sdiv	w9, w9, w2
	madd	w9, w2, w9, w2
	add	w8, w9, w8
	str	w8, [x3]
	cmp	w8, w1
	b.lt	LBB0_2
LBB0_4:
	sdiv	w8, w8, w2
	ldr	w9, [x4]
	add	w8, w9, w8
	str	w8, [x4]
	ldr	w8, [x3]
	sdiv	w9, w8, w2
	msub	w8, w9, w2, w8
	str	w8, [x3]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_do_range_limit
.subsections_via_symbols
