	.file	"40762645.c"
	.intel_syntax noprefix
	.text
	.globl	fd
	.bss
	.align 4
	.type	fd, @object
	.size	fd, 4
fd:
	.zero	4
	.globl	string
	.align 32
	.type	string, @object
	.size	string, 40
string:
	.zero	40
	.section	.rodata
.LC0:
	.string	"usage: makedefs file\n"
.LC1:
	.string	"objects[] = {"
.LC2:
	.string	"RIN_"
	.align 8
.LC3:
	.string	"#define\t%s\tu.uprops[%d].p_flgs\n"
.LC4:
	.string	"WORTHLESS_PIECE_OF_"
.LC5:
	.string	"/* #define %s\t%d */\n"
.LC6:
	.string	"#define\t%s\t%d\n"
.LC7:
	.string	"\n#define\tCORPSE\tDEAD_HUMAN"
.LC8:
	.string	"#define\tLAST_GEM\t(JADE+1)"
.LC9:
	.string	"#define\tLAST_RING\t%d\n"
.LC10:
	.string	"#define\tNROFOBJECTS\t%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	cmp	DWORD PTR -20[rbp], 2
	je	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 21
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR fd[rip], eax
	mov	eax, DWORD PTR fd[rip]
	test	eax, eax
	jns	.L3
	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
.L3:
	lea	rdi, .LC1[rip]
	call	skipuntil
	jmp	.L4
.L15:
	movzx	eax, BYTE PTR string[rip]
	test	al, al
	jne	.L5
	add	DWORD PTR -16[rbp], 1
	jmp	.L4
