	.file	"608494.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.ascii	"As you walk closer, it is clear that the base belongs to t"
	.string	"he space goblins. On the wall, there are depictions of a female goblin wearing a crown with the name \"Boblinessa\" written below.\nA similar chest as the one you found earlier lies on the table. It opens for the same voice input as the first chest you found."
	.align 8
.LC1:
	.string	"\"Hi, I'm the Boblinessa cult encyclopedia!\""
	.align 8
.LC2:
	.string	"\"So, what where you looking for?\""
.LC3:
	.string	"open_door"
.LC4:
	.string	"Oh, that's right here: %p.\n"
.LC5:
	.string	"mprotec"
	.align 8
.LC6:
	.string	"Ah yes, our sweet Boblinessa. She protec. She protecs right here in fact: %p.\n"
.LC7:
	.string	"mattac"
	.align 8
.LC8:
	.string	"What?! No, she would never do that...\nAlso I'm hiding here: %p. She wouldn't even find me here...\n"
.LC9:
	.string	"quit"
.LC10:
	.string	"Ta ta for now!"
	.align 8
.LC11:
	.string	"I don't think we have access to that right now..."
	.align 8
.LC12:
	.string	"\nOkay, so do you wanna see anything else or are you done?"
.LC13:
	.string	"done"
	.text
	.globl	open_door
	.type	open_door, @function
