	.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_cpu_box
LCPI0_0:
	.quad	0x4024000000000000              ## double 10
LCPI0_1:
	.quad	0xc010000000000000              ## double -4
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_svg_cpu_box
	.p2align	4, 0x90
_svg_cpu_box:                           ## @svg_cpu_box
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_svgfile@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	movl	%edi, %r14d
	movq	_max_freq@GOTPCREL(%rip), %rax
	movq	%rsi, (%rax)
	movq	_turbo_frequency@GOTPCREL(%rip), %rax
	movq	%rdx, (%rax)
	movq	_first_time@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_time2pixels
	movsd	%xmm0, -144(%rbp)               ## 8-byte Spill
	movq	_last_time@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_time2pixels
	movsd	%xmm0, -136(%rbp)               ## 8-byte Spill
	movl	(%r13), %edi
	callq	_time2pixels
	movsd	-136(%rbp), %xmm1               ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	subsd	%xmm0, %xmm1
	movsd	%xmm1, -136(%rbp)               ## 8-byte Spill
	movl	%r14d, %edi
	callq	_cpu2y
	movapd	%xmm0, %xmm2
	movq	_SLOT_MULT@GOTPCREL(%rip), %rax
	movq	_SLOT_HEIGHT@GOTPCREL(%rip), %r12
	cvtsi2sdl	(%r12), %xmm3
	addsd	(%rax), %xmm3
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movsd	-144(%rbp), %xmm0               ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	-136(%rbp), %xmm1               ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	movb	$4, %al
	callq	_fprintf
	leal	1(%r14), %edx
	leaq	L_.str.1(%rip), %rsi
	leaq	-128(%rbp), %r15
	movq	%r15, %rdi
	callq	_sprintf
	movq	_svgfile@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r13), %edi
	callq	_time2pixels
	addsd	LCPI0_0(%rip), %xmm0
	movsd	%xmm0, -136(%rbp)               ## 8-byte Spill
	movl	%r14d, %edi
	callq	_cpu2y
	movl	(%r12), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	xorps	%xmm1, %xmm1
	cvtsi2sd	%ecx, %xmm1
	addsd	%xmm0, %xmm1
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edi
	movsd	-136(%rbp), %xmm0               ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movq	%r15, %rdx
	movb	$2, %al
	callq	_fprintf
	movq	_svgfile@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r13), %edi
	callq	_time2pixels
	addsd	LCPI0_0(%rip), %xmm0
	movsd	%xmm0, -136(%rbp)               ## 8-byte Spill
	movl	%r14d, %edi
	callq	_cpu2y
	movq	_SLOT_MULT@GOTPCREL(%rip), %rax
	addsd	(%rax), %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2sdl	(%r12), %xmm1
	addsd	%xmm0, %xmm1
	addsd	LCPI0_1(%rip), %xmm1
	movsd	%xmm1, -144(%rbp)               ## 8-byte Spill
	xorl	%eax, %eax
	callq	_cpu_model
	leaq	L_.str.3(%rip), %rsi
	movl	%ebx, %edi
	movsd	-136(%rbp), %xmm0               ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	-144(%rbp), %xmm1               ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	movq	%rax, %rdx
	movb	$2, %al
	callq	_fprintf
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_svgfile,4,2                    ## @svgfile
	.comm	_max_freq,8,3                   ## @max_freq
	.comm	_turbo_frequency,8,3            ## @turbo_frequency
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"<rect x=\"%4.8f\" width=\"%4.8f\" y=\"%4.1f\" height=\"%4.1f\" class=\"cpu\"/>\n"

	.comm	_first_time,4,2                 ## @first_time
	.comm	_last_time,4,2                  ## @last_time
	.comm	_SLOT_MULT,8,3                  ## @SLOT_MULT
	.comm	_SLOT_HEIGHT,4,2                ## @SLOT_HEIGHT
L_.str.1:                               ## @.str.1
	.asciz	"CPU %i"

L_.str.2:                               ## @.str.2
	.asciz	"<text x=\"%4.8f\" y=\"%4.8f\">%s</text>\n"

L_.str.3:                               ## @.str.3
	.asciz	"<text transform=\"translate(%4.8f,%4.8f)\" font-size=\"1.25pt\">%s</text>\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svg_cpu_box                    ; -- Begin function svg_cpu_box
	.p2align	2
