	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pblk_line_close                ## -- Begin function pblk_line_close
	.p2align	4, 0x90
_pblk_line_close:                       ## @pblk_line_close
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	32(%rdi), %r12
	leaq	8(%rdi), %r15
	leaq	16(%rdi), %r13
	movq	%r13, %rdi
	callq	_spin_lock
	movl	52(%r14), %edi
	leaq	20(%rbx), %rsi
	callq	_test_and_clear_bit
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_WARN_ON
	movq	%r13, %rdi
	callq	_spin_unlock
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_spin_lock
	leaq	12(%r14), %r13
	movq	%r13, %rdi
	callq	_spin_lock
	movq	(%r14), %rax
	movq	_PBLK_LINESTATE_OPEN@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_WARN_ON
	movq	_PBLK_LINESTATE_CLOSED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_pblk_line_gc_list
	leaq	48(%r14), %rdi
	movq	%rax, %rsi
	callq	_list_add_tail
	movq	40(%r14), %rdi
	movl	12(%rbx), %esi
	callq	_mempool_free
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r14)
	movq	$0, 40(%r14)
	cmpl	$0, 24(%rbx)
	jle	LBB0_3
## %bb.1:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	movl	(%rax,%r15,4), %esi
	movq	%r12, %rdi
	callq	_pblk_ppa_to_pos
	incq	%r15
	movslq	24(%rbx), %rax
	cmpq	%rax, %r15
	jl	LBB0_2
LBB0_3:
	movq	%r13, %rdi
	callq	_spin_unlock
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock
	movq	%rbx, %rdi
	callq	_pblk_disk_name
	movl	8(%r14), %esi
	movq	(%r14), %rdx
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_trace_pblk_line_state          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PBLK_LINESTATE_OPEN,8,3        ## @PBLK_LINESTATE_OPEN
	.comm	_PBLK_LINESTATE_CLOSED,8,3      ## @PBLK_LINESTATE_CLOSED
	.comm	_NVM_CHK_ST_OFFLINE,4,2         ## @NVM_CHK_ST_OFFLINE
	.comm	_NVM_CHK_ST_CLOSED,4,2          ## @NVM_CHK_ST_CLOSED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pblk_line_close                ; -- Begin function pblk_line_close
	.p2align	2
_pblk_line_close:                       ; @pblk_line_close
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	ldr	x22, [x0, #32]
	add	x21, x0, #8
	add	x23, x0, #16
	mov	x0, x23
	bl	_spin_lock
	ldr	w0, [x19, #52]
	add	x1, x20, #20
	bl	_test_and_clear_bit
	cmp	w0, #0
	cset	w0, eq
	bl	_WARN_ON
	mov	x0, x23
	bl	_spin_unlock
	mov	x0, x21
	bl	_spin_lock
	add	x23, x19, #12
	mov	x0, x23
	bl	_spin_lock
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _PBLK_LINESTATE_OPEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PBLK_LINESTATE_OPEN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_WARN_ON
Lloh3:
	adrp	x8, _PBLK_LINESTATE_CLOSED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PBLK_LINESTATE_CLOSED@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x19]
	mov	x0, x20
	mov	x1, x19
	bl	_pblk_line_gc_list
	mov	x1, x0
	add	x0, x19, #48
	bl	_list_add_tail
	ldr	x0, [x19, #40]
	ldr	w1, [x20, #12]
	bl	_mempool_free
	stp	xzr, xzr, [x19, #32]
	str	xzr, [x19, #24]
	ldr	w8, [x20, #24]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x24, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	w1, [x8, x24, lsl #2]
	mov	x0, x22
	bl	_pblk_ppa_to_pos
	add	x24, x24, #1
	ldrsw	x8, [x20, #24]
	cmp	x24, x8
	b.lt	LBB0_2
LBB0_3:
	mov	x0, x23
	bl	_spin_unlock
	mov	x0, x21
	bl	_spin_unlock
	mov	x0, x20
	bl	_pblk_disk_name
	ldr	w1, [x19, #8]
	ldr	x2, [x19]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_trace_pblk_line_state
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PBLK_LINESTATE_OPEN,8,3        ; @PBLK_LINESTATE_OPEN
	.comm	_PBLK_LINESTATE_CLOSED,8,3      ; @PBLK_LINESTATE_CLOSED
	.comm	_NVM_CHK_ST_OFFLINE,4,2         ; @NVM_CHK_ST_OFFLINE
	.comm	_NVM_CHK_ST_CLOSED,4,2          ; @NVM_CHK_ST_CLOSED
.subsections_via_symbols
