	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function proc_calc_pctcpu
_proc_calc_pctcpu:                      ## @proc_calc_pctcpu
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_previous_interval@GOTPCREL(%rip), %r14
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	xorpd	%xmm1, %xmm1
	ucomisd	%xmm1, %xmm0
	jne	LBB0_1
	jnp	LBB0_8
LBB0_1:
	movq	%rbx, %rdi
	callq	_get_old_proc
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	8(%rbx), %rcx
	subq	8(%rax), %rcx
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rcx, %xmm0
	jmp	LBB0_7
LBB0_3:
	movq	_previous_wall_time@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	cmpq	%rcx, 16(%rbx)
	jle	LBB0_4
LBB0_6:
	xorps	%xmm0, %xmm0
	cvtsi2sdq	8(%rbx), %xmm0
LBB0_7:
	divsd	(%r14), %xmm0
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	jne	LBB0_8
## %bb.5:
	movq	24(%rbx), %rcx
	cmpq	8(%rax), %rcx
	jge	LBB0_6
LBB0_8:
	movl	(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pctdouble                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_previous_interval,8,3          ## @previous_interval
	.comm	_previous_wall_time,16,3        ## @previous_wall_time
	.no_dead_strip	_proc_calc_pctcpu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function proc_calc_pctcpu
_proc_calc_pctcpu:                      ; @proc_calc_pctcpu
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _previous_interval@GOTPAGE
Lloh1:
	ldr	x20, [x20, _previous_interval@GOTPAGEOFF]
	ldr	d0, [x20]
	fcmp	d0, #0.0
	b.eq	LBB0_8
; %bb.1:
	mov	x0, x19
	bl	_get_old_proc
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x8, [x19, #8]
	ldr	x9, [x0, #8]
	sub	x8, x8, x9
	scvtf	d0, x8
	b	LBB0_5
LBB0_3:
	ldr	x9, [x19, #16]
Lloh2:
	adrp	x8, _previous_wall_time@GOTPAGE
Lloh3:
	ldr	x8, [x8, _previous_wall_time@GOTPAGEOFF]
	ldr	x10, [x8]
	cmp	x9, x10
	b.le	LBB0_6
LBB0_4:
	ldr	d0, [x19, #8]
	scvtf	d0, d0
LBB0_5:
	ldr	d1, [x20]
	fdiv	d0, d0, d1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	b.ne	LBB0_8
; %bb.7:
	ldr	x9, [x19, #24]
	ldr	x8, [x8, #8]
	cmp	x9, x8
	b.ge	LBB0_4
LBB0_8:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pctdouble
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_previous_interval,8,3          ; @previous_interval
	.comm	_previous_wall_time,16,3        ; @previous_wall_time
	.no_dead_strip	_proc_calc_pctcpu
.subsections_via_symbols
