	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pblk_line_recov_alloc          ## -- Begin function pblk_line_recov_alloc
	.p2align	4, 0x90
_pblk_line_recov_alloc:                 ## @pblk_line_recov_alloc
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	8(%rdi), %r14
	movq	%r14, %rdi
	callq	_spin_lock
	movq	%r15, 16(%rbx)
	movq	%r15, %rdi
	callq	_list_del
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_pblk_line_prepare
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r12d
	jmp	LBB0_6
LBB0_2:
	movq	%r14, %rdi
	callq	_spin_unlock
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_pblk_line_alloc_bitmaps
	movl	%eax, %r12d
	testl	%eax, %eax
	je	LBB0_3
LBB0_5:
	movq	%r14, %rdi
	callq	_spin_lock
LBB0_6:
	addq	$12, %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_list_add
	movq	%r14, %rdi
	callq	_spin_unlock
LBB0_7:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_pblk_line_init_bb
	testl	%eax, %eax
	je	LBB0_4
## %bb.8:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$1, %edx
	callq	_pblk_rl_free_lines_dec
	jmp	LBB0_7
LBB0_4:
	movq	_EINTR@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_EINTR,4,2                      ## @EINTR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pblk_line_recov_alloc          ; -- Begin function pblk_line_recov_alloc
	.p2align	2
_pblk_line_recov_alloc:                 ; @pblk_line_recov_alloc
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x0
	add	x19, x0, #8
	mov	x0, x19
	bl	_spin_lock
	str	x20, [x21, #16]
	mov	x0, x20
	bl	_list_del
	mov	x0, x21
	mov	x1, x20
	bl	_pblk_line_prepare
	cbz	w0, LBB0_2
; %bb.1:
	mov	x22, x0
	b	LBB0_4
LBB0_2:
	mov	x0, x19
	bl	_spin_unlock
	mov	x0, x21
	mov	x1, x20
	bl	_pblk_line_alloc_bitmaps
	mov	x22, x0
	cbz	w0, LBB0_6
LBB0_3:
	mov	x0, x19
	bl	_spin_lock
LBB0_4:
	add	x1, x21, #12
	mov	x0, x20
	bl	_list_add
	mov	x0, x19
	bl	_spin_unlock
LBB0_5:
	mov	x0, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	bl	_pblk_line_init_bb
	cbz	w0, LBB0_8
; %bb.7:
	mov	x0, x21
	mov	x1, x20
	mov	w2, #1
	bl	_pblk_rl_free_lines_dec
	mov	w22, #0
	b	LBB0_5
LBB0_8:
Lloh0:
	adrp	x8, _EINTR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINTR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINTR,4,2                      ; @EINTR
.subsections_via_symbols
