	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_v
_get_v:                                 ## @get_v
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	%esi, %rax
	leaq	(%rdi,%rax,4), %r8
	movq	_UINT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	127(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$7, %ecx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r8, %rdi
	jae	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rdi), %esi
	movl	%ecx, %edx
	subl	%esi, %edx
	cmpl	%edx, %eax
	jge	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	shll	$7, %eax
	movl	%esi, %edx
	andl	$127, %edx
	orl	%edx, %eax
	addq	$4, %rdi
	testb	$-128, %sil
	jne	LBB0_1
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UINT_MAX,4,2                   ## @UINT_MAX
	.no_dead_strip	_get_v
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_v
_get_v:                                 ; @get_v
	.cfi_startproc
; %bb.0:
	mov	w10, #0
Lloh0:
	adrp	x8, _UINT_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UINT_MAX@GOTPAGEOFF]
	add	x9, x0, w1, sxtw #2
Lloh2:
	ldr	w8, [x8]
	add	w11, w8, #127
	cmp	w8, #0
	csel	w8, w11, w8, lt
	asr	w11, w8, #7
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x0, x9
	b.hs	LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w12, [x0]
	sub	w8, w11, w12
	cmp	w10, w8
	b.ge	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x8, x12
	bfi	w8, w10, #7, #25
	add	x0, x0, #4
	mov	x10, x8
	tbnz	w12, #7, LBB0_1
; %bb.4:
	mov	x0, x8
	ret
LBB0_5:
	mov	x0, x10
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UINT_MAX,4,2                   ; @UINT_MAX
	.no_dead_strip	_get_v
.subsections_via_symbols
