	.file	"777683.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"n%d %d %d\n"
	.text
	.globl	rspsb3_
	.type	rspsb3_, @function
rspsb3_:
.LFB0:
	.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
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	rspsb3_, .-rspsb3_
	.section	.rodata
.LC1:
	.string	"       |%c%c %c%c %c%c|\n"
.LC2:
	.string	"  WEST |%c%c .. %c%c| EAST\n"
	.text
	.globl	puzout_
	.type	puzout_, @function
puzout_:
.LFB1:
	.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]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movsx	esi, al
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movsx	r8d, al
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movsx	edi, al
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movsx	ecx, al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	rsp, 8
	push	rsi
	mov	r9d, r8d
	mov	r8d, edi
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 4
	movzx	eax, BYTE PTR [rax]
	movsx	esi, al
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 4
	movzx	eax, BYTE PTR [rax]
	movsx	ecx, al
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 7
	movzx	eax, BYTE PTR [rax]
	movsx	esi, al
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 7
	movzx	eax, BYTE PTR [rax]
	movsx	r8d, al
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 6
	movzx	eax, BYTE PTR [rax]
	movsx	edi, al
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 6
	movzx	eax, BYTE PTR [rax]
	movsx	ecx, al
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 5
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 5
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	rsp, 8
	push	rsi
	mov	r9d, r8d
	mov	r8d, edi
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	puzout_, .-puzout_
	.section	.rodata
.LC3:
	.string	"%.*s\n"
	.text
	.globl	outstr_
	.type	outstr_, @function
outstr_:
.LFB2:
	.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
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	outstr_, .-outstr_
	.section	.rodata
.LC4:
	.string	" > ~"
	.text
	.globl	prompt_
	.type	prompt_, @function
prompt_:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	prompt_, .-prompt_
	.section	.rodata
.LC5:
	.string	"The game is over\n"
	.text
	.globl	exit_
	.type	exit_, @function
exit_:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE4:
	.size	exit_, .-exit_
	.section	.rodata
.LC6:
	.string	"EOF on input\n"
	.text
	.globl	rdchr_
	.type	rdchr_, @function
rdchr_:
.LFB5:
	.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
	call	getchar@PLT
	mov	DWORD PTR ch.1[rip], eax
	mov	eax, DWORD PTR ch.1[rip]
	cmp	eax, -1
	jne	.L11
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 13
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	mov	eax, 0
	call	exit_
	jmp	.L14
.L11:
	mov	eax, DWORD PTR ch.1[rip]
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], dl
.L14:
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	rdchr_, .-rdchr_
	.globl	rdlin_
	.type	rdlin_, @function
rdlin_:
.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
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], 0
	jmp	.L16
.L22:
	mov	eax, DWORD PTR chr.0[rip]
	cmp	eax, 96
	jle	.L17
	mov	eax, DWORD PTR chr.0[rip]
	cmp	eax, 122
	jg	.L17
	mov	eax, DWORD PTR chr.0[rip]
	sub	eax, 32
	mov	DWORD PTR chr.0[rip], eax
.L17:
	mov	eax, DWORD PTR chr.0[rip]
	cmp	eax, 10
	jne	.L18
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	BYTE PTR [rax], 0
	jmp	.L19
.L18:
	mov	eax, DWORD PTR chr.0[rip]
	cmp	eax, 32
	jne	.L20
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L20
	jmp	.L16
.L20:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 77
	jle	.L21
	jmp	.L16
.L21:
	mov	ecx, DWORD PTR chr.0[rip]
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
.L16:
	call	getchar@PLT
	mov	DWORD PTR chr.0[rip], eax
	mov	eax, DWORD PTR chr.0[rip]
	cmp	eax, -1
	jne	.L22
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 13
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	mov	eax, 0
	call	exit_
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	rdlin_, .-rdlin_
	.section	.rodata
	.align 8
.LC7:
	.string	" You will be cured in %d moves\n"
	.text
	.globl	cured_
	.type	cured_, @function
cured_:
.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
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	cured_, .-cured_
	.section	.rodata
	.align 8
.LC8:
	.string	" Your current score is %d out of %d points in %d moves.\n"
	.text
	.globl	pscore_
	.type	pscore_, @function
pscore_:
.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, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	pscore_, .-pscore_
	.section	.rodata
	.align 8
.LC9:
	.string	"Program error %d ; Parameter %d\n"
	.text
	.globl	bug_
	.type	bug_, @function
