	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_nvm_alloc_request
_nvme_nvm_alloc_request:                ## @nvme_nvm_alloc_request
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rsi
	movq	%r14, %rdi
	callq	_nvme_nvm_rqtocmd
	movq	_NVME_QID_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_nvme_alloc_request
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movq	_REQ_FAILFAST_DRIVER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 4(%rbx)
	cmpl	$0, (%r14)
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_blk_rq_append_bio
	jmp	LBB0_4
LBB0_3:
	movq	_IOPRIO_CLASS_BE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IOPRIO_NORM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_IOPRIO_PRIO_VALUE
	movl	%eax, (%rbx)
LBB0_4:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVME_QID_ANY,4,2               ## @NVME_QID_ANY
	.comm	_REQ_FAILFAST_DRIVER,4,2        ## @REQ_FAILFAST_DRIVER
	.comm	_IOPRIO_CLASS_BE,4,2            ## @IOPRIO_CLASS_BE
	.comm	_IOPRIO_NORM,4,2                ## @IOPRIO_NORM
	.no_dead_strip	_nvme_nvm_alloc_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_nvm_alloc_request
_nvme_nvm_alloc_request:                ; @nvme_nvm_alloc_request
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x1, [x0]
	mov	x0, x19
	bl	_nvme_nvm_rqtocmd
Lloh0:
	adrp	x8, _NVME_QID_ANY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVME_QID_ANY@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	bl	_nvme_alloc_request
	mov	x20, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _REQ_FAILFAST_DRIVER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REQ_FAILFAST_DRIVER@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x20, #4]
	bic	w8, w9, w8
	str	w8, [x20, #4]
	ldr	w8, [x19]
	cbz	w8, LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	bl	_blk_rq_append_bio
	b	LBB0_4
LBB0_3:
Lloh6:
	adrp	x8, _IOPRIO_CLASS_BE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IOPRIO_CLASS_BE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _IOPRIO_NORM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IOPRIO_NORM@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_IOPRIO_PRIO_VALUE
	str	w0, [x20]
LBB0_4:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NVME_QID_ANY,4,2               ; @NVME_QID_ANY
	.comm	_REQ_FAILFAST_DRIVER,4,2        ; @REQ_FAILFAST_DRIVER
	.comm	_IOPRIO_CLASS_BE,4,2            ; @IOPRIO_CLASS_BE
	.comm	_IOPRIO_NORM,4,2                ; @IOPRIO_NORM
	.no_dead_strip	_nvme_nvm_alloc_request
.subsections_via_symbols
