	.file	"565656.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"cube size is silly, error in .i/.o or .mv"
	.text
	.globl	cube_setup
	.type	cube_setup, @function
cube_setup:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 8
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	eax, DWORD PTR cube[rip+8]
	test	eax, eax
	js	.L2
	mov	edx, DWORD PTR cube[rip+4]
	mov	eax, DWORD PTR cube[rip+8]
	cmp	edx, eax
	jge	.L3
.L2:
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	fatal@PLT
.L3:
	mov	eax, DWORD PTR cube[rip+4]
	mov	edx, DWORD PTR cube[rip+8]
	sub	eax, edx
	mov	DWORD PTR cube[rip+120], eax
	mov	eax, DWORD PTR cube[rip+120]
	test	eax, eax
	jle	.L4
	mov	eax, DWORD PTR cube[rip+4]
	sub	eax, 1
	jmp	.L5
.L4:
	mov	eax, -1
.L5:
	mov	DWORD PTR cube[rip+124], eax
	mov	DWORD PTR cube[rip], 0
	mov	eax, DWORD PTR cube[rip+4]
	cdqe
	sal	eax, 2
	mov	edi, eax
	call	malloc@PLT
	mov	QWORD PTR cube[rip+16], rax
	mov	eax, DWORD PTR cube[rip+4]
	cdqe
	sal	eax, 2
	mov	edi, eax
	call	malloc@PLT
	mov	QWORD PTR cube[rip+24], rax
	mov	eax, DWORD PTR cube[rip+4]
	cdqe
	sal	eax, 2
	mov	edi, eax
	call	malloc@PLT
	mov	QWORD PTR cube[rip+40], rax
	mov	eax, DWORD PTR cube[rip+4]
	cdqe
	sal	eax, 2
	mov	edi, eax
	call	malloc@PLT
	mov	QWORD PTR cube[rip+48], rax
	mov	ebx, 0
	jmp	.L6
.L8:
	mov	eax, DWORD PTR cube[rip+8]
	cmp	ebx, eax
	jge	.L7
	mov	rdx, QWORD PTR cube[rip+32]
	movsx	rax, ebx
	sal	rax, 2
	add	rax, rdx
	mov	DWORD PTR [rax], 2
.L7:
	mov	rdx, QWORD PTR cube[rip+16]
	movsx	rax, ebx
	sal	rax, 2
	add	rdx, rax
	mov	eax, DWORD PTR cube[rip]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR cube[rip]
	sar	eax, 5
	mov	edx, eax
	mov	rcx, QWORD PTR cube[rip+40]
	movsx	rax, ebx
	sal	rax, 2
	add	rax, rcx
	add	edx, 1
	mov	DWORD PTR [rax], edx
	mov	edx, DWORD PTR cube[rip]
	mov	rcx, QWORD PTR cube[rip+32]
	movsx	rax, ebx
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	mov	ecx, eax
	sar	ecx, 31
	xor	eax, ecx
	sub	eax, ecx
	add	eax, edx
	mov	DWORD PTR cube[rip], eax
	mov	edx, DWORD PTR cube[rip]
	mov	rcx, QWORD PTR cube[rip+24]
	movsx	rax, ebx
	sal	rax, 2
	add	rax, rcx
	sub	edx, 1
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR cube[rip]
	sub	eax, 1
	sar	eax, 5
	mov	edx, eax
	mov	rcx, QWORD PTR cube[rip+48]
	movsx	rax, ebx
	sal	rax, 2
	add	rax, rcx
	add	edx, 1
	mov	DWORD PTR [rax], edx
	add	ebx, 1
.L6:
	mov	eax, DWORD PTR cube[rip+4]
	cmp	ebx, eax
	jl	.L8
	mov	eax, DWORD PTR cube[rip+4]
	cdqe
	sal	eax, 3
	mov	edi, eax
	call	malloc@PLT
	mov	QWORD PTR cube[rip+72], rax
	mov	eax, DWORD PTR cube[rip+4]
	cdqe
	sal	eax, 2
	mov	edi, eax
	call	malloc@PLT
	mov	QWORD PTR cube[rip+112], rax
	mov	ebx, DWORD PTR cube[rip]
	mov	eax, DWORD PTR cube[rip]
	cmp	eax, 32
	jle	.L9
	mov	eax, DWORD PTR cube[rip]
	sub	eax, 1
	sar	eax, 5
	add	eax, 2
	cdqe
	sal	eax, 2
	jmp	.L10
.L9:
	mov	eax, 8
.L10:
	mov	edi, eax
	call	malloc@PLT
	mov	esi, ebx
	mov	rdi, rax
	mov	eax, 0
	call	set_clear@PLT
	mov	QWORD PTR cube[rip+56], rax
	mov	ebx, DWORD PTR cube[rip]
	mov	eax, DWORD PTR cube[rip]
	cmp	eax, 32
	jle	.L11
	mov	eax, DWORD PTR cube[rip]
	sub	eax, 1
	sar	eax, 5
	add	eax, 2
	cdqe
	sal	eax, 2
	jmp	.L12
.L11:
	mov	eax, 8
.L12:
	mov	edi, eax
	call	malloc@PLT
	mov	esi, ebx
	mov	rdi, rax
	mov	eax, 0
	call	set_clear@PLT
	mov	QWORD PTR cube[rip+64], rax
	mov	ebx, 0
	jmp	.L13
.L22:
	mov	r13d, DWORD PTR cube[rip]
	mov	eax, DWORD PTR cube[rip]
	cmp	eax, 32
	jle	.L14
	mov	eax, DWORD PTR cube[rip]
	sub	eax, 1
	sar	eax, 5
	add	eax, 2
	cdqe
	sal	eax, 2
	jmp	.L15
.L14:
	mov	eax, 8
