	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Range_Normalize
_Range_Normalize:                       ## @Range_Normalize
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	(%rdi), %eax
	movl	4(%rdi), %ecx
	movq	_kTopValue@GOTPCREL(%rip), %r14
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	12(%r15), %ebx
	shll	$8, %ebx
	movq	16(%r15), %rdi
	callq	*(%rdi)
	orl	%ebx, %eax
	movl	%eax, 12(%r15)
	movl	(%r15), %eax
	movl	4(%r15), %ecx
	shll	$8, %ecx
	movl	%ecx, 4(%r15)
	shll	$8, %eax
	movl	%eax, (%r15)
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%rcx,%rax), %edx
	xorl	%eax, %edx
	cmpl	(%r14), %edx
	jl	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	8(%r15), %edx
	cmpl	%edx, %ecx
	jge	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	negl	%eax
	decl	%edx
	andl	%eax, %edx
	movl	%edx, 4(%r15)
	jmp	LBB0_4
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_kTopValue,4,2                  ## @kTopValue
	.no_dead_strip	_Range_Normalize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Range_Normalize
_Range_Normalize:                       ; @Range_Normalize
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldp	w8, w9, [x0]
Lloh0:
	adrp	x20, _kTopValue@GOTPAGE
Lloh1:
	ldr	x20, [x20, _kTopValue@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w21, [x19, #12]
	ldr	x0, [x19, #16]
	ldr	x8, [x0]
	blr	x8
	orr	w8, w0, w21, lsl #8
	str	w8, [x19, #12]
	ldp	w10, w8, [x19]
	lsl	w9, w8, #8
	lsl	w8, w10, #8
	stp	w8, w9, [x19]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w10, w9, w8
	eor	w10, w10, w8
	ldr	w11, [x20]
	cmp	w10, w11
	b.lt	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w10, [x19, #8]
	cmp	w9, w10
	b.ge	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	w9, w10, #1
	neg	w8, w8
	and	w8, w9, w8
	str	w8, [x19, #4]
	b	LBB0_1
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_kTopValue,4,2                  ; @kTopValue
	.no_dead_strip	_Range_Normalize
.subsections_via_symbols
