	.file	"120417.c"
	.intel_syntax noprefix
	.text
	.data
	.align 32
	.type	copyright, @object
	.size	copyright, 99
copyright:
	.string	"@(#) Copyright (c) 1991, 1993\n\tThe Regents of the University of California.  All rights reserved.\n"
	.align 32
	.type	rcsid, @object
	.size	rcsid, 60
rcsid:
	.string	"$OpenBSD: mknodes.c,v 1.3 1996/09/15 22:58:09 millert Exp $"
	.local	ntypes
	.comm	ntypes,4,4
	.local	nodename
	.comm	nodename,400,32
	.local	nodestr
	.comm	nodestr,400,32
	.local	nstr
	.comm	nstr,4,4
	.local	str
	.comm	str,25200,32
	.local	curstr
	.comm	curstr,8,8
	.local	infp
	.comm	infp,8,8
	.local	line
	.comm	line,1024,32
	.local	linno
	.comm	linno,4,4
	.local	linep
	.comm	linep,8,8
	.section	.rodata
.LC0:
	.string	"usage: mknodes file\n"
.LC1:
	.string	"r"
.LC2:
	.string	"Can't open %s"
	.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
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR infp[rip], rax
	cmp	DWORD PTR -4[rbp], 3
	je	.L2
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	error
.L2:
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR infp[rip], rax
	mov	rax, QWORD PTR infp[rip]
	test	rax, rax
	jne	.L4
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	error
	jmp	.L4
.L7:
	movzx	eax, BYTE PTR line[rip]
	cmp	al, 32
	je	.L5
	movzx	eax, BYTE PTR line[rip]
	cmp	al, 9
	jne	.L6
.L5:
	call	parsefield
	jmp	.L4
.L6:
	movzx	eax, BYTE PTR line[rip]
	test	al, al
	je	.L4
	call	parsenode
.L4:
	call	readline
	test	eax, eax
	jne	.L7
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	output
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC3:
	.string	"Tag expected"
.LC4:
	.string	"Garbage at end of line"
	.text
	.type	parsenode, @function
parsenode:
.LFB7:
	.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, 248
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR curstr[rip]
	test	rax, rax
	je	.L9
	mov	rax, QWORD PTR curstr[rip]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	jle	.L9
	mov	rax, QWORD PTR curstr[rip]
	mov	DWORD PTR 496[rax], 1
.L9:
	lea	rax, -240[rbp]
	mov	rdi, rax
	call	nextfield
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	nextfield
	test	eax, eax
	jne	.L10
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	error
.L10:
	mov	rax, QWORD PTR linep[rip]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L11
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	error
.L11:
	mov	ebx, DWORD PTR ntypes[rip]
	lea	rax, -240[rbp]
	mov	rdi, rax
	call	savestr
	movsx	rdx, ebx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, nodename[rip]
	mov	QWORD PTR [rcx+rdx], rax
	lea	rax, str[rip]
	mov	QWORD PTR -248[rbp], rax
	jmp	.L12
