	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_trans_synchronize_cache
_nvme_trans_synchronize_cache:          ## @nvme_trans_synchronize_cache
	.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	%rsi, %r15
	movq	%rdi, %rbx
	leaq	-32(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	_nvme_cmd_flush@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movl	4(%rbx), %edi
	callq	_cpu_to_le32
	movl	%eax, -32(%rbp)
	movl	(%rbx), %edi
	callq	_get_nvmeq
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_put_nvmeq
	movq	_NVME_IO_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_nvme_submit_sync_cmd
	movl	%eax, %ebx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_nvme_trans_status_code
	testl	%eax, %eax
	movl	%eax, %ecx
	cmovel	%ebx, %ecx
	testl	%ebx, %ebx
	cmovnel	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNTI_TRANSLATION_SUCCESS,4,2   ## @SNTI_TRANSLATION_SUCCESS
	.comm	_nvme_cmd_flush,4,2             ## @nvme_cmd_flush
	.comm	_NVME_IO_TIMEOUT,4,2            ## @NVME_IO_TIMEOUT
	.no_dead_strip	_nvme_trans_synchronize_cache
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_trans_synchronize_cache
_nvme_trans_synchronize_cache:          ; @nvme_trans_synchronize_cache
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
Lloh0:
	adrp	x8, _nvme_cmd_flush@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nvme_cmd_flush@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldr	w0, [x20, #4]
	bl	_cpu_to_le32
	str	w0, [sp, #8]
	ldr	w0, [x20]
	bl	_get_nvmeq
	mov	x20, x0
	bl	_put_nvmeq
Lloh3:
	adrp	x8, _NVME_IO_TIMEOUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NVME_IO_TIMEOUT@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, #0
	bl	_nvme_submit_sync_cmd
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_nvme_trans_status_code
	cmp	w0, #0
	ccmp	w20, #0, #4, eq
	csel	w0, w20, w0, ne
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SNTI_TRANSLATION_SUCCESS,4,2   ; @SNTI_TRANSLATION_SUCCESS
	.comm	_nvme_cmd_flush,4,2             ; @nvme_cmd_flush
	.comm	_NVME_IO_TIMEOUT,4,2            ; @NVME_IO_TIMEOUT
	.no_dead_strip	_nvme_trans_synchronize_cache
.subsections_via_symbols
