	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pblk_map_page_data
_pblk_map_page_data:                    ## @pblk_map_page_data
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r12d
	movq	%r8, -160(%rbp)                 ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %r14
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	callq	_pblk_line_get_data
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movl	(%rbx), %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_pblk_line_is_full
	testq	%rax, %rax
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	je	LBB0_3
## %bb.9:
	movq	%rbx, %rdi
	callq	_pblk_line_replace_data
	movq	%rax, %r15
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_pblk_line_close_meta
	movq	%r15, %r13
	testq	%r15, %r15
	movq	%rbx, %r12
	jne	LBB0_4
## %bb.10:
	movq	%r12, %rdi
	callq	_pblk_pipeline_stop
LBB0_1:
	movq	_ENOSPC@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_15
LBB0_3:
	movq	%rbx, %r12
LBB0_4:
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	16(%r13), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_emeta_to_lbas
	movq	%rax, %r15
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_pblk_alloc_page
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	testl	%ebx, %ebx
	jle	LBB0_14
## %bb.5:
	movq	%r13, %rbx
	leaq	8(%r13), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	leaq	4(%r13), %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	leaq	8(%r12), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	leaq	4(%r12), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r15,%rax,8), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax,%r14,8)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rcx, (%rax)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	___pblk_map_invalidate
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%r14
	cmpq	%r14, -96(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_14
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r14), %r13
	movq	%r12, %rdi
	movq	-160(%rbp), %rsi                ## 8-byte Reload
	movl	%r14d, %edx
	callq	_pblk_get_meta
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_ADDR_EMPTY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le64
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	12(%rbx), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_addr_to_gen_ppa
	movl	%eax, (%r15,%r14,4)
	cmpq	-152(%rbp), %r14                ## 8-byte Folded Reload
	jae	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %r13
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	callq	_kref_get
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	callq	_atomic_inc
	movq	-120(%rbp), %rax                ## 8-byte Reload
	leal	(%rax,%r14), %esi
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	callq	_pblk_rb_w_ctx
	movq	%rax, %rbx
	movl	(%r15,%r14,4), %eax
	movl	%eax, 4(%rbx)
	movl	(%rbx), %edi
	callq	_cpu_to_le64
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movl	(%rbx), %edi
	callq	_cpu_to_le64
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx,%r14,8)
	cmpq	-56(%rbp), %rax                 ## 8-byte Folded Reload
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rbx
	incl	(%r13)
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_13
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	callq	_atomic64_inc
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r13, %rbx
	jmp	LBB0_13
LBB0_14:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	callq	_pblk_down_rq
	xorl	%eax, %eax
LBB0_15:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.comm	_ADDR_EMPTY,4,2                 ## @ADDR_EMPTY
	.no_dead_strip	_pblk_map_page_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pblk_map_page_data
_pblk_map_page_data:                    ; @pblk_map_page_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x27, x5
	str	x4, [sp, #48]                   ; 8-byte Folded Spill
	mov	x21, x3
	mov	x22, x2
	mov	x24, x1
	mov	x20, x0
	bl	_pblk_line_get_data
	cbz	x0, LBB0_13
; %bb.1:
	mov	x23, x0
	ldr	w8, [x20]
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
	bl	_pblk_line_is_full
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_pblk_line_replace_data
	mov	x19, x0
	mov	x0, x20
	mov	x1, x23
	bl	_pblk_line_close_meta
	mov	x23, x19
	cbz	x19, LBB0_12
LBB0_3:
	str	x21, [sp]                       ; 8-byte Folded Spill
	ldr	x8, [x23, #16]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_emeta_to_lbas
	mov	x19, x0
	mov	x0, x20
	mov	x1, x23
	ldr	x21, [sp, #56]                  ; 8-byte Folded Reload
	mov	x2, x21
	bl	_pblk_alloc_page
	cmp	w21, #1
	b.lt	LBB0_11
; %bb.4:
	mov	x25, x0
	mov	x26, #0
	add	x9, x23, #8
	add	x8, x23, #4
	stp	x8, x9, [sp, #32]               ; 16-byte Folded Spill
	add	x9, x20, #8
	add	x8, x20, #4
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	mov	w21, w27
	mov	w8, w24
	stp	x8, x9, [sp, #16]               ; 16-byte Folded Spill
	add	x24, x19, x0, lsl #3
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	str	x27, [x24, x26, lsl #3]
	str	x27, [x28]
	mov	x0, x20
	mov	x1, x23
	mov	x2, x19
	bl	___pblk_map_invalidate
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x26, x26, #1
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	cmp	x8, x26
	b.eq	LBB0_11
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x19, x25, x26
	mov	x0, x20
	ldr	x1, [sp, #48]                   ; 8-byte Folded Reload
	mov	x2, x26
	bl	_pblk_get_meta
	mov	x28, x0
Lloh0:
	adrp	x8, _ADDR_EMPTY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADDR_EMPTY@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_to_le64
	mov	x27, x0
	ldr	w2, [x23, #12]
	mov	x0, x20
	mov	x1, x19
	bl	_addr_to_gen_ppa
	str	w0, [x22, x26, lsl #2]
	cmp	x26, x21
	b.hs	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_kref_get
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	bl	_atomic_inc
	ldp	x8, x0, [sp, #16]               ; 16-byte Folded Reload
	add	w1, w8, w26
	bl	_pblk_rb_w_ctx
	mov	x19, x0
	ldr	w8, [x22, x26, lsl #2]
	str	w8, [x0, #4]
	ldr	w0, [x0]
	bl	_cpu_to_le64
	str	x0, [x28]
	ldr	w0, [x19]
	bl	_cpu_to_le64
	str	x0, [x24, x26, lsl #3]
	cmp	x0, x27
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x23]
	add	w8, w8, #1
	str	w8, [x23]
	b	LBB0_6
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_atomic64_inc
	b	LBB0_6
LBB0_11:
	ldr	w1, [x22]
	mov	x0, x20
	ldr	x2, [sp]                        ; 8-byte Folded Reload
	bl	_pblk_down_rq
	mov	w0, #0
	b	LBB0_14
LBB0_12:
	mov	x0, x20
	bl	_pblk_pipeline_stop
LBB0_13:
Lloh3:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_14:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.comm	_ADDR_EMPTY,4,2                 ; @ADDR_EMPTY
	.no_dead_strip	_pblk_map_page_data
.subsections_via_symbols
