	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgene_hwmon_get_notification_msg
_xgene_hwmon_get_notification_msg:      ## @xgene_hwmon_get_notification_msg
	.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	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	_PWRMGMT_SUBTYPE_TPC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TPC_GET_ALARM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_TPC_EN_MSG
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -40(%rbp)
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_xgene_hwmon_pcc_rd
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movaps	-48(%rbp), %xmm0
	movups	%xmm0, (%r14)
	movq	-32(%rbp), %rcx
	movq	%rcx, 16(%r14)
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_4
## %bb.3:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PWRMGMT_SUBTYPE_TPC,4,2        ## @PWRMGMT_SUBTYPE_TPC
	.comm	_TPC_GET_ALARM,4,2              ## @TPC_GET_ALARM
	.no_dead_strip	_xgene_hwmon_get_notification_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgene_hwmon_get_notification_msg
_xgene_hwmon_get_notification_msg:      ; @xgene_hwmon_get_notification_msg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x8, _PWRMGMT_SUBTYPE_TPC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PWRMGMT_SUBTYPE_TPC@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _TPC_GET_ALARM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TPC_GET_ALARM@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_TPC_EN_MSG
	stp	xzr, xzr, [sp, #8]
	str	x0, [sp]
	mov	x1, sp
	mov	x0, x20
	bl	_xgene_hwmon_pcc_rd
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	q0, [sp]
	str	q0, [x19]
	ldr	x8, [sp, #16]
	str	x8, [x19, #16]
LBB0_2:
	ldr	x8, [sp, #24]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_PWRMGMT_SUBTYPE_TPC,4,2        ; @PWRMGMT_SUBTYPE_TPC
	.comm	_TPC_GET_ALARM,4,2              ; @TPC_GET_ALARM
	.no_dead_strip	_xgene_hwmon_get_notification_msg
.subsections_via_symbols
