	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pblk_lines_init
_pblk_lines_init:                       ## @pblk_lines_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_pblk_line_meta_init
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_25
## %bb.1:
	movq	%r15, %rdi
	callq	_pblk_line_mg_init
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_25
## %bb.2:
	movq	%r15, %rdi
	callq	_pblk_luns_init
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	movq	%r15, %rdi
	callq	_pblk_get_chunk_meta
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	%r12, %rdi
	callq	_PTR_ERR
	movl	%eax, %r14d
	jmp	LBB0_5
LBB0_7:
	movl	16(%r15), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$8, %esi
	callq	_kcalloc
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	%rax, %r13
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	leaq	16(%r15), %rax
	xorl	%r14d, %r14d
	cmpl	$0, (%rax)
	movl	$0, %ebx
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jle	LBB0_17
## %bb.9:
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_pblk_alloc_line_meta
	testl	%eax, %eax
	je	LBB0_12
## %bb.10:
	xorl	%ebx, %ebx
	movl	%eax, %r14d
	jmp	LBB0_18
LBB0_11:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_22
LBB0_12:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%ebx, %ecx
	callq	_pblk_setup_line_meta
	movq	%rax, %r12
	addl	-52(%rbp), %r12d                ## 4-byte Folded Reload
	movq	%r15, %rdi
	callq	_pblk_disk_name
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	4(%rcx,%rbx,8), %esi
	movl	(%r13), %edx
	movl	%eax, %edi
	callq	_trace_pblk_line_state
	incq	%rbx
	movslq	16(%r15), %rax
	cmpq	%rax, %rbx
	jge	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	8(%r15), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%rbx,8), %r13
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_pblk_alloc_line_meta
	testl	%eax, %eax
	je	LBB0_13
## %bb.15:
	movl	%eax, %r14d
	jmp	LBB0_18
LBB0_16:
	testl	%r12d, %r12d
	je	LBB0_17
## %bb.23:
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_pblk_set_provision
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_18
## %bb.24:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_vfree
	xorl	%r14d, %r14d
	jmp	LBB0_25
LBB0_17:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_pblk_err
	movq	_EINTR@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
LBB0_18:
	testl	%ebx, %ebx
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	jle	LBB0_21
## %bb.19:
	movl	%ebx, %r12d
	leaq	-8(,%r12,8), %rbx
	incq	%r12
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rsi
	addq	%rbx, %rsi
	movq	%r13, %rdi
	callq	_pblk_line_meta_free
	decq	%r12
	addq	$-8, %rbx
	cmpq	$1, %r12
	ja	LBB0_20
LBB0_21:
	movq	8(%r15), %rdi
	callq	_kfree
	movq	-48(%rbp), %r12                 ## 8-byte Reload
LBB0_22:
	movq	%r12, %rdi
	callq	_vfree
LBB0_5:
	movq	(%r15), %rdi
	callq	_kfree
LBB0_6:
	movq	%r15, %rdi
	callq	_pblk_line_mg_free
LBB0_25:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"too many bad blocks prevent for sane instance\n"

	.comm	_EINTR,4,2                      ## @EINTR
	.no_dead_strip	_pblk_lines_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pblk_lines_init
_pblk_lines_init:                       ; @pblk_lines_init
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	bl	_pblk_line_meta_init
	mov	x22, x0
	cbnz	w0, LBB0_25
; %bb.1:
	mov	x0, x19
	bl	_pblk_line_mg_init
	mov	x22, x0
	cbnz	w0, LBB0_25
; %bb.2:
	mov	x0, x19
	bl	_pblk_luns_init
	mov	x22, x0
	cbnz	w0, LBB0_24
; %bb.3:
	mov	x0, x19
	bl	_pblk_get_chunk_meta
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_PTR_ERR
	mov	x22, x0
	b	LBB0_23
LBB0_5:
	ldr	w0, [x19, #16]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #8
	bl	_kcalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_9
; %bb.6:
	add	x21, x19, #16
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.7:
	mov	x25, x0
	mov	x0, x19
	mov	x1, x25
	bl	_pblk_alloc_line_meta
	cbz	w0, LBB0_12
; %bb.8:
	mov	x22, x0
	mov	w23, #0
	b	LBB0_18
LBB0_9:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_22
LBB0_10:
	mov	w23, #0
LBB0_11:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_pblk_err
Lloh8:
	adrp	x8, _EINTR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINTR@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_18
LBB0_12:
	mov	w24, #0
	mov	x23, #0
	mov	w26, #4
	mov	x27, x25
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x25
	mov	x2, x20
	mov	x3, x23
	bl	_pblk_setup_line_meta
	add	w24, w24, w0
	mov	x0, x19
	bl	_pblk_disk_name
	ldr	w1, [x27, x26]
	ldr	w2, [x25]
	bl	_trace_pblk_line_state
	add	x23, x23, #1
	ldrsw	x8, [x19, #16]
	cmp	x23, x8
	b.ge	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x27, [x19, #8]
	add	x25, x27, x23, lsl #3
	add	x8, x27, x26
	add	x1, x8, #4
	mov	x0, x19
	bl	_pblk_alloc_line_meta
	add	x26, x26, #8
	cbz	w0, LBB0_13
; %bb.15:
	mov	x22, x0
	b	LBB0_18
LBB0_16:
	cbz	w24, LBB0_11
; %bb.17:
	mov	x0, x19
	mov	x1, x24
	bl	_pblk_set_provision
	mov	x22, x0
	cbz	w0, LBB0_26
LBB0_18:
	cmp	w23, #1
	b.lt	LBB0_21
; %bb.19:
	mov	w8, w23
	add	x23, x8, #1
	lsl	x8, x8, #3
	sub	x24, x8, #8
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x1, x8, x24
	mov	x0, x21
	bl	_pblk_line_meta_free
	sub	x23, x23, #1
	sub	x24, x24, #8
	cmp	x23, #1
	b.hi	LBB0_20
LBB0_21:
	ldr	x0, [x19, #8]
	bl	_kfree
LBB0_22:
	mov	x0, x20
	bl	_vfree
LBB0_23:
	ldr	x0, [x19]
	bl	_kfree
LBB0_24:
	mov	x0, x19
	bl	_pblk_line_mg_free
LBB0_25:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_26:
	mov	x0, x20
	bl	_vfree
	b	LBB0_25
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"too many bad blocks prevent for sane instance\n"

	.comm	_EINTR,4,2                      ; @EINTR
	.no_dead_strip	_pblk_lines_init
.subsections_via_symbols
