	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arcturus_get_current_activity_percent
_arcturus_get_current_activity_percent: ## @arcturus_get_current_activity_percent
	.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
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movq	%rdx, %rbx
	movl	%esi, %r14d
	leaq	-24(%rbp), %rsi
	callq	_arcturus_get_metrics_table
	testl	%eax, %eax
	jne	LBB0_9
## %bb.3:
	cmpl	$128, %r14d
	je	LBB0_7
## %bb.4:
	cmpl	$129, %r14d
	jne	LBB0_6
## %bb.5:
	movl	-20(%rbp), %eax
	jmp	LBB0_8
LBB0_7:
	movl	-24(%rbp), %eax
LBB0_8:
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_6:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid sensor for retrieving clock activity\n"

	.no_dead_strip	_arcturus_get_current_activity_percent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arcturus_get_current_activity_percent
_arcturus_get_current_activity_percent: ; @arcturus_get_current_activity_percent
	.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
	cbz	x2, LBB0_8
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	add	x1, sp, #8
	bl	_arcturus_get_metrics_table
	cbnz	w0, LBB0_9
; %bb.2:
	cmp	w20, #128
	b.eq	LBB0_5
; %bb.3:
	cmp	w20, #129
	b.ne	LBB0_7
; %bb.4:
	ldr	w8, [sp, #12]
	b	LBB0_6
LBB0_5:
	ldr	w8, [sp, #8]
LBB0_6:
	mov	w0, #0
	str	w8, [x19]
	b	LBB0_9
LBB0_7:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
LBB0_8:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid sensor for retrieving clock activity\n"

	.no_dead_strip	_arcturus_get_current_activity_percent
.subsections_via_symbols
