	.file	"989425.c"
	.intel_syntax noprefix
	.text
	.globl	OverrideObjectDesc
	.bss
	.align 16
	.type	OverrideObjectDesc, @object
	.size	OverrideObjectDesc, 16
OverrideObjectDesc:
	.zero	16
	.text
	.globl	GetNumObjectsInLocation
	.type	GetNumObjectsInLocation, @function
GetNumObjectsInLocation:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -8[rbp], 2
	jmp	.L2
.L4:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, Obj[rip+8]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, Obj[rip+2]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	cmp	DWORD PTR -20[rbp], eax
	jne	.L3
	add	DWORD PTR -12[rbp], 1
.L3:
	add	DWORD PTR -8[rbp], 1
.L2:
	cmp	DWORD PTR -8[rbp], 79
	jle	.L4
	mov	eax, DWORD PTR -12[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	GetNumObjectsInLocation, .-GetNumObjectsInLocation
	.globl	PrintObjectDesc
	.type	PrintObjectDesc, @function
PrintObjectDesc:
.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	DWORD PTR -56[rbp], esi
	mov	DWORD PTR -40[rbp], 0
	jmp	.L7
.L10:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, OverrideObjectDesc[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -52[rbp], eax
	je	.L15
	add	DWORD PTR -40[rbp], 1
.L7:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, OverrideObjectDesc[rip+8]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	jne	.L10
	jmp	.L9
.L15:
	nop
.L9:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, OverrideObjectDesc[rip+8]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	je	.L11
	mov	eax, DWORD PTR -56[rbp]
	movsx	ecx, ax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, OverrideObjectDesc[rip+8]
	mov	rax, QWORD PTR [rdx+rax]
	mov	edx, 38
	mov	esi, ecx
	mov	rdi, rax
	call	CallOverlay1@PLT
	jmp	.L16
.L11:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, ObjectDesc[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	eax, 1
	mov	DWORD PTR -36[rbp], eax
	mov	QWORD PTR -32[rbp], 47872
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -8[rbp]
	mov	ecx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	DecompressText@PLT
	cmp	DWORD PTR -56[rbp], 0
	je	.L13
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, 94
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], 0
	cmp	QWORD PTR -32[rbp], 0
	je	.L14
	add	QWORD PTR -32[rbp], 1
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, 94
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L14
	add	QWORD PTR -24[rbp], 1
.L14:
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, Obj[rip+10]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	and	eax, 32
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -32[rbp], rax
.L13:
	cmp	QWORD PTR -32[rbp], 0
	je	.L16
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 94
	je	.L16
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L16
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	PrintText@PLT
.L16:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	PrintObjectDesc, .-PrintObjectDesc
	.globl	IsObjCarriedByActor
	.type	IsObjCarriedByActor, @function
IsObjCarriedByActor:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, Obj[rip+2]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	sub	eax, 2048
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 1
	jle	.L18
	cmp	DWORD PTR -4[rbp], 79
	jg	.L18
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, Obj[rip+10]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	and	eax, 1024
	test	eax, eax
	je	.L18
	mov	eax, 1
	jmp	.L19
.L18:
	mov	eax, 0
.L19:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	IsObjCarriedByActor, .-IsObjCarriedByActor
	.globl	IsPlayerInDarkness
	.type	IsPlayerInDarkness, @function
IsPlayerInDarkness:
.LFB3:
	.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
	movzx	eax, WORD PTR Obj[rip+16]
	movzx	eax, ax
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, Room[rip+8]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	and	eax, 4
	test	eax, eax
	je	.L21
	mov	eax, 0
	jmp	.L22
.L21:
	movzx	eax, WORD PTR Obj[rip+24]
	movzx	eax, ax
	and	eax, 4
	test	eax, eax
	je	.L23
	mov	eax, 0
	jmp	.L22
.L23:
	mov	DWORD PTR -8[rbp], 2
	jmp	.L24
.L26:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, Obj[rip+8]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	IsObjVisible
	test	eax, eax
	je	.L25
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	IsObjCarriedByActor
	test	eax, eax
	jne	.L25
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, Obj[rip+10]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	and	eax, 4
	test	eax, eax
	je	.L25
	mov	eax, 0
	jmp	.L22
.L25:
	add	DWORD PTR -8[rbp], 1
.L24:
	cmp	DWORD PTR -8[rbp], 79
	jle	.L26
	mov	eax, 1
.L22:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	IsPlayerInDarkness, .-IsPlayerInDarkness
	.section	.rodata
.LC0:
	.string	"  "
.LC1:
	.string	"\n"
.LC2:
	.string	"It'\241empty."
	.text
	.globl	PrintContents
	.type	PrintContents, @function
PrintContents:
.LFB4:
	.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 -24[rbp], edx
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 2
	jmp	.L28
.L32:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, Obj[rip+8]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, Obj[rip+2]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	mov	edx, DWORD PTR -20[rbp]
	add	edx, 2048
	cmp	eax, edx
	jne	.L29
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, Obj[rip+10]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	and	eax, 8
	test	eax, eax
	jne	.L29
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, Obj[rip+10]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	and	eax, 64
	test	eax, eax
	je	.L30
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, Obj[rip+10]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	and	eax, 32
	test	eax, eax
	je	.L29
.L30:
	cmp	DWORD PTR -16[rbp], 0
	jne	.L31
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	PrintLine@PLT
	mov	DWORD PTR -16[rbp], 1
.L31:
	lea	rdi, .LC0[rip]
	call	PrintCompText@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, 0
	mov	edi, eax
	call	PrintObjectDesc
	lea	rdi, .LC1[rip]
	call	PrintCompText@PLT
.L29:
	add	DWORD PTR -12[rbp], 1
.L28:
	cmp	DWORD PTR -12[rbp], 79
	jle	.L32
	mov	DWORD PTR -12[rbp], 2
	jmp	.L33
.L35:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, Obj[rip+8]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, Obj[rip+2]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	mov	edx, DWORD PTR -20[rbp]
	add	edx, 2048
	cmp	eax, edx
	jne	.L34
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, Obj[rip+10]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	and	eax, 8
	test	eax, eax
	jne	.L34
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, Obj[rip+10]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	and	eax, 64
	test	eax, eax
	je	.L34
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, Obj[rip+10]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	and	eax, 32
	test	eax, eax
	jne	.L34
	mov	DWORD PTR -16[rbp], 1
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, 1
	mov	edi, eax
	call	PrintObjectDesc
	lea	rdi, .LC1[rip]
	call	PrintCompText@PLT
.L34:
	add	DWORD PTR -12[rbp], 1
.L33:
	cmp	DWORD PTR -12[rbp], 79
	jle	.L35
	cmp	DWORD PTR -24[rbp], 0
	je	.L37
	cmp	DWORD PTR -16[rbp], 0
	jne	.L37
	lea	rdi, .LC2[rip]
	call	PrintCompLine@PLT
.L37:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	PrintContents, .-PrintContents
	.section	.rodata
.LC3:
	.string	"\334u'\251\263\273ry\227:"
.LC4:
	.string	"  (which contains)"
.LC5:
	.string	"\334u'\251\344\377\263\273ry\204\255y\242\227."
	.text
	.globl	PrintPresentObjects
	.type	PrintPresentObjects, @function
PrintPresentObjects:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -24[rbp], edx
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -8[rbp], 2
	jmp	.L39
.L46:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, Obj[rip+8]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, Obj[rip+2]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	cmp	DWORD PTR -20[rbp], eax
	jne	.L40
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, Obj[rip+10]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	and	eax, 8
	test	eax, eax
	jne	.L40
	cmp	DWORD PTR -12[rbp], 0
	jne	.L41
	mov	DWORD PTR -12[rbp], 1
	cmp	DWORD PTR -20[rbp], 2049
	jne	.L42
	lea	rdi, .LC3[rip]
	call	PrintCompLine@PLT
	jmp	.L41
.L42:
	cmp	QWORD PTR -32[rbp], 0
	je	.L41
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	PrintLine@PLT
.L41:
	cmp	DWORD PTR -20[rbp], 2049
	je	.L43
	cmp	DWORD PTR -24[rbp], 0
	je	.L44
.L43:
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, 0
	mov	edi, eax
	call	PrintObjectDesc
	jmp	.L45
.L44:
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, 1
	mov	edi, eax
	call	PrintObjectDesc
.L45:
	lea	rdi, .LC1[rip]
	call	PrintCompText@PLT
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, Obj[rip+10]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	and	eax, 2
	test	eax, eax
	je	.L40
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, Obj[rip+10]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	and	eax, 1024
	test	eax, eax
	jne	.L40
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, 0
	lea	rsi, .LC4[rip]
	mov	edi, eax
	call	PrintContents
.L40:
	add	DWORD PTR -8[rbp], 1
.L39:
	cmp	DWORD PTR -8[rbp], 79
	jle	.L46
	cmp	DWORD PTR -20[rbp], 2049
	jne	.L48
	cmp	DWORD PTR -12[rbp], 0
	jne	.L48
	lea	rdi, .LC5[rip]
	call	PrintCompLine@PLT
.L48:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	PrintPresentObjects, .-PrintPresentObjects
	.globl	PrintRoomDesc
	.type	PrintRoomDesc, @function
PrintRoomDesc:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, RoomDesc[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	eax, 1
	mov	DWORD PTR -28[rbp], eax
	mov	QWORD PTR -16[rbp], 47872
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -8[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	DecompressText@PLT
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 94
	je	.L50
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L50
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	PrintLine@PLT
.L50:
	cmp	DWORD PTR -40[rbp], 0
	jne	.L51
	mov	eax, DWORD PTR Verbosity[rip]
	cmp	eax, 2
	je	.L52
.L51:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, Room[rip+8]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	and	eax, 64
	test	eax, eax
	jne	.L53
	cmp	DWORD PTR -40[rbp], 0
	jne	.L53
	mov	eax, DWORD PTR Verbosity[rip]
	cmp	eax, 1
	jne	.L54
.L53:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, Room[rip+8]
	movzx	eax, WORD PTR [rdx+rax]
	and	eax, -2
	mov	ecx, eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, Room[rip+8]
	mov	WORD PTR [rdx+rax], cx
.L54:
	mov	DWORD PTR -32[rbp], 0
	jmp	.L55
.L58:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, OverrideRoomDesc[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -36[rbp], eax
	je	.L60
	add	DWORD PTR -32[rbp], 1
.L55:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, OverrideRoomDesc[rip+8]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	jne	.L58
	jmp	.L57
.L60:
	nop
.L57:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, OverrideRoomDesc[rip+8]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	je	.L59
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, OverrideRoomDesc[rip+8]
	mov	rax, QWORD PTR [rdx+rax]
	mov	esi, 39
	mov	rdi, rax
	call	CallOverlay0@PLT
	jmp	.L52
.L59:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, Room[rip+8]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	and	eax, 1
	test	eax, eax
	jne	.L52
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 94
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	je	.L52
	add	QWORD PTR -16[rbp], 1
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 94
	je	.L52
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L52
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	PrintLine@PLT
.L52:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, Room[rip+8]
	movzx	eax, WORD PTR [rdx+rax]
	or	eax, 1
	mov	ecx, eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, Room[rip+8]
	mov	WORD PTR [rdx+rax], cx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	PrintRoomDesc, .-PrintRoomDesc
	.section	.rodata
	.align 8
.LC6:
	.string	"I\246\232p\307\372\260\375ck\216\303\273\236\365ke\354\211\357\373\257\324\260\304\320grue."
	.text
	.globl	PrintPlayerRoomDesc
	.type	PrintPlayerRoomDesc, @function
PrintPlayerRoomDesc:
.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	DWORD PTR -4[rbp], edi
	call	IsPlayerInDarkness
	test	eax, eax
	je	.L62
	lea	rdi, .LC6[rip]
	call	PrintCompLine@PLT
	jmp	.L65
.L62:
	movzx	eax, WORD PTR Obj[rip+16]
	movzx	eax, ax
	mov	edx, DWORD PTR -4[rbp]
	mov	esi, edx
	mov	edi, eax
	call	PrintRoomDesc
	cmp	DWORD PTR -4[rbp], 0
	jne	.L64
	mov	eax, DWORD PTR Verbosity[rip]
	cmp	eax, 2
	je	.L65
.L64:
	movzx	eax, WORD PTR Obj[rip+16]
	movzx	eax, ax
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	PrintPresentObjects
.L65:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	PrintPlayerRoomDesc, .-PrintPlayerRoomDesc
	.section	.rodata
.LC7:
	.string	"E\327\264su\372\243\264ac\360\312\207\357\311\271\206\266\347pabi\365\360es."
.LC8:
	.string	"\334u'\251\314\277d! H\362\221\206\225\247k\212\222\252c\323e?"
.LC9:
	.string	"\213\273\236\350ad."
.LC10:
	.string	"Migh\246\340\267e\337\216u'\327\346\377\243\264e\321rn\307y."
.LC11:
	.string	"\213\355\325\344\272\365gh\246\275\346ui\350\206."
.LC12:
	.string	"\334\330\300\214p\340\326\241\242\302ug\336\307\241object."
.LC13:
	.string	"A\337\252u\372\243ttack\241\273\236va\247\250\264\222\263\312d\307ion."
.LC14:
	.string	"\213\315\327\344\272pos\326ssi\312s."
.LC15:
	.string	"\205\302\341\313\351k\241\305\364\261\236\214\366\277r\242ly"
.LC16:
	.string	"."
.LC17:
	.string	"\215\256bject\241ap\374\273\250\271\262\360nct."
	.align 8
.LC18:
	.string	"Al\242\245g\336\226\251\207\343\313ight\265\201\302\341\252\363m\241dim\354\250\337um\247\257ed."
.LC19:
	.string	"\213\347\223e\327\264d\272\242at."
	.text
	.globl	InterceptActionWhenDead
	.type	InterceptActionWhenDead, @function
InterceptActionWhenDead:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	movzx	eax, BYTE PTR YouAreDead[rip]
	test	al, al
	jne	.L67
	mov	eax, 0
	jmp	.L68
.L67:
	cmp	DWORD PTR -4[rbp], 43
	je	.L69
	cmp	DWORD PTR -4[rbp], 0
	jle	.L70
	cmp	DWORD PTR -4[rbp], 12
	jg	.L70
.L69:
	mov	eax, 0
	jmp	.L68
.L70:
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 13
	cmp	eax, 87
	ja	.L71
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L73[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L73[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L73:
	.long	.L82-.L73
	.long	.L71-.L73
	.long	.L81-.L73
	.long	.L74-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L75-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L75-.L73
	.long	.L80-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L75-.L73
	.long	.L79-.L73
	.long	.L75-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L75-.L73
	.long	.L79-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L78-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L75-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L74-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L74-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L74-.L73
	.long	.L74-.L73
	.long	.L71-.L73
	.long	.L74-.L73
	.long	.L71-.L73
	.long	.L77-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L74-.L73
	.long	.L71-.L73
	.long	.L76-.L73
	.long	.L71-.L73
	.long	.L71-.L73
	.long	.L75-.L73
	.long	.L75-.L73
	.long	.L75-.L73
	.long	.L71-.L73
	.long	.L75-.L73
	.long	.L74-.L73
	.long	.L74-.L73
	.long	.L72-.L73
	.text
.L74:
	mov	eax, 0
	jmp	.L68
.L75:
	lea	rdi, .LC7[rip]
	call	PrintCompLine@PLT
	jmp	.L83
.L77:
	lea	rdi, .LC8[rip]
	call	PrintCompLine@PLT
	jmp	.L83
.L80:
	lea	rdi, .LC9[rip]
	call	PrintCompLine@PLT
	jmp	.L83
.L72:
	lea	rdi, .LC10[rip]
	call	PrintCompLine@PLT
	jmp	.L83
.L82:
	lea	rdi, .LC11[rip]
	call	PrintCompLine@PLT
	jmp	.L83
.L76:
	lea	rdi, .LC12[rip]
	call	PrintCompLine@PLT
	jmp	.L83
.L81:
	lea	rdi, .LC13[rip]
	call	PrintCompLine@PLT
	jmp	.L83
.L79:
	lea	rdi, .LC14[rip]
	call	PrintCompLine@PLT
	jmp	.L83
.L78:
	mov	edi, 1
	call	PrintPlayerRoomDesc
	lea	rdi, .LC15[rip]
	call	PrintCompText@PLT
	movzx	eax, WORD PTR Obj[rip+16]
	movzx	eax, ax
	mov	edi, eax
	call	GetNumObjectsInLocation
	test	eax, eax
	jne	.L84
	lea	rdi, .LC16[rip]
	call	PrintCompLine@PLT
	jmp	.L85
.L84:
	lea	rdi, .LC17[rip]
	call	PrintCompLine@PLT
.L85:
	movzx	eax, WORD PTR Obj[rip+16]
	movzx	eax, ax
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, Room[rip+8]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	and	eax, 4
	test	eax, eax
	jne	.L87
	lea	rdi, .LC18[rip]
	call	PrintCompLine@PLT
	jmp	.L87
.L71:
	lea	rdi, .LC19[rip]
	call	PrintCompLine@PLT
	jmp	.L83
.L87:
	nop
.L83:
	mov	eax, 1
.L68:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	InterceptActionWhenDead, .-InterceptActionWhenDead
	.section	.rodata
.LC20:
	.string	" "
.LC21:
	.string	"..."
.LC22:
	.string	"..\244..."
	.text
	.globl	InterceptActionInLoudRoom
	.type	InterceptActionInLoudRoom, @function
InterceptActionInLoudRoom:
.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	DWORD PTR -4[rbp], edi
	movzx	eax, WORD PTR Obj[rip+16]
	cmp	ax, 63
	je	.L89
	mov	eax, 0
	jmp	.L90
.L89:
	movzx	eax, BYTE PTR LoudRoomQuiet[rip]
	test	al, al
	jne	.L91
	movzx	eax, BYTE PTR GatesOpen[rip]
	test	al, al
	jne	.L92
	movzx	eax, BYTE PTR LowTide[rip]
	test	al, al
	je	.L92
.L91:
	mov	eax, 0
	jmp	.L90
.L92:
	cmp	DWORD PTR -4[rbp], 0
	jle	.L93
	cmp	DWORD PTR -4[rbp], 12
	jle	.L94
.L93:
	cmp	DWORD PTR -4[rbp], 43
	je	.L94
	cmp	DWORD PTR -4[rbp], 79
	je	.L94
	cmp	DWORD PTR -4[rbp], 77
	je	.L94
	cmp	DWORD PTR -4[rbp], 72
	je	.L94
	cmp	DWORD PTR -4[rbp], 34
	jne	.L95
.L94:
	mov	eax, 0
	jmp	.L90
.L95:
	mov	eax, DWORD PTR NumStrWords[rip]
	test	eax, eax
	jle	.L96
	mov	rax, QWORD PTR StrWord[rip]
	mov	rdi, rax
	call	PrintText@PLT
	lea	rdi, .LC20[rip]
	call	PrintCompText@PLT
	mov	rax, QWORD PTR StrWord[rip]
	mov	rdi, rax
	call	PrintText@PLT
	lea	rdi, .LC21[rip]
	call	PrintCompLine@PLT
	jmp	.L97
.L96:
	lea	rdi, .LC22[rip]
	call	PrintCompLine@PLT
.L97:
	mov	eax, 1
.L90:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	InterceptActionInLoudRoom, .-InterceptActionInLoudRoom
	.globl	InterceptAction
	.type	InterceptAction, @function
InterceptAction:
.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	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	InterceptActionWhenDead
	test	eax, eax
	je	.L99
	mov	edi, 1
	call	ReturnOverlay1@PLT
.L99:
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	InterceptActionInLoudRoom
	test	eax, eax
	je	.L100
	mov	edi, 1
	call	ReturnOverlay1@PLT
.L100:
	mov	edi, 0
	call	ReturnOverlay1@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	InterceptAction, .-InterceptAction
	.globl	IsObjVisible
	.type	IsObjVisible, @function
IsObjVisible:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	cmp	DWORD PTR -20[rbp], 1
	jle	.L102
	cmp	DWORD PTR -20[rbp], 79
	jle	.L103
.L102:
	mov	eax, 0
	jmp	.L104
.L103:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, Obj[rip+10]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	and	eax, 256
	test	eax, eax
	je	.L105
	mov	eax, 1
	jmp	.L104
.L105:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, Obj[rip+2]
	movzx	eax, WORD PTR [rdx+rax]
	cmp	ax, 2049
	jne	.L106
	mov	eax, 1
	jmp	.L104
.L106:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, Obj[rip+2]
	movzx	edx, WORD PTR [rdx+rax]
	movzx	eax, WORD PTR Obj[rip+16]
	cmp	dx, ax
	jne	.L107
	mov	eax, 1
	jmp	.L104
.L107:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, Obj[rip+2]
	movzx	eax, WORD PTR [rdx+rax]
	cmp	ax, 2047
	jbe	.L108
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, Obj[rip+2]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	sub	eax, 2048
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, Obj[rip+10]
	movzx	eax, WORD PTR [rdx+rax]
	movzx	eax, ax
	and	eax, 2
	test	eax, eax
	je	.L108
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	IsObjVisible
	test	eax, eax
	je	.L108
	mov	eax, 1
	jmp	.L104
.L108:
	mov	eax, 0
.L104:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	IsObjVisible, .-IsObjVisible
	.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	"989425.c"
	.text
	.comm	OverrideObjectDesc,8,4
	.align	2
	.global	GetNumObjectsInLocation
	.syntax unified
	.arm
	.fpu softvfp
	.type	GetNumObjectsInLocation, %function
GetNumObjectsInLocation:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #2
	str	r3, [fp, #-12]
	b	.L2
.L4:
	ldr	r1, .L6
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #8
	ldrh	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r1, .L6
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #2
	ldrh	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	cmp	r3, r2
	bne	.L3
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L3:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r3, [fp, #-12]
	cmp	r3, #79
	ble	.L4
	ldr	r3, [fp, #-16]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L7:
	.align	2
.L6:
	.word	Obj
	.size	GetNumObjectsInLocation, .-GetNumObjectsInLocation
	.align	2
	.global	PrintObjectDesc
	.syntax unified
	.arm
	.fpu softvfp
	.type	PrintObjectDesc, %function
PrintObjectDesc:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L9
.L12:
	ldr	r2, .L19
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	beq	.L17
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L9:
	ldr	r2, .L19
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L12
	b	.L11
.L17:
	nop
.L11:
	ldr	r2, .L19
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L13
	ldr	r2, .L19
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r0, [r3, #4]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #16
	asr	r3, r3, #16
	mov	r2, #38
	mov	r1, r3
	bl	CallOverlay1
	b	.L18
.L13:
	ldr	r2, .L19+4
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	str	r3, [fp, #-12]
	mov	r3, #47872
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	DecompressText
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L15
	mov	r1, #94
	ldr	r0, [fp, #-24]
	bl	strchr
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	mov	r1, #94
	ldr	r0, [fp, #-24]
	bl	strchr
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L16:
	ldr	r1, .L19+8
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #10
	ldrh	r3, [r3]
	and	r3, r3, #32
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-24]
.L15:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L18
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #94
	beq	.L18
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L18
	ldr	r0, [fp, #-24]
	bl	PrintText
.L18:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	OverrideObjectDesc
	.word	ObjectDesc
	.word	Obj
	.size	PrintObjectDesc, .-PrintObjectDesc
	.align	2
	.global	IsObjCarriedByActor
	.syntax unified
	.arm
	.fpu softvfp
	.type	IsObjCarriedByActor, %function
IsObjCarriedByActor:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r1, .L24
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #2
	ldrh	r3, [r3]
	sub	r3, r3, #2048
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	ble	.L22
	ldr	r3, [fp, #-8]
	cmp	r3, #79
	bgt	.L22
	ldr	r1, .L24
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #10
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	beq	.L22
	mov	r3, #1
	b	.L23
.L22:
	mov	r3, #0
.L23:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L25:
	.align	2
.L24:
	.word	Obj
	.size	IsObjCarriedByActor, .-IsObjCarriedByActor
	.align	2
	.global	IsPlayerInDarkness
	.syntax unified
	.arm
	.fpu softvfp
	.type	IsPlayerInDarkness, %function
IsPlayerInDarkness:
	@ 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, .L33
	ldrh	r3, [r3, #16]
	ldr	r2, .L33+4
	lsl	r3, r3, #3
	add	r3, r2, r3
	add	r3, r3, #4
	ldrh	r3, [r3]
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L27
	mov	r3, #0
	b	.L28
.L27:
	ldr	r3, .L33
	ldrh	r3, [r3, #24]
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L29
	mov	r3, #0
	b	.L28
.L29:
	mov	r3, #2
	str	r3, [fp, #-12]
	b	.L30
.L32:
	ldr	r1, .L33
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #8
	ldrh	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	IsObjVisible
	mov	r3, r0
	cmp	r3, #0
	beq	.L31
	ldr	r0, [fp, #-8]
	bl	IsObjCarriedByActor
	mov	r3, r0
	cmp	r3, #0
	bne	.L31
	ldr	r1, .L33
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #10
	ldrh	r3, [r3]
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L31
	mov	r3, #0
	b	.L28
.L31:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L30:
	ldr	r3, [fp, #-12]
	cmp	r3, #79
	ble	.L32
	mov	r3, #1
.L28:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	Obj
	.word	Room
	.size	IsPlayerInDarkness, .-IsPlayerInDarkness
	.section	.rodata
	.align	2
.LC0:
	.ascii	"  \000"
	.align	2
.LC1:
	.ascii	"\012\000"
	.align	2
.LC2:
	.ascii	"It'\241empty.\000"
	.text
	.align	2
	.global	PrintContents
	.syntax unified
	.arm
	.fpu softvfp
	.type	PrintContents, %function
PrintContents:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #2
	str	r3, [fp, #-16]
	b	.L36
.L40:
	ldr	r1, .L46
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #8
	ldrh	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r1, .L46
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #2
	ldrh	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, #2048
	cmp	r2, r3
	bne	.L37
	ldr	r1, .L46
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #10
	ldrh	r3, [r3]
	and	r3, r3, #8
	cmp	r3, #0
	bne	.L37
	ldr	r1, .L46
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #10
	ldrh	r3, [r3]
	and	r3, r3, #64
	cmp	r3, #0
	beq	.L38
	ldr	r1, .L46
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #10
	ldrh	r3, [r3]
	and	r3, r3, #32
	cmp	r3, #0
	beq	.L37
.L38:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L39
	ldr	r0, [fp, #-28]
	bl	PrintLine
	mov	r3, #1
	str	r3, [fp, #-20]
.L39:
	ldr	r0, .L46+4
	bl	PrintCompText
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	PrintObjectDesc
	ldr	r0, .L46+8
	bl	PrintCompText
.L37:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L36:
	ldr	r3, [fp, #-16]
	cmp	r3, #79
	ble	.L40
	mov	r3, #2
	str	r3, [fp, #-16]
	b	.L41
.L43:
	ldr	r1, .L46
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #8
	ldrh	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r1, .L46
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #2
	ldrh	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, #2048
	cmp	r2, r3
	bne	.L42
	ldr	r1, .L46
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #10
	ldrh	r3, [r3]
	and	r3, r3, #8
	cmp	r3, #0
	bne	.L42
	ldr	r1, .L46
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #10
	ldrh	r3, [r3]
	and	r3, r3, #64
	cmp	r3, #0
	beq	.L42
	ldr	r1, .L46
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #10
	ldrh	r3, [r3]
	and	r3, r3, #32
	cmp	r3, #0
	bne	.L42
	mov	r3, #1
	str	r3, [fp, #-20]
	mov	r1, #1
	ldr	r0, [fp, #-12]
	bl	PrintObjectDesc
	ldr	r0, .L46+8
	bl	PrintCompText
.L42:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L41:
	ldr	r3, [fp, #-16]
	cmp	r3, #79
	ble	.L43
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L45
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L45
	ldr	r0, .L46+12
	bl	PrintCompLine
.L45:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	Obj
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	PrintContents, .-PrintContents
	.section	.rodata
	.align	2
.LC3:
	.ascii	"\334u'\251\263\273ry\227:\000"
	.align	2
.LC4:
	.ascii	"  (which contains)\000"
	.align	2
.LC5:
	.ascii	"\334u'\251\344\377\263\273ry\204\255y\242\227.\000"
	.text
	.align	2
	.global	PrintPresentObjects
	.syntax unified
	.arm
	.fpu softvfp
	.type	PrintPresentObjects, %function
PrintPresentObjects:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #2
	str	r3, [fp, #-12]
	b	.L49
.L56:
	ldr	r1, .L59
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #8
	ldrh	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r1, .L59
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #2
	ldrh	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	cmp	r3, r2
	bne	.L50
	ldr	r1, .L59
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #10
	ldrh	r3, [r3]
	and	r3, r3, #8
	cmp	r3, #0
	bne	.L50
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L51
	mov	r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	ldr	r2, .L59+4
	cmp	r3, r2
	bne	.L52
	ldr	r0, .L59+8
	bl	PrintCompLine
	b	.L51
.L52:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L51
	ldr	r0, [fp, #-28]
	bl	PrintLine
.L51:
	ldr	r3, [fp, #-24]
	ldr	r2, .L59+4
	cmp	r3, r2
	beq	.L53
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L54
.L53:
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	PrintObjectDesc
	b	.L55
.L54:
	mov	r1, #1
	ldr	r0, [fp, #-8]
	bl	PrintObjectDesc
.L55:
	ldr	r0, .L59+12
	bl	PrintCompText
	ldr	r1, .L59
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #10
	ldrh	r3, [r3]
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L50
	ldr	r1, .L59
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #10
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	bne	.L50
	mov	r2, #0
	ldr	r1, .L59+16
	ldr	r0, [fp, #-8]
	bl	PrintContents
.L50:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L49:
	ldr	r3, [fp, #-12]
	cmp	r3, #79
	ble	.L56
	ldr	r3, [fp, #-24]
	ldr	r2, .L59+4
	cmp	r3, r2
	bne	.L58
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L58
	ldr	r0, .L59+20
	bl	PrintCompLine
.L58:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L60:
	.align	2
.L59:
	.word	Obj
	.word	2049
	.word	.LC3
	.word	.LC1
	.word	.LC4
	.word	.LC5
	.size	PrintPresentObjects, .-PrintPresentObjects
	.align	2
	.global	PrintRoomDesc
	.syntax unified
	.arm
	.fpu softvfp
	.type	PrintRoomDesc, %function
PrintRoomDesc:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r2, .L73
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-20]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	str	r3, [fp, #-16]
	mov	r3, #47872
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	DecompressText
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #94
	beq	.L62
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L62
	ldr	r0, [fp, #-12]
	bl	PrintLine
.L62:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L63
	ldr	r3, .L73+4
	ldr	r3, [r3]
	cmp	r3, #2
	beq	.L64
.L63:
	ldr	r2, .L73+8
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	add	r3, r2, r3
	add	r3, r3, #4
	ldrh	r3, [r3]
	and	r3, r3, #64
	cmp	r3, #0
	bne	.L65
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L65
	ldr	r3, .L73+4
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L66
.L65:
	ldr	r2, .L73+8
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	add	r3, r2, r3
	add	r3, r3, #4
	ldrh	r3, [r3]
	bic	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r1, .L73+8
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #4
	strh	r2, [r3]	@ movhi
.L66:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L67
.L70:
	ldr	r2, .L73+12
	ldr	r3, [fp, #-24]
	ldr	r3, [r2, r3, lsl #3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	beq	.L72
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L67:
	ldr	r2, .L73+12
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L70
	b	.L69
.L72:
	nop
.L69:
	ldr	r2, .L73+12
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L71
	ldr	r2, .L73+12
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r1, #39
	mov	r0, r3
	bl	CallOverlay0
	b	.L64
.L71:
	ldr	r2, .L73+8
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	add	r3, r2, r3
	add	r3, r3, #4
	ldrh	r3, [r3]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L64
	mov	r1, #94
	ldr	r0, [fp, #-12]
	bl	strchr
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L64
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #94
	beq	.L64
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L64
	ldr	r0, [fp, #-12]
	bl	PrintLine
.L64:
	ldr	r2, .L73+8
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	add	r3, r2, r3
	add	r3, r3, #4
	ldrh	r3, [r3]
	orr	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r1, .L73+8
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #4
	strh	r2, [r3]	@ movhi
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L74:
	.align	2
.L73:
	.word	RoomDesc
	.word	Verbosity
	.word	Room
	.word	OverrideRoomDesc
	.size	PrintRoomDesc, .-PrintRoomDesc
	.section	.rodata
	.align	2
.LC6:
	.ascii	"I\246\232p\307\372\260\375ck\216\303\273\236\365ke\354"
	.ascii	"\211\357\373\257\324\260\304\320grue.\000"
	.text
	.align	2
	.global	PrintPlayerRoomDesc
	.syntax unified
	.arm
	.fpu softvfp
	.type	PrintPlayerRoomDesc, %function
PrintPlayerRoomDesc:
	@ 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	IsPlayerInDarkness
	mov	r3, r0
	cmp	r3, #0
	beq	.L76
	ldr	r0, .L80
	bl	PrintCompLine
	b	.L79
.L76:
	ldr	r3, .L80+4
	ldrh	r3, [r3, #16]
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	PrintRoomDesc
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L78
	ldr	r3, .L80+8
	ldr	r3, [r3]
	cmp	r3, #2
	beq	.L79
.L78:
	ldr	r3, .L80+4
	ldrh	r3, [r3, #16]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	PrintPresentObjects
.L79:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L81:
	.align	2
.L80:
	.word	.LC6
	.word	Obj
	.word	Verbosity
	.size	PrintPlayerRoomDesc, .-PrintPlayerRoomDesc
	.section	.rodata
	.align	2
.LC7:
	.ascii	"E\327\264su\372\243\264ac\360\312\207\357\311\271\206"
	.ascii	"\266\347pabi\365\360es.\000"
	.align	2
.LC8:
	.ascii	"\334u'\251\314\277d! H\362\221\206\225\247k\212\222"
	.ascii	"\252c\323e?\000"
	.align	2
.LC9:
	.ascii	"\213\273\236\350ad.\000"
	.align	2
.LC10:
	.ascii	"Migh\246\340\267e\337\216u'\327\346\377\243\264e\321"
	.ascii	"rn\307y.\000"
	.align	2
.LC11:
	.ascii	"\213\355\325\344\272\365gh\246\275\346ui\350\206.\000"
	.align	2
.LC12:
	.ascii	"\334\330\300\214p\340\326\241\242\302ug\336\307\241"
	.ascii	"object.\000"
	.align	2
.LC13:
	.ascii	"A\337\252u\372\243ttack\241\273\236va\247\250\264\222"
	.ascii	"\263\312d\307ion.\000"
	.align	2
.LC14:
	.ascii	"\213\315\327\344\272pos\326ssi\312s.\000"
	.align	2
.LC15:
	.ascii	"\205\302\341\313\351k\241\305\364\261\236\214\366\277"
	.ascii	"r\242ly\000"
	.align	2
.LC16:
	.ascii	".\000"
	.align	2
.LC17:
	.ascii	"\215\256bject\241ap\374\273\250\271\262\360nct.\000"
	.align	2
.LC18:
	.ascii	"Al\242\245g\336\226\251\207\343\313ight\265\201\302"
	.ascii	"\341\252\363m\241dim\354\250\337um\247\257ed.\000"
	.align	2
.LC19:
	.ascii	"\213\347\223e\327\264d\272\242at.\000"
	.text
	.align	2
	.global	InterceptActionWhenDead
	.syntax unified
	.arm
	.fpu softvfp
	.type	InterceptActionWhenDead, %function
InterceptActionWhenDead:
	@ 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, .L104
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L83
	mov	r3, #0
	b	.L84
.L83:
	ldr	r3, [fp, #-8]
	cmp	r3, #43
	beq	.L85
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	ble	.L86
	ldr	r3, [fp, #-8]
	cmp	r3, #12
	bgt	.L86
.L85:
	mov	r3, #0
	b	.L84
.L86:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #13
	cmp	r3, #87
	ldrls	pc, [pc, r3, asl #2]
	b	.L87
.L89:
	.word	.L98
	.word	.L87
	.word	.L97
	.word	.L90
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L91
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L91
	.word	.L96
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L91
	.word	.L95
	.word	.L91
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L91
	.word	.L95
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L94
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L91
	.word	.L87
	.word	.L87
	.word	.L90
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L90
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L90
	.word	.L90
	.word	.L87
	.word	.L90
	.word	.L87
	.word	.L93
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L87
	.word	.L90
	.word	.L87
	.word	.L92
	.word	.L87
	.word	.L87
	.word	.L91
	.word	.L91
	.word	.L91
	.word	.L87
	.word	.L91
	.word	.L90
	.word	.L90
	.word	.L88
.L90:
	mov	r3, #0
	b	.L84
.L91:
	ldr	r0, .L104+4
	bl	PrintCompLine
	b	.L99
.L93:
	ldr	r0, .L104+8
	bl	PrintCompLine
	b	.L99
.L96:
	ldr	r0, .L104+12
	bl	PrintCompLine
	b	.L99
.L88:
	ldr	r0, .L104+16
	bl	PrintCompLine
	b	.L99
.L98:
	ldr	r0, .L104+20
	bl	PrintCompLine
	b	.L99
.L92:
	ldr	r0, .L104+24
	bl	PrintCompLine
	b	.L99
.L97:
	ldr	r0, .L104+28
	bl	PrintCompLine
	b	.L99
.L95:
	ldr	r0, .L104+32
	bl	PrintCompLine
	b	.L99
.L94:
	mov	r0, #1
	bl	PrintPlayerRoomDesc
	ldr	r0, .L104+36
	bl	PrintCompText
	ldr	r3, .L104+40
	ldrh	r3, [r3, #16]
	mov	r0, r3
	bl	GetNumObjectsInLocation
	mov	r3, r0
	cmp	r3, #0
	bne	.L100
	ldr	r0, .L104+44
	bl	PrintCompLine
	b	.L101
.L100:
	ldr	r0, .L104+48
	bl	PrintCompLine
.L101:
	ldr	r3, .L104+40
	ldrh	r3, [r3, #16]
	ldr	r2, .L104+52
	lsl	r3, r3, #3
	add	r3, r2, r3
	add	r3, r3, #4
	ldrh	r3, [r3]
	and	r3, r3, #4
	cmp	r3, #0
	bne	.L103
	ldr	r0, .L104+56
	bl	PrintCompLine
	b	.L103
.L87:
	ldr	r0, .L104+60
	bl	PrintCompLine
	b	.L99
.L103:
	nop
.L99:
	mov	r3, #1
.L84:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L105:
	.align	2
.L104:
	.word	YouAreDead
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	Obj
	.word	.LC16
	.word	.LC17
	.word	Room
	.word	.LC18
	.word	.LC19
	.size	InterceptActionWhenDead, .-InterceptActionWhenDead
	.section	.rodata
	.align	2
.LC20:
	.ascii	" \000"
	.align	2
.LC21:
	.ascii	"...\000"
	.align	2
.LC22:
	.ascii	"..\244...\000"
	.text
	.align	2
	.global	InterceptActionInLoudRoom
	.syntax unified
	.arm
	.fpu softvfp
	.type	InterceptActionInLoudRoom, %function
InterceptActionInLoudRoom:
	@ 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, .L116
	ldrh	r3, [r3, #16]
	cmp	r3, #63
	beq	.L107
	mov	r3, #0
	b	.L108
.L107:
	ldr	r3, .L116+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L109
	ldr	r3, .L116+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L110
	ldr	r3, .L116+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L110
.L109:
	mov	r3, #0
	b	.L108
.L110:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	ble	.L111
	ldr	r3, [fp, #-8]
	cmp	r3, #12
	ble	.L112
.L111:
	ldr	r3, [fp, #-8]
	cmp	r3, #43
	beq	.L112
	ldr	r3, [fp, #-8]
	cmp	r3, #79
	beq	.L112
	ldr	r3, [fp, #-8]
	cmp	r3, #77
	beq	.L112
	ldr	r3, [fp, #-8]
	cmp	r3, #72
	beq	.L112
	ldr	r3, [fp, #-8]
	cmp	r3, #34
	bne	.L113
.L112:
	mov	r3, #0
	b	.L108
.L113:
	ldr	r3, .L116+16
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L114
	ldr	r3, .L116+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	PrintText
	ldr	r0, .L116+24
	bl	PrintCompText
	ldr	r3, .L116+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	PrintText
	ldr	r0, .L116+28
	bl	PrintCompLine
	b	.L115
.L114:
	ldr	r0, .L116+32
	bl	PrintCompLine
.L115:
	mov	r3, #1
.L108:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L117:
	.align	2
.L116:
	.word	Obj
	.word	LoudRoomQuiet
	.word	GatesOpen
	.word	LowTide
	.word	NumStrWords
	.word	StrWord
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.size	InterceptActionInLoudRoom, .-InterceptActionInLoudRoom
	.align	2
	.global	InterceptAction
	.syntax unified
	.arm
	.fpu softvfp
	.type	InterceptAction, %function
InterceptAction:
	@ 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	r0, [fp, #-8]
	bl	InterceptActionWhenDead
	mov	r3, r0
	cmp	r3, #0
	beq	.L119
	mov	r0, #1
	bl	ReturnOverlay1
.L119:
	ldr	r0, [fp, #-8]
	bl	InterceptActionInLoudRoom
	mov	r3, r0
	cmp	r3, #0
	beq	.L120
	mov	r0, #1
	bl	ReturnOverlay1
.L120:
	mov	r0, #0
	bl	ReturnOverlay1
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	InterceptAction, .-InterceptAction
	.align	2
	.global	IsObjVisible
	.syntax unified
	.arm
	.fpu softvfp
	.type	IsObjVisible, %function
IsObjVisible:
	@ 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]
	cmp	r3, #1
	ble	.L122
	ldr	r3, [fp, #-16]
	cmp	r3, #79
	ble	.L123
.L122:
	mov	r3, #0
	b	.L124
.L123:
	ldr	r1, .L129
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #10
	ldrh	r3, [r3]
	and	r3, r3, #256
	cmp	r3, #0
	beq	.L125
	mov	r3, #1
	b	.L124
.L125:
	ldr	r1, .L129
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #2
	ldrh	r3, [r3]
	ldr	r2, .L129+4
	cmp	r3, r2
	bne	.L126
	mov	r3, #1
	b	.L124
.L126:
	ldr	r1, .L129
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #2
	ldrh	r2, [r3]
	ldr	r3, .L129
	ldrh	r3, [r3, #16]
	cmp	r2, r3
	bne	.L127
	mov	r3, #1
	b	.L124
.L127:
	ldr	r1, .L129
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #2
	ldrh	r3, [r3]
	cmp	r3, #2048
	bcc	.L128
	ldr	r1, .L129
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #2
	ldrh	r3, [r3]
	sub	r3, r3, #2048
	str	r3, [fp, #-8]
	ldr	r1, .L129
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #10
	ldrh	r3, [r3]
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L128
	ldr	r0, [fp, #-8]
	bl	IsObjVisible
	mov	r3, r0
	cmp	r3, #0
	beq	.L128
	mov	r3, #1
	b	.L124
.L128:
	mov	r3, #0
.L124:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L130:
	.align	2
.L129:
	.word	Obj
	.word	2049
	.size	IsObjVisible, .-IsObjVisible
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
