	.file	"29563.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"rb"
.LC1:
	.string	"wb"
.LC2:
	.string	"%s.mtl"
.LC3:
	.string	"mtllib ./%s\n"
.LC4:
	.string	"%d vertices\n"
.LC5:
	.string	"drawCount: %d\n"
.LC6:
	.string	"faces: %d\n"
.LC7:
	.string	"0[a]: %d\n"
.LC8:
	.string	"0[b]: %d\n"
.LC9:
	.string	"0[c%d]: %d\n"
.LC10:
	.string	"0[d%d]: %d\n"
.LC11:
	.string	"%d indices\n"
.LC12:
	.string	"[%d] = 0x%08X [%d]\t\t%f\n"
.LC13:
	.string	"[%d] ="
.LC14:
	.string	" position: { %f %f %f }"
.LC15:
	.string	"v %f %f %f\n"
.LC16:
	.string	"vn %f %f %f\n"
.LC17:
	.string	", uv: { %f %f }"
.LC19:
	.string	"vt %f %f\n"
.LC20:
	.string	"unk0: 0x%08X (%d)\n"
.LC21:
	.string	"unk1: 0x%08X\n"
	.align 8
.LC22:
	.string	"[%d] = 0x%04X 0x%04X 0x%08X 0x%08X, indexCount: %d\n"
.LC23:
	.string	"g %s/draw%d\n"
.LC24:
	.string	"usemtl %s/texture%d\n"
.LC25:
	.string	"f %d/%d/%d %d/%d/%d %d/%d/%d\n"
.LC26:
	.string	"Total indexCount: %d / %d\n"
.LC27:
	.string	"Total faces: %d / %d\n"
.LC28:
	.string	"the_stack_data/29563.c"
	.align 8
.LC29:
	.string	"totalDrawIndexCount == header.indexCount"
.LC30:
	.string	"Reading tex at %d\n"
	.align 8
.LC31:
	.string	"[%d] = resource: %d, index: %d\n"
.LC32:
	.string	"newmtl %s/texture%d\n"
.LC33:
	.string	"map_Kd -s 1 1 %d-%d.tga\n"
