	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_SW_VGA_MODEX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_VGLInit
	movq	_VGL_MOUSESHOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_VGLMouseInit
	movq	_VGLDisplay@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movl	(%rax), %r15d
	movl	4(%rax), %r12d
	movq	_MEMBUF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%ebx, %ebx
	movl	$256, %esi                      ## imm = 0x100
	movl	$256, %edx                      ## imm = 0x100
	xorl	%ecx, %ecx
	callq	_VGLBitmapCreate
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_VGLBitmapAllocateBits
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_VGLClear
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	decl	%r15d
	testl	%r12d, %r12d
	jle	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rdi
	movl	%ebx, %eax
	shrl	%eax
	movzbl	%al, %r9d
	xorl	%esi, %esi
	movl	%ebx, %edx
	movl	%r15d, %ecx
	movl	%ebx, %r8d
	callq	_VGLLine
	incl	%ebx
	cmpl	%ebx, %r12d
	jne	LBB0_1
LBB0_2:
	movq	(%r13), %rdi
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	decl	%r12d
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	%r15d, %ecx
	movl	%r12d, %r8d
	movl	$63, %r9d
	callq	_VGLLine
	movq	(%r13), %rdi
	xorl	%esi, %esi
	movl	%r12d, %edx
	movl	%r15d, %ecx
	xorl	%r8d, %r8d
	movl	$63, %r9d
	callq	_VGLLine
	movq	(%r13), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	%r12d, %r8d
	movl	$63, %r9d
	callq	_VGLLine
	movq	(%r13), %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	movl	%r15d, %ecx
	movl	%r12d, %r8d
	movl	$63, %r9d
	callq	_VGLLine
	movq	(%r13), %rdi
	movl	$256, %esi                      ## imm = 0x100
	xorl	%edx, %edx
	movl	$256, %ecx                      ## imm = 0x100
	movl	$256, %r8d                      ## imm = 0x100
	movl	$63, %r9d
	callq	_VGLEllipse
	movq	(%r13), %rdi
	xorl	%esi, %esi
	movl	$256, %edx                      ## imm = 0x100
	movl	$256, %ecx                      ## imm = 0x100
	movl	$256, %r8d                      ## imm = 0x100
	xorl	%r9d, %r9d
	callq	_VGLEllipse
	movq	(%r13), %rdi
	movq	_VGL_DIR_RIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	L_.str(%rip), %r15
	movl	$100, %esi
	movl	$100, %edx
	movq	%r15, %rcx
	movl	$63, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	$0
	callq	_VGLBitmapString
	addq	$16, %rsp
	movl	$2, %edi
	callq	_sleep
	movq	(%r13), %rdi
	movq	_VGL_DIR_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$100, %esi
	movl	$100, %edx
	movq	%r15, %rcx
	movl	$63, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	$0
	callq	_VGLBitmapString
	addq	$16, %rsp
	movl	$2, %edi
	callq	_sleep
	movq	(%r13), %rdi
	movq	_VGL_DIR_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$100, %esi
	movl	$100, %edx
	movq	%r15, %rcx
	movl	$63, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	$0
	callq	_VGLBitmapString
	addq	$16, %rsp
	movl	$2, %edi
	callq	_sleep
	movq	(%r13), %rdi
	movq	_VGL_DIR_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$100, %esi
	movl	$100, %edx
	movq	%r15, %rcx
	movl	$63, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	$0
	callq	_VGLBitmapString
	addq	$16, %rsp
	movl	$2, %edi
	callq	_sleep
	movl	$3072, %eax                     ## imm = 0xC00
	addq	8(%r14), %rax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movl	%ebx, %ecx
	andl	$15, %ecx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ecx, -3072(%rax,%rdx)
	movl	%ecx, -2048(%rax,%rdx)
	movl	%ecx, -1024(%rax,%rdx)
	movl	%ecx, (%rax,%rdx)
	addq	$4096, %rdx                     ## imm = 0x1000
	cmpq	$262144, %rdx                   ## imm = 0x40000
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	addq	$4, %rax
	cmpq	$256, %rbx                      ## imm = 0x100
	jne	LBB0_3
