	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mptscsih_synchronize_cache
_mptscsih_synchronize_cache:            ## @mptscsih_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
	subq	$80, %rsp
	movq	8(%rsi), %rax
	movq	_MPT_TARGET_FLAGS_RAID_COMPONENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_5
## %bb.1:
	movq	8(%rax), %rcx
	movq	_TYPE_DISK@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.2:
	cmpq	$0, 24(%rax)
	jne	LBB0_5
## %bb.3:
	cmpl	$0, 16(%rsi)
	je	LBB0_5
## %bb.4:
	movq	_SYNCHRONIZE_CACHE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -8(%rbp)
	movq	$0, -16(%rbp)
	movq	$-1, -72(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -48(%rbp)
	movups	%xmm0, -32(%rbp)
	movl	20(%rax), %ecx
	movl	%ecx, -56(%rbp)
	movl	16(%rax), %eax
	movl	%eax, -60(%rbp)
	movl	(%rsi), %eax
	movl	%eax, -64(%rbp)
	leaq	-72(%rbp), %rsi
	callq	_mptscsih_do_cmd
LBB0_5:
	addq	$80, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MPT_TARGET_FLAGS_RAID_COMPONENT,4,2 ## @MPT_TARGET_FLAGS_RAID_COMPONENT
	.comm	_TYPE_DISK,8,3                  ## @TYPE_DISK
	.comm	_SYNCHRONIZE_CACHE,4,2          ## @SYNCHRONIZE_CACHE
	.no_dead_strip	_mptscsih_synchronize_cache
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mptscsih_synchronize_cache
_mptscsih_synchronize_cache:            ; @mptscsih_synchronize_cache
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x1, #8]
	ldr	w9, [x8]
Lloh0:
	adrp	x10, _MPT_TARGET_FLAGS_RAID_COMPONENT@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MPT_TARGET_FLAGS_RAID_COMPONENT@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_5
; %bb.1:
	ldr	x9, [x8, #8]
Lloh3:
	adrp	x10, _TYPE_DISK@GOTPAGE
Lloh4:
	ldr	x10, [x10, _TYPE_DISK@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_5
; %bb.2:
	ldr	x9, [x8, #24]
	cbnz	x9, LBB0_5
; %bb.3:
	ldr	w9, [x1, #16]
	cbz	w9, LBB0_5
; %bb.4:
Lloh6:
	adrp	x9, _SYNCHRONIZE_CACHE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SYNCHRONIZE_CACHE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	str	w9, [sp, #72]
	stp	xzr, xzr, [sp, #56]
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [sp, #8]
	stp	xzr, xzr, [sp, #40]
	str	xzr, [sp, #32]
	ldr	d0, [x8, #16]
	stur	d0, [sp, #20]
	ldr	w8, [x1]
	str	w8, [sp, #16]
	add	x1, sp, #8
	bl	_mptscsih_do_cmd
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MPT_TARGET_FLAGS_RAID_COMPONENT,4,2 ; @MPT_TARGET_FLAGS_RAID_COMPONENT
	.comm	_TYPE_DISK,8,3                  ; @TYPE_DISK
	.comm	_SYNCHRONIZE_CACHE,4,2          ; @SYNCHRONIZE_CACHE
	.no_dead_strip	_mptscsih_synchronize_cache
.subsections_via_symbols