.LC34:
	.string	"0x%08X [%d]\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.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, 456
	.cfi_offset 3, -24
	mov	DWORD PTR -452[rbp], edi
	mov	QWORD PTR -464[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -464[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -400[rbp], rax
	mov	rax, QWORD PTR -464[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -392[rbp], rax
	mov	rax, QWORD PTR -400[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -384[rbp], rax
	mov	rax, QWORD PTR -400[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 4
	lea	rdx, 8[rax]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L2:
	cmp	rsp, rdx
	je	.L3
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L2
.L3:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L4
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L4:
	mov	rax, rsp
	add	rax, 15
	shr	rax, 4
	sal	rax, 4
	mov	QWORD PTR -376[rbp], rax
	mov	rdx, QWORD PTR -400[rbp]
	mov	rax, QWORD PTR -376[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	rax, QWORD PTR -376[rbp]
	mov	rdi, rax
	call	__xpg_basename@PLT
	mov	QWORD PTR -368[rbp], rax
	mov	rdx, QWORD PTR -368[rbp]
	mov	rax, QWORD PTR -384[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -288[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 264
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -276[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -64[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -264[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -280[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -272[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -440[rbp], 0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -440[rbp]
	add	rax, 4
	mov	edx, DWORD PTR -276[rbp+rax*4]
	mov	eax, DWORD PTR -440[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -440[rbp], 1
.L5:
	cmp	DWORD PTR -440[rbp], 3
	jbe	.L6
	mov	DWORD PTR -436[rbp], 0
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -436[rbp]
	add	rax, 56
	mov	edx, DWORD PTR -276[rbp+rax*4]
	mov	eax, DWORD PTR -436[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -436[rbp], 1
.L7:
	cmp	DWORD PTR -436[rbp], 6
	jbe	.L8
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -432[rbp], 0
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -432[rbp]
	add	rax, 8
	mov	eax, DWORD PTR -276[rbp+rax*4]
	mov	DWORD PTR -444[rbp], eax
	lea	rax, -444[rbp]
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rsi, xmm3
	mov	ecx, DWORD PTR -444[rbp]
	mov	edx, DWORD PTR -444[rbp]
	mov	eax, DWORD PTR -432[rbp]
	movq	xmm0, rsi
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -432[rbp], 1
.L9:
	cmp	DWORD PTR -432[rbp], 44
	jbe	.L10
	mov	BYTE PTR -445[rbp], 0
	movzx	edx, BYTE PTR -445[rbp]
	mov	eax, DWORD PTR -288[rbp]
	cmp	eax, 4161
	jne	.L11
	mov	eax, DWORD PTR -268[rbp]
	cmp	eax, 8193
	jne	.L11
	mov	eax, 1
	jmp	.L12
.L11:
	mov	eax, 0
.L12:
	or	eax, edx
	test	eax, eax
	setne	al
	mov	BYTE PTR -445[rbp], al
	movzx	edx, BYTE PTR -445[rbp]
	mov	eax, DWORD PTR -288[rbp]
	cmp	eax, 4163
	jne	.L13
	mov	eax, DWORD PTR -268[rbp]
	cmp	eax, 8193
	jne	.L13
	mov	eax, 1
	jmp	.L14
.L13:
	mov	eax, 0
.L14:
	or	eax, edx
	test	eax, eax
	setne	al
	mov	BYTE PTR -445[rbp], al
	movzx	edx, BYTE PTR -445[rbp]
	mov	eax, DWORD PTR -288[rbp]
	cmp	eax, 4163
	jne	.L15
	mov	eax, DWORD PTR -268[rbp]
	cmp	eax, 6561793
	jne	.L15
	mov	eax, 1
	jmp	.L16
.L15:
	mov	eax, 0
.L16:
	or	eax, edx
	test	eax, eax
	setne	al
	mov	BYTE PTR -445[rbp], al
	movzx	edx, BYTE PTR -445[rbp]
	mov	eax, DWORD PTR -288[rbp]
	cmp	eax, 4161
	jne	.L17
	mov	eax, DWORD PTR -268[rbp]
	cmp	eax, 504963073
	jne	.L17
	mov	eax, 1
	jmp	.L18
.L17:
	mov	eax, 0
.L18:
	or	eax, edx
	test	eax, eax
	setne	al
	mov	BYTE PTR -445[rbp], al
	movzx	edx, BYTE PTR -445[rbp]
	mov	eax, DWORD PTR -288[rbp]
	cmp	eax, 4163
	jne	.L19
	mov	eax, DWORD PTR -268[rbp]
	cmp	eax, 507256833
	jne	.L19
	mov	eax, 1
	jmp	.L20
.L19:
	mov	eax, 0
.L20:
	or	eax, edx
	test	eax, eax
	setne	al
	mov	BYTE PTR -445[rbp], al
	movzx	edx, BYTE PTR -445[rbp]
	mov	eax, DWORD PTR -288[rbp]
	cmp	eax, 4163
	jne	.L21
	mov	eax, DWORD PTR -268[rbp]
	cmp	eax, 253304833
	jne	.L21
	mov	eax, 1
	jmp	.L22
.L21:
	mov	eax, 0
.L22:
	or	eax, edx
	test	eax, eax
	setne	al
	mov	BYTE PTR -445[rbp], al
	movzx	edx, BYTE PTR -445[rbp]
	mov	eax, DWORD PTR -288[rbp]
	cmp	eax, 4163
	jne	.L23
	mov	eax, DWORD PTR -268[rbp]
	cmp	eax, 252977153
	jne	.L23
	mov	eax, 1
	jmp	.L24
.L23:
	mov	eax, 0
.L24:
	or	eax, edx
	test	eax, eax
	setne	al
	mov	BYTE PTR -445[rbp], al
	movzx	edx, BYTE PTR -445[rbp]
	mov	eax, DWORD PTR -288[rbp]
	cmp	eax, 4291
	jne	.L25
	mov	eax, DWORD PTR -268[rbp]
	cmp	eax, 8193
	jne	.L25
	mov	eax, 1
	jmp	.L26
.L25:
	mov	eax, 0
.L26:
	or	eax, edx
	test	eax, eax
	setne	al
	mov	BYTE PTR -445[rbp], al
	movzx	edx, BYTE PTR -445[rbp]
	mov	eax, DWORD PTR -288[rbp]
	cmp	eax, 69699
	jne	.L27
	mov	eax, DWORD PTR -268[rbp]
	cmp	eax, 8193
	jne	.L27
	mov	eax, 1
	jmp	.L28
.L27:
	mov	eax, 0
.L28:
	or	eax, edx
	test	eax, eax
	setne	al
	mov	BYTE PTR -445[rbp], al
	movzx	edx, BYTE PTR -445[rbp]
	mov	eax, DWORD PTR -288[rbp]
	cmp	eax, 4162
	jne	.L29
	mov	eax, DWORD PTR -268[rbp]
	cmp	eax, 8193
	jne	.L29
	mov	eax, 1
	jmp	.L30
.L29:
	mov	eax, 0
.L30:
	or	eax, edx
	test	eax, eax
	setne	al
	mov	BYTE PTR -445[rbp], al
	movzx	edx, BYTE PTR -445[rbp]
	mov	eax, DWORD PTR -288[rbp]
	cmp	eax, 4163
	jne	.L31
	mov	eax, DWORD PTR -268[rbp]
	cmp	eax, 1175068673
	jne	.L31
	mov	eax, 1
	jmp	.L32
.L31:
	mov	eax, 0
.L32:
	or	eax, edx
	test	eax, eax
	setne	al
	mov	BYTE PTR -445[rbp], al
	movzx	edx, BYTE PTR -445[rbp]
	mov	eax, DWORD PTR -288[rbp]
	cmp	eax, 4163
	jne	.L33
	mov	eax, DWORD PTR -268[rbp]
	cmp	eax, 252649473
	jne	.L33
	mov	eax, 1
	jmp	.L34
.L33:
	mov	eax, 0
.L34:
	or	eax, edx
	test	eax, eax
	setne	al
	mov	BYTE PTR -445[rbp], al
	movzx	edx, BYTE PTR -445[rbp]
	mov	eax, DWORD PTR -288[rbp]
	cmp	eax, 4163
	jne	.L35
	mov	eax, DWORD PTR -268[rbp]
	cmp	eax, 253960193
	jne	.L35
	mov	eax, 1
	jmp	.L36
.L35:
	mov	eax, 0
.L36:
	or	eax, edx
	test	eax, eax
	setne	al
	mov	BYTE PTR -445[rbp], al
	movzx	edx, BYTE PTR -445[rbp]
	mov	eax, DWORD PTR -288[rbp]
	cmp	eax, 4163
	jne	.L37
	mov	eax, DWORD PTR -268[rbp]
	cmp	eax, 1318913
	jne	.L37
	mov	eax, 1
	jmp	.L38
.L37:
	mov	eax, 0
.L38:
	or	eax, edx
	test	eax, eax
	setne	al
	mov	BYTE PTR -445[rbp], al
	movzx	edx, BYTE PTR -445[rbp]
	mov	eax, DWORD PTR -288[rbp]
	cmp	eax, 4163
	jne	.L39
	mov	eax, DWORD PTR -268[rbp]
	cmp	eax, 86188033
	jne	.L39
	mov	eax, 1
	jmp	.L40
.L39:
	mov	eax, 0
.L40:
	or	eax, edx
	test	eax, eax
	setne	al
	mov	BYTE PTR -445[rbp], al
	movzx	edx, BYTE PTR -445[rbp]
	mov	eax, DWORD PTR -288[rbp]
	cmp	eax, 4161
	jne	.L41
	mov	eax, DWORD PTR -268[rbp]
	cmp	eax, 504307713
	jne	.L41
	mov	eax, 1
	jmp	.L42
.L41:
	mov	eax, 0
.L42:
	or	eax, edx
	test	eax, eax
	setne	al
	mov	BYTE PTR -445[rbp], al
	movzx	edx, BYTE PTR -445[rbp]
	mov	eax, DWORD PTR -288[rbp]
	cmp	eax, 4163
	jne	.L43
	mov	eax, DWORD PTR -268[rbp]
	cmp	eax, 840835073
	jne	.L43
	mov	eax, 1
	jmp	.L44
.L43:
	mov	eax, 0
.L44:
	or	eax, edx
	test	eax, eax
	setne	al
	mov	BYTE PTR -445[rbp], al
	movzx	edx, BYTE PTR -445[rbp]
	mov	eax, DWORD PTR -288[rbp]
	cmp	eax, 4163
	jne	.L45
	mov	eax, DWORD PTR -268[rbp]
	cmp	eax, 256581633
	jne	.L45
	mov	eax, 1
	jmp	.L46
.L45:
	mov	eax, 0
.L46:
	or	eax, edx
	test	eax, eax
	setne	al
	mov	BYTE PTR -445[rbp], al
	mov	DWORD PTR -428[rbp], 0
	jmp	.L47
.L49:
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -348[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 12
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -428[rbp]
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	movss	xmm0, DWORD PTR -340[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movss	xmm0, DWORD PTR -344[rbp]
	cvtss2sd	xmm0, xmm0
	movss	xmm2, DWORD PTR -348[rbp]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm2
	movq	rax, xmm4
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC14[rip]
	mov	eax, 3
	call	printf@PLT
	movss	xmm0, DWORD PTR -340[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movss	xmm0, DWORD PTR -344[rbp]
	cvtss2sd	xmm0, xmm0
	movss	xmm2, DWORD PTR -348[rbp]
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, xmm2
	movq	rdx, xmm5
	mov	rax, QWORD PTR -384[rbp]
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 3
	call	fprintf@PLT
	cmp	BYTE PTR -445[rbp], 0
	je	.L48
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -336[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 12
	mov	rdi, rax
	call	fread@PLT
	movss	xmm0, DWORD PTR -328[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movss	xmm0, DWORD PTR -332[rbp]
	cvtss2sd	xmm0, xmm0
	movss	xmm2, DWORD PTR -336[rbp]
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, xmm2
	movq	rdx, xmm6
	mov	rax, QWORD PTR -384[rbp]
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 3
	call	fprintf@PLT
.L48:
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -336[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 8
	mov	rdi, rax
	call	fread@PLT
	movss	xmm0, DWORD PTR -332[rbp]
	cvtss2sd	xmm0, xmm0
	movss	xmm1, DWORD PTR -336[rbp]
	pxor	xmm7, xmm7
	cvtss2sd	xmm7, xmm1
	movq	rax, xmm7
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC17[rip]
	mov	eax, 2
	call	printf@PLT
	movss	xmm0, DWORD PTR -332[rbp]
	movss	xmm1, DWORD PTR .LC18[rip]
	xorps	xmm0, xmm1
	cvtss2sd	xmm0, xmm0
	movss	xmm1, DWORD PTR -336[rbp]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm1
	movq	rdx, xmm3
	mov	rax, QWORD PTR -384[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 2
	call	fprintf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	rax, QWORD PTR -384[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	add	DWORD PTR -428[rbp], 1
.L47:
	mov	eax, DWORD PTR -276[rbp]
	cmp	DWORD PTR -428[rbp], eax
	jb	.L49
	mov	eax, DWORD PTR -56[rbp]
	add	eax, eax
	mov	eax, eax
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -360[rbp], rax
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, eax
	mov	rdx, QWORD PTR -392[rbp]
	mov	rax, QWORD PTR -360[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	mov	esi, 2
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -424[rbp], 0
	mov	DWORD PTR -420[rbp], 0
	mov	edx, DWORD PTR -288[rbp]
	mov	eax, DWORD PTR -288[rbp]
	mov	esi, eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -268[rbp]
	mov	esi, eax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -416[rbp], 0
	mov	DWORD PTR -412[rbp], 0
	jmp	.L50
.L59:
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -336[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 16
	mov	rdi, rax
	call	fread@PLT
	mov	esi, DWORD PTR -324[rbp]
	mov	r8d, DWORD PTR -328[rbp]
	mov	edi, DWORD PTR -332[rbp]
	movzx	eax, WORD PTR -334[rbp]
	movzx	ecx, ax
	movzx	eax, WORD PTR -336[rbp]
	movzx	edx, ax
	mov	eax, DWORD PTR -412[rbp]
	sub	rsp, 8
	push	rsi
	mov	r9d, r8d
	mov	r8d, edi
	mov	esi, eax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	mov	rax, QWORD PTR -400[rbp]
	mov	rdi, rax
	call	__xpg_basename@PLT
	mov	rsi, rax
	mov	edx, DWORD PTR -412[rbp]
	mov	rax, QWORD PTR -384[rbp]
	mov	ecx, edx
	mov	rdx, rsi
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	movzx	eax, WORD PTR -336[rbp]
	movzx	ecx, ax
	mov	rdx, QWORD PTR -368[rbp]
	mov	rax, QWORD PTR -384[rbp]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -408[rbp], 0
	jmp	.L51
.L58:
	mov	eax, DWORD PTR b.3[rip]
	mov	DWORD PTR a.2[rip], eax
	mov	eax, DWORD PTR c.1[rip]
	mov	DWORD PTR b.3[rip], eax
	mov	eax, DWORD PTR -416[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -416[rbp], edx
	mov	eax, eax
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -360[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	add	eax, 1
	mov	DWORD PTR c.1[rip], eax
	cmp	DWORD PTR -408[rbp], 1
	jbe	.L67
	mov	edx, DWORD PTR a.2[rip]
	mov	eax, DWORD PTR b.3[rip]
	cmp	edx, eax
	je	.L68
	mov	edx, DWORD PTR a.2[rip]
	mov	eax, DWORD PTR c.1[rip]
	cmp	edx, eax
	je	.L68
	mov	edx, DWORD PTR b.3[rip]
	mov	eax, DWORD PTR c.1[rip]
	cmp	edx, eax
	je	.L68
	mov	eax, DWORD PTR -408[rbp]
	and	eax, 1
	test	eax, eax
	je	.L56
	mov	r10d, DWORD PTR c.1[rip]
	mov	r9d, DWORD PTR c.1[rip]
	mov	r8d, DWORD PTR c.1[rip]
	mov	edi, DWORD PTR b.3[rip]
	mov	esi, DWORD PTR b.3[rip]
	mov	ebx, DWORD PTR b.3[rip]
	mov	r11d, DWORD PTR a.2[rip]
	mov	ecx, DWORD PTR a.2[rip]
	mov	edx, DWORD PTR a.2[rip]
	mov	rax, QWORD PTR -384[rbp]
	sub	rsp, 8
	push	r10
	push	r9
	push	r8
	push	rdi
	push	rsi
	mov	r9d, ebx
	mov	r8d, r11d
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 48
	jmp	.L57
.L56:
	mov	r10d, DWORD PTR c.1[rip]
	mov	r9d, DWORD PTR c.1[rip]
	mov	r8d, DWORD PTR c.1[rip]
	mov	edi, DWORD PTR a.2[rip]
	mov	esi, DWORD PTR a.2[rip]
	mov	ebx, DWORD PTR a.2[rip]
	mov	r11d, DWORD PTR b.3[rip]
	mov	ecx, DWORD PTR b.3[rip]
	mov	edx, DWORD PTR b.3[rip]
	mov	rax, QWORD PTR -384[rbp]
	sub	rsp, 8
	push	r10
	push	r9
	push	r8
	push	rdi
	push	rsi
	mov	r9d, ebx
	mov	r8d, r11d
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 48
.L57:
	add	DWORD PTR -420[rbp], 1
	jmp	.L53
.L67:
	nop
	jmp	.L53
.L68:
	nop
.L53:
	add	DWORD PTR -408[rbp], 1
.L51:
	mov	eax, DWORD PTR -324[rbp]
	cmp	DWORD PTR -408[rbp], eax
	jb	.L58
	mov	eax, DWORD PTR -324[rbp]
	add	DWORD PTR -424[rbp], eax
	add	DWORD PTR -412[rbp], 1
.L50:
	mov	eax, DWORD PTR -64[rbp]
	cmp	DWORD PTR -412[rbp], eax
	jb	.L59
	mov	rax, QWORD PTR -360[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	edx, DWORD PTR -56[rbp]
	mov	eax, DWORD PTR -424[rbp]
	mov	esi, eax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -264[rbp]
	mov	eax, DWORD PTR -420[rbp]
	mov	esi, eax
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -56[rbp]
	cmp	DWORD PTR -424[rbp], eax
	je	.L60
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 205
	lea	rsi, .LC28[rip]
	lea	rdi, .LC29[rip]
	call	__assert_fail@PLT
.L60:
	mov	rax, QWORD PTR -384[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -376[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -384[rbp], rax
	mov	DWORD PTR -404[rbp], 0
	jmp	.L61
.L62:
	mov	rax, QWORD PTR -392[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	rsi, rax
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -320[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 24
	mov	rdi, rax
	call	fread@PLT
	movzx	eax, WORD PTR -320[rbp]
	movzx	ecx, ax
	movzx	eax, WORD PTR -318[rbp]
	movzx	edx, ax
	mov	eax, DWORD PTR -404[rbp]
	mov	esi, eax
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	printf@PLT
	mov	ecx, DWORD PTR -404[rbp]
	mov	rdx, QWORD PTR -368[rbp]
	mov	rax, QWORD PTR -384[rbp]
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	movzx	eax, WORD PTR -320[rbp]
	movzx	ecx, ax
	movzx	eax, WORD PTR -318[rbp]
	movzx	edx, ax
	mov	rax, QWORD PTR -384[rbp]
	lea	rsi, .LC33[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -404[rbp], 1
.L61:
	mov	eax, DWORD PTR -284[rbp]
	cmp	DWORD PTR -404[rbp], eax
	jb	.L62
	jmp	.L63
.L64:
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -444[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	edx, DWORD PTR -444[rbp]
	mov	eax, DWORD PTR -444[rbp]
	mov	esi, eax
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
.L63:
	mov	rax, QWORD PTR -392[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L64
	mov	rax, QWORD PTR -392[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -384[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L66
	call	__stack_chk_fail@PLT
.L66:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.local	b.3
	.comm	b.3,4,4
	.local	a.2
	.comm	a.2,4,4
	.local	c.1
	.comm	c.1,4,4
	.section	.rodata
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"main"
	.align 16
.LC18:
	.long	-2147483648
	.long	0
	.long	0
	.long	0
	.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	"29563.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"rb\000"
	.align	2
.LC1:
	.ascii	"wb\000"
	.align	2
.LC2:
	.ascii	"%s.mtl\000"
	.align	2
.LC3:
	.ascii	"mtllib ./%s\012\000"
	.align	2
.LC4:
	.ascii	"%d vertices\012\000"
	.align	2
.LC5:
	.ascii	"drawCount: %d\012\000"
	.align	2
.LC6:
	.ascii	"faces: %d\012\000"
	.align	2
.LC7:
	.ascii	"0[a]: %d\012\000"
	.align	2
.LC8:
	.ascii	"0[b]: %d\012\000"
	.align	2
.LC9:
	.ascii	"0[c%d]: %d\012\000"
	.align	2
.LC10:
	.ascii	"0[d%d]: %d\012\000"
	.align	2
.LC11:
	.ascii	"%d indices\012\000"
	.global	__aeabi_f2d
	.align	2
.LC12:
	.ascii	"[%d] = 0x%08X [%d]\011\011%f\012\000"
	.align	2
.LC13:
	.ascii	"[%d] =\000"
	.align	2
.LC14:
	.ascii	" position: { %f %f %f }\000"
	.align	2
.LC15:
	.ascii	"v %f %f %f\012\000"
	.align	2
.LC16:
	.ascii	"vn %f %f %f\012\000"
	.align	2
.LC17:
	.ascii	", uv: { %f %f }\000"
	.align	2
.LC18:
	.ascii	"vt %f %f\012\000"
	.align	2
.LC19:
	.ascii	"unk0: 0x%08X (%d)\012\000"
	.align	2
.LC20:
	.ascii	"unk1: 0x%08X\012\000"
	.align	2
.LC21:
	.ascii	"[%d] = 0x%04X 0x%04X 0x%08X 0x%08X, indexCount: %d\012"
	.ascii	"\000"
	.align	2
.LC22:
	.ascii	"g %s/draw%d\012\000"
	.align	2
.LC23:
	.ascii	"usemtl %s/texture%d\012\000"
	.align	2
.LC24:
	.ascii	"f %d/%d/%d %d/%d/%d %d/%d/%d\012\000"
	.align	2
.LC25:
	.ascii	"Total indexCount: %d / %d\012\000"
	.align	2
.LC26:
	.ascii	"Total faces: %d / %d\012\000"
	.align	2
.LC27:
	.ascii	"the_stack_data/29563.c\000"
	.align	2
.LC28:
	.ascii	"totalDrawIndexCount == header.indexCount\000"
	.align	2
.LC29:
	.ascii	"Reading tex at %d\012\000"
	.align	2
.LC30:
	.ascii	"[%d] = resource: %d, index: %d\012\000"
	.align	2
.LC31:
	.ascii	"newmtl %s/texture%d\012\000"
	.align	2
.LC32:
	.ascii	"map_Kd -s 1 1 %d-%d.tga\012\000"
	.align	2
.LC33:
	.ascii	"0x%08X [%d]\012\000"
	.align	2
.LC34:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 400
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #432
	str	r0, [fp, #-416]
	str	r1, [fp, #-420]
	ldr	r3, .L66
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldr	r3, [fp, #-420]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-364]
	ldr	r3, [fp, #-420]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L66+4
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-360]
	ldr	r1, .L66+8
	ldr	r0, [fp, #-364]
	bl	fopen
	str	r0, [fp, #-356]
	ldr	r0, [fp, #-364]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #4
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #32
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-352]
	ldr	r2, [fp, #-364]
	ldr	r1, .L66+12
	ldr	r0, [fp, #-352]
	bl	sprintf
	ldr	r0, [fp, #-352]
	bl	__xpg_basename
	str	r0, [fp, #-348]
	ldr	r2, [fp, #-348]
	ldr	r1, .L66+16
	ldr	r0, [fp, #-356]
	bl	fprintf
	sub	r0, fp, #288
	ldr	r3, [fp, #-360]
	mov	r2, #1
	mov	r1, #264
	bl	fread
	ldr	r3, [fp, #-276]
	mov	r1, r3
	ldr	r0, .L66+20
	bl	printf
	ldr	r3, [fp, #-64]
	mov	r1, r3
	ldr	r0, .L66+24
	bl	printf
	ldr	r3, [fp, #-264]
	mov	r1, r3
	ldr	r0, .L66+28
	bl	printf
	ldr	r3, [fp, #-280]
	mov	r1, r3
	ldr	r0, .L66+32
	bl	printf
	ldr	r3, [fp, #-272]
	mov	r1, r3
	ldr	r0, .L66+36
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-404]
	b	.L2
.L3:
	ldr	r3, [fp, #-404]
	add	r3, r3, #6
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-264]
	mov	r2, r3
	ldr	r1, [fp, #-404]
	ldr	r0, .L66+40
	bl	printf
	ldr	r3, [fp, #-404]
	add	r3, r3, #1
	str	r3, [fp, #-404]
.L2:
	ldr	r3, [fp, #-404]
	cmp	r3, #3
	bls	.L3
	mov	r3, #0
	str	r3, [fp, #-400]
	b	.L4
.L5:
	ldr	r3, [fp, #-400]
	add	r3, r3, #58
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-264]
	mov	r2, r3
	ldr	r1, [fp, #-400]
	ldr	r0, .L66+44
	bl	printf
	ldr	r3, [fp, #-400]
	add	r3, r3, #1
	str	r3, [fp, #-400]
.L4:
	ldr	r3, [fp, #-400]
	cmp	r3, #6
	bls	.L5
	ldr	r3, [fp, #-56]
	mov	r1, r3
	ldr	r0, .L66+48
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-396]
	b	.L6
.L7:
	ldr	r3, [fp, #-396]
	add	r3, r3, #10
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-264]
	str	r3, [fp, #-408]
	ldr	r4, [fp, #-408]
	ldr	r5, [fp, #-408]
	sub	r3, fp, #408
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r3, r5
	mov	r2, r4
	ldr	r1, [fp, #-396]
	ldr	r0, .L66+52
	bl	printf
	ldr	r3, [fp, #-396]
	add	r3, r3, #1
	str	r3, [fp, #-396]
.L6:
	ldr	r3, [fp, #-396]
	cmp	r3, #44
	bls	.L7
	mov	r3, #0
	strb	r3, [fp, #-409]
	ldrb	r3, [fp, #-409]	@ zero_extendqisi2
	ldr	r2, [fp, #-288]
	ldr	r1, .L66+56
	cmp	r2, r1
	bne	.L8
	ldr	r2, [fp, #-268]
	ldr	r1, .L66+60
	cmp	r2, r1
	bne	.L8
	mov	r2, #1
	b	.L9
.L8:
	mov	r2, #0
.L9:
	orr	r3, r2, r3
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	strb	r3, [fp, #-409]
	ldrb	r3, [fp, #-409]	@ zero_extendqisi2
	ldr	r2, [fp, #-288]
	ldr	r1, .L66+64
	cmp	r2, r1
	bne	.L10
	ldr	r2, [fp, #-268]
	ldr	r1, .L66+60
	cmp	r2, r1
	bne	.L10
	mov	r2, #1
	b	.L11
.L10:
	mov	r2, #0
.L11:
	orr	r3, r2, r3
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	strb	r3, [fp, #-409]
	ldrb	r3, [fp, #-409]	@ zero_extendqisi2
	ldr	r2, [fp, #-288]
	ldr	r1, .L66+64
	cmp	r2, r1
	bne	.L12
	ldr	r2, [fp, #-268]
	ldr	r1, .L66+68
	cmp	r2, r1
	bne	.L12
	mov	r2, #1
	b	.L13
.L12:
	mov	r2, #0
.L13:
	orr	r3, r2, r3
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	strb	r3, [fp, #-409]
	ldrb	r3, [fp, #-409]	@ zero_extendqisi2
	ldr	r2, [fp, #-288]
	ldr	r1, .L66+56
	cmp	r2, r1
	bne	.L14
	ldr	r2, [fp, #-268]
	ldr	r1, .L66+72
	cmp	r2, r1
	bne	.L14
	mov	r2, #1
	b	.L15
.L14:
	mov	r2, #0
.L15:
	orr	r3, r2, r3
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	strb	r3, [fp, #-409]
	ldrb	r3, [fp, #-409]	@ zero_extendqisi2
	ldr	r2, [fp, #-288]
	ldr	r1, .L66+64
	cmp	r2, r1
	bne	.L16
	ldr	r2, [fp, #-268]
	ldr	r1, .L66+76
	cmp	r2, r1
	bne	.L16
	mov	r2, #1
	b	.L17
.L16:
	mov	r2, #0
.L17:
	orr	r3, r2, r3
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	strb	r3, [fp, #-409]
	ldrb	r3, [fp, #-409]	@ zero_extendqisi2
	ldr	r2, [fp, #-288]
	ldr	r1, .L66+64
	cmp	r2, r1
	bne	.L18
	ldr	r2, [fp, #-268]
	ldr	r1, .L66+80
	cmp	r2, r1
	bne	.L18
	mov	r2, #1
	b	.L19
.L18:
	mov	r2, #0
.L19:
	orr	r3, r2, r3
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	strb	r3, [fp, #-409]
	ldrb	r3, [fp, #-409]	@ zero_extendqisi2
	ldr	r2, [fp, #-288]
	ldr	r1, .L66+64
	cmp	r2, r1
	bne	.L20
	ldr	r2, [fp, #-268]
	ldr	r1, .L66+84
	cmp	r2, r1
	bne	.L20
	mov	r2, #1
	b	.L21
.L20:
	mov	r2, #0
.L21:
	orr	r3, r2, r3
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	strb	r3, [fp, #-409]
	ldrb	r3, [fp, #-409]	@ zero_extendqisi2
	ldr	r2, [fp, #-288]
	ldr	r1, .L66+88
	cmp	r2, r1
	bne	.L22
	ldr	r2, [fp, #-268]
	ldr	r1, .L66+60
	cmp	r2, r1
	bne	.L22
	mov	r2, #1
	b	.L23
.L22:
	mov	r2, #0
.L23:
	orr	r3, r2, r3
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	strb	r3, [fp, #-409]
	ldrb	r3, [fp, #-409]	@ zero_extendqisi2
	ldr	r2, [fp, #-288]
	ldr	r1, .L66+92
	cmp	r2, r1
	bne	.L24
	ldr	r2, [fp, #-268]
	ldr	r1, .L66+60
	cmp	r2, r1
	bne	.L24
	mov	r2, #1
	b	.L25
.L24:
	mov	r2, #0
.L25:
	orr	r3, r2, r3
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	strb	r3, [fp, #-409]
	ldrb	r3, [fp, #-409]	@ zero_extendqisi2
	ldr	r2, [fp, #-288]
	ldr	r1, .L66+96
	cmp	r2, r1
	bne	.L26
	ldr	r2, [fp, #-268]
	ldr	r1, .L66+60
	cmp	r2, r1
	bne	.L26
	mov	r2, #1
	b	.L27
.L26:
	mov	r2, #0
.L27:
	orr	r3, r2, r3
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	strb	r3, [fp, #-409]
	ldrb	r3, [fp, #-409]	@ zero_extendqisi2
	ldr	r2, [fp, #-288]
	ldr	r1, .L66+64
	cmp	r2, r1
	bne	.L28
	ldr	r2, [fp, #-268]
	ldr	r1, .L66+100
	cmp	r2, r1
	bne	.L28
	mov	r2, #1
	b	.L29
.L28:
	mov	r2, #0
.L29:
	orr	r3, r2, r3
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	strb	r3, [fp, #-409]
	ldrb	r3, [fp, #-409]	@ zero_extendqisi2
	ldr	r2, [fp, #-288]
	ldr	r1, .L66+64
	cmp	r2, r1
	bne	.L30
	ldr	r2, [fp, #-268]
	ldr	r1, .L66+104
	cmp	r2, r1
	bne	.L30
	mov	r2, #1
	b	.L31
.L30:
	mov	r2, #0
.L31:
	orr	r3, r2, r3
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	strb	r3, [fp, #-409]
	ldrb	r3, [fp, #-409]	@ zero_extendqisi2
	ldr	r2, [fp, #-288]
	ldr	r1, .L66+64
	cmp	r2, r1
	bne	.L32
	ldr	r2, [fp, #-268]
	ldr	r1, .L66+108
	cmp	r2, r1
	bne	.L32
	mov	r2, #1
	b	.L33
.L32:
	mov	r2, #0
.L33:
	orr	r3, r2, r3
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	strb	r3, [fp, #-409]
	ldrb	r3, [fp, #-409]	@ zero_extendqisi2
	ldr	r2, [fp, #-288]
	ldr	r1, .L66+64
	cmp	r2, r1
	bne	.L34
	ldr	r2, [fp, #-268]
	ldr	r1, .L66+112
	cmp	r2, r1
	bne	.L34
	mov	r2, #1
	b	.L35
.L34:
	mov	r2, #0
.L35:
	orr	r3, r2, r3
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	strb	r3, [fp, #-409]
	ldrb	r3, [fp, #-409]	@ zero_extendqisi2
	ldr	r2, [fp, #-288]
	ldr	r1, .L66+64
	cmp	r2, r1
	bne	.L36
	ldr	r2, [fp, #-268]
	ldr	r1, .L66+116
	cmp	r2, r1
	bne	.L36
	mov	r2, #1
	b	.L37
.L36:
	mov	r2, #0
.L37:
	orr	r3, r2, r3
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	strb	r3, [fp, #-409]
	ldrb	r3, [fp, #-409]	@ zero_extendqisi2
	ldr	r2, [fp, #-288]
	ldr	r1, .L66+56
	cmp	r2, r1
	bne	.L38
	ldr	r2, [fp, #-268]
	ldr	r1, .L66+120
	cmp	r2, r1
	bne	.L38
	mov	r2, #1
	b	.L39
.L38:
	mov	r2, #0
.L39:
	orr	r3, r2, r3
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	strb	r3, [fp, #-409]
	ldrb	r3, [fp, #-409]	@ zero_extendqisi2
	ldr	r2, [fp, #-288]
	ldr	r1, .L66+64
	cmp	r2, r1
	bne	.L40
	ldr	r2, [fp, #-268]
	ldr	r1, .L66+124
	cmp	r2, r1
	bne	.L40
	mov	r2, #1
	b	.L41
.L40:
	mov	r2, #0
.L41:
	orr	r3, r2, r3
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	strb	r3, [fp, #-409]
	ldrb	r3, [fp, #-409]	@ zero_extendqisi2
	ldr	r2, [fp, #-288]
	ldr	r1, .L66+64
	cmp	r2, r1
	bne	.L42
	ldr	r2, [fp, #-268]
	ldr	r1, .L66+128
	cmp	r2, r1
	bne	.L42
	mov	r2, #1
	b	.L43
.L42:
	mov	r2, #0
.L43:
	orr	r3, r2, r3
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	strb	r3, [fp, #-409]
	mov	r3, #0
	str	r3, [fp, #-392]
	b	.L44
.L46:
	sub	r0, fp, #340
	ldr	r3, [fp, #-360]
	mov	r2, #1
	mov	r1, #12
	bl	fread
	ldr	r1, [fp, #-392]
	ldr	r0, .L66+132
	bl	printf
	ldr	r3, [fp, #-340]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	ldr	r3, [fp, #-336]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-332]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	stm	sp, {r4-r5}
	mov	r2, r6
	mov	r3, r7
	ldr	r0, .L66+136
	bl	printf
	ldr	r3, [fp, #-340]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	ldr	r3, [fp, #-336]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-332]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	stm	sp, {r4-r5}
	mov	r2, r6
	mov	r3, r7
	ldr	r1, .L66+140
	ldr	r0, [fp, #-356]
	bl	fprintf
	ldrb	r3, [fp, #-409]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L45
	sub	r0, fp, #328
	ldr	r3, [fp, #-360]
	mov	r2, #1
	mov	r1, #12
	bl	fread
	ldr	r3, [fp, #-328]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	ldr	r3, [fp, #-324]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-320]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	stm	sp, {r4-r5}
	mov	r2, r6
	mov	r3, r7
	ldr	r1, .L66+144
	ldr	r0, [fp, #-356]
	bl	fprintf
.L45:
	sub	r0, fp, #328
	ldr	r3, [fp, #-360]
	mov	r2, #1
	mov	r1, #8
	bl	fread
	ldr	r3, [fp, #-328]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-324]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L66+148
	bl	printf
	ldr	r3, [fp, #-328]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-324]	@ float
	eor	r3, r3, #-2147483648
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r1, .L66+152
	ldr	r0, [fp, #-356]
	bl	fprintf
	mov	r0, #10
	bl	putchar
	ldr	r1, [fp, #-356]
	mov	r0, #10
	bl	fputc
	ldr	r3, [fp, #-392]
	add	r3, r3, #1
	str	r3, [fp, #-392]
.L44:
	ldr	r3, [fp, #-276]
	ldr	r2, [fp, #-392]
	cmp	r2, r3
	bcc	.L46
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-344]
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-360]
	mov	r1, #2
	ldr	r0, [fp, #-344]
	bl	fread
	mov	r3, #0
	str	r3, [fp, #-388]
	mov	r3, #0
	str	r3, [fp, #-384]
	ldr	r3, [fp, #-288]
	ldr	r2, [fp, #-288]
	mov	r1, r3
	ldr	r0, .L66+156
	bl	printf
	ldr	r3, [fp, #-268]
	mov	r1, r3
	ldr	r0, .L66+160
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-380]
	mov	r3, #0
	str	r3, [fp, #-376]
	b	.L47
.L56:
	sub	r0, fp, #328
	ldr	r3, [fp, #-360]
	mov	r2, #1
	mov	r1, #16
	bl	fread
	sub	r3, fp, #20
	sub	r3, r3, #308
	ldrh	r3, [r3]
	mov	r0, r3
	sub	r3, fp, #20
	sub	r3, r3, #308
	ldrh	r3, [r3, #2]
	mov	ip, r3
	ldr	r3, [fp, #-324]
	ldr	r2, [fp, #-320]
	ldr	r1, [fp, #-316]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r1, [fp, #-376]
	ldr	r0, .L66+164
	bl	printf
	ldr	r0, [fp, #-364]
	bl	__xpg_basename
	mov	r2, r0
	ldr	r3, [fp, #-376]
	ldr	r1, .L66+168
	ldr	r0, [fp, #-356]
	bl	fprintf
	sub	r3, fp, #20
	sub	r3, r3, #308
	ldrh	r3, [r3]
	ldr	r2, [fp, #-348]
	ldr	r1, .L66+172
	ldr	r0, [fp, #-356]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-372]
	b	.L48
.L55:
	ldr	r3, .L66+176
	ldr	r3, [r3]
	ldr	r2, .L66+180
	str	r3, [r2]
	ldr	r3, .L66+184
	ldr	r3, [r3]
	ldr	r2, .L66+176
	str	r3, [r2]
	ldr	r3, [fp, #-380]
	add	r2, r3, #1
	str	r2, [fp, #-380]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-344]
	add	r3, r2, r3
	ldrh	r3, [r3]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r3, .L66+184
	str	r2, [r3]
	ldr	r3, [fp, #-372]
	cmp	r3, #1
	bls	.L64
	ldr	r3, .L66+180
	ldr	r2, [r3]
	ldr	r3, .L66+176
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L65
	ldr	r3, .L66+180
	ldr	r2, [r3]
	ldr	r3, .L66+184
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L65
	ldr	r3, .L66+176
	ldr	r2, [r3]
	ldr	r3, .L66+184
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L65
	ldr	r3, [fp, #-372]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L53
	ldr	r3, .L66+180
	ldr	r5, [r3]
	ldr	r3, .L66+180
	ldr	r6, [r3]
	ldr	r3, .L66+180
	ldr	r3, [r3]
	ldr	r2, .L66+176
	ldr	r2, [r2]
	ldr	r1, .L66+176
	ldr	r1, [r1]
	ldr	r0, .L66+176
	ldr	r0, [r0]
	ldr	ip, .L66+184
	ldr	ip, [ip]
	ldr	lr, .L66+184
	ldr	lr, [lr]
	ldr	r4, .L66+184
	ldr	r4, [r4]
	str	r4, [sp, #24]
	str	lr, [sp, #20]
	str	ip, [sp, #16]
	str	r0, [sp, #12]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r6
	mov	r2, r5
	ldr	r1, .L66+188
	ldr	r0, [fp, #-356]
	bl	fprintf
	b	.L54
.L53:
	ldr	r3, .L66+176
	ldr	r5, [r3]
	ldr	r3, .L66+176
	ldr	r6, [r3]
	ldr	r3, .L66+176
	ldr	r3, [r3]
	ldr	r2, .L66+180
	ldr	r2, [r2]
	ldr	r1, .L66+180
	ldr	r1, [r1]
	ldr	r0, .L66+180
	ldr	r0, [r0]
	ldr	ip, .L66+184
	ldr	ip, [ip]
	ldr	lr, .L66+184
	ldr	lr, [lr]
	ldr	r4, .L66+184
	ldr	r4, [r4]
	str	r4, [sp, #24]
	str	lr, [sp, #20]
	str	ip, [sp, #16]
	str	r0, [sp, #12]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r6
	mov	r2, r5
	ldr	r1, .L66+188
	ldr	r0, [fp, #-356]
	bl	fprintf
.L54:
	ldr	r3, [fp, #-384]
	add	r3, r3, #1
	str	r3, [fp, #-384]
	b	.L50
.L64:
	nop
	b	.L50
.L65:
	nop
.L50:
	ldr	r3, [fp, #-372]
	add	r3, r3, #1
	str	r3, [fp, #-372]
.L48:
	ldr	r3, [fp, #-316]
	ldr	r2, [fp, #-372]
	cmp	r2, r3
	bcc	.L55
	ldr	r3, [fp, #-316]
	ldr	r2, [fp, #-388]
	add	r3, r2, r3
	str	r3, [fp, #-388]
	ldr	r3, [fp, #-376]
	add	r3, r3, #1
	str	r3, [fp, #-376]
.L47:
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-376]
	cmp	r2, r3
	bcc	.L56
	ldr	r0, [fp, #-344]
	bl	free
	ldr	r3, [fp, #-56]
	mov	r2, r3
	ldr	r1, [fp, #-388]
	ldr	r0, .L66+192
	bl	printf
	ldr	r3, [fp, #-264]
	mov	r2, r3
	ldr	r1, [fp, #-384]
	ldr	r0, .L66+196
	bl	printf
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-388]
	cmp	r2, r3
	beq	.L57
	ldr	r3, .L66+200
	mov	r2, #205
	ldr	r1, .L66+204
	ldr	r0, .L66+208
	bl	__assert_fail
.L57:
	ldr	r0, [fp, #-356]
	bl	fclose
	ldr	r1, .L66+8
	ldr	r0, [fp, #-352]
	bl	fopen
	str	r0, [fp, #-356]
	mov	r3, #0
	str	r3, [fp, #-368]
	b	.L58
.L59:
	ldr	r0, [fp, #-360]
	bl	ftell
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L66+212
	bl	printf
	sub	r0, fp, #312
	ldr	r3, [fp, #-360]
	mov	r2, #1
	mov	r1, #24
	bl	fread
	sub	r3, fp, #20
	sub	r3, r3, #292
	ldrh	r3, [r3, #2]
	mov	r2, r3
	sub	r3, fp, #20
	sub	r3, r3, #292
	ldrh	r3, [r3]
	ldr	r1, [fp, #-368]
	ldr	r0, .L66+216
	bl	printf
	ldr	r3, [fp, #-368]
	ldr	r2, [fp, #-348]
	ldr	r1, .L66+220
	ldr	r0, [fp, #-356]
	bl	fprintf
	sub	r3, fp, #20
	sub	r3, r3, #292
	ldrh	r3, [r3, #2]
	mov	r2, r3
	sub	r3, fp, #20
	sub	r3, r3, #292
	ldrh	r3, [r3]
	ldr	r1, .L66+224
	ldr	r0, [fp, #-356]
	bl	fprintf
	ldr	r3, [fp, #-368]
	add	r3, r3, #1
	str	r3, [fp, #-368]
.L58:
	ldr	r3, [fp, #-284]
	ldr	r2, [fp, #-368]
	cmp	r2, r3
	bcc	.L59
	b	.L60
.L61:
	sub	r0, fp, #408
	ldr	r3, [fp, #-360]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r3, [fp, #-408]
	ldr	r2, [fp, #-408]
	mov	r1, r3
	ldr	r0, .L66+228
	bl	printf
.L60:
	ldr	r0, [fp, #-360]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L61
	ldr	r0, [fp, #-360]
	bl	fclose
	ldr	r0, [fp, #-356]
	bl	fclose
	mov	r3, #0
	ldr	r2, .L66
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L63
	bl	__stack_chk_fail
.L63:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L67:
	.align	2
.L66:
	.word	.LC34
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	4161
	.word	8193
	.word	4163
	.word	6561793
	.word	504963073
	.word	507256833
	.word	253304833
	.word	252977153
	.word	4291
	.word	69699
	.word	4162
	.word	1175068673
	.word	252649473
	.word	253960193
	.word	1318913
	.word	86188033
	.word	504307713
	.word	840835073
	.word	256581633
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	b.5406
	.word	a.5405
	.word	c.5407
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	__PRETTY_FUNCTION__.5415
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.size	main, .-main
	.local	b.5406
	.comm	b.5406,4,4
	.local	a.5405
	.comm	a.5405,4,4
	.local	c.5407
	.comm	c.5407,4,4
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.5415, %object
	.size	__PRETTY_FUNCTION__.5415, 5
__PRETTY_FUNCTION__.5415:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
