	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qcom_l3_cache__init
_qcom_l3_cache__init:                   ## @qcom_l3_cache__init
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_BC_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_L3_M_BC_CR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel_relaxed
	movq	_BC_SATROLL_CR_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_L3_M_BC_SATROLL_CR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel
	movq	_BC_CNTENCLR_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_L3_M_BC_CNTENCLR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel_relaxed
	movq	_BC_INTENCLR_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_L3_M_BC_INTENCLR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel_relaxed
	movq	_PMOVSRCLR_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_L3_M_BC_OVSR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel_relaxed
	movq	_BC_GANG_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_L3_M_BC_GANG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel_relaxed
	movq	_BC_IRQCTL_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_L3_M_BC_IRQCTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel_relaxed
	movq	_PM_CR_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_L3_HML3_PM_CR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel_relaxed
	movq	_L3_NUM_COUNTERS@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_PMCNT_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	(%r14), %r12
	movl	%ebx, %edi
	callq	_L3_HML3_PM_CNTCTL
	addq	%rax, %r12
	movl	%r15d, %edi
	movq	%r12, %rsi
	callq	_writel_relaxed
	xorl	%edi, %edi
	callq	_EVSEL
	movl	%eax, %r15d
	movq	(%r14), %r12
	movl	%ebx, %edi
	callq	_L3_HML3_PM_EVTYPE
	addq	%rax, %r12
	movl	%r15d, %edi
	movq	%r12, %rsi
	callq	_writel_relaxed
	incl	%ebx
	cmpl	(%r13), %ebx
	jl	LBB0_2
LBB0_3:
	movq	_PM_FLTR_RESET@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_L3_HML3_PM_FILTRA@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel_relaxed
	movl	(%rbx), %edi
	movq	_L3_HML3_PM_FILTRAM@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel_relaxed
	movl	(%rbx), %edi
	movq	_L3_HML3_PM_FILTRB@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel_relaxed
	movl	(%rbx), %edi
	movq	_L3_HML3_PM_FILTRBM@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel_relaxed
	movl	(%rbx), %edi
	movq	_L3_HML3_PM_FILTRC@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel_relaxed
	movl	(%rbx), %edi
	movq	_L3_HML3_PM_FILTRCM@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel_relaxed
	movq	_BC_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_L3_M_BC_CR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BC_RESET,4,2                   ## @BC_RESET
	.comm	_L3_M_BC_CR,8,3                 ## @L3_M_BC_CR
	.comm	_BC_SATROLL_CR_RESET,4,2        ## @BC_SATROLL_CR_RESET
	.comm	_L3_M_BC_SATROLL_CR,8,3         ## @L3_M_BC_SATROLL_CR
	.comm	_BC_CNTENCLR_RESET,4,2          ## @BC_CNTENCLR_RESET
	.comm	_L3_M_BC_CNTENCLR,8,3           ## @L3_M_BC_CNTENCLR
	.comm	_BC_INTENCLR_RESET,4,2          ## @BC_INTENCLR_RESET
	.comm	_L3_M_BC_INTENCLR,8,3           ## @L3_M_BC_INTENCLR
	.comm	_PMOVSRCLR_RESET,4,2            ## @PMOVSRCLR_RESET
	.comm	_L3_M_BC_OVSR,8,3               ## @L3_M_BC_OVSR
	.comm	_BC_GANG_RESET,4,2              ## @BC_GANG_RESET
	.comm	_L3_M_BC_GANG,8,3               ## @L3_M_BC_GANG
	.comm	_BC_IRQCTL_RESET,4,2            ## @BC_IRQCTL_RESET
	.comm	_L3_M_BC_IRQCTL,8,3             ## @L3_M_BC_IRQCTL
	.comm	_PM_CR_RESET,4,2                ## @PM_CR_RESET
	.comm	_L3_HML3_PM_CR,8,3              ## @L3_HML3_PM_CR
	.comm	_L3_NUM_COUNTERS,4,2            ## @L3_NUM_COUNTERS
	.comm	_PMCNT_RESET,4,2                ## @PMCNT_RESET
	.comm	_PM_FLTR_RESET,4,2              ## @PM_FLTR_RESET
	.comm	_L3_HML3_PM_FILTRA,8,3          ## @L3_HML3_PM_FILTRA
	.comm	_L3_HML3_PM_FILTRAM,8,3         ## @L3_HML3_PM_FILTRAM
	.comm	_L3_HML3_PM_FILTRB,8,3          ## @L3_HML3_PM_FILTRB
	.comm	_L3_HML3_PM_FILTRBM,8,3         ## @L3_HML3_PM_FILTRBM
	.comm	_L3_HML3_PM_FILTRC,8,3          ## @L3_HML3_PM_FILTRC
	.comm	_L3_HML3_PM_FILTRCM,8,3         ## @L3_HML3_PM_FILTRCM
	.comm	_BC_ENABLE,4,2                  ## @BC_ENABLE
	.no_dead_strip	_qcom_l3_cache__init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qcom_l3_cache__init
