	.file	"458903.c"
	.intel_syntax noprefix
	.text
	.globl	L
	.bss
	.align 4
	.type	L, @object
	.size	L, 4
L:
	.zero	4
	.globl	cubes
	.align 32
	.type	cubes, @object
	.size	cubes, 160
cubes:
	.zero	160
	.section	.rodata
.LC0:
	.string	"the_stack_data/458903.c"
.LC1:
	.string	"L <= MAXCUBES"
.LC2:
	.string	"%d %d %d\n"
.LC3:
	.string	"strlen(cubes[i]) == N"
.LC4:
	.string	"-1"
	.text
	.globl	print_cubes
	.type	print_cubes, @function
print_cubes:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	eax, DWORD PTR L[rip]
	cmp	eax, 20
	jle	.L2
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 13
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L2:
	mov	eax, DWORD PTR L[rip]
	mov	ecx, eax
	mov	edx, 4
	mov	esi, 7
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L3
.L11:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, cubes[rip]
	add	rax, rdx
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 7
	je	.L4
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 17
	lea	rsi, .LC0[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L4:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L5
.L10:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 3
	add	rdx, rax
	lea	rax, cubes[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 42
	jne	.L6
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L7
.L6:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 3
	add	rdx, rax
	lea	rax, cubes[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
.L7:
	cmp	DWORD PTR -4[rbp], 5
	jg	.L8
	mov	edi, 32
	call	putchar@PLT
	jmp	.L9
.L8:
	mov	edi, 10
	call	putchar@PLT
.L9:
	add	DWORD PTR -4[rbp], 1
.L5:
	cmp	DWORD PTR -4[rbp], 6
	jle	.L10
	add	DWORD PTR -8[rbp], 1
.L3:
	mov	eax, DWORD PTR L[rip]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L11
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	print_cubes, .-print_cubes
	.globl	canonical
	.type	canonical, @function
canonical:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -32[rbp], 5
	mov	DWORD PTR -28[rbp], 5
	mov	DWORD PTR -24[rbp], 5
	mov	DWORD PTR -20[rbp], 5
	mov	DWORD PTR -16[rbp], 5
	mov	DWORD PTR -12[rbp], 5
	mov	DWORD PTR -44[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	jmp	.L13
.L21:
	mov	DWORD PTR -36[rbp], 0
	jmp	.L14
.L17:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	eax, 3
	je	.L26
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	cdqe
	add	rax, rax
	add	rax, rdx
	mov	eax, DWORD PTR -32[rbp+rax*4]
	cmp	eax, 5
	jne	.L16
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	cdqe
	add	rax, rax
	add	rdx, rax
	mov	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR -32[rbp+rdx*4], eax
	jmp	.L16
.L26:
	nop
.L16:
	add	DWORD PTR -36[rbp], 1
.L14:
	cmp	DWORD PTR -36[rbp], 1
	jle	.L17
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	jge	.L18
	mov	DWORD PTR -44[rbp], 1
	jmp	.L19
.L18:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	jle	.L19
	cmp	DWORD PTR -44[rbp], 0
	jne	.L19
	mov	eax, 0
	jmp	.L24
.L19:
	add	DWORD PTR -40[rbp], 1
.L13:
	cmp	DWORD PTR -40[rbp], 3
	jle	.L21
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -24[rbp]
	cmp	edx, eax
	jg	.L22
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -16[rbp]
	cmp	edx, eax
	jg	.L22
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -20[rbp]
	cmp	edx, eax
	jg	.L22
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -12[rbp]
	cmp	edx, eax
	jg	.L22
	mov	eax, 1
	jmp	.L24
.L22:
	mov	eax, 0
.L24:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	canonical, .-canonical
	.section	.rodata
.LC5:
	.string	"%d"
.LC6:
	.string	"r"
.LC7:
	.string	"cubecover4.txt"
.LC8:
	.string	"index >= 0 && index < tot"
.LC9:
	.string	"%d %d %d"
.LC10:
	.string	"L >= 6"
.LC11:
	.string	"index >= 0"
.LC12:
	.string	"index <= at"
	.align 8
.LC13:
	.string	"index >= 0 && index <= S*S*S*S*S"
	.text
	.globl	generate_cubes
	.type	generate_cubes, @function
generate_cubes:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR L[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR L[rip], edx
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, cubes[rip]
	add	rax, rdx
	movabs	rdi, 14411518807585587
	mov	QWORD PTR [rax], rdi
	mov	eax, DWORD PTR L[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR L[rip], edx
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, cubes[rip]
	add	rax, rdx
	movabs	rdi, 14411518807585847
	mov	QWORD PTR [rax], rdi
	lea	rax, -104[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rsi, .LC6[rip]
	lea	rdi, .LC7[rip]
	call	fopen@PLT
	mov	QWORD PTR -56[rbp], rax
	lea	rdx, -100[rbp]
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	eax, DWORD PTR -104[rbp]
	test	eax, eax
	js	.L28
	mov	edx, DWORD PTR -104[rbp]
	mov	eax, DWORD PTR -100[rbp]
	cmp	edx, eax
	jl	.L54
.L28:
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 62
	lea	rsi, .LC0[rip]
	lea	rdi, .LC8[rip]
	call	__assert_fail@PLT
.L54:
	mov	DWORD PTR -92[rbp], 0
	jmp	.L30
.L34:
	lea	rdx, -96[rbp]
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -88[rbp], 0
	jmp	.L31
.L33:
	lea	rax, -48[rbp]
	lea	rsi, 8[rax]
	lea	rax, -48[rbp]
	lea	rcx, 4[rax]
	lea	rdx, -48[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	r8, rsi
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	eax, DWORD PTR -104[rbp]
	cmp	DWORD PTR -92[rbp], eax
	jne	.L32
	mov	eax, DWORD PTR L[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, cubes[rip]
	add	rax, rdx
	movabs	rsi, 11868309606248503
	mov	QWORD PTR [rax], rsi
	mov	eax, DWORD PTR -48[rbp]
	lea	edx, 48[rax]
	mov	eax, DWORD PTR L[rip]
	mov	ecx, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, cubes[rip+4]
	mov	BYTE PTR [rdx+rax], cl
	mov	eax, DWORD PTR -44[rbp]
	lea	edx, 48[rax]
	mov	eax, DWORD PTR L[rip]
	mov	ecx, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, cubes[rip+5]
	mov	BYTE PTR [rdx+rax], cl
	mov	eax, DWORD PTR -40[rbp]
	lea	edx, 48[rax]
	mov	eax, DWORD PTR L[rip]
	mov	ecx, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, cubes[rip+6]
	mov	BYTE PTR [rdx+rax], cl
	mov	eax, DWORD PTR L[rip]
	add	eax, 1
	mov	DWORD PTR L[rip], eax
.L32:
	add	DWORD PTR -88[rbp], 1
.L31:
	mov	eax, DWORD PTR -96[rbp]
	cmp	DWORD PTR -88[rbp], eax
	jl	.L33
	add	DWORD PTR -92[rbp], 1
.L30:
	mov	eax, DWORD PTR -100[rbp]
	cmp	DWORD PTR -92[rbp], eax
	jl	.L34
	mov	eax, DWORD PTR L[rip]
	cmp	eax, 5
	jg	.L35
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 79
	lea	rsi, .LC0[rip]
	lea	rdi, .LC10[rip]
	call	__assert_fail@PLT
.L35:
	lea	rax, -104[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -104[rbp]
	test	eax, eax
	jns	.L36
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 81
	lea	rsi, .LC0[rip]
	lea	rdi, .LC11[rip]
	call	__assert_fail@PLT
.L36:
	mov	DWORD PTR -84[rbp], 0
	mov	eax, DWORD PTR -104[rbp]
	test	eax, eax
	jle	.L37
	mov	DWORD PTR -80[rbp], 0
	jmp	.L38
.L46:
	mov	eax, DWORD PTR -80[rbp]
	mov	DWORD PTR -76[rbp], eax
	mov	DWORD PTR -72[rbp], 0
	jmp	.L39
.L42:
	mov	DWORD PTR -68[rbp], 0
	jmp	.L40
.L41:
	mov	eax, DWORD PTR -76[rbp]
	cdq
	shr	edx, 30
	add	eax, edx
	and	eax, 3
	sub	eax, edx
	mov	edx, eax
	mov	eax, DWORD PTR -68[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	add	rax, rax
	add	rax, rcx
	mov	DWORD PTR -48[rbp+rax*4], edx
	mov	eax, DWORD PTR -76[rbp]
	lea	edx, 3[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 2
	mov	DWORD PTR -76[rbp], eax
	add	DWORD PTR -68[rbp], 1
.L40:
	cmp	DWORD PTR -68[rbp], 1
	jle	.L41
	add	DWORD PTR -72[rbp], 1
.L39:
	cmp	DWORD PTR -72[rbp], 3
	jle	.L42
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	canonical
	test	eax, eax
	je	.L43
	add	DWORD PTR -84[rbp], 1
	mov	eax, DWORD PTR -104[rbp]
	cmp	DWORD PTR -84[rbp], eax
	jne	.L43
	mov	DWORD PTR -64[rbp], 0
	jmp	.L44
.L45:
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*8]
	lea	edx, 48[rax]
	mov	eax, DWORD PTR -64[rbp]
	add	eax, 2
	mov	ecx, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, cubes[rip+2]
	mov	BYTE PTR [rdx+rax], cl
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	mov	eax, DWORD PTR -44[rbp+rax*8]
	lea	edx, 48[rax]
	mov	eax, DWORD PTR -64[rbp]
	add	eax, 2
	mov	ecx, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, cubes[rip+3]
	mov	BYTE PTR [rdx+rax], cl
	add	DWORD PTR -64[rbp], 1
.L44:
	cmp	DWORD PTR -64[rbp], 3
	jle	.L45
.L43:
	add	DWORD PTR -80[rbp], 1
.L38:
	cmp	DWORD PTR -80[rbp], 65535
	jle	.L46
	mov	eax, DWORD PTR -104[rbp]
	cmp	DWORD PTR -84[rbp], eax
	jge	.L37
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 103
	lea	rsi, .LC0[rip]
	lea	rdi, .LC12[rip]
	call	__assert_fail@PLT
.L37:
	lea	rax, -104[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -104[rbp]
	test	eax, eax
	js	.L48
	mov	eax, DWORD PTR -104[rbp]
	cmp	eax, 1024
	jle	.L55
.L48:
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 108
	lea	rsi, .LC0[rip]
	lea	rdi, .LC13[rip]
	call	__assert_fail@PLT
.L55:
	mov	eax, DWORD PTR -104[rbp]
	test	eax, eax
	je	.L56
	mov	eax, DWORD PTR -104[rbp]
	sub	eax, 1
	mov	DWORD PTR -104[rbp], eax
	mov	eax, DWORD PTR L[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR L[rip], edx
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, cubes[rip]
	add	rax, rdx
	movabs	rdi, 11868309606250291
	mov	QWORD PTR [rax], rdi
	mov	DWORD PTR -60[rbp], 0
	jmp	.L51
.L52:
	mov	eax, DWORD PTR -104[rbp]
	cdq
	shr	edx, 30
	add	eax, edx
	and	eax, 3
	sub	eax, edx
	lea	ecx, 48[rax]
	mov	eax, DWORD PTR L[rip]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -60[rbp]
	add	eax, 2
	movsx	rsi, eax
	movsx	rax, edx
	sal	rax, 3
	lea	rdx, [rax+rsi]
	lea	rax, cubes[rip]
	add	rax, rdx
	mov	BYTE PTR [rax], cl
	mov	eax, DWORD PTR -104[rbp]
	lea	edx, 3[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 2
	mov	DWORD PTR -104[rbp], eax
	add	DWORD PTR -60[rbp], 1
.L51:
	cmp	DWORD PTR -60[rbp], 4
	jle	.L52
.L56:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L53
	call	__stack_chk_fail@PLT
.L53:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	generate_cubes, .-generate_cubes
	.globl	main
	.type	main, @function
main:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	generate_cubes
	mov	eax, 0
	call	print_cubes
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	main, .-main
	.section	.rodata
	.align 8
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 12
__PRETTY_FUNCTION__.1:
	.string	"print_cubes"
	.align 8
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 15
__PRETTY_FUNCTION__.0:
	.string	"generate_cubes"
	.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	"458903.c"
	.text
	.global	L
	.bss
	.align	2
	.type	L, %object
	.size	L, 4
L:
	.space	4
	.comm	cubes,160,4
	.section	.rodata
	.align	2
.LC1:
	.ascii	"the_stack_data/458903.c\000"
	.align	2
.LC2:
	.ascii	"L <= MAXCUBES\000"
	.align	2
.LC3:
	.ascii	"%d %d %d\012\000"
	.align	2
.LC4:
	.ascii	"strlen(cubes[i]) == N\000"
	.align	2
.LC5:
	.ascii	"-1\000"
	.text
	.align	2
	.global	print_cubes
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_cubes, %function
print_cubes:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L12
	ldr	r3, [r3]
	cmp	r3, #20
	ble	.L2
	ldr	r3, .L12+4
	mov	r2, #13
	ldr	r1, .L12+8
	ldr	r0, .L12+12
	bl	__assert_fail
.L2:
	ldr	r3, .L12
	ldr	r3, [r3]
	mov	r2, #4
	mov	r1, #7
	ldr	r0, .L12+16
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L3
.L11:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #3
	ldr	r2, .L12+20
	add	r3, r3, r2
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #7
	beq	.L4
	ldr	r3, .L12+4
	mov	r2, #17
	ldr	r1, .L12+8
	ldr	r0, .L12+24
	bl	__assert_fail
.L4:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L5
.L10:
	ldr	r2, .L12+20
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #3
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L6
	ldr	r0, .L12+28
	bl	printf
	b	.L7
.L6:
	ldr	r2, .L12+20
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #3
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
.L7:
	ldr	r3, [fp, #-8]
	cmp	r3, #5
	bgt	.L8
	mov	r0, #32
	bl	putchar
	b	.L9
.L8:
	mov	r0, #10
	bl	putchar
.L9:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L5:
	ldr	r3, [fp, #-8]
	cmp	r3, #6
	ble	.L10
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L3:
	ldr	r3, .L12
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L11
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	L
	.word	__PRETTY_FUNCTION__.4796
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	cubes
	.word	.LC4
	.word	.LC5
	.size	print_cubes, .-print_cubes
	.section	.rodata
	.align	2
.LC0:
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.word	5
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	canonical
	.syntax unified
	.arm
	.fpu softvfp
	.type	canonical, %function
canonical:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L29+4
	sub	ip, fp, #32
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L15
.L23:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L16
.L19:
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r2, [fp, #-36]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #3
	beq	.L28
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r2, [fp, #-36]
	ldr	r3, [r3, r2, lsl #2]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-28]
	cmp	r3, #5
	bne	.L18
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r2, [fp, #-36]
	ldr	r3, [r3, r2, lsl #2]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-40]
	str	r2, [r3, #-28]
	b	.L18
.L28:
	nop
.L18:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L16:
	ldr	r3, [fp, #-36]
	cmp	r3, #1
	ble	.L19
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #3
	ldr	r1, [fp, #-48]
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bge	.L20
	mov	r3, #1
	str	r3, [fp, #-44]
	b	.L21
.L20:
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #3
	ldr	r1, [fp, #-48]
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	cmp	r2, r3
	ble	.L21
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L21
	mov	r3, #0
	b	.L26
.L21:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L15:
	ldr	r3, [fp, #-40]
	cmp	r3, #3
	ble	.L23
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bgt	.L24
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bgt	.L24
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bgt	.L24
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bgt	.L24
	mov	r3, #1
	b	.L26
.L24:
	mov	r3, #0
.L26:
	ldr	r2, .L29
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC6
	.word	.LC0
	.size	canonical, .-canonical
	.section	.rodata
	.align	2
.LC7:
	.ascii	"3333333\000"
	.align	2
.LC8:
	.ascii	"7433333\000"
	.align	2
.LC9:
	.ascii	"%d\000"
	.align	2
.LC10:
	.ascii	"r\000"
	.align	2
.LC11:
	.ascii	"cubecover4.txt\000"
	.align	2
.LC12:
	.ascii	"index >= 0 && index < tot\000"
	.align	2
.LC13:
	.ascii	"%d %d %d\000"
	.align	2
.LC14:
	.ascii	"70*****\000"
	.align	2
.LC15:
	.ascii	"L >= 6\000"
	.align	2
.LC16:
	.ascii	"index >= 0\000"
	.align	2
.LC17:
	.ascii	"index <= at\000"
	.align	2
.LC18:
	.ascii	"index >= 0 && index <= S*S*S*S*S\000"
	.align	2
.LC19:
	.ascii	"37*****\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	generate_cubes
	.syntax unified
	.arm
	.fpu softvfp
	.type	generate_cubes, %function
generate_cubes:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	ldr	r3, .L61
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L61+4
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L61+4
	str	r2, [r1]
	lsl	r3, r3, #3
	ldr	r2, .L61+8
	add	r3, r3, r2
	ldr	r2, .L61+12
	mov	r0, r3
	mov	r1, r2
	mov	r3, #8
	mov	r2, r3
	bl	memcpy
	ldr	r3, .L61+4
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L61+4
	str	r2, [r1]
	lsl	r3, r3, #3
	ldr	r2, .L61+8
	add	r3, r3, r2
	ldr	r2, .L61+16
	mov	r0, r3
	mov	r1, r2
	mov	r3, #8
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #92
	mov	r1, r3
	ldr	r0, .L61+20
	bl	__isoc99_scanf
	ldr	r1, .L61+24
	ldr	r0, .L61+28
	bl	fopen
	str	r0, [fp, #-44]
	sub	r3, fp, #88
	mov	r2, r3
	ldr	r1, .L61+20
	ldr	r0, [fp, #-44]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-92]
	cmp	r3, #0
	blt	.L32
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-88]
	cmp	r2, r3
	blt	.L58
.L32:
	ldr	r3, .L61+32
	mov	r2, #62
	ldr	r1, .L61+36
	ldr	r0, .L61+40
	bl	__assert_fail
.L58:
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L34
.L38:
	sub	r3, fp, #84
	mov	r2, r3
	ldr	r1, .L61+20
	ldr	r0, [fp, #-44]
	bl	__isoc99_fscanf
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L35
.L37:
	sub	r3, fp, #40
	add	r1, r3, #4
	sub	r2, fp, #40
	sub	r3, fp, #40
	add	r3, r3, #8
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L61+44
	ldr	r0, [fp, #-44]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-92]
	ldr	r2, [fp, #-80]
	cmp	r2, r3
	bne	.L36
	ldr	r3, .L61+4
	ldr	r3, [r3]
	lsl	r3, r3, #3
	ldr	r2, .L61+8
	add	r3, r3, r2
	ldr	r2, .L61+48
	mov	r0, r3
	mov	r1, r2
	mov	r3, #8
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-40]
	and	r2, r3, #255
	ldr	r3, .L61+4
	ldr	r3, [r3]
	add	r2, r2, #48
	and	r1, r2, #255
	ldr	r2, .L61+8
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3, #4]
	ldr	r3, [fp, #-36]
	and	r2, r3, #255
	ldr	r3, .L61+4
	ldr	r3, [r3]
	add	r2, r2, #48
	and	r1, r2, #255
	ldr	r2, .L61+8
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3, #5]
	ldr	r3, [fp, #-32]
	and	r2, r3, #255
	ldr	r3, .L61+4
	ldr	r3, [r3]
	add	r2, r2, #48
	and	r1, r2, #255
	ldr	r2, .L61+8
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3, #6]
	ldr	r3, .L61+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L61+4
	str	r3, [r2]
.L36:
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L35:
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #-76]
	cmp	r2, r3
	blt	.L37
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L34:
	ldr	r3, [fp, #-88]
	ldr	r2, [fp, #-80]
	cmp	r2, r3
	blt	.L38
	ldr	r3, .L61+4
	ldr	r3, [r3]
	cmp	r3, #5
	bgt	.L39
	ldr	r3, .L61+32
	mov	r2, #79
	ldr	r1, .L61+36
	ldr	r0, .L61+52
	bl	__assert_fail
.L39:
	sub	r3, fp, #92
	mov	r1, r3
	ldr	r0, .L61+20
	bl	__isoc99_scanf
	ldr	r3, [fp, #-92]
	cmp	r3, #0
	bge	.L40
	ldr	r3, .L61+32
	mov	r2, #81
	ldr	r1, .L61+36
	ldr	r0, .L61+56
	bl	__assert_fail
.L40:
	mov	r3, #0
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-92]
	cmp	r3, #0
	ble	.L41
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L42
.L50:
	ldr	r3, [fp, #-68]
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L43
.L46:
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L44
.L45:
	ldr	r3, [fp, #-64]
	rsbs	r1, r3, #0
	and	r2, r3, #3
	and	r3, r1, #3
	rsbpl	r2, r3, #0
	ldr	r3, [fp, #-60]
	lsl	r1, r3, #1
	ldr	r3, [fp, #-56]
	add	r3, r1, r3
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-36]
	ldr	r3, [fp, #-64]
	add	r2, r3, #3
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #2
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L44:
	ldr	r3, [fp, #-56]
	cmp	r3, #1
	ble	.L45
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L43:
	ldr	r3, [fp, #-60]
	cmp	r3, #3
	ble	.L46
	sub	r3, fp, #40
	mov	r0, r3
	bl	canonical
	mov	r3, r0
	cmp	r3, #0
	beq	.L47
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-92]
	ldr	r2, [fp, #-72]
	cmp	r2, r3
	bne	.L47
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L48
.L49:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-36]
	and	r2, r3, #255
	ldr	r3, [fp, #-52]
	add	r3, r3, #2
	add	r2, r2, #48
	and	r1, r2, #255
	ldr	r2, .L61+8
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3, #2]
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-32]
	and	r2, r3, #255
	ldr	r3, [fp, #-52]
	add	r3, r3, #2
	add	r2, r2, #48
	and	r1, r2, #255
	ldr	r2, .L61+8
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3, #3]
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L48:
	ldr	r3, [fp, #-52]
	cmp	r3, #3
	ble	.L49
.L47:
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L42:
	ldr	r3, [fp, #-68]
	cmp	r3, #65536
	blt	.L50
	ldr	r3, [fp, #-92]
	ldr	r2, [fp, #-72]
	cmp	r2, r3
	bge	.L41
	ldr	r3, .L61+32
	mov	r2, #103
	ldr	r1, .L61+36
	ldr	r0, .L61+60
	bl	__assert_fail
.L41:
	sub	r3, fp, #92
	mov	r1, r3
	ldr	r0, .L61+20
	bl	__isoc99_scanf
	ldr	r3, [fp, #-92]
	cmp	r3, #0
	blt	.L52
	ldr	r3, [fp, #-92]
	cmp	r3, #1024
	ble	.L59
.L52:
	ldr	r3, .L61+32
	mov	r2, #108
	ldr	r1, .L61+36
	ldr	r0, .L61+64
	bl	__assert_fail
.L59:
	ldr	r3, [fp, #-92]
	cmp	r3, #0
	beq	.L60
	ldr	r3, [fp, #-92]
	sub	r3, r3, #1
	str	r3, [fp, #-92]
	ldr	r3, .L61+4
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L61+4
	str	r2, [r1]
	lsl	r3, r3, #3
	ldr	r2, .L61+8
	add	r3, r3, r2
	ldr	r2, .L61+68
	mov	r0, r3
	mov	r1, r2
	mov	r3, #8
	mov	r2, r3
	bl	memcpy
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L55
.L56:
	ldr	r3, [fp, #-92]
	rsbs	r2, r3, #0
	and	r3, r3, #3
	and	r2, r2, #3
	rsbpl	r3, r2, #0
	and	r1, r3, #255
	ldr	r3, .L61+4
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, [fp, #-48]
	add	r3, r3, #2
	add	r1, r1, #48
	and	r0, r1, #255
	ldr	r1, .L61+8
	lsl	r2, r2, #3
	add	r2, r1, r2
	add	r3, r2, r3
	mov	r2, r0
	strb	r2, [r3]
	ldr	r3, [fp, #-92]
	add	r2, r3, #3
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #2
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L55:
	ldr	r3, [fp, #-48]
	cmp	r3, #4
	ble	.L56
.L60:
	nop
	ldr	r3, .L61
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L57
	bl	__stack_chk_fail
.L57:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L62:
	.align	2
.L61:
	.word	.LC20
	.word	L
	.word	cubes
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	__PRETTY_FUNCTION__.4824
	.word	.LC1
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.size	generate_cubes, .-generate_cubes
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	generate_cubes
	bl	print_cubes
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.4796, %object
	.size	__PRETTY_FUNCTION__.4796, 12
__PRETTY_FUNCTION__.4796:
	.ascii	"print_cubes\000"
	.align	2
	.type	__PRETTY_FUNCTION__.4824, %object
	.size	__PRETTY_FUNCTION__.4824, 15
__PRETTY_FUNCTION__.4824:
	.ascii	"generate_cubes\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
