	.file	"86822.c"
	.intel_syntax noprefix
	.text
	.globl	temp
	.data
	.align 32
	.type	temp, @object
	.size	temp, 1041
temp:
	.string	"buffer"
	.zero	1017
	.string	"in_the_coal_mine"
	.section	.rodata
.LC0:
	.string	"in_the_coal_mine"
.LC1:
	.string	"vulnerable"
.LC2:
	.string	"not vulnerable"
.LC3:
	.string	"should not happen"
	.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, 1104
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -1080[rbp], 991
	mov	rdx, QWORD PTR -1080[rbp]
	lea	rax, -1040[rbp]
	mov	esi, 48
	mov	rdi, rax
	call	memset@PLT
	lea	rdx, -1040[rbp]
	mov	rax, QWORD PTR -1080[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	lea	rcx, -1096[rbp]
	lea	rdx, -1088[rbp]
	lea	rsi, -1072[rbp]
	lea	rax, -1040[rbp]
	mov	r9, rcx
	mov	r8, rdx
	mov	ecx, 1024
	lea	rdx, temp[rip]
	mov	rdi, rax
	call	gethostbyname_r@PLT
	mov	DWORD PTR -1092[rbp], eax
	lea	rsi, .LC0[rip]
	lea	rdi, temp[rip+1024]
	call	strcmp@PLT
	test	eax, eax
	je	.L2
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L2:
	cmp	DWORD PTR -1092[rbp], 34
	jne	.L3
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L3:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.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	"86822.c"
	.text
	.global	temp
	.data
	.align	2
	.type	temp, %object
	.size	temp, 1041
temp:
	.ascii	"buffer\000"
	.space	1017
	.ascii	"in_the_coal_mine\000"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"in_the_coal_mine\000"
	.align	2
.LC1:
	.ascii	"vulnerable\000"
	.align	2
.LC2:
	.ascii	"not vulnerable\000"
	.align	2
.LC3:
	.ascii	"should not happen\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1064
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1072
	ldr	r3, .L5
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L5+4
	str	r3, [fp, #-1060]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-1060]
	mov	r1, #48
	mov	r0, r3
	bl	memset
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-1060]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	sub	r1, fp, #1040
	sub	r1, r1, #4
	sub	r1, r1, #8
	sub	r0, fp, #1024
	sub	r0, r0, #4
	sub	r0, r0, #4
	sub	r3, fp, #1056
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [sp, #4]
	sub	r3, fp, #1056
	sub	r3, r3, #4
	sub	r3, r3, #8
	str	r3, [sp]
	mov	r3, #1024
	ldr	r2, .L5+8
	bl	gethostbyname_r
	str	r0, [fp, #-1056]
	ldr	r1, .L5+12
	ldr	r0, .L5+16
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	ldr	r0, .L5+20
	bl	puts
	mov	r0, #0
	bl	exit
.L2:
	ldr	r3, [fp, #-1056]
	cmp	r3, #34
	bne	.L3
	ldr	r0, .L5+24
	bl	puts
	mov	r0, #0
	bl	exit
.L3:
	ldr	r0, .L5+28
	bl	puts
	mov	r0, #1
	bl	exit
.L6:
	.align	2
.L5:
	.word	.LC4
	.word	999
	.word	temp
	.word	.LC0
	.word	temp+1024
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
