	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vc4_flush_caches
_vc4_flush_caches:                      ## @vc4_flush_caches
	.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
	callq	_to_vc4_dev
	movq	_V3D_L2CACTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_V3D_L2CACTL_L2CCLR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_V3D_WRITE
	movq	_V3D_SLCACTL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_V3D_SLCACTL_T1CC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$15, %edi
	callq	_VC4_SET_FIELD
	movl	%eax, %r15d
	movq	_V3D_SLCACTL_T0CC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$15, %edi
	callq	_VC4_SET_FIELD
	orl	%eax, %r15d
	movq	_V3D_SLCACTL_UCC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$15, %edi
	callq	_VC4_SET_FIELD
	movl	%eax, %ebx
	movq	_V3D_SLCACTL_ICC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$15, %edi
	callq	_VC4_SET_FIELD
	orl	%eax, %ebx
	orl	%r15d, %ebx
	movl	%r14d, %edi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_V3D_WRITE                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_V3D_L2CACTL,4,2                ## @V3D_L2CACTL
	.comm	_V3D_L2CACTL_L2CCLR,4,2         ## @V3D_L2CACTL_L2CCLR
	.comm	_V3D_SLCACTL,4,2                ## @V3D_SLCACTL
	.comm	_V3D_SLCACTL_T1CC,4,2           ## @V3D_SLCACTL_T1CC
	.comm	_V3D_SLCACTL_T0CC,4,2           ## @V3D_SLCACTL_T0CC
	.comm	_V3D_SLCACTL_UCC,4,2            ## @V3D_SLCACTL_UCC
	.comm	_V3D_SLCACTL_ICC,4,2            ## @V3D_SLCACTL_ICC
	.no_dead_strip	_vc4_flush_caches
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vc4_flush_caches
_vc4_flush_caches:                      ; @vc4_flush_caches
	.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_vc4_dev
Lloh0:
	adrp	x8, _V3D_L2CACTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V3D_L2CACTL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _V3D_L2CACTL_L2CCLR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V3D_L2CACTL_L2CCLR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_V3D_WRITE
Lloh6:
	adrp	x8, _V3D_SLCACTL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _V3D_SLCACTL@GOTPAGEOFF]
Lloh8:
	ldr	w19, [x8]
Lloh9:
	adrp	x8, _V3D_SLCACTL_T1CC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _V3D_SLCACTL_T1CC@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	w0, #15
	bl	_VC4_SET_FIELD
	mov	x20, x0
Lloh12:
	adrp	x8, _V3D_SLCACTL_T0CC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _V3D_SLCACTL_T0CC@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	w0, #15
	bl	_VC4_SET_FIELD
	orr	w20, w0, w20
Lloh15:
	adrp	x8, _V3D_SLCACTL_UCC@GOTPAGE
Lloh16:
	ldr	x8, [x8, _V3D_SLCACTL_UCC@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	w0, #15
	bl	_VC4_SET_FIELD
	orr	w20, w20, w0
Lloh18:
	adrp	x8, _V3D_SLCACTL_ICC@GOTPAGE
Lloh19:
	ldr	x8, [x8, _V3D_SLCACTL_ICC@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	w0, #15
	bl	_VC4_SET_FIELD
	orr	w1, w20, w0
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_V3D_WRITE
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_V3D_L2CACTL,4,2                ; @V3D_L2CACTL
	.comm	_V3D_L2CACTL_L2CCLR,4,2         ; @V3D_L2CACTL_L2CCLR
	.comm	_V3D_SLCACTL,4,2                ; @V3D_SLCACTL
	.comm	_V3D_SLCACTL_T1CC,4,2           ; @V3D_SLCACTL_T1CC
	.comm	_V3D_SLCACTL_T0CC,4,2           ; @V3D_SLCACTL_T0CC
	.comm	_V3D_SLCACTL_UCC,4,2            ; @V3D_SLCACTL_UCC
	.comm	_V3D_SLCACTL_ICC,4,2            ; @V3D_SLCACTL_ICC
	.no_dead_strip	_vc4_flush_caches
.subsections_via_symbols