.L15:
	mov	edi, eax
	call	malloc@PLT
	mov	rcx, QWORD PTR cube[rip+72]
	movsx	rdx, ebx
	sal	rdx, 3
	lea	r12, [rcx+rdx]
	mov	esi, r13d
	mov	rdi, rax
	mov	eax, 0
	call	set_clear@PLT
	mov	QWORD PTR [r12], rax
	mov	r13, QWORD PTR [r12]
	mov	rdx, QWORD PTR cube[rip+16]
	movsx	rax, ebx
	sal	rax, 2
	add	rax, rdx
	mov	r12d, DWORD PTR [rax]
	jmp	.L16
.L17:
	mov	eax, r12d
	sar	eax, 5
	cdqe
	add	rax, 1
	sal	rax, 2
	add	rax, r13
	mov	edx, DWORD PTR [rax]
	mov	eax, r12d
	and	eax, 31
	mov	esi, 1
	mov	ecx, eax
	sal	esi, cl
	mov	eax, esi
	mov	ecx, eax
	mov	eax, r12d
	sar	eax, 5
	cdqe
	add	rax, 1
	sal	rax, 2
	add	rax, r13
	or	edx, ecx
	mov	DWORD PTR [rax], edx
	add	r12d, 1
.L16:
	mov	rdx, QWORD PTR cube[rip+24]
	movsx	rax, ebx
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	r12d, eax
	jle	.L17
	mov	eax, DWORD PTR cube[rip+8]
	cmp	ebx, eax
	jge	.L18
	mov	rax, QWORD PTR cube[rip+56]
	mov	eax, DWORD PTR [rax]
	and	eax, 1023
	mov	r12d, eax
	mov	rax, QWORD PTR cube[rip+56]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR cube[rip+56]
	and	edx, -1024
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR cube[rip+56]
	mov	edx, DWORD PTR [rax]
	mov	ecx, r12d
	mov	rax, QWORD PTR cube[rip+56]
	or	edx, ecx
	mov	DWORD PTR [rax], edx
.L19:
	mov	rdx, QWORD PTR cube[rip+56]
	movsx	rax, r12d
	sal	rax, 2
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	movsx	rax, r12d
	sal	rax, 2
	add	rax, r13
	mov	edx, DWORD PTR [rax]
	mov	rsi, QWORD PTR cube[rip+56]
	movsx	rax, r12d
	sal	rax, 2
	add	rax, rsi
	or	edx, ecx
	mov	DWORD PTR [rax], edx
	sub	r12d, 1
	test	r12d, r12d
	jg	.L19
	mov	rdx, QWORD PTR cube[rip+112]
	movsx	rax, ebx
	sal	rax, 2
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	jmp	.L20
.L18:
	mov	rax, QWORD PTR cube[rip+64]
	mov	eax, DWORD PTR [rax]
	and	eax, 1023
	mov	r12d, eax
	mov	rax, QWORD PTR cube[rip+64]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR cube[rip+64]
	and	edx, -1024
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR cube[rip+64]
	mov	edx, DWORD PTR [rax]
	mov	ecx, r12d
	mov	rax, QWORD PTR cube[rip+64]
	or	edx, ecx
	mov	DWORD PTR [rax], edx
.L21:
	mov	rdx, QWORD PTR cube[rip+64]
	movsx	rax, r12d
	sal	rax, 2
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	movsx	rax, r12d
	sal	rax, 2
	add	rax, r13
	mov	edx, DWORD PTR [rax]
	mov	rsi, QWORD PTR cube[rip+64]
	movsx	rax, r12d
	sal	rax, 2
	add	rax, rsi
	or	edx, ecx
	mov	DWORD PTR [rax], edx
	sub	r12d, 1
	test	r12d, r12d
	jg	.L21
	mov	rdx, QWORD PTR cube[rip+112]
	movsx	rax, ebx
	sal	rax, 2
	add	rax, rdx
	mov	DWORD PTR [rax], 1
.L20:
	add	ebx, 1
.L13:
	mov	eax, DWORD PTR cube[rip+4]
	cmp	ebx, eax
	jl	.L22
	mov	eax, DWORD PTR cube[rip+8]
	test	eax, eax
	jne	.L23
	mov	DWORD PTR cube[rip+108], -1
	jmp	.L24
.L23:
	mov	rdx, QWORD PTR cube[rip+48]
	mov	eax, DWORD PTR cube[rip+8]
	cdqe
	sal	rax, 2
	sub	rax, 4
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR cube[rip+108], eax
	mov	rdx, QWORD PTR cube[rip+56]
	mov	eax, DWORD PTR cube[rip+108]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	and	eax, 1431655765
	mov	DWORD PTR cube[rip+104], eax
.L24:
	mov	edi, 80
	call	malloc@PLT
	mov	QWORD PTR cube[rip+80], rax
	mov	r12d, 0
	jmp	.L25
.L28:
	mov	ebx, DWORD PTR cube[rip]
	mov	eax, DWORD PTR cube[rip]
	cmp	eax, 32
	jle	.L26
	mov	eax, DWORD PTR cube[rip]
	sub	eax, 1
	sar	eax, 5
	add	eax, 2
	cdqe
	sal	eax, 2
	jmp	.L27
.L26:
	mov	eax, 8
.L27:
	mov	edi, eax
	call	malloc@PLT
	mov	rcx, QWORD PTR cube[rip+80]
	movsx	rdx, r12d
	sal	rdx, 3
	lea	r13, [rcx+rdx]
	mov	esi, ebx
	mov	rdi, rax
	mov	eax, 0
	call	set_clear@PLT
	mov	QWORD PTR 0[r13], rax
	add	r12d, 1
.L25:
	cmp	r12d, 9
	jle	.L28
	mov	ebx, DWORD PTR cube[rip]
	mov	r12d, DWORD PTR cube[rip]
	mov	eax, DWORD PTR cube[rip]
	cmp	eax, 32
	jle	.L29
	mov	eax, DWORD PTR cube[rip]
	sub	eax, 1
	sar	eax, 5
	add	eax, 2
	cdqe
	sal	eax, 2
	jmp	.L30
.L29:
	mov	eax, 8
