	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_range_idx_with_add
_get_range_idx_with_add:                ## @get_range_idx_with_add
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_get_sorting_mode
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movq	_FLAG_REVERSE_SEARCH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_2
## %bb.3:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, %edi
	popq	%rbp
	jmp	_find_range_idx                 ## TAILCALL
LBB0_2:
	movl	$-1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLAG_REVERSE_SEARCH,4,2        ## @FLAG_REVERSE_SEARCH
	.no_dead_strip	_get_range_idx_with_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_range_idx_with_add
_get_range_idx_with_add:                ; @get_range_idx_with_add
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_get_sorting_mode
	tbnz	w0, #31, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _FLAG_REVERSE_SEARCH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FLAG_REVERSE_SEARCH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:
	bic	w0, w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_find_range_idx
LBB0_3:
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FLAG_REVERSE_SEARCH,4,2        ; @FLAG_REVERSE_SEARCH
	.no_dead_strip	_get_range_idx_with_add
.subsections_via_symbols