.L15:
	mov	rax, QWORD PTR -248[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, -128[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L18
	add	QWORD PTR -248[rbp], 504
.L12:
	mov	eax, DWORD PTR nstr[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 6
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, str[rip]
	add	rax, rdx
	cmp	QWORD PTR -248[rbp], rax
	jb	.L15
	jmp	.L14
.L18:
	nop
.L14:
	mov	eax, DWORD PTR nstr[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 6
	sub	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, str[rip]
	add	rax, rdx
	cmp	QWORD PTR -248[rbp], rax
	jb	.L16
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	savestr
	mov	rdx, QWORD PTR -248[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -248[rbp]
	mov	DWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -248[rbp]
	mov	QWORD PTR curstr[rip], rax
	mov	eax, DWORD PTR nstr[rip]
	add	eax, 1
	mov	DWORD PTR nstr[rip], eax
.L16:
	mov	eax, DWORD PTR ntypes[rip]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rdx, nodestr[rip]
	mov	rax, QWORD PTR -248[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	mov	eax, DWORD PTR ntypes[rip]
	add	eax, 1
	mov	DWORD PTR ntypes[rip], eax
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	parsenode, .-parsenode
	.section	.rodata
	.align 8
.LC5:
	.string	"No current structure to add field to"
.LC6:
	.string	"No field name"
.LC7:
	.string	"No field type"
.LC8:
	.string	"nodeptr"
.LC9:
	.string	"union node *%s"
.LC10:
	.string	"nodelist"
.LC11:
	.string	"struct nodelist *%s"
.LC12:
	.string	"string"
.LC13:
	.string	"char *%s"
.LC14:
	.string	"int"
.LC15:
	.string	"int %s"
.LC16:
	.string	"other"
.LC17:
	.string	"temp"
.LC18:
	.string	"Unknown type %s"
	.text
	.type	parsefield, @function
parsefield:
.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, 448
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR curstr[rip]
	test	rax, rax
	je	.L20
	mov	rax, QWORD PTR curstr[rip]
	mov	eax, DWORD PTR 496[rax]
	test	eax, eax
	je	.L21
.L20:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	error
.L21:
	lea	rax, -432[rbp]
	mov	rdi, rax
	call	nextfield
	test	eax, eax
	jne	.L22
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	error
.L22:
	lea	rax, -320[rbp]
	mov	rdi, rax
	call	nextfield
	test	eax, eax
	jne	.L23
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	error
.L23:
	mov	rcx, QWORD PTR curstr[rip]
	mov	rax, QWORD PTR curstr[rip]
	mov	eax, DWORD PTR 8[rax]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, 16
	add	rax, rcx
	mov	QWORD PTR -440[rbp], rax
	lea	rax, -432[rbp]
	mov	rdi, rax
	call	savestr
	mov	rdx, QWORD PTR -440[rbp]
	mov	QWORD PTR [rdx], rax
	lea	rax, -320[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L24
	mov	rax, QWORD PTR -440[rbp]
	mov	DWORD PTR 8[rax], 1
	lea	rdx, -432[rbp]
	lea	rax, -208[rbp]
	mov	rcx, rdx
	lea	rdx, .LC9[rip]
	mov	esi, 200
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	jmp	.L25
.L24:
	lea	rax, -320[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L26
	mov	rax, QWORD PTR -440[rbp]
	mov	DWORD PTR 8[rax], 2
	lea	rdx, -432[rbp]
	lea	rax, -208[rbp]
	mov	rcx, rdx
	lea	rdx, .LC11[rip]
	mov	esi, 200
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	jmp	.L25
.L26:
	lea	rax, -320[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L27
	mov	rax, QWORD PTR -440[rbp]
	mov	DWORD PTR 8[rax], 3
	lea	rdx, -432[rbp]
	lea	rax, -208[rbp]
	mov	rcx, rdx
	lea	rdx, .LC13[rip]
	mov	esi, 200
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	jmp	.L25
.L27:
	lea	rax, -320[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L28
	mov	rax, QWORD PTR -440[rbp]
	mov	DWORD PTR 8[rax], 4
	lea	rdx, -432[rbp]
	lea	rax, -208[rbp]
	mov	rcx, rdx
	lea	rdx, .LC15[rip]
	mov	esi, 200
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	jmp	.L25
.L28:
	lea	rax, -320[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L29
	mov	rax, QWORD PTR -440[rbp]
	mov	DWORD PTR 8[rax], 5
	jmp	.L25
.L29:
	lea	rax, -320[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L30
	mov	rax, QWORD PTR -440[rbp]
	mov	DWORD PTR 8[rax], 6
	jmp	.L25
.L30:
	lea	rax, -320[rbp]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	error
.L25:
	mov	rax, QWORD PTR -440[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 5
	je	.L31
	mov	rax, QWORD PTR -440[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 6
	jne	.L32
.L31:
	call	skipbl
	mov	rax, QWORD PTR linep[rip]
	mov	rdi, rax
	call	savestr
	mov	rdx, QWORD PTR -440[rbp]
	mov	QWORD PTR 16[rdx], rax
	jmp	.L33
.L32:
	mov	rax, QWORD PTR linep[rip]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L34
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	error
.L34:
	lea	rax, -208[rbp]
	mov	rdi, rax
	call	savestr
	mov	rdx, QWORD PTR -440[rbp]
	mov	QWORD PTR 16[rdx], rax
.L33:
	mov	rax, QWORD PTR curstr[rip]
	mov	edx, DWORD PTR 8[rax]
	add	edx, 1
	mov	DWORD PTR 8[rax], edx
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	parsefield, .-parsefield
	.globl	writer
	.data
	.align 32
	.type	writer, @object
	.size	writer, 60
writer:
	.string	"/*\n * This file was generated by the mknodes program.\n */\n\n"
	.section	.rodata
.LC19:
	.string	"w"
.LC20:
	.string	"nodes.h"
.LC21:
	.string	"Can't create nodes.h"
.LC22:
	.string	"nodes.c"
.LC23:
	.string	"Can't create nodes.c"
.LC24:
	.string	"#define %s %d\n"
.LC25:
	.string	"\n\n\n"
.LC26:
	.string	"struct %s {\n"
.LC27:
	.string	"      %s;\n"
.LC28:
	.string	"};\n\n\n"
.LC29:
	.string	"union node {\n"
.LC30:
	.string	"      int type;\n"
.LC31:
	.string	"      struct %s %s;\n"
.LC32:
	.string	"struct nodelist {\n"
.LC33:
	.string	"\tstruct nodelist *next;\n"
.LC34:
	.string	"\tunion node *n;\n"
.LC35:
	.string	"#ifdef __STDC__\n"
	.align 8
.LC36:
	.string	"union node *copyfunc(union node *);\n"
.LC37:
	.string	"void freefunc(union node *);\n"
.LC38:
	.string	"#else\n"
.LC39:
	.string	"union node *copyfunc();\n"
.LC40:
	.string	"void freefunc();\n"
.LC41:
	.string	"#endif\n"
.LC42:
	.string	"%SIZES\n"
.LC43:
	.string	"%CALCSIZE\n"
.LC44:
	.string	"%COPY\n"
	.text
	.type	output, @function
output:
.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, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	rax, QWORD PTR -72[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L37
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	error
.L37:
	lea	rsi, .LC19[rip]
	lea	rdi, .LC20[rip]
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L38
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	error
.L38:
	lea	rsi, .LC19[rip]
	lea	rdi, .LC22[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L39
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	error
.L39:
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, writer[rip]
	call	fputs@PLT
	mov	DWORD PTR -52[rbp], 0
	jmp	.L40
.L41:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, nodename[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	ecx, DWORD PTR -52[rbp]
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -52[rbp], 1
.L40:
	mov	eax, DWORD PTR ntypes[rip]
	cmp	DWORD PTR -52[rbp], eax
	jl	.L41
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 3
	mov	esi, 1
	lea	rdi, .LC25[rip]
	call	fwrite@PLT
	lea	rax, str[rip]
	mov	QWORD PTR -48[rbp], rax
	jmp	.L42
.L45:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR -52[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	QWORD PTR -40[rbp], rax
	jmp	.L43
.L44:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	QWORD PTR -40[rbp], 24
.L43:
	sub	DWORD PTR -52[rbp], 1
	cmp	DWORD PTR -52[rbp], 0
	jns	.L44
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 5
	mov	esi, 1
	lea	rdi, .LC28[rip]
	call	fwrite@PLT
	add	QWORD PTR -48[rbp], 504
.L42:
	mov	eax, DWORD PTR nstr[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 6
	sub	rax, rdx
	sal	rax, 3
	lea	rdx, str[rip]
	add	rax, rdx
	cmp	QWORD PTR -48[rbp], rax
	jb	.L45
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 13
	mov	esi, 1
	lea	rdi, .LC29[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 16
	mov	esi, 1
	lea	rdi, .LC30[rip]
	call	fwrite@PLT
	lea	rax, str[rip]
	mov	QWORD PTR -48[rbp], rax
	jmp	.L46
.L47:
	mov	rax, QWORD PTR -48[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	QWORD PTR -48[rbp], 504
.L46:
	mov	eax, DWORD PTR nstr[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 6
	sub	rax, rdx
	sal	rax, 3
	lea	rdx, str[rip]
	add	rax, rdx
	cmp	QWORD PTR -48[rbp], rax
	jb	.L47
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 5
	mov	esi, 1
	lea	rdi, .LC28[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 18
	mov	esi, 1
	lea	rdi, .LC32[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC33[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 16
	mov	esi, 1
	lea	rdi, .LC34[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 5
	mov	esi, 1
	lea	rdi, .LC28[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 16
	mov	esi, 1
	lea	rdi, .LC35[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 36
	mov	esi, 1
	lea	rdi, .LC36[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 29
	mov	esi, 1
	lea	rdi, .LC37[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 6
	mov	esi, 1
	lea	rdi, .LC38[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC39[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC40[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 7
	mov	esi, 1
	lea	rdi, .LC41[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, writer[rip]
	call	fputs@PLT
	jmp	.L48
.L54:
	lea	rax, line[rip]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L49
.L50:
	add	QWORD PTR -32[rbp], 1
.L49:
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L50
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 9
	je	.L50
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC42[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L51
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	outsizes
	jmp	.L48
.L51:
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC43[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L52
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	outfunc
	jmp	.L48
.L52:
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC44[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L53
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	outfunc
	jmp	.L48
.L53:
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, line[rip]
	call	fputs@PLT
.L48:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, rax
	mov	esi, 1024
	lea	rdi, line[rip]
	call	fgets@PLT
	test	rax, rax
	jne	.L54
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	output, .-output
	.section	.rodata
	.align 8
.LC45:
	.string	"static const short nodesize[%d] = {\n"
	.align 8
.LC46:
	.string	"      ALIGN(sizeof (struct %s)),\n"
.LC47:
	.string	"};\n"
	.text
	.type	outsizes, @function
outsizes:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	edx, DWORD PTR ntypes[rip]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC45[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L56
.L57:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, nodestr[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC46[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -4[rbp], 1
.L56:
	mov	eax, DWORD PTR ntypes[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L57
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rax
	mov	edx, 3
	mov	esi, 1
	lea	rdi, .LC47[rip]
	call	fwrite@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	outsizes, .-outsizes
	.section	.rodata
.LC48:
	.string	"      if (n == NULL)\n"
.LC49:
	.string	"\t    return;\n"
.LC50:
	.string	"\t    return NULL;\n"
	.align 8
.LC51:
	.string	"      funcblocksize += nodesize[n->type];\n"
.LC52:
	.string	"      new = funcblock;\n"
	.align 8
.LC53:
	.string	"      funcblock += nodesize[n->type];\n"
.LC54:
	.string	"      switch (n->type) {\n"
.LC55:
	.string	"      case %s:\n"
.LC56:
	.string	"calcsize(n->%s.%s);\n"
	.align 8
.LC57:
	.string	"new->%s.%s = copynode(n->%s.%s);\n"
.LC58:
	.string	"sizenodelist(n->%s.%s);\n"
	.align 8
.LC59:
	.string	"new->%s.%s = copynodelist(n->%s.%s);\n"
	.align 8
.LC60:
	.string	"funcstringsize += strlen(n->%s.%s) + 1;\n"
	.align 8
.LC61:
	.string	"new->%s.%s = nodesavestr(n->%s.%s);\n"
.LC62:
	.string	"new->%s.%s = n->%s.%s;\n"
.LC63:
	.string	"break;\n"
.LC64:
	.string	"      };\n"
.LC65:
	.string	"      new->type = n->type;\n"
	.text
	.type	outfunc, @function
outfunc:
.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	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 21
	mov	esi, 1
	lea	rdi, .LC48[rip]
	call	fwrite@PLT
	cmp	DWORD PTR -44[rbp], 0
	je	.L59
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 13
	mov	esi, 1
	lea	rdi, .LC49[rip]
	call	fwrite@PLT
	jmp	.L60
.L59:
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 18
	mov	esi, 1
	lea	rdi, .LC50[rip]
	call	fwrite@PLT
.L60:
	cmp	DWORD PTR -44[rbp], 0
	je	.L61
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 42
	mov	esi, 1
	lea	rdi, .LC51[rip]
	call	fwrite@PLT
	jmp	.L62
.L61:
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 23
	mov	esi, 1
	lea	rdi, .LC52[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 38
	mov	esi, 1
	lea	rdi, .LC53[rip]
	call	fwrite@PLT
.L62:
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC54[rip]
	call	fwrite@PLT
	lea	rax, str[rip]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L63
.L80:
	mov	DWORD PTR -20[rbp], 0
	jmp	.L64
.L66:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, nodestr[rip]
	mov	rax, QWORD PTR [rdx+rax]
	cmp	QWORD PTR -16[rbp], rax
	jne	.L65
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, nodename[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC55[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L65:
	add	DWORD PTR -20[rbp], 1
.L64:
	mov	eax, DWORD PTR ntypes[rip]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L66
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR -20[rbp], eax
	jmp	.L67
.L79:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 5
	jg	.L67
	cmp	eax, 4
	jge	.L68
	cmp	eax, 3
	je	.L69
	cmp	eax, 3
	jg	.L67
	cmp	eax, 1
	je	.L70
	cmp	eax, 2
	je	.L71
	jmp	.L67
.L70:
	cmp	DWORD PTR -44[rbp], 0
	je	.L72
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	mov	edi, 12
	call	indent
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC56[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L67
.L72:
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	mov	edi, 12
	call	indent
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC57[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L67
.L71:
	cmp	DWORD PTR -44[rbp], 0
	je	.L74
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	mov	edi, 12
	call	indent
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC58[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L67
.L74:
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	mov	edi, 12
	call	indent
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC59[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L67
.L69:
	cmp	DWORD PTR -44[rbp], 0
	je	.L76
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	mov	edi, 12
	call	indent
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC60[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L67
.L76:
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	mov	edi, 12
	call	indent
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC61[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L67
.L68:
	cmp	DWORD PTR -44[rbp], 0
	jne	.L83
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	mov	edi, 12
	call	indent
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC62[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L83:
	nop
.L67:
	sub	DWORD PTR -20[rbp], 1
	cmp	DWORD PTR -20[rbp], 0
	jg	.L79
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	mov	edi, 12
	call	indent
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 7
	mov	esi, 1
	lea	rdi, .LC63[rip]
	call	fwrite@PLT
	add	QWORD PTR -16[rbp], 504
.L63:
	mov	eax, DWORD PTR nstr[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 6
	sub	rax, rdx
	sal	rax, 3
	lea	rdx, str[rip]
	add	rax, rdx
	cmp	QWORD PTR -16[rbp], rax
	jb	.L80
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 9
	mov	esi, 1
	lea	rdi, .LC64[rip]
	call	fwrite@PLT
	cmp	DWORD PTR -44[rbp], 0
	jne	.L82
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 27
	mov	esi, 1
	lea	rdi, .LC65[rip]
	call	fwrite@PLT
.L82:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	outfunc, .-outfunc
	.type	indent, @function
indent:
.LFB12:
	.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	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	jmp	.L85
.L86:
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	mov	edi, 9
	call	putc@PLT
	sub	DWORD PTR -4[rbp], 8
.L85:
	cmp	DWORD PTR -4[rbp], 7
	jg	.L86
	jmp	.L87
.L88:
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	mov	edi, 32
	call	putc@PLT
.L87:
	sub	DWORD PTR -4[rbp], 1
	cmp	DWORD PTR -4[rbp], 0
	jns	.L88
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	indent, .-indent
	.type	nextfield, @function
nextfield:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	QWORD PTR -24[rbp], rdi
	mov	rbx, QWORD PTR linep[rip]
	jmp	.L90
.L91:
	add	rbx, 1
.L90:
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 32
	je	.L91
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 9
	je	.L91
	mov	r12, QWORD PTR -24[rbp]
	jmp	.L92
.L94:
	mov	rdx, rbx
	lea	rbx, 1[rdx]
	mov	rax, r12
	lea	r12, 1[rax]
	movzx	edx, BYTE PTR [rdx]
	mov	BYTE PTR [rax], dl
.L92:
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 32
	je	.L93
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 9
	je	.L93
	movzx	eax, BYTE PTR [rbx]
	test	al, al
	jne	.L94
.L93:
	mov	BYTE PTR [r12], 0
	mov	QWORD PTR linep[rip], rbx
	cmp	r12, QWORD PTR -24[rbp]
	seta	al
	movzx	eax, al
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	nextfield, .-nextfield
	.type	skipbl, @function
skipbl:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	jmp	.L97
.L98:
	mov	rax, QWORD PTR linep[rip]
	add	rax, 1
	mov	QWORD PTR linep[rip], rax
.L97:
	mov	rax, QWORD PTR linep[rip]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L98
	mov	rax, QWORD PTR linep[rip]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 9
	je	.L98
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	skipbl, .-skipbl
	.section	.rodata
.LC66:
	.string	"Line too long"
	.text
	.type	readline, @function
readline:
.LFB15:
	.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 infp[rip]
	mov	rdx, rax
	mov	esi, 1024
	lea	rdi, line[rip]
	call	fgets@PLT
	test	rax, rax
	jne	.L100
	mov	eax, 0
	jmp	.L101
.L100:
	lea	rbx, line[rip]
	jmp	.L102
.L104:
	add	rbx, 1
.L102:
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 35
	je	.L105
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 10
	je	.L105
	movzx	eax, BYTE PTR [rbx]
	test	al, al
	jne	.L104
	jmp	.L105
.L107:
	sub	rbx, 1
.L105:
	lea	rax, line[rip]
	cmp	rbx, rax
	jbe	.L106
	lea	rax, -1[rbx]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L107
	lea	rax, -1[rbx]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 9
	je	.L107
.L106:
	mov	BYTE PTR [rbx], 0
	lea	rax, line[rip]
	mov	QWORD PTR linep[rip], rax
	mov	eax, DWORD PTR linno[rip]
	add	eax, 1
	mov	DWORD PTR linno[rip], eax
	lea	rdx, line[rip]
	mov	rax, rbx
	sub	rax, rdx
	cmp	rax, 100
	jle	.L108
	lea	rdi, .LC66[rip]
	mov	eax, 0
	call	error
.L108:
	mov	eax, 1
.L101:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	readline, .-readline
	.section	.rodata
.LC67:
	.string	"line %d: "
	.text
	.type	error, @function
error:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 224
	mov	QWORD PTR -216[rbp], rdi
	mov	QWORD PTR -168[rbp], rsi
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L110
	movaps	XMMWORD PTR -128[rbp], xmm0
	movaps	XMMWORD PTR -112[rbp], xmm1
	movaps	XMMWORD PTR -96[rbp], xmm2
	movaps	XMMWORD PTR -80[rbp], xmm3
	movaps	XMMWORD PTR -64[rbp], xmm4
	movaps	XMMWORD PTR -48[rbp], xmm5
	movaps	XMMWORD PTR -32[rbp], xmm6
	movaps	XMMWORD PTR -16[rbp], xmm7
.L110:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -208[rbp], 8
	mov	DWORD PTR -204[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -200[rbp], rax
	lea	rax, -176[rbp]
	mov	QWORD PTR -192[rbp], rax
	mov	edx, DWORD PTR linno[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC67[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -208[rbp]
	mov	rcx, QWORD PTR -216[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	vfprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	edi, 2
	call	exit@PLT
	.cfi_endproc
.LFE16:
	.size	error, .-error
	.section	.rodata
.LC68:
	.string	"Out of space"
	.text
	.type	savestr, @function
savestr:
.LFB17:
	.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, 24
	.cfi_offset 3, -24
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 1
	mov	rdi, rax
	call	malloc@PLT
	mov	rbx, rax
	test	rbx, rbx
	jne	.L113
	lea	rdi, .LC68[rip]
	mov	eax, 0
	call	error
.L113:
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	rdi, rbx
	call	strcpy@PLT
	mov	rax, rbx
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	savestr, .-savestr
	.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	"120417.c"
	.text
	.data
	.align	2
	.type	copyright, %object
	.size	copyright, 99
copyright:
	.ascii	"@(#) Copyright (c) 1991, 1993\012\011The Regents of"
	.ascii	" the University of California.  All rights reserved"
	.ascii	".\012\000"
	.align	2
	.type	rcsid, %object
	.size	rcsid, 60
rcsid:
	.ascii	"$OpenBSD: mknodes.c,v 1.3 1996/09/15 22:58:09 mille"
	.ascii	"rt Exp $\000"
	.local	ntypes
	.comm	ntypes,4,4
	.local	nodename
	.comm	nodename,200,4
	.local	nodestr
	.comm	nodestr,200,4
	.local	nstr
	.comm	nstr,4,4
	.local	str
	.comm	str,12600,4
	.local	curstr
	.comm	curstr,4,4
	.local	infp
	.comm	infp,4,4
	.local	line
	.comm	line,1024,4
	.local	linno
	.comm	linno,4,4
	.local	linep
	.comm	linep,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"usage: mknodes file\012\000"
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"Can't open %s\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, .L8
	ldr	r3, [r3]
	ldr	r2, .L8+4
	str	r3, [r2]
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	beq	.L2
	ldr	r0, .L8+8
	bl	error
.L2:
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L8+12
	mov	r0, r3
	bl	fopen
	mov	r3, r0
	ldr	r2, .L8+4
	str	r3, [r2]
	ldr	r3, .L8+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L8+16
	bl	error
	b	.L4
.L7:
	ldr	r3, .L8+20
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L5
	ldr	r3, .L8+20
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	bne	.L6
.L5:
	bl	parsefield
	b	.L4
.L6:
	ldr	r3, .L8+20
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L4
	bl	parsenode
.L4:
	bl	readline
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	ldr	r3, [fp, #-12]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	output
	mov	r0, #0
	bl	exit
.L9:
	.align	2
.L8:
	.word	stdin
	.word	infp
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	line
	.size	main, .-main
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Tag expected\000"
	.align	2
.LC4:
	.ascii	"Garbage at end of line\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parsenode, %function
parsenode:
	@ args = 0, pretend = 0, frame = 208
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #212
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L21+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L11
	ldr	r3, .L21+4
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	ble	.L11
	ldr	r3, .L21+4
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [r3, #248]
.L11:
	sub	r3, fp, #216
	mov	r0, r3
	bl	nextfield
	sub	r3, fp, #116
	mov	r0, r3
	bl	nextfield
	mov	r3, r0
	cmp	r3, #0
	bne	.L12
	ldr	r0, .L21+8
	bl	error
.L12:
	ldr	r3, .L21+12
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L13
	ldr	r0, .L21+16
	bl	error
.L13:
	ldr	r3, .L21+20
	ldr	r4, [r3]
	sub	r3, fp, #216
	mov	r0, r3
	bl	savestr
	mov	r3, r0
	ldr	r2, .L21+24
	str	r3, [r2, r4, lsl #2]
	ldr	r3, .L21+28
	str	r3, [fp, #-220]
	b	.L14
.L17:
	ldr	r3, [fp, #-220]
	ldr	r3, [r3]
	sub	r2, fp, #116
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
	ldr	r3, [fp, #-220]
	add	r3, r3, #252
	str	r3, [fp, #-220]
.L14:
	ldr	r3, .L21+32
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, .L21+28
	add	r3, r2, r3
	ldr	r2, [fp, #-220]
	cmp	r2, r3
	bcc	.L17
	b	.L16
.L20:
	nop
.L16:
	ldr	r3, .L21+32
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, .L21+28
	add	r3, r2, r3
	ldr	r2, [fp, #-220]
	cmp	r2, r3
	bcc	.L18
	sub	r3, fp, #116
	mov	r0, r3
	bl	savestr
	mov	r2, r0
	ldr	r3, [fp, #-220]
	str	r2, [r3]
	ldr	r3, [fp, #-220]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r2, .L21+4
	ldr	r3, [fp, #-220]
	str	r3, [r2]
	ldr	r3, .L21+32
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L21+32
	str	r3, [r2]
.L18:
	ldr	r3, .L21+20
	ldr	r3, [r3]
	ldr	r1, .L21+36
	ldr	r2, [fp, #-220]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L21+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L21+20
	str	r3, [r2]
	nop
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC5
	.word	curstr
	.word	.LC3
	.word	linep
	.word	.LC4
	.word	ntypes
	.word	nodename
	.word	str
	.word	nstr
	.word	nodestr
	.size	parsenode, .-parsenode
	.section	.rodata
	.align	2
.LC6:
	.ascii	"No current structure to add field to\000"
	.align	2
.LC7:
	.ascii	"No field name\000"
	.align	2
.LC8:
	.ascii	"No field type\000"
	.align	2
.LC9:
	.ascii	"nodeptr\000"
	.align	2
.LC10:
	.ascii	"union node *%s\000"
	.align	2
.LC11:
	.ascii	"nodelist\000"
	.align	2
.LC12:
	.ascii	"struct nodelist *%s\000"
	.align	2
.LC13:
	.ascii	"string\000"
	.align	2
.LC14:
	.ascii	"char *%s\000"
	.align	2
.LC15:
	.ascii	"int\000"
	.align	2
.LC16:
	.ascii	"int %s\000"
	.align	2
.LC17:
	.ascii	"other\000"
	.align	2
.LC18:
	.ascii	"temp\000"
	.align	2
.LC19:
	.ascii	"Unknown type %s\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parsefield, %function
parsefield:
	@ args = 0, pretend = 0, frame = 408
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #408
	ldr	r3, .L40
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L40+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L24
	ldr	r3, .L40+4
	ldr	r3, [r3]
	ldr	r3, [r3, #248]
	cmp	r3, #0
	beq	.L25
.L24:
	ldr	r0, .L40+8
	bl	error
.L25:
	sub	r3, fp, #408
	mov	r0, r3
	bl	nextfield
	mov	r3, r0
	cmp	r3, #0
	bne	.L26
	ldr	r0, .L40+12
	bl	error
.L26:
	sub	r3, fp, #308
	mov	r0, r3
	bl	nextfield
	mov	r3, r0
	cmp	r3, #0
	bne	.L27
	ldr	r0, .L40+16
	bl	error
.L27:
	ldr	r3, .L40+4
	ldr	r1, [r3]
	ldr	r3, .L40+4
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #8
	add	r3, r1, r3
	str	r3, [fp, #-412]
	sub	r3, fp, #408
	mov	r0, r3
	bl	savestr
	mov	r2, r0
	ldr	r3, [fp, #-412]
	str	r2, [r3]
	sub	r3, fp, #308
	ldr	r1, .L40+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L28
	ldr	r3, [fp, #-412]
	mov	r2, #1
	str	r2, [r3, #4]
	sub	r3, fp, #408
	sub	r0, fp, #208
	ldr	r2, .L40+24
	mov	r1, #200
	bl	snprintf
	b	.L29
.L28:
	sub	r3, fp, #308
	ldr	r1, .L40+28
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
	ldr	r3, [fp, #-412]
	mov	r2, #2
	str	r2, [r3, #4]
	sub	r3, fp, #408
	sub	r0, fp, #208
	ldr	r2, .L40+32
	mov	r1, #200
	bl	snprintf
	b	.L29
.L30:
	sub	r3, fp, #308
	ldr	r1, .L40+36
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L31
	ldr	r3, [fp, #-412]
	mov	r2, #3
	str	r2, [r3, #4]
	sub	r3, fp, #408
	sub	r0, fp, #208
	ldr	r2, .L40+40
	mov	r1, #200
	bl	snprintf
	b	.L29
.L31:
	sub	r3, fp, #308
	ldr	r1, .L40+44
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L32
	ldr	r3, [fp, #-412]
	mov	r2, #4
	str	r2, [r3, #4]
	sub	r3, fp, #408
	sub	r0, fp, #208
	ldr	r2, .L40+48
	mov	r1, #200
	bl	snprintf
	b	.L29
.L32:
	sub	r3, fp, #308
	ldr	r1, .L40+52
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L33
	ldr	r3, [fp, #-412]
	mov	r2, #5
	str	r2, [r3, #4]
	b	.L29
.L33:
	sub	r3, fp, #308
	ldr	r1, .L40+56
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L34
	ldr	r3, [fp, #-412]
	mov	r2, #6
	str	r2, [r3, #4]
	b	.L29
.L34:
	sub	r3, fp, #308
	mov	r1, r3
	ldr	r0, .L40+60
	bl	error
.L29:
	ldr	r3, [fp, #-412]
	ldr	r3, [r3, #4]
	cmp	r3, #5
	beq	.L35
	ldr	r3, [fp, #-412]
	ldr	r3, [r3, #4]
	cmp	r3, #6
	bne	.L36
.L35:
	bl	skipbl
	ldr	r3, .L40+64
	ldr	r3, [r3]
	mov	r0, r3
	bl	savestr
	mov	r2, r0
	ldr	r3, [fp, #-412]
	str	r2, [r3, #8]
	b	.L37
.L36:
	ldr	r3, .L40+64
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L38
	ldr	r0, .L40+68
	bl	error
.L38:
	sub	r3, fp, #208
	mov	r0, r3
	bl	savestr
	mov	r2, r0
	ldr	r3, [fp, #-412]
	str	r2, [r3, #8]
.L37:
	ldr	r3, .L40+4
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	add	r2, r2, #1
	str	r2, [r3, #4]
	nop
	ldr	r3, .L40
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L39
	bl	__stack_chk_fail
.L39:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L41:
	.align	2
.L40:
	.word	.LC20
	.word	curstr
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	linep
	.word	.LC4
	.size	parsefield, .-parsefield
	.global	writer
	.data
	.align	2
	.type	writer, %object
	.size	writer, 60
writer:
	.ascii	"/*\012 * This file was generated by the mknodes pro"
	.ascii	"gram.\012 */\012\012\000"
	.section	.rodata
	.align	2
.LC21:
	.ascii	"w\000"
	.align	2
.LC22:
	.ascii	"nodes.h\000"
	.align	2
.LC23:
	.ascii	"Can't create nodes.h\000"
	.align	2
.LC24:
	.ascii	"nodes.c\000"
	.align	2
.LC25:
	.ascii	"Can't create nodes.c\000"
	.align	2
.LC26:
	.ascii	"#define %s %d\012\000"
	.align	2
.LC27:
	.ascii	"\012\012\012\000"
	.align	2
.LC28:
	.ascii	"struct %s {\012\000"
	.align	2
.LC29:
	.ascii	"      %s;\012\000"
	.align	2
.LC30:
	.ascii	"};\012\012\012\000"
	.align	2
.LC31:
	.ascii	"union node {\012\000"
	.align	2
.LC32:
	.ascii	"      int type;\012\000"
	.align	2
.LC33:
	.ascii	"      struct %s %s;\012\000"
	.align	2
.LC34:
	.ascii	"struct nodelist {\012\000"
	.align	2
.LC35:
	.ascii	"\011struct nodelist *next;\012\000"
	.align	2
.LC36:
	.ascii	"\011union node *n;\012\000"
	.align	2
.LC37:
	.ascii	"#ifdef __STDC__\012\000"
	.align	2
.LC38:
	.ascii	"union node *copyfunc(union node *);\012\000"
	.align	2
.LC39:
	.ascii	"void freefunc(union node *);\012\000"
	.align	2
.LC40:
	.ascii	"#else\012\000"
	.align	2
.LC41:
	.ascii	"union node *copyfunc();\012\000"
	.align	2
.LC42:
	.ascii	"void freefunc();\012\000"
	.align	2
.LC43:
	.ascii	"#endif\012\000"
	.align	2
.LC44:
	.ascii	"%SIZES\012\000"
	.align	2
.LC45:
	.ascii	"%CALCSIZE\012\000"
	.align	2
.LC46:
	.ascii	"%COPY\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	output, %function
output:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	ldr	r1, .L61
	ldr	r0, [fp, #-40]
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L43
	ldr	r1, [fp, #-40]
	ldr	r0, .L61+4
	bl	error
.L43:
	ldr	r1, .L61+8
	ldr	r0, .L61+12
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L44
	ldr	r0, .L61+16
	bl	error
.L44:
	ldr	r1, .L61+8
	ldr	r0, .L61+20
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L45
	ldr	r0, .L61+24
	bl	error
.L45:
	ldr	r1, [fp, #-12]
	ldr	r0, .L61+28
	bl	fputs
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L46
.L47:
	ldr	r2, .L61+32
	ldr	r3, [fp, #-32]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, [fp, #-32]
	ldr	r1, .L61+36
	ldr	r0, [fp, #-12]
	bl	fprintf
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L46:
	ldr	r3, .L61+40
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L47
	ldr	r3, [fp, #-12]
	mov	r2, #3
	mov	r1, #1
	ldr	r0, .L61+44
	bl	fwrite
	ldr	r3, .L61+48
	str	r3, [fp, #-28]
	b	.L48
.L51:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L61+52
	ldr	r0, [fp, #-12]
	bl	fprintf
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	str	r3, [fp, #-24]
	b	.L49
.L50:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	mov	r2, r3
	ldr	r1, .L61+56
	ldr	r0, [fp, #-12]
	bl	fprintf
	ldr	r3, [fp, #-24]
	add	r3, r3, #12
	str	r3, [fp, #-24]
.L49:
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bge	.L50
	ldr	r3, [fp, #-12]
	mov	r2, #5
	mov	r1, #1
	ldr	r0, .L61+60
	bl	fwrite
	ldr	r3, [fp, #-28]
	add	r3, r3, #252
	str	r3, [fp, #-28]
.L48:
	ldr	r3, .L61+64
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L61+48
	add	r3, r3, r2
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bcc	.L51
	ldr	r3, [fp, #-12]
	mov	r2, #13
	mov	r1, #1
	ldr	r0, .L61+68
	bl	fwrite
	ldr	r3, [fp, #-12]
	mov	r2, #16
	mov	r1, #1
	ldr	r0, .L61+72
	bl	fwrite
	ldr	r3, .L61+48
	str	r3, [fp, #-28]
	b	.L52
.L53:
	ldr	r3, [fp, #-28]
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldr	r1, .L61+76
	ldr	r0, [fp, #-12]
	bl	fprintf
	ldr	r3, [fp, #-28]
	add	r3, r3, #252
	str	r3, [fp, #-28]
.L52:
	ldr	r3, .L61+64
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L61+48
	add	r3, r3, r2
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bcc	.L53
	ldr	r3, [fp, #-12]
	mov	r2, #5
	mov	r1, #1
	ldr	r0, .L61+60
	bl	fwrite
	ldr	r3, [fp, #-12]
	mov	r2, #18
	mov	r1, #1
	ldr	r0, .L61+80
	bl	fwrite
	ldr	r3, [fp, #-12]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L61+84
	bl	fwrite
	ldr	r3, [fp, #-12]
	mov	r2, #16
	mov	r1, #1
	ldr	r0, .L61+88
	bl	fwrite
	ldr	r3, [fp, #-12]
	mov	r2, #5
	mov	r1, #1
	ldr	r0, .L61+60
	bl	fwrite
	ldr	r3, [fp, #-12]
	mov	r2, #16
	mov	r1, #1
	ldr	r0, .L61+92
	bl	fwrite
	ldr	r3, [fp, #-12]
	mov	r2, #36
	mov	r1, #1
	ldr	r0, .L61+96
	bl	fwrite
	ldr	r3, [fp, #-12]
	mov	r2, #29
	mov	r1, #1
	ldr	r0, .L61+100
	bl	fwrite
	ldr	r3, [fp, #-12]
	mov	r2, #6
	mov	r1, #1
	ldr	r0, .L61+104
	bl	fwrite
	ldr	r3, [fp, #-12]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L61+108
	bl	fwrite
	ldr	r3, [fp, #-12]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L61+112
	bl	fwrite
	ldr	r3, [fp, #-12]
	mov	r2, #7
	mov	r1, #1
	ldr	r0, .L61+116
	bl	fwrite
	ldr	r1, [fp, #-8]
	ldr	r0, .L61+28
	bl	fputs
	b	.L54
.L60:
	ldr	r3, .L61+120
	str	r3, [fp, #-20]
	b	.L55
.L56:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L55:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L56
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	beq	.L56
	ldr	r1, .L61+124
	ldr	r0, [fp, #-20]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L57
	ldr	r0, [fp, #-8]
	bl	outsizes
	b	.L54
.L57:
	ldr	r1, .L61+128
	ldr	r0, [fp, #-20]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L58
	mov	r1, #1
	ldr	r0, [fp, #-8]
	bl	outfunc
	b	.L54
.L58:
	ldr	r1, .L61+132
	ldr	r0, [fp, #-20]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L59
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	outfunc
	b	.L54
.L59:
	ldr	r1, [fp, #-8]
	ldr	r0, .L61+120
	bl	fputs
.L54:
	ldr	r2, [fp, #-16]
	mov	r1, #1024
	ldr	r0, .L61+120
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L60
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L62:
	.align	2
.L61:
	.word	.LC1
	.word	.LC2
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	writer
	.word	nodename
	.word	.LC26
	.word	ntypes
	.word	.LC27
	.word	str
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	nstr
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.word	line
	.word	.LC44
	.word	.LC45
	.word	.LC46
	.size	output, .-output
	.section	.rodata
	.align	2
.LC47:
	.ascii	"static const short nodesize[%d] = {\012\000"
	.align	2
.LC48:
	.ascii	"      ALIGN(sizeof (struct %s)),\012\000"
	.align	2
.LC49:
	.ascii	"};\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	outsizes, %function
outsizes:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, .L66
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L66+4
	ldr	r0, [fp, #-16]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L64
.L65:
	ldr	r2, .L66+8
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L66+12
	ldr	r0, [fp, #-16]
	bl	fprintf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L64:
	ldr	r3, .L66
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L65
	ldr	r3, [fp, #-16]
	mov	r2, #3
	mov	r1, #1
	ldr	r0, .L66+16
	bl	fwrite
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L67:
	.align	2
.L66:
	.word	ntypes
	.word	.LC47
	.word	nodestr
	.word	.LC48
	.word	.LC49
	.size	outsizes, .-outsizes
	.section	.rodata
	.align	2
.LC50:
	.ascii	"      if (n == NULL)\012\000"
	.align	2
.LC51:
	.ascii	"\011    return;\012\000"
	.align	2
.LC52:
	.ascii	"\011    return NULL;\012\000"
	.align	2
.LC53:
	.ascii	"      funcblocksize += nodesize[n->type];\012\000"
	.align	2
.LC54:
	.ascii	"      new = funcblock;\012\000"
	.align	2
.LC55:
	.ascii	"      funcblock += nodesize[n->type];\012\000"
	.align	2
.LC56:
	.ascii	"      switch (n->type) {\012\000"
	.align	2
.LC57:
	.ascii	"      case %s:\012\000"
	.align	2
.LC58:
	.ascii	"calcsize(n->%s.%s);\012\000"
	.align	2
.LC59:
	.ascii	"new->%s.%s = copynode(n->%s.%s);\012\000"
	.align	2
.LC60:
	.ascii	"sizenodelist(n->%s.%s);\012\000"
	.align	2
.LC61:
	.ascii	"new->%s.%s = copynodelist(n->%s.%s);\012\000"
	.align	2
.LC62:
	.ascii	"funcstringsize += strlen(n->%s.%s) + 1;\012\000"
	.align	2
.LC63:
	.ascii	"new->%s.%s = nodesavestr(n->%s.%s);\012\000"
	.align	2
.LC64:
	.ascii	"new->%s.%s = n->%s.%s;\012\000"
	.align	2
.LC65:
	.ascii	"break;\012\000"
	.align	2
.LC66:
	.ascii	"      };\012\000"
	.align	2
.LC67:
	.ascii	"      new->type = n->type;\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	outfunc, %function
outfunc:
	@ args = 0, 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, #-24]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-24]
	mov	r2, #21
	mov	r1, #1
	ldr	r0, .L96
	bl	fwrite
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L69
	ldr	r3, [fp, #-24]
	mov	r2, #13
	mov	r1, #1
	ldr	r0, .L96+4
	bl	fwrite
	b	.L70
.L69:
	ldr	r3, [fp, #-24]
	mov	r2, #18
	mov	r1, #1
	ldr	r0, .L96+8
	bl	fwrite
.L70:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L71
	ldr	r3, [fp, #-24]
	mov	r2, #42
	mov	r1, #1
	ldr	r0, .L96+12
	bl	fwrite
	b	.L72
.L71:
	ldr	r3, [fp, #-24]
	mov	r2, #23
	mov	r1, #1
	ldr	r0, .L96+16
	bl	fwrite
	ldr	r3, [fp, #-24]
	mov	r2, #38
	mov	r1, #1
	ldr	r0, .L96+20
	bl	fwrite
.L72:
	ldr	r3, [fp, #-24]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L96+24
	bl	fwrite
	ldr	r3, .L96+28
	str	r3, [fp, #-16]
	b	.L73
.L92:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L74
.L76:
	ldr	r2, .L96+32
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L75
	ldr	r2, .L96+36
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	ldr	r1, .L96+40
	ldr	r0, [fp, #-24]
	bl	fprintf
.L75:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L74:
	ldr	r3, .L96+44
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L76
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
	nop
	b	.L78
.L91:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #8
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	sub	r3, r3, #1
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L78
.L80:
	.word	.L83
	.word	.L82
	.word	.L81
	.word	.L79
	.word	.L79
.L83:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L84
	ldr	r1, [fp, #-24]
	mov	r0, #12
	bl	indent
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r1, .L96+48
	ldr	r0, [fp, #-24]
	bl	fprintf
	b	.L78
.L84:
	ldr	r1, [fp, #-24]
	mov	r0, #12
	bl	indent
	ldr	r3, [fp, #-16]
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, .L96+52
	ldr	r0, [fp, #-24]
	bl	fprintf
	b	.L78
.L82:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L86
	ldr	r1, [fp, #-24]
	mov	r0, #12
	bl	indent
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r1, .L96+56
	ldr	r0, [fp, #-24]
	bl	fprintf
	b	.L78
.L86:
	ldr	r1, [fp, #-24]
	mov	r0, #12
	bl	indent
	ldr	r3, [fp, #-16]
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, .L96+60
	ldr	r0, [fp, #-24]
	bl	fprintf
	b	.L78
.L81:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L88
	ldr	r1, [fp, #-24]
	mov	r0, #12
	bl	indent
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r1, .L96+64
	ldr	r0, [fp, #-24]
	bl	fprintf
	b	.L78
.L88:
	ldr	r1, [fp, #-24]
	mov	r0, #12
	bl	indent
	ldr	r3, [fp, #-16]
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, .L96+68
	ldr	r0, [fp, #-24]
	bl	fprintf
	b	.L78
.L79:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L95
	ldr	r1, [fp, #-24]
	mov	r0, #12
	bl	indent
	ldr	r3, [fp, #-16]
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, .L96+72
	ldr	r0, [fp, #-24]
	bl	fprintf
.L95:
	nop
.L78:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bgt	.L91
	ldr	r1, [fp, #-24]
	mov	r0, #12
	bl	indent
	ldr	r3, [fp, #-24]
	mov	r2, #7
	mov	r1, #1
	ldr	r0, .L96+76
	bl	fwrite
	ldr	r3, [fp, #-16]
	add	r3, r3, #252
	str	r3, [fp, #-16]
.L73:
	ldr	r3, .L96+80
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L96+28
	add	r3, r3, r2
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bcc	.L92
	ldr	r3, [fp, #-24]
	mov	r2, #9
	mov	r1, #1
	ldr	r0, .L96+84
	bl	fwrite
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L94
	ldr	r3, [fp, #-24]
	mov	r2, #27
	mov	r1, #1
	ldr	r0, .L96+88
	bl	fwrite
.L94:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L97:
	.align	2
.L96:
	.word	.LC50
	.word	.LC51
	.word	.LC52
	.word	.LC53
	.word	.LC54
	.word	.LC55
	.word	.LC56
	.word	str
	.word	nodestr
	.word	nodename
	.word	.LC57
	.word	ntypes
	.word	.LC58
	.word	.LC59
	.word	.LC60
	.word	.LC61
	.word	.LC62
	.word	.LC63
	.word	.LC64
	.word	.LC65
	.word	nstr
	.word	.LC66
	.word	.LC67
	.size	outfunc, .-outfunc
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	indent, %function
indent:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	b	.L99
.L100:
	ldr	r1, [fp, #-12]
	mov	r0, #9
	bl	putc
	ldr	r3, [fp, #-8]
	sub	r3, r3, #8
	str	r3, [fp, #-8]
.L99:
	ldr	r3, [fp, #-8]
	cmp	r3, #7
	bgt	.L100
	b	.L101
.L102:
	ldr	r1, [fp, #-12]
	mov	r0, #32
	bl	putc
.L101:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L102
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	indent, .-indent
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nextfield, %function
nextfield:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	push	{r4, r5, fp}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	ldr	r3, .L110
	ldr	r4, [r3]
	b	.L104
.L105:
	add	r4, r4, #1
.L104:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L105
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #9
	beq	.L105
	ldr	r5, [fp, #-16]
	b	.L106
.L108:
	mov	r2, r4
	add	r4, r2, #1
	mov	r3, r5
	add	r5, r3, #1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L106:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L107
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #9
	beq	.L107
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L108
.L107:
	mov	r3, #0
	strb	r3, [r5]
	ldr	r3, .L110
	str	r4, [r3]
	ldr	r3, [fp, #-16]
	cmp	r5, r3
	movhi	r3, #1
	movls	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, r5, fp}
	bx	lr
.L111:
	.align	2
.L110:
	.word	linep
	.size	nextfield, .-nextfield
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	skipbl, %function
skipbl:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	b	.L113
.L114:
	ldr	r3, .L115
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L115
	str	r3, [r2]
.L113:
	ldr	r3, .L115
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L114
	ldr	r3, .L115
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	beq	.L114
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L116:
	.align	2
.L115:
	.word	linep
	.size	skipbl, .-skipbl
	.section	.rodata
	.align	2
.LC68:
	.ascii	"Line too long\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	readline, %function
readline:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	ldr	r3, .L127
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #1024
	ldr	r0, .L127+4
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L118
	mov	r3, #0
	b	.L119
.L118:
	ldr	r4, .L127+4
	b	.L120
.L122:
	add	r4, r4, #1
.L120:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #35
	beq	.L123
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L123
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L122
	b	.L123
.L125:
	sub	r4, r4, #1
.L123:
	ldr	r3, .L127+4
	cmp	r4, r3
	bls	.L124
	sub	r3, r4, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L125
	sub	r3, r4, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	beq	.L125
.L124:
	mov	r3, #0
	strb	r3, [r4]
	ldr	r3, .L127+8
	ldr	r2, .L127+4
	str	r2, [r3]
	ldr	r3, .L127+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L127+12
	str	r3, [r2]
	ldr	r3, .L127+4
	sub	r3, r4, r3
	cmp	r3, #100
	ble	.L126
	ldr	r0, .L127+16
	bl	error
.L126:
	mov	r3, #1
.L119:
	mov	r0, r3
	pop	{r4, r5, fp, pc}
.L128:
	.align	2
.L127:
	.word	infp
	.word	line
	.word	linep
	.word	linno
	.word	.LC68
	.size	readline, .-readline
	.section	.rodata
	.align	2
.LC69:
	.ascii	"line %d: \000"
	.align	2
.LC70:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	error, %function
error:
	@ args = 4, pretend = 16, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r0, r1, r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, [fp, #4]
	str	r3, [fp, #-16]
	ldr	r3, .L131
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	add	r3, fp, #8
	str	r3, [fp, #-12]
	ldr	r3, .L131+4
	ldr	r3, [r3]
	ldr	r2, .L131+8
	ldr	r2, [r2]
	ldr	r1, .L131+12
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L131+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	vfprintf
	ldr	r3, .L131+4
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	mov	r0, #2
	bl	exit
.L132:
	.align	2
.L131:
	.word	.LC70
	.word	stderr
	.word	linno
	.word	.LC69
	.size	error, .-error
	.section	.rodata
	.align	2
.LC71:
	.ascii	"Out of space\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	savestr, %function
savestr:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r4, r3
	cmp	r4, #0
	bne	.L134
	ldr	r0, .L136
	bl	error
.L134:
	ldr	r1, [fp, #-16]
	mov	r0, r4
	bl	strcpy
	mov	r3, r4
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L137:
	.align	2
.L136:
	.word	.LC71
	.size	savestr, .-savestr
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