## %bb.6:
	movq	(%r13), %rcx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$128
	pushq	$128
	callq	_VGLBitmapCopy
	addq	$16, %rsp
	movl	$3072, %eax                     ## imm = 0xC00
	addq	8(%r14), %rax
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movq	%rax, %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%edx, %esi
	andl	$12, %esi
	movl	%esi, -3072(%rcx)
	leal	1(%rdx), %esi
	andl	$13, %esi
	movl	%esi, -2048(%rcx)
	leal	2(%rdx), %esi
	andl	$14, %esi
	movl	%esi, -1024(%rcx)
	leal	3(%rdx), %esi
	andl	$15, %esi
	movl	%esi, (%rcx)
	addq	$4, %rdx
	addq	$4096, %rcx                     ## imm = 0x1000
	cmpq	$256, %rdx                      ## imm = 0x100
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	addq	$4, %rax
	cmpq	$256, %rbx                      ## imm = 0x100
	jne	LBB0_7
## %bb.10:
	movq	(%r13), %rcx
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$3, %r8d
	movl	$128, %r9d
	pushq	$128
	pushq	$128
	callq	_VGLBitmapCopy
	addq	$16, %rsp
	movl	$2, %edi
	callq	_sleep
	movq	(%r13), %rdi
	movl	$237, %esi
	movl	$311, %edx                      ## imm = 0x137
	movq	%r14, %rcx
	movl	$64, %r8d
	movl	$64, %r9d
	pushq	$128
	pushq	$128
	callq	_VGLBitmapCopy
	addq	$16, %rsp
	movq	(%r13), %rcx
	movq	%r14, %rdi
	movl	$32, %esi
	movl	$32, %edx
	movl	$400, %r8d                      ## imm = 0x190
	movl	$128, %r9d
	pushq	$128
	pushq	$128
	callq	_VGLBitmapCopy
	addq	$16, %rsp
	movl	$2, %edi
	callq	_sleep
	movq	(%r13), %rcx
	movq	%rcx, %rdi
	movl	$300, %esi                      ## imm = 0x12C
	movl	$300, %edx                      ## imm = 0x12C
	movl	$500, %r8d                      ## imm = 0x1F4
	movl	$128, %r9d
	pushq	$128
	pushq	$128
	callq	_VGLBitmapCopy
	addq	$16, %rsp
	movl	$5, %edi
	callq	_sleep
	movl	$1001, %eax                     ## imm = 0x3E9
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	(%r13), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_rand
	cltd
	idivl	%r12d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_rand
	cltd
	idivl	%r14d
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movq	_VGLDisplay@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_rand
	cltd
	idivl	%r12d
	movl	%edx, %ebx
	xorl	%eax, %eax
	callq	_rand
	cltd
	idivl	%r14d
	movl	%edx, %r13d
	xorl	%eax, %eax
	callq	_rand
	cltd
	idivl	%r12d
	movl	%edx, %r15d
	xorl	%eax, %eax
	callq	_rand
	cltd
	idivl	%r14d
	movl	%edx, %eax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	%ebx, %r8d
	movl	%r13d, %r9d
	pushq	%rax
	pushq	%r15
	callq	_VGLBitmapCopy
	addq	$16, %rsp
	movq	_VGLDisplay@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_rand
	cltd
	idivl	%r12d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_rand
	cltd
	idivl	%r14d
	movl	%edx, %r15d
	xorl	%eax, %eax
	callq	_rand
	cltd
	idivl	%r12d
	movl	%edx, %r13d
	xorl	%eax, %eax
	callq	_rand
	cltd
	idivl	%r14d
	movl	%edx, %ebx
	xorl	%eax, %eax
	callq	_rand
                                        ## kill: def $eax killed $eax def $rax
	leal	255(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	andl	$-256, %ecx
	subl	%ecx, %eax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	movl	%r13d, %ecx
	movl	%ebx, %r8d
	movl	%eax, %r9d
	callq	_VGLLine
	movq	_VGLDisplay@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_rand
	cltd
	idivl	%r12d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_rand
	cltd
	idivl	%r14d
	movl	%edx, %r15d
	xorl	%eax, %eax
	callq	_rand
	cltd
	idivl	%r12d
	movl	%edx, %r13d
	shrl	$31, %r13d
	addl	%edx, %r13d
	sarl	%r13d
	xorl	%eax, %eax
	callq	_rand
	cltd
	idivl	%r14d
	movl	%edx, %ebx
	shrl	$31, %ebx
	addl	%edx, %ebx
	sarl	%ebx
	xorl	%eax, %eax
	callq	_rand
                                        ## kill: def $eax killed $eax def $rax
	leal	255(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	andl	$-256, %ecx
	subl	%ecx, %eax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	movl	%r13d, %ecx
	movq	_VGLDisplay@GOTPCREL(%rip), %r13
	movl	%ebx, %r8d
	movl	%eax, %r9d
	callq	_VGLEllipse
	xorl	%eax, %eax
	callq	_rand
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	decl	%eax
	jne	LBB0_11
## %bb.12:
	xorl	%eax, %eax
	callq	_VGLEnd
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SW_VGA_MODEX,4,2               ## @SW_VGA_MODEX
	.comm	_VGL_MOUSESHOW,4,2              ## @VGL_MOUSESHOW
	.comm	_VGLDisplay,8,3                 ## @VGLDisplay
	.comm	_MEMBUF,4,2                     ## @MEMBUF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"This is text"

	.comm	_VGL_DIR_RIGHT,4,2              ## @VGL_DIR_RIGHT
	.comm	_VGL_DIR_UP,4,2                 ## @VGL_DIR_UP
	.comm	_VGL_DIR_LEFT,4,2               ## @VGL_DIR_LEFT
	.comm	_VGL_DIR_DOWN,4,2               ## @VGL_DIR_DOWN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [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 w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, _SW_VGA_MODEX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SW_VGA_MODEX@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_VGLInit
Lloh3:
	adrp	x8, _VGL_MOUSESHOW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VGL_MOUSESHOW@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_VGLMouseInit
Lloh6:
	adrp	x24, _VGLDisplay@GOTPAGE
Lloh7:
	ldr	x24, [x24, _VGLDisplay@GOTPAGEOFF]
	ldr	x8, [x24]
	ldp	w25, w27, [x8]
Lloh8:
	adrp	x8, _MEMBUF@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MEMBUF@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	w1, #256
	mov	w2, #256
	mov	x3, #0
	bl	_VGLBitmapCreate
	mov	x19, x0
	bl	_VGLBitmapAllocateBits
	mov	x0, x19
	mov	w1, #0
	bl	_VGLClear
	sub	w20, w25, #1
	subs	w21, w27, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24]
	ubfx	w5, w22, #1, #8
	mov	w1, #0
	mov	x2, x22
	mov	x3, x20
	mov	x4, x22
	bl	_VGLLine
	add	w22, w22, #1
	cmp	w27, w22
	b.ne	LBB0_2
LBB0_3:
	ldr	x0, [x24]
	mov	w1, #0
	mov	w2, #0
	mov	x3, x20
	mov	x4, x21
	mov	w5, #63
	bl	_VGLLine
	ldr	x0, [x24]
	mov	w1, #0
	mov	x2, x21
	mov	x3, x20
	mov	w4, #0
	mov	w5, #63
	bl	_VGLLine
	ldr	x0, [x24]
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	x4, x21
	mov	w5, #63
	bl	_VGLLine
	ldr	x0, [x24]
	mov	x1, x20
	mov	w2, #0
	mov	x3, x20
	mov	x4, x21
	mov	w5, #63
	bl	_VGLLine
	ldr	x0, [x24]
	mov	w1, #256
	mov	w2, #0
	mov	w3, #256
	mov	w4, #256
	mov	w5, #63
	bl	_VGLEllipse
	ldr	x0, [x24]
	mov	w1, #0
	mov	w2, #256
	mov	w3, #256
	mov	w4, #256
	mov	w5, #0
	bl	_VGLEllipse
	ldr	x0, [x24]
Lloh11:
	adrp	x8, _VGL_DIR_RIGHT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VGL_DIR_RIGHT@GOTPAGEOFF]
