	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function WriteVerticalLine
_WriteVerticalLine:                     ## @WriteVerticalLine
	.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	$136, %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)
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$11, %eax
	ja	LBB0_7
## %bb.1:
	movq	%r8, %r12
	movl	%ecx, %r13d
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, -128(%rbp)                ## 8-byte Spill
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	imull	20(%rax), %r14d
	addl	%r15d, %r14d
	movl	16(%rax), %edx
	imull	%edx, %r14d
	movslq	%r14d, %rdi
	shlq	$2, %rdi
	addq	8(%rax), %rdi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_98
## %bb.3:
	imull	%r13d, %edx
	movq	%r12, %rsi
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memmove                        ## TAILCALL
LBB0_4:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	16(%rax), %eax
	imull	%eax, %r13d
	testl	%r13d, %r13d
	jle	LBB0_7
## %bb.5:
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	imull	20(%rcx), %r14d
	addl	%r15d, %r14d
	imull	%eax, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	callq	_VGLSetSegment
	movl	%eax, %ebx
	movq	_VGLAdpInfo@GOTPCREL(%rip), %rax
	movl	4(%rax), %edi
	subl	%ebx, %edi
	movl	%r13d, %esi
	callq	_min
	movl	%r14d, %r15d
	movl	%eax, %r14d
	movslq	%ebx, %rdi
	shlq	$2, %rdi
	movq	-128(%rbp), %rax                ## 8-byte Reload
	addq	8(%rax), %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_memmove
	movslq	%r14d, %rax
	movl	%r15d, %r14d
	leaq	(%r12,%rax,4), %r12
	addl	%eax, %r14d
	subl	%eax, %r13d
	jg	LBB0_6
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_98
## %bb.8:
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	%r15d, %esi
	andl	$7, %esi
	leal	(%r15,%r13), %edx
	movl	%esi, %eax
	addl	%r13d, %eax
	leal	7(%rsi,%r13), %ecx
	cmovnsl	%eax, %ecx
	sarl	$3, %ecx
	xorl	%edi, %edi
	andl	$7, %edx
	movl	%edx, -136(%rbp)                ## 4-byte Spill
	setne	%dil
	addl	%ecx, %edi
	movq	_VGLBuf@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	movq	%r10, -80(%rbp)
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movslq	%edi, %rax
	leaq	(%r10,%rax,4), %r11
	movq	%r11, -72(%rbp)
	leaq	(%r11,%rax,4), %r9
	movq	%r9, -64(%rbp)
	leaq	(%r9,%rax,4), %r8
	movq	%r8, -56(%rbp)
	testl	%r13d, %r13d
	movl	%r14d, -144(%rbp)               ## 4-byte Spill
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	jle	LBB0_25
## %bb.10:
	movq	_color2bit@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	%r13d, %r14d
	movl	$8, %edx
	subl	%esi, %edx
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_13 Depth=1
	xorl	%ebx, %ebx
LBB0_12:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, (%r10,%rdi,4)
	movl	%ebx, %eax
	shrl	$8, %eax
	movl	%eax, (%r11,%rdi,4)
	movl	%ebx, %eax
	shrl	$16, %eax
	movl	%eax, (%r9,%rdi,4)
	movl	%ebx, %eax
	shrl	$24, %eax
	movl	%eax, (%r8,%rdi,4)
	incq	%rdi
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	addq	$8, %rdx
	cmpl	%r13d, %esi
	jge	LBB0_19
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_16 Depth 2
	movslq	%esi, %rdi
	cmpq	%rdi, %rdx
	jle	LBB0_11
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpl	%r13d, %esi
	jge	LBB0_11
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	incq	%rdi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	addl	%ebx, %ebx
	movl	-4(%r12,%rdi,4), %eax
	andl	$15, %eax
	orl	(%rcx,%rax,4), %ebx
	incl	%esi
	cmpq	%rdx, %rdi
	jge	LBB0_12
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=2
	leaq	1(%rdi), %rax
	cmpq	%r14, %rdi
	movq	%rax, %rdi
	jl	LBB0_16
	jmp	LBB0_12
LBB0_19:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	decl	%eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	-144(%rbp), %r14d               ## 4-byte Reload
	jmp	LBB0_26
LBB0_20:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rcx
	movq	_VGLAdpInfo@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movslq	%r14d, %rdx
	imulq	%rax, %rdx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	leaq	(%rcx,%rdx,4), %rax
	leal	3(%r15), %ebx
	testl	%r15d, %r15d
	cmovnsl	%r15d, %ebx
	movl	%ebx, %ecx
	sarl	$2, %ecx
	movslq	%ecx, %rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%rcx,4), %r14
	movslq	%r13d, %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movl	$964, %edi                      ## imm = 0x3C4
	movl	$2, %esi
	callq	_outb
	andl	$-4, %ebx
	movq	%r15, -128(%rbp)                ## 8-byte Spill
                                        ## kill: def $r15d killed $r15d killed $r15
	subl	%ebx, %r15d
	movl	$1, %ebx
	movl	$1, %esi
	movl	%r15d, %ecx
	shll	%cl, %esi
	movl	$965, %edi                      ## imm = 0x3C5
	callq	_outb
	movq	-136(%rbp), %rax                ## 8-byte Reload
	testl	%eax, %eax
	jle	LBB0_52
## %bb.21:
	leaq	-1(%rax), %rcx
	movq	%rcx, %rax
	shrq	$2, %rax
	cmpq	$32, %rcx
	jb	LBB0_24
## %bb.22:
	movabsq	$4611686018427387900, %rdx      ## imm = 0x3FFFFFFFFFFFFFFC
	andq	%rdx, %rcx
	leaq	(%r12,%rcx,4), %rcx
	addq	$4, %rcx
	cmpq	%rcx, %r14
	jae	LBB0_45
## %bb.23:
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	addq	%rax, %rcx
	addq	-112(%rbp), %rcx                ## 8-byte Folded Reload
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	leaq	(%rdx,%rcx,4), %rcx
	addq	$4, %rcx
	cmpq	%r12, %rcx
	jbe	LBB0_45
LBB0_24:
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	jmp	LBB0_47
LBB0_25:
	xorl	%ebx, %ebx
	movl	$-1, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
LBB0_26:
	movl	-136(%rbp), %r13d               ## 4-byte Reload
	testl	%r13d, %r13d
	je	LBB0_28
## %bb.27:
	movb	$8, %cl
	subb	%r13b, %cl
	shll	%cl, %ebx
	movslq	-88(%rbp), %rcx                 ## 4-byte Folded Reload
	movl	%ebx, (%r10,%rcx,4)
	movl	%ebx, %eax
	shrl	$8, %eax
	movl	%eax, (%r11,%rcx,4)
	movl	%ebx, %eax
	shrl	$16, %eax
	movl	%eax, (%r9,%rcx,4)
	shrl	$24, %ebx
	movq	%rcx, -152(%rbp)                ## 8-byte Spill
	movl	%ebx, (%r8,%rcx,4)
	jmp	LBB0_29
