	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qcom_llcc_core_setup
_qcom_llcc_core_setup:                  ## @qcom_llcc_core_setup
	.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
	movq	%rdi, %rbx
	movq	_CMN_INTERRUPT_2_ENABLE@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_TRP0_INTERRUPT_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %edx
	callq	_regmap_update_bits
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movq	_TRP_INTERRUPT_0_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SB_DB_TRP_INTERRUPT_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%ecx, %edx
	callq	_regmap_update_bits
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	movq	_SB_ERROR_THRESHOLD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SB_ERROR_THRESHOLD_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	movq	_DRP_ECC_ERROR_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_regmap_write
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	(%r14), %esi
	movq	_DRP0_INTERRUPT_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%ecx, %edx
	callq	_regmap_update_bits
	testl	%eax, %eax
	je	LBB0_5
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movq	_DRP_INTERRUPT_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SB_DB_DRP_INTERRUPT_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_regmap_write                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CMN_INTERRUPT_2_ENABLE,4,2     ## @CMN_INTERRUPT_2_ENABLE
	.comm	_TRP0_INTERRUPT_ENABLE,4,2      ## @TRP0_INTERRUPT_ENABLE
	.comm	_TRP_INTERRUPT_0_ENABLE,4,2     ## @TRP_INTERRUPT_0_ENABLE
	.comm	_SB_DB_TRP_INTERRUPT_ENABLE,4,2 ## @SB_DB_TRP_INTERRUPT_ENABLE
	.comm	_SB_ERROR_THRESHOLD,4,2         ## @SB_ERROR_THRESHOLD
	.comm	_SB_ERROR_THRESHOLD_SHIFT,4,2   ## @SB_ERROR_THRESHOLD_SHIFT
	.comm	_DRP_ECC_ERROR_CFG,4,2          ## @DRP_ECC_ERROR_CFG
	.comm	_DRP0_INTERRUPT_ENABLE,4,2      ## @DRP0_INTERRUPT_ENABLE
	.comm	_DRP_INTERRUPT_ENABLE,4,2       ## @DRP_INTERRUPT_ENABLE
	.comm	_SB_DB_DRP_INTERRUPT_ENABLE,4,2 ## @SB_DB_DRP_INTERRUPT_ENABLE
	.no_dead_strip	_qcom_llcc_core_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qcom_llcc_core_setup
_qcom_llcc_core_setup:                  ; @qcom_llcc_core_setup
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _CMN_INTERRUPT_2_ENABLE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _CMN_INTERRUPT_2_ENABLE@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x8, _TRP0_INTERRUPT_ENABLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TRP0_INTERRUPT_ENABLE@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x3, x2
	bl	_regmap_update_bits
	cbnz	w0, LBB0_4
; %bb.1:
Lloh5:
	adrp	x8, _TRP_INTERRUPT_0_ENABLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TRP_INTERRUPT_0_ENABLE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _SB_DB_TRP_INTERRUPT_ENABLE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SB_DB_TRP_INTERRUPT_ENABLE@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x2
	bl	_regmap_update_bits
	cbnz	w0, LBB0_4
; %bb.2:
Lloh11:
	adrp	x8, _SB_ERROR_THRESHOLD@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SB_ERROR_THRESHOLD@GOTPAGEOFF]
Lloh13:
	adrp	x9, _SB_ERROR_THRESHOLD_SHIFT@GOTPAGE
Lloh14:
	ldr	x9, [x9, _SB_ERROR_THRESHOLD_SHIFT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	ldr	w9, [x9]
	lsl	w2, w8, w9
Lloh17:
	adrp	x8, _DRP_ECC_ERROR_CFG@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DRP_ECC_ERROR_CFG@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_regmap_write
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	w1, [x20]
Lloh20:
	adrp	x8, _DRP0_INTERRUPT_ENABLE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _DRP0_INTERRUPT_ENABLE@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x2
	bl	_regmap_update_bits
	cbz	w0, LBB0_5
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh23:
	adrp	x8, _DRP_INTERRUPT_ENABLE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _DRP_INTERRUPT_ENABLE@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
Lloh26:
	adrp	x8, _SB_DB_DRP_INTERRUPT_ENABLE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SB_DB_DRP_INTERRUPT_ENABLE@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_regmap_write
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh15
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_CMN_INTERRUPT_2_ENABLE,4,2     ; @CMN_INTERRUPT_2_ENABLE
	.comm	_TRP0_INTERRUPT_ENABLE,4,2      ; @TRP0_INTERRUPT_ENABLE
	.comm	_TRP_INTERRUPT_0_ENABLE,4,2     ; @TRP_INTERRUPT_0_ENABLE
	.comm	_SB_DB_TRP_INTERRUPT_ENABLE,4,2 ; @SB_DB_TRP_INTERRUPT_ENABLE
	.comm	_SB_ERROR_THRESHOLD,4,2         ; @SB_ERROR_THRESHOLD
	.comm	_SB_ERROR_THRESHOLD_SHIFT,4,2   ; @SB_ERROR_THRESHOLD_SHIFT
	.comm	_DRP_ECC_ERROR_CFG,4,2          ; @DRP_ECC_ERROR_CFG
	.comm	_DRP0_INTERRUPT_ENABLE,4,2      ; @DRP0_INTERRUPT_ENABLE
	.comm	_DRP_INTERRUPT_ENABLE,4,2       ; @DRP_INTERRUPT_ENABLE
	.comm	_SB_DB_DRP_INTERRUPT_ENABLE,4,2 ; @SB_DB_DRP_INTERRUPT_ENABLE
	.no_dead_strip	_qcom_llcc_core_setup
.subsections_via_symbols
