	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exynos_ppmu_disable
_exynos_ppmu_disable:                   ## @exynos_ppmu_disable
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_devfreq_event_get_drvdata
	movq	%rax, %rbx
	movq	_PPMU_CCNT_MASK@GOTPCREL(%rip), %rax
	movq	_PPMU_PMCNT0_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	(%rbx), %edi
	movq	_PPMU_PMCNT1_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_PPMU_CNTENC@GOTPCREL(%rip), %rax
	movq	_PPMU_PMCNT2_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_PPMU_PMCNT3_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	callq	_regmap_write
	testl	%eax, %eax
	js	LBB0_3
## %bb.1:
	movl	(%rbx), %edi
	movq	_PPMU_PMNC@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-20(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	js	LBB0_3
## %bb.2:
	movq	_PPMU_PMNC_ENABLE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	-20(%rbp), %edx
	movl	%edx, -20(%rbp)
	movl	(%rbx), %edi
	movl	(%r14), %esi
	callq	_regmap_write
	movl	%eax, %ecx
	sarl	$31, %eax
	andl	%ecx, %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PPMU_CNTENC,4,2                ## @PPMU_CNTENC
	.comm	_PPMU_CCNT_MASK,4,2             ## @PPMU_CCNT_MASK
	.comm	_PPMU_PMCNT0_MASK,4,2           ## @PPMU_PMCNT0_MASK
	.comm	_PPMU_PMCNT1_MASK,4,2           ## @PPMU_PMCNT1_MASK
	.comm	_PPMU_PMCNT2_MASK,4,2           ## @PPMU_PMCNT2_MASK
	.comm	_PPMU_PMCNT3_MASK,4,2           ## @PPMU_PMCNT3_MASK
	.comm	_PPMU_PMNC,4,2                  ## @PPMU_PMNC
	.comm	_PPMU_PMNC_ENABLE_MASK,4,2      ## @PPMU_PMNC_ENABLE_MASK
	.no_dead_strip	_exynos_ppmu_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exynos_ppmu_disable
_exynos_ppmu_disable:                   ; @exynos_ppmu_disable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	bl	_devfreq_event_get_drvdata
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _PPMU_CNTENC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PPMU_CNTENC@GOTPAGEOFF]
Lloh2:
	adrp	x9, _PPMU_CCNT_MASK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PPMU_CCNT_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _PPMU_PMCNT0_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PPMU_PMCNT0_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _PPMU_PMCNT1_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PPMU_PMCNT1_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _PPMU_PMCNT2_MASK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PPMU_PMCNT2_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _PPMU_PMCNT3_MASK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _PPMU_PMCNT3_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w2, w8, w9
	bl	_regmap_write
	tbnz	w0, #31, LBB0_3
; %bb.1:
	ldr	w0, [x19]
Lloh18:
	adrp	x20, _PPMU_PMNC@GOTPAGE
Lloh19:
	ldr	x20, [x20, _PPMU_PMNC@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #12
	bl	_regmap_read
	tbnz	w0, #31, LBB0_3
; %bb.2:
Lloh20:
	adrp	x8, _PPMU_PMNC_ENABLE_MASK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PPMU_PMNC_ENABLE_MASK@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	bic	w2, w9, w8
	str	w2, [sp, #12]
	ldr	w0, [x19]
	ldr	w1, [x20]
	bl	_regmap_write
	cmp	w0, #0
	csel	w0, w0, wzr, lt
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_PPMU_CNTENC,4,2                ; @PPMU_CNTENC
	.comm	_PPMU_CCNT_MASK,4,2             ; @PPMU_CCNT_MASK
	.comm	_PPMU_PMCNT0_MASK,4,2           ; @PPMU_PMCNT0_MASK
	.comm	_PPMU_PMCNT1_MASK,4,2           ; @PPMU_PMCNT1_MASK
	.comm	_PPMU_PMCNT2_MASK,4,2           ; @PPMU_PMCNT2_MASK
	.comm	_PPMU_PMCNT3_MASK,4,2           ; @PPMU_PMCNT3_MASK
	.comm	_PPMU_PMNC,4,2                  ; @PPMU_PMNC
	.comm	_PPMU_PMNC_ENABLE_MASK,4,2      ; @PPMU_PMNC_ENABLE_MASK
	.no_dead_strip	_exynos_ppmu_disable
.subsections_via_symbols