LBB0_28:
	movslq	-88(%rbp), %rax                 ## 4-byte Folded Reload
	movq	%rax, -152(%rbp)                ## 8-byte Spill
LBB0_29:
	movl	$974, %edi                      ## imm = 0x3CE
	movl	$1, %esi
	callq	_outb
	movl	$975, %edi                      ## imm = 0x3CF
	xorl	%esi, %esi
	callq	_outb
	movl	$974, %edi                      ## imm = 0x3CE
	movl	$8, %esi
	callq	_outb
	movl	$975, %edi                      ## imm = 0x3CF
	movl	$255, %esi
	callq	_outb
	leal	7(%r15), %eax
	testl	%r15d, %r15d
	cmovnsl	%r15d, %eax
	xorl	%r15d, %r15d
	sarl	$3, %eax
	movl	%eax, -156(%rbp)                ## 4-byte Spill
	movl	%r13d, %eax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	movl	-120(%rbp), %eax                ## 4-byte Reload
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movq	_VGLAdpInfo@GOTPCREL(%rip), %rbx
	movq	-128(%rbp), %r12                ## 8-byte Reload
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_33 Depth=1
	movq	8(%r12), %rax
	movslq	%ebx, %rcx
	movq	_mask@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	-168(%rbp), %rdi                ## 8-byte Reload
	movl	(%rsi,%rdi,4), %edi
	notl	%edi
	andl	(%rax,%rcx,4), %edi
	movq	-80(%rbp,%r15,8), %rsi
	orl	%edi, (%rsi)
LBB0_31:                                ##   in Loop: Header=BB0_33 Depth=1
	leaq	(%rax,%rcx,4), %rdi
	callq	_memmove
LBB0_32:                                ##   in Loop: Header=BB0_33 Depth=1
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	incq	%r15
	cmpq	$4, %r15
	movl	-144(%rbp), %r14d               ## 4-byte Reload
	movl	-136(%rbp), %r13d               ## 4-byte Reload
	movq	_VGLAdpInfo@GOTPCREL(%rip), %rbx
	je	LBB0_7
LBB0_33:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_44 Depth 2
	movl	$964, %edi                      ## imm = 0x3C4
	movl	$2, %esi
	callq	_outb
	movl	$1, %esi
	movl	%r15d, %ecx
	shll	%cl, %esi
	movl	$965, %edi                      ## imm = 0x3C5
	callq	_outb
	movl	$974, %edi                      ## imm = 0x3CE
	movl	$4, %esi
	callq	_outb
	movl	$975, %edi                      ## imm = 0x3CF
	movl	%r15d, %esi
	callq	_outb
	movl	(%rbx), %ebx
	imull	%r14d, %ebx
	addl	-156(%rbp), %ebx                ## 4-byte Folded Reload
	cmpl	$132, (%r12)
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	jne	LBB0_38
## %bb.34:                              ##   in Loop: Header=BB0_33 Depth=1
	testl	%r13d, %r13d
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	je	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	8(%r12), %rax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	addl	%ebx, %ecx
	movslq	%ecx, %rcx
	movq	_mask@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	-176(%rbp), %rdi                ## 8-byte Reload
	movl	(%rsi,%rdi,4), %esi
	andl	(%rax,%rcx,4), %esi
	movq	-80(%rbp,%r15,8), %rax
	movq	-152(%rbp), %rcx                ## 8-byte Reload
	orl	%esi, (%rax,%rcx,4)
LBB0_36:                                ##   in Loop: Header=BB0_33 Depth=1
	cmpl	$0, -120(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_30
## %bb.37:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	-80(%rbp,%r15,8), %rsi
	movq	8(%r12), %rax
	movslq	%ebx, %rcx
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_33 Depth=1
	testl	%r13d, %r13d
	je	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leal	(%rbx,%rax), %edi
	callq	_VGLSetSegment
	movq	8(%r12), %rcx
	cltq
	movq	_mask@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	-176(%rbp), %rsi                ## 8-byte Reload
	movl	(%rdx,%rsi,4), %edx
	andl	(%rcx,%rax,4), %edx
	movq	-80(%rbp,%r15,8), %rax
	movq	-152(%rbp), %rcx                ## 8-byte Reload
	orl	%edx, (%rax,%rcx,4)
LBB0_40:                                ##   in Loop: Header=BB0_33 Depth=1
	movl	%ebx, %edi
	callq	_VGLSetSegment
	cmpl	$0, -120(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_42
## %bb.41:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	8(%r12), %rcx
	movslq	%eax, %r15
	movq	_mask@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	-168(%rbp), %rsi                ## 8-byte Reload
	movl	(%rdx,%rsi,4), %edx
	notl	%edx
	andl	(%rcx,%r15,4), %edx
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	-80(%rbp,%r13,8), %rcx
	orl	%edx, (%rcx)
	jmp	LBB0_43
LBB0_42:                                ##   in Loop: Header=BB0_33 Depth=1
	movslq	%eax, %r15
	movq	-96(%rbp), %r13                 ## 8-byte Reload
LBB0_43:                                ##   in Loop: Header=BB0_33 Depth=1
	movq	_VGLAdpInfo@GOTPCREL(%rip), %rcx
	movl	4(%rcx), %edi
	subl	%eax, %edi
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movl	%r12d, %esi
	callq	_min
	movl	%eax, %r14d
	movq	-80(%rbp,%r13,8), %rsi
	shlq	$2, %r15
	movq	-128(%rbp), %r13                ## 8-byte Reload
	addq	8(%r13), %r15
	movq	%r15, %rdi
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	movq	%r14, %rdx
	callq	_memmove
	movl	%r12d, %r15d
	subl	%r14d, %r15d
	movq	%r13, %r12
	jle	LBB0_32
	.p2align	4, 0x90
LBB0_44:                                ##   Parent Loop BB0_33 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	addl	%r14d, %ebx
	movl	%ebx, %edi
	callq	_VGLSetSegment
	movq	%r12, %r13
	movl	%eax, %r12d
	movq	_VGLAdpInfo@GOTPCREL(%rip), %rax
	movl	4(%rax), %edi
	subl	%r12d, %edi
	movl	%r15d, %esi
	callq	_min
	movl	%eax, %r14d
	movq	-104(%rbp), %rax                ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	subl	%r15d, %eax
	cltq
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rsi
	movslq	%r12d, %rdi
	movq	%r13, %r12
	shlq	$2, %rdi
	addq	8(%r13), %rdi
	movq	%r14, %rdx
	callq	_memmove
	subl	%r14d, %r15d
	jg	LBB0_44
	jmp	LBB0_32
LBB0_45:
	leaq	1(%rax), %rcx
	movl	%ecx, %edx
	andl	$7, %edx
	testq	%rdx, %rdx
	movl	$8, %esi
	cmovneq	%rdx, %rsi
	subq	%rsi, %rcx
	leaq	(,%rcx,4), %rdx
	leaq	112(%r12), %rsi
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	addq	%rbx, %rdi
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	leaq	(%rbx,%rdi,4), %rdi
	addq	$16, %rdi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_46:                                ## =>This Inner Loop Header: Depth=1
	movd	-112(%rsi), %xmm0               ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, -96(%rsi), %xmm0
	pinsrd	$2, -80(%rsi), %xmm0
	pinsrd	$3, -64(%rsi), %xmm0
	movd	-48(%rsi), %xmm1                ## xmm1 = mem[0],zero,zero,zero
	pinsrd	$1, -32(%rsi), %xmm1
	pinsrd	$2, -16(%rsi), %xmm1
	pinsrd	$3, (%rsi), %xmm1
	movdqu	%xmm0, -16(%rdi,%rbx,4)
	movdqu	%xmm1, (%rdi,%rbx,4)
	addq	$8, %rbx
	subq	$-128, %rsi
	cmpq	%rbx, %rcx
	jne	LBB0_46
LBB0_47:
	movl	%eax, %edi
	subl	%ecx, %edi
	incl	%edi
	movq	%rax, %rsi
	subq	%rcx, %rsi
	andq	$3, %rdi
	je	LBB0_49
	.p2align	4, 0x90
LBB0_48:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%rdx,4), %ebx
	movl	%ebx, (%r14,%rcx,4)
	incq	%rcx
	addq	$4, %rdx
	decq	%rdi
	jne	LBB0_48
LBB0_49:
	cmpq	$3, %rsi
	movl	$1, %ebx
	jb	LBB0_52
## %bb.50:
	leaq	(%r12,%rdx,4), %rdx
	addq	$48, %rdx
	subq	%rcx, %rax
	addq	-96(%rbp), %rcx                 ## 8-byte Folded Reload
	addq	-112(%rbp), %rcx                ## 8-byte Folded Reload
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	leaq	(%rsi,%rcx,4), %rcx
	addq	$12, %rcx
	movq	$-1, %rsi
	.p2align	4, 0x90
LBB0_51:                                ## =>This Inner Loop Header: Depth=1
	movl	-48(%rdx), %edi
	movl	%edi, -8(%rcx,%rsi,4)
	movl	-32(%rdx), %edi
	movl	%edi, -4(%rcx,%rsi,4)
	movl	-16(%rdx), %edi
	movl	%edi, (%rcx,%rsi,4)
	movl	(%rdx), %edi
	movl	%edi, 4(%rcx,%rsi,4)
	addq	$64, %rdx
	addq	$4, %rsi
	cmpq	%rsi, %rax
	jne	LBB0_51
LBB0_52:
	xorl	%eax, %eax
	cmpl	$3, %r15d
	sete	%al
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%rax,4), %r14
	movl	$964, %edi                      ## imm = 0x3C4
	movl	$2, %esi
	callq	_outb
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	leal	1(%rdx), %eax
	leal	4(%rdx), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	andl	$-4, %ecx
	negl	%ecx
	leal	(%rdx,%rcx), %r15d
	incl	%r15d
	movl	%r15d, %ecx
	shll	%cl, %ebx
	movl	$965, %edi                      ## imm = 0x3C5
	movl	%ebx, %esi
	callq	_outb
	cmpl	$2, %r13d
	jl	LBB0_67
