	.file	"737805.c"
	.intel_syntax noprefix
	.text
	.local	outbuf
	.comm	outbuf,8,8
	.local	outbufsize
	.comm	outbufsize,8,8
	.local	sss
	.comm	sss,128,32
	.local	sssln
	.comm	sssln,4,4
	.data
	.align 4
	.type	concurrency, @object
	.size	concurrency, 4
concurrency:
	.long	1
	.align 4
	.type	num_threads, @object
	.size	num_threads, 4
num_threads:
	.long	1
	.section	.rodata
.LC0:
	.string	""
	.section	.data.rel.local,"aw"
	.align 8
	.type	udaddr, @object
	.size	udaddr, 8
udaddr:
	.quad	.LC0
	.local	num_requests
	.comm	num_requests,8,8
	.local	max_requests
	.comm	max_requests,8,8
	.local	good_requests
	.comm	good_requests,8,8
	.local	bad_requests
	.comm	bad_requests,8,8
	.local	socket_errors
	.comm	socket_errors,8,8
	.local	in_bytes
	.comm	in_bytes,8,8
	.local	out_bytes
	.comm	out_bytes,8,8
	.local	ticks
	.comm	ticks,8,8
	.local	debug
	.comm	debug,4,4
	.local	exit_i
	.comm	exit_i,4,4
	.local	tv
	.comm	tv,16,16
	.local	tve
	.comm	tve,16,16
	.section	.rodata
	.align 8
	.type	short_options, @object
	.size	short_options, 14
short_options:
	.string	"n:c:t:u:h:d46"
.LC1:
	.string	"number"
.LC2:
	.string	"concurrency"
.LC3:
	.string	"threads"
.LC4:
	.string	"udaddr"
.LC5:
	.string	"host"
.LC6:
	.string	"debug"
.LC7:
	.string	"help"
	.section	.data.rel.ro.local,"aw"
	.align 32
	.type	long_options, @object
	.size	long_options, 256
long_options:
	.quad	.LC1
	.long	1
	.zero	4
	.quad	0
	.long	110
	.zero	4
	.quad	.LC2
	.long	1
	.zero	4
	.quad	0
	.long	99
	.zero	4
	.quad	.LC3
	.long	0
	.zero	4
	.quad	0
	.long	116
	.zero	4
	.quad	.LC4
	.long	1
	.zero	4
	.quad	0
	.long	117
	.zero	4
	.quad	.LC5
	.long	1
	.zero	4
	.quad	0
	.long	104
	.zero	4
	.quad	.LC6
	.long	0
	.zero	4
	.quad	0
	.long	100
	.zero	4
	.quad	.LC7
	.long	0
	.zero	4
	.quad	0
	.long	37
	.zero	4
	.quad	0
	.long	0
	.zero	4
	.quad	0
	.long	0
	.zero	4
	.text
	.type	sigint_handler, @function
sigint_handler:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	rax, QWORD PTR num_requests[rip]
	mov	QWORD PTR max_requests[rip], rax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	sigint_handler, .-sigint_handler
	.section	.rodata
.LC8:
	.string	"gettimeofday"
	.text
	.type	start_time, @function
