	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ubi_calc_fm_size               ## -- Begin function ubi_calc_fm_size
	.p2align	4, 0x90
_ubi_calc_fm_size:                      ## @ubi_calc_fm_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	(%rdi), %rax
	movq	_UBI_MAX_VOLUMES@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	shlq	$2, %rcx
	leaq	(%rcx,%rax,8), %rax
	addq	$20, %rax
	movl	4(%rdi), %esi
	movq	%rax, %rdi
	popq	%rbp
	jmp	_roundup                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_UBI_MAX_VOLUMES,4,2            ## @UBI_MAX_VOLUMES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ubi_calc_fm_size               ; -- Begin function ubi_calc_fm_size
	.p2align	2
_ubi_calc_fm_size:                      ; @ubi_calc_fm_size
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _UBI_MAX_VOLUMES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UBI_MAX_VOLUMES@GOTPAGEOFF]
	ldp	w9, w1, [x0]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	lsl	x9, x9, #3
Lloh2:
	ldrsw	x8, [x8]
	add	x8, x9, x8, lsl #2
	add	x0, x8, #20
	b	_roundup
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UBI_MAX_VOLUMES,4,2            ; @UBI_MAX_VOLUMES
.subsections_via_symbols
