	.file	"834174.c"
	.intel_syntax noprefix
	.text
	.globl	constants
	.bss
	.align 32
	.type	constants, @object
	.size	constants, 1024
constants:
	.zero	1024
	.globl	constcnt
	.align 4
	.type	constcnt, @object
	.size	constcnt, 4
constcnt:
	.zero	4
	.globl	allregs
	.align 32
	.type	allregs, @object
	.size	allregs, 128000
allregs:
	.zero	128000
	.globl	regcnt
	.align 4
	.type	regcnt, @object
	.size	regcnt, 4
regcnt:
	.zero	4
	.globl	maskcnt
	.align 4
	.type	maskcnt, @object
	.size	maskcnt, 4
maskcnt:
	.zero	4
	.globl	agentnames
	.align 32
	.type	agentnames, @object
	.size	agentnames, 256
agentnames:
	.zero	256
	.globl	agentcnt
	.align 4
	.type	agentcnt, @object
	.size	agentcnt, 4
agentcnt:
	.zero	4
	.globl	commands
	.section	.rodata
.LC0:
	.string	"!agent"
.LC1:
	.string	"!endagent"
	.section	.data.rel.local,"aw"
	.align 32
	.type	commands, @object
	.size	commands, 48
commands:
	.quad	.LC0
	.long	1
	.zero	4
	.quad	.LC1
	.long	2
	.zero	4
	.quad	0
	.long	0
	.zero	4
	.text
	.globl	assoc
	.type	assoc, @function
assoc:
.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	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	jmp	.L2
.L5:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L3
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	jmp	.L4
.L3:
	add	QWORD PTR -8[rbp], 16
.L2:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L5
	mov	eax, -1
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	assoc, .-assoc
	.globl	gettoken
	.type	gettoken, @function
gettoken:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L7
.L9:
	add	QWORD PTR -16[rbp], 1
.L7:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L8
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	isspace@PLT
	test	eax, eax
	jne	.L9
.L8:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L12
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, 0
	jmp	.L11
.L19:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	isspace@PLT
	test	eax, eax
	jne	.L21
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 34
	jne	.L15
	add	QWORD PTR -16[rbp], 1
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L16
.L18:
	add	QWORD PTR -16[rbp], 1
.L16:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L17
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 34
	jne	.L18
.L17:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 34
	jne	.L15
	mov	rax, QWORD PTR -16[rbp]
	mov	BYTE PTR [rax], 0
.L15:
	add	QWORD PTR -16[rbp], 1
.L12:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L19
	jmp	.L14
.L21:
	nop
.L14:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L20
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -16[rbp], rdx
	mov	BYTE PTR [rax], 0
.L20:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	gettoken, .-gettoken
	.type	readline, @function
readline:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
.L30:
	mov	rdx, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L23
	mov	eax, -1
	jmp	.L24
.L23:
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, 10
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L25
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 0
.L25:
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L31
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 59
	jne	.L32
	jmp	.L27
.L31:
	nop
.L27:
	jmp	.L30
.L32:
	nop
	mov	eax, 0
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	readline, .-readline
	.section	.rodata
.LC2:
	.string	""
.LC3:
	.string	"fatal error: %s %s\n"
	.text
	.type	fatal, @function
fatal:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	cmp	QWORD PTR -16[rbp], 0
	je	.L34
	mov	rax, QWORD PTR -16[rbp]
	jmp	.L35
.L34:
	lea	rax, .LC2[rip]
.L35:
	mov	rdi, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, rax
	lea	rsi, .LC3[rip]
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE9:
	.size	fatal, .-fatal
	.section	.rodata
.LC4:
	.string	"Out of mask bits"
	.text
	.type	newmask, @function
newmask:
.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, 16
	mov	eax, DWORD PTR maskcnt[rip]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR maskcnt[rip]
	cmp	eax, 32
	jne	.L37
	mov	esi, 0
	lea	rdi, .LC4[rip]
	call	fatal
.L37:
	mov	eax, DWORD PTR maskcnt[rip]
	add	eax, 1
	mov	DWORD PTR maskcnt[rip], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	newmask, .-newmask
	.section	.rodata
.LC5:
	.string	"Out of constant space"
	.text
	.type	addconst, @function
addconst:
.LFB11:
	.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	DWORD PTR -28[rbp], esi
	mov	eax, DWORD PTR constcnt[rip]
	cmp	eax, 64
	jne	.L40
	mov	esi, 0
	lea	rdi, .LC5[rip]
	call	fatal
.L40:
	mov	ebx, DWORD PTR constcnt[rip]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rcx, rax
	movsx	rax, ebx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, constants[rip]
	mov	QWORD PTR [rdx+rax], rcx
	mov	eax, DWORD PTR constcnt[rip]
	cdqe
	sal	rax, 4
	mov	rcx, rax
	lea	rdx, constants[rip+8]
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR constcnt[rip]
	add	eax, 1
	mov	DWORD PTR constcnt[rip], eax
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	addconst, .-addconst
	.type	addreg, @function
