	.file	"784422.c"
	.intel_syntax noprefix
	.text
	.globl	demo_init
	.type	demo_init, @function
demo_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edi, 7424
	call	glShadeModel@PLT
	mov	edi, 5889
	call	glMatrixMode@PLT
	call	glLoadIdentity@PLT
	movsd	xmm4, QWORD PTR .LC0[rip]
	movsd	xmm3, QWORD PTR .LC1[rip]
	movsd	xmm2, QWORD PTR .LC0[rip]
	movsd	xmm1, QWORD PTR .LC1[rip]
	movsd	xmm0, QWORD PTR .LC0[rip]
	mov	rax, QWORD PTR .LC1[rip]
	movapd	xmm5, xmm4
	movapd	xmm4, xmm3
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	glOrtho@PLT
	pxor	xmm3, xmm3
	pxor	xmm2, xmm2
	pxor	xmm1, xmm1
	pxor	xmm0, xmm0
	call	glClearColor@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	demo_init, .-demo_init
	.globl	demo_end
	.type	demo_end, @function
demo_end:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	demo_end, .-demo_end
	.globl	draw
	.type	draw, @function
draw:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edi, 4
	call	glBegin@PLT
	pxor	xmm2, xmm2
	pxor	xmm1, xmm1
	movss	xmm0, DWORD PTR .LC3[rip]
	call	glColor3f@PLT
	pxor	xmm2, xmm2
	movss	xmm1, DWORD PTR .LC3[rip]
	pxor	xmm0, xmm0
	call	glVertex3f@PLT
	pxor	xmm2, xmm2
	movss	xmm1, DWORD PTR .LC3[rip]
	pxor	xmm0, xmm0
	call	glColor3f@PLT
	pxor	xmm2, xmm2
	movss	xmm1, DWORD PTR .LC4[rip]
	movss	xmm0, DWORD PTR .LC4[rip]
	call	glVertex3f@PLT
	movss	xmm2, DWORD PTR .LC3[rip]
	pxor	xmm1, xmm1
	pxor	xmm0, xmm0
	call	glColor3f@PLT
	pxor	xmm2, xmm2
	movss	xmm1, DWORD PTR .LC4[rip]
	movss	xmm0, DWORD PTR .LC3[rip]
	call	glVertex3f@PLT
	call	glEnd@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	draw, .-draw
	.globl	demo_tick
	.type	demo_tick, @function
