	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function color_graticule16
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_1:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_color_graticule16:                     ## @color_graticule16
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rdi), %eax
	decl	%eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	movss	4(%rdi), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	movslq	%r9d, %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movslq	%edx, %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movslq	%ecx, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movslq	%r8d, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movss	%xmm0, -68(%rbp)                ## 4-byte Spill
	movq	-104(%rbp), %r13                ## 8-byte Reload
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%r14
	cmpq	$12, %r14
	movss	-68(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	je	LBB0_4
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_positions@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	(%rax,%rcx,8), %rax
	movq	(%rax,%r14,8), %rax
	movslq	(%rax,%r13,4), %rbx
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rax,%rcx,4), %r15d
	movq	(%r12), %rcx
	movq	24(%r12), %r8
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rcx,%rdx,4), %ecx
	movl	%ecx, %esi
	shrl	$31, %esi
	addl	%ecx, %esi
	imull	%r15d, %ecx
	movslq	%ecx, %rcx
	addq	%rbx, %rbx
	movq	(%r8,%rdx,8), %rdi
	addq	%rbx, %rdi
	addq	%rcx, %rdi
	movl	(%rax,%rdx,4), %edx
	sarl	%esi
	callq	_draw_dots16
	movq	(%r12), %rax
	movq	24(%r12), %rcx
	movl	(%rax,%r13,4), %eax
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	imull	%r15d, %eax
	cltq
	movq	(%rcx,%r13,8), %rdi
	addq	%rbx, %rdi
	addq	%rax, %rdi
	sarl	%esi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movss	-68(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_draw_dots16
	movq	(%r12), %rax
	movq	24(%r12), %rcx
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rax,%rdx,4), %eax
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	imull	%r15d, %eax
	cltq
	movq	(%rcx,%rdx,8), %rdi
	addq	%rbx, %rdi
	addq	%rax, %rdi
	sarl	%esi
	movl	%r15d, %edx
	movss	-68(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_draw_dots16
	movq	24(%r12), %rax
	movq	24(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r12), %rax
	movl	12(%rax), %eax
	imull	%eax, %r15d
	movslq	%r15d, %rcx
	addq	%rbx, %rdi
	addq	%rcx, %rdi
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	sarl	%esi
	movl	-72(%rbp), %edx                 ## 4-byte Reload
	movss	-68(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_draw_dots16
	jmp	LBB0_3
LBB0_4:
	movq	-120(%rbp), %rax                ## 8-byte Reload
	testb	$1, 8(%rax)
	je	LBB0_7
## %bb.5:
	movq	_positions@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	(%rax,%rcx,8), %rax
	movq	96(%rax), %rax
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movslq	(%rax,%r15,4), %rbx
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movl	(%rax,%r13,4), %r14d
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	(%rax,%rdi,4), %edx
	movq	(%r12), %rax
	movq	24(%r12), %r8
	movl	(%rax,%rdi,4), %eax
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	imull	%r14d, %eax
	cltq
	addq	%rbx, %rbx
	movq	(%r8,%rdi,8), %rdi
	addq	%rbx, %rdi
	addq	%rax, %rdi
	sarl	%esi
	movss	-68(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_draw_dots16
	movq	(%r12), %rax
	movq	24(%r12), %rcx
	movl	(%rax,%r15,4), %eax
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	imull	%r14d, %eax
	cltq
	movq	(%rcx,%r15,8), %rdi
	addq	%rbx, %rdi
	addq	%rax, %rdi
	sarl	%esi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movss	-68(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_draw_dots16
	movq	(%r12), %rax
	movq	24(%r12), %rcx
	movl	(%rax,%r13,4), %eax
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	imull	%r14d, %eax
	cltq
	movq	(%rcx,%r13,8), %rdi
	addq	%rbx, %rdi
	addq	%rax, %rdi
	sarl	%esi
	movl	%r14d, %edx
	movss	-68(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_draw_dots16
	movss	-68(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movq	24(%r12), %rax
	movq	24(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	movq	(%r12), %rax
	movl	12(%rax), %eax
	imull	%eax, %r14d
	movslq	%r14d, %rcx
	addq	%rbx, %rdi
	addq	%rcx, %rdi
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	sarl	%esi
	movl	-72(%rbp), %edx                 ## 4-byte Reload
	movss	-68(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_draw_dots16
	movss	-68(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
LBB0_7:
	movq	-120(%rbp), %rax                ## 8-byte Reload
	testb	$2, 8(%rax)
	je	LBB0_10
## %bb.8:
	movq	_positions@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	(%rax,%rcx,8), %rax
	movq	104(%rax), %rax
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movslq	(%rax,%r15,4), %rbx
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movl	(%rax,%r13,4), %r14d
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	(%rax,%rdi,4), %edx
	movq	(%r12), %rax
	movq	24(%r12), %r8
	movl	(%rax,%rdi,4), %eax
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	imull	%r14d, %eax
	cltq
	addq	%rbx, %rbx
	movq	(%r8,%rdi,8), %rdi
	addq	%rbx, %rdi
	addq	%rax, %rdi
	sarl	%esi
	movss	-68(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_draw_dots16
	movq	(%r12), %rax
	movq	24(%r12), %rcx
	movl	(%rax,%r15,4), %eax
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	imull	%r14d, %eax
	cltq
	movq	(%rcx,%r15,8), %rdi
	addq	%rbx, %rdi
	addq	%rax, %rdi
	sarl	%esi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movss	-68(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_draw_dots16
	movq	(%r12), %rax
	movq	24(%r12), %rcx
	movl	(%rax,%r13,4), %eax
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	imull	%r14d, %eax
	cltq
	movq	(%rcx,%r13,8), %rdi
	addq	%rbx, %rdi
	addq	%rax, %rdi
	sarl	%esi
	movl	%r14d, %edx
	movss	-68(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_draw_dots16
	movss	-68(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movq	24(%r12), %rax
	movq	24(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	movq	(%r12), %rax
	movl	12(%rax), %eax
	imull	%eax, %r14d
	movslq	%r14d, %rcx
	addq	%rbx, %rdi
	addq	%rcx, %rdi
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	sarl	%esi
	movl	-72(%rbp), %edx                 ## 4-byte Reload
	movss	-68(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_draw_dots16
	movss	-68(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
LBB0_10:
	movl	-72(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movl	%ecx, -80(%rbp)                 ## 4-byte Spill
	cvtss2sd	%xmm0, %xmm0
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	subsd	%xmm0, %xmm1
	cvttsd2si	%xmm1, %eax
	movl	%eax, -124(%rbp)                ## 4-byte Spill
	xorl	%r15d, %r15d
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	-120(%rbp), %rax                ## 8-byte Reload
	testb	$4, 8(%rax)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	_positions@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	(%rax,%rcx,8), %rax
	movq	(%rax,%r15,8), %rax
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	movl	(%rax,%rsi,4), %ecx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	(%rax,%rdi,4), %edx
	movl	(%rax,%rbx,4), %eax
	movl	%eax, -64(%rbp,%rbx,4)
	movl	%ecx, -64(%rbp,%rsi,4)
	movl	%edx, -64(%rbp,%rdi,4)
	leal	-14(%rcx), %eax
	leal	8(%rcx), %edi
	movl	-80(%rbp), %esi                 ## 4-byte Reload
	cmpl	%esi, %ecx
	cmovlel	%eax, %edi
	movl	-72(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -52(%rbp)
	leal	-14(%rdx), %eax
	leal	8(%rdx), %r14d
	cmpl	%esi, %edx
	cmovlel	%eax, %r14d
	movq	16(%r12), %rdx
	addq	$-9, %rdx
	xorl	%esi, %esi
	callq	_av_clip
	movl	%eax, %r13d
	movq	8(%r12), %rdx
	addq	$-9, %rdx
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	_av_clip
	movq	_positions_name@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%r15,4), %r8d
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	movss	-68(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movl	-124(%rbp), %ecx                ## 4-byte Reload
	leaq	-64(%rbp), %r9
	callq	_draw_htext16
	incq	%r15
	cmpq	$6, %r15
	jne	LBB0_11
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_positions,8,3                  ## @positions
	.comm	_positions_name,8,3             ## @positions_name
	.no_dead_strip	_color_graticule16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function color_graticule16
_color_graticule16:                     ; @color_graticule16
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	d9, d8, [sp, #64]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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 w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
                                        ; kill: def $w5 killed $w5 def $x5
                                        ; kill: def $w4 killed $w4 def $x4
                                        ; kill: def $w3 killed $w3 def $x3
                                        ; kill: def $w2 killed $w2 def $x2
	mov	x19, x1
	mov	x25, #0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	ldr	w8, [x0]
	sub	w8, w8, #1
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	ldr	s8, [x0, #4]
	sxtw	x8, w5
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	sxtw	x27, w2
	sxtw	x8, w3
	sxtw	x21, w4
	lsl	x26, x27, #2
	stp	x0, x8, [sp, #8]                ; 16-byte Folded Spill
	lsl	x28, x8, #2
	lsl	x20, x21, #2
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x25, x25, #8
	cmp	x25, #96
	b.eq	LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
Lloh3:
	adrp	x8, _positions@GOTPAGE
Lloh4:
	ldr	x8, [x8, _positions@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	ldr	x8, [x8, x9, lsl #3]
	ldr	x8, [x8, x25]
	ldrsw	x23, [x8, x26]
	ldr	w22, [x8, x28]
	ldr	w2, [x8, x20]
	ldr	x8, [x19, #24]
	ldr	x8, [x8, x21, lsl #3]
	ldr	x9, [x19]
	ldr	w9, [x9, x20]
	mul	w10, w9, w22
	lsl	x24, x23, #1
	add	x8, x8, x24
	add	x0, x8, w10, sxtw
	cmp	w9, #0
	cinc	w8, w9, lt
	asr	w1, w8, #1
	fmov	s0, s8
	bl	_draw_dots16
	ldr	x8, [x19, #24]
	ldr	x8, [x8, x27, lsl #3]
	ldr	x9, [x19]
	ldr	w9, [x9, x26]
	mul	w10, w9, w22
	add	x8, x8, x24
	add	x0, x8, w10, sxtw
	cmp	w9, #0
	cinc	w8, w9, lt
	asr	w1, w8, #1
	mov	x2, x23
	fmov	s0, s8
	bl	_draw_dots16
	ldr	x8, [x19, #24]
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	ldr	x8, [x8, x9, lsl #3]
	ldr	x9, [x19]
	ldr	w9, [x9, x28]
	mul	w10, w9, w22
	add	x8, x8, x24
	add	x0, x8, w10, sxtw
	cmp	w9, #0
	cinc	w8, w9, lt
	asr	w1, w8, #1
	mov	x2, x22
	fmov	s0, s8
	bl	_draw_dots16
	ldr	x8, [x19, #24]
	ldr	x8, [x8, #24]
	cbz	x8, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x19]
	ldr	w9, [x9, #12]
	mul	w10, w9, w22
	add	x8, x8, x24
	add	x0, x8, w10, sxtw
	cmp	w9, #0
	cinc	w8, w9, lt
	asr	w1, w8, #1
	ldr	w2, [sp, #28]                   ; 4-byte Folded Reload
	fmov	s0, s8
	bl	_draw_dots16
	b	LBB0_1
LBB0_4:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldrb	w8, [x8, #8]
	tbz	w8, #0, LBB0_7
; %bb.5:
Lloh6:
	adrp	x8, _positions@GOTPAGE
Lloh7:
	ldr	x8, [x8, _positions@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	ldr	x8, [x8, x9, lsl #3]
	ldr	x8, [x8, #96]
	ldrsw	x23, [x8, x26]
	ldr	w22, [x8, x28]
	ldr	w2, [x8, x20]
	ldr	x8, [x19, #24]
	ldr	x8, [x8, x21, lsl #3]
	ldr	x9, [x19]
	ldr	w9, [x9, x20]
	mul	w10, w9, w22
	lsl	x24, x23, #1
	add	x8, x8, x24
	add	x0, x8, w10, sxtw
	cmp	w9, #0
	cinc	w8, w9, lt
	asr	w1, w8, #1
	fmov	s0, s8
	bl	_draw_dots16
	ldr	x8, [x19, #24]
	ldr	x8, [x8, x27, lsl #3]
	ldr	x9, [x19]
	ldr	w9, [x9, x26]
	mul	w10, w9, w22
	add	x8, x8, x24
	add	x0, x8, w10, sxtw
	cmp	w9, #0
	cinc	w8, w9, lt
	asr	w1, w8, #1
	mov	x2, x23
	fmov	s0, s8
	bl	_draw_dots16
	ldr	x8, [x19, #24]
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	ldr	x8, [x8, x9, lsl #3]
	ldr	x9, [x19]
	ldr	w9, [x9, x28]
	mul	w10, w9, w22
	add	x8, x8, x24
	add	x0, x8, w10, sxtw
	cmp	w9, #0
	cinc	w8, w9, lt
	asr	w1, w8, #1
	mov	x2, x22
	fmov	s0, s8
	bl	_draw_dots16
	ldr	x8, [x19, #24]
	ldr	x8, [x8, #24]
	cbz	x8, LBB0_7
; %bb.6:
	ldr	x9, [x19]
	ldr	w9, [x9, #12]
	mul	w10, w9, w22
	add	x8, x8, x24
	add	x0, x8, w10, sxtw
	cmp	w9, #0
	cinc	w8, w9, lt
	asr	w1, w8, #1
	ldr	w2, [sp, #28]                   ; 4-byte Folded Reload
	fmov	s0, s8
	bl	_draw_dots16
LBB0_7:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldrb	w8, [x8, #8]
	tbz	w8, #1, LBB0_10
; %bb.8:
Lloh9:
	adrp	x8, _positions@GOTPAGE
Lloh10:
	ldr	x8, [x8, _positions@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	ldr	x8, [x8, x9, lsl #3]
	ldr	x8, [x8, #104]
	ldrsw	x23, [x8, x26]
	ldr	w22, [x8, x28]
	ldr	w2, [x8, x20]
	ldr	x8, [x19, #24]
	ldr	x8, [x8, x21, lsl #3]
	ldr	x9, [x19]
	ldr	w9, [x9, x20]
	mul	w10, w9, w22
	lsl	x21, x23, #1
	add	x8, x8, x21
	add	x0, x8, w10, sxtw
	cmp	w9, #0
	cinc	w8, w9, lt
	asr	w1, w8, #1
	fmov	s0, s8
	bl	_draw_dots16
	ldr	x8, [x19, #24]
	ldr	x8, [x8, x27, lsl #3]
	ldr	x9, [x19]
	ldr	w9, [x9, x26]
	mul	w10, w9, w22
	add	x8, x8, x21
	add	x0, x8, w10, sxtw
	cmp	w9, #0
	cinc	w8, w9, lt
	asr	w1, w8, #1
	mov	x2, x23
	fmov	s0, s8
	bl	_draw_dots16
	ldr	x8, [x19, #24]
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	ldr	x8, [x8, x9, lsl #3]
	ldr	x9, [x19]
	ldr	w9, [x9, x28]
	mul	w10, w9, w22
	add	x8, x8, x21
	add	x0, x8, w10, sxtw
	cmp	w9, #0
	cinc	w8, w9, lt
	asr	w1, w8, #1
	mov	x2, x22
	fmov	s0, s8
	bl	_draw_dots16
	ldr	x8, [x19, #24]
	ldr	x8, [x8, #24]
	cbz	x8, LBB0_10
; %bb.9:
	ldr	x9, [x19]
	ldr	w9, [x9, #12]
	mul	w10, w9, w22
	add	x8, x8, x21
	add	x0, x8, w10, sxtw
	cmp	w9, #0
	cinc	w8, w9, lt
	asr	w1, w8, #1
	ldr	w2, [sp, #28]                   ; 4-byte Folded Reload
	fmov	s0, s8
	bl	_draw_dots16
LBB0_10:
	mov	x21, #0
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cmp	w8, #0
	cinc	w8, w8, lt
	fcvt	d0, s8
	fmov	d1, #1.00000000
	fsub	d0, d1, d0
	fcvtzs	w9, d0
	str	w9, [sp, #16]                   ; 4-byte Folded Spill
	asr	w25, w8, #1
	add	x27, sp, #40
	mov	w22, #8
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldrb	w8, [x8, #8]
	tbz	w8, #2, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	stp	xzr, xzr, [sp, #40]
Lloh12:
	adrp	x8, _positions@GOTPAGE
Lloh13:
	ldr	x8, [x8, _positions@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	ldr	x8, [x8, x9, lsl #3]
	ldr	x8, [x8, x21, lsl #3]
	ldr	w9, [x8, x26]
	ldr	w10, [x8, x28]
	ldr	w8, [x8, x20]
	str	w8, [x27, x20]
	str	w9, [x27, x26]
	str	w10, [x27, x28]
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	str	w8, [sp, #52]
	cmp	w9, w25
	mov	w11, #-14
	csel	w8, w22, w11, gt
	add	w0, w8, w9
	cmp	w10, w25
	csel	w8, w22, w11, gt
	add	w23, w8, w10
	ldr	x8, [x19, #16]
	sub	x2, x8, #9
	mov	w1, #0
	bl	_av_clip
	mov	x24, x0
	ldr	x8, [x19, #8]
	sub	x2, x8, #9
	mov	x0, x23
	mov	w1, #0
	bl	_av_clip
	mov	x2, x0
Lloh15:
	adrp	x8, _positions_name@GOTPAGE
Lloh16:
	ldr	x8, [x8, _positions_name@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldr	w4, [x8, x21, lsl #2]
	add	x5, sp, #40
	mov	x0, x19
	mov	x1, x24
	fmov	s0, s8
	ldr	w3, [sp, #16]                   ; 4-byte Folded Reload
	bl	_draw_htext16
	add	x21, x21, #1
	cmp	x21, #6
	b.ne	LBB0_11
LBB0_13:
	ldr	x8, [sp, #56]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #64]               ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_positions,8,3                  ; @positions
	.comm	_positions_name,8,3             ; @positions_name
	.no_dead_strip	_color_graticule16
.subsections_via_symbols
