	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ubi_calculate_reserved         ## -- Begin function ubi_calculate_reserved
	.p2align	4, 0x90
_ubi_calculate_reserved:                ## @ubi_calculate_reserved
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rcx
	movq	16(%rdi), %rdx
	movq	%rcx, %rax
	subq	%rdx, %rax
	movq	%rax, (%rdi)
	js	LBB0_2
## %bb.1:
	popq	%rbp
	retq
LBB0_2:
	movq	$0, (%rdi)
	leaq	L_.str(%rip), %rsi
	popq	%rbp
	jmp	_ubi_warn                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"number of bad PEBs (%d) is above the expected limit (%d), not reserving any PEBs for bad PEB handling, will use available PEBs (if any)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ubi_calculate_reserved         ; -- Begin function ubi_calculate_reserved
	.p2align	2
_ubi_calculate_reserved:                ; @ubi_calculate_reserved
	.cfi_startproc
; %bb.0:
	ldp	x3, x2, [x0, #8]
	subs	x8, x3, x2
	str	x8, [x0]
	b.mi	LBB0_2
; %bb.1:
	ret
LBB0_2:
	str	xzr, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	_ubi_warn
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"number of bad PEBs (%d) is above the expected limit (%d), not reserving any PEBs for bad PEB handling, will use available PEBs (if any)"

.subsections_via_symbols
