	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_cpu_usage                  ## -- Begin function get_cpu_usage
	.p2align	4, 0x90
_get_cpu_usage:                         ## @get_cpu_usage
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_HOST_CPU_LOAD_INFO_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -4(%rbp)
	xorl	%eax, %eax
	callq	_mach_host_self
	movq	_HOST_CPU_LOAD_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-16(%rbp), %rdx
	leaq	-4(%rbp), %rcx
	movl	%eax, %edi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_host_statistics
	movq	-16(%rbp), %rcx
	movq	_CPU_STATE_USER@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_CPU_STATE_SYSTEM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rcx,%rax,4), %esi
	movq	_CPU_STATE_IDLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_CPU_STATE_NICE@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	(%rcx,%rdi,4), %edi
	movl	(%rcx,%rax,4), %eax
	movl	(%rcx,%rdx,4), %edx
	shlq	$32, %rax
	orq	%rdi, %rax
	shlq	$32, %rdx
	orq	%rsi, %rdx
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HOST_CPU_LOAD_INFO_COUNT,4,2   ## @HOST_CPU_LOAD_INFO_COUNT
	.comm	_HOST_CPU_LOAD_INFO,4,2         ## @HOST_CPU_LOAD_INFO
	.comm	_CPU_STATE_USER,8,3             ## @CPU_STATE_USER
	.comm	_CPU_STATE_SYSTEM,8,3           ## @CPU_STATE_SYSTEM
	.comm	_CPU_STATE_IDLE,8,3             ## @CPU_STATE_IDLE
	.comm	_CPU_STATE_NICE,8,3             ## @CPU_STATE_NICE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_cpu_usage                  ; -- Begin function get_cpu_usage
	.p2align	2
_get_cpu_usage:                         ; @get_cpu_usage
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x8, _HOST_CPU_LOAD_INFO_COUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HOST_CPU_LOAD_INFO_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #4]
	bl	_mach_host_self
Lloh3:
	adrp	x8, _HOST_CPU_LOAD_INFO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HOST_CPU_LOAD_INFO@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	add	x3, sp, #4
	bl	_host_statistics
	ldr	x8, [sp, #8]
Lloh6:
	adrp	x9, _CPU_STATE_USER@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CPU_STATE_USER@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _CPU_STATE_SYSTEM@GOTPAGE
Lloh10:
	ldr	x10, [x10, _CPU_STATE_SYSTEM@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	ldr	w1, [x8, x10, lsl #2]
Lloh12:
	adrp	x10, _CPU_STATE_IDLE@GOTPAGE
Lloh13:
	ldr	x10, [x10, _CPU_STATE_IDLE@GOTPAGEOFF]
Lloh14:
	adrp	x11, _CPU_STATE_NICE@GOTPAGE
Lloh15:
	ldr	x11, [x11, _CPU_STATE_NICE@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
Lloh17:
	ldr	x11, [x11]
	ldr	w0, [x8, x11, lsl #2]
	ldr	w10, [x8, x10, lsl #2]
	ldr	w8, [x8, x9, lsl #2]
	bfi	x0, x10, #32, #32
	bfi	x1, x8, #32, #32
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HOST_CPU_LOAD_INFO_COUNT,4,2   ; @HOST_CPU_LOAD_INFO_COUNT
	.comm	_HOST_CPU_LOAD_INFO,4,2         ; @HOST_CPU_LOAD_INFO
	.comm	_CPU_STATE_USER,8,3             ; @CPU_STATE_USER
	.comm	_CPU_STATE_SYSTEM,8,3           ; @CPU_STATE_SYSTEM
	.comm	_CPU_STATE_IDLE,8,3             ; @CPU_STATE_IDLE
	.comm	_CPU_STATE_NICE,8,3             ; @CPU_STATE_NICE
.subsections_via_symbols
