	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pblk_map_rq                    ## -- Begin function pblk_map_rq
	.p2align	4, 0x90
_pblk_map_rq:                           ## @pblk_map_rq
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_pblk_get_meta_for_writes
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_nvm_rq_to_ppa_list
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movl	(%r15), %ecx
	movslq	%r14d, %r14
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movslq	%ecx, %rcx
	leaq	(%rax,%r14,4), %r15
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	leaq	(,%rcx,4), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rbx
	addq	-72(%rbp), %rbx                 ## 8-byte Folded Reload
	movq	%r13, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	%r14d, %edx
	callq	_pblk_get_meta
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rcx,%r14), %esi
	movq	%r13, %rdi
	movq	%r15, %rdx
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	%rax, %r8
	movl	%r12d, %r9d
	callq	_pblk_map_page_data
	addq	-64(%rbp), %r15                 ## 8-byte Folded Reload
	movq	%rbx, %r14
	testl	%eax, %eax
	jne	LBB0_6
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movslq	(%rax), %rax
	cmpq	%rax, %r14
	jge	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rcx,%r14), %eax
	movl	%ecx, %r12d
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	jbe	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	xorl	%edx, %edx
	divl	-56(%rbp)                       ## 4-byte Folded Reload
	movl	%edx, %r12d
	jmp	LBB0_5
LBB0_2:
	xorl	%eax, %eax
LBB0_6:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pblk_map_rq                    ; -- Begin function pblk_map_rq
	.p2align	2
_pblk_map_rq:                           ; @pblk_map_rq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x25, x5
	mov	x19, x4
	str	x3, [sp, #24]                   ; 8-byte Folded Spill
	str	w2, [sp, #20]                   ; 4-byte Folded Spill
	mov	x22, x1
	mov	x23, x0
	bl	_pblk_get_meta_for_writes
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	mov	x0, x22
	bl	_nvm_rq_to_ppa_list
	ldr	w28, [x23]
	sxtw	x26, w25
	sxtw	x20, w28
	add	x25, x0, w25, sxtw #2
	sbfiz	x21, x28, #2, #32
	udiv	w8, w19, w28
	msub	w8, w8, w28, w19
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x24, x26, x20
	mov	x0, x23
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	mov	x2, x26
	bl	_pblk_get_meta
	mov	x4, x0
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	add	w1, w8, w26
	mov	x0, x23
	mov	x2, x25
	ldr	x3, [sp, #24]                   ; 8-byte Folded Reload
	mov	x5, x27
	bl	_pblk_map_page_data
	add	x25, x25, x21
	mov	x26, x24
	cbnz	w0, LBB0_6
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x22]
	cmp	x26, x8
	b.ge	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w8, w28, w26
	cmp	w8, w19
	mov	x27, x28
	b.ls	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w27, [sp, #4]                   ; 4-byte Folded Reload
	b	LBB0_1
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
