	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __pblk_end_io_erase
___pblk_end_io_erase:                   ## @__pblk_end_io_erase
	.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, %r15
	movq	%rdi, %r14
	movq	8(%rdi), %r12
	movl	(%rsi), %esi
	callq	_pblk_ppa_to_line
	movq	%rax, %rbx
	movl	(%r15), %esi
	movq	%r12, %rdi
	callq	_pblk_ppa_to_pos
	movl	%eax, %r12d
	movq	8(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_atomic_dec
	movq	8(%r15), %r13
	movq	%r14, %rdi
	callq	_pblk_disk_name
	movslq	%r12d, %r12
	testq	%r13, %r13
	je	LBB0_2
## %bb.1:
	movq	_PBLK_CHUNK_RESET_FAILED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_trace_pblk_chunk_reset
	movq	_NVM_CHK_ST_OFFLINE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rbx, %rsi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, (%rbx,%r12,4)
	movl	(%r15), %edx
	movq	%r14, %rdi
	callq	_pblk_mark_bb
	jmp	LBB0_3
LBB0_2:
	movq	_PBLK_CHUNK_RESET_DONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_trace_pblk_chunk_reset
	movq	_NVM_CHK_ST_FREE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, (%rbx,%r12,4)
LBB0_3:
	movq	%r14, %rdi
	callq	_pblk_disk_name
	movl	(%rbx,%r12,4), %edx
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_trace_pblk_chunk_state
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_atomic_dec                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PBLK_CHUNK_RESET_FAILED,4,2    ## @PBLK_CHUNK_RESET_FAILED
	.comm	_NVM_CHK_ST_OFFLINE,4,2         ## @NVM_CHK_ST_OFFLINE
	.comm	_PBLK_CHUNK_RESET_DONE,4,2      ## @PBLK_CHUNK_RESET_DONE
	.comm	_NVM_CHK_ST_FREE,4,2            ## @NVM_CHK_ST_FREE
	.no_dead_strip	___pblk_end_io_erase
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __pblk_end_io_erase
___pblk_end_io_erase:                   ; @__pblk_end_io_erase
	.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	x20, x1
	mov	x19, x0
	ldr	x22, [x0, #8]
	ldr	w1, [x1]
	bl	_pblk_ppa_to_line
	mov	x21, x0
	ldr	w1, [x20]
	mov	x0, x22
	bl	_pblk_ppa_to_pos
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x22, [x21, #8]
	sxtw	x23, w0
	mov	x0, x21
	bl	_atomic_dec
	ldr	x24, [x20, #8]
	mov	x0, x19
	bl	_pblk_disk_name
	cbz	x24, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _PBLK_CHUNK_RESET_FAILED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PBLK_CHUNK_RESET_FAILED@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_trace_pblk_chunk_reset
Lloh3:
	adrp	x8, _NVM_CHK_ST_OFFLINE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NVM_CHK_ST_OFFLINE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x22, x23, lsl #2]
	ldr	w2, [x20]
	mov	x0, x19
	mov	x1, x21
	bl	_pblk_mark_bb
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _PBLK_CHUNK_RESET_DONE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PBLK_CHUNK_RESET_DONE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_trace_pblk_chunk_reset
Lloh9:
	adrp	x8, _NVM_CHK_ST_FREE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NVM_CHK_ST_FREE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x22, x23, lsl #2]
LBB0_3:
	mov	x0, x19
	bl	_pblk_disk_name
	ldr	w2, [x22, x23, lsl #2]
	mov	x1, x20
	bl	_trace_pblk_chunk_state
	mov	x0, 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	_atomic_dec
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PBLK_CHUNK_RESET_FAILED,4,2    ; @PBLK_CHUNK_RESET_FAILED
	.comm	_NVM_CHK_ST_OFFLINE,4,2         ; @NVM_CHK_ST_OFFLINE
	.comm	_PBLK_CHUNK_RESET_DONE,4,2      ; @PBLK_CHUNK_RESET_DONE
	.comm	_NVM_CHK_ST_FREE,4,2            ; @NVM_CHK_ST_FREE
	.no_dead_strip	___pblk_end_io_erase
.subsections_via_symbols
