	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pblk_line_mg_init
_pblk_line_mg_init:                     ## @pblk_line_mg_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	192(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%rax), %eax
	movl	%eax, 32(%rdi)
	addq	$148, %rdi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 152(%r14)
	movups	%xmm0, 168(%r14)
	movl	$0, 184(%r14)
	movq	_PBLK_DATA_LINES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_bitmap_zero
	leaq	144(%r14), %rdi
	callq	_INIT_LIST_HEAD
	leaq	140(%r14), %rdi
	callq	_INIT_LIST_HEAD
	leaq	136(%r14), %rdi
	callq	_INIT_LIST_HEAD
	leaq	132(%r14), %rdi
	callq	_INIT_LIST_HEAD
	leaq	116(%r14), %rbx
	movq	%rbx, %rdi
	callq	_INIT_LIST_HEAD
	leaq	112(%r14), %r15
	movq	%r15, %rdi
	callq	_INIT_LIST_HEAD
	leaq	100(%r14), %r12
	movq	%r12, %rdi
	callq	_INIT_LIST_HEAD
	leaq	128(%r14), %rdi
	callq	_INIT_LIST_HEAD
	leaq	120(%r14), %r13
	movq	%r13, %rdi
	callq	_INIT_LIST_HEAD
	leaq	124(%r14), %rdi
	callq	_INIT_LIST_HEAD
	movq	104(%r14), %rax
	movq	%r13, (%rax)
	movq	104(%r14), %rax
	movq	%rbx, 8(%rax)
	movq	104(%r14), %rax
	movq	%r15, 16(%rax)
	movq	104(%r14), %rax
	movq	%r12, 24(%rax)
	leaq	96(%r14), %rdi
	callq	_spin_lock_init
	leaq	92(%r14), %rdi
	callq	_spin_lock_init
	leaq	88(%r14), %rdi
	callq	_spin_lock_init
	movl	32(%r14), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movl	$4, %esi
	callq	_kcalloc
	movq	%rax, 40(%r14)
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movl	24(%r14), %edi
	movl	(%r15), %esi
	callq	_kzalloc
	movq	%rax, 48(%r14)
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:
	movl	24(%r14), %edi
	movl	(%r15), %esi
	callq	_kzalloc
	movq	%rax, 56(%r14)
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:
	movq	_PBLK_DATA_LINES@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jle	LBB0_14
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movl	(%r15), %esi
	callq	_kmalloc
	movq	64(%r14), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	64(%r14), %rax
	cmpq	$0, (%rax,%rbx,8)
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_6
LBB0_14:
	movl	24(%r14), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_kmem_cache_create
	movl	%eax, 72(%r14)
	testl	%eax, %eax
	je	LBB0_7
## %bb.15:
	movl	(%r12), %edi
	addl	%edi, %edi
	movl	%eax, %esi
	callq	_mempool_create_slab_pool
	movl	%eax, 76(%r14)
	testl	%eax, %eax
	je	LBB0_25
## %bb.16:
	cmpl	$0, (%r12)
	jle	LBB0_27
## %bb.17:
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	movl	$8, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%rax, %rbx
	movq	16(%r14), %rax
	movl	(%rax), %edi
	movl	(%r15), %esi
	callq	_kvmalloc
	movl	%eax, (%rbx)
	testl	%eax, %eax
	je	LBB0_20
## %bb.26:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	8(%r14), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	80(%r14), %rax
	movq	%rbx, (%rax,%r12,8)
	incq	%r12
	movq	_PBLK_DATA_LINES@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r12
	jl	LBB0_18
LBB0_27:
	cmpl	$0, 32(%r14)
	jle	LBB0_30
