	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_loop_submit_async_event
_nvme_loop_submit_async_event:          ## @nvme_loop_submit_async_event
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_to_loop_ctrl
	movq	%rax, %rbx
	movq	24(%rax), %r14
	leaq	12(%rax), %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movq	_nvme_admin_async_event@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_NVME_AQ_BLK_MQ_DEPTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_NVME_CMD_SGL_METABUF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 12(%rbx)
	leaq	8(%rbx), %rdi
	leaq	4(%r14), %rsi
	movq	_nvme_loop_ops@GOTPCREL(%rip), %rcx
	movq	%r14, %rdx
	callq	_nvmet_req_init
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	addq	$4, %rbx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_schedule_work                  ## TAILCALL
LBB0_1:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_nvme_admin_async_event,4,2     ## @nvme_admin_async_event
	.comm	_NVME_AQ_BLK_MQ_DEPTH,4,2       ## @NVME_AQ_BLK_MQ_DEPTH
	.comm	_NVME_CMD_SGL_METABUF,4,2       ## @NVME_CMD_SGL_METABUF
	.comm	_nvme_loop_ops,4,2              ## @nvme_loop_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed async event work\n"

	.no_dead_strip	_nvme_loop_submit_async_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_loop_submit_async_event
_nvme_loop_submit_async_event:          ; @nvme_loop_submit_async_event
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_to_loop_ctrl
	mov	x19, x0
	ldr	x20, [x0, #24]
	add	x0, x0, #12
	mov	w1, #0
	mov	w2, #12
	bl	_memset
Lloh0:
	adrp	x8, _nvme_admin_async_event@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nvme_admin_async_event@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #20]
Lloh3:
	adrp	x8, _NVME_AQ_BLK_MQ_DEPTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NVME_AQ_BLK_MQ_DEPTH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _NVME_CMD_SGL_METABUF@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NVME_CMD_SGL_METABUF@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	ldr	w10, [x19, #12]
	orr	w9, w10, w9
	stp	w9, w8, [x19, #12]
	add	x0, x19, #8
	add	x1, x20, #4
Lloh9:
	adrp	x3, _nvme_loop_ops@GOTPAGE
Lloh10:
	ldr	x3, [x3, _nvme_loop_ops@GOTPAGEOFF]
	mov	x2, x20
	bl	_nvmet_req_init
	cbz	w0, LBB0_2
; %bb.1:
	add	x0, x19, #4
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_schedule_work
LBB0_2:
	ldr	w0, [x19]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dev_err
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_nvme_admin_async_event,4,2     ; @nvme_admin_async_event
	.comm	_NVME_AQ_BLK_MQ_DEPTH,4,2       ; @NVME_AQ_BLK_MQ_DEPTH
	.comm	_NVME_CMD_SGL_METABUF,4,2       ; @NVME_CMD_SGL_METABUF
	.comm	_nvme_loop_ops,4,2              ; @nvme_loop_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed async event work\n"

	.no_dead_strip	_nvme_loop_submit_async_event
.subsections_via_symbols
