	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exynos_nocp_get_event
_exynos_nocp_get_event:                 ## @exynos_nocp_get_event
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	callq	_devfreq_event_get_drvdata
	movq	%rax, %r12
	movl	4(%rax), %edi
	movq	_NOCP_COUNTERS_0_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	movl	4(%r12), %edi
	movq	_NOCP_COUNTERS_1_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-60(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	js	LBB0_4
## %bb.2:
	movl	4(%r12), %edi
	movq	_NOCP_COUNTERS_2_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	js	LBB0_4
## %bb.3:
	movl	4(%r12), %edi
	movq	_NOCP_COUNTERS_3_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-52(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	js	LBB0_4
## %bb.7:
	movl	-60(%rbp), %ecx
	shll	$16, %ecx
	orl	-64(%rbp), %ecx
	movl	%ecx, (%r14)
	movl	-52(%rbp), %r8d
	shll	$16, %r8d
	orl	-56(%rbp), %r8d
	movl	%r8d, 4(%r14)
	movq	(%r15), %rax
	addq	$8, %r15
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_dbg
	xorl	%ebx, %ebx
	jmp	LBB0_5
LBB0_4:
	movl	%eax, %ebx
	movl	(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_8
## %bb.6:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NOCP_COUNTERS_0_VAL,4,2        ## @NOCP_COUNTERS_0_VAL
	.comm	_NOCP_COUNTERS_1_VAL,4,2        ## @NOCP_COUNTERS_1_VAL
	.comm	_NOCP_COUNTERS_2_VAL,4,2        ## @NOCP_COUNTERS_2_VAL
	.comm	_NOCP_COUNTERS_3_VAL,4,2        ## @NOCP_COUNTERS_3_VAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s (event: %ld/%ld)\n"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to read the counter of NoC probe device\n"

	.no_dead_strip	_exynos_nocp_get_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exynos_nocp_get_event
_exynos_nocp_get_event:                 ; @exynos_nocp_get_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	bl	_devfreq_event_get_drvdata
	mov	x20, x0
	ldr	w0, [x0, #4]
Lloh3:
	adrp	x8, _NOCP_COUNTERS_0_VAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NOCP_COUNTERS_0_VAL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x23, sp, #8
	add	x2, sp, #8
	bl	_regmap_read
	tbnz	w0, #31, LBB0_5
; %bb.1:
	ldr	w0, [x20, #4]
Lloh6:
	adrp	x8, _NOCP_COUNTERS_1_VAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NOCP_COUNTERS_1_VAL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, x23, #4
	bl	_regmap_read
	tbnz	w0, #31, LBB0_5
; %bb.2:
	ldr	w0, [x20, #4]
Lloh9:
	adrp	x8, _NOCP_COUNTERS_2_VAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NOCP_COUNTERS_2_VAL@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x23, sp, #8
	add	x2, x23, #8
	bl	_regmap_read
	tbnz	w0, #31, LBB0_5
; %bb.3:
	ldr	w0, [x20, #4]
Lloh12:
	adrp	x8, _NOCP_COUNTERS_3_VAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NOCP_COUNTERS_3_VAL@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	add	x2, x23, #12
	bl	_regmap_read
	tbnz	w0, #31, LBB0_5
; %bb.4:
	ldp	w9, w8, [sp, #8]
	orr	w3, w9, w8, lsl #16
	ldp	w9, w8, [sp, #16]
	orr	w4, w9, w8, lsl #16
	stp	w3, w4, [x21]
	ldr	x8, [x19], #8
	ldr	w2, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	mov	w22, #0
	b	LBB0_6
LBB0_5:
	mov	x22, x0
	ldr	w0, [x20]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
LBB0_6:
	ldr	x8, [sp, #24]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_NOCP_COUNTERS_0_VAL,4,2        ; @NOCP_COUNTERS_0_VAL
	.comm	_NOCP_COUNTERS_1_VAL,4,2        ; @NOCP_COUNTERS_1_VAL
	.comm	_NOCP_COUNTERS_2_VAL,4,2        ; @NOCP_COUNTERS_2_VAL
	.comm	_NOCP_COUNTERS_3_VAL,4,2        ; @NOCP_COUNTERS_3_VAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s (event: %ld/%ld)\n"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to read the counter of NoC probe device\n"

	.no_dead_strip	_exynos_nocp_get_event
.subsections_via_symbols