## %bb.28:
	xorl	%ebx, %ebx
	movq	_EMPTY_ENTRY@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movq	40(%r14), %r12
	movl	(%r15), %edi
	callq	_cpu_to_le32
	movq	%rax, (%r12,%rbx,8)
	incq	%rbx
	movslq	32(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_29
LBB0_30:
	cmpl	$0, 4(%r14)
	jle	LBB0_31
## %bb.32:
	movl	8(%r13), %edx
	movl	4(%r13), %r12d
	imull	%edx, %r12d
	movq	48(%r14), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_bitmap_set
	cmpl	4(%r14), %r12d
	jge	LBB0_35
## %bb.33:
	movl	%r12d, %r15d
	.p2align	4, 0x90
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movl	8(%r13), %edx
	movq	48(%r14), %rdi
	movl	%r15d, %esi
	callq	_bitmap_set
	addl	%r12d, %r15d
	cmpl	4(%r14), %r15d
	jl	LBB0_34
	jmp	LBB0_35
LBB0_20:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_21:
	testl	%r12d, %r12d
	je	LBB0_24
## %bb.22:
	incq	%r12
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	80(%r14), %rax
	movq	-16(%rax,%r12,8), %rax
	movl	(%rax), %edi
	callq	_kvfree
	movq	80(%r14), %rax
	movq	-16(%rax,%r12,8), %rdi
	callq	_kfree
	decq	%r12
	cmpq	$1, %r12
	ja	LBB0_23
LBB0_24:
	movl	76(%r14), %edi
	callq	_mempool_destroy
	movq	_PBLK_DATA_LINES@GOTPCREL(%rip), %r12
LBB0_25:
	movl	72(%r14), %edi
	callq	_kmem_cache_destroy
LBB0_7:
	cmpl	$0, (%r12)
	jle	LBB0_10
## %bb.8:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	64(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_kfree
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_9
LBB0_10:
	movq	56(%r14), %rdi
	callq	_kfree
LBB0_11:
	movq	48(%r14), %rdi
	callq	_kfree
LBB0_12:
	movq	40(%r14), %rdi
	callq	_kfree
LBB0_13:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_35:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	xorl	%ebx, %ebx
	jmp	LBB0_35
	.cfi_endproc
                                        ## -- End function
	.comm	_PBLK_DATA_LINES,4,2            ## @PBLK_DATA_LINES
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pblk_lm_bitmap"

	.comm	_EMPTY_ENTRY,4,2                ## @EMPTY_ENTRY
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_pblk_line_mg_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pblk_line_mg_init
_pblk_line_mg_init:                     ; @pblk_line_mg_init
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	x24, [x0, #192]
	ldr	w8, [x24]
	str	w8, [x0, #32]
	add	x0, x0, #148
	movi.2d	v0, #0000000000000000
	stur	q0, [x19, #152]
	stur	q0, [x19, #168]
	str	wzr, [x19, #184]
Lloh0:
	adrp	x25, _PBLK_DATA_LINES@GOTPAGE
Lloh1:
	ldr	x25, [x25, _PBLK_DATA_LINES@GOTPAGEOFF]
	ldr	w1, [x25]
	bl	_bitmap_zero
	add	x0, x19, #144
	bl	_INIT_LIST_HEAD
	add	x0, x19, #140
	bl	_INIT_LIST_HEAD
	add	x0, x19, #136
	bl	_INIT_LIST_HEAD
	add	x0, x19, #132
	bl	_INIT_LIST_HEAD
	add	x20, x19, #116
	mov	x0, x20
	bl	_INIT_LIST_HEAD
	add	x21, x19, #112
	mov	x0, x21
	bl	_INIT_LIST_HEAD
	add	x22, x19, #100
	mov	x0, x22
	bl	_INIT_LIST_HEAD
	add	x0, x19, #128
	bl	_INIT_LIST_HEAD
	add	x23, x19, #120
	mov	x0, x23
	bl	_INIT_LIST_HEAD
	add	x0, x19, #124
	bl	_INIT_LIST_HEAD
	ldr	x8, [x19, #104]
	str	x23, [x8]
	ldr	x8, [x19, #104]
	str	x20, [x8, #8]
	ldr	x8, [x19, #104]
	str	x21, [x8, #16]
	ldr	x8, [x19, #104]
	str	x22, [x8, #24]
	add	x0, x19, #96
	bl	_spin_lock_init
	add	x0, x19, #92
	bl	_spin_lock_init
	add	x0, x19, #88
	bl	_spin_lock_init
	ldr	w0, [x19, #32]
Lloh2:
	adrp	x21, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x21, [x21, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	w1, #4
	bl	_kcalloc
	str	x0, [x19, #40]
	cbz	x0, LBB0_33
; %bb.1:
	ldr	w0, [x19, #24]
	ldr	w1, [x21]
	bl	_kzalloc
	str	x0, [x19, #48]
	cbz	x0, LBB0_32
; %bb.2:
	ldr	w0, [x19, #24]
	ldr	w1, [x21]
	bl	_kzalloc
	str	x0, [x19, #56]
	cbz	x0, LBB0_31
; %bb.3:
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.4:
	mov	x20, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	ldr	w1, [x21]
	bl	_kmalloc
	ldr	x8, [x19, #64]
	lsl	x9, x20, #3
	str	x0, [x8, x9]
	ldr	x8, [x19, #64]
	ldr	x8, [x8, x9]
	cbz	x8, LBB0_27
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x25]
	cmp	x20, x8
	b.lt	LBB0_5
LBB0_7:
	ldr	w1, [x19, #24]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	mov	w2, #0
	mov	w3, #0
	mov	x4, #0
	bl	_kmem_cache_create
	str	w0, [x19, #72]
	cbz	w0, LBB0_27
; %bb.8:
	mov	x1, x0
	ldr	w8, [x25]
	lsl	w0, w8, #1
	bl	_mempool_create_slab_pool
	str	w0, [x19, #76]
	cbz	w0, LBB0_26
; %bb.9:
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.10:
	mov	x22, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21]
	mov	w0, #8
	bl	_kmalloc
	cbz	x0, LBB0_22
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x20, x0
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	ldr	w1, [x21]
	bl	_kvmalloc
	str	w0, [x20]
	cbz	w0, LBB0_21
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	str	w8, [x20, #4]
	ldr	x8, [x19, #80]
	str	x20, [x8, x22, lsl #3]
	add	x22, x22, #1
	ldrsw	x8, [x25]
	cmp	x22, x8
	b.lt	LBB0_11
LBB0_14:
	ldr	w8, [x19, #32]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.15:
	mov	x20, #0
Lloh6:
	adrp	x21, _EMPTY_ENTRY@GOTPAGE
Lloh7:
	ldr	x21, [x21, _EMPTY_ENTRY@GOTPAGEOFF]
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x22, [x19, #40]
	ldr	w0, [x21]
	bl	_cpu_to_le32
	str	x0, [x22, x20, lsl #3]
	add	x20, x20, #1
	ldrsw	x8, [x19, #32]
	cmp	x20, x8
	b.lt	LBB0_16
LBB0_17:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_35
; %bb.18:
	ldp	w8, w2, [x24, #4]
	mul	w21, w2, w8
	ldr	x0, [x19, #48]
	mov	w1, #0
	bl	_bitmap_set
	mov	w0, #0
	ldr	w8, [x19, #4]
	cmp	w21, w8
	b.ge	LBB0_34
; %bb.19:
	mov	x20, x21
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x24, #8]
	ldr	x0, [x19, #48]
	mov	x1, x20
	bl	_bitmap_set
	mov	w0, #0
	ldr	w8, [x19, #4]
	add	w20, w20, w21
	cmp	w20, w8
	b.lt	LBB0_20
	b	LBB0_34
LBB0_21:
	mov	x0, x20
	bl	_kfree
LBB0_22:
	cbz	w22, LBB0_25
; %bb.23:
	sub	x20, x22, #1
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #80]
	lsl	x21, x20, #3
	ldr	x8, [x8, x21]
	ldr	w0, [x8]
	bl	_kvfree
	ldr	x8, [x19, #80]
	ldr	x0, [x8, x21]
	bl	_kfree
	add	x8, x20, #1
	sub	x20, x20, #1
	cmp	x8, #1
	b.hi	LBB0_24
LBB0_25:
	ldr	w0, [x19, #76]
	bl	_mempool_destroy
LBB0_26:
	ldr	w0, [x19, #72]
	bl	_kmem_cache_destroy
LBB0_27:
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_30
; %bb.28:
	mov	x20, #0
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #64]
	ldr	x0, [x8, x20, lsl #3]
	bl	_kfree
	add	x20, x20, #1
	ldrsw	x8, [x25]
	cmp	x20, x8
	b.lt	LBB0_29
LBB0_30:
	ldr	x0, [x19, #56]
	bl	_kfree
LBB0_31:
	ldr	x0, [x19, #48]
	bl	_kfree
LBB0_32:
	ldr	x0, [x19, #40]
	bl	_kfree
LBB0_33:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_34:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_35:
	mov	w0, #0
	b	LBB0_34
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_PBLK_DATA_LINES,4,2            ; @PBLK_DATA_LINES
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pblk_lm_bitmap"

	.comm	_EMPTY_ENTRY,4,2                ; @EMPTY_ENTRY
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_pblk_line_mg_init
.subsections_via_symbols