_qcom_l3_cache__init:                   ; @qcom_l3_cache__init
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x8, _BC_RESET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BC_RESET@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [x19]
Lloh3:
	adrp	x22, _L3_M_BC_CR@GOTPAGE
Lloh4:
	ldr	x22, [x22, _L3_M_BC_CR@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x1, x9, x8
	bl	_writel_relaxed
Lloh5:
	adrp	x8, _BC_SATROLL_CR_RESET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BC_SATROLL_CR_RESET@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	x8, [x19]
Lloh8:
	adrp	x9, _L3_M_BC_SATROLL_CR@GOTPAGE
Lloh9:
	ldr	x9, [x9, _L3_M_BC_SATROLL_CR@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh11:
	adrp	x8, _BC_CNTENCLR_RESET@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BC_CNTENCLR_RESET@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldr	x8, [x19]
Lloh14:
	adrp	x9, _L3_M_BC_CNTENCLR@GOTPAGE
Lloh15:
	ldr	x9, [x9, _L3_M_BC_CNTENCLR@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
Lloh17:
	adrp	x8, _BC_INTENCLR_RESET@GOTPAGE
Lloh18:
	ldr	x8, [x8, _BC_INTENCLR_RESET@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	ldr	x8, [x19]
Lloh20:
	adrp	x9, _L3_M_BC_INTENCLR@GOTPAGE
Lloh21:
	ldr	x9, [x9, _L3_M_BC_INTENCLR@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
Lloh23:
	adrp	x8, _PMOVSRCLR_RESET@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PMOVSRCLR_RESET@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	ldr	x8, [x19]
Lloh26:
	adrp	x9, _L3_M_BC_OVSR@GOTPAGE
Lloh27:
	ldr	x9, [x9, _L3_M_BC_OVSR@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
Lloh29:
	adrp	x8, _BC_GANG_RESET@GOTPAGE
Lloh30:
	ldr	x8, [x8, _BC_GANG_RESET@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	ldr	x8, [x19]
Lloh32:
	adrp	x9, _L3_M_BC_GANG@GOTPAGE
Lloh33:
	ldr	x9, [x9, _L3_M_BC_GANG@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
Lloh35:
	adrp	x8, _BC_IRQCTL_RESET@GOTPAGE
Lloh36:
	ldr	x8, [x8, _BC_IRQCTL_RESET@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	ldr	x8, [x19]
Lloh38:
	adrp	x9, _L3_M_BC_IRQCTL@GOTPAGE
Lloh39:
	ldr	x9, [x9, _L3_M_BC_IRQCTL@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
Lloh41:
	adrp	x8, _PM_CR_RESET@GOTPAGE
Lloh42:
	ldr	x8, [x8, _PM_CR_RESET@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
	ldr	x8, [x19]
Lloh44:
	adrp	x9, _L3_HML3_PM_CR@GOTPAGE
Lloh45:
	ldr	x9, [x9, _L3_HML3_PM_CR@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
Lloh47:
	adrp	x23, _L3_NUM_COUNTERS@GOTPAGE
Lloh48:
	ldr	x23, [x23, _L3_NUM_COUNTERS@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w20, #0
Lloh49:
	adrp	x24, _PMCNT_RESET@GOTPAGE
Lloh50:
	ldr	x24, [x24, _PMCNT_RESET@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w21, [x24]
	ldr	x25, [x19]
	mov	x0, x20
	bl	_L3_HML3_PM_CNTCTL
	add	x1, x0, x25
	mov	x0, x21
	bl	_writel_relaxed
	mov	w0, #0
	bl	_EVSEL
	mov	x21, x0
	ldr	x25, [x19]
	mov	x0, x20
	bl	_L3_HML3_PM_EVTYPE
	add	x1, x0, x25
	mov	x0, x21
	bl	_writel_relaxed
	add	w20, w20, #1
	ldr	w8, [x23]
	cmp	w20, w8
	b.lt	LBB0_2
LBB0_3:
Lloh51:
	adrp	x20, _PM_FLTR_RESET@GOTPAGE
Lloh52:
	ldr	x20, [x20, _PM_FLTR_RESET@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	x8, [x19]
Lloh53:
	adrp	x9, _L3_HML3_PM_FILTRA@GOTPAGE
Lloh54:
	ldr	x9, [x9, _L3_HML3_PM_FILTRA@GOTPAGEOFF]
Lloh55:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
	ldr	w0, [x20]
	ldr	x8, [x19]
Lloh56:
	adrp	x9, _L3_HML3_PM_FILTRAM@GOTPAGE
Lloh57:
	ldr	x9, [x9, _L3_HML3_PM_FILTRAM@GOTPAGEOFF]
Lloh58:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
	ldr	w0, [x20]
	ldr	x8, [x19]
Lloh59:
	adrp	x9, _L3_HML3_PM_FILTRB@GOTPAGE
Lloh60:
	ldr	x9, [x9, _L3_HML3_PM_FILTRB@GOTPAGEOFF]
Lloh61:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
	ldr	w0, [x20]
	ldr	x8, [x19]
Lloh62:
	adrp	x9, _L3_HML3_PM_FILTRBM@GOTPAGE
Lloh63:
	ldr	x9, [x9, _L3_HML3_PM_FILTRBM@GOTPAGEOFF]
Lloh64:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
	ldr	w0, [x20]
	ldr	x8, [x19]
Lloh65:
	adrp	x9, _L3_HML3_PM_FILTRC@GOTPAGE
Lloh66:
	ldr	x9, [x9, _L3_HML3_PM_FILTRC@GOTPAGEOFF]
Lloh67:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
	ldr	w0, [x20]
	ldr	x8, [x19]
Lloh68:
	adrp	x9, _L3_HML3_PM_FILTRCM@GOTPAGE
Lloh69:
	ldr	x9, [x9, _L3_HML3_PM_FILTRCM@GOTPAGEOFF]
Lloh70:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
Lloh71:
	adrp	x8, _BC_ENABLE@GOTPAGE
Lloh72:
	ldr	x8, [x8, _BC_ENABLE@GOTPAGEOFF]
Lloh73:
	ldr	w0, [x8]
	ldr	x8, [x19]
	ldr	x9, [x22]
	add	x1, x9, x8
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_writel
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
	.comm	_BC_RESET,4,2                   ; @BC_RESET
	.comm	_L3_M_BC_CR,8,3                 ; @L3_M_BC_CR
	.comm	_BC_SATROLL_CR_RESET,4,2        ; @BC_SATROLL_CR_RESET
	.comm	_L3_M_BC_SATROLL_CR,8,3         ; @L3_M_BC_SATROLL_CR
	.comm	_BC_CNTENCLR_RESET,4,2          ; @BC_CNTENCLR_RESET
	.comm	_L3_M_BC_CNTENCLR,8,3           ; @L3_M_BC_CNTENCLR
	.comm	_BC_INTENCLR_RESET,4,2          ; @BC_INTENCLR_RESET
	.comm	_L3_M_BC_INTENCLR,8,3           ; @L3_M_BC_INTENCLR
	.comm	_PMOVSRCLR_RESET,4,2            ; @PMOVSRCLR_RESET
	.comm	_L3_M_BC_OVSR,8,3               ; @L3_M_BC_OVSR
	.comm	_BC_GANG_RESET,4,2              ; @BC_GANG_RESET
	.comm	_L3_M_BC_GANG,8,3               ; @L3_M_BC_GANG
	.comm	_BC_IRQCTL_RESET,4,2            ; @BC_IRQCTL_RESET
	.comm	_L3_M_BC_IRQCTL,8,3             ; @L3_M_BC_IRQCTL
	.comm	_PM_CR_RESET,4,2                ; @PM_CR_RESET
	.comm	_L3_HML3_PM_CR,8,3              ; @L3_HML3_PM_CR
	.comm	_L3_NUM_COUNTERS,4,2            ; @L3_NUM_COUNTERS
	.comm	_PMCNT_RESET,4,2                ; @PMCNT_RESET
	.comm	_PM_FLTR_RESET,4,2              ; @PM_FLTR_RESET
	.comm	_L3_HML3_PM_FILTRA,8,3          ; @L3_HML3_PM_FILTRA
	.comm	_L3_HML3_PM_FILTRAM,8,3         ; @L3_HML3_PM_FILTRAM
	.comm	_L3_HML3_PM_FILTRB,8,3          ; @L3_HML3_PM_FILTRB
	.comm	_L3_HML3_PM_FILTRBM,8,3         ; @L3_HML3_PM_FILTRBM
	.comm	_L3_HML3_PM_FILTRC,8,3          ; @L3_HML3_PM_FILTRC
	.comm	_L3_HML3_PM_FILTRCM,8,3         ; @L3_HML3_PM_FILTRCM
	.comm	_BC_ENABLE,4,2                  ; @BC_ENABLE
	.no_dead_strip	_qcom_l3_cache__init
.subsections_via_symbols