open_door:
.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, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR stdout[rip]
	mov	ecx, 0
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	setvbuf@PLT
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	mov	QWORD PTR -92[rbp], 0
	mov	DWORD PTR -84[rbp], 0
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L2
.L11:
	lea	rax, -80[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L3
	lea	rsi, open_door[rip]
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L4
.L3:
	lea	rax, -80[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L5
	mov	rax, QWORD PTR mprotect@GOTPCREL[rip]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L4
.L5:
	lea	rax, -80[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
	lea	rax, -80[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L4
.L6:
	lea	rax, -80[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L7
	lea	rdi, .LC10[rip]
	call	puts@PLT
	jmp	.L1
.L7:
	lea	rdi, .LC11[rip]
	call	puts@PLT
.L4:
	lea	rdi, .LC12[rip]
	call	puts@PLT
	lea	rax, -92[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rax, -92[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L2:
	lea	rax, -80[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	test	eax, eax
	jne	.L11
	jmp	.L1
.L13:
	nop
.L1:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	open_door, .-open_door
	.globl	supersecret_base
	.type	supersecret_base, @function
supersecret_base:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	open_door
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	supersecret_base, .-supersecret_base
	.section	.rodata
	.align 8
.LC14:
	.string	"The chest opens up and a small, rusty laptop is unveiled\n\"Hi, old goblin-friend! Remember the last time we saw each other? We were hanging at our supersecret base, you know, the one at %p!\n Ah yes, good times!\""
	.align 8
.LC15:
	.string	"The screen flickers and the computer dies. Were do you "
.LC16:
	.string	"wanna go now?"
	.text
	.globl	talk_to_chest
	.type	talk_to_chest, @function
talk_to_chest:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR stdout[rip]
	mov	ecx, 0
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	setvbuf@PLT
	lea	rsi, supersecret_base[rip]
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC16[rip]
	call	puts@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	talk_to_chest, .-talk_to_chest
	.section	.rodata
	.align 8
.LC17:
	.string	"\"Welcome! Please identify yourself.\""
.LC18:
	.string	"\"Unlocking... Please wait...\""
	.align 8
.LC19:
	.string	"\"Wow, your voice is seems off. Not letting you in.\""
	.text
	.globl	open_chest
	.type	open_chest, @function
open_chest:
.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -15[rbp], 1
	mov	DWORD PTR -14[rbp], 37
	lea	rdi, .LC17[rip]
	call	puts@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	mov	eax, DWORD PTR -14[rbp]
	cmp	eax, 25
	jne	.L18
	movzx	eax, BYTE PTR -15[rbp]
	xor	eax, 1
	test	al, al
	je	.L18
	mov	eax, 1
	jmp	.L19
.L18:
	mov	eax, 0
.L19:
	mov	BYTE PTR -33[rbp], al
	and	BYTE PTR -33[rbp], 1
	cmp	BYTE PTR -33[rbp], 0
	je	.L20
	lea	rdi, .LC18[rip]
	call	puts@PLT
	jmp	.L21
.L20:
	lea	rdi, .LC19[rip]
	call	puts@PLT
.L21:
	movzx	eax, BYTE PTR -33[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	open_chest, .-open_chest
	.section	.rodata
	.align 8
.LC20:
	.string	"The chest glows with a faint blue tint. When you touch it, a computery voice echoes:"
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.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 stdout[rip]
	mov	ecx, 0
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	setvbuf@PLT
	lea	rdi, .LC20[rip]
	call	puts@PLT
	mov	eax, 0
	call	open_chest
	test	eax, eax
	je	.L25
	call	talk_to_chest
.L25:
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"608494.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"As you walk closer, it is clear that the base belon"
	.ascii	"gs to the space goblins. On the wall, there are dep"
	.ascii	"ictions of a female goblin wearing a crown with the"
	.ascii	" name \"Boblinessa\" written below.\012A similar ch"
	.ascii	"est as the one you found earlier lies on the table."
	.ascii	" It opens for the same voice input as the first che"
	.ascii	"st you found.\000"
	.align	2
.LC1:
	.ascii	"\"Hi, I'm the Boblinessa cult encyclopedia!\"\000"
	.align	2
.LC2:
	.ascii	"\"So, what where you looking for?\"\000"
	.align	2
.LC3:
	.ascii	"open_door\000"
	.align	2
.LC4:
	.ascii	"Oh, that's right here: %p.\012\000"
	.align	2
.LC5:
	.ascii	"mprotec\000"
	.align	2
.LC6:
	.ascii	"Ah yes, our sweet Boblinessa. She protec. She prote"
	.ascii	"cs right here in fact: %p.\012\000"
	.align	2
.LC7:
	.ascii	"mattac\000"
	.align	2
.LC8:
	.ascii	"What?! No, she would never do that...\012Also I'm h"
	.ascii	"iding here: %p. She wouldn't even find me here...\012"
	.ascii	"\000"
	.align	2
.LC9:
	.ascii	"quit\000"
	.align	2
.LC10:
	.ascii	"Ta ta for now!\000"
	.align	2
.LC11:
	.ascii	"I don't think we have access to that right now...\000"
	.align	2
.LC12:
	.ascii	"\012Okay, so do you wanna see anything else or are "
	.ascii	"you done?\000"
	.align	2
.LC13:
	.ascii	"done\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	open_door
	.syntax unified
	.arm
	.fpu softvfp
	.type	open_door, %function
open_door:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L14+4
	ldr	r0, [r3]
	mov	r3, #0
	mov	r2, #2
	mov	r1, #0
	bl	setvbuf
	ldr	r0, .L14+8
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-68]
	sub	r3, fp, #64
	mov	r2, #56
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-80]
	sub	r3, fp, #76
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	ldr	r0, .L14+12
	bl	puts
	ldr	r0, .L14+16
	bl	puts
	b	.L2
.L11:
	sub	r3, fp, #68
	ldr	r1, .L14+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L3
	ldr	r1, .L14+24
	ldr	r0, .L14+28
	bl	printf
	b	.L4
.L3:
	sub	r3, fp, #68
	ldr	r1, .L14+32
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	ldr	r1, .L14+36
	ldr	r0, .L14+40
	bl	printf
	b	.L4
.L5:
	sub	r3, fp, #68
	ldr	r1, .L14+44
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	sub	r3, fp, #68
	mov	r1, r3
	ldr	r0, .L14+48
	bl	printf
	b	.L4
.L6:
	sub	r3, fp, #68
	ldr	r1, .L14+52
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	ldr	r0, .L14+56
	bl	puts
	b	.L1
.L7:
	ldr	r0, .L14+60
	bl	puts
.L4:
	ldr	r0, .L14+64
	bl	puts
	sub	r3, fp, #80
	mov	r0, r3
	bl	gets
	sub	r3, fp, #80
	ldr	r1, .L14+68
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
	ldr	r0, .L14+16
	bl	puts
.L2:
	sub	r3, fp, #68
	mov	r0, r3
	bl	gets
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	b	.L1
.L13:
	nop
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC14
	.word	stdout
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	open_door
	.word	.LC4
	.word	.LC5
	.word	mprotect
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	open_door, .-open_door
	.align	2
	.global	supersecret_base
	.syntax unified
	.arm
	.fpu softvfp
	.type	supersecret_base, %function
supersecret_base:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	open_door
	nop
	pop	{fp, pc}
	.size	supersecret_base, .-supersecret_base
	.section	.rodata
	.align	2
.LC15:
	.ascii	"The chest opens up and a small, rusty laptop is unv"
	.ascii	"eiled\012\"Hi, old goblin-friend! Remember the last"
	.ascii	" time we saw each other? We were hanging at our sup"
	.ascii	"ersecret base, you know, the one at %p!\012 Ah yes,"
	.ascii	" good times!\"\000"
	.align	2
.LC16:
	.ascii	"The screen flickers and the computer dies. Were do "
	.ascii	"you \000"
	.align	2
.LC17:
	.ascii	"wanna go now?\000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	talk_to_chest
	.syntax unified
	.arm
	.fpu softvfp
	.type	talk_to_chest, %function
talk_to_chest:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L19+4
	ldr	r0, [r3]
	mov	r3, #0
	mov	r2, #2
	mov	r1, #0
	bl	setvbuf
	ldr	r1, .L19+8
	ldr	r0, .L19+12
	bl	printf
	ldr	r0, .L19+16
	bl	printf
	ldr	r0, .L19+20
	bl	puts
	sub	r3, fp, #28
	mov	r0, r3
	bl	gets
	nop
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC18
	.word	stdout
	.word	supersecret_base
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.size	talk_to_chest, .-talk_to_chest
	.section	.rodata
	.align	2
.LC19:
	.ascii	"\"Welcome! Please identify yourself.\"\000"
	.align	2
.LC20:
	.ascii	"\"Unlocking... Please wait...\"\000"
	.align	2
.LC21:
	.ascii	"\"Wow, your voice is seems off. Not letting you in."
	.ascii	"\"\000"
	.align	2
.LC22:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	open_chest
	.syntax unified
	.arm
	.fpu softvfp
	.type	open_chest, %function
open_chest:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	strb	r3, [fp, #-15]
	mov	r3, #0
	orr	r3, r3, #37
	strh	r3, [fp, #-14]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-12]	@ movhi
	ldr	r0, .L28+4
	bl	puts
	sub	r3, fp, #32
	mov	r0, r3
	bl	gets
	ldrh	r3, [fp, #-14]
	ldrh	r2, [fp, #-12]
	lsl	r2, r2, #16
	orr	r3, r2, r3
	cmp	r3, #25
	bne	.L22
	ldrb	r3, [fp, #-15]	@ zero_extendqisi2
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L22
	mov	r3, #1
	b	.L23
.L22:
	mov	r3, #0
.L23:
	strb	r3, [fp, #-33]
	ldrb	r3, [fp, #-33]
	and	r3, r3, #1
	strb	r3, [fp, #-33]
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L24
	ldr	r0, .L28+8
	bl	puts
	b	.L25
.L24:
	ldr	r0, .L28+12
	bl	puts
.L25:
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	ldr	r2, .L28
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC22
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.size	open_chest, .-open_chest
	.section	.rodata
	.align	2
.LC23:
	.ascii	"The chest glows with a faint blue tint. When you to"
	.ascii	"uch it, a computery voice echoes:\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L33
	ldr	r0, [r3]
	mov	r3, #0
	mov	r2, #2
	mov	r1, #0
	bl	setvbuf
	ldr	r0, .L33+4
	bl	puts
	bl	open_chest
	mov	r3, r0
	cmp	r3, #0
	beq	.L31
	bl	talk_to_chest
.L31:
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	stdout
	.word	.LC23
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