## %bb.53:
	movq	-136(%rbp), %rax                ## 8-byte Reload
	leaq	-2(%rax), %rdx
	movq	%rdx, %r9
	shrq	$2, %r9
	movl	$1, %ecx
	cmpq	$32, %rdx
	jb	LBB0_54
## %bb.55:
	movabsq	$4611686018427387900, %rsi      ## imm = 0x3FFFFFFFFFFFFFFC
	andq	%rsi, %rdx
	leaq	(%r12,%rdx,4), %rdx
	addq	$8, %rdx
	cmpq	%rdx, %r14
	jae	LBB0_58
## %bb.56:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r9,%rax), %rdx
	addq	-112(%rbp), %rdx                ## 8-byte Folded Reload
	addq	-88(%rbp), %rdx                 ## 8-byte Folded Reload
	movq	-104(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%rdx,4), %rdx
	addq	$4, %rdx
	leaq	4(%r12), %rsi
	cmpq	%rdx, %rsi
	jae	LBB0_58
LBB0_54:
	xorl	%edx, %edx
	jmp	LBB0_60
LBB0_58:
	leaq	1(%r9), %rdx
	movl	%edx, %ecx
	andl	$7, %ecx
	testq	%rcx, %rcx
	movl	$8, %esi
	cmovneq	%rcx, %rsi
	subq	%rsi, %rdx
	leaq	1(,%rdx,4), %rcx
	leaq	116(%r12), %rsi
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	addq	%rax, %rdi
	addq	-88(%rbp), %rdi                 ## 8-byte Folded Reload
	movq	-104(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%rdi,4), %rdi
	addq	$16, %rdi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_59:                                ## =>This Inner Loop Header: Depth=1
	movd	-112(%rsi), %xmm0               ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, -96(%rsi), %xmm0
	pinsrd	$2, -80(%rsi), %xmm0
	pinsrd	$3, -64(%rsi), %xmm0
	movd	-48(%rsi), %xmm1                ## xmm1 = mem[0],zero,zero,zero
	pinsrd	$1, -32(%rsi), %xmm1
	pinsrd	$2, -16(%rsi), %xmm1
	pinsrd	$3, (%rsi), %xmm1
	movdqu	%xmm0, -16(%rdi,%rbx,4)
	movdqu	%xmm1, (%rdi,%rbx,4)
	addq	$8, %rbx
	subq	$-128, %rsi
	cmpq	%rbx, %rdx
	jne	LBB0_59
LBB0_60:
	movl	%r9d, %edi
	subl	%edx, %edi
	incl	%edi
	movq	%r9, %r8
	subq	%rdx, %r8
	andq	$3, %rdi
	je	LBB0_64
## %bb.61:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rdx,%rax), %rsi
	addq	-112(%rbp), %rsi                ## 8-byte Folded Reload
	addq	-88(%rbp), %rsi                 ## 8-byte Folded Reload
	movq	-104(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%rsi,4), %rsi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_62:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%rcx,4), %eax
	movl	%eax, (%rsi,%rbx,4)
	addq	$4, %rcx
	incq	%rbx
	cmpq	%rbx, %rdi
	jne	LBB0_62
## %bb.63:
	addq	%rbx, %rdx
LBB0_64:
	cmpq	$3, %r8
	jb	LBB0_67
## %bb.65:
	leaq	(%r12,%rcx,4), %rcx
	addq	$48, %rcx
	subq	%rdx, %r9
	addq	-96(%rbp), %rdx                 ## 8-byte Folded Reload
	addq	-112(%rbp), %rdx                ## 8-byte Folded Reload
	addq	-88(%rbp), %rdx                 ## 8-byte Folded Reload
	movq	-104(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%rdx,4), %rdx
	addq	$12, %rdx
	movq	$-1, %rsi
	.p2align	4, 0x90