.L30:
	mov	edi, eax
	call	malloc@PLT
	mov	esi, r12d
	mov	rdi, rax
	mov	eax, 0
	call	set_clear@PLT
	mov	esi, ebx
	mov	rdi, rax
	mov	eax, 0
	call	set_fill@PLT
	mov	QWORD PTR cube[rip+88], rax
	mov	ebx, DWORD PTR cube[rip]
	mov	eax, DWORD PTR cube[rip]
	cmp	eax, 32
	jle	.L31
	mov	eax, DWORD PTR cube[rip]
	sub	eax, 1
	sar	eax, 5
	add	eax, 2
	cdqe
	sal	eax, 2
	jmp	.L32
.L31:
	mov	eax, 8
.L32:
	mov	edi, eax
	call	malloc@PLT
	mov	esi, ebx
	mov	rdi, rax
	mov	eax, 0
	call	set_clear@PLT
	mov	QWORD PTR cube[rip+96], rax
	mov	eax, DWORD PTR cube[rip]
	cdqe
	sal	eax, 2
	mov	edi, eax
	call	malloc@PLT
	mov	QWORD PTR cdata[rip], rax
	mov	eax, DWORD PTR cube[rip+4]
	cdqe
	sal	eax, 2
	mov	edi, eax
	call	malloc@PLT
	mov	QWORD PTR cdata[rip+8], rax
	mov	eax, DWORD PTR cube[rip+4]
	cdqe
	sal	eax, 2
	mov	edi, eax
	call	malloc@PLT
	mov	QWORD PTR cdata[rip+16], rax
	mov	eax, DWORD PTR cube[rip+4]
	cdqe
	sal	eax, 2
	mov	edi, eax
	call	malloc@PLT
	mov	QWORD PTR cdata[rip+24], rax
	nop
	add	rsp, 8
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	cube_setup, .-cube_setup
	.globl	setdown_cube
	.type	setdown_cube, @function
setdown_cube:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 8
	.cfi_offset 3, -24
	mov	rax, QWORD PTR cube[rip+16]
	test	rax, rax
	je	.L35
	mov	rax, QWORD PTR cube[rip+16]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR cube[rip+16], 0
.L35:
	mov	rax, QWORD PTR cube[rip+24]
	test	rax, rax
	je	.L37
	mov	rax, QWORD PTR cube[rip+24]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR cube[rip+24], 0
.L37:
	mov	rax, QWORD PTR cube[rip+40]
	test	rax, rax
	je	.L39
	mov	rax, QWORD PTR cube[rip+40]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR cube[rip+40], 0
.L39:
	mov	rax, QWORD PTR cube[rip+48]
	test	rax, rax
	je	.L41
	mov	rax, QWORD PTR cube[rip+48]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR cube[rip+48], 0
.L41:
	mov	rax, QWORD PTR cube[rip+112]
	test	rax, rax
	je	.L43
	mov	rax, QWORD PTR cube[rip+112]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR cube[rip+112], 0
.L43:
	mov	rax, QWORD PTR cube[rip+56]
	test	rax, rax
	je	.L45
	mov	rax, QWORD PTR cube[rip+56]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR cube[rip+56], 0
.L45:
	mov	rax, QWORD PTR cube[rip+64]
	test	rax, rax
	je	.L47
	mov	rax, QWORD PTR cube[rip+64]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR cube[rip+64], 0
.L47:
	mov	rax, QWORD PTR cube[rip+88]
	test	rax, rax
	je	.L49
	mov	rax, QWORD PTR cube[rip+88]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR cube[rip+88], 0
.L49:
	mov	rax, QWORD PTR cube[rip+96]
	test	rax, rax
	je	.L51
	mov	rax, QWORD PTR cube[rip+96]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR cube[rip+96], 0
.L51:
	mov	ebx, 0
	jmp	.L52
.L55:
	mov	rdx, QWORD PTR cube[rip+72]
	movsx	rax, ebx
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L54
	mov	rdx, QWORD PTR cube[rip+72]
	movsx	rax, ebx
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	rdx, QWORD PTR cube[rip+72]
	movsx	rax, ebx
	sal	rax, 3
	add	rax, rdx
	mov	QWORD PTR [rax], 0
.L54:
	add	ebx, 1
.L52:
	mov	eax, DWORD PTR cube[rip+4]
	cmp	ebx, eax
	jl	.L55
	mov	rax, QWORD PTR cube[rip+72]
	test	rax, rax
	je	.L57
	mov	rax, QWORD PTR cube[rip+72]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR cube[rip+72], 0
.L57:
	mov	ebx, 0
	jmp	.L58
.L61:
	mov	rdx, QWORD PTR cube[rip+80]
	movsx	rax, ebx
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L60
	mov	rdx, QWORD PTR cube[rip+80]
	movsx	rax, ebx
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	rdx, QWORD PTR cube[rip+80]
	movsx	rax, ebx
	sal	rax, 3
	add	rax, rdx
	mov	QWORD PTR [rax], 0
.L60:
	add	ebx, 1
.L58:
	cmp	ebx, 9
	jle	.L61
	mov	rax, QWORD PTR cube[rip+80]
	test	rax, rax
	je	.L63
	mov	rax, QWORD PTR cube[rip+80]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR cube[rip+80], 0
.L63:
	mov	rax, QWORD PTR cdata[rip]
	test	rax, rax
	je	.L65
	mov	rax, QWORD PTR cdata[rip]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR cdata[rip], 0
.L65:
	mov	rax, QWORD PTR cdata[rip+8]
	test	rax, rax
	je	.L67
	mov	rax, QWORD PTR cdata[rip+8]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR cdata[rip+8], 0
.L67:
	mov	rax, QWORD PTR cdata[rip+16]
	test	rax, rax
	je	.L69
	mov	rax, QWORD PTR cdata[rip+16]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR cdata[rip+16], 0
.L69:
	mov	rax, QWORD PTR cdata[rip+24]
	test	rax, rax
	je	.L71
	mov	rax, QWORD PTR cdata[rip+24]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR cdata[rip+24], 0
