	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function RANGE_TO_REG
_RANGE_TO_REG:                          ## @RANGE_TO_REG
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_lm85_range_map@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	$-1, %rax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%rcx,%rax,4), %edx
	addl	4(%rcx,%rax,4), %edx
	movl	%edx, %esi
	shrl	$31, %esi
	addl	%edx, %esi
	sarl	%esi
	cmpl	%edi, %esi
	jge	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$13, %rax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	12(%rcx,%rax,4), %edx
	addl	8(%rcx,%rax,4), %edx
	movl	%edx, %esi
	shrl	$31, %esi
	addl	%edx, %esi
	sarl	%esi
	addq	$2, %rax
	cmpl	%edi, %esi
	jl	LBB0_1
## %bb.4:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_5:
	incq	%rax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_6:
	movl	$15, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_lm85_range_map,8,3             ## @lm85_range_map
	.no_dead_strip	_RANGE_TO_REG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function RANGE_TO_REG
_RANGE_TO_REG:                          ; @RANGE_TO_REG
	.cfi_startproc
; %bb.0:
	mov	x8, #0
Lloh0:
	adrp	x9, _lm85_range_map@GOTPAGE
Lloh1:
	ldr	x9, [x9, _lm85_range_map@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x8, #15
	b.eq	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x10, x9, x8, lsl #2
	add	x8, x8, #1
	ldp	w11, w10, [x10]
	add	w10, w10, w11
	cmp	w10, #0
	cinc	w10, w10, lt
	cmp	w0, w10, asr #1
	b.gt	LBB0_1
; %bb.3:
	sub	w0, w8, #1
	ret
LBB0_4:
	mov	w0, #15
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_lm85_range_map,8,3             ; @lm85_range_map
	.no_dead_strip	_RANGE_TO_REG
.subsections_via_symbols