LBB0_66:                                ## =>This Inner Loop Header: Depth=1
	movl	-48(%rcx), %eax
	movl	%eax, -8(%rdx,%rsi,4)
	movl	-32(%rcx), %eax
	movl	%eax, -4(%rdx,%rsi,4)
	movl	-16(%rcx), %eax
	movl	%eax, (%rdx,%rsi,4)
	movl	(%rcx), %eax
	movl	%eax, 4(%rdx,%rsi,4)
	addq	$64, %rcx
	addq	$4, %rsi
	cmpq	%rsi, %r9
	jne	LBB0_66
LBB0_67:
	xorl	%eax, %eax
	cmpl	$3, %r15d
	sete	%al
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	leaq	(%r14,%rax,4), %r15
	movl	$964, %edi                      ## imm = 0x3C4
	movl	$2, %esi
	callq	_outb
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	leal	2(%rdx), %eax
	leal	5(%rdx), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	andl	$-4, %ecx
	negl	%ecx
	leal	(%rdx,%rcx), %ebx
	addl	$2, %ebx
	movl	$1, %r14d
	movl	$1, %esi
	movl	%ebx, %ecx
	shll	%cl, %esi
	movl	$965, %edi                      ## imm = 0x3C5
	callq	_outb
	movq	%r13, -144(%rbp)                ## 8-byte Spill
	cmpl	$3, %r13d
	jl	LBB0_83
## %bb.68:
	movq	-136(%rbp), %rax                ## 8-byte Reload
	leaq	-3(%rax), %rdx
	movq	%rdx, %r9
	shrq	$2, %r9
	movl	$2, %ecx
	cmpq	$32, %rdx
	jb	LBB0_69
## %bb.70:
	shlq	$2, %rdx
	orq	$12, %rdx
	addq	%r12, %rdx
	cmpq	%rdx, %r15
	jae	LBB0_73
## %bb.71:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r9,%rax), %rdx
	addq	-112(%rbp), %rdx                ## 8-byte Folded Reload
	addq	-120(%rbp), %rdx                ## 8-byte Folded Reload
	addq	-88(%rbp), %rdx                 ## 8-byte Folded Reload
	movq	-104(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%rdx,4), %rdx
	addq	$4, %rdx
	leaq	8(%r12), %rsi
	cmpq	%rdx, %rsi
	jae	LBB0_73
LBB0_69:
	xorl	%edx, %edx
	jmp	LBB0_76
LBB0_73:
	movl	%ebx, %r8d
	leaq	1(%r9), %rdx
	movl	%edx, %ecx
	andl	$7, %ecx
	testq	%rcx, %rcx
	movl	$8, %esi
	cmovneq	%rcx, %rsi
	subq	%rsi, %rdx
	leaq	2(,%rdx,4), %rcx
	leaq	120(%r12), %rsi
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	addq	%rax, %rdi
	addq	-88(%rbp), %rdi                 ## 8-byte Folded Reload
	addq	-120(%rbp), %rdi                ## 8-byte Folded Reload
	movq	-104(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%rdi,4), %rdi
	addq	$16, %rdi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_74:                                ## =>This Inner Loop Header: Depth=1
	movd	-112(%rsi), %xmm0               ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, -96(%rsi), %xmm0
	pinsrd	$2, -80(%rsi), %xmm0
	pinsrd	$3, -64(%rsi), %xmm0
	movd	-48(%rsi), %xmm1                ## xmm1 = mem[0],zero,zero,zero
	pinsrd	$1, -32(%rsi), %xmm1
	pinsrd	$2, -16(%rsi), %xmm1
	pinsrd	$3, (%rsi), %xmm1
	movdqu	%xmm0, -16(%rdi,%rbx,4)
	movdqu	%xmm1, (%rdi,%rbx,4)
	addq	$8, %rbx
	subq	$-128, %rsi
	cmpq	%rbx, %rdx
	jne	LBB0_74
## %bb.75:
	movl	%r8d, %ebx
LBB0_76:
	movl	%r9d, %edi
	subl	%edx, %edi
	incl	%edi
	movq	%r9, %r8
	subq	%rdx, %r8
	andq	$3, %rdi
	je	LBB0_80
## %bb.77:
	movl	%ebx, %r10d
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rdx,%rax), %rsi
	addq	-112(%rbp), %rsi                ## 8-byte Folded Reload
	addq	-88(%rbp), %rsi                 ## 8-byte Folded Reload
	addq	-120(%rbp), %rsi                ## 8-byte Folded Reload
	movq	-104(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%rsi,4), %rsi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_78:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%rcx,4), %eax
	movl	%eax, (%rsi,%rbx,4)
	addq	$4, %rcx
	incq	%rbx
	cmpq	%rbx, %rdi
	jne	LBB0_78
## %bb.79:
	addq	%rbx, %rdx
	movl	%r10d, %ebx
LBB0_80:
	cmpq	$3, %r8
	jb	LBB0_83
## %bb.81:
	leaq	(%r12,%rcx,4), %rcx
	addq	$48, %rcx
	subq	%rdx, %r9
	addq	-96(%rbp), %rdx                 ## 8-byte Folded Reload
	addq	-112(%rbp), %rdx                ## 8-byte Folded Reload
	addq	-88(%rbp), %rdx                 ## 8-byte Folded Reload
	addq	-120(%rbp), %rdx                ## 8-byte Folded Reload
	movq	-104(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%rdx,4), %rdx
	addq	$12, %rdx
	movq	$-1, %rsi
	.p2align	4, 0x90
LBB0_82:                                ## =>This Inner Loop Header: Depth=1
	movl	-48(%rcx), %eax
	movl	%eax, -8(%rdx,%rsi,4)
	movl	-32(%rcx), %eax
	movl	%eax, -4(%rdx,%rsi,4)
	movl	-16(%rcx), %eax
	movl	%eax, (%rdx,%rsi,4)
	movl	(%rcx), %eax
	movl	%eax, 4(%rdx,%rsi,4)
	addq	$64, %rcx
	addq	$4, %rsi
	cmpq	%rsi, %r9
	jne	LBB0_82
LBB0_83:
	xorl	%r13d, %r13d
	cmpl	$3, %ebx
	sete	%bl
	movl	$964, %edi                      ## imm = 0x3C4
	movl	$2, %esi
	callq	_outb
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	decb	%cl
	andb	$3, %cl
                                        ## kill: def $cl killed $cl killed $rcx
	shll	%cl, %r14d
	movl	$965, %edi                      ## imm = 0x3C5
	movl	%r14d, %esi
	callq	_outb
	cmpl	$4, -144(%rbp)                  ## 4-byte Folded Reload
	jl	LBB0_7
## %bb.84:
	movb	%bl, %r13b
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	leaq	-4(%rdi), %rdx
	movq	%rdx, %rax
	shrq	$2, %rax
	movl	$3, %ecx
	cmpq	$32, %rdx
	jb	LBB0_85