.L71:
	mov	QWORD PTR cube[rip+24], 0
	mov	rax, QWORD PTR cube[rip+24]
	mov	QWORD PTR cube[rip+16], rax
	mov	QWORD PTR cube[rip+48], 0
	mov	rax, QWORD PTR cube[rip+48]
	mov	QWORD PTR cube[rip+40], rax
	mov	QWORD PTR cube[rip+112], 0
	mov	QWORD PTR cube[rip+64], 0
	mov	rax, QWORD PTR cube[rip+64]
	mov	QWORD PTR cube[rip+56], rax
	mov	QWORD PTR cube[rip+96], 0
	mov	rax, QWORD PTR cube[rip+96]
	mov	QWORD PTR cube[rip+88], rax
	mov	QWORD PTR cube[rip+80], 0
	mov	rax, QWORD PTR cube[rip+80]
	mov	QWORD PTR cube[rip+72], rax
	mov	QWORD PTR cdata[rip+16], 0
	mov	rax, QWORD PTR cdata[rip+16]
	mov	QWORD PTR cdata[rip+8], rax
	mov	rax, QWORD PTR cdata[rip+8]
	mov	QWORD PTR cdata[rip], rax
	mov	QWORD PTR cdata[rip+24], 0
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	setdown_cube, .-setdown_cube
	.globl	save_cube_struct
	.type	save_cube_struct, @function
save_cube_struct:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR cube[rip]
	mov	rdx, QWORD PTR cube[rip+8]
	mov	QWORD PTR temp_cube_save[rip], rax
	mov	QWORD PTR temp_cube_save[rip+8], rdx
	mov	rax, QWORD PTR cube[rip+16]
	mov	rdx, QWORD PTR cube[rip+24]
	mov	QWORD PTR temp_cube_save[rip+16], rax
	mov	QWORD PTR temp_cube_save[rip+24], rdx
	mov	rax, QWORD PTR cube[rip+32]
	mov	rdx, QWORD PTR cube[rip+40]
	mov	QWORD PTR temp_cube_save[rip+32], rax
	mov	QWORD PTR temp_cube_save[rip+40], rdx
	mov	rax, QWORD PTR cube[rip+48]
	mov	rdx, QWORD PTR cube[rip+56]
	mov	QWORD PTR temp_cube_save[rip+48], rax
	mov	QWORD PTR temp_cube_save[rip+56], rdx
	mov	rax, QWORD PTR cube[rip+64]
	mov	rdx, QWORD PTR cube[rip+72]
	mov	QWORD PTR temp_cube_save[rip+64], rax
	mov	QWORD PTR temp_cube_save[rip+72], rdx
	mov	rax, QWORD PTR cube[rip+80]
	mov	rdx, QWORD PTR cube[rip+88]
	mov	QWORD PTR temp_cube_save[rip+80], rax
	mov	QWORD PTR temp_cube_save[rip+88], rdx
	mov	rax, QWORD PTR cube[rip+96]
	mov	rdx, QWORD PTR cube[rip+104]
	mov	QWORD PTR temp_cube_save[rip+96], rax
	mov	QWORD PTR temp_cube_save[rip+104], rdx
	mov	rax, QWORD PTR cube[rip+112]
	mov	rdx, QWORD PTR cube[rip+120]
	mov	QWORD PTR temp_cube_save[rip+112], rax
	mov	QWORD PTR temp_cube_save[rip+120], rdx
	mov	rax, QWORD PTR cdata[rip]
	mov	rdx, QWORD PTR cdata[rip+8]
	mov	QWORD PTR temp_cdata_save[rip], rax
	mov	QWORD PTR temp_cdata_save[rip+8], rdx
	mov	rax, QWORD PTR cdata[rip+16]
	mov	rdx, QWORD PTR cdata[rip+24]
	mov	QWORD PTR temp_cdata_save[rip+16], rax
	mov	QWORD PTR temp_cdata_save[rip+24], rdx
	mov	rax, QWORD PTR cdata[rip+32]
	mov	rdx, QWORD PTR cdata[rip+40]
	mov	QWORD PTR temp_cdata_save[rip+32], rax
	mov	QWORD PTR temp_cdata_save[rip+40], rdx
	mov	QWORD PTR cube[rip+24], 0
	mov	rax, QWORD PTR cube[rip+24]
	mov	QWORD PTR cube[rip+16], rax
	mov	QWORD PTR cube[rip+48], 0
	mov	rax, QWORD PTR cube[rip+48]
	mov	QWORD PTR cube[rip+40], rax
	mov	QWORD PTR cube[rip+32], 0
	mov	QWORD PTR cube[rip+64], 0
	mov	rax, QWORD PTR cube[rip+64]
	mov	QWORD PTR cube[rip+56], rax
	mov	QWORD PTR cube[rip+96], 0
	mov	rax, QWORD PTR cube[rip+96]
	mov	QWORD PTR cube[rip+88], rax
	mov	QWORD PTR cube[rip+80], 0
	mov	rax, QWORD PTR cube[rip+80]
	mov	QWORD PTR cube[rip+72], rax
	mov	QWORD PTR cdata[rip+16], 0
	mov	rax, QWORD PTR cdata[rip+16]
	mov	QWORD PTR cdata[rip+8], rax
	mov	rax, QWORD PTR cdata[rip+8]
	mov	QWORD PTR cdata[rip], rax
	mov	QWORD PTR cdata[rip+24], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	save_cube_struct, .-save_cube_struct
	.globl	restore_cube_struct
	.type	restore_cube_struct, @function
