	.file	"18886910.c"
	.intel_syntax noprefix
	.text
	.globl	die
	.type	die, @function
die:
.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	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	die, .-die
	.globl	current_time
	.type	current_time, @function
current_time:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rax, QWORD PTR -32[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	movsd	xmm0, QWORD PTR .LC0[rip]
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -24[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	addsd	xmm0, xmm1
	movq	rax, xmm0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L4
	call	__stack_chk_fail@PLT
.L4:
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	current_time, .-current_time
	.section	.rodata
.LC1:
	.string	"gethostname"
.LC2:
	.string	"socket"
.LC3:
	.string	"bind"
.LC4:
	.string	"listen"
.LC5:
	.string	"getsockname"
.LC6:
	.string	"%s %d\n"
	.text
	.globl	announce
	.type	announce, @function
announce:
.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 108
	call	malloc@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 4
	mov	esi, 100
	mov	rdi, rax
	call	gethostname@PLT
	test	eax, eax
	je	.L6
	lea	rdi, .LC1[rip]
	call	die
.L6:
	mov	rax, QWORD PTR -40[rbp]
	mov	BYTE PTR 103[rax], 0
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], -1
	jne	.L7
	lea	rdi, .LC2[rip]
	call	die
.L7:
	mov	WORD PTR -32[rbp], 2
	mov	WORD PTR -30[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	lea	rcx, -32[rbp]
	mov	eax, DWORD PTR -44[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	je	.L13
	lea	rdi, .LC3[rip]
	call	die
.L13:
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, 1
	mov	edi, eax
	call	listen@PLT
	cmp	eax, -1
	jne	.L9
	lea	rdi, .LC4[rip]
	call	die
.L9:
	mov	DWORD PTR -48[rbp], 16
	lea	rdx, -48[rbp]
	lea	rcx, -32[rbp]
	mov	eax, DWORD PTR -44[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	getsockname@PLT
	test	eax, eax
	je	.L10
	lea	rdi, .LC5[rip]
	call	die
.L10:
	movzx	eax, WORD PTR -30[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	edx, ax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR 104[rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR 104[rax]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, 4[rax]
	mov	rax, QWORD PTR stdout[rip]
	mov	ecx, edx
	mov	rdx, rsi
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -44[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	announce, .-announce
	.section	.rodata
.LC7:
	.string	"fgets"
.LC8:
	.string	"fscanf"
	.text
	.globl	get_announce
	.type	get_announce, @function
get_announce:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 264
	.cfi_offset 3, -24
	mov	QWORD PTR -264[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	edi, 216
	call	malloc@PLT
	mov	QWORD PTR -248[rbp], rax
	mov	DWORD PTR -252[rbp], 0
	jmp	.L15
.L18:
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -128[rbp]
	mov	esi, 100
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L16
	lea	rdi, .LC7[rip]
	call	die
.L16:
	mov	eax, DWORD PTR -252[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -248[rbp]
	add	rax, rdx
	lea	rcx, 104[rax]
	mov	eax, DWORD PTR -252[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -248[rbp]
	add	rax, rdx
	lea	rdx, 4[rax]
	lea	rax, -128[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 2
	je	.L17
	lea	rdi, .LC8[rip]
	call	die
.L17:
	add	DWORD PTR -252[rbp], 1
.L15:
	cmp	DWORD PTR -252[rbp], 1
	jle	.L18
	mov	rax, QWORD PTR -248[rbp]
	add	rax, 108
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -248[rbp]
	add	rax, 4
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jle	.L19
	mov	rax, QWORD PTR -248[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR -240[rbp], rcx
	mov	QWORD PTR -232[rbp], rbx
	mov	rcx, QWORD PTR 16[rax]
	mov	rbx, QWORD PTR 24[rax]
	mov	QWORD PTR -224[rbp], rcx
	mov	QWORD PTR -216[rbp], rbx
	mov	rcx, QWORD PTR 32[rax]
	mov	rbx, QWORD PTR 40[rax]
	mov	QWORD PTR -208[rbp], rcx
	mov	QWORD PTR -200[rbp], rbx
	mov	rcx, QWORD PTR 48[rax]
	mov	rbx, QWORD PTR 56[rax]
	mov	QWORD PTR -192[rbp], rcx
	mov	QWORD PTR -184[rbp], rbx
	mov	rcx, QWORD PTR 64[rax]
	mov	rbx, QWORD PTR 72[rax]
	mov	QWORD PTR -176[rbp], rcx
	mov	QWORD PTR -168[rbp], rbx
	mov	rcx, QWORD PTR 80[rax]
	mov	rbx, QWORD PTR 88[rax]
	mov	QWORD PTR -160[rbp], rcx
	mov	QWORD PTR -152[rbp], rbx
	mov	rdx, QWORD PTR 96[rax]
	mov	QWORD PTR -144[rbp], rdx
	mov	eax, DWORD PTR 104[rax]
	mov	DWORD PTR -136[rbp], eax
	mov	rax, QWORD PTR -248[rbp]
	mov	rdx, QWORD PTR -248[rbp]
	mov	rcx, QWORD PTR 108[rdx]
	mov	rbx, QWORD PTR 116[rdx]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR 124[rdx]
	mov	rbx, QWORD PTR 132[rdx]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR 140[rdx]
	mov	rbx, QWORD PTR 148[rdx]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR 156[rdx]
	mov	rbx, QWORD PTR 164[rdx]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rcx, QWORD PTR 172[rdx]
	mov	rbx, QWORD PTR 180[rdx]
	mov	QWORD PTR 64[rax], rcx
	mov	QWORD PTR 72[rax], rbx
	mov	rcx, QWORD PTR 188[rdx]
	mov	rbx, QWORD PTR 196[rdx]
	mov	QWORD PTR 80[rax], rcx
	mov	QWORD PTR 88[rax], rbx
	mov	rcx, QWORD PTR 204[rdx]
	mov	QWORD PTR 96[rax], rcx
	mov	edx, DWORD PTR 212[rdx]
	mov	DWORD PTR 104[rax], edx
	mov	rax, QWORD PTR -248[rbp]
	add	rax, 108
	mov	rcx, QWORD PTR -240[rbp]
	mov	rbx, QWORD PTR -232[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -224[rbp]
	mov	rbx, QWORD PTR -216[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR -208[rbp]
	mov	rbx, QWORD PTR -200[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR -192[rbp]
	mov	rbx, QWORD PTR -184[rbp]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rcx, QWORD PTR -176[rbp]
	mov	rbx, QWORD PTR -168[rbp]
	mov	QWORD PTR 64[rax], rcx
	mov	QWORD PTR 72[rax], rbx
	mov	rcx, QWORD PTR -160[rbp]
	mov	rbx, QWORD PTR -152[rbp]
	mov	QWORD PTR 80[rax], rcx
	mov	QWORD PTR 88[rax], rbx
	mov	rdx, QWORD PTR -144[rbp]
	mov	QWORD PTR 96[rax], rdx
	mov	edx, DWORD PTR -136[rbp]
	mov	DWORD PTR 104[rax], edx
.L19:
	mov	rax, QWORD PTR -248[rbp]
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	get_announce, .-get_announce
	.section	.rodata
.LC9:
	.string	"%d bytes for record\n"
.LC11:
	.string	"send"
.LC12:
	.string	"recv"
	.align 8
.LC14:
	.string	"wallclock time = %.1f us\ntotal roundtrip = %.1f us\navg roundtrip = %.3f\nrunning = %.1f%%\n"
	.text
	.globl	ping
	.type	ping, @function
ping:
.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, 112
	mov	DWORD PTR -100[rbp], edi
	mov	DWORD PTR -104[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -84[rbp], eax
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	mov	rsi, rax
	mov	edi, 8
	call	calloc@PLT
	mov	QWORD PTR -72[rbp], rax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -80[rbp], xmm0
	mov	eax, DWORD PTR -100[rbp]
	mov	DWORD PTR -20[rbp], eax
	mov	WORD PTR -16[rbp], 1
	mov	eax, 0
	call	current_time
	movq	rax, xmm0
	mov	QWORD PTR -64[rbp], rax
	mov	DWORD PTR -88[rbp], 0
	jmp	.L23
.L26:
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1321528399
	shr	rdx, 32
	sar	edx, 3
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 26
	sub	eax, ecx
	mov	edx, eax
	mov	eax, edx
	add	eax, 97
	mov	BYTE PTR -9[rbp], al
	mov	eax, 0
	call	current_time
	movq	rax, xmm0
	mov	QWORD PTR -40[rbp], rax
	lea	rsi, -9[rbp]
	mov	eax, DWORD PTR -100[rbp]
	mov	ecx, 0
	mov	edx, 1
	mov	edi, eax
	call	send@PLT
	cmp	rax, 1
	je	.L24
	lea	rdi, .LC11[rip]
	call	die
.L24:
	lea	rsi, -9[rbp]
	mov	eax, DWORD PTR -100[rbp]
	mov	ecx, 0
	mov	edx, 1
	mov	edi, eax
	call	recv@PLT
	cmp	rax, 1
	je	.L25
	lea	rdi, .LC12[rip]
	call	die
.L25:
	mov	eax, 0
	call	current_time
	movq	rax, xmm0
	mov	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR -32[rbp]
	subsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR [rax], xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	subsd	xmm0, QWORD PTR -40[rbp]
	movsd	xmm1, QWORD PTR -80[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -80[rbp], xmm0
	add	DWORD PTR -88[rbp], 1
.L23:
	mov	eax, DWORD PTR -88[rbp]
	cmp	eax, DWORD PTR -104[rbp]
	jl	.L26
	mov	eax, 0
	call	current_time
	movq	rax, xmm0
	mov	QWORD PTR -56[rbp], rax
	movsd	xmm0, QWORD PTR -56[rbp]
	subsd	xmm0, QWORD PTR -64[rbp]
	movsd	QWORD PTR -48[rbp], xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	subsd	xmm0, QWORD PTR -80[rbp]
	movapd	xmm1, xmm0
	divsd	xmm1, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR .LC13[rip]
	movapd	xmm3, xmm1
	mulsd	xmm3, xmm0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -104[rbp]
	movsd	xmm0, QWORD PTR -80[rbp]
	movapd	xmm2, xmm0
	divsd	xmm2, xmm1
	mov	rax, QWORD PTR stderr[rip]
	movsd	xmm0, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 4
	call	fprintf@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	ping, .-ping
	.section	.rodata
.LC15:
	.string	"the_stack_data/18886910.c"
.LC16:
	.string	"m[0] == 'a' + i % 26"
	.text
	.globl	pong
	.type	pong, @function
pong:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -20[rbp], eax
	mov	WORD PTR -16[rbp], 1
	mov	DWORD PTR -24[rbp], 0
	jmp	.L30
.L34:
	lea	rsi, -9[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	ecx, 0
	mov	edx, 1
	mov	edi, eax
	call	recv@PLT
	cmp	rax, 1
	je	.L31
	lea	rdi, .LC11[rip]
	call	die
.L31:
	movzx	eax, BYTE PTR -9[rbp]
	movsx	ecx, al
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1321528399
	shr	rdx, 32
	sar	edx, 3
	mov	esi, eax
	sar	esi, 31
	sub	edx, esi
	imul	esi, edx, 26
	sub	eax, esi
	mov	edx, eax
	lea	eax, 97[rdx]
	cmp	ecx, eax
	je	.L32
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 149
	lea	rsi, .LC15[rip]
	lea	rdi, .LC16[rip]
	call	__assert_fail@PLT
.L32:
	lea	rsi, -9[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	ecx, 0
	mov	edx, 1
	mov	edi, eax
	call	send@PLT
	cmp	rax, 1
	je	.L33
	lea	rdi, .LC12[rip]
	call	die
.L33:
	add	DWORD PTR -24[rbp], 1
.L30:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jl	.L34
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	pong, .-pong
	.section	.rodata
.LC17:
	.string	"i == 0 || i == 1"
.LC18:
	.string	"gethostbyname"
.LC19:
	.string	"connect"
.LC20:
	.string	"accept"
.LC21:
	.string	"setsockopt"
	.align 8
.LC22:
	.string	"/home/taue/proj/gxp3/%s_%s.dat"
.LC23:
	.string	"wb"
.LC24:
	.string	"fopen"
.LC25:
	.string	"%f\n"
.LC26:
	.string	"record written to %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 1088
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, 0
	call	announce
	mov	QWORD PTR -1064[rbp], rax
	mov	rax, QWORD PTR -1064[rbp]
	mov	rdi, rax
	call	get_announce
	mov	QWORD PTR -1056[rbp], rax
	mov	DWORD PTR -1072[rbp], 10000
	mov	DWORD PTR -1080[rbp], -1
	mov	DWORD PTR -1076[rbp], 0
	jmp	.L37
.L40:
	mov	eax, DWORD PTR -1076[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -1056[rbp]
	add	rax, rdx
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -1064[rbp]
	add	rax, 4
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L55
	add	DWORD PTR -1076[rbp], 1
.L37:
	cmp	DWORD PTR -1076[rbp], 1
	jle	.L40
	jmp	.L39
.L55:
	nop
.L39:
	cmp	DWORD PTR -1076[rbp], 0
	je	.L41
	cmp	DWORD PTR -1076[rbp], 1
	je	.L41
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 164
	lea	rsi, .LC15[rip]
	lea	rdi, .LC17[rip]
	call	__assert_fail@PLT
.L41:
	cmp	DWORD PTR -1076[rbp], 1
	jne	.L42
	mov	eax, DWORD PTR -1080[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -1080[rbp], eax
	mov	eax, DWORD PTR -1076[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -1056[rbp]
	add	rax, rdx
	add	rax, 4
	mov	rdi, rax
	call	gethostbyname@PLT
	mov	QWORD PTR -1048[rbp], rax
	cmp	QWORD PTR -1048[rbp], 0
	jne	.L43
	lea	rdi, .LC18[rip]
	call	die
.L43:
	mov	WORD PTR -1024[rbp], 2
	mov	eax, DWORD PTR -1076[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -1056[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 104[rax]
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -1022[rbp], ax
	mov	rax, QWORD PTR -1048[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -1020[rbp], eax
	lea	rcx, -1024[rbp]
	mov	eax, DWORD PTR -1080[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	cmp	eax, -1
	jne	.L45
	lea	rdi, .LC19[rip]
	call	die
	jmp	.L45
.L42:
	mov	DWORD PTR -1088[rbp], 1
	mov	DWORD PTR -1084[rbp], 16
	mov	rax, QWORD PTR -1064[rbp]
	mov	eax, DWORD PTR [rax]
	lea	rdx, -1084[rbp]
	lea	rcx, -1024[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -1068[rbp], eax
	cmp	DWORD PTR -1068[rbp], -1
	jne	.L46
	lea	rdi, .LC20[rip]
	call	die
.L46:
	lea	rdx, -1088[rbp]
	mov	eax, DWORD PTR -1068[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 6
	mov	edi, eax
	call	setsockopt@PLT
	cmp	eax, -1
	jne	.L47
	lea	rdi, .LC21[rip]
	call	die
.L47:
	mov	rax, QWORD PTR -1064[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -1068[rbp]
	mov	DWORD PTR -1080[rbp], eax
.L45:
	cmp	DWORD PTR -1076[rbp], 0
	jne	.L48
	mov	edx, DWORD PTR -1072[rbp]
	mov	eax, DWORD PTR -1080[rbp]
	mov	esi, edx
	mov	edi, eax
	call	ping
	mov	QWORD PTR -1040[rbp], rax
	mov	rax, QWORD PTR -1056[rbp]
	add	rax, 108
	lea	rcx, 4[rax]
	mov	rax, QWORD PTR -1056[rbp]
	lea	rdx, 4[rax]
	lea	rax, -1008[rbp]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -1008[rbp]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1032[rbp], rax
	cmp	QWORD PTR -1032[rbp], 0
	jne	.L49
	lea	rdi, .LC24[rip]
	call	die
.L49:
	mov	DWORD PTR -1076[rbp], 1
	jmp	.L50
.L51:
	mov	eax, DWORD PTR -1076[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1040[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -1032[rbp]
	movq	xmm0, rdx
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	add	DWORD PTR -1076[rbp], 1
.L50:
	mov	eax, DWORD PTR -1076[rbp]
	cmp	eax, DWORD PTR -1072[rbp]
	jl	.L51
	mov	rax, QWORD PTR -1032[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1008[rbp]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L52
.L48:
	mov	edx, DWORD PTR -1072[rbp]
	mov	eax, DWORD PTR -1080[rbp]
	mov	esi, edx
	mov	edi, eax
	call	pong
.L52:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L54
	call	__stack_chk_fail@PLT
.L54:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 5
__PRETTY_FUNCTION__.1:
	.string	"pong"
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"main"
	.align 8
.LC0:
	.long	0
	.long	1093567616
	.align 8
.LC13:
	.long	0
	.long	1079574528
	.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	"18886910.c"
	.text
	.align	2
	.global	die
	.syntax unified
	.arm
	.fpu softvfp
	.type	die, %function
die:
	@ 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	perror
	mov	r0, #1
	bl	exit
	.size	die, .-die
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	current_time
	.syntax unified
	.arm
	.fpu softvfp
	.type	current_time, %function
current_time:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	ldr	r3, .L5
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #24
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L5+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L5
	ldr	r0, [r1]
	ldr	r1, [fp, #-16]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L4
	bl	__stack_chk_fail
.L4:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC0
	.word	1093567616
	.size	current_time, .-current_time
	.section	.rodata
	.align	2
.LC1:
	.ascii	"gethostname\000"
	.align	2
.LC2:
	.ascii	"socket\000"
	.align	2
.LC3:
	.ascii	"bind\000"
	.align	2
.LC4:
	.ascii	"listen\000"
	.align	2
.LC5:
	.ascii	"getsockname\000"
	.align	2
.LC6:
	.ascii	"%s %d\012\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	announce
	.syntax unified
	.arm
	.fpu softvfp
	.type	announce, %function
announce:
	@ 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, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #108
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	add	r3, r3, #4
	mov	r1, #100
	mov	r0, r3
	bl	gethostname
	mov	r3, r0
	cmp	r3, #0
	beq	.L8
	ldr	r0, .L16+4
	bl	die
.L8:
	ldr	r3, [fp, #-32]
	mov	r2, #0
	strb	r2, [r3, #103]
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmn	r3, #1
	bne	.L9
	ldr	r0, .L16+8
	bl	die
.L9:
	mov	r3, #2
	strh	r3, [fp, #-24]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-22]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-20]
	sub	r3, fp, #24
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
	ldr	r0, .L16+12
	bl	die
.L15:
	mov	r1, #1
	ldr	r0, [fp, #-28]
	bl	listen
	mov	r3, r0
	cmn	r3, #1
	bne	.L11
	ldr	r0, .L16+16
	bl	die
.L11:
	mov	r3, #16
	str	r3, [fp, #-36]
	sub	r2, fp, #36
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	getsockname
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
	ldr	r0, .L16+20
	bl	die
.L12:
	ldrh	r3, [fp, #-22]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-32]
	str	r2, [r3, #104]
	ldr	r3, .L16+24
	ldr	r0, [r3]
	ldr	r3, [fp, #-32]
	add	r2, r3, #4
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #104]
	ldr	r1, .L16+28
	bl	fprintf
	ldr	r3, .L16+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC7
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	stdout
	.word	.LC6
	.size	announce, .-announce
	.section	.rodata
	.align	2
.LC8:
	.ascii	"fgets\000"
	.align	2
.LC9:
	.ascii	"fscanf\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_announce
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_announce, %function
get_announce:
	@ args = 0, pretend = 0, frame = 232
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #232
	str	r0, [fp, #-232]
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #216
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-220]
	mov	r3, #0
	str	r3, [fp, #-224]
	b	.L19
.L22:
	ldr	r3, .L26+4
	ldr	r2, [r3]
	sub	r3, fp, #108
	mov	r1, #100
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L20
	ldr	r0, .L26+8
	bl	die
.L20:
	ldr	r2, [fp, #-224]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-220]
	add	r3, r3, r2
	add	r1, r3, #4
	ldr	r2, [fp, #-224]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-220]
	add	r3, r3, r2
	add	r3, r3, #104
	sub	r0, fp, #108
	mov	r2, r1
	ldr	r1, .L26+12
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #2
	beq	.L21
	ldr	r0, .L26+16
	bl	die
.L21:
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	str	r3, [fp, #-224]
.L19:
	ldr	r3, [fp, #-224]
	cmp	r3, #1
	ble	.L22
	ldr	r3, [fp, #-220]
	add	r2, r3, #4
	ldr	r3, [fp, #-220]
	add	r3, r3, #108
	add	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	ble	.L23
	ldr	r2, [fp, #-220]
	sub	r3, fp, #216
	mov	r1, r2
	mov	r2, #108
	mov	r0, r3
	bl	memcpy
	ldr	r2, [fp, #-220]
	ldr	r3, [fp, #-220]
	mov	r0, r2
	add	r3, r3, #108
	mov	r2, #108
	mov	r1, r3
	bl	memcpy
	ldr	r3, [fp, #-220]
	add	r3, r3, #108
	mov	r0, r3
	sub	r3, fp, #216
	mov	r2, #108
	mov	r1, r3
	bl	memcpy
.L23:
	ldr	r3, [fp, #-220]
	ldr	r2, .L26
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC10
	.word	stdin
	.word	.LC8
	.word	.LC6
	.word	.LC9
	.size	get_announce, .-get_announce
	.section	.rodata
	.align	2
.LC11:
	.ascii	"%d bytes for record\012\000"
	.align	2
.LC12:
	.ascii	"send\000"
	.align	2
.LC13:
	.ascii	"recv\000"
	.global	__aeabi_dsub
	.global	__aeabi_ddiv
	.align	2
.LC14:
	.ascii	"wallclock time = %.1f us\012total roundtrip = %.1f "
	.ascii	"us\012avg roundtrip = %.3f\012running = %.1f%%\012\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ping
	.syntax unified
	.arm
	.fpu softvfp
	.type	ping, %function
ping:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #116
	str	r0, [fp, #-104]
	str	r1, [fp, #-108]
	ldr	r3, .L35
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldr	r3, .L35+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r1, .L35+8
	bl	fprintf
	str	r0, [fp, #-92]
	ldr	r3, [fp, #-108]
	mov	r1, r3
	mov	r0, #8
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-88]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-104]
	str	r3, [fp, #-36]
	mov	r3, #1
	strh	r3, [fp, #-32]	@ movhi
	bl	current_time
	str	r0, [fp, #-76]
	str	r1, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-96]
	b	.L29
.L32:
	ldr	r1, [fp, #-96]
	ldr	r3, .L35+12
	smull	r2, r3, r1, r3
	asr	r2, r3, #3
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	and	r3, r2, #255
	add	r3, r3, #97
	and	r3, r3, #255
	strb	r3, [fp, #-28]
	bl	current_time
	str	r0, [fp, #-52]
	str	r1, [fp, #-48]
	sub	r1, fp, #28
	mov	r3, #0
	mov	r2, #1
	ldr	r0, [fp, #-104]
	bl	send
	mov	r3, r0
	cmp	r3, #1
	beq	.L30
	ldr	r0, .L35+16
	bl	die
.L30:
	sub	r1, fp, #28
	mov	r3, #0
	mov	r2, #1
	ldr	r0, [fp, #-104]
	bl	recv
	mov	r3, r0
	cmp	r3, #1
	beq	.L31
	ldr	r0, .L35+20
	bl	die
.L31:
	bl	current_time
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-88]
	add	r4, r2, r3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-96]
.L29:
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #-108]
	cmp	r2, r3
	blt	.L32
	bl	current_time
	str	r0, [fp, #-68]
	str	r1, [fp, #-64]
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, .L35+4
	ldr	r6, [r3]
	ldr	r0, [fp, #-108]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L35+24
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	str	r4, [sp, #8]
	str	r5, [sp, #12]
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	ldr	r1, .L35+28
	mov	r0, r6
	bl	fprintf
	ldr	r3, [fp, #-88]
	ldr	r2, .L35
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L34
	bl	__stack_chk_fail
.L34:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC15
	.word	stderr
	.word	.LC11
	.word	1321528399
	.word	.LC12
	.word	.LC13
	.word	1079574528
	.word	.LC14
	.size	ping, .-ping
	.section	.rodata
	.align	2
.LC16:
	.ascii	"the_stack_data/18886910.c\000"
	.align	2
.LC17:
	.ascii	"m[0] == 'a' + i % 26\000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	pong
	.syntax unified
	.arm
	.fpu softvfp
	.type	pong, %function
pong:
	@ 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	r3, .L44
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-20]
	mov	r3, #1
	strh	r3, [fp, #-16]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L38
.L42:
	sub	r1, fp, #12
	mov	r3, #0
	mov	r2, #1
	ldr	r0, [fp, #-32]
	bl	recv
	mov	r3, r0
	cmp	r3, #1
	beq	.L39
	ldr	r0, .L44+4
	bl	die
.L39:
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r1, [fp, #-24]
	ldr	r3, .L44+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #3
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	add	r3, r2, #97
	cmp	r0, r3
	beq	.L40
	ldr	r3, .L44+12
	mov	r2, #149
	ldr	r1, .L44+16
	ldr	r0, .L44+20
	bl	__assert_fail
.L40:
	sub	r1, fp, #12
	mov	r3, #0
	mov	r2, #1
	ldr	r0, [fp, #-32]
	bl	send
	mov	r3, r0
	cmp	r3, #1
	beq	.L41
	ldr	r0, .L44+24
	bl	die
.L41:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L38:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L42
	nop
	ldr	r3, .L44
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L43
	bl	__stack_chk_fail
.L43:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	.LC18
	.word	.LC12
	.word	1321528399
	.word	__PRETTY_FUNCTION__.6933
	.word	.LC16
	.word	.LC17
	.word	.LC13
	.size	pong, .-pong
	.section	.rodata
	.align	2
.LC19:
	.ascii	"i == 0 || i == 1\000"
	.align	2
.LC20:
	.ascii	"gethostbyname\000"
	.align	2
.LC21:
	.ascii	"connect\000"
	.align	2
.LC22:
	.ascii	"accept\000"
	.align	2
.LC23:
	.ascii	"setsockopt\000"
	.align	2
.LC24:
	.ascii	"/home/taue/proj/gxp3/%s_%s.dat\000"
	.align	2
.LC25:
	.ascii	"wb\000"
	.align	2
.LC26:
	.ascii	"fopen\000"
	.align	2
.LC27:
	.ascii	"%f\012\000"
	.align	2
.LC28:
	.ascii	"record written to %s\012\000"
	.align	2
.LC29:
	.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, .L66
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	announce
	str	r0, [fp, #-1052]
	ldr	r0, [fp, #-1052]
	bl	get_announce
	str	r0, [fp, #-1048]
	ldr	r3, .L66+4
	str	r3, [fp, #-1044]
	mvn	r3, #0
	str	r3, [fp, #-1060]
	mov	r3, #0
	str	r3, [fp, #-1056]
	b	.L47
.L50:
	ldr	r3, [fp, #-1052]
	add	r0, r3, #4
	ldr	r2, [fp, #-1056]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-1048]
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r1, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L65
	ldr	r3, [fp, #-1056]
	add	r3, r3, #1
	str	r3, [fp, #-1056]
.L47:
	ldr	r3, [fp, #-1056]
	cmp	r3, #1
	ble	.L50
	b	.L49
.L65:
	nop
.L49:
	ldr	r3, [fp, #-1056]
	cmp	r3, #0
	beq	.L51
	ldr	r3, [fp, #-1056]
	cmp	r3, #1
	beq	.L51
	ldr	r3, .L66+8
	mov	r2, #164
	ldr	r1, .L66+12
	ldr	r0, .L66+16
	bl	__assert_fail
.L51:
	ldr	r3, [fp, #-1056]
	cmp	r3, #1
	bne	.L52
	ldr	r0, [fp, #-1060]
	bl	close
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-1060]
	ldr	r2, [fp, #-1056]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-1048]
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r0, r3
	bl	gethostbyname
	str	r0, [fp, #-1036]
	ldr	r3, [fp, #-1036]
	cmp	r3, #0
	bne	.L53
	ldr	r0, .L66+20
	bl	die
.L53:
	sub	r3, fp, #4
	sub	r3, r3, #1020
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	ldr	r2, [fp, #-1056]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-1048]
	add	r3, r3, r2
	ldr	r3, [r3, #104]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #4
	sub	r3, r3, #1020
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, [fp, #-1036]
	ldr	r3, [r3, #16]
	ldr	r3, [r3]
	ldr	r3, [r3]
	str	r3, [fp, #-1020]
	sub	r3, fp, #1024
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-1060]
	bl	connect
	mov	r3, r0
	cmn	r3, #1
	bne	.L55
	ldr	r0, .L66+24
	bl	die
	b	.L55
.L52:
	mov	r3, #1
	str	r3, [fp, #-1068]
	mov	r3, #16
	str	r3, [fp, #-1064]
	ldr	r3, [fp, #-1052]
	ldr	r0, [r3]
	sub	r3, fp, #1056
	sub	r3, r3, #4
	sub	r3, r3, #4
	sub	r1, fp, #1024
	mov	r2, r3
	bl	accept
	str	r0, [fp, #-1040]
	ldr	r3, [fp, #-1040]
	cmn	r3, #1
	bne	.L56
	ldr	r0, .L66+28
	bl	die
.L56:
	sub	r3, fp, #1056
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #1
	mov	r1, #6
	ldr	r0, [fp, #-1040]
	bl	setsockopt
	mov	r3, r0
	cmn	r3, #1
	bne	.L57
	ldr	r0, .L66+32
	bl	die
.L57:
	ldr	r3, [fp, #-1052]
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-1040]
	str	r3, [fp, #-1060]
.L55:
	ldr	r3, [fp, #-1056]
	cmp	r3, #0
	bne	.L58
	ldr	r1, [fp, #-1044]
	ldr	r0, [fp, #-1060]
	bl	ping
	str	r0, [fp, #-1032]
	ldr	r3, [fp, #-1048]
	add	r2, r3, #4
	ldr	r3, [fp, #-1048]
	add	r3, r3, #108
	add	r3, r3, #4
	sub	r0, fp, #1008
	ldr	r1, .L66+36
	bl	sprintf
	sub	r3, fp, #1008
	ldr	r1, .L66+40
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-1028]
	ldr	r3, [fp, #-1028]
	cmp	r3, #0
	bne	.L59
	ldr	r0, .L66+44
	bl	die
.L59:
	mov	r3, #1
	str	r3, [fp, #-1056]
	b	.L60
.L61:
	ldr	r3, [fp, #-1056]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-1032]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r1, .L66+48
	ldr	r0, [fp, #-1028]
	bl	fprintf
	ldr	r3, [fp, #-1056]
	add	r3, r3, #1
	str	r3, [fp, #-1056]
.L60:
	ldr	r2, [fp, #-1056]
	ldr	r3, [fp, #-1044]
	cmp	r2, r3
	blt	.L61
	ldr	r0, [fp, #-1028]
	bl	fclose
	ldr	r3, .L66+52
	ldr	r3, [r3]
	sub	r2, fp, #1008
	ldr	r1, .L66+56
	mov	r0, r3
	bl	fprintf
	b	.L62
.L58:
	ldr	r1, [fp, #-1044]
	ldr	r0, [fp, #-1060]
	bl	pong
.L62:
	mov	r3, #0
	ldr	r2, .L66
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L64
	bl	__stack_chk_fail
.L64:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L67:
	.align	2
.L66:
	.word	.LC29
	.word	10000
	.word	__PRETTY_FUNCTION__.6947
	.word	.LC16
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	stderr
	.word	.LC28
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.6933, %object
	.size	__PRETTY_FUNCTION__.6933, 5
__PRETTY_FUNCTION__.6933:
	.ascii	"pong\000"
	.align	2
	.type	__PRETTY_FUNCTION__.6947, %object
	.size	__PRETTY_FUNCTION__.6947, 5
__PRETTY_FUNCTION__.6947:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
