	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pl310_wbinv_all
_pl310_wbinv_all:                       ## @pl310_wbinv_all
	.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
	movq	_pl310_softc@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	cmpl	$0, 8(%rdi)
	je	LBB0_2
## %bb.3:
	callq	_PL310_LOCK
	movq	(%rbx), %rdi
	movq	_PL310_CLEAN_INV_WAY@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_g_l2cache_way_mask@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	callq	_pl310_write4
	movl	(%r14), %edi
	movl	(%r15), %esi
	callq	_pl310_wait_background_op
	xorl	%eax, %eax
	callq	_pl310_cache_sync
	movq	(%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PL310_UNLOCK                   ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pl310_softc,8,3                ## @pl310_softc
	.comm	_PL310_CLEAN_INV_WAY,4,2        ## @PL310_CLEAN_INV_WAY
	.comm	_g_l2cache_way_mask,4,2         ## @g_l2cache_way_mask
	.comm	_CACHE_ID_RELEASE_r2p0,8,3      ## @CACHE_ID_RELEASE_r2p0
	.comm	_CACHE_ID_RELEASE_r3p0,8,3      ## @CACHE_ID_RELEASE_r3p0
	.comm	_PL310_CLEAN_INV_LINE_IDX,4,2   ## @PL310_CLEAN_INV_LINE_IDX
	.comm	_g_l2cache_line_size,4,2        ## @g_l2cache_line_size
	.comm	_g_way_size,4,2                 ## @g_way_size
	.comm	_g_ways_assoc,4,2               ## @g_ways_assoc
	.no_dead_strip	_pl310_wbinv_all
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pl310_wbinv_all
_pl310_wbinv_all:                       ; @pl310_wbinv_all
	.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
Lloh0:
	adrp	x19, _pl310_softc@GOTPAGE
Lloh1:
	ldr	x19, [x19, _pl310_softc@GOTPAGEOFF]
	ldr	x0, [x19]
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_3
; %bb.2:
	bl	_PL310_LOCK
	ldr	x0, [x19]
Lloh2:
	adrp	x20, _PL310_CLEAN_INV_WAY@GOTPAGE
Lloh3:
	ldr	x20, [x20, _PL310_CLEAN_INV_WAY@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh4:
	adrp	x21, _g_l2cache_way_mask@GOTPAGE
Lloh5:
	ldr	x21, [x21, _g_l2cache_way_mask@GOTPAGEOFF]
	ldr	w2, [x21]
	bl	_pl310_write4
	ldr	w0, [x20]
	ldr	w1, [x21]
	bl	_pl310_wait_background_op
	bl	_pl310_cache_sync
	ldr	x0, [x19]
	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	_PL310_UNLOCK
LBB0_3:
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_pl310_softc,8,3                ; @pl310_softc
	.comm	_PL310_CLEAN_INV_WAY,4,2        ; @PL310_CLEAN_INV_WAY
	.comm	_g_l2cache_way_mask,4,2         ; @g_l2cache_way_mask
	.comm	_CACHE_ID_RELEASE_r2p0,8,3      ; @CACHE_ID_RELEASE_r2p0
	.comm	_CACHE_ID_RELEASE_r3p0,8,3      ; @CACHE_ID_RELEASE_r3p0
	.comm	_PL310_CLEAN_INV_LINE_IDX,4,2   ; @PL310_CLEAN_INV_LINE_IDX
	.comm	_g_l2cache_line_size,4,2        ; @g_l2cache_line_size
	.comm	_g_way_size,4,2                 ; @g_way_size
	.comm	_g_ways_assoc,4,2               ; @g_ways_assoc
	.no_dead_strip	_pl310_wbinv_all
.subsections_via_symbols