restore_cube_struct:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR temp_cube_save[rip]
	mov	rdx, QWORD PTR temp_cube_save[rip+8]
	mov	QWORD PTR cube[rip], rax
	mov	QWORD PTR cube[rip+8], rdx
	mov	rax, QWORD PTR temp_cube_save[rip+16]
	mov	rdx, QWORD PTR temp_cube_save[rip+24]
	mov	QWORD PTR cube[rip+16], rax
	mov	QWORD PTR cube[rip+24], rdx
	mov	rax, QWORD PTR temp_cube_save[rip+32]
	mov	rdx, QWORD PTR temp_cube_save[rip+40]
	mov	QWORD PTR cube[rip+32], rax
	mov	QWORD PTR cube[rip+40], rdx
	mov	rax, QWORD PTR temp_cube_save[rip+48]
	mov	rdx, QWORD PTR temp_cube_save[rip+56]
	mov	QWORD PTR cube[rip+48], rax
	mov	QWORD PTR cube[rip+56], rdx
	mov	rax, QWORD PTR temp_cube_save[rip+64]
	mov	rdx, QWORD PTR temp_cube_save[rip+72]
	mov	QWORD PTR cube[rip+64], rax
	mov	QWORD PTR cube[rip+72], rdx
	mov	rax, QWORD PTR temp_cube_save[rip+80]
	mov	rdx, QWORD PTR temp_cube_save[rip+88]
	mov	QWORD PTR cube[rip+80], rax
	mov	QWORD PTR cube[rip+88], rdx
	mov	rax, QWORD PTR temp_cube_save[rip+96]
	mov	rdx, QWORD PTR temp_cube_save[rip+104]
	mov	QWORD PTR cube[rip+96], rax
	mov	QWORD PTR cube[rip+104], rdx
	mov	rax, QWORD PTR temp_cube_save[rip+112]
	mov	rdx, QWORD PTR temp_cube_save[rip+120]
	mov	QWORD PTR cube[rip+112], rax
	mov	QWORD PTR cube[rip+120], rdx
	mov	rax, QWORD PTR temp_cdata_save[rip]
	mov	rdx, QWORD PTR temp_cdata_save[rip+8]
	mov	QWORD PTR cdata[rip], rax
	mov	QWORD PTR cdata[rip+8], rdx
	mov	rax, QWORD PTR temp_cdata_save[rip+16]
	mov	rdx, QWORD PTR temp_cdata_save[rip+24]
	mov	QWORD PTR cdata[rip+16], rax
	mov	QWORD PTR cdata[rip+24], rdx
	mov	rax, QWORD PTR temp_cdata_save[rip+32]
	mov	rdx, QWORD PTR temp_cdata_save[rip+40]
	mov	QWORD PTR cdata[rip+32], rax
	mov	QWORD PTR cdata[rip+40], rdx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	restore_cube_struct, .-restore_cube_struct
	.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	"565656.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"cube size is silly, error in .i/.o or .mv\000"
	.text
	.align	2
	.global	cube_setup
	.syntax unified
	.arm
	.fpu softvfp
	.type	cube_setup, %function
