	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_right_pair_idx
_get_right_pair_idx:                    ## @get_right_pair_idx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_lm_right_pair@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%esi, %rcx
	movl	(%rax,%rcx,4), %ecx
	testl	%ecx, %ecx
	js	LBB0_3
## %bb.1:
	movl	(%rdi), %r8d
	movl	$-1, %eax
	testl	%r8d, %r8d
	jle	LBB0_7
## %bb.2:
	movq	8(%rdi), %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rdi,8), %rdx
	cmpl	%ecx, (%rdx)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rdi
	cmpq	%rdi, %r8
	jne	LBB0_5
LBB0_7:
	popq	%rbp
	retq
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_6:
	movl	4(%rdx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_lm_right_pair,8,3              ## @lm_right_pair
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_get_right_pair_idx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_right_pair_idx
_get_right_pair_idx:                    ; @get_right_pair_idx
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _lm_right_pair@GOTPAGE
Lloh1:
	ldr	x8, [x8, _lm_right_pair@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8, w1, sxtw #2]
	tbnz	w8, #31, LBB0_6
; %bb.1:
	ldr	w9, [x0]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.2:
	ldr	x10, [x0, #8]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10]
	ldr	w12, [x11]
	cmp	w12, w8
	b.eq	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #8
	subs	x9, x9, #1
	b.ne	LBB0_3
LBB0_5:
	mov	w0, #-1
	ret
LBB0_6:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_7:
	ldr	w0, [x11, #4]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_lm_right_pair,8,3              ; @lm_right_pair
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_get_right_pair_idx
.subsections_via_symbols
