	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function v3d_flush_l2t
_v3d_flush_l2t:                         ## @v3d_flush_l2t
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r12
	callq	_mutex_lock
	movq	_V3D_CTL_L2TCACTL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_V3D_L2TCACTL_L2TFLS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_V3D_L2TCACTL_FLM_FLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_V3D_L2TCACTL_FLM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_V3D_SET_FIELD
	orl	%eax, %ebx
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_V3D_CORE_WRITE
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_V3D_CTL_L2TCACTL,4,2           ## @V3D_CTL_L2TCACTL
	.comm	_V3D_L2TCACTL_L2TFLS,4,2        ## @V3D_L2TCACTL_L2TFLS
	.comm	_V3D_L2TCACTL_FLM_FLUSH,4,2     ## @V3D_L2TCACTL_FLM_FLUSH
	.comm	_V3D_L2TCACTL_FLM,4,2           ## @V3D_L2TCACTL_FLM
	.no_dead_strip	_v3d_flush_l2t
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function v3d_flush_l2t
_v3d_flush_l2t:                         ; @v3d_flush_l2t
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	bl	_mutex_lock
Lloh0:
	adrp	x8, _V3D_CTL_L2TCACTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V3D_CTL_L2TCACTL@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x8, _V3D_L2TCACTL_L2TFLS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V3D_L2TCACTL_L2TFLS@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
Lloh6:
	adrp	x8, _V3D_L2TCACTL_FLM_FLUSH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _V3D_L2TCACTL_FLM_FLUSH@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _V3D_L2TCACTL_FLM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _V3D_L2TCACTL_FLM@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_V3D_SET_FIELD
	orr	w2, w0, w22
	mov	x0, x19
	mov	x1, x21
	bl	_V3D_CORE_WRITE
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mutex_unlock
	.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_CTL_L2TCACTL,4,2           ; @V3D_CTL_L2TCACTL
	.comm	_V3D_L2TCACTL_L2TFLS,4,2        ; @V3D_L2TCACTL_L2TFLS
	.comm	_V3D_L2TCACTL_FLM_FLUSH,4,2     ; @V3D_L2TCACTL_FLM_FLUSH
	.comm	_V3D_L2TCACTL_FLM,4,2           ; @V3D_L2TCACTL_FLM
	.no_dead_strip	_v3d_flush_l2t
.subsections_via_symbols
