	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vc4_flush_texture_caches
_vc4_flush_texture_caches:              ## @vc4_flush_texture_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -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, %ebx
	movq	_V3D_SLCACTL_T0CC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$15, %edi
	callq	_VC4_SET_FIELD
	orl	%eax, %ebx
	movl	%r14d, %edi
	movl	%ebx, %esi
	popq	%rbx
	popq	%r14
	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
	.no_dead_strip	_vc4_flush_texture_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_texture_caches
_vc4_flush_texture_caches:              ; @vc4_flush_texture_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	w1, w0, w20
	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	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
	.no_dead_strip	_vc4_flush_texture_caches
.subsections_via_symbols