bug_:
.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
	mov	rax, QWORD PTR -16[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE9:
	.size	bug_, .-bug_
	.section	.rodata
	.align 8
.LC10:
	.string	" Restore by starting with 'dungeon r'"
	.text
	.globl	restor_
	.type	restor_, @function
restor_:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC10[rip]
	call	puts@PLT
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	restor_, .-restor_
	.section	.rodata
	.align 8
.LC11:
	.string	" A Hollow voice replies: %6.6s %6.6s\n"
	.text
	.globl	voice_
	.type	voice_, @function
voice_:
.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	QWORD PTR -16[rbp], rsi
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	voice_, .-voice_
	.section	.rodata
.LC12:
	.string	" V%1d.%2d%c\n"
	.text
	.globl	prvers_
	.type	prvers_, @function
prvers_:
.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, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	ecx, al
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	prvers_, .-prvers_
	.section	.rodata
	.align 8
.LC13:
	.string	" Sorry, no debugger available in this version."
	.text
	.globl	nogdt_
	.type	nogdt_, @function
nogdt_:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC13[rip]
	call	puts@PLT
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	nogdt_, .-nogdt_
	.local	ch.1
	.comm	ch.1,4,4
	.local	chr.0
	.comm	chr.0,4,4
	.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	"777683.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"n%d %d %d\012\000"
	.text
	.align	2
	.global	rspsb3_
	.syntax unified
	.arm
	.fpu softvfp
	.type	rspsb3_, %function
rspsb3_:
	@ 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]
	ldr	r3, [fp, #-8]
	ldr	r1, [r3]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r0, .L3
	bl	printf
	ldr	r3, .L3+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	nop
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC0
	.word	stdout
	.size	rspsb3_, .-rspsb3_
	.section	.rodata
	.align	2
.LC1:
	.ascii	"       |%c%c %c%c %c%c|\012\000"
	.align	2
.LC2:
	.ascii	"  WEST |%c%c .. %c%c| EAST\012\000"
	.text
	.align	2
	.global	puzout_
	.syntax unified
	.arm
	.fpu softvfp
	.type	puzout_, %function
puzout_:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	ip, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	lr, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [sp, #8]
	str	r1, [sp, #4]
	str	r2, [sp]
	mov	r3, lr
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L7
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L7+4
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #5
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, #5
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	ip, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, #6
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	lr, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, #6
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, #7
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, #7
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [sp, #8]
	str	r1, [sp, #4]
	str	r2, [sp]
	mov	r3, lr
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L7
	bl	printf
	ldr	r3, .L7+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	nop
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC1
	.word	.LC2
	.word	stdout
	.size	puzout_, .-puzout_
	.section	.rodata
	.align	2
.LC3:
	.ascii	"%.*s\012\000"
	.text
	.align	2
	.global	outstr_
	.syntax unified
	.arm
	.fpu softvfp
	.type	outstr_, %function
outstr_:
	@ 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, [fp, #-12]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	mov	r1, r3
	ldr	r0, .L11
	bl	printf
	ldr	r3, .L11+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	nop
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC3
	.word	stdout
	.size	outstr_, .-outstr_
	.section	.rodata
	.align	2
.LC4:
	.ascii	" > ~\000"
	.text
	.align	2
	.global	prompt_
	.syntax unified
	.arm
	.fpu softvfp
	.type	prompt_, %function
prompt_:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L15
	bl	printf
	ldr	r3, .L15+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	nop
	nop
	mov	r0, r3
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC4
	.word	stdout
	.size	prompt_, .-prompt_
	.section	.rodata
	.align	2
.LC5:
	.ascii	"The game is over\012\000"
	.text
	.align	2
	.global	exit_
	.syntax unified
	.arm
	.fpu softvfp
	.type	exit_, %function
exit_:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L18
	ldr	r3, [r3]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L18+4
	bl	fwrite
	mov	r0, #0
	bl	exit
.L19:
	.align	2
.L18:
	.word	stderr
	.word	.LC5
	.size	exit_, .-exit_
	.section	.rodata
	.align	2
.LC6:
	.ascii	"EOF on input\012\000"
	.text
	.align	2
	.global	rdchr_
	.syntax unified
	.arm
	.fpu softvfp
	.type	rdchr_, %function
rdchr_:
	@ 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]
	bl	getchar
	mov	r3, r0
	ldr	r2, .L25
	str	r3, [r2]
	ldr	r3, .L25
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L21
	ldr	r3, .L25+4
	ldr	r3, [r3]
	mov	r2, #13
	mov	r1, #1
	ldr	r0, .L25+8
	bl	fwrite
	bl	exit_
	b	.L24
.L21:
	ldr	r3, .L25
	ldr	r3, [r3]
	and	r2, r3, #255
	ldr	r3, [fp, #-8]
	strb	r2, [r3]
.L24:
	nop
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	ch.4618
	.word	stderr
	.word	.LC6
	.size	rdchr_, .-rdchr_
	.align	2
	.global	rdlin_
	.syntax unified
	.arm
	.fpu softvfp
	.type	rdlin_, %function
rdlin_:
	@ 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, [fp, #-12]
	mov	r2, #0
	str	r2, [r3]
	b	.L28
.L34:
	ldr	r3, .L35
	ldr	r3, [r3]
	cmp	r3, #96
	ble	.L29
	ldr	r3, .L35
	ldr	r3, [r3]
	cmp	r3, #122
	bgt	.L29
	ldr	r3, .L35
	ldr	r3, [r3]
	sub	r3, r3, #32
	ldr	r2, .L35
	str	r3, [r2]
.L29:
	ldr	r3, .L35
	ldr	r3, [r3]
	cmp	r3, #10
	bne	.L30
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	mov	r2, #0
	strb	r2, [r3]
	b	.L31
.L30:
	ldr	r3, .L35
	ldr	r3, [r3]
	cmp	r3, #32
	bne	.L32
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L32
	b	.L28
.L32:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r3, #77
	ble	.L33
	b	.L28
.L33:
	ldr	r3, .L35
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r1, r3, #1
	str	r1, [fp, #-8]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-12]
	str	r2, [r3]
.L28:
	bl	getchar
	mov	r3, r0
	ldr	r2, .L35
	str	r3, [r2]
	ldr	r3, .L35
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L34
	ldr	r3, .L35+4
	ldr	r3, [r3]
	mov	r2, #13
	mov	r1, #1
	ldr	r0, .L35+8
	bl	fwrite
	bl	exit_
.L31:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	chr.4623
	.word	stderr
	.word	.LC6
	.size	rdlin_, .-rdlin_
	.section	.rodata
	.align	2
.LC7:
	.ascii	" You will be cured in %d moves\012\000"
	.text
	.align	2
	.global	cured_
	.syntax unified
	.arm
	.fpu softvfp
	.type	cured_, %function
cured_:
	@ 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]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L39
	bl	printf
	ldr	r3, .L39+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	nop
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L40:
	.align	2
.L39:
	.word	.LC7
	.word	stdout
	.size	cured_, .-cured_
	.section	.rodata
	.align	2
.LC8:
	.ascii	" Your current score is %d out of %d points in %d mo"
	.ascii	"ves.\012\000"
	.text
	.align	2
	.global	pscore_
	.syntax unified
	.arm
	.fpu softvfp
	.type	pscore_, %function
pscore_:
	@ 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]
	ldr	r3, [fp, #-8]
	ldr	r1, [r3]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r0, .L43
	bl	printf
	ldr	r3, .L43+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	nop
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC8
	.word	stdout
	.size	pscore_, .-pscore_
	.section	.rodata
	.align	2
.LC9:
	.ascii	"Program error %d ; Parameter %d\012\000"
	.text
	.align	2
	.global	bug_
	.syntax unified
	.arm
	.fpu softvfp
	.type	bug_, %function
bug_:
	@ 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, .L46
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldr	r1, .L46+4
	bl	fprintf
	mov	r0, #0
	bl	exit
.L47:
	.align	2
.L46:
	.word	stderr
	.word	.LC9
	.size	bug_, .-bug_
	.section	.rodata
	.align	2
.LC10:
	.ascii	" Restore by starting with 'dungeon r'\000"
	.text
	.align	2
	.global	restor_
	.syntax unified
	.arm
	.fpu softvfp
	.type	restor_, %function
restor_:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L50
	bl	puts
	nop
	nop
	mov	r0, r3
	pop	{fp, pc}
.L51:
	.align	2
.L50:
	.word	.LC10
	.size	restor_, .-restor_
	.section	.rodata
	.align	2
.LC11:
	.ascii	" A Hollow voice replies: %6.6s %6.6s\012\000"
	.text
	.align	2
	.global	voice_
	.syntax unified
	.arm
	.fpu softvfp
	.type	voice_, %function
voice_:
	@ 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	r2, [fp, #-12]
	ldr	r1, [fp, #-8]
	ldr	r0, .L54
	bl	printf
	nop
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L55:
	.align	2
.L54:
	.word	.LC11
	.size	voice_, .-voice_
	.section	.rodata
	.align	2
.LC12:
	.ascii	" V%1d.%2d%c\012\000"
	.text
	.align	2
	.global	prvers_
	.syntax unified
	.arm
	.fpu softvfp
	.type	prvers_, %function
prvers_:
	@ 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]
	ldr	r3, [fp, #-8]
	ldr	r1, [r3]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r0, .L58
	bl	printf
	nop
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L59:
	.align	2
.L58:
	.word	.LC12
	.size	prvers_, .-prvers_
	.section	.rodata
	.align	2
.LC13:
	.ascii	" Sorry, no debugger available in this version.\000"
	.text
	.align	2
	.global	nogdt_
	.syntax unified
	.arm
	.fpu softvfp
	.type	nogdt_, %function
nogdt_:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L62
	bl	puts
	nop
	nop
	mov	r0, r3
	pop	{fp, pc}
.L63:
	.align	2
.L62:
	.word	.LC13
	.size	nogdt_, .-nogdt_
	.local	ch.4618
	.comm	ch.4618,4,4
	.local	chr.4623
	.comm	chr.4623,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
