	.file	"661659.c"
	.intel_syntax noprefix
	.text
	.type	context_destroy, @function
context_destroy:
.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
	cmp	QWORD PTR -8[rbp], 0
	je	.L6
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 1288[rax]
	test	rax, rax
	je	.L4
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 1288[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 1288[rax], 0
.L4:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 1296[rax]
	test	rax, rax
	je	.L5
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 1296[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 1296[rax], 0
.L5:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR -8[rbp], 0
	jmp	.L1
.L6:
	nop
.L1:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	context_destroy, .-context_destroy
	.type	context_create, @function
context_create:
.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	QWORD PTR -8[rbp], 0
	mov	esi, 1312
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L8
	mov	eax, 0
	jmp	.L9
.L8:
	mov	rax, QWORD PTR -8[rbp]
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	context_create, .-context_create
	.type	calc_id, @function
calc_id:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	QWORD PTR -120[rbp], rdi
	mov	QWORD PTR -128[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -96[rbp], 0
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rdx, QWORD PTR 1256[rax]
	mov	rax, QWORD PTR 1248[rax]
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR -120[rbp]
	mov	rax, QWORD PTR 1272[rax]
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR -104[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -88[rbp], rax
	mov	DWORD PTR -108[rbp], 39
	jmp	.L11
.L15:
	mov	rdx, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -104[rbp], rax
	jle	.L12
	mov	rdx, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -104[rbp], rax
.L12:
	mov	rdx, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	cmp	rdx, rax
	jl	.L13
	mov	rdx, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	cmp	rdx, rax
	jne	.L14
	mov	rdx, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	cmp	rdx, rax
	jge	.L14
.L13:
	mov	rdx, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
.L14:
	mov	rdx, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	edx, eax
	mov	rax, QWORD PTR -80[rbp]
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	cdq
	xor	eax, edx
	sub	eax, edx
	cdqe
	add	QWORD PTR -96[rbp], rax
	mov	rdx, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	add	rax, 24
	mov	rcx, QWORD PTR [rax]
	movabs	rdx, 7567895004598790407
	mov	rax, rcx
	imul	rdx
	sar	rdx, 4
	mov	rax, rcx
	sar	rax, 63
	sub	rax, rdx
	add	QWORD PTR -88[rbp], rax
.L11:
	mov	eax, DWORD PTR -108[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -108[rbp], edx
	test	eax, eax
	jne	.L15
	mov	rcx, QWORD PTR -96[rbp]
	movabs	rdx, 7378697629483820647
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 4
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	mov	QWORD PTR -96[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	imul	rax, rax, 1000000
	add	rax, rdx
	mov	rdx, QWORD PTR -104[rbp]
	sub	rax, rdx
	mov	QWORD PTR -72[rbp], rax
	mov	rcx, QWORD PTR -72[rbp]
	movabs	rdx, 3022314549036572937
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 14
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	mov	QWORD PTR -64[rbp], rax
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -64[rbp]
	imul	rdx, rax, -100000
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -128[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -96[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -128[rbp]
	mov	DWORD PTR 20[rax], edx
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -128[rbp]
	mov	DWORD PTR 24[rax], edx
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -40[rbp]
	cmp	rdx, rax
	jge	.L16
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1000000
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 1
	mov	QWORD PTR -48[rbp], rax
.L16:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	sub	rax, rdx
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	sub	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	QWORD PTR -56[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm1, QWORD PTR .LC0[rip]
	divsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -56[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -56[rbp], xmm0
	movsd	xmm0, QWORD PTR -56[rbp]
	comisd	xmm0, QWORD PTR .LC1[rip]
	jbe	.L23
	mov	BYTE PTR -109[rbp], 83
	jmp	.L19
.L23:
	mov	BYTE PTR -109[rbp], 79
.L19:
	mov	rax, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR 1284[rax]
	test	eax, eax
	jne	.L20
	mov	BYTE PTR -109[rbp], 68
.L20:
	mov	rax, QWORD PTR -128[rbp]
	movzx	edx, BYTE PTR -109[rbp]
	mov	BYTE PTR 16[rax], dl
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	calc_id, .-calc_id
	.section	.rodata
.LC2:
	.string	"%lu.%05lu %c %d %d\r\n"
	.text
	.type	make_id_str, @function
make_id_str:
.LFB9:
	.cfi_startproc
	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	QWORD PTR -16[rbp], rsi
	mov	edi, DWORD PTR 40[rbp]
	mov	ecx, DWORD PTR 36[rbp]
	movzx	eax, BYTE PTR 32[rbp]
	movsx	r9d, al
	mov	r8, QWORD PTR 24[rbp]
	mov	rdx, QWORD PTR 16[rbp]
	mov	rsi, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	push	rdi
	push	rcx
	mov	rcx, rdx
	lea	rdx, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	add	rsp, 16
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	make_id_str, .-make_id_str
	.section	.rodata
.LC3:
	.string	"Trying to connect to %s\r\n"
	.align 8
.LC4:
	.string	"ID_connect() socket failed: %s\r\n"
	.align 8
.LC5:
	.string	"ID_connect() setsockopt failed: %s\r\n"
	.align 8
.LC6:
	.string	"ID_connect() getaddrinfo failed: %s\r\n"
	.align 8
.LC7:
	.string	"ID_connect() connect failed: %s\r\n"
.LC8:
	.string	"Connection to %s successful\r\n"
	.text
	.type	ID_connect_to, @function
ID_connect_to:
.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, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -56[rbp], 1
	mov	rax, QWORD PTR stdout[rip]
	mov	rdx, QWORD PTR -72[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 0
	jns	.L27
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L35
.L27:
	mov	QWORD PTR -32[rbp], 2
	mov	QWORD PTR -24[rbp], 0
	lea	rdx, -32[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	r8d, 16
	mov	rcx, rdx
	mov	edx, 20
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	mov	DWORD PTR -48[rbp], eax
	cmp	DWORD PTR -48[rbp], 0
	jns	.L29
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -52[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, -1
	jmp	.L35
.L29:
	lea	rdx, -56[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 15
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	mov	DWORD PTR -48[rbp], eax
	cmp	DWORD PTR -48[rbp], 0
	jns	.L30
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L30:
	lea	rdx, -40[rbp]
	mov	rsi, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rcx, rdx
	mov	edx, 0
	mov	rdi, rax
	call	getaddrinfo@PLT
	mov	DWORD PTR -48[rbp], eax
	cmp	DWORD PTR -48[rbp], 0
	je	.L31
	mov	eax, DWORD PTR -48[rbp]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -52[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, -1
	jmp	.L35
.L31:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -52[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	mov	DWORD PTR -44[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	freeaddrinfo@PLT
	cmp	DWORD PTR -44[rbp], 0
	jns	.L32
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -52[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, -1
	jmp	.L35
.L32:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	je	.L33
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 32[rax]
	jmp	.L34
.L33:
	mov	rax, QWORD PTR -72[rbp]
.L34:
	mov	rcx, QWORD PTR stdout[rip]
	mov	rdx, rax
	lea	rsi, .LC8[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -52[rbp]
.L35:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L36
	call	__stack_chk_fail@PLT
.L36:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	ID_connect_to, .-ID_connect_to
	.section	.rodata
.LC9:
	.string	"hasfhvctrl.desy.de"
.LC10:
	.string	"58050"
	.text
	.type	ID_connect, @function
ID_connect:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 1288[rax]
	test	rax, rax
	jne	.L38
	lea	rdi, .LC9[rip]
	call	strdup@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 1288[rax], rdx
.L38:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 1296[rax]
	test	rax, rax
	jne	.L39
	lea	rdi, .LC10[rip]
	call	strdup@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 1296[rax], rdx
.L39:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 1296[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 1288[rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	ID_connect_to
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	ID_connect, .-ID_connect
	.section	.rodata
	.align 8
.LC11:
	.string	"ID_collect() giving up to reconnect\r\n"
	.align 8
.LC12:
	.string	"Connect failed, %d/20 retries left...\r\n"
.LC13:
	.string	"Next retry in %dsec\r\n"
	.align 8
.LC14:
	.string	"ID_collect() recv failed, %d bytes received, closing socket: %s\r\n"
	.align 8
.LC15:
	.string	"ID_collect() skipping invalid message\r"
	.align 8
.LC16:
	.string	"ID_collect() skipping unparsable message\r"
.LC17:
	.string	"%lx"
	.align 8
.LC18:
	.string	"Connected to EventID server and getting data\r"
	.text
	.type	ID_collect, @function
ID_collect:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 1920
	mov	QWORD PTR -10104[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -10104[rbp]
	mov	QWORD PTR -10064[rbp], rax
	mov	DWORD PTR -10088[rbp], 0
	mov	DWORD PTR -10084[rbp], 1
.L55:
	mov	rax, QWORD PTR -10064[rbp]
	mov	rdi, rax
	call	ID_connect
	mov	DWORD PTR -10076[rbp], eax
	cmp	DWORD PTR -10076[rbp], 0
	jns	.L42
	add	DWORD PTR -10088[rbp], 1
	cmp	DWORD PTR -10088[rbp], 20
	jle	.L43
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 37
	mov	esi, 1
	lea	rdi, .LC11[rip]
	call	fwrite@PLT
	mov	edi, 0
	call	exit@PLT
.L43:
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -10088[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -10088[rbp]
	lea	edx, [rax+rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -10088[rbp]
	add	eax, eax
	mov	edi, eax
	call	sleep@PLT
	jmp	.L44
.L42:
	lea	rsi, -10016[rbp]
	mov	eax, DWORD PTR -10076[rbp]
	mov	ecx, 0
	mov	edx, 10000
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -10080[rbp], eax
	lea	rax, -10048[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	cmp	DWORD PTR -10080[rbp], 0
	jg	.L45
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -10080[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -10076[rbp]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR -10064[rbp]
	mov	DWORD PTR 1284[rax], 0
	jmp	.L44
.L45:
	cmp	DWORD PTR -10080[rbp], 10000
	jne	.L48
	lea	rdi, .LC15[rip]
	call	puts@PLT
	jmp	.L47
.L50:
	mov	eax, DWORD PTR -10080[rbp]
	cdqe
	movzx	eax, BYTE PTR -10016[rbp+rax]
	cmp	al, 32
	je	.L57
.L48:
	sub	DWORD PTR -10080[rbp], 1
	cmp	DWORD PTR -10080[rbp], 0
	jg	.L50
	jmp	.L49
.L57:
	nop
.L49:
	cmp	DWORD PTR -10080[rbp], 0
	jg	.L51
	lea	rdi, .LC16[rip]
	call	puts@PLT
	jmp	.L47
.L51:
	mov	eax, DWORD PTR -10080[rbp]
	cdqe
	lea	rdx, -10016[rbp]
	lea	rcx, [rdx+rax]
	lea	rax, -10072[rbp]
	mov	rdx, rax
	lea	rsi, .LC17[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	rax, QWORD PTR -10040[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -10048[rbp]
	imul	rax, rax, 1000000
	add	rdx, rax
	mov	rax, QWORD PTR -10072[rbp]
	imul	rcx, rax, 100000
	mov	rax, rdx
	sub	rax, rcx
	mov	QWORD PTR -10056[rbp], rax
	cmp	DWORD PTR -10084[rbp], 0
	je	.L52
	mov	DWORD PTR -10084[rbp], 0
	mov	rax, QWORD PTR -10064[rbp]
	mov	DWORD PTR 1280[rax], 40
	jmp	.L53
.L54:
	mov	rax, QWORD PTR -10064[rbp]
	mov	edx, DWORD PTR 1280[rax]
	mov	rax, QWORD PTR -10048[rbp]
	mov	rcx, QWORD PTR -10064[rbp]
	movsx	rdx, edx
	sal	rdx, 5
	add	rdx, rcx
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -10064[rbp]
	mov	edx, DWORD PTR 1280[rax]
	mov	rax, QWORD PTR -10040[rbp]
	mov	rcx, QWORD PTR -10064[rbp]
	movsx	rdx, edx
	sal	rdx, 5
	add	rdx, rcx
	add	rdx, 8
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -10064[rbp]
	mov	edx, DWORD PTR 1280[rax]
	mov	rax, QWORD PTR -10072[rbp]
	mov	rcx, QWORD PTR -10064[rbp]
	movsx	rdx, edx
	sal	rdx, 5
	add	rdx, rcx
	add	rdx, 16
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -10064[rbp]
	mov	eax, DWORD PTR 1280[rax]
	mov	rdx, QWORD PTR -10064[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	lea	rdx, 24[rax]
	mov	rax, QWORD PTR -10056[rbp]
	mov	QWORD PTR [rdx], rax
.L53:
	mov	rax, QWORD PTR -10064[rbp]
	mov	eax, DWORD PTR 1280[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -10064[rbp]
	mov	DWORD PTR 1280[rax], edx
	mov	rax, QWORD PTR -10064[rbp]
	mov	eax, DWORD PTR 1280[rax]
	test	eax, eax
	jne	.L54
	lea	rdi, .LC18[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -10064[rbp]
	mov	BYTE PTR 1304[rax], 1
.L52:
	mov	rax, QWORD PTR -10064[rbp]
	mov	edx, DWORD PTR 1280[rax]
	mov	rax, QWORD PTR -10048[rbp]
	mov	rcx, QWORD PTR -10064[rbp]
	movsx	rdx, edx
	sal	rdx, 5
	add	rdx, rcx
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -10064[rbp]
	mov	edx, DWORD PTR 1280[rax]
	mov	rax, QWORD PTR -10040[rbp]
	mov	rcx, QWORD PTR -10064[rbp]
	movsx	rdx, edx
	sal	rdx, 5
	add	rdx, rcx
	add	rdx, 8
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -10064[rbp]
	mov	edx, DWORD PTR 1280[rax]
	mov	rax, QWORD PTR -10072[rbp]
	mov	rcx, QWORD PTR -10064[rbp]
	movsx	rdx, edx
	sal	rdx, 5
	add	rdx, rcx
	add	rdx, 16
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -10064[rbp]
	mov	eax, DWORD PTR 1280[rax]
	mov	rdx, QWORD PTR -10064[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	lea	rdx, 24[rax]
	mov	rax, QWORD PTR -10056[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -10064[rbp]
	mov	eax, DWORD PTR 1280[rax]
	lea	ecx, 1[rax]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 4
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	sal	eax, 3
	sub	ecx, eax
	mov	edx, ecx
	mov	rax, QWORD PTR -10064[rbp]
	mov	DWORD PTR 1280[rax], edx
	mov	rax, QWORD PTR -10064[rbp]
	mov	DWORD PTR 1284[rax], 1
	mov	DWORD PTR -10088[rbp], 0
.L47:
	jmp	.L42
.L44:
	jmp	.L55
	.cfi_endproc
.LFE12:
	.size	ID_collect, .-ID_collect
	.section	.rodata
	.align 8
.LC19:
	.string	"deliver_id() socket failed: %s\r\n"
	.align 8
.LC20:
	.string	"deliver_id() setsockopt failed: %s\r\n"
	.align 8
.LC21:
	.string	"deliver_id() bind failed: %s\r\n"
	.align 8
.LC22:
	.string	"deliver_id() listen failed: %s\r\n"
	.align 8
.LC23:
	.string	"Waiting for incoming connections...\r"
	.align 8
.LC24:
	.string	"deliver_id() accept failed: %s\r\n"
.LC25:
	.string	"Connected to %s\r\n"
	.align 8
.LC26:
	.string	"deliver_id() send failed: %s\r\n"
.LC27:
	.string	"Connection dropped\r"
	.text
	.type	deliver_id, @function
deliver_id:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 256
	mov	QWORD PTR -248[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -228[rbp], 1
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -216[rbp], eax
	cmp	DWORD PTR -216[rbp], 0
	jns	.L59
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L58
.L59:
	lea	rdx, -228[rbp]
	mov	eax, DWORD PTR -216[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 2
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	mov	DWORD PTR -220[rbp], eax
	cmp	DWORD PTR -220[rbp], 0
	jns	.L61
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L58
.L61:
	mov	WORD PTR -144[rbp], 2
	mov	DWORD PTR -140[rbp], 0
	mov	edi, 58051
	call	htons@PLT
	mov	WORD PTR -142[rbp], ax
	lea	rcx, -144[rbp]
	mov	eax, DWORD PTR -216[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	mov	DWORD PTR -220[rbp], eax
	cmp	DWORD PTR -220[rbp], 0
	jns	.L62
	mov	eax, DWORD PTR -216[rbp]
	mov	edi, eax
	call	close@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L58
.L62:
	mov	eax, DWORD PTR -216[rbp]
	mov	esi, 1
	mov	edi, eax
	call	listen@PLT
	mov	DWORD PTR -220[rbp], eax
	cmp	DWORD PTR -220[rbp], 0
	jns	.L63
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L58
.L63:
	lea	rdi, .LC23[rip]
	call	puts@PLT
.L71:
	mov	DWORD PTR -224[rbp], 16
	lea	rdx, -224[rbp]
	lea	rcx, -160[rbp]
	mov	eax, DWORD PTR -216[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -212[rbp], eax
	cmp	DWORD PTR -212[rbp], 0
	jns	.L64
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L58
.L64:
	lea	rax, -128[rbp]
	lea	rdx, -160[rbp]
	lea	rsi, 4[rdx]
	mov	ecx, 16
	mov	rdx, rax
	mov	edi, 2
	call	inet_ntop@PLT
	lea	rax, -128[rbp]
	mov	rsi, rax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
.L70:
	lea	rdx, -208[rbp]
	mov	rax, QWORD PTR -248[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	calc_id
	lea	rax, -112[rbp]
	push	QWORD PTR -184[rbp]
	push	QWORD PTR -192[rbp]
	push	QWORD PTR -200[rbp]
	push	QWORD PTR -208[rbp]
	mov	esi, 100
	mov	rdi, rax
	call	make_id_str
	add	rsp, 32
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rsi, -112[rbp]
	mov	eax, DWORD PTR -212[rbp]
	mov	ecx, 16384
	mov	edi, eax
	call	send@PLT
	mov	DWORD PTR -220[rbp], eax
	cmp	DWORD PTR -220[rbp], 0
	jns	.L66
	mov	eax, DWORD PTR -212[rbp]
	mov	edi, eax
	call	close@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 104
	je	.L66
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 32
	je	.L66
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L67
.L66:
	lea	rsi, -112[rbp]
	mov	eax, DWORD PTR -212[rbp]
	mov	ecx, 0
	mov	edx, 100
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -220[rbp], eax
	jmp	.L68
.L69:
	lea	rsi, -112[rbp]
	mov	eax, DWORD PTR -212[rbp]
	mov	ecx, 64
	mov	edx, 100
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -220[rbp], eax
.L68:
	cmp	DWORD PTR -220[rbp], 0
	jg	.L69
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 11
	je	.L70
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 11
	je	.L70
.L67:
	lea	rdi, .LC27[rip]
	call	puts@PLT
	jmp	.L71
.L58:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L73
	call	__stack_chk_fail@PLT
.L73:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	deliver_id, .-deliver_id
	.globl	main
	.type	main, @function
main:
.LFB14:
	.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	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, 0
	call	context_create
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L75
	mov	eax, 2
	jmp	.L80
.L75:
	cmp	DWORD PTR -36[rbp], 1
	jle	.L77
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strdup@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 1288[rax], rdx
.L77:
	cmp	DWORD PTR -36[rbp], 2
	jle	.L78
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strdup@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 1296[rax], rdx
.L78:
	mov	rdx, QWORD PTR -16[rbp]
	lea	rax, -24[rbp]
	mov	rcx, rdx
	lea	rdx, ID_collect[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
.L79:
	mov	edi, 1
	call	sleep@PLT
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR 1304[rax]
	test	al, al
	je	.L79
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	deliver_id
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	context_destroy
	mov	eax, 0
.L80:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L81
	call	__stack_chk_fail@PLT
.L81:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1093567616
	.align 8
.LC1:
	.long	0
	.long	1075314688
	.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	"661659.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	context_destroy, %function
context_destroy:
	@ 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, [fp, #-8]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #968]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #968]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #968]
.L4:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #972]
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #972]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #972]
.L5:
	ldr	r0, [fp, #-8]
	bl	free
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L1
.L6:
	nop
.L1:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	context_destroy, .-context_destroy
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	context_create, %function
context_create:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r1, #984
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L8
	mov	r3, #0
	b	.L9
.L8:
	ldr	r3, [fp, #-8]
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	context_create, .-context_create
	.global	__aeabi_ldivmod
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.global	__aeabi_dcmpgt
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	calc_id, %function
calc_id:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #112
	str	r0, [fp, #-120]
	str	r1, [fp, #-124]
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	sub	r3, fp, #40
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r2, [fp, #-120]
	sub	r3, fp, #48
	add	r2, r2, #936
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	ldr	r3, [fp, #-120]
	add	r3, r3, #952
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-108]
	str	r3, [fp, #-104]
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	mov	r3, #39
	str	r3, [fp, #-112]
	b	.L11
.L15:
	ldr	r1, [fp, #-120]
	ldr	r2, [fp, #-112]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #16
	ldmia	r3, {r0-r1}
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L12
	ldr	r1, [fp, #-120]
	ldr	r2, [fp, #-112]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-108]
	str	r3, [fp, #-104]
.L12:
	ldr	r1, [fp, #-120]
	ldr	r2, [fp, #-112]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L13
	ldr	r1, [fp, #-120]
	ldr	r2, [fp, #-112]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	bne	.L14
	ldr	r1, [fp, #-120]
	ldr	r2, [fp, #-112]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	bge	.L14
.L13:
	ldr	r1, [fp, #-120]
	ldr	r2, [fp, #-112]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r2, r1, r3
	sub	r3, fp, #48
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
.L14:
	ldr	r1, [fp, #-120]
	ldr	r2, [fp, #-112]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	ldr	r3, [fp, #-84]
	sub	r3, r2, r3
	cmp	r3, #0
	rsblt	r3, r3, #0
	mov	r2, r3
	asr	r3, r2, #31
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	adds	r4, r0, r2
	adc	r5, r1, r3
	str	r4, [fp, #-100]
	str	r5, [fp, #-96]
	ldr	r1, [fp, #-120]
	ldr	r2, [fp, #-112]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #16
	ldmia	r3, {r0-r1}
	mvn	r2, #38
	mvn	r3, #0
	bl	__aeabi_ldivmod
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	adds	r6, r2, r0
	adc	r7, r3, r1
	str	r6, [fp, #-92]
	str	r7, [fp, #-88]
.L11:
	ldr	r3, [fp, #-112]
	sub	r2, r3, #1
	str	r2, [fp, #-112]
	cmp	r3, #0
	bne	.L15
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	mov	r2, #40
	mov	r3, #0
	bl	__aeabi_ldivmod
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-36]
	mov	r6, r3
	asr	r7, r6, #31
	ldr	r3, [fp, #-40]
	mov	r4, r3
	asr	r5, r4, #31
	mov	r2, r4
	mov	r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r2, r0
	mov	r3, r1
	subs	r2, r2, r4
	sbc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #9
	orr	r1, r1, r2, lsr #23
	lsl	r0, r2, #9
	mov	r2, r0
	mov	r3, r1
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #6
	orr	r1, r1, r2, lsr #26
	lsl	r0, r2, #6
	subs	r0, r0, r2
	sbc	r1, r1, r3
	adds	r3, r0, r4
	str	r3, [fp, #-132]
	adc	r3, r1, r5
	str	r3, [fp, #-128]
	sub	r4, fp, #132
	ldmia	r4, {r3-r4}
	mov	r2, r3
	adds	r8, r6, r2
	mov	r3, r4
	adc	r9, r7, r3
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	subs	r1, r8, r2
	str	r1, [fp, #-140]
	sbc	r3, r9, r3
	str	r3, [fp, #-136]
	sub	r4, fp, #140
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-76]
	str	r4, [fp, #-72]
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	ldr	r2, .L24+4
	mov	r3, #0
	bl	__aeabi_ldivmod
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-124]
	str	r2, [r3]
	ldr	r3, [fp, #-68]
	ldr	r2, .L24+8
	mul	r2, r3, r2
	ldr	r3, [fp, #-76]
	add	r2, r2, r3
	ldr	r3, [fp, #-124]
	str	r2, [r3, #4]
	ldr	r2, [fp, #-100]
	ldr	r3, [fp, #-124]
	str	r2, [r3, #12]
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-124]
	str	r2, [r3, #16]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	bge	.L16
	ldr	r3, [fp, #-36]
	add	r3, r3, #999424
	add	r3, r3, #576
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L16:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-48]
	sub	r3, r2, r3
	str	r3, [fp, #-40]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-44]
	sub	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-40]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-36]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L24+12
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r2, #0
	ldr	r3, .L24+16
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
	mov	r3, #83
	strb	r3, [fp, #-113]
	b	.L19
.L23:
	mov	r3, #79
	strb	r3, [fp, #-113]
.L19:
	ldr	r3, [fp, #-120]
	ldr	r3, [r3, #964]
	cmp	r3, #0
	bne	.L20
	mov	r3, #68
	strb	r3, [fp, #-113]
.L20:
	ldr	r3, [fp, #-124]
	ldrb	r2, [fp, #-113]
	strb	r2, [r3, #8]
	nop
	ldr	r3, .L24
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC0
	.word	100000
	.word	-100000
	.word	1093567616
	.word	1075314688
	.size	calc_id, .-calc_id
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%lu.%05lu %c %d %d\015\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	make_id_str, %function
make_id_str:
	@ args = 20, pretend = 8, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #8
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	add	r1, fp, #4
	stm	r1, {r2, r3}
	ldr	r0, [fp, #4]
	ldr	r3, [fp, #8]
	ldrb	r2, [fp, #12]	@ zero_extendqisi2
	mov	ip, r2
	ldr	r2, [fp, #16]
	ldr	r1, [fp, #20]
	str	r1, [sp, #12]
	str	r2, [sp, #8]
	str	ip, [sp, #4]
	str	r3, [sp]
	mov	r3, r0
	ldr	r2, .L28
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	snprintf
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #8
	bx	lr
.L29:
	.align	2
.L28:
	.word	.LC1
	.size	make_id_str, .-make_id_str
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Trying to connect to %s\015\012\000"
	.align	2
.LC3:
	.ascii	"ID_connect() socket failed: %s\015\012\000"
	.align	2
.LC4:
	.ascii	"ID_connect() setsockopt failed: %s\015\012\000"
	.align	2
.LC5:
	.ascii	"ID_connect() getaddrinfo failed: %s\015\012\000"
	.align	2
.LC6:
	.ascii	"ID_connect() connect failed: %s\015\012\000"
	.align	2
.LC7:
	.ascii	"Connection to %s successful\015\012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ID_connect_to, %function
ID_connect_to:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #52
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L41
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-44]
	ldr	r3, .L41+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-48]
	ldr	r1, .L41+8
	mov	r0, r3
	bl	fprintf
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bge	.L31
	ldr	r3, .L41+12
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L41+16
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L39
.L31:
	mov	r3, #2
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	sub	r3, fp, #24
	mov	r2, #8
	str	r2, [sp]
	mov	r2, #20
	mov	r1, #1
	ldr	r0, [fp, #-36]
	bl	setsockopt
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bge	.L33
	ldr	r3, .L41+12
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L41+20
	mov	r0, r4
	bl	fprintf
	ldr	r0, [fp, #-36]
	bl	close
	mvn	r3, #0
	b	.L39
.L33:
	sub	r3, fp, #44
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, [fp, #-36]
	bl	setsockopt
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bge	.L34
	ldr	r3, .L41+12
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L41+20
	mov	r0, r4
	bl	fprintf
.L34:
	sub	r3, fp, #40
	mov	r2, #0
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-48]
	bl	getaddrinfo
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L35
	ldr	r3, .L41+12
	ldr	r4, [r3]
	ldr	r0, [fp, #-32]
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L41+24
	mov	r0, r4
	bl	fprintf
	ldr	r0, [fp, #-36]
	bl	close
	mvn	r3, #0
	b	.L39
.L35:
	ldr	r3, [fp, #-40]
	ldr	r1, [r3, #20]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #16]
	mov	r2, r3
	ldr	r0, [fp, #-36]
	bl	connect
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-40]
	mov	r0, r3
	bl	freeaddrinfo
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bge	.L36
	ldr	r3, .L41+12
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L41+28
	mov	r0, r4
	bl	fprintf
	ldr	r0, [fp, #-36]
	bl	close
	mvn	r3, #0
	b	.L39
.L36:
	ldr	r3, .L41+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #24]
	cmp	r3, #0
	beq	.L37
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #24]
	b	.L38
.L37:
	ldr	r3, [fp, #-48]
.L38:
	mov	r2, r3
	ldr	r1, .L41+32
	bl	fprintf
	ldr	r3, [fp, #-36]
.L39:
	ldr	r2, .L41
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L40
	bl	__stack_chk_fail
.L40:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L42:
	.align	2
.L41:
	.word	.LC8
	.word	stdout
	.word	.LC2
	.word	stderr
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	ID_connect_to, .-ID_connect_to
	.section	.rodata
	.align	2
.LC9:
	.ascii	"hasfhvctrl.desy.de\000"
	.align	2
.LC10:
	.ascii	"58050\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ID_connect, %function
ID_connect:
	@ 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, [fp, #-8]
	ldr	r3, [r3, #968]
	cmp	r3, #0
	bne	.L44
	ldr	r0, .L47
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #968]
.L44:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #972]
	cmp	r3, #0
	bne	.L45
	ldr	r0, .L47+4
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #972]
.L45:
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #968]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #972]
	mov	r1, r3
	mov	r0, r2
	bl	ID_connect_to
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L48:
	.align	2
.L47:
	.word	.LC9
	.word	.LC10
	.size	ID_connect, .-ID_connect
	.section	.rodata
	.align	2
.LC11:
	.ascii	"ID_collect() giving up to reconnect\015\012\000"
	.align	2
.LC12:
	.ascii	"Connect failed, %d/20 retries left...\015\012\000"
	.align	2
.LC13:
	.ascii	"Next retry in %dsec\015\012\000"
	.align	2
.LC14:
	.ascii	"ID_collect() recv failed, %d bytes received, closin"
	.ascii	"g socket: %s\015\012\000"
	.align	2
.LC15:
	.ascii	"ID_collect() skipping invalid message\015\000"
	.align	2
.LC16:
	.ascii	"ID_collect() skipping unparsable message\015\000"
	.align	2
.LC17:
	.ascii	"%lx\000"
	.align	2
.LC18:
	.ascii	"Connected to EventID server and getting data\015\000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ID_collect, %function
ID_collect:
	@ args = 0, pretend = 0, frame = 10080
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #10048
	sub	sp, sp, #32
	sub	r3, fp, #8192
	sub	r3, r3, #28
	str	r0, [r3, #-1868]
	ldr	r3, .L66
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1868]
	str	r3, [r2, #-1848]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1860]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-1856]
.L63:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r4, r3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r0, [r3, #-1848]
	bl	ID_connect
	str	r0, [r4, #-1844]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1844]
	cmp	r3, #0
	bge	.L50
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1860]
	add	r3, r3, #1
	str	r3, [r2, #-1860]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1860]
	cmp	r3, #20
	ble	.L51
	ldr	r3, .L66+4
	ldr	r3, [r3]
	mov	r2, #37
	mov	r1, #1
	ldr	r0, .L66+8
	bl	fwrite
	mov	r0, #0
	bl	exit
.L51:
	ldr	r3, .L66+4
	ldr	r3, [r3]
	sub	r2, fp, #8192
	sub	r2, r2, #28
	ldr	r2, [r2, #-1860]
	ldr	r1, .L66+12
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L66+4
	ldr	r0, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1860]
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r1, .L66+16
	bl	fprintf
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1860]
	lsl	r3, r3, #1
	mov	r0, r3
	bl	sleep
	b	.L52
.L50:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r4, r3
	sub	r1, fp, #9984
	sub	r1, r1, #28
	sub	r1, r1, #20
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r0, r3
	mov	r3, #0
	ldr	r2, .L66+20
	ldr	r0, [r0, #-1844]
	bl	recv
	str	r0, [r4, #-1852]
	sub	r3, fp, #9984
	sub	r3, r3, #28
	sub	r3, r3, #40
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1852]
	cmp	r3, #0
	bgt	.L53
	ldr	r3, .L66+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	sub	r2, fp, #8192
	sub	r2, r2, #28
	ldr	r2, [r2, #-1852]
	ldr	r1, .L66+24
	mov	r0, r4
	bl	fprintf
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r0, [r3, #-1844]
	bl	close
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1848]
	mov	r2, #0
	str	r2, [r3, #964]
	b	.L52
.L53:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1852]
	ldr	r2, .L66+20
	cmp	r3, r2
	bne	.L56
	ldr	r0, .L66+28
	bl	puts
	b	.L55
.L58:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1852]
	add	r3, r2, r3
	sub	r3, r3, #1808
	sub	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L65
.L56:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1852]
	sub	r3, r3, #1
	str	r3, [r2, #-1852]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1852]
	cmp	r3, #0
	bgt	.L58
	b	.L57
.L65:
	nop
.L57:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1852]
	cmp	r3, #0
	bgt	.L59
	ldr	r0, .L66+32
	bl	puts
	b	.L55
.L59:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r2, [r3, #-1852]
	sub	r3, fp, #9984
	sub	r3, r3, #28
	sub	r3, r3, #20
	add	r0, r3, r2
	sub	r3, fp, #10048
	sub	r3, r3, #28
	sub	r3, r3, #8
	mov	r2, r3
	ldr	r1, .L66+36
	bl	__isoc99_sscanf
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1828]
	mov	r1, r3
	asr	r2, r1, #31
	sub	r3, fp, #10048
	sub	r3, r3, #60
	stm	r3, {r1-r2}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1832]
	mov	r4, r3
	asr	r5, r4, #31
	mov	r2, r4
	mov	r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r2, r0
	mov	r3, r1
	subs	r2, r2, r4
	sbc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #9
	orr	r1, r1, r2, lsr #23
	lsl	r0, r2, #9
	mov	r2, r0
	mov	r3, r1
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #6
	orr	r1, r1, r2, lsr #26
	lsl	r0, r2, #6
	subs	r0, r0, r2
	sbc	r1, r1, r3
	adds	r6, r0, r4
	adc	r7, r1, r5
	sub	r3, fp, #10048
	sub	r3, r3, #60
	ldmia	r3, {r1-r2}
	mov	r3, r1
	adds	r8, r3, r6
	mov	r3, r2
	adc	r9, r3, r7
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1864]
	mov	r0, r3
	mov	r1, #0
	ldr	r3, .L66+40
	mul	r2, r3, r1
	mov	r3, #0
	mul	r3, r0, r3
	add	ip, r2, r3
	ldr	lr, .L66+40
	umull	r2, r3, r0, lr
	add	r1, ip, r3
	mov	r3, r1
	subs	r1, r8, r2
	sub	r0, fp, #10048
	sub	r0, r0, #52
	str	r1, [r0]
	sbc	r3, r9, r3
	sub	r2, fp, #10048
	sub	r2, r2, #48
	str	r3, [r2]
	sub	r3, fp, #9984
	sub	r3, r3, #28
	sub	r3, r3, #48
	sub	r2, fp, #10048
	sub	r2, r2, #52
	ldmia	r2, {r1-r2}
	stm	r3, {r1-r2}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1856]
	cmp	r3, #0
	beq	.L60
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1856]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1848]
	mov	r2, #40
	str	r2, [r3, #960]
	b	.L61
.L62:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1848]
	ldr	r2, [r3, #960]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r1, [r3, #-1832]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r0, [r3, #-1848]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	str	r1, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1848]
	ldr	r2, [r3, #960]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r1, [r3, #-1828]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r0, [r3, #-1848]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	add	r3, r3, #4
	str	r1, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1848]
	ldr	r2, [r3, #960]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r1, [r3, #-1864]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r0, [r3, #-1848]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	add	r3, r3, #8
	str	r1, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1848]
	ldr	r2, [r3, #960]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r1, [r3, #-1848]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r1, r3, #16
	sub	r3, fp, #9984
	sub	r3, r3, #28
	sub	r3, r3, #48
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
.L61:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1848]
	ldr	r3, [r3, #960]
	sub	r2, r3, #1
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1848]
	str	r2, [r3, #960]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1848]
	ldr	r3, [r3, #960]
	cmp	r3, #0
	bne	.L62
	ldr	r0, .L66+44
	bl	puts
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1848]
	mov	r2, #1
	strb	r2, [r3, #976]
.L60:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1848]
	ldr	r2, [r3, #960]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r1, [r3, #-1832]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r0, [r3, #-1848]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	str	r1, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1848]
	ldr	r2, [r3, #960]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r1, [r3, #-1828]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r0, [r3, #-1848]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	add	r3, r3, #4
	str	r1, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1848]
	ldr	r2, [r3, #960]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r1, [r3, #-1864]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r0, [r3, #-1848]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	add	r3, r3, #8
	str	r1, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1848]
	ldr	r2, [r3, #960]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r1, [r3, #-1848]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r1, r3, #16
	sub	r3, fp, #9984
	sub	r3, r3, #28
	sub	r3, r3, #48
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1848]
	ldr	r3, [r3, #960]
	add	r1, r3, #1
	ldr	r3, .L66+48
	smull	r2, r3, r1, r3
	asr	r2, r3, #4
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1848]
	str	r2, [r3, #960]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-1848]
	mov	r2, #1
	str	r2, [r3, #964]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1860]
.L55:
	b	.L50
.L52:
	b	.L63
.L67:
	.align	2
.L66:
	.word	.LC19
	.word	stderr
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	10000
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	100000
	.word	.LC18
	.word	1717986919
	.size	ID_collect, .-ID_collect
	.section	.rodata
	.align	2
.LC20:
	.ascii	"deliver_id() socket failed: %s\015\012\000"
	.align	2
.LC21:
	.ascii	"deliver_id() setsockopt failed: %s\015\012\000"
	.align	2
.LC22:
	.ascii	"deliver_id() bind failed: %s\015\012\000"
	.align	2
.LC23:
	.ascii	"deliver_id() listen failed: %s\015\012\000"
	.align	2
.LC24:
	.ascii	"Waiting for incoming connections...\015\000"
	.align	2
.LC25:
	.ascii	"deliver_id() accept failed: %s\015\012\000"
	.align	2
.LC26:
	.ascii	"Connected to %s\015\012\000"
	.align	2
.LC27:
	.ascii	"deliver_id() send failed: %s\015\012\000"
	.align	2
.LC28:
	.ascii	"Connection dropped\015\000"
	.align	2
.LC29:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	deliver_id, %function
deliver_id:
	@ args = 0, pretend = 0, frame = 216
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #236
	str	r0, [fp, #-224]
	ldr	r3, .L84
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-216]
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-204]
	ldr	r3, [fp, #-204]
	cmp	r3, #0
	bge	.L69
	ldr	r3, .L84+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L84+8
	mov	r0, r4
	bl	fprintf
	b	.L68
.L69:
	sub	r3, fp, #216
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, [fp, #-204]
	bl	setsockopt
	str	r0, [fp, #-208]
	ldr	r3, [fp, #-208]
	cmp	r3, #0
	bge	.L71
	ldr	r3, .L84+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L84+12
	mov	r0, r4
	bl	fprintf
	b	.L68
.L71:
	mov	r3, #2
	strh	r3, [fp, #-148]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-144]
	ldr	r0, .L84+16
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-146]	@ movhi
	sub	r3, fp, #148
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-204]
	bl	bind
	str	r0, [fp, #-208]
	ldr	r3, [fp, #-208]
	cmp	r3, #0
	bge	.L72
	ldr	r0, [fp, #-204]
	bl	close
	ldr	r3, .L84+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L84+20
	mov	r0, r4
	bl	fprintf
	b	.L68
.L72:
	mov	r1, #1
	ldr	r0, [fp, #-204]
	bl	listen
	str	r0, [fp, #-208]
	ldr	r3, [fp, #-208]
	cmp	r3, #0
	bge	.L73
	ldr	r3, .L84+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L84+24
	mov	r0, r4
	bl	fprintf
	b	.L68
.L73:
	ldr	r0, .L84+28
	bl	puts
.L81:
	mov	r3, #16
	str	r3, [fp, #-212]
	sub	r2, fp, #212
	sub	r3, fp, #164
	mov	r1, r3
	ldr	r0, [fp, #-204]
	bl	accept
	str	r0, [fp, #-200]
	ldr	r3, [fp, #-200]
	cmp	r3, #0
	bge	.L74
	ldr	r3, .L84+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L84+32
	mov	r0, r4
	bl	fprintf
	b	.L68
.L74:
	sub	r2, fp, #132
	sub	r3, fp, #164
	add	r1, r3, #4
	mov	r3, #16
	mov	r0, #2
	bl	inet_ntop
	sub	r3, fp, #132
	mov	r1, r3
	ldr	r0, .L84+36
	bl	printf
.L80:
	sub	r3, fp, #196
	mov	r1, r3
	ldr	r0, [fp, #-224]
	bl	calc_id
	sub	lr, fp, #116
	mov	ip, sp
	sub	r3, fp, #188
	ldm	r3, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	sub	r3, fp, #196
	ldm	r3, {r2, r3}
	mov	r1, #100
	mov	r0, lr
	bl	make_id_str
	sub	r3, fp, #116
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r1, fp, #116
	mov	r3, #16384
	ldr	r0, [fp, #-200]
	bl	send
	str	r0, [fp, #-208]
	ldr	r3, [fp, #-208]
	cmp	r3, #0
	bge	.L76
	ldr	r0, [fp, #-200]
	bl	close
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #104
	beq	.L76
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #32
	beq	.L76
	ldr	r3, .L84+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L84+40
	mov	r0, r4
	bl	fprintf
	b	.L77
.L76:
	sub	r1, fp, #116
	mov	r3, #0
	mov	r2, #100
	ldr	r0, [fp, #-200]
	bl	recv
	str	r0, [fp, #-208]
	b	.L78
.L79:
	sub	r1, fp, #116
	mov	r3, #64
	mov	r2, #100
	ldr	r0, [fp, #-200]
	bl	recv
	str	r0, [fp, #-208]
.L78:
	ldr	r3, [fp, #-208]
	cmp	r3, #0
	bgt	.L79
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #11
	beq	.L80
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #11
	beq	.L80
.L77:
	ldr	r0, .L84+44
	bl	puts
	b	.L81
.L68:
	ldr	r3, .L84
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L83
	bl	__stack_chk_fail
.L83:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L85:
	.align	2
.L84:
	.word	.LC29
	.word	stderr
	.word	.LC20
	.word	.LC21
	.word	58051
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.size	deliver_id, .-deliver_id
	.section	.rodata
	.align	2
.LC30:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L94
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	context_create
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L87
	mov	r3, #2
	b	.L92
.L87:
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	ble	.L89
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-12]
	str	r2, [r3, #968]
.L89:
	ldr	r3, [fp, #-24]
	cmp	r3, #2
	ble	.L90
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-12]
	str	r2, [r3, #972]
.L90:
	sub	r0, fp, #16
	ldr	r3, [fp, #-12]
	ldr	r2, .L94+4
	mov	r1, #0
	bl	pthread_create
.L91:
	mov	r0, #1
	bl	sleep
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3, #976]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L91
	ldr	r0, [fp, #-12]
	bl	deliver_id
	ldr	r0, [fp, #-12]
	bl	context_destroy
	mov	r3, #0
.L92:
	ldr	r2, .L94
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L93
	bl	__stack_chk_fail
.L93:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L95:
	.align	2
.L94:
	.word	.LC30
	.word	ID_collect
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
