	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vol_id2idx
_vol_id2idx:                            ## @vol_id2idx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	movq	_UBI_INTERNAL_VOL_START@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%esi, %ecx
	jg	LBB0_2
## %bb.1:
	subl	%ecx, %eax
	addl	(%rdi), %eax
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UBI_INTERNAL_VOL_START,4,2     ## @UBI_INTERNAL_VOL_START
	.no_dead_strip	_vol_id2idx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vol_id2idx
_vol_id2idx:                            ; @vol_id2idx
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _UBI_INTERNAL_VOL_START@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UBI_INTERNAL_VOL_START@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.gt	LBB0_2
; %bb.1:
	ldr	w9, [x0]
	sub	w8, w1, w8
	add	w1, w8, w9
LBB0_2:
	mov	x0, x1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UBI_INTERNAL_VOL_START,4,2     ; @UBI_INTERNAL_VOL_START
	.no_dead_strip	_vol_id2idx
.subsections_via_symbols