## %bb.86:
	leaq	(%r15,%r13,4), %rdx
	movabsq	$4611686018427387900, %rsi      ## imm = 0x3FFFFFFFFFFFFFFC
	andq	%rsi, %rdi
	leaq	(%r12,%rdi,4), %rsi
	cmpq	%rsi, %rdx
	jae	LBB0_89
## %bb.87:
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	addq	%rax, %rdx
	addq	-112(%rbp), %rdx                ## 8-byte Folded Reload
	addq	%r13, %rdx
	addq	-120(%rbp), %rdx                ## 8-byte Folded Reload
	addq	-88(%rbp), %rdx                 ## 8-byte Folded Reload
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	leaq	(%rsi,%rdx,4), %rdx
	addq	$4, %rdx
	leaq	12(%r12), %rsi
	cmpq	%rdx, %rsi
	jae	LBB0_89
LBB0_85:
	xorl	%r9d, %r9d
	jmp	LBB0_91
LBB0_89:
	leaq	1(%rax), %r9
	movl	%r9d, %ecx
	andl	$7, %ecx
	testq	%rcx, %rcx
	movl	$8, %esi
	cmovneq	%rcx, %rsi
	subq	%rsi, %r9
	leaq	3(,%r9,4), %rcx
	leaq	124(%r12), %rsi
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	addq	%rdx, %rdi
	addq	-88(%rbp), %rdi                 ## 8-byte Folded Reload
	addq	%r13, %rdi
	addq	-120(%rbp), %rdi                ## 8-byte Folded Reload
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	leaq	(%rdx,%rdi,4), %rdi
	addq	$16, %rdi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_90:                                ## =>This Inner Loop Header: Depth=1
	movd	-112(%rsi), %xmm0               ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, -96(%rsi), %xmm0
	pinsrd	$2, -80(%rsi), %xmm0
	pinsrd	$3, -64(%rsi), %xmm0
	movd	-48(%rsi), %xmm1                ## xmm1 = mem[0],zero,zero,zero
	pinsrd	$1, -32(%rsi), %xmm1
	pinsrd	$2, -16(%rsi), %xmm1
	pinsrd	$3, (%rsi), %xmm1
	movdqu	%xmm0, -16(%rdi,%rbx,4)
	movdqu	%xmm1, (%rdi,%rbx,4)
	addq	$8, %rbx
	subq	$-128, %rsi
	cmpq	%rbx, %r9
	jne	LBB0_90
LBB0_91:
	movl	%eax, %edi
	subl	%r9d, %edi
	incl	%edi
	movq	%rax, %r8
	subq	%r9, %r8
	andq	$3, %rdi
	je	LBB0_95
## %bb.92:
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%r9,%rdx), %rsi
	addq	-112(%rbp), %rsi                ## 8-byte Folded Reload
	addq	-88(%rbp), %rsi                 ## 8-byte Folded Reload
	addq	%r13, %rsi
	addq	-120(%rbp), %rsi                ## 8-byte Folded Reload
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	leaq	(%rdx,%rsi,4), %rsi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_93:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%rcx,4), %edx
	movl	%edx, (%rsi,%rbx,4)
	addq	$4, %rcx
	incq	%rbx
	cmpq	%rbx, %rdi
	jne	LBB0_93
## %bb.94:
	addq	%rbx, %r9
LBB0_95:
	cmpq	$3, %r8
	jb	LBB0_7
## %bb.96:
	leaq	(%r12,%rcx,4), %rcx
	addq	$48, %rcx
	subq	%r9, %rax
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	addq	%r9, %rsi
	addq	-112(%rbp), %rsi                ## 8-byte Folded Reload
	addq	-88(%rbp), %rsi                 ## 8-byte Folded Reload
	addq	%r13, %rsi
	addq	-120(%rbp), %rsi                ## 8-byte Folded Reload
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	leaq	(%rdx,%rsi,4), %rdx
	addq	$12, %rdx
	movq	$-1, %rsi
	.p2align	4, 0x90
LBB0_97:                                ## =>This Inner Loop Header: Depth=1
	movl	-48(%rcx), %edi
	movl	%edi, -8(%rdx,%rsi,4)
	movl	-32(%rcx), %edi
	movl	%edi, -4(%rdx,%rsi,4)
	movl	-16(%rcx), %edi
	movl	%edi, (%rdx,%rsi,4)
	movl	(%rcx), %edi
	movl	%edi, 4(%rdx,%rsi,4)
	addq	$64, %rcx
	addq	$4, %rsi
	cmpq	%rsi, %rax
	jne	LBB0_97
	jmp	LBB0_7
