	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_idle_stats
_update_idle_stats:                     ## @update_idle_stats
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_now@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_start_time@GOTPCREL(%rip), %rax
	subl	(%rax), %ecx
	jle	LBB0_1
## %bb.2:
	movq	_tot_idle_time@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cltd
	idivl	%ecx
	imull	$100, %eax, %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movq	_wstat@GOTPCREL(%rip), %rcx
	movl	%eax, 4(%rcx)
	movl	%eax, (%rcx)
	movq	_a_idle_quotient@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_a_idle_time@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%esi, %esi
	jle	LBB0_5
## %bb.4:
	cltd
	idivl	%esi
	imull	$100, %eax, %eax
LBB0_5:
	movl	%eax, 12(%rcx)
	movl	%eax, 8(%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_now,4,2                        ## @now
	.comm	_start_time,4,2                 ## @start_time
	.comm	_tot_idle_time,4,2              ## @tot_idle_time
	.comm	_wstat,16,2                     ## @wstat
	.comm	_a_idle_quotient,4,2            ## @a_idle_quotient
	.comm	_a_idle_time,4,2                ## @a_idle_time
	.no_dead_strip	_update_idle_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_idle_stats
_update_idle_stats:                     ; @update_idle_stats
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _now@GOTPAGE
Lloh1:
	ldr	x8, [x8, _now@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _start_time@GOTPAGE
Lloh4:
	ldr	x9, [x9, _start_time@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	sub	w8, w8, w9
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.1:
Lloh6:
	adrp	x9, _tot_idle_time@GOTPAGE
Lloh7:
	ldr	x9, [x9, _tot_idle_time@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	sdiv	w8, w9, w8
	mov	w9, #100
	mul	w9, w8, w9
	b	LBB0_3
LBB0_2:
	mov	w9, #0
LBB0_3:
Lloh9:
	adrp	x8, _wstat@GOTPAGE
Lloh10:
	ldr	x8, [x8, _wstat@GOTPAGEOFF]
Lloh11:
	adrp	x10, _a_idle_quotient@GOTPAGE
Lloh12:
	ldr	x10, [x10, _a_idle_quotient@GOTPAGEOFF]
	stp	w9, w9, [x8]
Lloh13:
	ldr	w10, [x10]
Lloh14:
	adrp	x9, _a_idle_time@GOTPAGE
Lloh15:
	ldr	x9, [x9, _a_idle_time@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	cmp	w10, #1
	b.lt	LBB0_5
; %bb.4:
	sdiv	w9, w9, w10
	mov	w10, #100
	mul	w9, w9, w10
LBB0_5:
	stp	w9, w9, [x8, #8]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_now,4,2                        ; @now
	.comm	_start_time,4,2                 ; @start_time
	.comm	_tot_idle_time,4,2              ; @tot_idle_time
	.comm	_wstat,16,2                     ; @wstat
	.comm	_a_idle_quotient,4,2            ; @a_idle_quotient
	.comm	_a_idle_time,4,2                ; @a_idle_time
	.no_dead_strip	_update_idle_stats
.subsections_via_symbols
