	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_loop_queue_rq
_nvme_loop_queue_rq:                    ## @nvme_loop_queue_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %r12
	movq	(%rsi), %r15
	movq	%r15, %rdi
	callq	_blk_mq_rq_to_pdu
	movq	%rax, %r14
	movq	_NVME_LOOP_Q_LIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%rbx), %rsi
	callq	_test_bit
	movq	8(%rbx), %rdi
	addq	$4, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_nvmf_check_ready
	testl	%eax, %eax
	je	LBB0_11
## %bb.1:
	leaq	28(%r14), %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvme_setup_cmd
	testq	%rax, %rax
	jne	LBB0_10
## %bb.2:
	movq	%r15, %rdi
	callq	_blk_mq_start_request
	movq	_NVME_CMD_SGL_METABUF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 28(%r14)
	movq	8(%rbx), %rax
	movl	(%rax), %eax
	leaq	4(%r14), %rdi
	movl	%eax, 16(%r14)
	leaq	4(%rbx), %rsi
	movq	_nvme_loop_ops@GOTPCREL(%rip), %rcx
	movq	%rbx, %rdx
	callq	_nvmet_req_init
	testl	%eax, %eax
	je	LBB0_8
## %bb.3:
	movq	%r15, %rdi
	callq	_blk_rq_nr_phys_segments
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movl	24(%r14), %eax
	movq	%r14, %rbx
	addq	$20, %rbx
	movl	%eax, 20(%r14)
	movq	%r15, %rdi
	callq	_blk_rq_nr_phys_segments
	movl	20(%r14), %edx
	movq	_SG_CHUNK_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_sg_alloc_table_chained
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	callq	_nvme_cleanup_cmd
	movq	_BLK_STS_RESOURCE@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_11:
	movq	8(%rbx), %rdi
	addq	$4, %rdi
	movq	%r15, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvmf_fail_nonready_command     ## TAILCALL
LBB0_6:
	movl	20(%r14), %edx
	movl	%edx, 12(%r14)
	movl	(%r15), %edi
	movq	%r15, %rsi
	callq	_blk_rq_map_sg
	movl	%eax, 8(%r14)
	movq	%r15, %rdi
	callq	_blk_rq_payload_bytes
	movl	%eax, 4(%r14)
LBB0_7:
	movq	%r14, %rdi
	callq	_schedule_work
LBB0_8:
	movq	_BLK_STS_OK@GOTPCREL(%rip), %rax
LBB0_9:
	movq	(%rax), %rax
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVME_LOOP_Q_LIVE,4,2           ## @NVME_LOOP_Q_LIVE
	.comm	_NVME_CMD_SGL_METABUF,4,2       ## @NVME_CMD_SGL_METABUF
	.comm	_nvme_loop_ops,4,2              ## @nvme_loop_ops
	.comm	_BLK_STS_OK,8,3                 ## @BLK_STS_OK
	.comm	_SG_CHUNK_SIZE,4,2              ## @SG_CHUNK_SIZE
	.comm	_BLK_STS_RESOURCE,8,3           ## @BLK_STS_RESOURCE
	.no_dead_strip	_nvme_loop_queue_rq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_loop_queue_rq
_nvme_loop_queue_rq:                    ; @nvme_loop_queue_rq
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldp	x21, x8, [x0]
	ldr	x22, [x8]
	ldr	x19, [x1]
	mov	x0, x19
	bl	_blk_mq_rq_to_pdu
	mov	x20, x0
Lloh0:
	adrp	x8, _NVME_LOOP_Q_LIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVME_LOOP_Q_LIVE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x21, #16
	bl	_test_bit
	mov	x2, x0
	ldr	x8, [x21, #8]
	add	x0, x8, #4
	mov	x1, x19
	bl	_nvmf_check_ready
	cbz	w0, LBB0_6
; %bb.1:
	add	x2, x20, #28
	mov	x0, x22
	mov	x1, x19
	bl	_nvme_setup_cmd
	cbnz	x0, LBB0_11
; %bb.2:
	mov	x0, x19
	bl	_blk_mq_start_request
Lloh3:
	adrp	x8, _NVME_CMD_SGL_METABUF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NVME_CMD_SGL_METABUF@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x20, #28]
	orr	w8, w9, w8
	str	w8, [x20, #28]
	ldr	x8, [x21, #8]
	ldr	w8, [x8]
	add	x0, x20, #4
	str	w8, [x20, #16]
	add	x1, x21, #4
Lloh6:
	adrp	x3, _nvme_loop_ops@GOTPAGE
Lloh7:
	ldr	x3, [x3, _nvme_loop_ops@GOTPAGEOFF]
	mov	x2, x21
	bl	_nvmet_req_init
	cbz	w0, LBB0_9
; %bb.3:
	mov	x0, x19
	bl	_blk_rq_nr_phys_segments
	cbz	x0, LBB0_8
; %bb.4:
	ldr	w8, [x20, #24]
	mov	x21, x20
	str	w8, [x21, #20]!
	mov	x0, x19
	bl	_blk_rq_nr_phys_segments
	mov	x1, x0
	ldr	w2, [x21]
Lloh8:
	adrp	x8, _SG_CHUNK_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SG_CHUNK_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	x0, x21
	bl	_sg_alloc_table_chained
	cbz	x0, LBB0_7
; %bb.5:
	mov	x0, x19
	bl	_nvme_cleanup_cmd
Lloh11:
	adrp	x8, _BLK_STS_RESOURCE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BLK_STS_RESOURCE@GOTPAGEOFF]
	b	LBB0_10
LBB0_6:
	ldr	x8, [x21, #8]
	add	x0, x8, #4
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_nvmf_fail_nonready_command
LBB0_7:
	ldr	w2, [x20, #20]
	str	w2, [x20, #12]
	ldr	w0, [x19]
	mov	x1, x19
	bl	_blk_rq_map_sg
	str	w0, [x20, #8]
	mov	x0, x19
	bl	_blk_rq_payload_bytes
	str	w0, [x20, #4]
LBB0_8:
	mov	x0, x20
	bl	_schedule_work
LBB0_9:
Lloh13:
	adrp	x8, _BLK_STS_OK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _BLK_STS_OK@GOTPAGEOFF]
LBB0_10:
	ldr	x0, [x8]
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_NVME_LOOP_Q_LIVE,4,2           ; @NVME_LOOP_Q_LIVE
	.comm	_NVME_CMD_SGL_METABUF,4,2       ; @NVME_CMD_SGL_METABUF
	.comm	_nvme_loop_ops,4,2              ; @nvme_loop_ops
	.comm	_BLK_STS_OK,8,3                 ; @BLK_STS_OK
	.comm	_SG_CHUNK_SIZE,4,2              ; @SG_CHUNK_SIZE
	.comm	_BLK_STS_RESOURCE,8,3           ; @BLK_STS_RESOURCE
	.no_dead_strip	_nvme_loop_queue_rq
.subsections_via_symbols