_svg_cpu_box:                           ; @svg_cpu_box
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	d9, d8, [sp, #112]              ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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 w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset b8, -88
	.cfi_offset b9, -96
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x21, _svgfile@GOTPAGE
Lloh4:
	ldr	x21, [x21, _svgfile@GOTPAGEOFF]
	ldr	w20, [x21]
	cbz	w20, LBB0_2
; %bb.1:
	mov	x19, x0
Lloh5:
	adrp	x8, _max_freq@GOTPAGE
Lloh6:
	ldr	x8, [x8, _max_freq@GOTPAGEOFF]
Lloh7:
	str	x1, [x8]
Lloh8:
	adrp	x8, _turbo_frequency@GOTPAGE
Lloh9:
	ldr	x8, [x8, _turbo_frequency@GOTPAGEOFF]
Lloh10:
	str	x2, [x8]
Lloh11:
	adrp	x22, _first_time@GOTPAGE
Lloh12:
	ldr	x22, [x22, _first_time@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_time2pixels
	fmov	d8, d0
Lloh13:
	adrp	x8, _last_time@GOTPAGE
Lloh14:
	ldr	x8, [x8, _last_time@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_time2pixels
	fmov	d9, d0
	ldr	w0, [x22]
	bl	_time2pixels
	fsub	d9, d9, d0
	mov	x0, x19
	bl	_cpu2y
Lloh16:
	adrp	x23, _SLOT_MULT@GOTPAGE
Lloh17:
	ldr	x23, [x23, _SLOT_MULT@GOTPAGEOFF]
	ldr	d1, [x23]
Lloh18:
	adrp	x24, _SLOT_HEIGHT@GOTPAGE
Lloh19:
	ldr	x24, [x24, _SLOT_HEIGHT@GOTPAGEOFF]
	ldr	s2, [x24]
	sshll.2d	v2, v2, #0
	scvtf	d2, d2
	fadd	d1, d1, d2
	stp	d0, d1, [sp]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	fmov	d0, d8
	fmov	d1, d9
	bl	_fprintf
	add	w2, w19, #1
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x25, sp, #24
	add	x0, sp, #24
	bl	_sprintf
	ldr	w20, [x21]
	ldr	w0, [x22]
	bl	_time2pixels
	fmov	d9, #10.00000000
	fadd	d8, d0, d9
	mov	x0, x19
	bl	_cpu2y
	ldr	w8, [x24]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	scvtf	d1, w8
	fadd	d1, d0, d1
	str	x25, [sp]
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	fmov	d0, d8
	bl	_fprintf
	ldr	w20, [x21]
	ldr	w0, [x22]
	bl	_time2pixels
	fadd	d8, d0, d9
	mov	x0, x19
	bl	_cpu2y
	ldr	d1, [x23]
	fadd	d0, d0, d1
	ldr	s1, [x24]
	sshll.2d	v1, v1, #0
	scvtf	d1, d1
	fadd	d0, d0, d1
	fmov	d1, #-4.00000000
	fadd	d9, d0, d1
	bl	_cpu_model
	str	x0, [sp]
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	fmov	d0, d8
	fmov	d1, d9
	bl	_fprintf
LBB0_2:
	ldur	x8, [x29, #-88]
Lloh28:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh29:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #112]              ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_svgfile,4,2                    ; @svgfile
	.comm	_max_freq,8,3                   ; @max_freq
	.comm	_turbo_frequency,8,3            ; @turbo_frequency
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"<rect x=\"%4.8f\" width=\"%4.8f\" y=\"%4.1f\" height=\"%4.1f\" class=\"cpu\"/>\n"

	.comm	_first_time,4,2                 ; @first_time
	.comm	_last_time,4,2                  ; @last_time
	.comm	_SLOT_MULT,8,3                  ; @SLOT_MULT
	.comm	_SLOT_HEIGHT,4,2                ; @SLOT_HEIGHT
l_.str.1:                               ; @.str.1
	.asciz	"CPU %i"

l_.str.2:                               ; @.str.2
	.asciz	"<text x=\"%4.8f\" y=\"%4.8f\">%s</text>\n"

l_.str.3:                               ; @.str.3
	.asciz	"<text transform=\"translate(%4.8f,%4.8f)\" font-size=\"1.25pt\">%s</text>\n"

.subsections_via_symbols
