	.file	"316626.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"malloc hates me.\n"
	.align 8
.LC1:
	.string	"File: the_stack_data/316626.c\nLine: 46"
.LC2:
	.string	"gethostname fail.\n"
	.align 8
.LC3:
	.string	"File: the_stack_data/316626.c\nLine: 50"
	.align 8
.LC4:
	.string	"File: the_stack_data/316626.c\nLine: 56"
.LC5:
	.string	"8087"
.LC6:
	.string	"tigger"
.LC7:
	.string	"Looking up 'tigger' failed.\n"
	.align 8
.LC8:
	.string	"File: the_stack_data/316626.c\nLine: 70"
	.align 8
.LC9:
	.string	"File: the_stack_data/316626.c\nLine: 75"
.LC10:
	.string	"Can't get a udp4 socket.\n"
	.align 8
.LC11:
	.string	"File: the_stack_data/316626.c\nLine: 82"
.LC12:
	.string	"sendto returned %zd.\n"
	.align 8
.LC13:
	.string	"File: the_stack_data/316626.c\nLine: 88"
.LC14:
	.string	"nightmare\n"
	.align 8
.LC15:
	.string	"File: the_stack_data/316626.c\nLine: 91"
	.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, 160
	mov	DWORD PTR -148[rbp], edi
	mov	QWORD PTR -160[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -96[rbp], 1
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -88[rbp], rax
	cmp	QWORD PTR -88[rbp], 0
	jne	.L3
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -108[rbp], eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	call	__errno_location@PLT
	mov	edx, DWORD PTR -108[rbp]
	mov	DWORD PTR [rax], edx
	lea	rdi, .LC1[rip]
	call	perror@PLT
	call	abort@PLT
.L5:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 36
	je	.L4
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -112[rbp], eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 18
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	call	__errno_location@PLT
	mov	edx, DWORD PTR -112[rbp]
	mov	DWORD PTR [rax], edx
	lea	rdi, .LC3[rip]
	call	perror@PLT
	call	abort@PLT
.L4:
	sal	QWORD PTR -96[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -88[rbp], rax
	cmp	QWORD PTR -88[rbp], 0
	jne	.L3
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -116[rbp], eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	call	__errno_location@PLT
	mov	edx, DWORD PTR -116[rbp]
	mov	DWORD PTR [rax], edx
	lea	rdi, .LC4[rip]
	call	perror@PLT
	call	abort@PLT
.L3:
	mov	rdx, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	gethostname@PLT
	test	eax, eax
	jne	.L5
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 1
	mov	QWORD PTR -96[rbp], rax
	lea	rax, -64[rbp]
	mov	edx, 48
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -60[rbp], 2
	mov	DWORD PTR -56[rbp], 2
	mov	DWORD PTR -64[rbp], 1024
	lea	rdx, -104[rbp]
	lea	rax, -64[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, .LC5[rip]
	lea	rdi, .LC6[rip]
	call	getaddrinfo@PLT
	test	eax, eax
	je	.L6
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -120[rbp], eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 28
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	call	__errno_location@PLT
	mov	edx, DWORD PTR -120[rbp]
	mov	DWORD PTR [rax], edx
	lea	rdi, .LC8[rip]
	call	perror@PLT
	call	abort@PLT
.L6:
	mov	rax, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR 16[rax]
	mov	DWORD PTR -144[rbp], eax
	mov	eax, DWORD PTR -144[rbp]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -80[rbp], rax
	cmp	QWORD PTR -80[rbp], 0
	jne	.L7
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -124[rbp], eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	call	__errno_location@PLT
	mov	edx, DWORD PTR -124[rbp]
	mov	DWORD PTR [rax], edx
	lea	rdi, .LC9[rip]
	call	perror@PLT
	call	abort@PLT
.L7:
	mov	edx, DWORD PTR -144[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	rcx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	freeaddrinfo@PLT
	mov	edx, 0
	mov	esi, 2
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -140[rbp], eax
	cmp	DWORD PTR -140[rbp], -1
	jne	.L8
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -128[rbp], eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC10[rip]
	call	fwrite@PLT
	call	__errno_location@PLT
	mov	edx, DWORD PTR -128[rbp]
	mov	DWORD PTR [rax], edx
	lea	rdi, .LC11[rip]
	call	perror@PLT
	call	abort@PLT
.L8:
	mov	rdx, QWORD PTR -96[rbp]
	mov	edi, DWORD PTR -144[rbp]
	mov	rcx, QWORD PTR -80[rbp]
	mov	rsi, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR -140[rbp]
	mov	r9d, edi
	mov	r8, rcx
	mov	ecx, 0
	mov	edi, eax
	call	sendto@PLT
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	cmp	rax, QWORD PTR -96[rbp]
	je	.L9
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	je	.L16
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -132[rbp], eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -72[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	__errno_location@PLT
	mov	edx, DWORD PTR -132[rbp]
	mov	DWORD PTR [rax], edx
	lea	rdi, .LC13[rip]
	call	perror@PLT
	call	abort@PLT
.L9:
	mov	edi, 5
	call	sleep@PLT
	test	eax, eax
	je	.L8
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	je	.L17
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -136[rbp], eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 10
	mov	esi, 1
	lea	rdi, .LC14[rip]
	call	fwrite@PLT
	call	__errno_location@PLT
	mov	edx, DWORD PTR -136[rbp]
	mov	DWORD PTR [rax], edx
	lea	rdi, .LC15[rip]
	call	perror@PLT
	call	abort@PLT
.L16:
	nop
	jmp	.L11
.L17:
	nop
.L11:
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.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	"316626.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"malloc hates me.\012\000"
	.align	2
.LC1:
	.ascii	"File: the_stack_data/316626.c\012Line: 46\000"
	.align	2
.LC2:
	.ascii	"gethostname fail.\012\000"
	.align	2
.LC3:
	.ascii	"File: the_stack_data/316626.c\012Line: 50\000"
	.align	2
.LC4:
	.ascii	"File: the_stack_data/316626.c\012Line: 56\000"
	.align	2
.LC5:
	.ascii	"8087\000"
	.align	2
.LC6:
	.ascii	"tigger\000"
	.align	2
.LC7:
	.ascii	"Looking up 'tigger' failed.\012\000"
	.align	2
.LC8:
	.ascii	"File: the_stack_data/316626.c\012Line: 70\000"
	.align	2
.LC9:
	.ascii	"File: the_stack_data/316626.c\012Line: 75\000"
	.align	2
.LC10:
	.ascii	"Can't get a udp4 socket.\012\000"
	.align	2
.LC11:
	.ascii	"File: the_stack_data/316626.c\012Line: 82\000"
	.align	2
.LC12:
	.ascii	"sendto returned %zd.\012\000"
	.align	2
.LC13:
	.ascii	"File: the_stack_data/316626.c\012Line: 88\000"
	.align	2
.LC14:
	.ascii	"nightmare\012\000"
	.align	2
.LC15:
	.ascii	"File: the_stack_data/316626.c\012Line: 91\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	str	r0, [fp, #-104]
	str	r1, [fp, #-108]
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-96]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-92]
	cmp	r3, #0
	bne	.L3
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-44]
	ldr	r3, .L18+4
	ldr	r3, [r3]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L18+8
	bl	fwrite
	bl	__errno_location
	mov	r2, r0
	ldr	r3, [fp, #-44]
	str	r3, [r2]
	ldr	r0, .L18+12
	bl	perror
	bl	abort
.L5:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #36
	beq	.L4
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-48]
	ldr	r3, .L18+4
	ldr	r3, [r3]
	mov	r2, #18
	mov	r1, #1
	ldr	r0, .L18+16
	bl	fwrite
	bl	__errno_location
	mov	r2, r0
	ldr	r3, [fp, #-48]
	str	r3, [r2]
	ldr	r0, .L18+20
	bl	perror
	bl	abort
.L4:
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #1
	str	r3, [fp, #-96]
	ldr	r0, [fp, #-92]
	bl	free
	ldr	r3, [fp, #-96]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-92]
	cmp	r3, #0
	bne	.L3
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-52]
	ldr	r3, .L18+4
	ldr	r3, [r3]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L18+8
	bl	fwrite
	bl	__errno_location
	mov	r2, r0
	ldr	r3, [fp, #-52]
	str	r3, [r2]
	ldr	r0, .L18+24
	bl	perror
	bl	abort
.L3:
	ldr	r3, [fp, #-96]
	mov	r1, r3
	ldr	r0, [fp, #-92]
	bl	gethostname
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	ldr	r0, [fp, #-92]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	str	r3, [fp, #-96]
	sub	r3, fp, #40
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #2
	str	r3, [fp, #-36]
	mov	r3, #2
	str	r3, [fp, #-32]
	mov	r3, #1024
	str	r3, [fp, #-40]
	sub	r3, fp, #100
	sub	r2, fp, #40
	ldr	r1, .L18+28
	ldr	r0, .L18+32
	bl	getaddrinfo
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-56]
	ldr	r3, .L18+4
	ldr	r3, [r3]
	mov	r2, #28
	mov	r1, #1
	ldr	r0, .L18+36
	bl	fwrite
	bl	__errno_location
	mov	r2, r0
	ldr	r3, [fp, #-56]
	str	r3, [r2]
	ldr	r0, .L18+40
	bl	perror
	bl	abort
.L6:
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-88]
	ldr	r0, [fp, #-88]
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	bne	.L7
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-60]
	ldr	r3, .L18+4
	ldr	r3, [r3]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L18+8
	bl	fwrite
	bl	__errno_location
	mov	r2, r0
	ldr	r3, [fp, #-60]
	str	r3, [r2]
	ldr	r0, .L18+44
	bl	perror
	bl	abort
.L7:
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #20]
	ldr	r2, [fp, #-88]
	mov	r1, r3
	ldr	r0, [fp, #-84]
	bl	memcpy
	ldr	r3, [fp, #-100]
	mov	r0, r3
	bl	freeaddrinfo
	mov	r2, #0
	mov	r1, #2
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-80]
	ldr	r3, [fp, #-80]
	cmn	r3, #1
	bne	.L8
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-64]
	ldr	r3, .L18+4
	ldr	r3, [r3]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L18+48
	bl	fwrite
	bl	__errno_location
	mov	r2, r0
	ldr	r3, [fp, #-64]
	str	r3, [r2]
	ldr	r0, .L18+52
	bl	perror
	bl	abort
.L8:
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #-88]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-84]
	str	r3, [sp]
	mov	r3, #0
	ldr	r1, [fp, #-92]
	ldr	r0, [fp, #-80]
	bl	sendto
	str	r0, [fp, #-76]
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-96]
	cmp	r2, r3
	beq	.L9
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L16
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-68]
	ldr	r3, .L18+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-76]
	ldr	r1, .L18+56
	mov	r0, r3
	bl	fprintf
	bl	__errno_location
	mov	r2, r0
	ldr	r3, [fp, #-68]
	str	r3, [r2]
	ldr	r0, .L18+60
	bl	perror
	bl	abort
.L9:
	mov	r0, #5
	bl	sleep
	mov	r3, r0
	cmp	r3, #0
	beq	.L8
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L17
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-72]
	ldr	r3, .L18+4
	ldr	r3, [r3]
	mov	r2, #10
	mov	r1, #1
	ldr	r0, .L18+64
	bl	fwrite
	bl	__errno_location
	mov	r2, r0
	ldr	r3, [fp, #-72]
	str	r3, [r2]
	ldr	r0, .L18+68
	bl	perror
	bl	abort
.L16:
	nop
	b	.L11
.L17:
	nop
.L11:
	ldr	r0, [fp, #-84]
	bl	free
	mov	r3, #0
	ldr	r2, .L18
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC16
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
