	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function svg_pstate
LCPI0_0:
	.quad	0x3feccccccccccccd              ## double 0.90000000000000002
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_svg_pstate
	.p2align	4, 0x90
_svg_pstate:                            ## @svg_pstate
	.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	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_svgfile@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	je	LBB0_5
## %bb.1:
	movsd	%xmm1, -56(%rbp)                ## 8-byte Spill
	movsd	%xmm0, -32(%rbp)                ## 8-byte Spill
	movq	_max_freq@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	movsd	%xmm2, -48(%rbp)                ## 8-byte Spill
	je	LBB0_2
## %bb.3:
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	movapd	%xmm2, %xmm1
	divsd	%xmm0, %xmm1
	movq	_SLOT_HEIGHT@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	movq	_SLOT_MULT@GOTPCREL(%rip), %rax
	addsd	(%rax), %xmm0
	mulsd	%xmm1, %xmm0
	jmp	LBB0_4
LBB0_5:
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	xorpd	%xmm0, %xmm0
LBB0_4:
	movsd	%xmm0, -24(%rbp)                ## 8-byte Spill
	callq	_cpu2y
	incl	%eax
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	movq	_SLOT_MULT@GOTPCREL(%rip), %rax
	addsd	(%rax), %xmm0
	movq	_SLOT_HEIGHT@GOTPCREL(%rip), %rax
	addsd	(%rax), %xmm0
	subsd	-24(%rbp), %xmm0                ## 8-byte Folded Reload
	movsd	%xmm0, -24(%rbp)                ## 8-byte Spill
	movl	(%r14), %ebx
	movsd	-32(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_time2pixels
	movsd	%xmm0, -40(%rbp)                ## 8-byte Spill
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_time2pixels
	movaps	%xmm0, %xmm1
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movsd	-40(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	-24(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	movaps	%xmm2, %xmm3
	movb	$4, %al
	callq	_fprintf
	movl	(%r14), %ebx
	movsd	-32(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_time2pixels
	movsd	%xmm0, -32(%rbp)                ## 8-byte Spill
	movsd	-24(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	addsd	LCPI0_0(%rip), %xmm0
	movsd	%xmm0, -24(%rbp)                ## 8-byte Spill
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_HzToHuman
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movsd	-32(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	-24(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	movq	%rax, %rdx
	movb	$2, %al
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_svgfile,4,2                    ## @svgfile
	.comm	_max_freq,4,2                   ## @max_freq
	.comm	_SLOT_HEIGHT,8,3                ## @SLOT_HEIGHT
	.comm	_SLOT_MULT,8,3                  ## @SLOT_MULT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"<line x1=\"%4.8f\" x2=\"%4.8f\" y1=\"%4.1f\" y2=\"%4.1f\" class=\"pstate\"/>\n"

L_.str.1:                               ## @.str.1
	.asciz	"<text x=\"%4.8f\" y=\"%4.8f\" font-size=\"0.25pt\">%s</text>\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svg_pstate                     ; -- Begin function svg_pstate
	.p2align	2
_svg_pstate:                            ; @svg_pstate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	d13, d12, [sp, #16]             ; 16-byte Folded Spill
	stp	d11, d10, [sp, #32]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset b8, -56
	.cfi_offset b9, -64
	.cfi_offset b10, -72
	.cfi_offset b11, -80
	.cfi_offset b12, -88
	.cfi_offset b13, -96
Lloh0:
	adrp	x20, _svgfile@GOTPAGE
Lloh1:
	ldr	x20, [x20, _svgfile@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	w8, LBB0_5
; %bb.1:
	fmov	d8, d2
	fmov	d10, d1
	fmov	d9, d0
Lloh2:
	adrp	x8, _max_freq@GOTPAGE
Lloh3:
	ldr	x8, [x8, _max_freq@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x21, _SLOT_MULT@GOTPAGE
Lloh6:
	ldr	x21, [x21, _SLOT_MULT@GOTPAGEOFF]
Lloh7:
	adrp	x19, _SLOT_HEIGHT@GOTPAGE
Lloh8:
	ldr	x19, [x19, _SLOT_HEIGHT@GOTPAGEOFF]
	cbz	w8, LBB0_3
; %bb.2:
	scvtf	d0, w8
	fdiv	d0, d8, d0
	ldr	d1, [x19]
	ldr	d2, [x21]
	fadd	d1, d1, d2
	fmul	d11, d0, d1
	b	LBB0_4
LBB0_3:
	movi	d11, #0000000000000000
LBB0_4:
	bl	_cpu2y
	add	w8, w0, #1
	scvtf	d0, w8
	ldr	d1, [x21]
	fadd	d0, d1, d0
	ldr	d1, [x19]
	fadd	d0, d1, d0
	fsub	d12, d0, d11
	ldr	w19, [x20]
	fmov	d0, d9
	bl	_time2pixels
	fmov	d11, d0
	fmov	d0, d10
	bl	_time2pixels
	fmov	d1, d0
	stp	d12, d12, [sp]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	fmov	d0, d11
	bl	_fprintf
	ldr	w19, [x20]
	fmov	d0, d9
	bl	_time2pixels
	fmov	d9, d0
	mov	x8, #-3689348814741910324
	movk	x8, #52429
	movk	x8, #16364, lsl #48
	fmov	d0, x8
	fadd	d10, d12, d0
	fmov	d0, d8
	bl	_HzToHuman
	str	x0, [sp]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	fmov	d0, d9
	fmov	d1, d10
	bl	_fprintf
LBB0_5:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #32]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_svgfile,4,2                    ; @svgfile
	.comm	_max_freq,4,2                   ; @max_freq
	.comm	_SLOT_HEIGHT,8,3                ; @SLOT_HEIGHT
	.comm	_SLOT_MULT,8,3                  ; @SLOT_MULT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"<line x1=\"%4.8f\" x2=\"%4.8f\" y1=\"%4.1f\" y2=\"%4.1f\" class=\"pstate\"/>\n"

l_.str.1:                               ; @.str.1
	.asciz	"<text x=\"%4.8f\" y=\"%4.8f\" font-size=\"0.25pt\">%s</text>\n"

.subsections_via_symbols