Lloh13:
	ldr	w7, [x8]
Lloh14:
	adrp	x20, l_.str@PAGE
Lloh15:
	add	x20, x20, l_.str@PAGEOFF
	mov	w1, #100
	mov	w2, #100
	mov	x3, x20
	mov	w4, #63
	mov	w5, #0
	mov	w6, #0
	bl	_VGLBitmapString
	mov	w0, #2
	bl	_sleep
	ldr	x0, [x24]
Lloh16:
	adrp	x8, _VGL_DIR_UP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _VGL_DIR_UP@GOTPAGEOFF]
Lloh18:
	ldr	w7, [x8]
	mov	w1, #100
	mov	w2, #100
	mov	x3, x20
	mov	w4, #63
	mov	w5, #0
	mov	w6, #0
	bl	_VGLBitmapString
	mov	w0, #2
	bl	_sleep
	ldr	x0, [x24]
Lloh19:
	adrp	x8, _VGL_DIR_LEFT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _VGL_DIR_LEFT@GOTPAGEOFF]
Lloh21:
	ldr	w7, [x8]
	mov	w1, #100
	mov	w2, #100
	mov	x3, x20
	mov	w4, #63
	mov	w5, #0
	mov	w6, #0
	bl	_VGLBitmapString
	mov	w0, #2
	bl	_sleep
	ldr	x0, [x24]
