	.file	"729440.c"
	.intel_syntax noprefix
	.text
	.local	entries
	.comm	entries,4,4
	.local	depth_max
	.comm	depth_max,4,4
	.section	.rodata
	.align 8
.LC0:
	.string	"extern long FOO_%03d_%03d_%03d (long n, long m);\n"
.LC1:
	.string	"//\n"
.LC2:
	.string	"#include <stdio.h>\n"
.LC3:
	.string	"#include \"FOO.h\"\n"
	.align 8
.LC4:
	.string	"long FOO_%03d_%03d_%03d (long n, long m)\n"
.LC5:
	.string	"{\n"
.LC6:
	.string	"\tlong max_depth = %d;\n"
.LC7:
	.string	"\t__asm__( \n"
.LC8:
	.string	"\t\".align 64\\n\\t\"\n"
.LC9:
	.string	"\t);\n"
.LC10:
	.string	"\tif((long)(m+1) < max_depth)\n"
	.align 8
.LC11:
	.string	"\t\tFOO_%03d_%03d_%03d( n+1, m+1);\n"
.LC12:
	.string	"\treturn n;\n"
.LC13:
	.string	"}\n"
	.text
	.type	genC, @function
genC:
.LFB6:
	.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	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -28[rbp], edx
	mov	QWORD PTR -40[rbp], rcx
	mov	QWORD PTR -48[rbp], r8
	mov	QWORD PTR -56[rbp], r9
	mov	esi, DWORD PTR -28[rbp]
	mov	ecx, DWORD PTR -24[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	r8d, esi
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 3
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 3
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 19
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	esi, DWORD PTR -28[rbp]
	mov	ecx, DWORD PTR -24[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	r8d, esi
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	edx, DWORD PTR depth_max[rip]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 11
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 29
	mov	esi, 1
	lea	rdi, .LC10[rip]
	call	fwrite@PLT
	mov	esi, DWORD PTR -4[rbp]
	mov	ecx, DWORD PTR -24[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	r8d, esi
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 11
	mov	esi, 1
	lea	rdi, .LC12[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC13[rip]
	call	fwrite@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	genC, .-genC
	.section	.rodata
.LC14:
	.string	"w+"
.LC15:
	.string	"FOO.h"
.LC16:
	.string	"FOO_%03d_%03d_%03d.c"
	.text
	.type	create_source, @function
create_source:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 176
	mov	DWORD PTR -148[rbp], edi
	mov	DWORD PTR -152[rbp], esi
	mov	DWORD PTR -156[rbp], edx
	mov	QWORD PTR -168[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC14[rip]
	lea	rdi, .LC15[rip]
	call	fopen@PLT
	mov	QWORD PTR -128[rbp], rax
	mov	DWORD PTR -144[rbp], 0
	jmp	.L4
.L9:
	mov	DWORD PTR -140[rbp], 0
	jmp	.L5
.L8:
	mov	edx, DWORD PTR -156[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	get_rand
	mov	DWORD PTR -136[rbp], 0
	jmp	.L6
.L7:
	mov	esi, DWORD PTR -136[rbp]
	mov	ecx, DWORD PTR -140[rbp]
	mov	edx, DWORD PTR -144[rbp]
	lea	rax, -112[rbp]
	mov	r8d, esi
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -112[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -120[rbp], rax
	mov	r8, QWORD PTR -168[rbp]
	mov	rdi, QWORD PTR -128[rbp]
	mov	rcx, QWORD PTR -120[rbp]
	mov	edx, DWORD PTR -136[rbp]
	mov	esi, DWORD PTR -140[rbp]
	mov	eax, DWORD PTR -144[rbp]
	mov	r9, r8
	mov	r8, rdi
	mov	edi, eax
	call	genC
	mov	DWORD PTR -132[rbp], eax
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	DWORD PTR -132[rbp], eax
	add	DWORD PTR -136[rbp], 1
.L6:
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, DWORD PTR -156[rbp]
	jl	.L7
	add	DWORD PTR -140[rbp], 1
.L5:
	mov	eax, DWORD PTR -140[rbp]
	cmp	eax, DWORD PTR -152[rbp]
	jl	.L8
	add	DWORD PTR -144[rbp], 1
.L4:
	mov	eax, DWORD PTR -144[rbp]
	cmp	eax, DWORD PTR -148[rbp]
	jl	.L9
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	DWORD PTR -132[rbp], eax
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	create_source, .-create_source
	.section	.rodata
.LC17:
	.string	"FOO_main.c"
.LC18:
	.string	"#include <stdlib.h>\n"
	.align 8
.LC19:
	.string	"int main(int argc, char* argv[])\n"
.LC20:
	.string	"\tlong i=0, d=0;\n"
.LC21:
	.string	"\tlong j,k,loop;\n"
.LC22:
	.string	"\tloop=atol(argv[1]);\n"
.LC23:
	.string	"\tfor(k=0;k<loop;k++){\n"
.LC24:
	.string	"\t\td = 0;\n"
.LC25:
	.string	"\t\tFOO_%03d_%03d_%03d(i,d);\n"
.LC26:
	.string	"\t\ti += 1000;\n"
.LC27:
	.string	"\t}\n"
.LC28:
	.string	"\treturn 0;\n"
	.text
	.type	create_main, @function
create_main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 176
	mov	DWORD PTR -148[rbp], edi
	mov	DWORD PTR -152[rbp], esi
	mov	DWORD PTR -156[rbp], edx
	mov	QWORD PTR -168[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC14[rip]
	lea	rdi, .LC17[rip]
	call	fopen@PLT
	mov	QWORD PTR -120[rbp], rax
	mov	rax, QWORD PTR -120[rbp]
	mov	rcx, rax
	mov	edx, 3
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rcx, rax
	mov	edx, 3
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rcx, rax
	mov	edx, 19
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rcx, rax
	mov	edx, 20
	mov	esi, 1
	lea	rdi, .LC18[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rcx, rax
	mov	edx, 33
	mov	esi, 1
	lea	rdi, .LC19[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rcx, rax
	mov	edx, 16
	mov	esi, 1
	lea	rdi, .LC20[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rcx, rax
	mov	edx, 16
	mov	esi, 1
	lea	rdi, .LC21[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rcx, rax
	mov	edx, 21
	mov	esi, 1
	lea	rdi, .LC22[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC23[rip]
	call	fwrite@PLT
	mov	DWORD PTR -136[rbp], 0
	jmp	.L13
.L16:
	mov	DWORD PTR -132[rbp], 0
	jmp	.L14
.L15:
	mov	edx, DWORD PTR -136[rbp]
	mov	eax, DWORD PTR -132[rbp]
	add	eax, edx
	cdq
	idiv	DWORD PTR -156[rbp]
	mov	eax, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -124[rbp], eax
	mov	rax, QWORD PTR -120[rbp]
	mov	rcx, rax
	mov	edx, 9
	mov	esi, 1
	lea	rdi, .LC24[rip]
	call	fwrite@PLT
	mov	esi, DWORD PTR -124[rbp]
	mov	ecx, DWORD PTR -132[rbp]
	mov	edx, DWORD PTR -136[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	r8d, esi
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rcx, rax
	mov	edx, 13
	mov	esi, 1
	lea	rdi, .LC26[rip]
	call	fwrite@PLT
	add	DWORD PTR -132[rbp], 1
.L14:
	mov	eax, DWORD PTR -132[rbp]
	cmp	eax, DWORD PTR -152[rbp]
	jl	.L15
	add	DWORD PTR -136[rbp], 1
.L13:
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, DWORD PTR -148[rbp]
	jl	.L16
	mov	rax, QWORD PTR -120[rbp]
	mov	rcx, rax
	mov	edx, 3
	mov	esi, 1
	lea	rdi, .LC27[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rcx, rax
	mov	edx, 11
	mov	esi, 1
	lea	rdi, .LC28[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC13[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	DWORD PTR -128[rbp], eax
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	create_main, .-create_main
	.globl	get_rand
	.type	get_rand, @function
get_rand:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	jmp	.L20
.L21:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], -1
	add	DWORD PTR -20[rbp], 1
.L20:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L21
	mov	DWORD PTR -16[rbp], 0
.L28:
	add	DWORD PTR -12[rbp], 1
	call	rand@PLT
	mov	DWORD PTR -8[rbp], eax
.L24:
	call	rand@PLT
	cdq
	idiv	DWORD PTR -44[rbp]
	mov	DWORD PTR -4[rbp], edx
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, -1
	je	.L31
	jmp	.L24
.L31:
	nop
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, -1
	jne	.L25
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	je	.L25
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -16[rbp], eax
.L25:
	mov	edx, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	chk_full
	cmp	eax, 1
	jne	.L28
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	get_rand, .-get_rand
	.globl	chk_full
	.type	chk_full, @function
chk_full:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L33
.L35:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, -1
	jne	.L34
	add	DWORD PTR -8[rbp], 1
.L34:
	add	DWORD PTR -4[rbp], 1
.L33:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L35
	mov	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	chk_full, .-chk_full
	.section	.rodata
	.align 8
.LC29:
	.string	"generator needs three input numbers, argc = %d\n"
	.align 8
.LC30:
	.string	" max_s0 = %03d, max_chain = %03d, max_depth= %03d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	cmp	DWORD PTR -36[rbp], 3
	jg	.L38
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L38:
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -24[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -16[rbp], eax
	mov	ecx, DWORD PTR -16[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, eax
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR depth_max[rip], eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	edx, DWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	get_rand
	mov	rcx, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -16[rbp]
	mov	esi, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	mov	edi, eax
	call	create_source
	mov	DWORD PTR -12[rbp], eax
	mov	edx, DWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	get_rand
	mov	rcx, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -16[rbp]
	mov	esi, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	mov	edi, eax
	call	create_main
	mov	DWORD PTR -12[rbp], eax
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	main, .-main
	.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	"729440.c"
	.text
	.local	entries
	.comm	entries,4,4
	.local	depth_max
	.comm	depth_max,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"extern long FOO_%03d_%03d_%03d (long n, long m);\012"
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"//\012\000"
	.align	2
.LC2:
	.ascii	"#include <stdio.h>\012\000"
	.align	2
.LC3:
	.ascii	"#include \"FOO.h\"\012\000"
	.align	2
.LC4:
	.ascii	"long FOO_%03d_%03d_%03d (long n, long m)\012\000"
	.align	2
.LC5:
	.ascii	"{\012\000"
	.align	2
.LC6:
	.ascii	"\011long max_depth = %d;\012\000"
	.align	2
.LC7:
	.ascii	"\011__asm__( \012\000"
	.align	2
.LC8:
	.ascii	"\011\".align 64\\n\\t\"\012\000"
	.align	2
.LC9:
	.ascii	"\011);\012\000"
	.align	2
.LC10:
	.ascii	"\011if((long)(m+1) < max_depth)\012\000"
	.align	2
.LC11:
	.ascii	"\011\011FOO_%03d_%03d_%03d( n+1, m+1);\012\000"
	.align	2
.LC12:
	.ascii	"\011return n;\012\000"
	.align	2
.LC13:
	.ascii	"}\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	genC, %function
genC:
	@ args = 8, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r1, .L3
	ldr	r0, [fp, #4]
	bl	fprintf
	ldr	r3, [fp, #-28]
	mov	r2, #3
	mov	r1, #1
	ldr	r0, .L3+4
	bl	fwrite
	ldr	r3, [fp, #-28]
	mov	r2, #3
	mov	r1, #1
	ldr	r0, .L3+4
	bl	fwrite
	ldr	r3, [fp, #-28]
	mov	r2, #19
	mov	r1, #1
	ldr	r0, .L3+8
	bl	fwrite
	ldr	r3, [fp, #-28]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L3+12
	bl	fwrite
	ldr	r1, [fp, #-28]
	mov	r0, #10
	bl	fputc
	ldr	r3, [fp, #-24]
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r1, .L3+16
	ldr	r0, [fp, #-28]
	bl	fprintf
	ldr	r3, [fp, #-28]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L3+20
	bl	fwrite
	ldr	r3, .L3+24
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L3+28
	ldr	r0, [fp, #-28]
	bl	fprintf
	ldr	r3, [fp, #-28]
	mov	r2, #11
	mov	r1, #1
	ldr	r0, .L3+32
	bl	fwrite
	ldr	r3, [fp, #-28]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L3+36
	bl	fwrite
	ldr	r3, [fp, #-28]
	mov	r2, #4
	mov	r1, #1
	ldr	r0, .L3+40
	bl	fwrite
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #8]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-28]
	mov	r2, #29
	mov	r1, #1
	ldr	r0, .L3+44
	bl	fwrite
	ldr	r3, [fp, #-8]
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r1, .L3+48
	ldr	r0, [fp, #-28]
	bl	fprintf
	ldr	r3, [fp, #-28]
	mov	r2, #11
	mov	r1, #1
	ldr	r0, .L3+52
	bl	fwrite
	ldr	r3, [fp, #-28]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L3+56
	bl	fwrite
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	depth_max
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	genC, .-genC
	.section	.rodata
	.align	2
.LC14:
	.ascii	"w+\000"
	.align	2
.LC15:
	.ascii	"FOO.h\000"
	.align	2
.LC16:
	.ascii	"FOO_%03d_%03d_%03d.c\000"
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_source, %function
create_source:
	@ args = 0, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #152
	str	r0, [fp, #-136]
	str	r1, [fp, #-140]
	str	r2, [fp, #-144]
	str	r3, [fp, #-148]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L14+4
	ldr	r0, .L14+8
	bl	fopen
	str	r0, [fp, #-120]
	mov	r3, #0
	str	r3, [fp, #-132]
	b	.L6
.L11:
	mov	r3, #0
	str	r3, [fp, #-128]
	b	.L7
.L10:
	ldr	r1, [fp, #-144]
	ldr	r0, [fp, #-148]
	bl	get_rand
	mov	r3, #0
	str	r3, [fp, #-124]
	b	.L8
.L9:
	sub	r0, fp, #108
	ldr	r3, [fp, #-124]
	str	r3, [sp]
	ldr	r3, [fp, #-128]
	ldr	r2, [fp, #-132]
	ldr	r1, .L14+12
	bl	sprintf
	sub	r3, fp, #108
	ldr	r1, .L14+4
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-112]
	ldr	r3, [fp, #-148]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-120]
	str	r3, [sp]
	ldr	r3, [fp, #-112]
	ldr	r2, [fp, #-124]
	ldr	r1, [fp, #-128]
	ldr	r0, [fp, #-132]
	bl	genC
	str	r0, [fp, #-116]
	ldr	r0, [fp, #-112]
	bl	fclose
	str	r0, [fp, #-116]
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L8:
	ldr	r2, [fp, #-124]
	ldr	r3, [fp, #-144]
	cmp	r2, r3
	blt	.L9
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	str	r3, [fp, #-128]
.L7:
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	blt	.L10
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L6:
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-136]
	cmp	r2, r3
	blt	.L11
	ldr	r0, [fp, #-120]
	bl	fclose
	str	r0, [fp, #-116]
	mov	r3, #0
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC17
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.size	create_source, .-create_source
	.section	.rodata
	.align	2
.LC18:
	.ascii	"FOO_main.c\000"
	.align	2
.LC19:
	.ascii	"#include <stdlib.h>\012\000"
	.align	2
.LC20:
	.ascii	"int main(int argc, char* argv[])\012\000"
	.align	2
.LC21:
	.ascii	"\011long i=0, d=0;\012\000"
	.align	2
.LC22:
	.ascii	"\011long j,k,loop;\012\000"
	.align	2
.LC23:
	.ascii	"\011loop=atol(argv[1]);\012\000"
	.align	2
.LC24:
	.ascii	"\011for(k=0;k<loop;k++){\012\000"
	.global	__aeabi_idivmod
	.align	2
.LC25:
	.ascii	"\011\011d = 0;\012\000"
	.align	2
.LC26:
	.ascii	"\011\011FOO_%03d_%03d_%03d(i,d);\012\000"
	.align	2
.LC27:
	.ascii	"\011\011i += 1000;\012\000"
	.align	2
.LC28:
	.ascii	"\011}\012\000"
	.align	2
.LC29:
	.ascii	"\011return 0;\012\000"
	.align	2
.LC30:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_main, %function
create_main:
	@ args = 0, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #152
	str	r0, [fp, #-136]
	str	r1, [fp, #-140]
	str	r2, [fp, #-144]
	str	r3, [fp, #-148]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L23+4
	ldr	r0, .L23+8
	bl	fopen
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	mov	r2, #3
	mov	r1, #1
	ldr	r0, .L23+12
	bl	fwrite
	ldr	r3, [fp, #-120]
	mov	r2, #3
	mov	r1, #1
	ldr	r0, .L23+12
	bl	fwrite
	ldr	r3, [fp, #-120]
	mov	r2, #19
	mov	r1, #1
	ldr	r0, .L23+16
	bl	fwrite
	ldr	r3, [fp, #-120]
	mov	r2, #20
	mov	r1, #1
	ldr	r0, .L23+20
	bl	fwrite
	ldr	r3, [fp, #-120]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L23+24
	bl	fwrite
	ldr	r1, [fp, #-120]
	mov	r0, #10
	bl	fputc
	ldr	r3, [fp, #-120]
	mov	r2, #33
	mov	r1, #1
	ldr	r0, .L23+28
	bl	fwrite
	ldr	r3, [fp, #-120]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L23+32
	bl	fwrite
	ldr	r3, [fp, #-120]
	mov	r2, #16
	mov	r1, #1
	ldr	r0, .L23+36
	bl	fwrite
	ldr	r3, [fp, #-120]
	mov	r2, #16
	mov	r1, #1
	ldr	r0, .L23+40
	bl	fwrite
	ldr	r3, [fp, #-120]
	mov	r2, #21
	mov	r1, #1
	ldr	r0, .L23+44
	bl	fwrite
	ldr	r3, [fp, #-120]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L23+48
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-128]
	b	.L17
.L20:
	mov	r3, #0
	str	r3, [fp, #-124]
	b	.L18
.L19:
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-124]
	add	r3, r2, r3
	ldr	r1, [fp, #-144]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-148]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-120]
	mov	r2, #9
	mov	r1, #1
	ldr	r0, .L23+52
	bl	fwrite
	ldr	r3, [fp, #-112]
	str	r3, [sp]
	ldr	r3, [fp, #-124]
	ldr	r2, [fp, #-128]
	ldr	r1, .L23+56
	ldr	r0, [fp, #-120]
	bl	fprintf
	ldr	r3, [fp, #-120]
	mov	r2, #13
	mov	r1, #1
	ldr	r0, .L23+60
	bl	fwrite
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L18:
	ldr	r2, [fp, #-124]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	blt	.L19
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	str	r3, [fp, #-128]
.L17:
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-136]
	cmp	r2, r3
	blt	.L20
	ldr	r3, [fp, #-120]
	mov	r2, #3
	mov	r1, #1
	ldr	r0, .L23+64
	bl	fwrite
	ldr	r1, [fp, #-120]
	mov	r0, #10
	bl	fputc
	ldr	r3, [fp, #-120]
	mov	r2, #11
	mov	r1, #1
	ldr	r0, .L23+68
	bl	fwrite
	ldr	r3, [fp, #-120]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L23+72
	bl	fwrite
	ldr	r0, [fp, #-120]
	bl	fclose
	str	r0, [fp, #-116]
	mov	r3, #0
	ldr	r2, .L23
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC30
	.word	.LC14
	.word	.LC18
	.word	.LC1
	.word	.LC2
	.word	.LC19
	.word	.LC3
	.word	.LC20
	.word	.LC5
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC13
	.size	create_main, .-create_main
	.align	2
	.global	get_rand
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_rand, %function
get_rand:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L26
.L27:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L26:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L27
	mov	r3, #0
	str	r3, [fp, #-20]
.L34:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	bl	rand
	str	r0, [fp, #-12]
.L30:
	bl	rand
	mov	r3, r0
	ldr	r1, [fp, #-36]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmn	r3, #1
	beq	.L37
	b	.L30
.L37:
	nop
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L31
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	beq	.L31
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-20]
.L31:
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	chk_full
	mov	r3, r0
	cmp	r3, #1
	bne	.L34
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [fp, #-36]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	get_rand, .-get_rand
	.align	2
	.global	chk_full
	.syntax unified
	.arm
	.fpu softvfp
	.type	chk_full, %function
chk_full:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L39
.L41:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L40
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L40:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L39:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L41
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	chk_full, .-chk_full
	.section	.rodata
	.align	2
.LC31:
	.ascii	"generator needs three input numbers, argc = %d\012\000"
	.align	2
.LC32:
	.ascii	" max_s0 = %03d, max_chain = %03d, max_depth= %03d\012"
	.ascii	"\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, [fp, #-32]
	cmp	r3, #3
	bgt	.L44
	ldr	r1, [fp, #-32]
	ldr	r0, .L46
	bl	printf
	mov	r0, #1
	bl	exit
.L44:
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-36]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-24]
	ldr	r0, .L46+4
	bl	printf
	ldr	r2, .L46+8
	ldr	r3, [fp, #-16]
	str	r3, [r2]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-12]
	bl	get_rand
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-24]
	bl	create_source
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-12]
	bl	get_rand
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-24]
	bl	create_main
	str	r0, [fp, #-8]
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	.LC31
	.word	.LC32
	.word	depth_max
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