.L5:
	lea	rax, string[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L6
.L9:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L7
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 9
	je	.L7
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L8
.L7:
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 95
.L8:
	add	QWORD PTR -8[rbp], 1
.L6:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L9
	mov	edx, 4
	lea	rsi, .LC2[rip]
	lea	rdi, string[rip]
	call	strncmp@PLT
	test	eax, eax
	jne	.L10
	lea	rax, string[rip+4]
	mov	rdi, rax
	call	capitalize
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	lea	rcx, string[rip+4]
	mov	edx, eax
	mov	rsi, rcx
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L10:
	lea	rax, string[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L11
.L12:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	capitalize
	add	QWORD PTR -8[rbp], 1
.L11:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L12
	mov	edx, 19
	lea	rsi, .LC4[rip]
	lea	rdi, string[rip]
	call	strncmp@PLT
	test	eax, eax
	jne	.L13
	mov	eax, DWORD PTR -16[rbp]
	mov	edx, eax
	lea	rsi, string[rip]
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L14
.L13:
	mov	eax, DWORD PTR -16[rbp]
	mov	edx, eax
	lea	rsi, string[rip]
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L14:
	add	DWORD PTR -16[rbp], 1
.L4:
	call	getentry
	test	eax, eax
	jne	.L15
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -16[rbp]
	sub	eax, 1
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	line
	.bss
	.align 32
	.type	line, @object
	.size	line, 1000
line:
	.zero	1000
	.globl	lp
	.section	.data.rel.local,"aw"
	.align 8
	.type	lp, @object
	.size	lp, 8
lp:
	.quad	line
	.globl	lp0
	.align 8
	.type	lp0, @object
	.size	lp0, 8
lp0:
	.quad	line
	.globl	lpe
	.align 8
	.type	lpe, @object
	.size	lpe, 8
lpe:
	.quad	line
	.globl	eof
	.bss
	.align 4
	.type	eof, @object
	.size	eof, 4
eof:
	.zero	4
	.section	.rodata
.LC11:
	.string	"Input error."
	.text
	.globl	readline
	.type	readline, @function
readline:
.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, 16
	lea	rax, line[rip+1000]
	mov	rdx, QWORD PTR lp0[rip]
	sub	rax, rdx
	mov	rdx, rax
	mov	rcx, QWORD PTR lp0[rip]
	mov	eax, DWORD PTR fd[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L17
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L17:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L18
	mov	eax, DWORD PTR eof[rip]
	add	eax, 1
	mov	DWORD PTR eof[rip], eax
.L18:
	mov	rdx, QWORD PTR lp0[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, rdx
	mov	QWORD PTR lpe[rip], rax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	readline, .-readline
	.globl	nextchar
	.type	nextchar, @function
nextchar:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rdx, QWORD PTR lp[rip]
	mov	rax, QWORD PTR lpe[rip]
	cmp	rdx, rax
	jne	.L20
	call	readline
	mov	rax, QWORD PTR lp0[rip]
	mov	QWORD PTR lp[rip], rax
.L20:
	mov	rdx, QWORD PTR lp[rip]
	mov	rax, QWORD PTR lpe[rip]
	cmp	rdx, rax
	je	.L21
	mov	rax, QWORD PTR lp[rip]
	lea	rdx, 1[rax]
	mov	QWORD PTR lp[rip], rdx
	movzx	eax, BYTE PTR [rax]
	jmp	.L23
.L21:
	mov	eax, 0
.L23:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	nextchar, .-nextchar
	.section	.rodata
.LC12:
	.string	"Cannot skipuntil %s\n"
.LC13:
	.string	"error in skipuntil"
	.text
	.globl	skipuntil
	.type	skipuntil, @function
skipuntil:
.LFB9:
	.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 -56[rbp], rdi
.L25:
	jmp	.L26
.L27:
	mov	eax, DWORD PTR eof[rip]
	test	eax, eax
	je	.L26
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L26:
	mov	rax, QWORD PTR -56[rbp]
	movzx	ebx, BYTE PTR [rax]
	call	nextchar
	cmp	bl, al
	jne	.L27
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, QWORD PTR lpe[rip]
	mov	rcx, QWORD PTR lp[rip]
	sub	rdx, rcx
	add	rdx, 1
	cmp	rax, rdx
	jbe	.L28
	mov	rax, QWORD PTR lp[rip]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR lp0[rip]
	mov	QWORD PTR lp[rip], rax
	mov	rax, QWORD PTR lp[rip]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L29
.L30:
	mov	rdx, QWORD PTR -24[rbp]
	lea	rax, 1[rdx]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, 1[rax]
	mov	QWORD PTR -32[rbp], rcx
	movzx	edx, BYTE PTR [rdx]
	mov	BYTE PTR [rax], dl
.L29:
	mov	rax, QWORD PTR lpe[rip]
	cmp	QWORD PTR -24[rbp], rax
	jne	.L30
	mov	rax, QWORD PTR lp0[rip]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR lp0[rip], rax
	call	readline
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR lp0[rip], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, QWORD PTR lpe[rip]
	mov	rcx, QWORD PTR lp[rip]
	sub	rdx, rcx
	add	rdx, 1
	cmp	rax, rdx
	jbe	.L28
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L28:
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 1
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR lp[rip]
	mov	QWORD PTR -40[rbp], rax
	jmp	.L31
.L33:
	add	QWORD PTR -48[rbp], 1
	add	QWORD PTR -40[rbp], 1
.L31:
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L32
	mov	rax, QWORD PTR -48[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	je	.L33
.L32:
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L25
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR lp[rip], rax
	mov	eax, 1
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	skipuntil, .-skipuntil
	.section	.rodata
.LC14:
	.string	"WAND"
.LC15:
	.string	"RING"
.LC16:
	.string	"POTION"
.LC17:
	.string	"SCROLL"
.LC18:
	.string	"*/"
.LC19:
	.string	"too many ) ?"
.LC20:
	.string	"unexpected ,"
.LC21:
	.string	"strange character denotation?"
	.text
	.globl	getentry
	.type	getentry, @function
getentry:
.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, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -64[rbp], 0
	mov	DWORD PTR -60[rbp], 0
	mov	DWORD PTR -56[rbp], 0
	mov	DWORD PTR -52[rbp], 0
	mov	DWORD PTR -48[rbp], 0
	mov	BYTE PTR string[rip+4], 0
	movzx	eax, BYTE PTR string[rip+4]
	mov	BYTE PTR string[rip], al
.L74:
	call	nextchar
	mov	BYTE PTR -67[rbp], al
.L38:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, BYTE PTR -67[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1024
	test	eax, eax
	je	.L39
	lea	rax, -18[rbp]
	mov	QWORD PTR -40[rbp], rax
.L41:
	lea	rax, -18[rbp]
	add	rax, 9
	cmp	QWORD PTR -40[rbp], rax
	jnb	.L40
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -40[rbp], rdx
	movzx	edx, BYTE PTR -67[rbp]
	mov	BYTE PTR [rax], dl
.L40:
	call	nextchar
	mov	BYTE PTR -67[rbp], al
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, BYTE PTR -67[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1024
	test	eax, eax
	jne	.L41
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, BYTE PTR -67[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L41
	mov	rax, QWORD PTR -40[rbp]
	mov	BYTE PTR [rax], 0
	jmp	.L42
.L43:
	call	nextchar
	mov	BYTE PTR -67[rbp], al
.L42:
	cmp	BYTE PTR -67[rbp], 32
	je	.L43
	cmp	BYTE PTR -67[rbp], 9
	je	.L43
	cmp	BYTE PTR -67[rbp], 40
	jne	.L39
	cmp	DWORD PTR -60[rbp], 0
	jne	.L39
	cmp	DWORD PTR -56[rbp], 0
	jne	.L39
	lea	rax, -18[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L44
	lea	rax, -18[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L44
	lea	rax, -18[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L44
	lea	rax, -18[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L39
.L44:
	lea	rax, -18[rbp]
	mov	edx, 3
	mov	rsi, rax
	lea	rdi, string[rip]
	call	strncpy@PLT
	mov	BYTE PTR string[rip+3], 95
	mov	DWORD PTR -48[rbp], 4
.L39:
	movsx	eax, BYTE PTR -67[rbp]
	cmp	eax, 125
	je	.L45
	cmp	eax, 125
	jg	.L74
	cmp	eax, 47
	jg	.L47
	cmp	eax, 10
	jl	.L74
	sub	eax, 10
	cmp	eax, 37
	ja	.L74
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L49[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L49[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L49:
	.long	.L55-.L49
	.long	.L74-.L49
	.long	.L74-.L49
	.long	.L74-.L49
	.long	.L74-.L49
	.long	.L74-.L49
	.long	.L74-.L49
	.long	.L74-.L49
	.long	.L74-.L49
	.long	.L74-.L49
	.long	.L74-.L49
	.long	.L74-.L49
	.long	.L74-.L49
	.long	.L74-.L49
	.long	.L74-.L49
	.long	.L74-.L49
	.long	.L74-.L49
	.long	.L74-.L49
	.long	.L74-.L49
	.long	.L74-.L49
	.long	.L74-.L49
	.long	.L74-.L49
	.long	.L74-.L49
	.long	.L74-.L49
	.long	.L54-.L49
	.long	.L74-.L49
	.long	.L74-.L49
	.long	.L74-.L49
	.long	.L74-.L49
	.long	.L53-.L49
	.long	.L52-.L49
	.long	.L51-.L49
	.long	.L74-.L49
	.long	.L74-.L49
	.long	.L50-.L49
	.long	.L74-.L49
	.long	.L74-.L49
	.long	.L48-.L49
	.text
.L47:
	cmp	eax, 123
	je	.L56
	jmp	.L46
.L48:
	call	nextchar
	mov	BYTE PTR -67[rbp], al
	cmp	BYTE PTR -67[rbp], 42
	jne	.L38
	lea	rdi, .LC18[rip]
	call	skipuntil
	jmp	.L38
.L56:
	add	DWORD PTR -64[rbp], 1
	jmp	.L46
.L52:
	add	DWORD PTR -60[rbp], 1
	jmp	.L46
.L45:
	sub	DWORD PTR -64[rbp], 1
	cmp	DWORD PTR -64[rbp], 0
	jns	.L77
	mov	eax, 0
	jmp	.L75
.L51:
	sub	DWORD PTR -60[rbp], 1
	cmp	DWORD PTR -60[rbp], 0
	jns	.L78
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L55:
	call	nextchar
	mov	BYTE PTR -67[rbp], al
	cmp	BYTE PTR -67[rbp], 35
	jne	.L38
.L62:
	movzx	eax, BYTE PTR -67[rbp]
	mov	BYTE PTR -65[rbp], al
	call	nextchar
	mov	BYTE PTR -67[rbp], al
	cmp	BYTE PTR -67[rbp], 10
	jne	.L62
	cmp	BYTE PTR -65[rbp], 92
	je	.L62
	jmp	.L46
.L50:
	cmp	DWORD PTR -60[rbp], 0
	jne	.L63
	cmp	DWORD PTR -64[rbp], 0
	jne	.L63
	cmp	DWORD PTR -48[rbp], 0
	je	.L64
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	lea	rdx, string[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	jne	.L64
	mov	BYTE PTR string[rip], 0
.L64:
	cmp	DWORD PTR -56[rbp], 0
	je	.L65
	mov	eax, 1
	jmp	.L75
.L65:
	lea	rdi, .LC20[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L63:
	add	DWORD PTR -52[rbp], 1
	jmp	.L46
.L53:
	call	nextchar
	mov	BYTE PTR -67[rbp], al
	cmp	BYTE PTR -67[rbp], 92
	jne	.L66
	call	nextchar
	mov	BYTE PTR -67[rbp], al
.L66:
	call	nextchar
	cmp	al, 39
	je	.L79
	lea	rdi, .LC21[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L54:
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	lea	rdx, string[rip]
	add	rax, rdx
	mov	QWORD PTR -32[rbp], rax
	cmp	DWORD PTR -64[rbp], 0
	jne	.L68
	cmp	DWORD PTR -60[rbp], 0
	je	.L69
.L68:
	mov	eax, DWORD PTR -56[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -56[rbp], edx
	test	eax, eax
	jne	.L69
	cmp	DWORD PTR -52[rbp], 0
	jne	.L69
	mov	eax, 1
	jmp	.L70
.L69:
	mov	eax, 0
.L70:
	mov	DWORD PTR -44[rbp], eax
.L72:
	movzx	eax, BYTE PTR -67[rbp]
	mov	BYTE PTR -66[rbp], al
	call	nextchar
	mov	BYTE PTR -67[rbp], al
	cmp	DWORD PTR -44[rbp], 0
	je	.L71
	lea	rax, string[rip+40]
	cmp	QWORD PTR -32[rbp], rax
	jnb	.L71
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -32[rbp], rdx
	movzx	edx, BYTE PTR -67[rbp]
	mov	BYTE PTR [rax], dl
.L71:
	cmp	BYTE PTR -67[rbp], 34
	jne	.L72
	cmp	BYTE PTR -66[rbp], 92
	je	.L72
	cmp	DWORD PTR -44[rbp], 0
	je	.L80
	sub	QWORD PTR -32[rbp], 1
	mov	rax, QWORD PTR -32[rbp]
	mov	BYTE PTR [rax], 0
	jmp	.L80
.L77:
	nop
	jmp	.L74
.L78:
	nop
	jmp	.L74
.L79:
	nop
	jmp	.L74
.L80:
	nop
.L46:
	jmp	.L74
.L75:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L76
	call	__stack_chk_fail@PLT
.L76:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	getentry, .-getentry
	.globl	capitalize
	.type	capitalize, @function
capitalize:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	toupper@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], dl
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	capitalize, .-capitalize
	.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	"40762645.c"
	.text
	.comm	fd,4,4
	.comm	string,40,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"usage: makedefs file\012\000"
	.align	2
.LC1:
	.ascii	"objects[] = {\000"
	.align	2
.LC2:
	.ascii	"RIN_\000"
	.align	2
.LC3:
	.ascii	"#define\011%s\011u.uprops[%d].p_flgs\012\000"
	.align	2
.LC4:
	.ascii	"WORTHLESS_PIECE_OF_\000"
	.align	2
.LC5:
	.ascii	"/* #define %s\011%d */\012\000"
	.align	2
.LC6:
	.ascii	"#define\011%s\011%d\012\000"
	.align	2
.LC7:
	.ascii	"\012#define\011CORPSE\011DEAD_HUMAN\000"
	.align	2
.LC8:
	.ascii	"#define\011LAST_GEM\011(JADE+1)\000"
	.align	2
.LC9:
	.ascii	"#define\011LAST_RING\011%d\012\000"
	.align	2
.LC10:
	.ascii	"#define\011NROFOBJECTS\011%d\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	cmp	r3, #2
	beq	.L2
	ldr	r3, .L16
	ldr	r3, [r3]
	mov	r2, #21
	mov	r1, #1
	ldr	r0, .L16+4
	bl	fwrite
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	open
	mov	r3, r0
	ldr	r2, .L16+8
	str	r3, [r2]
	ldr	r3, .L16+8
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L3
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	perror
	mov	r0, #1
	bl	exit
.L3:
	ldr	r0, .L16+12
	bl	skipuntil
	b	.L4
.L15:
	ldr	r3, .L16+16
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L4
.L5:
	ldr	r3, .L16+16
	str	r3, [fp, #-8]
	b	.L6
.L9:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L7
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	beq	.L7
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L8
.L7:
	ldr	r3, [fp, #-8]
	mov	r2, #95
	strb	r2, [r3]
.L8:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L6:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L9
	mov	r2, #4
	ldr	r1, .L16+20
	ldr	r0, .L16+16
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	ldr	r3, .L16+24
	mov	r0, r3
	bl	capitalize
	ldr	r1, .L16+24
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	mov	r2, r3
	ldr	r0, .L16+28
	bl	printf
.L10:
	ldr	r3, .L16+16
	str	r3, [fp, #-8]
	b	.L11
.L12:
	ldr	r0, [fp, #-8]
	bl	capitalize
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L11:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L12
	mov	r2, #19
	ldr	r1, .L16+32
	ldr	r0, .L16+16
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L13
	ldr	r2, [fp, #-16]
	ldr	r1, .L16+16
	ldr	r0, .L16+36
	bl	printf
	b	.L14
.L13:
	ldr	r2, [fp, #-16]
	ldr	r1, .L16+16
	ldr	r0, .L16+40
	bl	printf
.L14:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L4:
	bl	getentry
	mov	r3, r0
	cmp	r3, #0
	bne	.L15
	ldr	r0, .L16+44
	bl	puts
	ldr	r0, .L16+48
	bl	puts
	ldr	r1, [fp, #-12]
	ldr	r0, .L16+52
	bl	printf
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L16+56
	bl	printf
	mov	r0, #0
	bl	exit
.L17:
	.align	2
.L16:
	.word	stderr
	.word	.LC0
	.word	fd
	.word	.LC1
	.word	string
	.word	.LC2
	.word	string+4
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.comm	line,1000,4
	.global	lp
	.data
	.align	2
	.type	lp, %object
	.size	lp, 4
lp:
	.word	line
	.global	lp0
	.align	2
	.type	lp0, %object
	.size	lp0, 4
lp0:
	.word	line
	.global	lpe
	.align	2
	.type	lpe, %object
	.size	lpe, 4
lpe:
	.word	line
	.comm	eof,4,4
	.section	.rodata
	.align	2
.LC11:
	.ascii	"Input error.\000"
	.text
	.align	2
	.global	readline
	.syntax unified
	.arm
	.fpu softvfp
	.type	readline, %function
readline:
	@ 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, .L21
	ldr	r0, [r3]
	ldr	r3, .L21+4
	ldr	r1, [r3]
	ldr	r2, .L21+8
	ldr	r3, .L21+4
	ldr	r3, [r3]
	sub	r3, r2, r3
	mov	r2, r3
	bl	read
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L19
	ldr	r0, .L21+12
	bl	puts
	mov	r0, #1
	bl	exit
.L19:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L20
	ldr	r3, .L21+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L21+16
	str	r3, [r2]
.L20:
	ldr	r3, .L21+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r2, .L21+20
	str	r3, [r2]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	fd
	.word	lp0
	.word	line+1000
	.word	.LC11
	.word	eof
	.word	lpe
	.size	readline, .-readline
	.align	2
	.global	nextchar
	.syntax unified
	.arm
	.fpu softvfp
	.type	nextchar, %function
nextchar:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L28
	ldr	r2, [r3]
	ldr	r3, .L28+4
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L24
	bl	readline
	ldr	r3, .L28+8
	ldr	r3, [r3]
	ldr	r2, .L28
	str	r3, [r2]
.L24:
	ldr	r3, .L28
	ldr	r2, [r3]
	ldr	r3, .L28+4
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L25
	ldr	r3, .L28
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L28
	str	r2, [r1]
	ldrb	r3, [r3]	@ zero_extendqisi2
	b	.L26
.L25:
	mov	r3, #0
.L26:
	mov	r0, r3
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	lp
	.word	lpe
	.word	lp0
	.size	nextchar, .-nextchar
	.section	.rodata
	.align	2
.LC12:
	.ascii	"Cannot skipuntil %s\012\000"
	.align	2
.LC13:
	.ascii	"error in skipuntil\000"
	.text
	.align	2
	.global	skipuntil
	.syntax unified
	.arm
	.fpu softvfp
	.type	skipuntil, %function
skipuntil:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-32]
.L31:
	b	.L32
.L33:
	ldr	r3, .L43
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L32
	ldr	r1, [fp, #-32]
	ldr	r0, .L43+4
	bl	printf
	mov	r0, #1
	bl	exit
.L32:
	ldr	r3, [fp, #-32]
	ldrb	r4, [r3]	@ zero_extendqisi2
	bl	nextchar
	mov	r3, r0
	cmp	r4, r3
	bne	.L33
	ldr	r0, [fp, #-32]
	bl	strlen
	mov	r1, r0
	ldr	r3, .L43+8
	ldr	r2, [r3]
	ldr	r3, .L43+12
	ldr	r3, [r3]
	sub	r3, r2, r3
	add	r3, r3, #1
	cmp	r1, r3
	bls	.L34
	ldr	r3, .L43+12
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, .L43+16
	ldr	r3, [r3]
	ldr	r2, .L43+12
	str	r3, [r2]
	ldr	r3, .L43+12
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	b	.L35
.L36:
	ldr	r2, [fp, #-16]
	add	r3, r2, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r1, r3, #1
	str	r1, [fp, #-20]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L35:
	ldr	r3, .L43+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L36
	ldr	r3, .L43+16
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r2, .L43+16
	ldr	r3, [fp, #-20]
	str	r3, [r2]
	bl	readline
	ldr	r2, .L43+16
	ldr	r3, [fp, #-16]
	str	r3, [r2]
	ldr	r0, [fp, #-32]
	bl	strlen
	mov	r1, r0
	ldr	r3, .L43+8
	ldr	r2, [r3]
	ldr	r3, .L43+12
	ldr	r3, [r3]
	sub	r3, r2, r3
	add	r3, r3, #1
	cmp	r1, r3
	bls	.L34
	ldr	r0, .L43+20
	bl	printf
	mov	r0, #1
	bl	exit
.L34:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r3, .L43+12
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	b	.L37
.L39:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L37:
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L38
	ldr	r3, [fp, #-28]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L39
.L38:
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L31
	ldr	r2, .L43+12
	ldr	r3, [fp, #-24]
	str	r3, [r2]
	mov	r3, #1
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L44:
	.align	2
.L43:
	.word	eof
	.word	.LC12
	.word	lpe
	.word	lp
	.word	lp0
	.word	.LC13
	.size	skipuntil, .-skipuntil
	.section	.rodata
	.align	2
.LC14:
	.ascii	"WAND\000"
	.align	2
.LC15:
	.ascii	"RING\000"
	.align	2
.LC16:
	.ascii	"POTION\000"
	.align	2
.LC17:
	.ascii	"SCROLL\000"
	.align	2
.LC18:
	.ascii	"*/\000"
	.align	2
.LC19:
	.ascii	"too many ) ?\000"
	.align	2
.LC20:
	.ascii	"unexpected ,\000"
	.align	2
.LC21:
	.ascii	"strange character denotation?\000"
	.align	2
.LC22:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getentry
	.syntax unified
	.arm
	.fpu softvfp
	.type	getentry, %function
getentry:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	ldr	r3, .L89
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r3, .L89+4
	mov	r2, #0
	strb	r2, [r3, #4]
	ldr	r3, .L89+4
	ldrb	r2, [r3, #4]	@ zero_extendqisi2
	ldr	r3, .L89+4
	strb	r2, [r3]
.L82:
	bl	nextchar
	mov	r3, r0
	strb	r3, [fp, #-55]
.L46:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-55]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	beq	.L47
	sub	r3, fp, #20
	str	r3, [fp, #-32]
.L49:
	sub	r3, fp, #20
	add	r3, r3, #9
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bcs	.L48
	ldr	r3, [fp, #-32]
	add	r2, r3, #1
	str	r2, [fp, #-32]
	ldrb	r2, [fp, #-55]
	strb	r2, [r3]
.L48:
	bl	nextchar
	mov	r3, r0
	strb	r3, [fp, #-55]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-55]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	bne	.L49
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-55]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L49
	ldr	r3, [fp, #-32]
	mov	r2, #0
	strb	r2, [r3]
	b	.L50
.L51:
	bl	nextchar
	mov	r3, r0
	strb	r3, [fp, #-55]
.L50:
	ldrb	r3, [fp, #-55]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L51
	ldrb	r3, [fp, #-55]	@ zero_extendqisi2
	cmp	r3, #9
	beq	.L51
	ldrb	r3, [fp, #-55]	@ zero_extendqisi2
	cmp	r3, #40
	bne	.L47
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L47
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L47
	sub	r3, fp, #20
	ldr	r1, .L89+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L52
	sub	r3, fp, #20
	ldr	r1, .L89+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L52
	sub	r3, fp, #20
	ldr	r1, .L89+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L52
	sub	r3, fp, #20
	ldr	r1, .L89+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L47
.L52:
	sub	r3, fp, #20
	mov	r2, #3
	mov	r1, r3
	ldr	r0, .L89+4
	bl	strncpy
	ldr	r3, .L89+4
	mov	r2, #95
	strb	r2, [r3, #3]
	mov	r3, #4
	str	r3, [fp, #-36]
.L47:
	ldrb	r3, [fp, #-55]	@ zero_extendqisi2
	cmp	r3, #125
	beq	.L53
	cmp	r3, #125
	bgt	.L82
	cmp	r3, #47
	bgt	.L55
	cmp	r3, #10
	blt	.L82
	sub	r3, r3, #10
	cmp	r3, #37
	ldrls	pc, [pc, r3, asl #2]
	b	.L82
.L57:
	.word	.L63
	.word	.L82
	.word	.L82
	.word	.L82
	.word	.L82
	.word	.L82
	.word	.L82
	.word	.L82
	.word	.L82
	.word	.L82
	.word	.L82
	.word	.L82
	.word	.L82
	.word	.L82
	.word	.L82
	.word	.L82
	.word	.L82
	.word	.L82
	.word	.L82
	.word	.L82
	.word	.L82
	.word	.L82
	.word	.L82
	.word	.L82
	.word	.L62
	.word	.L82
	.word	.L82
	.word	.L82
	.word	.L82
	.word	.L61
	.word	.L60
	.word	.L59
	.word	.L82
	.word	.L82
	.word	.L58
	.word	.L82
	.word	.L82
	.word	.L56
.L55:
	cmp	r3, #123
	beq	.L64
	b	.L54
.L56:
	bl	nextchar
	mov	r3, r0
	strb	r3, [fp, #-55]
	ldrb	r3, [fp, #-55]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L46
	ldr	r0, .L89+24
	bl	skipuntil
	b	.L46
.L64:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
	b	.L54
.L60:
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
	b	.L54
.L53:
	ldr	r3, [fp, #-52]
	sub	r3, r3, #1
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bge	.L85
	mov	r3, #0
	b	.L83
.L59:
	ldr	r3, [fp, #-48]
	sub	r3, r3, #1
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bge	.L86
	ldr	r0, .L89+28
	bl	printf
	mov	r0, #1
	bl	exit
.L63:
	bl	nextchar
	mov	r3, r0
	strb	r3, [fp, #-55]
	ldrb	r3, [fp, #-55]	@ zero_extendqisi2
	cmp	r3, #35
	bne	.L46
.L70:
	ldrb	r3, [fp, #-55]
	strb	r3, [fp, #-53]
	bl	nextchar
	mov	r3, r0
	strb	r3, [fp, #-55]
	ldrb	r3, [fp, #-55]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L70
	ldrb	r3, [fp, #-53]	@ zero_extendqisi2
	cmp	r3, #92
	beq	.L70
	b	.L54
.L58:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L71
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bne	.L71
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L72
	ldr	r2, .L89+4
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L72
	ldr	r3, .L89+4
	mov	r2, #0
	strb	r2, [r3]
.L72:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L73
	mov	r3, #1
	b	.L83
.L73:
	ldr	r0, .L89+32
	bl	puts
	mov	r0, #1
	bl	exit
.L71:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	b	.L54
.L61:
	bl	nextchar
	mov	r3, r0
	strb	r3, [fp, #-55]
	ldrb	r3, [fp, #-55]	@ zero_extendqisi2
	cmp	r3, #92
	bne	.L74
	bl	nextchar
	mov	r3, r0
	strb	r3, [fp, #-55]
.L74:
	bl	nextchar
	mov	r3, r0
	cmp	r3, #39
	beq	.L87
	ldr	r0, .L89+36
	bl	puts
	mov	r0, #1
	bl	exit
.L62:
	ldr	r3, [fp, #-36]
	ldr	r2, .L89+4
	add	r3, r3, r2
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bne	.L76
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L77
.L76:
	ldr	r3, [fp, #-44]
	add	r2, r3, #1
	str	r2, [fp, #-44]
	cmp	r3, #0
	bne	.L77
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L77
	mov	r3, #1
	b	.L78
.L77:
	mov	r3, #0
.L78:
	str	r3, [fp, #-24]
.L80:
	ldrb	r3, [fp, #-55]
	strb	r3, [fp, #-54]
	bl	nextchar
	mov	r3, r0
	strb	r3, [fp, #-55]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L79
	ldr	r2, .L89+40
	ldr	r3, [fp, #-28]
	cmp	r3, r2
	bcs	.L79
	ldr	r3, [fp, #-28]
	add	r2, r3, #1
	str	r2, [fp, #-28]
	ldrb	r2, [fp, #-55]
	strb	r2, [r3]
.L79:
	ldrb	r3, [fp, #-55]	@ zero_extendqisi2
	cmp	r3, #34
	bne	.L80
	ldrb	r3, [fp, #-54]	@ zero_extendqisi2
	cmp	r3, #92
	beq	.L80
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L88
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	mov	r2, #0
	strb	r2, [r3]
	b	.L88
.L85:
	nop
	b	.L82
.L86:
	nop
	b	.L82
.L87:
	nop
	b	.L82
.L88:
	nop
.L54:
	b	.L82
.L83:
	ldr	r2, .L89
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L84
	bl	__stack_chk_fail
.L84:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L90:
	.align	2
.L89:
	.word	.LC22
	.word	string
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	string+40
	.size	getentry, .-getentry
	.align	2
	.global	capitalize
	.syntax unified
	.arm
	.fpu softvfp
	.type	capitalize, %function
capitalize:
	@ 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]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	toupper
	mov	r3, r0
	and	r2, r3, #255
	ldr	r3, [fp, #-8]
	strb	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	capitalize, .-capitalize
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
