	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pblk_l2p_init
_pblk_l2p_init:                         ## @pblk_l2p_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r12
	callq	_pblk_trans_map_size
	movq	%rax, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movq	___GFP_NOWARN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	___GFP_RETRY_MAYFAIL@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	___GFP_HIGHMEM@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_PAGE_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	___vmalloc
	movl	%eax, 8(%r12)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	-40(%rbp), %rdi
	callq	_pblk_ppa_set_empty
	cmpq	$0, (%r12)
	jle	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	-40(%rbp), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_pblk_trans_map_set
	incq	%rbx
	cmpq	(%r12), %rbx
	jl	LBB0_4
LBB0_5:
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_pblk_l2p_recover
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movl	%eax, %r14d
	movl	8(%r12), %edi
	callq	_vfree
	jmp	LBB0_8
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_pblk_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_8
LBB0_6:
	xorl	%r14d, %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	___GFP_NOWARN,4,2               ## @__GFP_NOWARN
	.comm	___GFP_RETRY_MAYFAIL,4,2        ## @__GFP_RETRY_MAYFAIL
	.comm	___GFP_HIGHMEM,4,2              ## @__GFP_HIGHMEM
	.comm	_PAGE_KERNEL,4,2                ## @PAGE_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to allocate L2P (need %zu of memory)\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_pblk_l2p_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pblk_l2p_init
_pblk_l2p_init:                         ; @pblk_l2p_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
	bl	_pblk_trans_map_size
	mov	x21, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, ___GFP_NOWARN@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___GFP_NOWARN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, ___GFP_RETRY_MAYFAIL@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___GFP_RETRY_MAYFAIL@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, ___GFP_HIGHMEM@GOTPAGE
Lloh10:
	ldr	x10, [x10, ___GFP_HIGHMEM@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh11:
	ldr	w9, [x10]
	orr	w1, w8, w9
Lloh12:
	adrp	x8, _PAGE_KERNEL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PAGE_KERNEL@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	bl	___vmalloc
	str	w0, [x19, #8]
	cbz	w0, LBB0_6
; %bb.1:
	add	x0, sp, #8
	bl	_pblk_ppa_set_empty
	ldr	x8, [x19]
	cmp	x8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x21, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [sp, #8]
	mov	x0, x19
	mov	x1, x21
	bl	_pblk_trans_map_set
	add	x21, x21, #1
	ldr	x8, [x19]
	cmp	x21, x8
	b.lt	LBB0_3
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	bl	_pblk_l2p_recover
	mov	x20, x0
	cbz	w0, LBB0_7
; %bb.5:
	ldr	w0, [x19, #8]
	bl	_vfree
	b	LBB0_7
LBB0_6:
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_pblk_err
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	___GFP_NOWARN,4,2               ; @__GFP_NOWARN
	.comm	___GFP_RETRY_MAYFAIL,4,2        ; @__GFP_RETRY_MAYFAIL
	.comm	___GFP_HIGHMEM,4,2              ; @__GFP_HIGHMEM
	.comm	_PAGE_KERNEL,4,2                ; @PAGE_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to allocate L2P (need %zu of memory)\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_pblk_l2p_init
.subsections_via_symbols