start_time:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	esi, 0
	lea	rdi, tv[rip]
	call	gettimeofday@PLT
	test	eax, eax
	je	.L4
	lea	rdi, .LC8[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	start_time, .-start_time
	.type	end_time, @function
end_time:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	esi, 0
	lea	rdi, tve[rip]
	call	gettimeofday@PLT
	test	eax, eax
	je	.L7
	lea	rdi, .LC8[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L7:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	end_time, .-end_time
	.section	.rodata
.LC9:
	.string	"socket() failed"
.LC10:
	.string	"connect() failed"
.LC11:
	.string	"epoll_ctl"
	.text
	.type	init_conn, @function
init_conn:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	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
	movzx	eax, WORD PTR sss[rip]
	movzx	eax, ax
	mov	edx, 0
	mov	esi, 1
	mov	edi, eax
	call	socket@PLT
	mov	rdx, QWORD PTR -48[rbp]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR 16[rax], 0
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, -1
	jne	.L9
	lea	rdi, .LC9[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L9:
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edx, 2048
	mov	esi, 4
	mov	edi, eax
	mov	eax, 0
	call	fcntl@PLT
.L11:
	mov	edx, DWORD PTR sssln[rip]
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	lea	rsi, sss[rip]
	mov	edi, eax
	call	connect@PLT
	mov	DWORD PTR -24[rbp], eax
	cmp	DWORD PTR -24[rbp], 0
	je	.L10
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 11
	je	.L11
.L10:
	cmp	DWORD PTR -24[rbp], 0
	je	.L12
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 115
	je	.L12
	lea	rdi, .LC10[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L12:
	mov	DWORD PTR -20[rbp], 4
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR [rax]
	lea	rcx, -20[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, 1
	mov	edi, eax
	call	epoll_ctl@PLT
	test	eax, eax
	je	.L15
	lea	rdi, .LC11[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L15:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	init_conn, .-init_conn
	.section	.rodata
.LC12:
	.string	"epoll"
.LC13:
	.string	"epoll_wait"
.LC14:
	.string	"fatal: NULL econn\n"
.LC15:
	.string	"error = %s\n"
	.align 8
.LC16:
	.string	"EPOLLERR caused by unknown error\n"
.LC17:
	.string	"EPOLLHUP\n"
.LC18:
	.string	"send"
.LC19:
	.string	"recv"
.LC20:
	.string	"%d requests\n"
	.text
	.type	worker, @function
worker:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 96
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	QWORD PTR -4200[rbp], rdi
	mov	rsi, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rsi
	xor	esi, esi
	mov	rsi, rsp
	mov	r12, rsi
	mov	esi, DWORD PTR concurrency[rip]
	movsx	rdi, esi
	sub	rdi, 1
	mov	QWORD PTR -4152[rbp], rdi
	movsx	rdi, esi
	mov	rax, rdi
	mov	edx, 0
	imul	r8, rdx, 192
	imul	rdi, rax, 0
	add	rdi, r8
	mov	r8d, 192
	mul	r8
	add	rdi, rdx
	mov	rdx, rdi
	movsx	rdx, esi
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	movsx	rax, esi
	mov	rcx, rax
	mov	ebx, 0
	imul	rdx, rbx, 192
	imul	rax, rcx, 0
	lea	rdi, [rdx+rax]
	mov	eax, 192
	mul	rcx
	lea	rcx, [rdi+rdx]
	mov	rdx, rcx
	movsx	rdx, esi
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L17:
	cmp	rsp, rdx
	je	.L18
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L17
.L18:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L19
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L19:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -4144[rbp], rax
	mov	eax, DWORD PTR concurrency[rip]
	mov	edi, eax
	call	epoll_create@PLT
	mov	DWORD PTR -4168[rbp], eax
	cmp	DWORD PTR -4168[rbp], -1
	jne	.L20
	lea	rdi, .LC12[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L20:
	mov	DWORD PTR -4172[rbp], 0
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -4172[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -4144[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4168[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	init_conn
	add	DWORD PTR -4172[rbp], 1
.L21:
	mov	eax, DWORD PTR concurrency[rip]
	cmp	DWORD PTR -4172[rbp], eax
	jl	.L22
.L24:
	lea	rsi, -4128[rbp]
	mov	eax, DWORD PTR -4168[rbp]
	mov	ecx, -1
	mov	edx, 256
	mov	edi, eax
	call	epoll_wait@PLT
	mov	DWORD PTR -4164[rbp], eax
	mov	eax, DWORD PTR exit_i[rip]
	test	eax, eax
	jne	.L23
	cmp	DWORD PTR -4164[rbp], 0
	jns	.L23
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	je	.L24
.L23:
	mov	eax, DWORD PTR exit_i[rip]
	test	eax, eax
	je	.L25
	mov	edi, 0
	call	exit@PLT
.L25:
	cmp	DWORD PTR -4164[rbp], -1
	jne	.L26
	lea	rdi, .LC13[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L26:
	mov	DWORD PTR -4176[rbp], 0
	jmp	.L27
.L52:
	mov	eax, DWORD PTR -4176[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	lea	rax, -16[rax]
	add	rax, rbp
	sub	rax, 4112
	mov	rax, QWORD PTR 4[rax]
	mov	QWORD PTR -4136[rbp], rax
	cmp	QWORD PTR -4136[rbp], 0
	jne	.L28
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 18
	mov	esi, 1
	lea	rdi, .LC14[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L28:
	mov	eax, DWORD PTR -4176[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	lea	rax, -16[rax]
	add	rax, rbp
	sub	rax, 4112
	mov	eax, DWORD PTR [rax]
	and	eax, 8
	test	eax, eax
	je	.L29
	mov	DWORD PTR -4184[rbp], 0
	mov	DWORD PTR -4180[rbp], 4
	mov	eax, DWORD PTR number_of_errors_logged.0[rip]
	add	eax, 1
	mov	DWORD PTR number_of_errors_logged.0[rip], eax
	lea	rcx, -4180[rbp]
	lea	rdx, -4184[rbp]
	mov	eax, DWORD PTR -4168[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	mov	edx, 4
	mov	esi, 1
	mov	edi, eax
	call	getsockopt@PLT
	test	eax, eax
	jne	.L30
	mov	eax, DWORD PTR -4184[rbp]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L30:
	mov	edx, DWORD PTR number_of_errors_logged.0[rip]
	mov	eax, edx
	imul	rax, rax, 1374389535
	shr	rax, 32
	shr	eax, 5
	imul	ecx, eax, 100
	mov	eax, edx
	sub	eax, ecx
	test	eax, eax
	jne	.L31
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 33
	mov	esi, 1
	lea	rdi, .LC16[rip]
	call	fwrite@PLT
.L31:
	lock add	QWORD PTR socket_errors[rip], 1
	mov	rax, QWORD PTR -4136[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	close@PLT
	mov	rdx, QWORD PTR num_requests[rip]
	mov	rax, QWORD PTR max_requests[rip]
	cmp	rdx, rax
	ja	.L56
	mov	rdx, QWORD PTR -4136[rbp]
	mov	eax, DWORD PTR -4168[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	init_conn
	jmp	.L34
.L29:
	mov	eax, DWORD PTR -4176[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	lea	rax, -16[rax]
	add	rax, rbp
	sub	rax, 4112
	mov	eax, DWORD PTR [rax]
	and	eax, 16
	test	eax, eax
	je	.L35
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 9
	mov	esi, 1
	lea	rdi, .LC17[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L35:
	mov	eax, DWORD PTR -4176[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	lea	rax, -16[rax]
	add	rax, rbp
	sub	rax, 4112
	mov	eax, DWORD PTR [rax]
	and	eax, 4
	test	eax, eax
	je	.L36
	mov	rdx, QWORD PTR outbufsize[rip]
	mov	rax, QWORD PTR -4136[rbp]
	mov	rax, QWORD PTR 8[rax]
	sub	rdx, rax
	mov	rcx, QWORD PTR outbuf[rip]
	mov	rax, QWORD PTR -4136[rbp]
	mov	rax, QWORD PTR 8[rax]
	lea	rsi, [rcx+rax]
	mov	rax, QWORD PTR -4136[rbp]
	mov	eax, DWORD PTR [rax]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	mov	DWORD PTR -4160[rbp], eax
	cmp	DWORD PTR -4160[rbp], -1
	jne	.L37
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 11
	je	.L37
	lea	rdi, .LC18[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L37:
	cmp	DWORD PTR -4160[rbp], 0
	jle	.L34
	mov	eax, DWORD PTR debug[rip]
	and	eax, 1
	test	eax, eax
	je	.L38
	mov	rdx, QWORD PTR outbufsize[rip]
	mov	rax, QWORD PTR -4136[rbp]
	mov	rax, QWORD PTR 8[rax]
	sub	rdx, rax
	mov	rcx, QWORD PTR outbuf[rip]
	mov	rax, QWORD PTR -4136[rbp]
	mov	rax, QWORD PTR 8[rax]
	add	rax, rcx
	mov	rsi, rax
	mov	edi, 2
	call	write@PLT
.L38:
	mov	rax, QWORD PTR -4136[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -4160[rbp]
	cdqe
	add	rdx, rax
	mov	rax, QWORD PTR -4136[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -4136[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR outbufsize[rip]
	cmp	rdx, rax
	jne	.L34
	mov	eax, DWORD PTR -4176[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	lea	rax, -16[rax]
	add	rax, rbp
	sub	rax, 4112
	mov	DWORD PTR [rax], 1
	mov	eax, DWORD PTR -4176[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	lea	rax, -16[rax]
	add	rax, rbp
	lea	rdx, -4112[rax]
	mov	rax, QWORD PTR -4136[rbp]
	mov	QWORD PTR 4[rdx], rax
	mov	rax, QWORD PTR -4136[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	eax, DWORD PTR -4176[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, -4128[rbp]
	lea	rcx, [rax+rdx]
	mov	rax, QWORD PTR -4136[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -4168[rbp]
	mov	esi, 3
	mov	edi, eax
	call	epoll_ctl@PLT
	test	eax, eax
	je	.L34
	lea	rdi, .LC11[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L36:
	mov	eax, DWORD PTR -4176[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	lea	rax, -16[rax]
	add	rax, rbp
	sub	rax, 4112
	mov	eax, DWORD PTR [rax]
	and	eax, 1
	test	eax, eax
	je	.L34
.L45:
	mov	rax, QWORD PTR -4136[rbp]
	mov	eax, DWORD PTR [rax]
	lea	rsi, -1056[rbp]
	mov	ecx, 0
	mov	edx, 1024
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -4160[rbp], eax
	cmp	DWORD PTR -4160[rbp], -1
	jne	.L39
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 11
	je	.L39
	lea	rdi, .LC19[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L39:
	cmp	DWORD PTR -4160[rbp], 0
	jle	.L57
	mov	rax, QWORD PTR -4136[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	rax, 9
	ja	.L42
	mov	rax, QWORD PTR -4136[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -4160[rbp]
	cdqe
	add	rax, rdx
	cmp	rax, 10
	jbe	.L42
	mov	rax, QWORD PTR -4136[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, 9
	sub	rax, rdx
	movzx	eax, BYTE PTR -1056[rbp+rax]
	mov	BYTE PTR -4185[rbp], al
	cmp	BYTE PTR -4185[rbp], 52
	je	.L43
	cmp	BYTE PTR -4185[rbp], 53
	jne	.L42
.L43:
	mov	rax, QWORD PTR -4136[rbp]
	mov	eax, DWORD PTR 16[rax]
	or	eax, 1
	mov	edx, eax
	mov	rax, QWORD PTR -4136[rbp]
	mov	DWORD PTR 16[rax], edx
.L42:
	mov	eax, DWORD PTR debug[rip]
	and	eax, 2
	test	eax, eax
	je	.L44
	mov	eax, DWORD PTR -4160[rbp]
	movsx	rdx, eax
	lea	rax, -1056[rbp]
	mov	rsi, rax
	mov	edi, 2
	call	write@PLT
.L44:
	mov	rax, QWORD PTR -4136[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -4160[rbp]
	cdqe
	add	rdx, rax
	mov	rax, QWORD PTR -4136[rbp]
	mov	QWORD PTR 8[rax], rdx
	jmp	.L45
.L57:
	nop
	cmp	DWORD PTR -4160[rbp], 0
	jne	.L34
	mov	rax, QWORD PTR -4136[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	close@PLT
	mov	eax, 1
	lock xadd	QWORD PTR num_requests[rip], rax
	mov	DWORD PTR -4156[rbp], eax
	mov	rax, QWORD PTR max_requests[rip]
	test	rax, rax
	je	.L46
	mov	rax, QWORD PTR max_requests[rip]
	cmp	DWORD PTR -4156[rbp], eax
	jl	.L46
	lock sub	QWORD PTR num_requests[rip], 1
	jmp	.L47
.L46:
	mov	rax, QWORD PTR -4136[rbp]
	mov	eax, DWORD PTR 16[rax]
	and	eax, 1
	test	eax, eax
	je	.L48
	lock add	QWORD PTR bad_requests[rip], 1
	jmp	.L47
.L48:
	lock add	QWORD PTR good_requests[rip], 1
.L47:
	mov	rax, QWORD PTR max_requests[rip]
	test	rax, rax
	je	.L49
	mov	eax, DWORD PTR -4156[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR max_requests[rip]
	cmp	edx, eax
	jl	.L49
	mov	eax, 0
	call	end_time
	mov	eax, 0
	mov	rsp, r12
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L53
	jmp	.L55
.L49:
	mov	rax, QWORD PTR ticks[rip]
	test	rax, rax
	je	.L51
	mov	eax, DWORD PTR -4156[rbp]
	cdqe
	mov	rcx, QWORD PTR ticks[rip]
	mov	edx, 0
	div	rcx
	mov	rax, rdx
	test	rax, rax
	jne	.L51
	mov	eax, DWORD PTR -4156[rbp]
	mov	esi, eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
.L51:
	mov	rdx, QWORD PTR -4136[rbp]
	mov	eax, DWORD PTR -4168[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	init_conn
	jmp	.L34
.L56:
	nop
.L34:
	add	DWORD PTR -4176[rbp], 1
.L27:
	mov	eax, DWORD PTR -4176[rbp]
	cmp	eax, DWORD PTR -4164[rbp]
	jl	.L52
	jmp	.L24
.L55:
	call	__stack_chk_fail@PLT
.L53:
	lea	rsp, -16[rbp]
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	worker, .-worker
	.type	signal_exit, @function
signal_exit:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR exit_i[rip]
	add	eax, 1
	mov	DWORD PTR exit_i[rip], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	signal_exit, .-signal_exit
	.section	.rodata
	.align 8
.LC21:
	.ascii	"Usage: htstress [options] [http://]hostname[:port]/path\nOpt"
	.ascii	"ions:\n   -n, --number       total number of requests (0 for"
	.ascii	" inifinite, Ctrl-C to abort)\n   -c, --concurrency  number o"
	.ascii	"f concurrent connections\n   -t,"
	.string	" --threads      number of threads (set this to the number of CPU cores)\n   -u, --udaddr       path to unix domain socket\n   -h, --host         host to use for http request\n   -d, --debug        debug HTTP response\n   --help             display this message"
	.text
	.type	print_usage, @function
print_usage:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC21[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE12:
	.size	print_usage, .-print_usage
	.section	.rodata
.LC22:
	.string	"http"
.LC23:
	.string	"signal(SIGINT, handler)"
.LC24:
	.string	"signal(SIGTERM, handler)"
.LC25:
	.string	"Unexpected argument: '%c'\n"
.LC26:
	.string	"Missing URL"
.LC27:
	.string	"http://"
.LC28:
	.string	":/"
.LC29:
	.string	"/"
.LC30:
	.string	"node = strndup(s, rq - s)"
.LC31:
	.string	"port = strndup(rq, rq - port)"
.LC32:
	.string	"getaddrinfo: %s\n"
.LC33:
	.string	"getaddrinfo failed\n"
	.align 8
.LC34:
	.string	"invalid family %d from getaddrinfo\n"
.LC35:
	.string	"GET %s HTTP/1.0\r\nHost: %s\r\n\r\n"
.LC36:
	.string	"[Press Ctrl-C to finish]"
	.align 8
.LC39:
	.string	"\nrequests:      %lu\ngood requests: %lu [%d%%]\nbad requests:  %lu [%d%%]\nsocker errors: %lu [%d%%]\nseconds:       %.3f\nrequests/sec:  %.3f\n\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB13:
	.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, 216
	.cfi_offset 3, -24
	mov	DWORD PTR -212[rbp], edi
	mov	QWORD PTR -224[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -168[rbp], 0
	mov	QWORD PTR -160[rbp], 0
	lea	rax, .LC22[rip]
	mov	QWORD PTR -152[rbp], rax
	lea	rax, sss[rip]
	mov	QWORD PTR -120[rbp], rax
	lea	rax, sss[rip]
	mov	QWORD PTR -112[rbp], rax
	lea	rax, sss[rip]
	mov	QWORD PTR -104[rbp], rax
	lea	rsi, signal_exit[rip]
	mov	edi, 2
	call	signal@PLT
	mov	QWORD PTR -96[rbp], rax
	cmp	QWORD PTR -96[rbp], -1
	jne	.L61
	lea	rdi, .LC23[rip]
	call	perror@PLT
	mov	edi, 0
	call	exit@PLT
.L61:
	lea	rsi, signal_exit[rip]
	mov	edi, 15
	call	signal@PLT
	mov	QWORD PTR -96[rbp], rax
	cmp	QWORD PTR -96[rbp], -1
	jne	.L62
	lea	rdi, .LC24[rip]
	call	perror@PLT
	mov	edi, 0
	call	exit@PLT
.L62:
	lea	rax, -80[rbp]
	mov	edx, 48
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -76[rbp], 0
	mov	DWORD PTR -72[rbp], 1
	mov	DWORD PTR -80[rbp], 40
	mov	edx, 128
	mov	esi, 0
	lea	rdi, sss[rip]
	call	memset@PLT
	cmp	DWORD PTR -212[rbp], 1
	jne	.L79
	mov	eax, 0
	call	print_usage
.L79:
	mov	rsi, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -212[rbp]
	mov	r8d, 0
	lea	rcx, long_options[rip]
	lea	rdx, short_options[rip]
	mov	edi, eax
	call	getopt_long@PLT
	mov	DWORD PTR -196[rbp], eax
	cmp	DWORD PTR -196[rbp], 117
	jg	.L64
	cmp	DWORD PTR -196[rbp], 99
	jge	.L65
	cmp	DWORD PTR -196[rbp], 54
	je	.L66
	cmp	DWORD PTR -196[rbp], 54
	jg	.L64
	cmp	DWORD PTR -196[rbp], 52
	je	.L67
	cmp	DWORD PTR -196[rbp], 52
	jg	.L64
	cmp	DWORD PTR -196[rbp], -1
	je	.L122
	cmp	DWORD PTR -196[rbp], 37
	je	.L69
	jmp	.L64
.L65:
	mov	eax, DWORD PTR -196[rbp]
	sub	eax, 99
	cmp	eax, 18
	ja	.L64
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L71[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L71[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L71:
	.long	.L76-.L71
	.long	.L75-.L71
	.long	.L64-.L71
	.long	.L64-.L71
	.long	.L64-.L71
	.long	.L74-.L71
	.long	.L64-.L71
	.long	.L64-.L71
	.long	.L64-.L71
	.long	.L64-.L71
	.long	.L64-.L71
	.long	.L73-.L71
	.long	.L64-.L71
	.long	.L64-.L71
	.long	.L64-.L71
	.long	.L64-.L71
	.long	.L64-.L71
	.long	.L72-.L71
	.long	.L70-.L71
	.text
.L73:
	mov	rax, QWORD PTR optarg[rip]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtoull@PLT
	mov	QWORD PTR max_requests[rip], rax
	jmp	.L77
.L76:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR concurrency[rip], eax
	jmp	.L77
.L72:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR num_threads[rip], eax
	jmp	.L77
.L70:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR udaddr[rip], rax
	jmp	.L77
.L75:
	mov	DWORD PTR debug[rip], 3
	jmp	.L77
.L74:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -168[rbp], rax
	jmp	.L77
.L67:
	mov	DWORD PTR -76[rbp], 2
	jmp	.L77
.L66:
	mov	DWORD PTR -76[rbp], 10
	jmp	.L77
.L69:
	mov	eax, 0
	call	print_usage
	jmp	.L122
.L64:
	mov	eax, DWORD PTR -196[rbp]
	mov	esi, eax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L118
.L122:
	nop
.L77:
	cmp	DWORD PTR -196[rbp], -1
	jne	.L79
	mov	eax, DWORD PTR optind[rip]
	cmp	DWORD PTR -212[rbp], eax
	jg	.L80
	lea	rdi, .LC26[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L118
.L80:
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -224[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -136[rbp], rax
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, 7
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L81
	add	QWORD PTR -136[rbp], 7
.L81:
	mov	rax, QWORD PTR -136[rbp]
	mov	QWORD PTR -160[rbp], rax
	mov	rax, QWORD PTR -136[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	call	strpbrk@PLT
	mov	QWORD PTR -128[rbp], rax
	cmp	QWORD PTR -128[rbp], 0
	jne	.L82
	lea	rax, .LC29[rip]
	mov	QWORD PTR -128[rbp], rax
	jmp	.L83
.L82:
	mov	rax, QWORD PTR -128[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jne	.L84
	mov	rax, QWORD PTR -128[rbp]
	sub	rax, QWORD PTR -136[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strndup@PLT
	mov	QWORD PTR -160[rbp], rax
	cmp	QWORD PTR -160[rbp], 0
	jne	.L83
	lea	rdi, .LC30[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L84:
	mov	rax, QWORD PTR -128[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	jne	.L83
	mov	rax, QWORD PTR -128[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -128[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -128[rbp]
	mov	QWORD PTR -152[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	mov	esi, 47
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -128[rbp], rax
	cmp	QWORD PTR -128[rbp], 0
	je	.L83
	mov	rax, QWORD PTR -128[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jne	.L85
	mov	rax, QWORD PTR -128[rbp]
	sub	rax, QWORD PTR -152[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -152[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strndup@PLT
	mov	QWORD PTR -152[rbp], rax
	cmp	QWORD PTR -152[rbp], 0
	jne	.L83
	lea	rdi, .LC31[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L85:
	lea	rax, .LC29[rip]
	mov	QWORD PTR -128[rbp], rax
.L83:
	mov	rax, QWORD PTR udaddr[rip]
	mov	esi, 107
	mov	rdi, rax
	call	strnlen@PLT
	test	rax, rax
	jne	.L86
	lea	rcx, -176[rbp]
	lea	rdx, -80[rbp]
	mov	rsi, QWORD PTR -152[rbp]
	mov	rax, QWORD PTR -160[rbp]
	mov	rdi, rax
	call	getaddrinfo@PLT
	mov	DWORD PTR -192[rbp], eax
	cmp	DWORD PTR -192[rbp], 0
	je	.L87
	mov	eax, DWORD PTR -192[rbp]
	mov	edi, eax
	call	gai_strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L87:
	mov	rax, QWORD PTR -176[rbp]
	mov	QWORD PTR -144[rbp], rax
	jmp	.L88
.L93:
	mov	rax, QWORD PTR -144[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -144[rbp]
	mov	ecx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -144[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	esi, ecx
	mov	edi, eax
	call	socket@PLT
	mov	DWORD PTR -188[rbp], eax
	cmp	DWORD PTR -188[rbp], -1
	je	.L123
	mov	rax, QWORD PTR -144[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -144[rbp]
	mov	rcx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -188[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	test	eax, eax
	jne	.L91
	mov	eax, DWORD PTR -188[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L92
.L91:
	mov	eax, DWORD PTR -188[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L90
.L123:
	nop
.L90:
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -144[rbp], rax
.L88:
	cmp	QWORD PTR -144[rbp], 0
	jne	.L93
.L92:
	cmp	QWORD PTR -144[rbp], 0
	jne	.L94
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 19
	mov	esi, 1
	lea	rdi, .LC33[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L94:
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR 24[rax]
	movzx	eax, WORD PTR [rax]
	cmp	ax, 2
	jne	.L95
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rcx, QWORD PTR -120[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	jmp	.L96
.L95:
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR 24[rax]
	movzx	eax, WORD PTR [rax]
	cmp	ax, 10
	jne	.L97
	mov	rax, QWORD PTR -144[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -112[rbp]
	mov	rcx, QWORD PTR [rdx]
	mov	rbx, QWORD PTR 8[rdx]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR 16[rdx]
	mov	QWORD PTR 16[rax], rcx
	mov	edx, DWORD PTR 24[rdx]
	mov	DWORD PTR 24[rax], edx
	jmp	.L96
.L97:
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR 24[rax]
	movzx	eax, WORD PTR [rax]
	movzx	edx, ax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC34[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L96:
	mov	rax, QWORD PTR -144[rbp]
	mov	eax, DWORD PTR 16[rax]
	mov	DWORD PTR sssln[rip], eax
	mov	rax, QWORD PTR -176[rbp]
	mov	rdi, rax
	call	freeaddrinfo@PLT
	jmp	.L98
.L86:
	mov	rax, QWORD PTR -104[rbp]
	mov	WORD PTR [rax], 1
	mov	rax, QWORD PTR udaddr[rip]
	mov	rdx, QWORD PTR -104[rbp]
	lea	rcx, 2[rdx]
	mov	edx, 107
	mov	rsi, rax
	mov	rdi, rcx
	call	strncpy@PLT
	mov	DWORD PTR sssln[rip], 110
.L98:
	cmp	QWORD PTR -168[rbp], 0
	jne	.L99
	mov	rax, QWORD PTR -160[rbp]
	mov	QWORD PTR -168[rbp], rax
.L99:
	mov	rax, QWORD PTR -168[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 30
	mov	QWORD PTR outbufsize[rip], rax
	cmp	QWORD PTR -128[rbp], 0
	je	.L100
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	strlen@PLT
	jmp	.L101
.L100:
	mov	eax, 1
.L101:
	mov	rdx, QWORD PTR outbufsize[rip]
	add	rax, rdx
	mov	QWORD PTR outbufsize[rip], rax
	mov	rax, QWORD PTR outbufsize[rip]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR outbuf[rip], rax
	cmp	QWORD PTR -128[rbp], 0
	je	.L102
	mov	rsi, QWORD PTR outbufsize[rip]
	mov	rax, QWORD PTR outbuf[rip]
	mov	rcx, QWORD PTR -168[rbp]
	mov	rdx, QWORD PTR -128[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	lea	rdx, .LC35[rip]
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	cdqe
	jmp	.L103
.L102:
	mov	rsi, QWORD PTR outbufsize[rip]
	mov	rax, QWORD PTR outbuf[rip]
	mov	rdx, QWORD PTR -168[rbp]
	mov	r8, rdx
	lea	rcx, .LC29[rip]
	lea	rdx, .LC35[rip]
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	cdqe
.L103:
	mov	QWORD PTR outbufsize[rip], rax
	mov	rax, QWORD PTR max_requests[rip]
	movabs	rdx, -3689348814741910323
	mul	rdx
	mov	rax, rdx
	shr	rax, 3
	mov	QWORD PTR ticks[rip], rax
	lea	rsi, sigint_handler[rip]
	mov	edi, 2
	call	signal@PLT
	mov	rax, QWORD PTR max_requests[rip]
	test	rax, rax
	jne	.L104
	mov	QWORD PTR ticks[rip], 1000
	lea	rdi, .LC36[rip]
	call	puts@PLT
.L104:
	mov	eax, 0
	call	start_time
	mov	DWORD PTR -200[rbp], 0
	jmp	.L105
.L106:
	lea	rax, -184[rbp]
	mov	ecx, 0
	lea	rdx, worker[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	add	DWORD PTR -200[rbp], 1
.L105:
	mov	eax, DWORD PTR num_threads[rip]
	sub	eax, 1
	cmp	DWORD PTR -200[rbp], eax
	jl	.L106
	mov	edi, 0
	call	worker
	mov	rax, QWORD PTR tve[rip]
	mov	rdx, QWORD PTR tv[rip]
	sub	rax, rdx
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	mov	rax, QWORD PTR tve[rip+8]
	mov	rdx, QWORD PTR tv[rip+8]
	sub	rax, rdx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC37[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -88[rbp], xmm0
	movsd	xmm0, QWORD PTR -88[rbp]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jbe	.L121
	mov	rax, QWORD PTR max_requests[rip]
	test	rax, rax
	js	.L109
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L110
.L109:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L110:
	divsd	xmm0, QWORD PTR -88[rbp]
	jmp	.L111
.L121:
	pxor	xmm0, xmm0
.L111:
	mov	rax, QWORD PTR num_requests[rip]
	test	rax, rax
	je	.L112
	mov	rdx, QWORD PTR socket_errors[rip]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	mov	rbx, QWORD PTR num_requests[rip]
	mov	edx, 0
	div	rbx
	mov	r8d, eax
	jmp	.L113
.L112:
	mov	r8d, 0
.L113:
	mov	rsi, QWORD PTR socket_errors[rip]
	mov	rax, QWORD PTR num_requests[rip]
	test	rax, rax
	je	.L114
	mov	rdx, QWORD PTR bad_requests[rip]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	mov	rbx, QWORD PTR num_requests[rip]
	mov	edx, 0
	div	rbx
	mov	r9d, eax
	jmp	.L115
.L114:
	mov	r9d, 0
.L115:
	mov	rdi, QWORD PTR bad_requests[rip]
	mov	rax, QWORD PTR num_requests[rip]
	test	rax, rax
	je	.L116
	mov	rdx, QWORD PTR good_requests[rip]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	mov	rbx, QWORD PTR num_requests[rip]
	mov	edx, 0
	div	rbx
	mov	r10d, eax
	jmp	.L117
.L116:
	mov	r10d, 0
.L117:
	mov	rdx, QWORD PTR good_requests[rip]
	mov	rax, QWORD PTR num_requests[rip]
	mov	rcx, QWORD PTR -88[rbp]
	push	r8
	push	rsi
	movapd	xmm1, xmm0
	movq	xmm0, rcx
	mov	r8, rdi
	mov	ecx, r10d
	mov	rsi, rax
	lea	rdi, .LC39[rip]
	mov	eax, 2
	call	printf@PLT
	add	rsp, 16
	mov	eax, 0
.L118:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L119
	call	__stack_chk_fail@PLT
.L119:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	main, .-main
	.local	number_of_errors_logged.0
	.comm	number_of_errors_logged.0,4,4
	.section	.rodata
	.align 8
.LC37:
	.long	0
	.long	1093567616
	.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	"737805.c"
	.text
	.local	outbuf
	.comm	outbuf,4,4
	.local	outbufsize
	.comm	outbufsize,4,4
	.local	sss
	.comm	sss,128,4
	.local	sssln
	.comm	sssln,4,4
	.data
	.align	2
	.type	concurrency, %object
	.size	concurrency, 4
concurrency:
	.word	1
	.align	2
	.type	num_threads, %object
	.size	num_threads, 4
num_threads:
	.word	1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\000"
	.data
	.align	2
	.type	udaddr, %object
	.size	udaddr, 4
udaddr:
	.word	.LC0
	.local	num_requests
	.comm	num_requests,8,8
	.local	max_requests
	.comm	max_requests,8,8
	.local	good_requests
	.comm	good_requests,8,8
	.local	bad_requests
	.comm	bad_requests,8,8
	.local	socket_errors
	.comm	socket_errors,8,8
	.local	in_bytes
	.comm	in_bytes,8,8
	.local	out_bytes
	.comm	out_bytes,8,8
	.local	ticks
	.comm	ticks,8,8
	.local	debug
	.comm	debug,4,4
	.local	exit_i
	.comm	exit_i,4,4
	.local	tv
	.comm	tv,8,4
	.local	tve
	.comm	tve,8,4
	.section	.rodata
	.align	2
	.type	short_options, %object
	.size	short_options, 14
short_options:
	.ascii	"n:c:t:u:h:d46\000"
	.align	2
.LC1:
	.ascii	"number\000"
	.align	2
.LC2:
	.ascii	"concurrency\000"
	.align	2
.LC3:
	.ascii	"threads\000"
	.align	2
.LC4:
	.ascii	"udaddr\000"
	.align	2
.LC5:
	.ascii	"host\000"
	.align	2
.LC6:
	.ascii	"debug\000"
	.align	2
.LC7:
	.ascii	"help\000"
	.align	2
	.type	long_options, %object
	.size	long_options, 128
long_options:
	.word	.LC1
	.word	1
	.word	0
	.word	110
	.word	.LC2
	.word	1
	.word	0
	.word	99
	.word	.LC3
	.word	0
	.word	0
	.word	116
	.word	.LC4
	.word	1
	.word	0
	.word	117
	.word	.LC5
	.word	1
	.word	0
	.word	104
	.word	.LC6
	.word	0
	.word	0
	.word	100
	.word	.LC7
	.word	0
	.word	0
	.word	37
	.word	0
	.word	0
	.word	0
	.word	0
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sigint_handler, %function
sigint_handler:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, .L2
	ldmia	r3, {r2-r3}
	ldr	r1, .L2+4
	stm	r1, {r2-r3}
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L3:
	.align	2
.L2:
	.word	num_requests
	.word	max_requests
	.size	sigint_handler, .-sigint_handler
	.section	.rodata
	.align	2
.LC8:
	.ascii	"gettimeofday\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	start_time, %function
start_time:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r1, #0
	ldr	r0, .L7
	bl	gettimeofday
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	ldr	r0, .L7+4
	bl	perror
	mov	r0, #1
	bl	exit
.L6:
	nop
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	tv
	.word	.LC8
	.size	start_time, .-start_time
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	end_time, %function
end_time:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r1, #0
	ldr	r0, .L12
	bl	gettimeofday
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	ldr	r0, .L12+4
	bl	perror
	mov	r0, #1
	bl	exit
.L11:
	nop
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	tve
	.word	.LC8
	.size	end_time, .-end_time
	.section	.rodata
	.align	2
.LC9:
	.ascii	"socket() failed\000"
	.align	2
.LC10:
	.ascii	"connect() failed\000"
	.align	2
.LC11:
	.ascii	"epoll_ctl\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_conn, %function
init_conn:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L22+4
	ldrh	r3, [r3]
	mov	r2, #0
	mov	r1, #1
	mov	r0, r3
	bl	socket
	mov	r2, r0
	ldr	r3, [fp, #-44]
	str	r2, [r3]
	ldr	r3, [fp, #-44]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-44]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L15
	ldr	r0, .L22+8
	bl	perror
	mov	r0, #1
	bl	exit
.L15:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	mov	r2, #2048
	mov	r1, #4
	mov	r0, r3
	bl	fcntl
.L17:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	ldr	r2, .L22+12
	ldr	r2, [r2]
	ldr	r1, .L22+4
	mov	r0, r3
	bl	connect
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L16
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #11
	beq	.L17
.L16:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L18
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #115
	beq	.L18
	ldr	r0, .L22+16
	bl	perror
	mov	r0, #1
	bl	exit
.L18:
	sub	r3, fp, #28
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	mov	r3, #4
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-44]
	ldr	r2, [r3]
	sub	r3, fp, #28
	mov	r1, #1
	ldr	r0, [fp, #-40]
	bl	epoll_ctl
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	ldr	r0, .L22+20
	bl	perror
	mov	r0, #1
	bl	exit
.L21:
	nop
	ldr	r3, .L22
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC12
	.word	sss
	.word	.LC9
	.word	sssln
	.word	.LC10
	.word	.LC11
	.size	init_conn, .-init_conn
	.section	.rodata
	.align	2
.LC13:
	.ascii	"epoll\000"
	.align	2
.LC14:
	.ascii	"epoll_wait\000"
	.align	2
.LC15:
	.ascii	"fatal: NULL econn\012\000"
	.align	2
.LC16:
	.ascii	"error = %s\012\000"
	.align	2
.LC17:
	.ascii	"EPOLLERR caused by unknown error\012\000"
	.global	__sync_fetch_and_add_8
	.align	2
.LC18:
	.ascii	"EPOLLHUP\012\000"
	.align	2
.LC19:
	.ascii	"send\000"
	.align	2
.LC20:
	.ascii	"recv\000"
	.global	__sync_fetch_and_sub_8
	.global	__aeabi_uldivmod
	.align	2
.LC21:
	.ascii	"%d requests\012\000"
	.align	2
.LC22:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	worker, %function
worker:
	@ args = 0, pretend = 0, frame = 5184
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #5184
	sub	sp, sp, #12
	sub	r3, fp, #4096
	sub	r3, r3, #28
	str	r0, [r3, #-1084]
	ldr	r3, .L63
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, sp
	mov	r8, r3
	ldr	r3, .L63+4
	ldr	ip, [r3]
	sub	r3, ip, #1
	sub	r2, fp, #4096
	sub	r2, r2, #28
	str	r3, [r2, #-1060]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, r0
	mov	r3, r1
	adds	r6, r2, r2
	adc	r7, r3, r3
	mov	r2, r6
	mov	r3, r7
	adds	r2, r2, r0
	adc	r3, r3, r1
	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
	mov	r2, ip
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, r0
	mov	r3, r1
	adds	r4, r2, r2
	adc	r5, r3, r3
	mov	r2, r4
	mov	r3, r5
	adds	r2, r2, r0
	adc	r3, r3, r1
	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
	mov	r2, ip
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #28
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [r2, #-1056]
	ldr	r3, .L63+4
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #28
	mov	r4, r2
	mov	r0, r3
	bl	epoll_create
	str	r0, [r4, #-1052]
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1052]
	cmn	r3, #1
	bne	.L25
	ldr	r0, .L63+8
	bl	perror
	mov	r0, #1
	bl	exit
.L25:
	sub	r3, fp, #4096
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1064]
	b	.L26
.L27:
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r2, [r3, #-1064]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1056]
	add	r3, r3, r2
	sub	r2, fp, #4096
	sub	r2, r2, #28
	mov	r1, r3
	ldr	r0, [r2, #-1052]
	bl	init_conn
	sub	r3, fp, #4096
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1064]
	add	r3, r3, #1
	str	r3, [r2, #-1064]
.L26:
	ldr	r3, .L63+4
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #28
	ldr	r2, [r2, #-1064]
	cmp	r2, r3
	blt	.L27
.L29:
	sub	r3, fp, #4096
	sub	r3, r3, #28
	mov	r4, r3
	sub	r1, fp, #5120
	sub	r1, r1, #28
	sub	r1, r1, #8
	sub	r3, fp, #4096
	sub	r3, r3, #28
	mov	r0, r3
	mvn	r3, #0
	mov	r2, #256
	ldr	r0, [r0, #-1052]
	bl	epoll_wait
	str	r0, [r4, #-1048]
	ldr	r3, .L63+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L28
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1048]
	cmp	r3, #0
	bge	.L28
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L29
.L28:
	ldr	r3, .L63+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L30
	mov	r0, #0
	bl	exit
.L30:
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1048]
	cmn	r3, #1
	bne	.L31
	ldr	r0, .L63+16
	bl	perror
	mov	r0, #1
	bl	exit
.L31:
	sub	r3, fp, #4096
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1068]
	b	.L32
.L57:
	sub	r3, fp, #4096
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #28
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1068]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-1024]
	str	r3, [r2, #-1044]
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1044]
	cmp	r3, #0
	bne	.L33
	ldr	r3, .L63+20
	ldr	r3, [r3]
	mov	r2, #18
	mov	r1, #1
	ldr	r0, .L63+24
	bl	fwrite
	mov	r0, #1
	bl	exit
.L33:
	sub	r3, fp, #4096
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1068]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1032]
	and	r3, r3, #8
	cmp	r3, #0
	beq	.L34
	sub	r3, fp, #4096
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1076]
	sub	r3, fp, #4096
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #4
	str	r3, [r2, #-1072]
	ldr	r3, .L63+28
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L63+28
	str	r3, [r2]
	sub	r2, fp, #5120
	sub	r2, r2, #28
	sub	r2, r2, #52
	sub	r3, fp, #4096
	sub	r3, r3, #28
	mov	r0, r3
	sub	r3, fp, #5120
	sub	r3, r3, #28
	sub	r3, r3, #48
	str	r3, [sp]
	mov	r3, r2
	mov	r2, #4
	mov	r1, #1
	ldr	r0, [r0, #-1052]
	bl	getsockopt
	mov	r3, r0
	cmp	r3, #0
	bne	.L35
	ldr	r3, .L63+20
	ldr	r4, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1076]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L63+32
	mov	r0, r4
	bl	fprintf
.L35:
	ldr	r3, .L63+28
	ldr	r1, [r3]
	ldr	r3, .L63+36
	umull	r2, r3, r1, r3
	lsr	r2, r3, #5
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L36
	ldr	r3, .L63+20
	ldr	r3, [r3]
	mov	r2, #33
	mov	r1, #1
	ldr	r0, .L63+40
	bl	fwrite
.L36:
	ldr	r1, .L63+44
	mov	r2, #1
	mov	r3, #0
	mov	r0, r1
	bl	__sync_fetch_and_add_8
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1044]
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	ldr	r3, .L63+48
	ldmia	r3, {r0-r1}
	ldr	r3, .L63+52
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bhi	.L61
	sub	r3, fp, #4096
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r1, [r2, #-1044]
	ldr	r0, [r3, #-1052]
	bl	init_conn
	b	.L39
.L34:
	sub	r3, fp, #4096
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1068]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1032]
	and	r3, r3, #16
	cmp	r3, #0
	beq	.L40
	ldr	r3, .L63+20
	ldr	r3, [r3]
	mov	r2, #9
	mov	r1, #1
	ldr	r0, .L63+56
	bl	fwrite
	mov	r0, #1
	bl	exit
.L40:
	sub	r3, fp, #4096
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1068]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1032]
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L41
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1044]
	ldr	r0, [r3]
	ldr	r3, .L63+60
	ldr	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1044]
	ldr	r3, [r3, #4]
	add	r1, r2, r3
	ldr	r3, .L63+64
	ldr	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1044]
	ldr	r3, [r3, #4]
	sub	r2, r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #28
	mov	r4, r3
	mov	r3, #0
	bl	send
	str	r0, [r4, #-1040]
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1040]
	cmn	r3, #1
	bne	.L42
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #11
	beq	.L42
	ldr	r0, .L63+68
	bl	perror
	mov	r0, #1
	bl	exit
.L42:
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1040]
	cmp	r3, #0
	ble	.L39
	ldr	r3, .L63+72
	ldr	r3, [r3]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L43
	ldr	r3, .L63+60
	ldr	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1044]
	ldr	r3, [r3, #4]
	add	r1, r2, r3
	ldr	r3, .L63+64
	ldr	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1044]
	ldr	r3, [r3, #4]
	sub	r3, r2, r3
	mov	r2, r3
	mov	r0, #2
	bl	write
.L43:
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1044]
	ldr	r2, [r3, #4]
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1040]
	add	r2, r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1044]
	str	r2, [r3, #4]
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1044]
	ldr	r2, [r3, #4]
	ldr	r3, .L63+64
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L39
	sub	r3, fp, #4096
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1068]
	lsl	r3, r3, #4
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #-1032]
	sub	r3, fp, #4096
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1068]
	lsl	r3, r3, #4
	add	r3, r2, r3
	sub	r2, fp, #4096
	sub	r2, r2, #28
	ldr	r2, [r2, #-1044]
	str	r2, [r3, #-1024]
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1044]
	mov	r2, #0
	str	r2, [r3, #4]
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1044]
	ldr	r1, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1068]
	lsl	r2, r3, #4
	sub	r3, fp, #5120
	sub	r3, r3, #28
	sub	r3, r3, #8
	add	r3, r3, r2
	sub	r2, fp, #4096
	sub	r2, r2, #28
	mov	r0, r2
	mov	r2, r1
	mov	r1, #3
	ldr	r0, [r0, #-1052]
	bl	epoll_ctl
	mov	r3, r0
	cmp	r3, #0
	beq	.L39
	ldr	r0, .L63+76
	bl	perror
	mov	r0, #1
	bl	exit
.L41:
	sub	r3, fp, #4096
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1068]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1032]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L39
.L50:
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1044]
	ldr	r0, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #28
	mov	r4, r3
	sub	r1, fp, #1040
	sub	r1, r1, #12
	sub	r1, r1, #4
	mov	r3, #0
	mov	r2, #1024
	bl	recv
	str	r0, [r4, #-1040]
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1040]
	cmn	r3, #1
	bne	.L44
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #11
	beq	.L44
	ldr	r0, .L63+80
	bl	perror
	mov	r0, #1
	bl	exit
.L44:
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1040]
	cmp	r3, #0
	ble	.L62
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1044]
	ldr	r3, [r3, #4]
	cmp	r3, #9
	bhi	.L47
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1044]
	ldr	r2, [r3, #4]
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1040]
	add	r3, r2, r3
	cmp	r3, #10
	bls	.L47
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1044]
	ldr	r3, [r3, #4]
	rsb	r3, r3, #9
	sub	r2, fp, #4096
	sub	r2, r2, #28
	sub	r1, fp, #28
	add	r3, r1, r3
	ldrb	r3, [r3, #-1028]
	strb	r3, [r2, #-1077]
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldrb	r3, [r3, #-1077]	@ zero_extendqisi2
	cmp	r3, #52
	beq	.L48
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldrb	r3, [r3, #-1077]	@ zero_extendqisi2
	cmp	r3, #53
	bne	.L47
.L48:
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1044]
	ldr	r3, [r3, #8]
	orr	r2, r3, #1
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1044]
	str	r2, [r3, #8]
.L47:
	ldr	r3, .L63+72
	ldr	r3, [r3]
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L49
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r2, [r3, #-1040]
	sub	r3, fp, #1040
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, #2
	bl	write
.L49:
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1044]
	ldr	r2, [r3, #4]
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1040]
	add	r2, r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1044]
	str	r2, [r3, #4]
	b	.L50
.L62:
	nop
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1040]
	cmp	r3, #0
	bne	.L39
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1044]
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	ldr	r1, .L63+48
	mov	r2, #1
	mov	r3, #0
	mov	r0, r1
	bl	__sync_fetch_and_add_8
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #4096
	sub	r1, r1, #28
	mov	r3, r2
	str	r3, [r1, #-1036]
	ldr	r3, .L63+52
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	beq	.L51
	ldr	r3, .L63+52
	ldmia	r3, {r2-r3}
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1036]
	cmp	r3, r2
	blt	.L51
	ldr	r1, .L63+48
	mov	r2, #1
	mov	r3, #0
	mov	r0, r1
	bl	__sync_fetch_and_sub_8
	b	.L52
.L51:
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1044]
	ldr	r3, [r3, #8]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L53
	ldr	r1, .L63+84
	mov	r2, #1
	mov	r3, #0
	mov	r0, r1
	bl	__sync_fetch_and_add_8
	b	.L52
.L53:
	ldr	r1, .L63+88
	mov	r2, #1
	mov	r3, #0
	mov	r0, r1
	bl	__sync_fetch_and_add_8
.L52:
	ldr	r3, .L63+52
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	beq	.L54
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1036]
	add	r1, r3, #1
	ldr	r3, .L63+52
	ldmia	r3, {r2-r3}
	mov	r3, r2
	cmp	r1, r3
	blt	.L54
	bl	end_time
	mov	r3, #0
	mov	sp, r8
	ldr	r2, .L63
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L58
	b	.L60
.L54:
	ldr	r3, .L63+92
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	beq	.L56
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1036]
	mov	r0, r3
	asr	r1, r0, #31
	ldr	r3, .L63+92
	ldmia	r3, {r2-r3}
	bl	__aeabi_uldivmod
	orrs	r3, r2, r3
	bne	.L56
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r1, [r3, #-1036]
	ldr	r0, .L63+96
	bl	printf
.L56:
	sub	r3, fp, #4096
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r1, [r2, #-1044]
	ldr	r0, [r3, #-1052]
	bl	init_conn
	b	.L39
.L61:
	nop
.L39:
	sub	r3, fp, #4096
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r3, [r3, #-1068]
	add	r3, r3, #1
	str	r3, [r2, #-1068]
.L32:
	sub	r3, fp, #4096
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #28
	ldr	r2, [r2, #-1068]
	ldr	r3, [r3, #-1048]
	cmp	r2, r3
	blt	.L57
	b	.L29
.L60:
	bl	__stack_chk_fail
.L58:
	mov	r0, r3
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L64:
	.align	2
.L63:
	.word	.LC22
	.word	concurrency
	.word	.LC13
	.word	exit_i
	.word	.LC14
	.word	stderr
	.word	.LC15
	.word	number_of_errors_logged.7854
	.word	.LC16
	.word	1374389535
	.word	.LC17
	.word	socket_errors
	.word	num_requests
	.word	max_requests
	.word	.LC18
	.word	outbuf
	.word	outbufsize
	.word	.LC19
	.word	debug
	.word	.LC11
	.word	.LC20
	.word	bad_requests
	.word	good_requests
	.word	ticks
	.word	.LC21
	.size	worker, .-worker
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	signal_exit, %function
signal_exit:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, .L66
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L66
	str	r3, [r2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L67:
	.align	2
.L66:
	.word	exit_i
	.size	signal_exit, .-signal_exit
	.section	.rodata
	.align	2
.LC23:
	.ascii	"Usage: htstress [options] [http://]hostname[:port]/"
	.ascii	"path\012Options:\012   -n, --number       total num"
	.ascii	"ber of requests (0 for inifinite, Ctrl-C to abort)\012"
	.ascii	"   -c, --concurrency  number of concurrent connecti"
	.ascii	"ons\012   -t, --threads      number of threads (set"
	.ascii	" this to the number of CPU cores)\012   -u, --udadd"
	.ascii	"r       path to unix domain socket\012   -h, --host"
	.ascii	"         host to use for http request\012   -d, --d"
	.ascii	"ebug        debug HTTP response\012   --help       "
	.ascii	"      display this message\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_usage, %function
print_usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L69
	bl	puts
	mov	r0, #0
	bl	exit
.L70:
	.align	2
.L69:
	.word	.LC23
	.size	print_usage, .-print_usage
	.section	.rodata
	.align	2
.LC24:
	.ascii	"http\000"
	.align	2
.LC25:
	.ascii	"signal(SIGINT, handler)\000"
	.align	2
.LC26:
	.ascii	"signal(SIGTERM, handler)\000"
	.align	2
.LC27:
	.ascii	"Unexpected argument: '%c'\012\000"
	.align	2
.LC28:
	.ascii	"Missing URL\000"
	.align	2
.LC29:
	.ascii	"http://\000"
	.align	2
.LC30:
	.ascii	":/\000"
	.align	2
.LC31:
	.ascii	"/\000"
	.align	2
.LC32:
	.ascii	"node = strndup(s, rq - s)\000"
	.align	2
.LC33:
	.ascii	"port = strndup(rq, rq - port)\000"
	.align	2
.LC34:
	.ascii	"getaddrinfo: %s\012\000"
	.align	2
.LC35:
	.ascii	"getaddrinfo failed\012\000"
	.align	2
.LC36:
	.ascii	"invalid family %d from getaddrinfo\012\000"
	.align	2
.LC37:
	.ascii	"GET %s HTTP/1.0\015\012Host: %s\015\012\015\012\000"
	.align	2
.LC38:
	.ascii	"[Press Ctrl-C to finish]\000"
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.global	__aeabi_dcmpgt
	.global	__aeabi_ul2d
	.align	2
.LC39:
	.ascii	"\012requests:      %llu\012good requests: %llu [%d%"
	.ascii	"%]\012bad requests:  %llu [%d%%]\012socker errors: "
	.ascii	"%llu [%d%%]\012seconds:       %.3f\012requests/sec:"
	.ascii	"  %.3f\012\012\000"
	.align	2
.LC40:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 176
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #244
	str	r0, [fp, #-152]
	str	r1, [fp, #-156]
	ldr	r3, .L133
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-140]
	mov	r3, #0
	str	r3, [fp, #-136]
	ldr	r3, .L133+4
	str	r3, [fp, #-132]
	ldr	r3, .L133+8
	str	r3, [fp, #-112]
	ldr	r3, .L133+8
	str	r3, [fp, #-108]
	ldr	r3, .L133+8
	str	r3, [fp, #-104]
	ldr	r1, .L133+12
	mov	r0, #2
	bl	signal
	str	r0, [fp, #-100]
	ldr	r3, [fp, #-100]
	cmn	r3, #1
	bne	.L72
	ldr	r0, .L133+16
	bl	perror
	mov	r0, #0
	bl	exit
.L72:
	ldr	r1, .L133+12
	mov	r0, #15
	bl	signal
	str	r0, [fp, #-100]
	ldr	r3, [fp, #-100]
	cmn	r3, #1
	bne	.L73
	ldr	r0, .L133+20
	bl	perror
	mov	r0, #0
	bl	exit
.L73:
	sub	r3, fp, #72
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-68]
	mov	r3, #1
	str	r3, [fp, #-64]
	mov	r3, #40
	str	r3, [fp, #-72]
	mov	r2, #128
	mov	r1, #0
	ldr	r0, .L133+8
	bl	memset
	ldr	r3, [fp, #-152]
	cmp	r3, #1
	bne	.L90
	bl	print_usage
.L90:
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, .L133+24
	ldr	r2, .L133+28
	ldr	r1, [fp, #-156]
	ldr	r0, [fp, #-152]
	bl	getopt_long
	str	r0, [fp, #-96]
	ldr	r3, [fp, #-96]
	cmp	r3, #117
	bgt	.L75
	ldr	r3, [fp, #-96]
	cmp	r3, #99
	bge	.L76
	ldr	r3, [fp, #-96]
	cmp	r3, #54
	beq	.L77
	ldr	r3, [fp, #-96]
	cmp	r3, #54
	bgt	.L75
	ldr	r3, [fp, #-96]
	cmp	r3, #52
	beq	.L78
	ldr	r3, [fp, #-96]
	cmp	r3, #52
	bgt	.L75
	ldr	r3, [fp, #-96]
	cmn	r3, #1
	beq	.L131
	ldr	r3, [fp, #-96]
	cmp	r3, #37
	beq	.L80
	b	.L75
.L76:
	ldr	r3, [fp, #-96]
	sub	r3, r3, #99
	cmp	r3, #18
	ldrls	pc, [pc, r3, asl #2]
	b	.L75
.L82:
	.word	.L87
	.word	.L86
	.word	.L75
	.word	.L75
	.word	.L75
	.word	.L85
	.word	.L75
	.word	.L75
	.word	.L75
	.word	.L75
	.word	.L75
	.word	.L84
	.word	.L75
	.word	.L75
	.word	.L75
	.word	.L75
	.word	.L75
	.word	.L83
	.word	.L81
.L84:
	ldr	r3, .L133+32
	ldr	r3, [r3]
	mov	r2, #10
	mov	r1, #0
	mov	r0, r3
	bl	strtoull
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L133+36
	stm	r1, {r2-r3}
	b	.L88
.L87:
	ldr	r3, .L133+32
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L133+40
	str	r3, [r2]
	b	.L88
.L83:
	ldr	r3, .L133+32
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L133+44
	str	r3, [r2]
	b	.L88
.L81:
	ldr	r3, .L133+32
	ldr	r3, [r3]
	ldr	r2, .L133+48
	str	r3, [r2]
	b	.L88
.L86:
	ldr	r3, .L133+52
	mov	r2, #3
	str	r2, [r3]
	b	.L88
.L85:
	ldr	r3, .L133+32
	ldr	r3, [r3]
	str	r3, [fp, #-140]
	b	.L88
.L78:
	mov	r3, #2
	str	r3, [fp, #-68]
	b	.L88
.L77:
	mov	r3, #10
	str	r3, [fp, #-68]
	b	.L88
.L80:
	bl	print_usage
	b	.L131
.L75:
	ldr	r1, [fp, #-96]
	ldr	r0, .L133+56
	bl	printf
	mov	r3, #1
	b	.L127
.L131:
	nop
.L88:
	ldr	r3, [fp, #-96]
	cmn	r3, #1
	bne	.L90
	ldr	r3, .L133+60
	ldr	r3, [r3]
	ldr	r2, [fp, #-152]
	cmp	r2, r3
	bgt	.L91
	ldr	r0, .L133+64
	bl	puts
	mov	r3, #1
	b	.L127
.L91:
	ldr	r3, .L133+60
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-156]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-124]
	mov	r2, #7
	ldr	r1, .L133+68
	ldr	r0, [fp, #-124]
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L92
	ldr	r3, [fp, #-124]
	add	r3, r3, #7
	str	r3, [fp, #-124]
.L92:
	ldr	r3, [fp, #-124]
	str	r3, [fp, #-136]
	ldr	r1, .L133+72
	ldr	r0, [fp, #-124]
	bl	strpbrk
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bne	.L93
	ldr	r3, .L133+76
	str	r3, [fp, #-120]
	b	.L94
.L93:
	ldr	r3, [fp, #-120]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L95
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-124]
	sub	r3, r2, r3
	mov	r1, r3
	ldr	r0, [fp, #-124]
	bl	strndup
	mov	r3, r0
	str	r3, [fp, #-136]
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	bne	.L94
	ldr	r0, .L133+80
	bl	perror
	mov	r0, #1
	bl	exit
.L95:
	ldr	r3, [fp, #-120]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	bne	.L94
	ldr	r2, [fp, #-120]
	add	r3, r2, #1
	str	r3, [fp, #-120]
	mov	r3, #0
	strb	r3, [r2]
	ldr	r3, [fp, #-120]
	str	r3, [fp, #-132]
	mov	r1, #47
	ldr	r0, [fp, #-120]
	bl	strchr
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	beq	.L94
	ldr	r3, [fp, #-120]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L96
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-132]
	sub	r3, r2, r3
	mov	r1, r3
	ldr	r0, [fp, #-132]
	bl	strndup
	mov	r3, r0
	str	r3, [fp, #-132]
	ldr	r3, [fp, #-132]
	cmp	r3, #0
	bne	.L94
	ldr	r0, .L133+84
	bl	perror
	mov	r0, #1
	bl	exit
.L96:
	ldr	r3, .L133+76
	str	r3, [fp, #-120]
.L94:
	ldr	r3, .L133+48
	ldr	r3, [r3]
	mov	r1, #107
	mov	r0, r3
	bl	strnlen
	mov	r3, r0
	cmp	r3, #0
	bne	.L97
	sub	r3, fp, #144
	sub	r2, fp, #72
	ldr	r1, [fp, #-132]
	ldr	r0, [fp, #-136]
	bl	getaddrinfo
	str	r0, [fp, #-92]
	ldr	r3, [fp, #-92]
	cmp	r3, #0
	beq	.L98
	ldr	r3, .L133+88
	ldr	r4, [r3]
	ldr	r0, [fp, #-92]
	bl	gai_strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L133+92
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L98:
	ldr	r3, [fp, #-144]
	str	r3, [fp, #-128]
	b	.L99
.L104:
	ldr	r3, [fp, #-128]
	ldr	r0, [r3, #4]
	ldr	r3, [fp, #-128]
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #-128]
	ldr	r3, [r3, #12]
	mov	r2, r3
	bl	socket
	str	r0, [fp, #-88]
	ldr	r3, [fp, #-88]
	cmn	r3, #1
	beq	.L132
	ldr	r3, [fp, #-128]
	ldr	r1, [r3, #20]
	ldr	r3, [fp, #-128]
	ldr	r3, [r3, #16]
	mov	r2, r3
	ldr	r0, [fp, #-88]
	bl	connect
	mov	r3, r0
	cmp	r3, #0
	bne	.L102
	ldr	r0, [fp, #-88]
	bl	close
	b	.L103
.L102:
	ldr	r0, [fp, #-88]
	bl	close
	b	.L101
.L132:
	nop
.L101:
	ldr	r3, [fp, #-128]
	ldr	r3, [r3, #28]
	str	r3, [fp, #-128]
.L99:
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	bne	.L104
.L103:
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	bne	.L105
	ldr	r3, .L133+88
	ldr	r3, [r3]
	mov	r2, #19
	mov	r1, #1
	ldr	r0, .L133+96
	bl	fwrite
	mov	r0, #1
	bl	exit
.L105:
	ldr	r3, [fp, #-128]
	ldr	r3, [r3, #20]
	ldrh	r3, [r3]
	cmp	r3, #2
	bne	.L106
	ldr	r3, [fp, #-128]
	ldr	r2, [r3, #20]
	ldr	r3, [fp, #-112]
	mov	ip, r3
	mov	r3, r2
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	b	.L107
.L106:
	ldr	r3, [fp, #-128]
	ldr	r3, [r3, #20]
	ldrh	r3, [r3]
	cmp	r3, #10
	bne	.L108
	ldr	r3, [fp, #-128]
	ldr	r2, [r3, #20]
	ldr	r3, [fp, #-108]
	mov	lr, r3
	mov	ip, r2
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2}
	stm	lr, {r0, r1, r2}
	b	.L107
.L108:
	ldr	r3, .L133+88
	ldr	r0, [r3]
	ldr	r3, [fp, #-128]
	ldr	r3, [r3, #20]
	ldrh	r3, [r3]
	mov	r2, r3
	ldr	r1, .L133+100
	bl	fprintf
	mov	r0, #1
	bl	exit
.L107:
	ldr	r3, [fp, #-128]
	ldr	r3, [r3, #16]
	ldr	r2, .L133+104
	str	r3, [r2]
	ldr	r3, [fp, #-144]
	mov	r0, r3
	bl	freeaddrinfo
	b	.L109
.L97:
	ldr	r2, [fp, #-104]
	mov	r3, #1
	strh	r3, [r2]	@ movhi
	ldr	r3, [fp, #-104]
	add	r0, r3, #2
	ldr	r3, .L133+48
	ldr	r3, [r3]
	mov	r2, #107
	mov	r1, r3
	bl	strncpy
	ldr	r3, .L133+104
	mov	r2, #110
	str	r2, [r3]
.L109:
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	bne	.L110
	ldr	r3, [fp, #-136]
	str	r3, [fp, #-140]
.L110:
	ldr	r0, [fp, #-140]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #30
	ldr	r2, .L133+108
	str	r3, [r2]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	beq	.L111
	ldr	r0, [fp, #-120]
	bl	strlen
	mov	r2, r0
	b	.L112
.L111:
	mov	r2, #1
.L112:
	ldr	r3, .L133+108
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L133+108
	str	r3, [r2]
	ldr	r3, .L133+108
	ldr	r3, [r3]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L133+112
	str	r2, [r3]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	beq	.L113
	ldr	r3, .L133+112
	ldr	r0, [r3]
	ldr	r3, .L133+108
	ldr	r1, [r3]
	ldr	r3, [fp, #-140]
	str	r3, [sp]
	ldr	r3, [fp, #-120]
	ldr	r2, .L133+116
	bl	snprintf
	mov	r3, r0
	mov	r2, r3
	b	.L114
.L113:
	ldr	r3, .L133+112
	ldr	r0, [r3]
	ldr	r3, .L133+108
	ldr	r1, [r3]
	ldr	r3, [fp, #-140]
	str	r3, [sp]
	ldr	r3, .L133+76
	ldr	r2, .L133+116
	bl	snprintf
	mov	r3, r0
	mov	r2, r3
.L114:
	ldr	r3, .L133+108
	str	r2, [r3]
	ldr	r3, .L133+36
	ldmia	r3, {r0-r1}
	mov	r2, #10
	mov	r3, #0
	bl	__aeabi_uldivmod
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L133+120
	stm	r3, {r0-r1}
	ldr	r1, .L133+124
	mov	r0, #2
	bl	signal
	ldr	r3, .L133+36
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	bne	.L115
	ldr	r1, .L133+120
	mov	r2, #1000
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r0, .L133+128
	bl	puts
.L115:
	bl	start_time
	mov	r3, #0
	str	r3, [fp, #-116]
	b	.L116
.L117:
	sub	r0, fp, #148
	mov	r3, #0
	ldr	r2, .L133+132
	mov	r1, #0
	bl	pthread_create
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L116:
	ldr	r3, .L133+44
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-116]
	cmp	r2, r3
	blt	.L117
	mov	r0, #0
	bl	worker
	ldr	r3, .L133+136
	ldr	r2, [r3]
	ldr	r3, .L133+140
	ldr	r3, [r3]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, .L133+136
	ldr	r2, [r3, #4]
	ldr	r3, .L133+140
	ldr	r3, [r3, #4]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L133+144
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r3, .L133+148
	ldmia	r3, {r3-r4}
	str	r3, [fp, #-204]
	str	r4, [fp, #-200]
	ldr	r3, .L133+152
	ldmia	r3, {r3-r4}
	str	r3, [fp, #-212]
	str	r4, [fp, #-208]
	ldr	r3, .L133+148
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	beq	.L118
	ldr	r3, .L133+152
	ldmia	r3, {r4-r5}
	mov	r2, r4
	mov	r3, r5
	adds	r8, r2, r2
	adc	r9, r3, r3
	mov	r2, r8
	mov	r3, r9
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	adds	r2, r2, r0
	adc	r3, r3, r1
	adds	r6, r2, r4
	adc	r7, r3, r5
	ldr	r3, .L133+148
	ldmia	r3, {r2-r3}
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_uldivmod
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-176]
	b	.L119
.L118:
	mov	r3, #0
	str	r3, [fp, #-176]
.L119:
	ldr	r3, .L133+156
	ldmia	r3, {r8-r9}
	ldr	r3, .L133+148
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	beq	.L120
	ldr	r3, .L133+156
	ldmia	r3, {r4-r5}
	mov	r2, r4
	mov	r3, r5
	adds	r1, r2, r2
	str	r1, [fp, #-188]
	adc	r3, r3, r3
	str	r3, [fp, #-184]
	sub	r3, fp, #188
	ldmia	r3, {r2-r3}
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	adds	r2, r2, r0
	adc	r3, r3, r1
	adds	r1, r2, r4
	str	r1, [fp, #-164]
	adc	r3, r3, r5
	str	r3, [fp, #-160]
	ldr	r3, .L133+148
	ldmia	r3, {r2-r3}
	sub	r1, fp, #164
	ldmia	r1, {r0-r1}
	bl	__aeabi_uldivmod
	mov	r2, r0
	mov	r3, r1
	mov	r10, r2
	b	.L121
.L120:
	mov	r10, #0
.L121:
	ldr	r3, .L133+160
	ldmia	r3, {r6-r7}
	ldr	r3, .L133+148
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	beq	.L122
	ldr	r3, .L133+160
	ldmia	r3, {r4-r5}
	mov	r2, r4
	mov	r3, r5
	adds	r1, r2, r2
	str	r1, [fp, #-196]
	adc	r3, r3, r3
	str	r3, [fp, #-192]
	sub	r3, fp, #196
	ldmia	r3, {r2-r3}
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	adds	r2, r2, r0
	adc	r3, r3, r1
	adds	r1, r2, r4
	str	r1, [fp, #-172]
	adc	r3, r3, r5
	str	r3, [fp, #-168]
	ldr	r3, .L133+148
	ldmia	r3, {r2-r3}
	sub	r1, fp, #172
	ldmia	r1, {r0-r1}
	bl	__aeabi_uldivmod
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	b	.L123
.L122:
	mov	r4, #0
.L123:
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L130
	ldr	r3, .L133+36
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_ul2d
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	b	.L126
.L130:
	mov	r2, #0
	mov	r3, #0
.L126:
	str	r2, [sp, #56]
	str	r3, [sp, #60]
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	str	r2, [sp, #48]
	str	r3, [sp, #52]
	str	r4, [sp, #40]
	str	r6, [sp, #32]
	str	r7, [sp, #36]
	str	r10, [sp, #24]
	str	r8, [sp, #16]
	str	r9, [sp, #20]
	ldr	r3, [fp, #-176]
	str	r3, [sp, #8]
	sub	r4, fp, #212
	ldmia	r4, {r3-r4}
	stm	sp, {r3-r4}
	sub	r3, fp, #204
	ldmia	r3, {r2-r3}
	ldr	r0, .L133+164
	bl	printf
	mov	r3, #0
.L127:
	ldr	r2, .L133
	ldr	r1, [r2]
	ldr	r2, [fp, #-40]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L128
	bl	__stack_chk_fail
.L128:
	mov	r0, r3
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L134:
	.align	2
.L133:
	.word	.LC40
	.word	.LC24
	.word	sss
	.word	signal_exit
	.word	.LC25
	.word	.LC26
	.word	long_options
	.word	short_options
	.word	optarg
	.word	max_requests
	.word	concurrency
	.word	num_threads
	.word	udaddr
	.word	debug
	.word	.LC27
	.word	optind
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	stderr
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	sssln
	.word	outbufsize
	.word	outbuf
	.word	.LC37
	.word	ticks
	.word	sigint_handler
	.word	.LC38
	.word	worker
	.word	tve
	.word	tv
	.word	1093567616
	.word	num_requests
	.word	good_requests
	.word	bad_requests
	.word	socket_errors
	.word	.LC39
	.size	main, .-main
	.local	number_of_errors_logged.7854
	.comm	number_of_errors_logged.7854,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
