	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_delete_queue
_nvme_delete_queue:                     ## @nvme_delete_queue
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	8(%rdi), %rax
	movq	(%rax), %r14
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	%r15, -40(%rbp)
	movl	4(%r12), %edi
	callq	_cpu_to_le16
	movl	%eax, -48(%rbp)
	movq	_BLK_MQ_REQ_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_NVME_QID_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_nvme_alloc_request
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movl	%eax, %r15d
	jmp	LBB0_6
LBB0_2:
	movq	_ADMIN_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	%r12, (%rbx)
	movq	%r12, %rdi
	callq	_init_completion
	movq	_nvme_admin_delete_cq@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_3
## %bb.4:
	movq	_nvme_del_cq_end@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_nvme_del_queue_end@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %r8d
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_blk_execute_rq_nowait
LBB0_6:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BLK_MQ_REQ_NOWAIT,4,2          ## @BLK_MQ_REQ_NOWAIT
	.comm	_NVME_QID_ANY,4,2               ## @NVME_QID_ANY
	.comm	_ADMIN_TIMEOUT,4,2              ## @ADMIN_TIMEOUT
	.comm	_nvme_admin_delete_cq,8,3       ## @nvme_admin_delete_cq
	.comm	_nvme_del_cq_end,4,2            ## @nvme_del_cq_end
	.comm	_nvme_del_queue_end,4,2         ## @nvme_del_queue_end
	.no_dead_strip	_nvme_delete_queue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_delete_queue
_nvme_delete_queue:                     ; @nvme_delete_queue
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0, #8]
	ldr	x19, [x8]
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	str	x20, [sp, #8]
	ldr	w0, [x21, #4]
	bl	_cpu_to_le16
	str	w0, [sp]
Lloh0:
	adrp	x8, _BLK_MQ_REQ_NOWAIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BLK_MQ_REQ_NOWAIT@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _NVME_QID_ANY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NVME_QID_ANY@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x1, sp
	mov	x0, x19
	bl	_nvme_alloc_request
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_PTR_ERR
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _ADMIN_TIMEOUT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ADMIN_TIMEOUT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x22, #8]
	str	x21, [x22]
	mov	x0, x21
	bl	_init_completion
Lloh9:
	adrp	x8, _nvme_admin_delete_cq@GOTPAGE
Lloh10:
	ldr	x8, [x8, _nvme_admin_delete_cq@GOTPAGEOFF]
Lloh11:
	adrp	x9, _nvme_del_cq_end@GOTPAGE
Lloh12:
	ldr	x9, [x9, _nvme_del_cq_end@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
Lloh14:
	adrp	x10, _nvme_del_queue_end@GOTPAGE
Lloh15:
	ldr	x10, [x10, _nvme_del_queue_end@GOTPAGEOFF]
	cmp	x8, x20
	csel	x8, x9, x10, eq
	ldr	w4, [x8]
	mov	x0, x19
	mov	x1, #0
	mov	x2, x22
	mov	w3, #0
	bl	_blk_execute_rq_nowait
	mov	w0, #0
LBB0_3:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_BLK_MQ_REQ_NOWAIT,4,2          ; @BLK_MQ_REQ_NOWAIT
	.comm	_NVME_QID_ANY,4,2               ; @NVME_QID_ANY
	.comm	_ADMIN_TIMEOUT,4,2              ; @ADMIN_TIMEOUT
	.comm	_nvme_admin_delete_cq,8,3       ; @nvme_admin_delete_cq
	.comm	_nvme_del_cq_end,4,2            ; @nvme_del_cq_end
	.comm	_nvme_del_queue_end,4,2         ; @nvme_del_queue_end
	.no_dead_strip	_nvme_delete_queue
.subsections_via_symbols
