	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_make_request
_nvme_make_request:                     ## @nvme_make_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	(%rdi), %r12
	movl	(%r12), %edi
	callq	_get_nvmeq
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	_EBUSY@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_spin_lock_irq
	cmpl	$0, 16(%r15)
	jne	LBB0_5
## %bb.3:
	leaq	4(%r15), %rdi
	callq	_bio_list_empty
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_nvme_submit_bio_queue
	movl	%eax, %ebx
LBB0_5:
	movl	%ebx, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	leaq	4(%r15), %rbx
	movq	%rbx, %rdi
	callq	_bio_list_empty
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	12(%r15), %rdi
	movq	%r15, %rsi
	addq	$8, %rsi
	callq	_add_wait_queue
LBB0_8:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_bio_list_add
LBB0_9:
	movq	%r15, %rdi
	callq	_nvme_process_cq
	movq	%r15, %rdi
	callq	_spin_unlock_irq
	movq	%r15, %rdi
	callq	_put_nvmeq
	jmp	LBB0_10
LBB0_1:
	xorl	%edi, %edi
	callq	_put_nvmeq
	movq	_EIO@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_bio_endio
LBB0_10:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_nvme_make_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_make_request
_nvme_make_request:                     ; @nvme_make_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	x19, x1
	ldr	x21, [x0]
	ldr	w0, [x21]
	bl	_get_nvmeq
	cbz	x0, LBB0_9
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x8, _EBUSY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w22, w8
	bl	_spin_lock_irq
	ldr	w8, [x20, #16]
	cbnz	w8, LBB0_4
; %bb.2:
	add	x0, x20, #4
	bl	_bio_list_empty
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_nvme_submit_bio_queue
	mov	x22, x0
LBB0_4:
	mov	x0, x22
	bl	_unlikely
	cbz	x0, LBB0_8
; %bb.5:
	add	x21, x20, #4
	mov	x0, x21
	bl	_bio_list_empty
	cbz	x0, LBB0_7
; %bb.6:
	add	x0, x20, #12
	add	x1, x20, #8
	bl	_add_wait_queue
LBB0_7:
	mov	x0, x21
	mov	x1, x19
	bl	_bio_list_add
LBB0_8:
	mov	x0, x20
	bl	_nvme_process_cq
	mov	x0, x20
	bl	_spin_unlock_irq
	mov	x0, x20
	bl	_put_nvmeq
	b	LBB0_10
LBB0_9:
	bl	_put_nvmeq
Lloh3:
	adrp	x8, _EIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w1, w8
	mov	x0, x19
	bl	_bio_endio
LBB0_10:
	mov	w0, #0
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_nvme_make_request
.subsections_via_symbols
