	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_submit_flush
_nvme_submit_flush:                     ## @nvme_submit_flush
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	24(%rdi), %r13
	leaq	(%rax,%rax,2), %r14
	leaq	(,%r14,4), %rdi
	addq	%r13, %rdi
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movq	_nvme_cmd_flush@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r13,%r14,4)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r13,%r14,4)
	movl	(%r15), %edi
	callq	_cpu_to_le32
	movl	%eax, 4(%r13,%r14,4)
	movq	(%rbx), %rax
	incq	%rax
	cmpq	8(%rbx), %rax
	cmovneq	%rax, %r12
	movq	%r12, (%rbx)
	movl	16(%rbx), %esi
	movq	%r12, %rdi
	callq	_writel
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nvme_cmd_flush,4,2             ## @nvme_cmd_flush
	.no_dead_strip	_nvme_submit_flush
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_submit_flush
_nvme_submit_flush:                     ; @nvme_submit_flush
	.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, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0, #24]
	ldr	x9, [x0]
	mov	w10, #12
	madd	x22, x9, x10, x8
	mov	x0, x22
	mov	w1, #0
	mov	w2, #12
	bl	_memset
Lloh0:
	adrp	x8, _nvme_cmd_flush@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nvme_cmd_flush@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x22, #8]
	str	w19, [x22]
	ldr	w0, [x20]
	bl	_cpu_to_le32
	str	w0, [x22, #4]
	ldp	x8, x9, [x21]
	add	x10, x8, #1
	cmp	x10, x9
	csinc	x0, xzr, x8, eq
	str	x0, [x21]
	ldr	w1, [x21, #16]
	bl	_writel
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_nvme_cmd_flush,4,2             ; @nvme_cmd_flush
	.no_dead_strip	_nvme_submit_flush
.subsections_via_symbols