demo_tick:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movss	xmm1, DWORD PTR rot.1[rip]
	movss	xmm0, DWORD PTR .LC5[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR rot.1[rip], xmm0
	movss	xmm0, DWORD PTR rot.1[rip]
	comiss	xmm0, DWORD PTR .LC6[rip]
	jb	.L5
	mov	eax, DWORD PTR flat.0[rip]
	test	eax, eax
	je	.L7
	mov	edi, 7425
	call	glShadeModel@PLT
	mov	DWORD PTR flat.0[rip], 0
	jmp	.L8
.L7:
	mov	edi, 7424
	call	glShadeModel@PLT
	mov	DWORD PTR flat.0[rip], 1
.L8:
	pxor	xmm0, xmm0
	movss	DWORD PTR rot.1[rip], xmm0
.L5:
	mov	edi, 16640
	call	glClear@PLT
	mov	edi, 5888
	call	glMatrixMode@PLT
	call	glLoadIdentity@PLT
	mov	eax, DWORD PTR rot.1[rip]
	movss	xmm3, DWORD PTR .LC7[rip]
	movss	xmm2, DWORD PTR .LC3[rip]
	pxor	xmm1, xmm1
	movd	xmm0, eax
	call	glRotatef@PLT
	mov	ecx, 128
	mov	edx, 256
	mov	esi, 0
	mov	edi, 0
	call	glViewport@PLT
	call	draw
	mov	ecx, 128
	mov	edx, 256
	mov	esi, 0
	mov	edi, 256
	call	glViewport@PLT
	call	draw
	mov	ecx, 128
	mov	edx, 256
	mov	esi, 128
	mov	edi, 0
	call	glViewport@PLT
	call	draw
	mov	ecx, 128
	mov	edx, 256
	mov	esi, 128
	mov	edi, 256
	call	glViewport@PLT
	call	draw
	call	glFlush@PLT
	call	swap_buffers@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	demo_tick, .-demo_tick
	.local	rot.1
	.comm	rot.1,4,4
	.data
	.align 4
	.type	flat.0, @object
	.size	flat.0, 4
flat.0:
	.long	1
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1073741824
	.align 8
.LC1:
	.long	0
	.long	-1073741824
	.align 4
.LC3:
	.long	1065353216
	.align 4
.LC4:
	.long	-1082130432
	.align 4
.LC5:
	.long	1077936128
	.align 4
.LC6:
	.long	1135869952
	.align 4
.LC7:
	.long	1056964608
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"784422.c"
	.text
	.align	2
	.global	demo_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	demo_init, %function
demo_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	mov	r0, #7424
	bl	glShadeModel
	ldr	r0, .L2
	bl	glMatrixMode
	bl	glLoadIdentity
	mov	r2, #0
	mov	r3, #1073741824
	str	r2, [sp, #24]
	str	r3, [sp, #28]
	mov	r2, #0
	mov	r3, #-1073741824
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	mov	r2, #0
	mov	r3, #1073741824
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	mov	r2, #0
	mov	r3, #-1073741824
	stm	sp, {r2-r3}
	mov	r2, #0
	mov	r3, #1073741824
	mov	r0, #0
	mov	r1, #-1073741824
	bl	glOrtho
	mov	r3, #0
	mov	r2, #0
	mov	r1, #0
	mov	r0, #0
	bl	glClearColor
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	5889
	.size	demo_init, .-demo_init
	.align	2
	.global	demo_end
	.syntax unified
	.arm
	.fpu softvfp
	.type	demo_end, %function
demo_end:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	demo_end, .-demo_end
	.align	2
	.global	draw
	.syntax unified
	.arm
	.fpu softvfp
	.type	draw, %function
draw:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r0, #4
	bl	glBegin
	mov	r2, #0
	mov	r1, #0
	mov	r0, #1065353216
	bl	glColor3f
	mov	r2, #0
	mov	r1, #1065353216
	mov	r0, #0
	bl	glVertex3f
	mov	r2, #0
	mov	r1, #1065353216
	mov	r0, #0
	bl	glColor3f
	mov	r2, #0
	ldr	r1, .L6
	ldr	r0, .L6
	bl	glVertex3f
	mov	r2, #1065353216
	mov	r1, #0
	mov	r0, #0
	bl	glColor3f
	mov	r2, #0
	ldr	r1, .L6
	mov	r0, #1065353216
	bl	glVertex3f
	bl	glEnd
	nop
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	-1082130432
	.size	draw, .-draw
	.global	__aeabi_fadd
	.global	__aeabi_fcmpge
	.align	2
	.global	demo_tick
	.syntax unified
	.arm
	.fpu softvfp
	.type	demo_tick, %function
demo_tick:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L14
	ldr	r3, [r3]	@ float
	ldr	r1, .L14+4
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L14
	str	r2, [r3]	@ float
	ldr	r3, .L14
	ldr	r3, [r3]	@ float
	ldr	r1, .L14+8
	mov	r0, r3
	bl	__aeabi_fcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	ldr	r3, .L14+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L11
	ldr	r0, .L14+16
	bl	glShadeModel
	ldr	r3, .L14+12
	mov	r2, #0
	str	r2, [r3]
	b	.L12
.L11:
	mov	r0, #7424
	bl	glShadeModel
	ldr	r3, .L14+12
	mov	r2, #1
	str	r2, [r3]
.L12:
	ldr	r3, .L14
	mov	r2, #0
	str	r2, [r3]	@ float
.L9:
	mov	r0, #16640
	bl	glClear
	mov	r0, #5888
	bl	glMatrixMode
	bl	glLoadIdentity
	ldr	r3, .L14
	ldr	r0, [r3]	@ float
	mov	r3, #1056964608
	mov	r2, #1065353216
	mov	r1, #0
	bl	glRotatef
	mov	r3, #128
	mov	r2, #256
	mov	r1, #0
	mov	r0, #0
	bl	glViewport
	bl	draw
	mov	r3, #128
	mov	r2, #256
	mov	r1, #0
	mov	r0, #256
	bl	glViewport
	bl	draw
	mov	r3, #128
	mov	r2, #256
	mov	r1, #128
	mov	r0, #0
	bl	glViewport
	bl	draw
	mov	r3, #128
	mov	r2, #256
	mov	r1, #128
	mov	r0, #256
	bl	glViewport
	bl	draw
	bl	glFlush
	bl	swap_buffers
	nop
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	rot.17376
	.word	1077936128
	.word	1135869952
	.word	flat.17377
	.word	7425
	.size	demo_tick, .-demo_tick
	.local	rot.17376
	.comm	rot.17376,4,4
	.data
	.align	2
	.type	flat.17377, %object
	.size	flat.17377, 4
flat.17377:
	.word	1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
