	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pblk_update_map_dev            ## -- Begin function pblk_update_map_dev
	.p2align	4, 0x90
_pblk_update_map_dev:                   ## @pblk_update_map_dev
	.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
	movl	%edx, %r14d
	movq	%rdi, %r12
	movq	_ADDR_EMPTY@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_3
## %bb.1:
	leaq	16(%r12), %rdi
	callq	_atomic64_inc
	movl	%r14d, %edi
	callq	_pblk_ppa_empty
	testl	%eax, %eax
	je	LBB0_2
## %bb.9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rsi, %rbx
	cmpq	%rsi, (%r12)
	jle	LBB0_10
## %bb.4:
	movl	%ecx, %r13d
	leaq	8(%r12), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_pblk_trans_map_get
	movl	%eax, %edi
	movl	%r13d, %esi
	callq	_pblk_ppa_comp
	testl	%eax, %eax
	je	LBB0_5
## %bb.7:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_pblk_trans_map_set
	jmp	LBB0_8
LBB0_10:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WARN                           ## TAILCALL
LBB0_2:
	movq	%r12, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pblk_map_invalidate            ## TAILCALL
LBB0_5:
	movl	%r14d, %edi
	callq	_pblk_ppa_empty
	testl	%eax, %eax
	jne	LBB0_8
## %bb.6:
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_pblk_map_invalidate
LBB0_8:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ADDR_EMPTY,8,3                 ## @ADDR_EMPTY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pblk: corrupted L2P map request\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pblk_update_map_dev            ; -- Begin function pblk_update_map_dev
	.p2align	2
_pblk_update_map_dev:                   ; @pblk_update_map_dev
	.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	x21, x2
	mov	x19, x0
Lloh0:
	adrp	x8, _ADDR_EMPTY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADDR_EMPTY@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ne	LBB0_3
; %bb.1:
	add	x0, x19, #16
	bl	_atomic64_inc
	and	x20, x21, #0xffffffff
	mov	x0, x20
	bl	_pblk_ppa_empty
	cbz	w0, LBB0_7
; %bb.2:
	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
	ret
LBB0_3:
	mov	x22, x1
	ldr	x8, [x19]
	cmp	x8, x1
	b.le	LBB0_6
; %bb.4:
	mov	x23, x3
	add	x20, x19, #8
	mov	x0, x20
	bl	_spin_lock
	mov	x0, x19
	mov	x1, x22
	bl	_pblk_trans_map_get
	mov	w0, w0
	and	x1, x23, #0xffffffff
	bl	_pblk_ppa_comp
	and	x21, x21, #0xffffffff
	cbz	w0, LBB0_8
; %bb.5:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_pblk_trans_map_set
	b	LBB0_10
LBB0_6:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	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	_WARN
LBB0_7:
	mov	x0, x19
	mov	x1, x20
	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	_pblk_map_invalidate
LBB0_8:
	mov	x0, x21
	bl	_pblk_ppa_empty
	cbnz	w0, LBB0_10
; %bb.9:
	mov	x0, x19
	mov	x1, x21
	bl	_pblk_map_invalidate
LBB0_10:
	mov	x0, x20
	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	_spin_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ADDR_EMPTY,8,3                 ; @ADDR_EMPTY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pblk: corrupted L2P map request\n"

.subsections_via_symbols