Lloh22:
	adrp	x8, _VGL_DIR_DOWN@GOTPAGE
Lloh23:
	ldr	x8, [x8, _VGL_DIR_DOWN@GOTPAGEOFF]
Lloh24:
	ldr	w7, [x8]
	mov	w1, #100
	mov	w2, #100
	mov	x3, x20
	mov	w4, #63
	mov	w5, #0
	mov	w6, #0
	bl	_VGLBitmapString
	mov	w0, #2
	bl	_sleep
	mov	x8, #0
	ldr	x9, [x19, #8]
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	mov	x10, #0
	and	w11, w8, #0xf
LBB0_5:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x12, x9, x10
	str	w11, [x12]
	str	w11, [x12, #1024]
	str	w11, [x12, #2048]
	str	w11, [x12, #3072]
	add	x10, x10, #1, lsl #12           ; =4096
	cmp	x10, #64, lsl #12               ; =262144
	b.ne	LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, #1
	add	x9, x9, #4
	cmp	x8, #256
	b.ne	LBB0_4
; %bb.7:
	ldr	x3, [x24]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #128
	mov	w7, #128
	bl	_VGLBitmapCopy
	mov	x8, #0
	ldr	x9, [x19, #8]
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	mov	x10, #0
	mov	x11, x9
LBB0_9:                                 ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	and	w12, w10, #0xc
	orr	w13, w12, #0x1
	orr	w14, w12, #0x2
	orr	w15, w12, #0x3
	str	w12, [x11]
	str	w13, [x11, #1024]
	str	w14, [x11, #2048]
	str	w15, [x11, #3072]
	add	x10, x10, #4
	add	x11, x11, #1, lsl #12           ; =4096
	cmp	x10, #256
	b.ne	LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x8, x8, #1
	add	x9, x9, #4
	cmp	x8, #256
	b.ne	LBB0_8
; %bb.11:
	ldr	x3, [x24]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	mov	w4, #3
	mov	w5, #128
	mov	w6, #128
	mov	w7, #128
	bl	_VGLBitmapCopy
	mov	w0, #2
	bl	_sleep
	ldr	x0, [x24]
	mov	w1, #237
	mov	w2, #311
	mov	x3, x19
	mov	w4, #64
	mov	w5, #64
	mov	w6, #128
	mov	w7, #128
	bl	_VGLBitmapCopy
	ldr	x3, [x24]
	mov	x0, x19
	mov	w1, #32
	mov	w2, #32
	mov	w4, #400
	mov	w5, #128
	mov	w6, #128
	mov	w7, #128
	bl	_VGLBitmapCopy
	mov	w0, #2
	bl	_sleep
	ldr	x0, [x24]
	mov	w1, #300
	mov	w2, #300
	mov	x3, x0
	mov	w4, #500
	mov	w5, #128
	mov	w6, #128
	mov	w7, #128
	bl	_VGLBitmapCopy
	mov	w0, #5
	bl	_sleep
	mov	w26, #1001
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	bl	_rand
	sdiv	w8, w0, w25
	msub	w20, w8, w25, w0
	bl	_rand
	sdiv	w8, w0, w27
	msub	w21, w8, w27, w0
	ldr	x22, [x24]
	bl	_rand
	sdiv	w8, w0, w25
	msub	w23, w8, w25, w0
	bl	_rand
	sdiv	w8, w0, w27
	mov	x19, x24
	msub	w24, w8, w27, w0
	bl	_rand
	sdiv	w8, w0, w25
	msub	w28, w8, w25, w0
	bl	_rand
	sdiv	w8, w0, w27
	msub	w7, w8, w27, w0
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	mov	x24, x19
	mov	x6, x28
	bl	_VGLBitmapCopy
	ldr	x19, [x19]
	bl	_rand
	sdiv	w8, w0, w25
	msub	w20, w8, w25, w0
	bl	_rand
	sdiv	w8, w0, w27
	msub	w21, w8, w27, w0
	bl	_rand
	sdiv	w8, w0, w25
	msub	w22, w8, w25, w0
	bl	_rand
	sdiv	w8, w0, w27
	msub	w23, w8, w27, w0
	bl	_rand
	negs	w8, w0
	and	w8, w8, #0xff
	and	w9, w0, #0xff
	csneg	w5, w9, w8, mi
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	mov	x4, x23
	bl	_VGLLine
	ldr	x19, [x24]
	bl	_rand
	sdiv	w8, w0, w25
	msub	w20, w8, w25, w0
	bl	_rand
	sdiv	w8, w0, w27
	msub	w21, w8, w27, w0
	bl	_rand
	sdiv	w8, w0, w25
	msub	w8, w8, w25, w0
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w22, w8, #1
	bl	_rand
	sdiv	w8, w0, w27
	msub	w8, w8, w27, w0
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w23, w8, #1
	bl	_rand
	negs	w8, w0
	and	w8, w8, #0xff
	and	w9, w0, #0xff
	csneg	w5, w9, w8, mi
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	mov	x4, x23
	bl	_VGLEllipse
	bl	_rand
	subs	w26, w26, #1
	b.ne	LBB0_12
; %bb.13:
	bl	_VGLEnd
	mov	w0, #0
	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	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_SW_VGA_MODEX,4,2               ; @SW_VGA_MODEX
	.comm	_VGL_MOUSESHOW,4,2              ; @VGL_MOUSESHOW
	.comm	_VGLDisplay,8,3                 ; @VGLDisplay
	.comm	_MEMBUF,4,2                     ; @MEMBUF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"This is text"

	.comm	_VGL_DIR_RIGHT,4,2              ; @VGL_DIR_RIGHT
	.comm	_VGL_DIR_UP,4,2                 ; @VGL_DIR_UP
	.comm	_VGL_DIR_LEFT,4,2               ; @VGL_DIR_LEFT
	.comm	_VGL_DIR_DOWN,4,2               ; @VGL_DIR_DOWN
.subsections_via_symbols