cube_setup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	ldr	r3, .L33
	ldr	r3, [r3, #8]
	cmp	r3, #0
	blt	.L2
	ldr	r3, .L33
	ldr	r2, [r3, #4]
	ldr	r3, .L33
	ldr	r3, [r3, #8]
	cmp	r2, r3
	bge	.L3
.L2:
	ldr	r0, .L33+4
	bl	fatal
.L3:
	ldr	r3, .L33
	ldr	r2, [r3, #4]
	ldr	r3, .L33
	ldr	r3, [r3, #8]
	sub	r3, r2, r3
	ldr	r2, .L33
	str	r3, [r2, #68]
	ldr	r3, .L33
	ldr	r3, [r3, #68]
	cmp	r3, #0
	ble	.L4
	ldr	r3, .L33
	ldr	r3, [r3, #4]
	sub	r3, r3, #1
	b	.L5
.L4:
	mvn	r3, #0
.L5:
	ldr	r2, .L33
	str	r3, [r2, #72]
	ldr	r3, .L33
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L33
	ldr	r3, [r3, #4]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L33
	str	r2, [r3, #12]
	ldr	r3, .L33
	ldr	r3, [r3, #4]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L33
	str	r2, [r3, #16]
	ldr	r3, .L33
	ldr	r3, [r3, #4]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L33
	str	r2, [r3, #24]
	ldr	r3, .L33
	ldr	r3, [r3, #4]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L33
	str	r2, [r3, #28]
	mov	r4, #0
	b	.L6
.L8:
	ldr	r3, .L33
	ldr	r3, [r3, #8]
	cmp	r4, r3
	bge	.L7
	ldr	r3, .L33
	ldr	r2, [r3, #20]
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #2
	str	r2, [r3]
.L7:
	ldr	r3, .L33
	ldr	r2, [r3, #12]
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, .L33
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, .L33
	ldr	r3, [r3]
	asr	r2, r3, #5
	ldr	r3, .L33
	ldr	r1, [r3, #24]
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r2, r2, #1
	str	r2, [r3]
	ldr	r3, .L33
	ldr	r2, [r3]
	ldr	r3, .L33
	ldr	r1, [r3, #20]
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r3, #0
	rsblt	r3, r3, #0
	add	r3, r2, r3
	ldr	r2, .L33
	str	r3, [r2]
	ldr	r3, .L33
	ldr	r2, [r3]
	ldr	r3, .L33
	ldr	r1, [r3, #16]
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r1, r3
	sub	r2, r2, #1
	str	r2, [r3]
	ldr	r3, .L33
	ldr	r3, [r3]
	sub	r3, r3, #1
	asr	r2, r3, #5
	ldr	r3, .L33
	ldr	r1, [r3, #28]
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r2, r2, #1
	str	r2, [r3]
	add	r4, r4, #1
.L6:
	ldr	r3, .L33
	ldr	r3, [r3, #4]
	cmp	r4, r3
	blt	.L8
	ldr	r3, .L33
	ldr	r3, [r3, #4]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L33
	str	r2, [r3, #40]
	ldr	r3, .L33
	ldr	r3, [r3, #4]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L33
	str	r2, [r3, #64]
	ldr	r3, .L33
	ldr	r3, [r3]
	cmp	r3, #32
	ble	.L9
	ldr	r3, .L33
	ldr	r3, [r3]
	sub	r3, r3, #1
	asr	r3, r3, #5
	add	r3, r3, #2
	lsl	r3, r3, #2
	b	.L10
.L9:
	mov	r3, #8
.L10:
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L33
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	set_clear
	mov	r3, r0
	ldr	r2, .L33
	str	r3, [r2, #32]
	ldr	r3, .L33
	ldr	r3, [r3]
	cmp	r3, #32
	ble	.L11
	ldr	r3, .L33
	ldr	r3, [r3]
	sub	r3, r3, #1
	asr	r3, r3, #5
	add	r3, r3, #2
	lsl	r3, r3, #2
	b	.L12
.L11:
	mov	r3, #8
.L12:
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L33
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	set_clear
	mov	r3, r0
	ldr	r2, .L33
	str	r3, [r2, #36]
	mov	r4, #0
	b	.L13
.L22:
	ldr	r3, .L33
	ldr	r3, [r3]
	cmp	r3, #32
	ble	.L14
	ldr	r3, .L33
	ldr	r3, [r3]
	sub	r3, r3, #1
	asr	r3, r3, #5
	add	r3, r3, #2
	lsl	r3, r3, #2
	b	.L15
.L14:
	mov	r3, #8
.L15:
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r0, r3
	ldr	r3, .L33
	ldr	r1, [r3]
	ldr	r3, .L33
	ldr	r2, [r3, #40]
	mov	r3, r4
	lsl	r3, r3, #2
	add	r5, r2, r3
	bl	set_clear
	mov	r3, r0
	str	r3, [r5]
	ldr	r6, [r5]
	ldr	r3, .L33
	ldr	r2, [r3, #12]
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r5, [r3]
	b	.L16
.L17:
	asr	r3, r5, #5
	add	r3, r3, #1
	lsl	r3, r3, #2
	add	r3, r6, r3
	ldr	r2, [r3]
	and	r3, r5, #31
	mov	r1, #1
	lsl	r3, r1, r3
	mov	r1, r3
	asr	r3, r5, #5
	add	r3, r3, #1
	lsl	r3, r3, #2
	add	r3, r6, r3
	orr	r2, r2, r1
	str	r2, [r3]
	add	r5, r5, #1
.L16:
	ldr	r3, .L33
	ldr	r2, [r3, #16]
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r5, r3
	ble	.L17
	ldr	r3, .L33
	ldr	r3, [r3, #8]
	cmp	r4, r3
	bge	.L18
	ldr	r3, .L33
	ldr	r3, [r3, #32]
	ldr	r3, [r3]
	lsl	r5, r3, #22
	lsr	r5, r5, #22
	ldr	r3, .L33
	ldr	r3, [r3, #32]
	ldr	r3, [r3]
	ldr	r2, .L33
	ldr	r2, [r2, #32]
	bic	r3, r3, #1020
	bic	r3, r3, #3
	str	r3, [r2]
	ldr	r3, .L33
	ldr	r3, [r3, #32]
	ldr	r2, [r3]
	mov	r1, r5
	ldr	r3, .L33
	ldr	r3, [r3, #32]
	orr	r2, r2, r1
	str	r2, [r3]
.L19:
	ldr	r3, .L33
	ldr	r2, [r3, #32]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r3, r6, r3
	ldr	r2, [r3]
	ldr	r3, .L33
	ldr	r0, [r3, #32]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r3, r0, r3
	orr	r2, r1, r2
	str	r2, [r3]
	sub	r5, r5, #1
	cmp	r5, #0
	bgt	.L19
	ldr	r3, .L33
	ldr	r2, [r3, #64]
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	b	.L20
.L18:
	ldr	r3, .L33
	ldr	r3, [r3, #36]
	ldr	r3, [r3]
	lsl	r5, r3, #22
	lsr	r5, r5, #22
	ldr	r3, .L33
	ldr	r3, [r3, #36]
	ldr	r3, [r3]
	ldr	r2, .L33
	ldr	r2, [r2, #36]
	bic	r3, r3, #1020
	bic	r3, r3, #3
	str	r3, [r2]
	ldr	r3, .L33
	ldr	r3, [r3, #36]
	ldr	r2, [r3]
	mov	r1, r5
	ldr	r3, .L33
	ldr	r3, [r3, #36]
	orr	r2, r2, r1
	str	r2, [r3]
.L21:
	ldr	r3, .L33
	ldr	r2, [r3, #36]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r3, r6, r3
	ldr	r2, [r3]
	ldr	r3, .L33
	ldr	r0, [r3, #36]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r3, r0, r3
	orr	r2, r1, r2
	str	r2, [r3]
	sub	r5, r5, #1
	cmp	r5, #0
	bgt	.L21
	ldr	r3, .L33
	ldr	r2, [r3, #64]
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3]
.L20:
	add	r4, r4, #1
.L13:
	ldr	r3, .L33
	ldr	r3, [r3, #4]
	cmp	r4, r3
	blt	.L22
	ldr	r3, .L33
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L23
	ldr	r3, .L33
	mvn	r2, #0
	str	r2, [r3, #60]
	b	.L24
.L23:
	ldr	r3, .L33
	ldr	r2, [r3, #28]
	ldr	r3, .L33
	ldr	r3, [r3, #8]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L33
	str	r3, [r2, #60]
	ldr	r3, .L33
	ldr	r2, [r3, #32]
	ldr	r3, .L33
	ldr	r3, [r3, #60]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, .L33+8
	and	r3, r3, r2
	ldr	r2, .L33
	str	r3, [r2, #56]
.L24:
	mov	r0, #40
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L33
	str	r2, [r3, #44]
	mov	r5, #0
	b	.L25
.L28:
	ldr	r3, .L33
	ldr	r3, [r3]
	cmp	r3, #32
	ble	.L26
	ldr	r3, .L33
	ldr	r3, [r3]
	sub	r3, r3, #1
	asr	r3, r3, #5
	add	r3, r3, #2
	lsl	r3, r3, #2
	b	.L27
.L26:
	mov	r3, #8
.L27:
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r0, r3
	ldr	r3, .L33
	ldr	r1, [r3]
	ldr	r3, .L33
	ldr	r2, [r3, #44]
	mov	r3, r5
	lsl	r3, r3, #2
	add	r4, r2, r3
	bl	set_clear
	mov	r3, r0
	str	r3, [r4]
	add	r5, r5, #1
.L25:
	cmp	r5, #9
	ble	.L28
	ldr	r3, .L33
	ldr	r3, [r3]
	cmp	r3, #32
	ble	.L29
	ldr	r3, .L33
	ldr	r3, [r3]
	sub	r3, r3, #1
	asr	r3, r3, #5
	add	r3, r3, #2
	lsl	r3, r3, #2
	b	.L30
.L29:
	mov	r3, #8
.L30:
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L33
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	set_clear
	mov	r2, r0
	ldr	r3, .L33
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	set_fill
	mov	r3, r0
	ldr	r2, .L33
	str	r3, [r2, #48]
	ldr	r3, .L33
	ldr	r3, [r3]
	cmp	r3, #32
	ble	.L31
	ldr	r3, .L33
	ldr	r3, [r3]
	sub	r3, r3, #1
	asr	r3, r3, #5
	add	r3, r3, #2
	lsl	r3, r3, #2
	b	.L32
.L31:
	mov	r3, #8
.L32:
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L33
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	set_clear
	mov	r3, r0
	ldr	r2, .L33
	str	r3, [r2, #52]
	ldr	r3, .L33
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L33+12
	str	r2, [r3]
	ldr	r3, .L33
	ldr	r3, [r3, #4]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L33+12
	str	r2, [r3, #4]
	ldr	r3, .L33
	ldr	r3, [r3, #4]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L33+12
	str	r2, [r3, #8]
	ldr	r3, .L33
	ldr	r3, [r3, #4]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L33+12
	str	r2, [r3, #12]
	nop
	pop	{r4, r5, r6, r7, fp, pc}
.L34:
	.align	2
.L33:
	.word	cube
	.word	.LC0
	.word	1431655765
	.word	cdata
	.size	cube_setup, .-cube_setup
	.align	2
	.global	setdown_cube
	.syntax unified
	.arm
	.fpu softvfp
	.type	setdown_cube, %function
setdown_cube:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	ldr	r3, .L74
	ldr	r3, [r3, #12]
	cmp	r3, #0
	beq	.L37
	ldr	r3, .L74
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	free
	ldr	r3, .L74
	mov	r2, #0
	str	r2, [r3, #12]
.L37:
	ldr	r3, .L74
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L39
	ldr	r3, .L74
	ldr	r3, [r3, #16]
	mov	r0, r3
	bl	free
	ldr	r3, .L74
	mov	r2, #0
	str	r2, [r3, #16]
.L39:
	ldr	r3, .L74
	ldr	r3, [r3, #24]
	cmp	r3, #0
	beq	.L41
	ldr	r3, .L74
	ldr	r3, [r3, #24]
	mov	r0, r3
	bl	free
	ldr	r3, .L74
	mov	r2, #0
	str	r2, [r3, #24]
.L41:
	ldr	r3, .L74
	ldr	r3, [r3, #28]
	cmp	r3, #0
	beq	.L43
	ldr	r3, .L74
	ldr	r3, [r3, #28]
	mov	r0, r3
	bl	free
	ldr	r3, .L74
	mov	r2, #0
	str	r2, [r3, #28]
.L43:
	ldr	r3, .L74
	ldr	r3, [r3, #64]
	cmp	r3, #0
	beq	.L45
	ldr	r3, .L74
	ldr	r3, [r3, #64]
	mov	r0, r3
	bl	free
	ldr	r3, .L74
	mov	r2, #0
	str	r2, [r3, #64]
.L45:
	ldr	r3, .L74
	ldr	r3, [r3, #32]
	cmp	r3, #0
	beq	.L47
	ldr	r3, .L74
	ldr	r3, [r3, #32]
	mov	r0, r3
	bl	free
	ldr	r3, .L74
	mov	r2, #0
	str	r2, [r3, #32]
.L47:
	ldr	r3, .L74
	ldr	r3, [r3, #36]
	cmp	r3, #0
	beq	.L49
	ldr	r3, .L74
	ldr	r3, [r3, #36]
	mov	r0, r3
	bl	free
	ldr	r3, .L74
	mov	r2, #0
	str	r2, [r3, #36]
.L49:
	ldr	r3, .L74
	ldr	r3, [r3, #48]
	cmp	r3, #0
	beq	.L51
	ldr	r3, .L74
	ldr	r3, [r3, #48]
	mov	r0, r3
	bl	free
	ldr	r3, .L74
	mov	r2, #0
	str	r2, [r3, #48]
.L51:
	ldr	r3, .L74
	ldr	r3, [r3, #52]
	cmp	r3, #0
	beq	.L53
	ldr	r3, .L74
	ldr	r3, [r3, #52]
	mov	r0, r3
	bl	free
	ldr	r3, .L74
	mov	r2, #0
	str	r2, [r3, #52]
.L53:
	mov	r4, #0
	b	.L54
.L57:
	ldr	r3, .L74
	ldr	r2, [r3, #40]
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L56
	ldr	r3, .L74
	ldr	r2, [r3, #40]
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, .L74
	ldr	r2, [r3, #40]
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
.L56:
	add	r4, r4, #1
.L54:
	ldr	r3, .L74
	ldr	r3, [r3, #4]
	cmp	r4, r3
	blt	.L57
	ldr	r3, .L74
	ldr	r3, [r3, #40]
	cmp	r3, #0
	beq	.L59
	ldr	r3, .L74
	ldr	r3, [r3, #40]
	mov	r0, r3
	bl	free
	ldr	r3, .L74
	mov	r2, #0
	str	r2, [r3, #40]
.L59:
	mov	r4, #0
	b	.L60
.L63:
	ldr	r3, .L74
	ldr	r2, [r3, #44]
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L62
	ldr	r3, .L74
	ldr	r2, [r3, #44]
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, .L74
	ldr	r2, [r3, #44]
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
.L62:
	add	r4, r4, #1
.L60:
	cmp	r4, #9
	ble	.L63
	ldr	r3, .L74
	ldr	r3, [r3, #44]
	cmp	r3, #0
	beq	.L65
	ldr	r3, .L74
	ldr	r3, [r3, #44]
	mov	r0, r3
	bl	free
	ldr	r3, .L74
	mov	r2, #0
	str	r2, [r3, #44]
.L65:
	ldr	r3, .L74+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L67
	ldr	r3, .L74+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, .L74+4
	mov	r2, #0
	str	r2, [r3]
.L67:
	ldr	r3, .L74+4
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L69
	ldr	r3, .L74+4
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	free
	ldr	r3, .L74+4
	mov	r2, #0
	str	r2, [r3, #4]
.L69:
	ldr	r3, .L74+4
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L71
	ldr	r3, .L74+4
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	free
	ldr	r3, .L74+4
	mov	r2, #0
	str	r2, [r3, #8]
.L71:
	ldr	r3, .L74+4
	ldr	r3, [r3, #12]
	cmp	r3, #0
	beq	.L73
	ldr	r3, .L74+4
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	free
	ldr	r3, .L74+4
	mov	r2, #0
	str	r2, [r3, #12]
.L73:
	ldr	r3, .L74
	mov	r2, #0
	str	r2, [r3, #16]
	ldr	r3, .L74
	ldr	r3, [r3, #16]
	ldr	r2, .L74
	str	r3, [r2, #12]
	ldr	r3, .L74
	mov	r2, #0
	str	r2, [r3, #28]
	ldr	r3, .L74
	ldr	r3, [r3, #28]
	ldr	r2, .L74
	str	r3, [r2, #24]
	ldr	r3, .L74
	mov	r2, #0
	str	r2, [r3, #64]
	ldr	r3, .L74
	mov	r2, #0
	str	r2, [r3, #36]
	ldr	r3, .L74
	ldr	r3, [r3, #36]
	ldr	r2, .L74
	str	r3, [r2, #32]
	ldr	r3, .L74
	mov	r2, #0
	str	r2, [r3, #52]
	ldr	r3, .L74
	ldr	r3, [r3, #52]
	ldr	r2, .L74
	str	r3, [r2, #48]
	ldr	r3, .L74
	mov	r2, #0
	str	r2, [r3, #44]
	ldr	r3, .L74
	ldr	r3, [r3, #44]
	ldr	r2, .L74
	str	r3, [r2, #40]
	ldr	r3, .L74+4
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, .L74+4
	ldr	r3, [r3, #8]
	ldr	r2, .L74+4
	str	r3, [r2, #4]
	ldr	r3, .L74+4
	ldr	r3, [r3, #4]
	ldr	r2, .L74+4
	str	r3, [r2]
	ldr	r3, .L74+4
	mov	r2, #0
	str	r2, [r3, #12]
	nop
	pop	{r4, r5, fp, pc}
.L75:
	.align	2
.L74:
	.word	cube
	.word	cdata
	.size	setdown_cube, .-setdown_cube
	.align	2
	.global	save_cube_struct
	.syntax unified
	.arm
	.fpu softvfp
	.type	save_cube_struct, %function
save_cube_struct:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r2, .L77
	ldr	r3, .L77+4
	mov	r0, r2
	mov	r1, r3
	mov	r3, #76
	mov	r2, r3
	bl	memcpy
	ldr	r2, .L77+8
	ldr	r3, .L77+12
	mov	ip, r2
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r3, .L77+4
	mov	r2, #0
	str	r2, [r3, #16]
	ldr	r3, .L77+4
	ldr	r3, [r3, #16]
	ldr	r2, .L77+4
	str	r3, [r2, #12]
	ldr	r3, .L77+4
	mov	r2, #0
	str	r2, [r3, #28]
	ldr	r3, .L77+4
	ldr	r3, [r3, #28]
	ldr	r2, .L77+4
	str	r3, [r2, #24]
	ldr	r3, .L77+4
	mov	r2, #0
	str	r2, [r3, #20]
	ldr	r3, .L77+4
	mov	r2, #0
	str	r2, [r3, #36]
	ldr	r3, .L77+4
	ldr	r3, [r3, #36]
	ldr	r2, .L77+4
	str	r3, [r2, #32]
	ldr	r3, .L77+4
	mov	r2, #0
	str	r2, [r3, #52]
	ldr	r3, .L77+4
	ldr	r3, [r3, #52]
	ldr	r2, .L77+4
	str	r3, [r2, #48]
	ldr	r3, .L77+4
	mov	r2, #0
	str	r2, [r3, #44]
	ldr	r3, .L77+4
	ldr	r3, [r3, #44]
	ldr	r2, .L77+4
	str	r3, [r2, #40]
	ldr	r3, .L77+12
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, .L77+12
	ldr	r3, [r3, #8]
	ldr	r2, .L77+12
	str	r3, [r2, #4]
	ldr	r3, .L77+12
	ldr	r3, [r3, #4]
	ldr	r2, .L77+12
	str	r3, [r2]
	ldr	r3, .L77+12
	mov	r2, #0
	str	r2, [r3, #12]
	nop
	pop	{fp, pc}
.L78:
	.align	2
.L77:
	.word	temp_cube_save
	.word	cube
	.word	temp_cdata_save
	.word	cdata
	.size	save_cube_struct, .-save_cube_struct
	.align	2
	.global	restore_cube_struct
	.syntax unified
	.arm
	.fpu softvfp
	.type	restore_cube_struct, %function
restore_cube_struct:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r2, .L80
	ldr	r3, .L80+4
	mov	r0, r2
	mov	r1, r3
	mov	r3, #76
	mov	r2, r3
	bl	memcpy
	ldr	r2, .L80+8
	ldr	r3, .L80+12
	mov	ip, r2
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	nop
	pop	{fp, pc}
.L81:
	.align	2
.L80:
	.word	cube
	.word	temp_cube_save
	.word	cdata
	.word	temp_cdata_save
	.size	restore_cube_struct, .-restore_cube_struct
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
