	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_rq_gc
_read_rq_gc:                            ## @read_rq_gc
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ADDR_EMPTY@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	cmpq	%rcx, (%rax)
	je	LBB0_5
## %bb.1:
	movq	%rcx, %r14
	movq	%rdi, %rbx
	cmpq	%rcx, (%rdi)
	jle	LBB0_2
## %bb.3:
	movl	%r8d, %r15d
	movq	%rdx, %r13
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	leaq	12(%rbx), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_spin_lock
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_pblk_trans_map_get
	movl	%eax, %r14d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_addr_to_gen_ppa
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_pblk_ppa_comp
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%r14d, (%rax)
	movl	$1, %r12d
	jmp	LBB0_5
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_WARN
LBB0_5:
	movl	%r12d, %eax
	addq	$24, %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: read lba out of bounds\n"

	.no_dead_strip	_read_rq_gc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_rq_gc
_read_rq_gc:                            ; @read_rq_gc
	.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
Lloh0:
	adrp	x8, _ADDR_EMPTY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADDR_EMPTY@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x3
	b.eq	LBB0_5
; %bb.1:
	mov	x23, x3
	mov	x21, x0
	ldr	x8, [x0]
	cmp	x8, x3
	b.le	LBB0_4
; %bb.2:
	mov	x20, x4
	mov	x22, x2
	mov	x19, x1
	add	x24, x21, #12
	mov	x0, x24
	bl	_spin_lock
	mov	x0, x21
	mov	x1, x23
	bl	_pblk_trans_map_get
	mov	x23, x0
	mov	x0, x24
	bl	_spin_unlock
	ldr	w2, [x22]
	mov	x0, x21
	mov	x1, x20
	bl	_addr_to_gen_ppa
	mov	w8, w23
	mov	w1, w0
	mov	x0, x8
	bl	_pblk_ppa_comp
	cbz	w0, LBB0_6
; %bb.3:
	str	w23, [x19]
	mov	w0, #1
	b	LBB0_6
LBB0_4:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_WARN
LBB0_5:
	mov	w0, #0
LBB0_6:
	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
	.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: read lba out of bounds\n"

	.no_dead_strip	_read_rq_gc
.subsections_via_symbols
