	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CDVD_FlushCache                ## -- Begin function CDVD_FlushCache
	.p2align	4, 0x90
_CDVD_FlushCache:                       ## @CDVD_FlushCache
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_cdvd_inited@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_CDVD_FLUSHCACHE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_sbuff@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	subq	$8, %rsp
	movq	_cd0@GOTPCREL(%rip), %rdi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	movq	%rcx, %r9
	pushq	$0
	pushq	$0
	pushq	$0
	callq	_SifCallRpc
	addq	$32, %rsp
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cdvd_inited,4,2                ## @cdvd_inited
	.comm	_cd0,4,2                        ## @cd0
	.comm	_CDVD_FLUSHCACHE,4,2            ## @CDVD_FLUSHCACHE
	.comm	_sbuff,8,3                      ## @sbuff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CDVD_FlushCache                ; -- Begin function CDVD_FlushCache
	.p2align	2
_CDVD_FlushCache:                       ; @CDVD_FlushCache
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x8, _cdvd_inited@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cdvd_inited@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _CDVD_FLUSHCACHE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CDVD_FLUSHCACHE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _sbuff@GOTPAGE
Lloh7:
	ldr	x8, [x8, _sbuff@GOTPAGEOFF]
Lloh8:
	ldr	x3, [x8]
	str	wzr, [sp]
Lloh9:
	adrp	x0, _cd0@GOTPAGE
Lloh10:
	ldr	x0, [x0, _cd0@GOTPAGEOFF]
	mov	w2, #0
	mov	w4, #0
	mov	x5, x3
	mov	w6, #0
	mov	w7, #0
	bl	_SifCallRpc
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_cdvd_inited,4,2                ; @cdvd_inited
	.comm	_cd0,4,2                        ; @cd0
	.comm	_CDVD_FLUSHCACHE,4,2            ; @CDVD_FLUSHCACHE
	.comm	_sbuff,8,3                      ; @sbuff
.subsections_via_symbols