LBB0_98:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_20
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_VGLBuf,8,3                     ## @VGLBuf
	.comm	_color2bit,8,3                  ## @color2bit
	.comm	_VGLAdpInfo,8,2                 ## @VGLAdpInfo
	.comm	_mask,8,3                       ## @mask
	.no_dead_strip	_WriteVerticalLine
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function WriteVerticalLine
_WriteVerticalLine:                     ; @WriteVerticalLine
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	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
	str	x2, [sp, #32]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #11
	b.hi	LBB0_7
; %bb.1:
	mov	x19, x4
	mov	x21, x3
	mov	x20, x1
	mov	x22, x0
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	x8, [x22, #8]
	ldp	w9, w10, [x22, #16]
	ldr	x11, [sp, #72]
Lloh5:
	adrp	x12, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x12, [x12, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x12, [x12]
	cmp	x12, x11
	b.ne	LBB0_71
; %bb.3:
	ldr	x11, [sp, #32]                  ; 8-byte Folded Reload
	madd	w10, w10, w11, w20
	mul	w10, w10, w9
	add	x0, x8, w10, sxtw #2
	mul	w2, w9, w21
	mov	x1, x19
	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
	add	sp, sp, #176
	b	_memmove
LBB0_4:
	ldr	w8, [x22, #16]
	mul	w21, w8, w21
	cmp	w21, #1
	b.lt	LBB0_7
; %bb.5:
	ldr	w9, [x22, #20]
	ldr	x10, [sp, #32]                  ; 8-byte Folded Reload
	madd	w9, w9, w10, w20
	mul	w20, w9, w8
Lloh8:
	adrp	x25, _VGLAdpInfo@GOTPAGE
Lloh9:
	ldr	x25, [x25, _VGLAdpInfo@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_VGLSetSegment
	mov	x23, x0
	ldr	w8, [x25, #4]
	sub	w0, w8, w0
	mov	x1, x21
	bl	_min
	mov	x24, x0
	ldr	x8, [x22, #8]
	add	x0, x8, w23, sxtw #2
	mov	x1, x19
	mov	x2, x24
	bl	_memmove
	add	x19, x19, w24, sxtw #2
	add	w20, w24, w20
	sub	w21, w21, w24
	cmp	w21, #0
	b.gt	LBB0_6
LBB0_7:
	ldr	x8, [sp, #72]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_71
; %bb.8:
	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
	add	sp, sp, #176
	ret
LBB0_9:
	and	w26, w20, #0x7
	add	w8, w21, w20
	add	w9, w26, w21
	add	w10, w9, #7
	cmp	w9, #0
	csel	w9, w10, w9, lt
	ands	w25, w8, #0x7
	asr	w8, w9, #3
Lloh13:
	adrp	x9, _VGLBuf@GOTPAGE
Lloh14:
	ldr	x9, [x9, _VGLBuf@GOTPAGEOFF]
	cinc	w24, w8, ne
Lloh15:
	ldr	x8, [x9]
	mov	x9, x24
	sbfiz	x11, x9, #2, #32
	add	x9, x8, x11
	add	x10, x9, x11
	stp	x8, x9, [sp, #40]
	add	x11, x10, x11
	stp	x10, x11, [sp, #56]
	cmp	w21, #1
	b.lt	LBB0_22
; %bb.10:
	mov	x12, #0
	mov	w16, #0
Lloh16:
	adrp	x13, _color2bit@GOTPAGE
Lloh17:
	ldr	x13, [x13, _color2bit@GOTPAGEOFF]
Lloh18:
	ldr	x13, [x13]
	mov	w14, w21
	mov	w15, #8
	sub	w15, w15, w26
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	lsl	x0, x12, #2
	str	w17, [x8, x0]
	lsr	w1, w17, #8
	str	w1, [x9, x0]
	lsr	w1, w17, #16
	str	w1, [x10, x0]
	add	x12, x12, #1
	add	x15, x15, #8
	lsr	w1, w17, #24
	str	w1, [x11, x0]
	cmp	w16, w21
	b.ge	LBB0_15
LBB0_12:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	mov	x17, x16
	sxtw	x0, w17
	cmp	x15, x0
	mov	w17, #0
	ccmp	w16, w21, #0, gt
	b.ge	LBB0_11
LBB0_13:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w1, [x19, x0, lsl #2]
	add	x16, x0, #1
	and	x0, x1, #0xf
	ldr	w0, [x13, x0, lsl #2]
	orr	w17, w0, w17, lsl #1
	cmp	x16, x15
	b.ge	LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	mov	x0, x16
	cmp	x16, x14
	b.lt	LBB0_13
	b	LBB0_11
LBB0_15:
	sub	w12, w12, #1
	str	x12, [sp]                       ; 8-byte Folded Spill
	cbz	w25, LBB0_23
LBB0_16:
	mov	w12, #8
	sub	w12, w12, w25
	lsl	w12, w17, w12
	ldr	x13, [sp]                       ; 8-byte Folded Reload
                                        ; kill: def $w13 killed $w13 killed $x13 def $x13
	sxtw	x21, w13
	sbfiz	x13, x13, #2, #32
	str	w12, [x8, x13]
	lsr	w8, w12, #8
	str	w8, [x9, x13]
	lsr	w8, w12, #16
	str	w8, [x10, x13]
	lsr	w8, w12, #24
	str	w8, [x11, x13]
	b	LBB0_24
LBB0_17:
Lloh19:
	adrp	x8, _VGLAdpInfo@GOTPAGE
Lloh20:
	ldr	x8, [x8, _VGLAdpInfo@GOTPAGEOFF]
	ldr	x22, [x22, #8]
Lloh21:
	ldrsw	x8, [x8]
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	sxtw	x9, w9
	mul	x23, x8, x9
	add	x8, x22, x23, lsl #2
	add	w9, w20, #3
	cmp	w20, #0
	csel	w25, w9, w20, lt
	asr	w9, w25, #2
	sbfx	x24, x25, #2, #30
	add	x27, x8, w9, sxtw #2
	sxtw	x28, w21
	mov	w0, #964
	mov	w1, #2
	bl	_outb
	and	w8, w25, #0xfffffffc
	sub	w26, w20, w8
	mov	w25, #1
	lsl	w1, w25, w26
	mov	w0, #965
	bl	_outb
	cmp	w21, #1
	b.lt	LBB0_44
; %bb.18:
	sub	x9, x28, #1
	lsr	x8, x9, #2
	cmp	x9, #64
	b.lo	LBB0_41
; %bb.19:
	add	x10, x8, x24
	add	x10, x10, x23
	add	x10, x22, x10, lsl #2
	add	x10, x10, #4
	and	x9, x9, #0x3ffffffffffffffc
	add	x9, x19, x9, lsl #2
	add	x9, x9, #4
	cmp	x27, x9
	ccmp	x10, x19, #0, lo
	b.hi	LBB0_41
; %bb.20:
	add	x9, x8, #1
	ands	x10, x9, #0xf
	mov	w11, #16
	csel	x10, x11, x10, eq
	sub	x9, x9, x10
	lsl	x10, x9, #2
	add	x11, x24, x23
	add	x11, x22, x11, lsl #2
	add	x11, x11, #32
	add	x12, x19, #128
	mov	x13, x9
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	sub	x14, x12, #128
	sub	x15, x12, #64
	ld4.4s	{ v0, v1, v2, v3 }, [x14]
	ld4.4s	{ v4, v5, v6, v7 }, [x15]
	mov	x14, x12
	ld4.4s	{ v16, v17, v18, v19 }, [x14], #64
	ld4.4s	{ v20, v21, v22, v23 }, [x14]
	stp	q0, q4, [x11, #-32]
	stp	q16, q20, [x11], #64
	add	x12, x12, #256
	subs	x13, x13, #16
	b.ne	LBB0_21
	b	LBB0_42
LBB0_22:
	mov	w17, #0
	mov	w12, #-1
	str	x12, [sp]                       ; 8-byte Folded Spill
	cbnz	w25, LBB0_16
LBB0_23:
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	sxtw	x21, w8
LBB0_24:
	mov	w0, #974
	mov	w1, #1
	bl	_outb
	mov	w0, #975
	mov	w1, #0
	bl	_outb
	mov	w0, #974
	mov	w1, #8
	bl	_outb
	mov	w0, #975
	mov	w1, #255
	bl	_outb
	mov	x19, #0
	add	w8, w20, #7
	cmp	w20, #0
	csel	w8, w8, w20, lt
	asr	w8, w8, #3
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
Lloh22:
	adrp	x23, _VGLAdpInfo@GOTPAGE
Lloh23:
	ldr	x23, [x23, _VGLAdpInfo@GOTPAGEOFF]
	add	x27, sp, #40
	lsl	x28, x21, #2
	stp	x25, x26, [sp, #16]             ; 16-byte Folded Spill
	b	LBB0_28
LBB0_25:                                ;   in Loop: Header=BB0_28 Depth=1
	ldr	x8, [x22, #8]
	mov	x9, x20
	sxtw	x9, w9
	ldr	w10, [x8, w20, sxtw #2]
Lloh24:
	adrp	x11, _mask@GOTPAGE
Lloh25:
	ldr	x11, [x11, _mask@GOTPAGEOFF]
Lloh26:
	ldr	x11, [x11]
	ldr	w11, [x11, x26, lsl #2]
	bic	w10, w10, w11
	ldr	x1, [x27, x19, lsl #3]
	ldr	w11, [x1]
	orr	w10, w11, w10
	str	w10, [x1]
LBB0_26:                                ;   in Loop: Header=BB0_28 Depth=1
	add	x0, x8, x9, lsl #2
	mov	x2, x24
	bl	_memmove
LBB0_27:                                ;   in Loop: Header=BB0_28 Depth=1
	add	x19, x19, #1
	cmp	x19, #4
	ldp	x25, x26, [sp, #16]             ; 16-byte Folded Reload
	add	x27, sp, #40
	b.eq	LBB0_7
LBB0_28:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_40 Depth 2
	mov	w0, #964
	mov	w1, #2
	bl	_outb
	mov	w8, #1
	lsl	w1, w8, w19
	mov	w0, #965
	bl	_outb
	mov	w0, #974
	mov	w1, #4
	bl	_outb
	mov	w0, #975
	mov	x1, x19
	bl	_outb
	ldr	w8, [x23]
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w10, [sp, #12]                  ; 4-byte Folded Reload
	madd	w20, w8, w9, w10
	ldr	w8, [x22]
	cmp	w8, #132
	b.ne	LBB0_33
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	cbz	w25, LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	x8, [x22, #8]
	ldr	x9, [sp]                        ; 8-byte Folded Reload
	add	w9, w20, w9
	ldr	w8, [x8, w9, sxtw #2]
Lloh27:
	adrp	x9, _mask@GOTPAGE
Lloh28:
	ldr	x9, [x9, _mask@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	ldr	w9, [x9, x25, lsl #2]
	ldr	x10, [x27, x19, lsl #3]
	and	w8, w9, w8
	ldr	w9, [x10, x28]
	orr	w8, w9, w8
	str	w8, [x10, x28]
LBB0_31:                                ;   in Loop: Header=BB0_28 Depth=1
	cbnz	w26, LBB0_25
; %bb.32:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	x1, [x27, x19, lsl #3]
	ldr	x8, [x22, #8]
	sxtw	x9, w20
	b	LBB0_26
LBB0_33:                                ;   in Loop: Header=BB0_28 Depth=1
	cbz	w25, LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	add	w0, w20, w8
	bl	_VGLSetSegment
	ldr	x8, [x22, #8]
	ldr	w8, [x8, w0, sxtw #2]
Lloh30:
	adrp	x9, _mask@GOTPAGE
Lloh31:
	ldr	x9, [x9, _mask@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	ldr	w9, [x9, x25, lsl #2]
	ldr	x10, [x27, x19, lsl #3]
	and	w8, w9, w8
	ldr	w9, [x10, x28]
	orr	w8, w9, w8
	str	w8, [x10, x28]
LBB0_35:                                ;   in Loop: Header=BB0_28 Depth=1
	mov	x0, x20
	bl	_VGLSetSegment
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w26, LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	x8, [x22, #8]
	mov	x9, x0
	sxtw	x25, w9
	ldr	w8, [x8, w0, sxtw #2]
Lloh33:
	adrp	x9, _mask@GOTPAGE
Lloh34:
	ldr	x9, [x9, _mask@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	ldr	w9, [x9, x26, lsl #2]
	bic	w8, w8, w9
	ldr	x9, [x27, x19, lsl #3]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
	b	LBB0_38
LBB0_37:                                ;   in Loop: Header=BB0_28 Depth=1
	sxtw	x25, w0
LBB0_38:                                ;   in Loop: Header=BB0_28 Depth=1
	ldr	w8, [x23, #4]
	sub	w0, w8, w0
	mov	x1, x24
	bl	_min
	mov	x26, x0
	ldr	x21, [x27, x19, lsl #3]
	ldr	x8, [x22, #8]
	add	x0, x8, x25, lsl #2
	mov	x1, x21
	mov	x2, x26
	bl	_memmove
	sub	w25, w24, w26
	cmp	w25, #1
	b.lt	LBB0_27
; %bb.39:                               ;   in Loop: Header=BB0_28 Depth=1
                                        ; kill: def $w26 killed $w26 killed $x26 def $x26
LBB0_40:                                ;   Parent Loop BB0_28 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w20, w26, w20
	mov	x0, x20
	bl	_VGLSetSegment
	mov	x27, x0
	ldr	w8, [x23, #4]
	sub	w0, w8, w0
	mov	x1, x25
	bl	_min
	mov	x26, x0
	sub	w8, w24, w25
	add	x1, x21, w8, sxtw #2
	ldr	x8, [x22, #8]
	add	x0, x8, w27, sxtw #2
	mov	x2, x26
	bl	_memmove
	sub	w25, w25, w26
	cmp	w25, #0
	b.gt	LBB0_40
	b	LBB0_27
LBB0_41:
	mov	x10, #0
	mov	x9, #0
LBB0_42:
	add	x10, x19, x10, lsl #2
	sub	x8, x8, x9
	add	x8, x8, #1
	add	x9, x9, x24
	add	x9, x9, x23
	add	x9, x22, x9, lsl #2
LBB0_43:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10], #16
	str	w11, [x9], #4
	subs	x8, x8, #1
	b.ne	LBB0_43
LBB0_44:
	str	x28, [sp, #32]                  ; 8-byte Folded Spill
	cmp	w26, #3
	cset	w26, eq
	add	x28, x27, w26, uxtw #2
	mov	w0, #964
	mov	w1, #2
	bl	_outb
	add	w8, w20, #1
	negs	w9, w8
	and	w9, w9, #0x3
	and	w8, w8, #0x3
	csneg	w27, w8, w9, mi
	lsl	w1, w25, w27
	mov	w0, #965
	bl	_outb
	cmp	w21, #1
	b.le	LBB0_53
; %bb.45:
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	sub	x9, x8, #2
	lsr	x8, x9, #2
	cmp	x9, #64
	b.lo	LBB0_48
; %bb.46:
	and	x9, x9, #0x3ffffffffffffffc
	add	x9, x19, x9, lsl #2
	add	x9, x9, #8
	cmp	x28, x9
	b.hs	LBB0_49
; %bb.47:
	add	x9, x8, x24
	add	x9, x9, x23
	add	x9, x9, x26
	add	x9, x22, x9, lsl #2
	add	x9, x9, #4
	add	x10, x19, #4
	cmp	x10, x9
	b.hs	LBB0_49
LBB0_48:
	mov	x9, #0
	mov	w10, #1
	b	LBB0_51
LBB0_49:
	add	x9, x8, #1
	ands	x10, x9, #0xf
	mov	w11, #16
	csel	x10, x11, x10, eq
	sub	x9, x9, x10
	mov	w10, #1
	bfi	x10, x9, #2, #62
	add	x13, x19, #132
	add	x11, x24, x23
	add	x11, x11, x26
	add	x11, x22, x11, lsl #2
	add	x11, x11, #32
	mov	x12, x9
LBB0_50:                                ; =>This Inner Loop Header: Depth=1
	sub	x14, x13, #128
	sub	x15, x13, #64
	ld4.4s	{ v0, v1, v2, v3 }, [x14]
	ld4.4s	{ v4, v5, v6, v7 }, [x15]
	add	x14, x13, #256
	ld4.4s	{ v16, v17, v18, v19 }, [x13], #64
	ld4.4s	{ v20, v21, v22, v23 }, [x13]
	stp	q0, q4, [x11, #-32]
	stp	q16, q20, [x11], #64
	mov	x13, x14
	subs	x12, x12, #16
	b.ne	LBB0_50
LBB0_51:
	add	x10, x19, x10, lsl #2
	sub	x8, x8, x9
	add	x8, x8, #1
	add	x9, x9, x24
	add	x9, x9, x23
	add	x9, x9, x26
	add	x9, x22, x9, lsl #2
LBB0_52:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10], #16
	str	w11, [x9], #4
	subs	x8, x8, #1
	b.ne	LBB0_52
LBB0_53:
	cmp	w27, #3
	cset	w27, eq
	add	x8, x28, w27, uxtw #2
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	mov	w0, #964
	mov	w1, #2
	bl	_outb
	add	w8, w20, #2
	negs	w9, w8
	and	w9, w9, #0x3
	and	w8, w8, #0x3
	csneg	w28, w8, w9, mi
	mov	w25, #1
	lsl	w1, w25, w28
	mov	w0, #965
	bl	_outb
	cmp	w21, #3
	b.lt	LBB0_62
; %bb.54:
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	sub	x9, x8, #3
	lsr	x8, x9, #2
	cmp	x9, #64
	b.lo	LBB0_57
; %bb.55:
	lsl	x9, x9, #2
	orr	x9, x9, #0xc
	add	x9, x19, x9
	ldr	x10, [sp, #24]                  ; 8-byte Folded Reload
	cmp	x10, x9
	b.hs	LBB0_58
; %bb.56:
	add	x9, x8, x24
	add	x9, x9, x23
	add	x9, x9, x27
	add	x9, x9, x26
	add	x9, x22, x9, lsl #2
	add	x9, x9, #4
	add	x10, x19, #8
	cmp	x10, x9
	b.hs	LBB0_58
LBB0_57:
	mov	x9, #0
	mov	w10, #2
	b	LBB0_60
LBB0_58:
	add	x9, x8, #1
	ands	x10, x9, #0xf
	mov	w11, #16
	csel	x10, x11, x10, eq
	sub	x9, x9, x10
	mov	w10, #2
	bfi	x10, x9, #2, #62
	add	x13, x19, #136
	add	x11, x24, x23
	add	x11, x11, x27
	add	x11, x11, x26
	add	x11, x22, x11, lsl #2
	add	x11, x11, #32
	mov	x12, x9
LBB0_59:                                ; =>This Inner Loop Header: Depth=1
	sub	x14, x13, #128
	sub	x15, x13, #64
	ld4.4s	{ v0, v1, v2, v3 }, [x14]
	ld4.4s	{ v4, v5, v6, v7 }, [x15]
	add	x14, x13, #256
	ld4.4s	{ v16, v17, v18, v19 }, [x13], #64
	ld4.4s	{ v20, v21, v22, v23 }, [x13]
	stp	q0, q4, [x11, #-32]
	stp	q16, q20, [x11], #64
	mov	x13, x14
	subs	x12, x12, #16
	b.ne	LBB0_59
LBB0_60:
	add	x10, x19, x10, lsl #2
	sub	x8, x8, x9
	add	x8, x8, #1
	add	x9, x9, x24
	add	x9, x9, x23
	add	x9, x9, x27
	add	x9, x9, x26
	add	x9, x22, x9, lsl #2
LBB0_61:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10], #16
	str	w11, [x9], #4
	subs	x8, x8, #1
	b.ne	LBB0_61
LBB0_62:
	cmp	w28, #3
	cset	w28, eq
	mov	w0, #964
	mov	w1, #2
	bl	_outb
	sub	w8, w20, #1
	and	w8, w8, #0x3
	lsl	w1, w25, w8
	mov	w0, #965
	bl	_outb
	cmp	w21, #3
	b.le	LBB0_7
; %bb.63:
	ldr	x10, [sp, #32]                  ; 8-byte Folded Reload
	sub	x9, x10, #4
	lsr	x8, x9, #2
	cmp	x9, #64
	b.lo	LBB0_66
; %bb.64:
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	add	x9, x9, w28, uxtw #2
	and	x10, x10, #0x3ffffffffffffffc
	add	x10, x19, x10, lsl #2
	cmp	x9, x10
	b.hs	LBB0_67
; %bb.65:
	add	x9, x8, x24
	add	x9, x9, x23
	add	x9, x9, x28
	add	x9, x9, x27
	add	x9, x9, x26
	add	x9, x22, x9, lsl #2
	add	x9, x9, #4
	add	x10, x19, #12
	cmp	x10, x9
	b.hs	LBB0_67
LBB0_66:
	mov	x9, #0
	mov	w10, #3
	b	LBB0_69
LBB0_67:
	add	x9, x8, #1
	ands	x10, x9, #0xf
	mov	w11, #16
	csel	x10, x11, x10, eq
	sub	x9, x9, x10
	mov	w10, #3
	bfi	x10, x9, #2, #62
	add	x13, x19, #140
	add	x11, x24, x23
	add	x11, x11, x28
	add	x11, x11, x27
	add	x11, x11, x26
	add	x11, x22, x11, lsl #2
	add	x11, x11, #32
	mov	x12, x9
LBB0_68:                                ; =>This Inner Loop Header: Depth=1
	sub	x14, x13, #128
	sub	x15, x13, #64
	ld4.4s	{ v0, v1, v2, v3 }, [x14]
	ld4.4s	{ v4, v5, v6, v7 }, [x15]
	add	x14, x13, #256
	ld4.4s	{ v16, v17, v18, v19 }, [x13], #64
	ld4.4s	{ v20, v21, v22, v23 }, [x13]
	stp	q0, q4, [x11, #-32]
	stp	q16, q20, [x11], #64
	mov	x13, x14
	subs	x12, x12, #16
	b.ne	LBB0_68
LBB0_69:
	add	x10, x19, x10, lsl #2
	sub	x8, x8, x9
	add	x8, x8, #1
	add	x9, x9, x24
	add	x9, x9, x23
	add	x9, x9, x28
	add	x9, x9, x27
	add	x9, x9, x26
	add	x9, x22, x9, lsl #2
LBB0_70:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10], #16
	str	w11, [x9], #4
	subs	x8, x8, #1
	b.ne	LBB0_70
	b	LBB0_7
LBB0_71:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_VGLBuf,8,3                     ; @VGLBuf
	.comm	_color2bit,8,3                  ; @color2bit
	.comm	_VGLAdpInfo,8,2                 ; @VGLAdpInfo
	.comm	_mask,8,3                       ; @mask
	.no_dead_strip	_WriteVerticalLine
.subsections_via_symbols
