	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pblk_recov_l2p_from_emeta
_pblk_recov_l2p_from_emeta:             ## @pblk_recov_l2p_from_emeta
	.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	$56, %rsp
	.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, %r15
	movq	8(%rdi), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	40(%rsi), %rax
	movq	(%rax), %r13
	movq	%r13, %rsi
	callq	_emeta_to_lbas
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_pblk_line_smeta_start
	movq	%rax, %r12
	addq	(%r15), %r12
	movq	(%r14), %rbx
	movl	(%r13), %edi
	callq	_le64_to_cpu
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	cmpq	%rbx, %r12
	jae	LBB0_3
## %bb.4:
	leaq	20(%r14), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r15,%r12,4), %edi
	callq	_le64_to_cpu
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	%rax, %rsi
	movl	%r13d, %edx
	callq	_pblk_update_map
	incq	-48(%rbp)                       ## 8-byte Folded Spill
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%r12
	cmpq	%rbx, %r12
	jae	LBB0_13
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%r14), %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_addr_to_gen_ppa
	movl	%eax, %r13d
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_pblk_ppa_to_pos
	movl	32(%r14), %esi
	movl	%eax, %edi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15,%r12,4), %edi
	callq	_le64_to_cpu
	movq	_ADDR_EMPTY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_lock
	movl	28(%r14), %esi
	movq	%r12, %rdi
	callq	_test_and_set_bit
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %edi
	leaq	L_.str(%rip), %rsi
	callq	_WARN_ONCE
	jmp	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	24(%r14), %edi
	movl	$-1, %esi
	callq	_le32_add_cpu
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock
	jmp	LBB0_12
LBB0_1:
	movl	$1, %eax
	jmp	LBB0_16
LBB0_3:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_13:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	cmpq	%r8, %rcx
	je	LBB0_15
## %bb.14:
	movl	16(%r14), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_pblk_err
LBB0_15:
	movq	$0, 8(%r14)
	xorl	%eax, %eax
LBB0_16:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADDR_EMPTY,8,3                 ## @ADDR_EMPTY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pblk: rec. double invalidate:\n"

L_.str.1:                               ## @.str.1
	.asciz	"line %d - inconsistent lba list(%llu/%llu)\n"

	.no_dead_strip	_pblk_recov_l2p_from_emeta
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pblk_recov_l2p_from_emeta
_pblk_recov_l2p_from_emeta:             ; @pblk_recov_l2p_from_emeta
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x1
	mov	x20, x0
	ldr	x21, [x0, #8]
	ldr	x8, [x1, #40]
	ldr	x22, [x8]
	mov	x1, x22
	bl	_emeta_to_lbas
	cbz	x0, LBB0_11
; %bb.1:
	mov	x23, x0
	mov	x0, x20
	mov	x1, x19
	bl	_pblk_line_smeta_start
	ldr	x8, [x20]
	add	x25, x8, x0
	ldr	x27, [x19]
	ldr	w0, [x22]
	bl	_le64_to_cpu
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	cmp	x25, x27
	b.hs	LBB0_12
; %bb.2:
	mov	x24, #0
	add	x26, x19, #20
Lloh0:
	adrp	x22, _ADDR_EMPTY@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ADDR_EMPTY@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x23, x25, lsl #2]
	bl	_le64_to_cpu
	mov	x1, x0
	mov	x0, x20
	mov	x2, x28
	bl	_pblk_update_map
	add	x24, x24, #1
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x25, x25, #1
	cmp	x25, x27
	b.hs	LBB0_13
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x19, #16]
	mov	x0, x20
	mov	x1, x25
	bl	_addr_to_gen_ppa
	mov	w28, w0
	mov	x0, x21
	mov	x1, x28
	bl	_pblk_ppa_to_pos
	ldr	w1, [x19, #32]
	bl	_test_bit
	cbnz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x23, x25, lsl #2]
	bl	_le64_to_cpu
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x26
	bl	_spin_lock
	ldr	w1, [x19, #28]
	mov	x0, x25
	bl	_test_and_set_bit
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_WARN_ONCE
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x19, #24]
	mov	w1, #-1
	bl	_le32_add_cpu
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x26
	bl	_spin_unlock
	b	LBB0_4
LBB0_11:
	mov	w0, #1
	b	LBB0_16
LBB0_12:
	mov	x24, #0
LBB0_13:
	ldr	x3, [sp, #8]                    ; 8-byte Folded Reload
	cmp	x3, x24
	b.eq	LBB0_15
; %bb.14:
	ldr	w2, [x19, #16]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x4, x24
	bl	_pblk_err
LBB0_15:
	mov	w0, #0
	str	xzr, [x19, #8]
LBB0_16:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ADDR_EMPTY,8,3                 ; @ADDR_EMPTY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pblk: rec. double invalidate:\n"

l_.str.1:                               ; @.str.1
	.asciz	"line %d - inconsistent lba list(%llu/%llu)\n"

	.no_dead_strip	_pblk_recov_l2p_from_emeta
.subsections_via_symbols
