	.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_legenda_box
LCPI0_0:
	.quad	0x4014000000000000              ## double 5
LCPI0_1:
	.quad	0x3fe999999999999a              ## double 0.80000000000000004
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_svg_legenda_box:                       ## @svg_legenda_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rcx
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	_SLOT_HEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%eax, %edx
	sarl	%edx
	cvtsi2sd	%edx, %xmm0
	movsd	%xmm0, -32(%rbp)                ## 8-byte Spill
	movq	_svgfile@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	movapd	%xmm0, %xmm1
	callq	_fprintf
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ebx, %xmm0
	movsd	-32(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	addsd	%xmm2, %xmm0
	addsd	LCPI0_0(%rip), %xmm0
	cvttsd2si	%xmm0, %edx
	movl	(%r15), %edi
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	mulsd	%xmm2, %xmm1
	movapd	%xmm2, %xmm0
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SLOT_HEIGHT,4,2                ## @SLOT_HEIGHT
	.comm	_svgfile,4,2                    ## @svgfile
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"<rect x=\"%i\" width=\"%4.8f\" y=\"0\" height=\"%4.1f\" class=\"%s\"/>\n"

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

	.no_dead_strip	_svg_legenda_box
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svg_legenda_box
_svg_legenda_box:                       ; @svg_legenda_box
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-64]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x3, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _SLOT_HEIGHT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SLOT_HEIGHT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	scvtf	d8, w8
Lloh3:
	adrp	x21, _svgfile@GOTPAGE
Lloh4:
	ldr	x21, [x21, _svgfile@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	fmov	d0, d8
	fmov	d1, d8
	bl	_fprintf
	scvtf	d0, w20
	fadd	d0, d0, d8
	fmov	d1, #5.00000000
	fadd	d0, d0, d1
	fcvtzs	w2, d0
	ldr	w0, [x21]
	mov	x8, #-7378697629483820647
	movk	x8, #39322
	movk	x8, #16361, lsl #48
	fmov	d0, x8
	fmul	d1, d8, d0
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	fmov	d0, d8
	mov	x3, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	b	_fprintf
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SLOT_HEIGHT,4,2                ; @SLOT_HEIGHT
	.comm	_svgfile,4,2                    ; @svgfile
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"<rect x=\"%i\" width=\"%4.8f\" y=\"0\" height=\"%4.1f\" class=\"%s\"/>\n"

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

	.no_dead_strip	_svg_legenda_box
.subsections_via_symbols
