	.file	"extr_main.c_reset_model.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	reset_model
	.type	reset_model, @function
reset_model:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	eax, DWORD PTR MAX_CHUNKS[rip]
	xor	esi, esi
	lea	edx, 0[0+rax*4]
	mov	rax, QWORD PTR g[rip]
	mov	edi, DWORD PTR 104[rax]
	call	memset@PLT
	mov	rax, QWORD PTR g[rip]
	mov	ecx, DWORD PTR MAX_PLAYERS[rip]
	xor	esi, esi
	mov	QWORD PTR 96[rax], 0
	mov	edi, DWORD PTR 88[rax]
	lea	edx, 0[0+rcx*4]
	call	memset@PLT
	mov	rax, QWORD PTR g[rip]
	mov	edx, DWORD PTR MAX_TEXT_LENGTH[rip]
	xor	esi, esi
	mov	QWORD PTR 80[rax], 0
	mov	edi, DWORD PTR 40[rax]
	mov	QWORD PTR 72[rax], 0
	mov	QWORD PTR 64[rax], 0
	mov	QWORD PTR 56[rax], 0
	mov	QWORD PTR 48[rax], 0
	call	memset@PLT
	mov	rax, QWORD PTR g[rip]
	mov	edx, DWORD PTR MAX_MESSAGES[rip]
	xor	esi, esi
	imul	edx, DWORD PTR MAX_TEXT_LENGTH[rip]
	mov	QWORD PTR 32[rax], 0
	mov	edi, DWORD PTR 24[rax]
	call	memset@PLT
	mov	rax, QWORD PTR g[rip]
	movsd	xmm0, QWORD PTR DAY_LENGTH[rip]
	mov	QWORD PTR 16[rax], 0
	movsd	QWORD PTR [rax], xmm0
	divsd	xmm0, QWORD PTR .LC0[rip]
	call	glfwSetTime@PLT
	mov	rax, QWORD PTR g[rip]
	mov	DWORD PTR 8[rax], 1
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	reset_model, .-reset_model
	.comm	g,8,8
	.comm	MAX_TEXT_LENGTH,4,4
	.comm	MAX_PLAYERS,4,4
	.comm	MAX_MESSAGES,4,4
	.comm	MAX_CHUNKS,4,4
	.comm	DAY_LENGTH,8,8
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	0
	.long	1074266112
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_main.c_reset_model.c"
	.text
	.global	__aeabi_ddiv
	.align	2
	.global	reset_model
	.syntax unified
	.arm
	.fpu softvfp
	.type	reset_model, %function
reset_model:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, #0
	ldr	r5, .L4
	ldr	r3, .L4+4
	mov	r1, r4
	ldr	r2, [r3]
	ldr	r3, [r5]
	lsl	r2, r2, #2
	ldr	r0, [r3, #56]
	bl	memset
	ldr	r2, .L4+8
	ldr	r3, [r5]
	ldr	r2, [r2]
	mov	r1, r4
	ldr	r0, [r3, #48]
	str	r4, [r3, #52]
	lsl	r2, r2, #2
	bl	memset
	ldr	r6, .L4+12
	ldr	r3, [r5]
	mov	r1, r4
	ldr	r0, [r3, #24]
	ldr	r2, [r6]
	str	r4, [r3, #44]
	str	r4, [r3, #40]
	str	r4, [r3, #36]
	str	r4, [r3, #32]
	str	r4, [r3, #28]
	bl	memset
	ldr	r3, .L4+16
	ldr	r1, [r6]
	ldr	r2, [r3]
	ldr	r3, [r5]
	mul	r2, r1, r2
	ldr	r0, [r3, #16]
	mov	r1, r4
	str	r4, [r3, #20]
	bl	memset
	ldr	ip, [r5]
	ldr	r3, .L4+20
	mov	r2, #0
	ldmia	r3, {r0-r1}
	str	r4, [ip, #12]
	ldr	r3, .L4+24
	stm	ip, {r0-r1}
	bl	__aeabi_ddiv
	bl	glfwSetTime
	mov	r2, #1
	ldr	r3, [r5]
	str	r2, [r3, #8]
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	g
	.word	MAX_CHUNKS
	.word	MAX_PLAYERS
	.word	MAX_TEXT_LENGTH
	.word	MAX_MESSAGES
	.word	DAY_LENGTH
	.word	1074266112
	.size	reset_model, .-reset_model
	.comm	g,4,4
	.comm	MAX_TEXT_LENGTH,4,4
	.comm	MAX_PLAYERS,4,4
	.comm	MAX_MESSAGES,4,4
	.comm	MAX_CHUNKS,4,4
	.comm	DAY_LENGTH,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