addreg:
.LFB12:
	.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, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	mov	QWORD PTR -56[rbp], r8
	mov	QWORD PTR -64[rbp], r9
	mov	eax, DWORD PTR regcnt[rip]
	cdqe
	sal	rax, 6
	mov	rcx, rax
	lea	rdx, allregs[rip]
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	mov	ebx, DWORD PTR regcnt[rip]
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rcx, rax
	movsx	rax, ebx
	sal	rax, 6
	mov	rdx, rax
	lea	rax, allregs[rip+24]
	mov	QWORD PTR [rdx+rax], rcx
	mov	ebx, DWORD PTR regcnt[rip]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rcx, rax
	movsx	rax, ebx
	sal	rax, 6
	mov	rdx, rax
	lea	rax, allregs[rip+8]
	mov	QWORD PTR [rdx+rax], rcx
	mov	eax, DWORD PTR regcnt[rip]
	cdqe
	sal	rax, 6
	mov	rcx, rax
	lea	rdx, allregs[rip+16]
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	ebx, DWORD PTR regcnt[rip]
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rcx, rax
	movsx	rax, ebx
	sal	rax, 6
	mov	rdx, rax
	lea	rax, allregs[rip+32]
	mov	QWORD PTR [rdx+rax], rcx
	mov	ebx, DWORD PTR regcnt[rip]
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rcx, rax
	movsx	rax, ebx
	sal	rax, 6
	mov	rdx, rax
	lea	rax, allregs[rip+40]
	mov	QWORD PTR [rdx+rax], rcx
	mov	ebx, DWORD PTR regcnt[rip]
	mov	rdi, QWORD PTR 16[rbp]
	call	strdup@PLT
	mov	rcx, rax
	movsx	rax, ebx
	sal	rax, 6
	mov	rdx, rax
	lea	rax, allregs[rip+48]
	mov	QWORD PTR [rdx+rax], rcx
	mov	ebx, DWORD PTR regcnt[rip]
	mov	rax, QWORD PTR 24[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rcx, rax
	movsx	rax, ebx
	sal	rax, 6
	mov	rdx, rax
	lea	rax, allregs[rip+56]
	mov	QWORD PTR [rdx+rax], rcx
	mov	eax, DWORD PTR regcnt[rip]
	add	eax, 1
	mov	DWORD PTR regcnt[rip], eax
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	addreg, .-addreg
	.type	macroexpand, @function
macroexpand:
.LFB13:
	.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 -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	jmp	.L43
.L45:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 36
	jne	.L44
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	QWORD PTR -24[rbp], rax
	add	QWORD PTR -8[rbp], 1
	jmp	.L43
.L44:
	mov	rdx, QWORD PTR -8[rbp]
	lea	rax, 1[rdx]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, 1[rax]
	mov	QWORD PTR -24[rbp], rcx
	movzx	edx, BYTE PTR [rdx]
	mov	BYTE PTR [rax], dl
.L43:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L45
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	macroexpand, .-macroexpand
	.section	.rodata
.LC6:
	.string	"Agent %s Instances %s\n"
.LC7:
	.string	"Out of agent slots\n"
.LC8:
	.string	"Missing fields for "
	.align 8
.LC9:
	.string	"Too many registers in section "
.LC10:
	.string	","
.LC11:
	.string	"SOC_AGENT_%s%s"
.LC12:
	.string	"SOC_AGENT_%s"
	.text
	.type	doagentcmd, @function
doagentcmd:
.LFB14:
	.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 3400
	.cfi_offset 3, -24
	mov	QWORD PTR -7496[rbp], rdi
	mov	QWORD PTR -7504[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -7476[rbp], 0
	lea	rax, -7504[rbp]
	mov	rdi, rax
	call	gettoken
	mov	QWORD PTR -7432[rbp], rax
	lea	rax, -7504[rbp]
	mov	rdi, rax
	call	gettoken
	mov	QWORD PTR -7448[rbp], rax
	cmp	QWORD PTR -7448[rbp], 0
	jne	.L47
	lea	rax, -992[rbp]
	mov	WORD PTR [rax], 42
	lea	rax, -992[rbp]
	mov	QWORD PTR -7448[rbp], rax
.L47:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -7448[rbp]
	mov	rdx, QWORD PTR -7432[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR agentcnt[rip]
	cmp	eax, 32
	jne	.L48
	mov	esi, 0
	lea	rdi, .LC7[rip]
	call	fatal
.L48:
	mov	ebx, DWORD PTR agentcnt[rip]
	mov	rax, QWORD PTR -7432[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rcx, rax
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	lea	rax, agentnames[rip]
	mov	QWORD PTR [rdx+rax], rcx
	mov	eax, DWORD PTR agentcnt[rip]
	mov	DWORD PTR -7464[rbp], eax
	mov	eax, DWORD PTR agentcnt[rip]
	add	eax, 1
	mov	DWORD PTR agentcnt[rip], eax
	mov	BYTE PTR -528[rbp], 0
	jmp	.L49
.L53:
	movzx	eax, BYTE PTR -528[rbp]
	cmp	al, 33
	je	.L63
	lea	rax, -528[rbp]
	mov	QWORD PTR -7456[rbp], rax
	lea	rax, -7456[rbp]
	mov	rdi, rax
	call	gettoken
	mov	QWORD PTR -7424[rbp], rax
	lea	rax, -7456[rbp]
	mov	rdi, rax
	call	gettoken
	mov	QWORD PTR -7416[rbp], rax
	lea	rax, -7456[rbp]
	mov	rdi, rax
	call	gettoken
	mov	QWORD PTR -7408[rbp], rax
	lea	rax, -7456[rbp]
	mov	rdi, rax
	call	gettoken
	mov	QWORD PTR -7400[rbp], rax
	cmp	QWORD PTR -7400[rbp], 0
	jne	.L52
	mov	rax, QWORD PTR -7424[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	call	fatal
.L52:
	mov	rax, QWORD PTR -7424[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR -7476[rbp]
	cdqe
	sal	rax, 6
	lea	rax, -16[rax]
	add	rax, rbp
	sub	rax, 7352
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -7416[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR -7476[rbp]
	cdqe
	sal	rax, 6
	lea	rax, -16[rax]
	add	rax, rbp
	sub	rax, 7336
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -7408[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR -7476[rbp]
	cdqe
	sal	rax, 6
	lea	rax, -16[rax]
	add	rax, rbp
	sub	rax, 7328
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -7400[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR -7476[rbp]
	cdqe
	sal	rax, 6
	lea	rax, -16[rax]
	add	rax, rbp
	sub	rax, 7320
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -7476[rbp]
	cdqe
	sal	rax, 6
	lea	rax, -16[rax]
	add	rax, rbp
	sub	rax, 7376
	mov	QWORD PTR [rax], 0
	add	DWORD PTR -7476[rbp], 1
.L49:
	lea	rcx, -528[rbp]
	mov	rax, QWORD PTR -7496[rbp]
	mov	edx, 500
	mov	rsi, rcx
	mov	rdi, rax
	call	readline
	test	eax, eax
	js	.L51
	cmp	DWORD PTR -7476[rbp], 99
	jle	.L53
	jmp	.L51
.L63:
	nop
.L51:
	cmp	DWORD PTR -7476[rbp], 100
	jne	.L54
	mov	rax, QWORD PTR -7432[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	call	fatal
.L54:
	mov	rax, QWORD PTR -7448[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -7440[rbp], rax
	mov	DWORD PTR -7468[rbp], 0
	jmp	.L55
.L60:
	mov	rax, QWORD PTR -7440[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 42
	je	.L56
	mov	rax, QWORD PTR -7440[rbp]
	jmp	.L57
.L56:
	lea	rax, .LC2[rip]
.L57:
	mov	rdx, QWORD PTR -7432[rbp]
	lea	rdi, -960[rbp]
	mov	rcx, rax
	lea	rsi, .LC11[rip]
	mov	eax, 0
	call	sprintf@PLT
	call	newmask
	mov	DWORD PTR -7460[rbp], eax
	mov	eax, DWORD PTR -7460[rbp]
	or	DWORD PTR -7468[rbp], eax
	mov	edx, DWORD PTR -7460[rbp]
	lea	rax, -960[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	addconst
	mov	DWORD PTR -7472[rbp], 0
	jmp	.L58
.L59:
	mov	eax, DWORD PTR -7472[rbp]
	cdqe
	sal	rax, 6
	lea	rax, -16[rax]
	add	rax, rbp
	sub	rax, 7352
	mov	rax, QWORD PTR [rax]
	lea	rdx, -736[rbp]
	mov	rcx, QWORD PTR -7440[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	macroexpand
	mov	eax, DWORD PTR -7472[rbp]
	cdqe
	sal	rax, 6
	lea	rax, -16[rax]
	add	rax, rbp
	sub	rax, 7320
	mov	rdx, QWORD PTR [rax]
	lea	rax, -848[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR -7472[rbp]
	cdqe
	sal	rax, 6
	lea	rax, -16[rax]
	add	rax, rbp
	sub	rax, 7328
	mov	rdi, QWORD PTR [rax]
	mov	eax, DWORD PTR -7472[rbp]
	cdqe
	sal	rax, 6
	lea	rax, -16[rax]
	add	rax, rbp
	sub	rax, 7336
	mov	r9, QWORD PTR [rax]
	mov	edx, DWORD PTR -7460[rbp]
	mov	r10, QWORD PTR -7440[rbp]
	lea	rcx, -736[rbp]
	mov	esi, DWORD PTR -7464[rbp]
	mov	rax, QWORD PTR -7432[rbp]
	lea	r8, -848[rbp]
	push	r8
	push	rdi
	mov	r8, r10
	mov	rdi, rax
	call	addreg
	add	rsp, 16
	add	DWORD PTR -7472[rbp], 1
.L58:
	mov	eax, DWORD PTR -7472[rbp]
	cmp	eax, DWORD PTR -7476[rbp]
	jl	.L59
	lea	rsi, .LC10[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -7440[rbp], rax
.L55:
	cmp	QWORD PTR -7440[rbp], 0
	jne	.L60
	mov	rax, QWORD PTR -7448[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 42
	je	.L64
	mov	rdx, QWORD PTR -7432[rbp]
	lea	rax, -736[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	edx, DWORD PTR -7468[rbp]
	lea	rax, -736[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	addconst
.L64:
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L62
	call	__stack_chk_fail@PLT
.L62:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	doagentcmd, .-doagentcmd
	.section	.rodata
.LC13:
	.string	"Invalid command"
	.text
	.type	docommand, @function
docommand:
.LFB15:
	.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	QWORD PTR -32[rbp], rsi
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	gettoken
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L69
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, commands[rip]
	call	assoc
	cmp	eax, 1
	jne	.L68
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	doagentcmd
	jmp	.L65
.L68:
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	call	fatal
	jmp	.L65
.L69:
	nop
.L65:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	docommand, .-docommand
	.section	.rodata
	.align 8
.LC14:
	.string	"Command string required before register data"
	.text
	.type	ingestfile, @function
ingestfile:
.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, 528
	mov	QWORD PTR -520[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L71
.L73:
	movzx	eax, BYTE PTR -512[rbp]
	cmp	al, 33
	jne	.L72
	lea	rdx, -512[rbp]
	mov	rax, QWORD PTR -520[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	docommand
	jmp	.L71
.L72:
	mov	esi, 0
	lea	rdi, .LC14[rip]
	call	fatal
.L71:
	lea	rcx, -512[rbp]
	mov	rax, QWORD PTR -520[rbp]
	mov	edx, 500
	mov	rsi, rcx
	mov	rdi, rax
	call	readline
	test	eax, eax
	jns	.L73
	nop
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L74
	call	__stack_chk_fail@PLT
.L74:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	ingestfile, .-ingestfile
	.section	.rodata
.LC15:
	.string	"w"
.LC16:
	.string	"\n\n"
.LC17:
	.string	"#ifndef %s\n"
.LC18:
	.string	"#define %s 0x%08X\n"
.LC19:
	.string	"#endif\n"
.LC20:
	.string	"#ifdef _CFE_\n"
.LC21:
	.string	"#ifdef __ASSEMBLER__\n"
.LC22:
	.string	"\t.globl socstatetable\n"
.LC23:
	.string	"socstatetable:\n"
.LC24:
	.string	"\t\t.word 0x%08X,%s\n"
.LC25:
	.string	"\t\t.word 0,0\n"
.LC26:
	.string	"#ifndef __ASSEMBLER__\n"
.LC27:
	.string	"char *socagents[] = {\n"
.LC28:
	.string	"\t\"%s\",\n"
.LC29:
	.string	"\tNULL};\n\n"
.LC30:
	.string	"const socreg_t socregs[] = {\n"
	.align 8
.LC31:
	.string	"   {%s,%d,\"%s\",\"%s\",\n     0x%08X,%s,\"%s\"},\n"
	.align 8
.LC32:
	.string	"   {0,0,NULL,NULL,0,NULL,NULL}};\n\n"
	.text
	.globl	saveincfile
	.type	saveincfile, @function
saveincfile:
.LFB17:
	.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	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L76
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L76:
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC16[rip]
	call	fwrite@PLT
	mov	rdx, QWORD PTR constants[rip]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L77
.L78:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, constants[rip+8]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, constants[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -12[rbp], 1
.L77:
	mov	eax, DWORD PTR constcnt[rip]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L78
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 7
	mov	esi, 1
	lea	rdi, .LC19[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC16[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 13
	mov	esi, 1
	lea	rdi, .LC20[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 21
	mov	esi, 1
	lea	rdi, .LC21[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC22[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC23[rip]
	call	fwrite@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L79
.L80:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, allregs[rip+24]
	mov	rcx, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, allregs[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -12[rbp], 1
.L79:
	mov	eax, DWORD PTR regcnt[rip]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L80
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 12
	mov	esi, 1
	lea	rdi, .LC25[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 7
	mov	esi, 1
	lea	rdi, .LC19[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC16[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC26[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC27[rip]
	call	fwrite@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L81
.L82:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, agentnames[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -12[rbp], 1
.L81:
	mov	eax, DWORD PTR agentcnt[rip]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L82
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 9
	mov	esi, 1
	lea	rdi, .LC29[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 29
	mov	esi, 1
	lea	rdi, .LC30[rip]
	call	fwrite@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L83
.L84:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, allregs[rip+56]
	mov	r8, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, allregs[rip+48]
	mov	rdi, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, allregs[rip]
	mov	rsi, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, allregs[rip+40]
	mov	r9, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, allregs[rip+32]
	mov	r10, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, allregs[rip+16]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 6
	mov	rdx, rax
	lea	rax, allregs[rip+24]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	r8
	push	rdi
	push	rsi
	mov	r8, r10
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 32
	add	DWORD PTR -12[rbp], 1
.L83:
	mov	eax, DWORD PTR regcnt[rip]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L84
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 34
	mov	esi, 1
	lea	rdi, .LC32[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 7
	mov	esi, 1
	lea	rdi, .LC19[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 7
	mov	esi, 1
	lea	rdi, .LC19[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	saveincfile, .-saveincfile
	.section	.rodata
	.align 8
.LC33:
	.string	"usage: makereg inputfile outputfile\n"
.LC34:
	.string	"r"
.LC35:
	.string	"Total registers: %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB18:
	.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	cmp	DWORD PTR -20[rbp], 3
	je	.L86
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 36
	mov	esi, 1
	lea	rdi, .LC33[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L86:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC34[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L87
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L87:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	ingestfile
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	edx, DWORD PTR regcnt[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	saveincfile
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE18:
	.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	"834174.c"
	.text
	.comm	constants,512,4
	.global	constcnt
	.bss
	.align	2
	.type	constcnt, %object
	.size	constcnt, 4
constcnt:
	.space	4
	.comm	allregs,64000,4
	.global	regcnt
	.align	2
	.type	regcnt, %object
	.size	regcnt, 4
regcnt:
	.space	4
	.global	maskcnt
	.align	2
	.type	maskcnt, %object
	.size	maskcnt, 4
maskcnt:
	.space	4
	.comm	agentnames,128,4
	.comm	agentcnt,4,4
	.global	commands
	.section	.rodata
	.align	2
.LC0:
	.ascii	"!agent\000"
	.align	2
.LC1:
	.ascii	"!endagent\000"
	.data
	.align	2
	.type	commands, %object
	.size	commands, 24
commands:
	.word	.LC0
	.word	1
	.word	.LC1
	.word	2
	.word	0
	.word	0
	.text
	.align	2
	.global	assoc
	.syntax unified
	.arm
	.fpu softvfp
	.type	assoc, %function
assoc:
	@ 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	.L2
.L5:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	b	.L4
.L3:
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L5
	mvn	r3, #0
.L4:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	assoc, .-assoc
	.align	2
	.global	gettoken
	.syntax unified
	.arm
	.fpu softvfp
	.type	gettoken, %function
gettoken:
	@ 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, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	b	.L7
.L9:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L7:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L8
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	isspace
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
.L8:
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L12
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	mov	r3, #0
	b	.L11
.L19:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	isspace
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #34
	bne	.L15
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	b	.L16
.L18:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L16:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L17
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #34
	bne	.L18
.L17:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #34
	bne	.L15
	ldr	r3, [fp, #-12]
	mov	r2, #0
	strb	r2, [r3]
.L15:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L12:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L19
	b	.L14
.L21:
	nop
.L14:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L20
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	mov	r2, #0
	strb	r2, [r3]
.L20:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	gettoken, .-gettoken
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	readline, %function
readline:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
.L30:
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-20]
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L23
	mvn	r3, #0
	b	.L24
.L23:
	mov	r1, #10
	ldr	r0, [fp, #-20]
	bl	strchr
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L25
	ldr	r3, [fp, #-8]
	mov	r2, #0
	strb	r2, [r3]
.L25:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L31
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #59
	bne	.L32
	b	.L27
.L31:
	nop
.L27:
	b	.L30
.L32:
	nop
	mov	r3, #0
.L24:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	readline, .-readline
	.section	.rodata
	.align	2
.LC2:
	.ascii	"\000"
	.align	2
.LC3:
	.ascii	"fatal error: %s %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fatal, %function
fatal:
	@ 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, .L36
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L34
	ldr	r3, [fp, #-12]
	b	.L35
.L34:
	ldr	r3, .L36+4
.L35:
	ldr	r2, [fp, #-8]
	ldr	r1, .L36+8
	bl	fprintf
	mov	r0, #1
	bl	exit
.L37:
	.align	2
.L36:
	.word	stderr
	.word	.LC2
	.word	.LC3
	.size	fatal, .-fatal
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Out of mask bits\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	newmask, %function
newmask:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L41
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, .L41
	ldr	r3, [r3]
	cmp	r3, #32
	bne	.L39
	mov	r1, #0
	ldr	r0, .L41+4
	bl	fatal
.L39:
	ldr	r3, .L41
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L41
	str	r3, [r2]
	mov	r2, #1
	ldr	r3, [fp, #-8]
	lsl	r3, r2, r3
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L42:
	.align	2
.L41:
	.word	maskcnt
	.word	.LC4
	.size	newmask, .-newmask
	.section	.rodata
	.align	2
.LC5:
	.ascii	"Out of constant space\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	addconst, %function
addconst:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r3, .L45
	ldr	r3, [r3]
	cmp	r3, #64
	bne	.L44
	mov	r1, #0
	ldr	r0, .L45+4
	bl	fatal
.L44:
	ldr	r3, .L45
	ldr	r4, [r3]
	ldr	r0, [fp, #-16]
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L45+8
	str	r2, [r3, r4, lsl #3]
	ldr	r3, .L45
	ldr	r3, [r3]
	ldr	r2, .L45+8
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	str	r2, [r3, #4]
	ldr	r3, .L45
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L45
	str	r3, [r2]
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L46:
	.align	2
.L45:
	.word	constcnt
	.word	.LC5
	.word	constants
	.size	addconst, .-addconst
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	addreg, %function
addreg:
	@ args = 16, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, .L48
	ldr	r3, [r3]
	ldr	r1, .L48+4
	ldr	r2, [fp, #-24]
	str	r2, [r1, r3, lsl #5]
	ldr	r3, .L48
	ldr	r4, [r3]
	ldr	r0, [fp, #-28]
	bl	strdup
	mov	r3, r0
	mov	r1, r3
	ldr	r2, .L48+4
	lsl	r3, r4, #5
	add	r3, r2, r3
	str	r1, [r3, #12]
	ldr	r3, .L48
	ldr	r4, [r3]
	ldr	r0, [fp, #-16]
	bl	strdup
	mov	r3, r0
	mov	r1, r3
	ldr	r2, .L48+4
	lsl	r3, r4, #5
	add	r3, r2, r3
	str	r1, [r3, #4]
	ldr	r3, .L48
	ldr	r3, [r3]
	ldr	r2, .L48+4
	lsl	r3, r3, #5
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	str	r2, [r3, #8]
	ldr	r3, .L48
	ldr	r4, [r3]
	ldr	r0, [fp, #4]
	bl	strdup
	mov	r3, r0
	mov	r1, r3
	ldr	r2, .L48+4
	lsl	r3, r4, #5
	add	r3, r2, r3
	str	r1, [r3, #16]
	ldr	r3, .L48
	ldr	r4, [r3]
	ldr	r0, [fp, #8]
	bl	strdup
	mov	r3, r0
	mov	r1, r3
	ldr	r2, .L48+4
	lsl	r3, r4, #5
	add	r3, r2, r3
	str	r1, [r3, #20]
	ldr	r3, .L48
	ldr	r4, [r3]
	ldr	r0, [fp, #12]
	bl	strdup
	mov	r3, r0
	mov	r1, r3
	ldr	r2, .L48+4
	lsl	r3, r4, #5
	add	r3, r2, r3
	str	r1, [r3, #24]
	ldr	r3, .L48
	ldr	r4, [r3]
	ldr	r0, [fp, #16]
	bl	strdup
	mov	r3, r0
	mov	r1, r3
	ldr	r2, .L48+4
	lsl	r3, r4, #5
	add	r3, r2, r3
	str	r1, [r3, #28]
	ldr	r3, .L48
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L48
	str	r3, [r2]
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L49:
	.align	2
.L48:
	.word	regcnt
	.word	allregs
	.size	addreg, .-addreg
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	macroexpand, %function
macroexpand:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	b	.L51
.L53:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #36
	bne	.L52
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	strcpy
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L51
.L52:
	ldr	r2, [fp, #-8]
	add	r3, r2, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r1, r3, #1
	str	r1, [fp, #-16]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L51:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L53
	ldr	r3, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	macroexpand, .-macroexpand
	.section	.rodata
	.align	2
.LC6:
	.ascii	"Agent %s Instances %s\012\000"
	.align	2
.LC7:
	.ascii	"Out of agent slots\012\000"
	.align	2
.LC8:
	.ascii	"Missing fields for \000"
	.align	2
.LC9:
	.ascii	"Too many registers in section \000"
	.align	2
.LC10:
	.ascii	",\000"
	.align	2
.LC11:
	.ascii	"SOC_AGENT_%s%s\000"
	.align	2
.LC12:
	.ascii	"SOC_AGENT_%s\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	doagentcmd, %function
doagentcmd:
	@ args = 0, pretend = 0, frame = 4184
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4160
	sub	sp, sp, #44
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r0, [r3, #-84]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r1, [r3, #-88]
	ldr	r3, .L73
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-68]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4160
	sub	r3, r3, #12
	sub	r3, r3, #24
	mov	r0, r3
	bl	gettoken
	str	r0, [r4, #-56]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4160
	sub	r3, r3, #12
	sub	r3, r3, #24
	mov	r0, r3
	bl	gettoken
	str	r0, [r4, #-76]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-76]
	cmp	r3, #0
	bne	.L55
	sub	r3, fp, #936
	mov	r2, #42
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #936
	str	r3, [r2, #-76]
.L55:
	ldr	r3, .L73+4
	ldr	r0, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r3, [r3, #-76]
	ldr	r2, [r2, #-56]
	ldr	r1, .L73+8
	bl	fprintf
	ldr	r3, .L73+12
	ldr	r3, [r3]
	cmp	r3, #32
	bne	.L56
	mov	r1, #0
	ldr	r0, .L73+16
	bl	fatal
.L56:
	ldr	r3, .L73+12
	ldr	r4, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-56]
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L73+20
	str	r2, [r3, r4, lsl #2]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L73+12
	ldr	r3, [r3]
	str	r3, [r2, #-52]
	ldr	r3, .L73+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L73+12
	str	r3, [r2]
	mov	r3, #0
	strb	r3, [fp, #-516]
	b	.L57
.L61:
	ldrb	r3, [fp, #-516]	@ zero_extendqisi2
	cmp	r3, #33
	beq	.L71
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #516
	str	r3, [r2, #-80]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4160
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r0, r3
	bl	gettoken
	str	r0, [r4, #-48]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4160
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r0, r3
	bl	gettoken
	str	r0, [r4, #-44]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4160
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r0, r3
	bl	gettoken
	str	r0, [r4, #-40]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4160
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r0, r3
	bl	gettoken
	str	r0, [r4, #-36]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-36]
	cmp	r3, #0
	bne	.L60
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-48]
	ldr	r0, .L73+24
	bl	fatal
.L60:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-48]
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	lsl	r3, r3, #5
	add	r3, r1, r3
	str	r2, [r3, #-16]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-44]
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	lsl	r3, r3, #5
	add	r3, r1, r3
	str	r2, [r3, #-8]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-40]
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	lsl	r3, r3, #5
	add	r3, r1, r3
	str	r2, [r3, #-4]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-36]
	bl	strdup
	mov	r3, r0
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	str	r1, [r2, r3, lsl #5]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	lsl	r3, r3, #5
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-28]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	add	r3, r3, #1
	str	r3, [r2, #-68]
.L57:
	sub	r3, fp, #516
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #500
	mov	r1, r3
	ldr	r0, [r0, #-84]
	bl	readline
	mov	r3, r0
	cmp	r3, #0
	blt	.L59
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	cmp	r3, #99
	ble	.L61
	b	.L59
.L71:
	nop
.L59:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	cmp	r3, #100
	bne	.L62
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-56]
	ldr	r0, .L73+28
	bl	fatal
.L62:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, .L73+32
	ldr	r0, [r3, #-76]
	bl	strtok
	str	r0, [r4, #-72]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-60]
	b	.L63
.L68:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #42
	beq	.L64
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	b	.L65
.L64:
	ldr	r3, .L73+36
.L65:
	sub	r2, fp, #4096
	sub	r2, r2, #12
	sub	r0, fp, #916
	ldr	r2, [r2, #-56]
	ldr	r1, .L73+40
	bl	sprintf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	bl	newmask
	str	r0, [r4, #-32]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-60]
	ldr	r3, [r3, #-32]
	orr	r3, r2, r3
	str	r3, [r1, #-60]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #916
	ldr	r1, [r2, #-32]
	mov	r0, r3
	bl	addconst
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-64]
	b	.L66
.L67:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	lsl	r3, r3, #5
	add	r3, r2, r3
	ldr	r3, [r3, #-16]
	sub	r2, fp, #716
	sub	r1, fp, #4096
	sub	r1, r1, #12
	ldr	r1, [r1, #-72]
	mov	r0, r3
	bl	macroexpand
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	ldr	r2, [r2, r3, lsl #5]
	sub	r3, fp, #816
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	lsl	r3, r3, #5
	add	r3, r2, r3
	ldr	r2, [r3, #-8]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	lsl	r3, r3, #5
	add	r3, r1, r3
	ldr	r3, [r3, #-4]
	sub	r0, fp, #716
	sub	r1, fp, #4096
	sub	r1, r1, #12
	mov	r4, r1
	sub	r1, fp, #4096
	sub	r1, r1, #12
	mov	lr, r1
	sub	r1, fp, #4096
	sub	r1, r1, #12
	mov	ip, r1
	sub	r1, fp, #816
	str	r1, [sp, #12]
	str	r3, [sp, #8]
	str	r2, [sp, #4]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	str	r3, [sp]
	mov	r3, r0
	ldr	r2, [r4, #-32]
	ldr	r1, [lr, #-52]
	ldr	r0, [ip, #-56]
	bl	addreg
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	add	r3, r3, #1
	str	r3, [r2, #-64]
.L66:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-64]
	ldr	r3, [r3, #-68]
	cmp	r2, r3
	blt	.L67
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L73+32
	mov	r0, #0
	bl	strtok
	str	r0, [r4, #-72]
.L63:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	cmp	r3, #0
	bne	.L68
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-76]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #42
	beq	.L72
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #716
	ldr	r2, [r2, #-56]
	ldr	r1, .L73+44
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #716
	ldr	r1, [r2, #-60]
	mov	r0, r3
	bl	addconst
.L72:
	nop
	ldr	r3, .L73
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L70
	bl	__stack_chk_fail
.L70:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L74:
	.align	2
.L73:
	.word	.LC13
	.word	stderr
	.word	.LC6
	.word	agentcnt
	.word	.LC7
	.word	agentnames
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC2
	.word	.LC11
	.word	.LC12
	.size	doagentcmd, .-doagentcmd
	.section	.rodata
	.align	2
.LC14:
	.ascii	"Invalid command\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	docommand, %function
docommand:
	@ 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]
	str	r1, [fp, #-20]
	sub	r3, fp, #20
	mov	r0, r3
	bl	gettoken
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L79
	ldr	r1, [fp, #-8]
	ldr	r0, .L80
	bl	assoc
	mov	r3, r0
	cmp	r3, #1
	bne	.L78
	ldr	r3, [fp, #-20]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	doagentcmd
	b	.L75
.L78:
	ldr	r1, [fp, #-8]
	ldr	r0, .L80+4
	bl	fatal
	b	.L75
.L79:
	nop
.L75:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L81:
	.align	2
.L80:
	.word	commands
	.word	.LC14
	.size	docommand, .-docommand
	.section	.rodata
	.align	2
.LC15:
	.ascii	"Command string required before register data\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ingestfile, %function
ingestfile:
	@ args = 0, pretend = 0, frame = 512
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #512
	str	r0, [fp, #-512]
	ldr	r3, .L87
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L83
.L85:
	ldrb	r3, [fp, #-508]	@ zero_extendqisi2
	cmp	r3, #33
	bne	.L84
	sub	r3, fp, #508
	mov	r1, r3
	ldr	r0, [fp, #-512]
	bl	docommand
	b	.L83
.L84:
	mov	r1, #0
	ldr	r0, .L87+4
	bl	fatal
.L83:
	sub	r3, fp, #508
	mov	r2, #500
	mov	r1, r3
	ldr	r0, [fp, #-512]
	bl	readline
	mov	r3, r0
	cmp	r3, #0
	bge	.L85
	nop
	ldr	r2, .L87
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L86
	bl	__stack_chk_fail
.L86:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L88:
	.align	2
.L87:
	.word	.LC16
	.word	.LC15
	.size	ingestfile, .-ingestfile
	.section	.rodata
	.align	2
.LC17:
	.ascii	"w\000"
	.align	2
.LC18:
	.ascii	"\012\012\000"
	.align	2
.LC19:
	.ascii	"#ifndef %s\012\000"
	.align	2
.LC20:
	.ascii	"#define %s 0x%08X\012\000"
	.align	2
.LC21:
	.ascii	"#endif\012\000"
	.align	2
.LC22:
	.ascii	"#ifdef _CFE_\012\000"
	.align	2
.LC23:
	.ascii	"#ifdef __ASSEMBLER__\012\000"
	.align	2
.LC24:
	.ascii	"\011.globl socstatetable\012\000"
	.align	2
.LC25:
	.ascii	"socstatetable:\012\000"
	.align	2
.LC26:
	.ascii	"\011\011.word 0x%08X,%s\012\000"
	.align	2
.LC27:
	.ascii	"\011\011.word 0,0\012\000"
	.align	2
.LC28:
	.ascii	"#ifndef __ASSEMBLER__\012\000"
	.align	2
.LC29:
	.ascii	"char *socagents[] = {\012\000"
	.align	2
.LC30:
	.ascii	"\011\"%s\",\012\000"
	.align	2
.LC31:
	.ascii	"\011NULL};\012\012\000"
	.align	2
.LC32:
	.ascii	"const socreg_t socregs[] = {\012\000"
	.align	2
.LC33:
	.ascii	"   {%s,%d,\"%s\",\"%s\",\012     0x%08X,%s,\"%s\"},"
	.ascii	"\012\000"
	.align	2
.LC34:
	.ascii	"   {0,0,NULL,NULL,0,NULL,NULL}};\012\012\000"
	.text
	.align	2
	.global	saveincfile
	.syntax unified
	.arm
	.fpu softvfp
	.type	saveincfile, %function
saveincfile:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #40
	str	r0, [fp, #-24]
	ldr	r1, .L99
	ldr	r0, [fp, #-24]
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L90
	ldr	r0, [fp, #-24]
	bl	perror
	mov	r0, #1
	bl	exit
.L90:
	ldr	r3, [fp, #-16]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L99+4
	bl	fwrite
	ldr	r3, .L99+8
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L99+12
	ldr	r0, [fp, #-16]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L91
.L92:
	ldr	r2, .L99+8
	ldr	r3, [fp, #-20]
	ldr	r2, [r2, r3, lsl #3]
	ldr	r1, .L99+8
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	ldr	r1, .L99+16
	ldr	r0, [fp, #-16]
	bl	fprintf
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L91:
	ldr	r3, .L99+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L92
	ldr	r3, [fp, #-16]
	mov	r2, #7
	mov	r1, #1
	ldr	r0, .L99+24
	bl	fwrite
	ldr	r3, [fp, #-16]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L99+4
	bl	fwrite
	ldr	r3, [fp, #-16]
	mov	r2, #13
	mov	r1, #1
	ldr	r0, .L99+28
	bl	fwrite
	ldr	r3, [fp, #-16]
	mov	r2, #21
	mov	r1, #1
	ldr	r0, .L99+32
	bl	fwrite
	ldr	r3, [fp, #-16]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L99+36
	bl	fwrite
	ldr	r3, [fp, #-16]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L99+40
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L93
.L94:
	ldr	r2, .L99+44
	ldr	r3, [fp, #-20]
	ldr	r2, [r2, r3, lsl #5]
	ldr	r1, .L99+44
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #5
	add	r3, r1, r3
	ldr	r3, [r3, #12]
	ldr	r1, .L99+48
	ldr	r0, [fp, #-16]
	bl	fprintf
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L93:
	ldr	r3, .L99+52
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L94
	ldr	r3, [fp, #-16]
	mov	r2, #12
	mov	r1, #1
	ldr	r0, .L99+56
	bl	fwrite
	ldr	r3, [fp, #-16]
	mov	r2, #7
	mov	r1, #1
	ldr	r0, .L99+24
	bl	fwrite
	ldr	r3, [fp, #-16]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L99+4
	bl	fwrite
	ldr	r3, [fp, #-16]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L99+60
	bl	fwrite
	ldr	r3, [fp, #-16]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L99+64
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L95
.L96:
	ldr	r2, .L99+68
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	ldr	r1, .L99+72
	ldr	r0, [fp, #-16]
	bl	fprintf
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L95:
	ldr	r3, .L99+76
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L96
	ldr	r3, [fp, #-16]
	mov	r2, #9
	mov	r1, #1
	ldr	r0, .L99+80
	bl	fwrite
	ldr	r3, [fp, #-16]
	mov	r2, #29
	mov	r1, #1
	ldr	r0, .L99+84
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L97
.L98:
	ldr	r2, .L99+44
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #5
	add	r3, r2, r3
	ldr	lr, [r3, #12]
	ldr	r2, .L99+44
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #5
	add	r3, r2, r3
	ldr	r4, [r3, #8]
	ldr	r2, .L99+44
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #5
	add	r3, r2, r3
	ldr	r2, [r3, #16]
	ldr	r1, .L99+44
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #5
	add	r3, r1, r3
	ldr	r1, [r3, #20]
	ldr	r0, .L99+44
	ldr	r3, [fp, #-20]
	ldr	r0, [r0, r3, lsl #5]
	ldr	ip, .L99+44
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #5
	add	r3, ip, r3
	ldr	ip, [r3, #24]
	ldr	r5, .L99+44
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #5
	add	r3, r5, r3
	ldr	r3, [r3, #28]
	str	r3, [sp, #16]
	str	ip, [sp, #12]
	str	r0, [sp, #8]
	str	r1, [sp, #4]
	str	r2, [sp]
	mov	r3, r4
	mov	r2, lr
	ldr	r1, .L99+88
	ldr	r0, [fp, #-16]
	bl	fprintf
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L97:
	ldr	r3, .L99+52
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L98
	ldr	r3, [fp, #-16]
	mov	r2, #34
	mov	r1, #1
	ldr	r0, .L99+92
	bl	fwrite
	ldr	r3, [fp, #-16]
	mov	r2, #7
	mov	r1, #1
	ldr	r0, .L99+24
	bl	fwrite
	ldr	r3, [fp, #-16]
	mov	r2, #7
	mov	r1, #1
	ldr	r0, .L99+24
	bl	fwrite
	ldr	r0, [fp, #-16]
	bl	fclose
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L100:
	.align	2
.L99:
	.word	.LC17
	.word	.LC18
	.word	constants
	.word	.LC19
	.word	.LC20
	.word	constcnt
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	allregs
	.word	.LC26
	.word	regcnt
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	agentnames
	.word	.LC30
	.word	agentcnt
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.size	saveincfile, .-saveincfile
	.section	.rodata
	.align	2
.LC35:
	.ascii	"usage: makereg inputfile outputfile\012\000"
	.align	2
.LC36:
	.ascii	"r\000"
	.align	2
.LC37:
	.ascii	"Total registers: %d\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	beq	.L102
	ldr	r3, .L104
	ldr	r3, [r3]
	mov	r2, #36
	mov	r1, #1
	ldr	r0, .L104+4
	bl	fwrite
	mov	r0, #1
	bl	exit
.L102:
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L104+8
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L103
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	perror
	mov	r0, #1
	bl	exit
.L103:
	ldr	r0, [fp, #-8]
	bl	ingestfile
	ldr	r0, [fp, #-8]
	bl	fclose
	ldr	r3, .L104
	ldr	r3, [r3]
	ldr	r2, .L104+12
	ldr	r2, [r2]
	ldr	r1, .L104+16
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	saveincfile
	mov	r0, #0
	bl	exit
.L105:
	.align	2
.L104:
	.word	stderr
	.word	.LC35
	.word	.LC36
	.word	regcnt
	.word	.LC37
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
