	.file	"1240973.c"
	.intel_syntax noprefix
	.text
	.globl	port
	.section	.rodata
	.align 2
	.type	port, @object
	.size	port, 2
port:
	.value	12345
	.globl	num_clients
	.align 8
	.type	num_clients, @object
	.size	num_clients, 8
num_clients:
	.quad	1
	.text
	.type	_sleep_msec, @function
_sleep_msec:
.LFB0:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -36[rbp]
	mov	eax, eax
	imul	rax, rax, 274877907
	shr	rax, 32
	shr	eax, 6
	mov	eax, eax
	mov	QWORD PTR -32[rbp], rax
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, edx
	imul	rax, rax, 274877907
	shr	rax, 32
	shr	eax, 6
	imul	ecx, eax, 1000
	mov	eax, edx
	sub	eax, ecx
	mov	eax, eax
	imul	rax, rax, 1000000
	mov	QWORD PTR -24[rbp], rax
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	nanosleep@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L2
	call	__stack_chk_fail@PLT
.L2:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	_sleep_msec, .-_sleep_msec
	.type	_server_thread_func, @function
_server_thread_func:
.LFB1:
	.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	edx, 1
	mov	eax, 12345
	movzx	eax, ax
	mov	rsi, rdx
	mov	edi, eax
	call	run_server@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	_server_thread_func, .-_server_thread_func
	.type	_client_thread_func, @function
_client_thread_func:
.LFB2:
	.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	eax, 12345
	movzx	eax, ax
	mov	edi, eax
	call	run_client@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	_client_thread_func, .-_client_thread_func
	.section	.rodata
.LC0:
	.string	"the_stack_data/1240973.c"
.LC1:
	.string	"r == 0"
	.text
	.type	_poll_forever_thread, @function
_poll_forever_thread:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	edx, -1
	mov	esi, 0
	mov	edi, 0
	call	poll@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L6
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 49
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L6:
	mov	rax, QWORD PTR -24[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	_poll_forever_thread, .-_poll_forever_thread
	.section	.rodata
.LC2:
	.string	"/dev/null"
.LC3:
	.string	"/dev/urandom"
.LC4:
	.string	"ret == 2"
.LC5:
	.string	"fds[0].revents == POLLNVAL"
.LC6:
	.string	"fds[1].revents == POLLIN"
.LC7:
	.string	"poll(NULL, 1, 0) == -1"
.LC8:
	.string	"errno == EFAULT"
.LC9:
	.string	"poll((void*)1, 0, 0) == 0"
	.align 8
.LC10:
	.string	"pthread_create(&sthread, NULL, _server_thread_func, NULL) == 0"
	.align 8
.LC11:
	.string	"pthread_create(&cthread, NULL, _client_thread_func, NULL) == 0"
.LC12:
	.string	"gettimeofday(&tv0, NULL) == 0"
.LC13:
	.string	"poll(NULL, 0, 500) == 0"
.LC14:
	.string	"gettimeofday(&tv1, NULL) == 0"
.LC15:
	.string	"t1 > t0"
	.align 8
.LC16:
	.string	"delta >= 490000 && delta <= 510000"
.LC17:
	.string	"=== passed test (%s)\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	DWORD PTR -132[rbp], edi
	mov	QWORD PTR -144[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	esi, 0
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -116[rbp], eax
	mov	esi, 0
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -112[rbp], eax
	mov	eax, DWORD PTR -116[rbp]
	mov	DWORD PTR -32[rbp], eax
	mov	WORD PTR -28[rbp], 7
	mov	eax, DWORD PTR -112[rbp]
	mov	DWORD PTR -24[rbp], eax
	mov	WORD PTR -20[rbp], 1
	mov	eax, DWORD PTR -116[rbp]
	mov	edi, eax
	call	close@PLT
	lea	rax, -32[rbp]
	mov	edx, 0
	mov	esi, 2
	mov	rdi, rax
	call	poll@PLT
	mov	DWORD PTR -108[rbp], eax
	mov	eax, DWORD PTR -112[rbp]
	mov	edi, eax
	call	close@PLT
	cmp	DWORD PTR -108[rbp], 2
	je	.L9
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 72
	lea	rsi, .LC0[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L9:
	movzx	eax, WORD PTR -26[rbp]
	cmp	ax, 32
	je	.L10
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 73
	lea	rsi, .LC0[rip]
	lea	rdi, .LC5[rip]
	call	__assert_fail@PLT
.L10:
	movzx	eax, WORD PTR -18[rbp]
	cmp	ax, 1
	je	.L11
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 74
	lea	rsi, .LC0[rip]
	lea	rdi, .LC6[rip]
	call	__assert_fail@PLT
.L11:
	mov	edx, 0
	mov	esi, 1
	mov	edi, 0
	call	poll@PLT
	cmp	eax, -1
	je	.L12
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 78
	lea	rsi, .LC0[rip]
	lea	rdi, .LC7[rip]
	call	__assert_fail@PLT
.L12:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 14
	je	.L13
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 79
	lea	rsi, .LC0[rip]
	lea	rdi, .LC8[rip]
	call	__assert_fail@PLT
.L13:
	mov	edx, 0
	mov	esi, 0
	mov	edi, 1
	call	poll@PLT
	test	eax, eax
	je	.L14
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 82
	lea	rsi, .LC0[rip]
	lea	rdi, .LC9[rip]
	call	__assert_fail@PLT
.L14:
	lea	rax, -104[rbp]
	mov	ecx, 0
	lea	rdx, _server_thread_func[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	test	eax, eax
	je	.L15
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 84
	lea	rsi, .LC0[rip]
	lea	rdi, .LC10[rip]
	call	__assert_fail@PLT
.L15:
	mov	edi, 100
	call	_sleep_msec
	lea	rax, -96[rbp]
	mov	ecx, 0
	lea	rdx, _client_thread_func[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	test	eax, eax
	je	.L16
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 86
	lea	rsi, .LC0[rip]
	lea	rdi, .LC11[rip]
	call	__assert_fail@PLT
.L16:
	mov	rax, QWORD PTR -96[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	lea	rax, -64[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	test	eax, eax
	je	.L17
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 94
	lea	rsi, .LC0[rip]
	lea	rdi, .LC12[rip]
	call	__assert_fail@PLT
.L17:
	mov	rax, QWORD PTR -64[rbp]
	imul	rdx, rax, 1000000
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	QWORD PTR -88[rbp], rax
	mov	edx, 500
	mov	esi, 0
	mov	edi, 0
	call	poll@PLT
	test	eax, eax
	je	.L18
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 97
	lea	rsi, .LC0[rip]
	lea	rdi, .LC13[rip]
	call	__assert_fail@PLT
.L18:
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	lea	rax, -48[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	test	eax, eax
	je	.L19
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 100
	lea	rsi, .LC0[rip]
	lea	rdi, .LC14[rip]
	call	__assert_fail@PLT
.L19:
	mov	rax, QWORD PTR -48[rbp]
	imul	rdx, rax, 1000000
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	sub	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	cmp	rax, QWORD PTR -88[rbp]
	ja	.L20
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 104
	lea	rsi, .LC0[rip]
	lea	rdi, .LC15[rip]
	call	__assert_fail@PLT
.L20:
	cmp	QWORD PTR -72[rbp], 489999
	jbe	.L21
	cmp	QWORD PTR -72[rbp], 510000
	jbe	.L25
.L21:
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 105
	lea	rsi, .LC0[rip]
	lea	rdi, .LC16[rip]
	call	__assert_fail@PLT
.L25:
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	main, .-main
	.section	.rodata
	.align 16
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 21
__PRETTY_FUNCTION__.1:
	.string	"_poll_forever_thread"
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"main"
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"1240973.c"
	.text
	.global	port
	.section	.rodata
	.align	1
	.type	port, %object
	.size	port, 2
port:
	.short	12345
	.global	num_clients
	.align	2
	.type	num_clients, %object
	.size	num_clients, 4
num_clients:
	.word	1
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_sleep_msec, %function
_sleep_msec:
	@ 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]
	ldr	r3, .L3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-24]
	ldr	r2, .L3+4
	umull	r1, r3, r2, r3
	lsr	r3, r3, #6
	str	r3, [fp, #-16]
	ldr	r1, [fp, #-24]
	ldr	r3, .L3+4
	umull	r2, r3, r1, r3
	lsr	r2, r3, #6
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r1, r3
	mov	r1, r2
	lsl	r1, r1, #5
	sub	r1, r1, r2
	lsl	r3, r1, #6
	sub	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #6
	str	r3, [fp, #-12]
	sub	r3, fp, #16
	mov	r1, #0
	mov	r0, r3
	bl	nanosleep
	nop
	ldr	r3, .L3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L2
	bl	__stack_chk_fail
.L2:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC0
	.word	274877907
	.size	_sleep_msec, .-_sleep_msec
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_server_thread_func, %function
_server_thread_func:
	@ 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, .L6
	mov	r2, #1
	mov	r1, r2
	mov	r0, r3
	bl	run_server
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	12345
	.size	_server_thread_func, .-_server_thread_func
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_client_thread_func, %function
_client_thread_func:
	@ 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, .L9
	mov	r0, r3
	bl	run_client
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	12345
	.size	_client_thread_func, .-_client_thread_func
	.section	.rodata
	.align	2
.LC1:
	.ascii	"the_stack_data/1240973.c\000"
	.align	2
.LC2:
	.ascii	"r == 0\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_poll_forever_thread, %function
_poll_forever_thread:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mvn	r2, #0
	mov	r1, #0
	mov	r0, #0
	bl	poll
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L12
	ldr	r3, .L14
	mov	r2, #49
	ldr	r1, .L14+4
	ldr	r0, .L14+8
	bl	__assert_fail
.L12:
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	__PRETTY_FUNCTION__.6422
	.word	.LC1
	.word	.LC2
	.size	_poll_forever_thread, .-_poll_forever_thread
	.section	.rodata
	.align	2
.LC3:
	.ascii	"/dev/null\000"
	.align	2
.LC4:
	.ascii	"/dev/urandom\000"
	.align	2
.LC5:
	.ascii	"ret == 2\000"
	.align	2
.LC6:
	.ascii	"fds[0].revents == POLLNVAL\000"
	.align	2
.LC7:
	.ascii	"fds[1].revents == POLLIN\000"
	.align	2
.LC8:
	.ascii	"poll(NULL, 1, 0) == -1\000"
	.align	2
.LC9:
	.ascii	"errno == EFAULT\000"
	.align	2
.LC10:
	.ascii	"poll((void*)1, 0, 0) == 0\000"
	.align	2
.LC11:
	.ascii	"pthread_create(&sthread, NULL, _server_thread_func,"
	.ascii	" NULL) == 0\000"
	.align	2
.LC12:
	.ascii	"pthread_create(&cthread, NULL, _client_thread_func,"
	.ascii	" NULL) == 0\000"
	.align	2
.LC13:
	.ascii	"gettimeofday(&tv0, NULL) == 0\000"
	.align	2
.LC14:
	.ascii	"poll(NULL, 0, 500) == 0\000"
	.align	2
.LC15:
	.ascii	"gettimeofday(&tv1, NULL) == 0\000"
	.align	2
.LC16:
	.ascii	"t1 > t0\000"
	.align	2
.LC17:
	.ascii	"delta >= 490000 && delta <= 510000\000"
	.align	2
.LC18:
	.ascii	"=== passed test (%s)\012\000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #96
	str	r0, [fp, #-104]
	str	r1, [fp, #-108]
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r1, #0
	ldr	r0, .L34+4
	bl	open
	str	r0, [fp, #-88]
	mov	r1, #0
	ldr	r0, .L34+8
	bl	open
	str	r0, [fp, #-84]
	ldr	r3, [fp, #-88]
	str	r3, [fp, #-32]
	mov	r3, #7
	strh	r3, [fp, #-28]	@ movhi
	ldr	r3, [fp, #-84]
	str	r3, [fp, #-24]
	mov	r3, #1
	strh	r3, [fp, #-20]	@ movhi
	ldr	r0, [fp, #-88]
	bl	close
	sub	r3, fp, #32
	mov	r2, #0
	mov	r1, #2
	mov	r0, r3
	bl	poll
	str	r0, [fp, #-80]
	ldr	r0, [fp, #-84]
	bl	close
	ldr	r3, [fp, #-80]
	cmp	r3, #2
	beq	.L17
	ldr	r3, .L34+12
	mov	r2, #72
	ldr	r1, .L34+16
	ldr	r0, .L34+20
	bl	__assert_fail
.L17:
	ldrsh	r3, [fp, #-26]
	cmp	r3, #32
	beq	.L18
	ldr	r3, .L34+12
	mov	r2, #73
	ldr	r1, .L34+16
	ldr	r0, .L34+24
	bl	__assert_fail
.L18:
	ldrsh	r3, [fp, #-18]
	cmp	r3, #1
	beq	.L19
	ldr	r3, .L34+12
	mov	r2, #74
	ldr	r1, .L34+16
	ldr	r0, .L34+28
	bl	__assert_fail
.L19:
	mov	r2, #0
	mov	r1, #1
	mov	r0, #0
	bl	poll
	mov	r3, r0
	cmn	r3, #1
	beq	.L20
	ldr	r3, .L34+12
	mov	r2, #78
	ldr	r1, .L34+16
	ldr	r0, .L34+32
	bl	__assert_fail
.L20:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #14
	beq	.L21
	ldr	r3, .L34+12
	mov	r2, #79
	ldr	r1, .L34+16
	ldr	r0, .L34+36
	bl	__assert_fail
.L21:
	mov	r2, #0
	mov	r1, #0
	mov	r0, #1
	bl	poll
	mov	r3, r0
	cmp	r3, #0
	beq	.L22
	ldr	r3, .L34+12
	mov	r2, #82
	ldr	r1, .L34+16
	ldr	r0, .L34+40
	bl	__assert_fail
.L22:
	sub	r0, fp, #96
	mov	r3, #0
	ldr	r2, .L34+44
	mov	r1, #0
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
	ldr	r3, .L34+12
	mov	r2, #84
	ldr	r1, .L34+16
	ldr	r0, .L34+48
	bl	__assert_fail
.L23:
	mov	r0, #100
	bl	_sleep_msec
	sub	r0, fp, #92
	mov	r3, #0
	ldr	r2, .L34+52
	mov	r1, #0
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L24
	ldr	r3, .L34+12
	mov	r2, #86
	ldr	r1, .L34+16
	ldr	r0, .L34+56
	bl	__assert_fail
.L24:
	ldr	r3, [fp, #-92]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-96]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-44]
	sub	r3, fp, #48
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	mov	r3, r0
	cmp	r3, #0
	beq	.L25
	ldr	r3, .L34+12
	mov	r2, #94
	ldr	r1, .L34+16
	ldr	r0, .L34+60
	bl	__assert_fail
.L25:
	ldr	r1, [fp, #-48]
	mov	r2, r1
	lsl	r2, r2, #5
	sub	r2, r2, r1
	lsl	r3, r2, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #6
	mov	r2, r3
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	mov	r2, #500
	mov	r1, #0
	mov	r0, #0
	bl	poll
	mov	r3, r0
	cmp	r3, #0
	beq	.L26
	ldr	r3, .L34+12
	mov	r2, #97
	ldr	r1, .L34+16
	ldr	r0, .L34+64
	bl	__assert_fail
.L26:
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	sub	r3, fp, #40
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	mov	r3, r0
	cmp	r3, #0
	beq	.L27
	ldr	r3, .L34+12
	mov	r2, #100
	ldr	r1, .L34+16
	ldr	r0, .L34+68
	bl	__assert_fail
.L27:
	ldr	r1, [fp, #-40]
	mov	r2, r1
	lsl	r2, r2, #5
	sub	r2, r2, r1
	lsl	r3, r2, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #6
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	subs	r4, r0, r2
	sbc	r5, r1, r3
	str	r4, [fp, #-60]
	str	r5, [fp, #-56]
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bhi	.L28
	ldr	r3, .L34+12
	mov	r2, #104
	ldr	r1, .L34+16
	ldr	r0, .L34+72
	bl	__assert_fail
.L28:
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	ldr	r0, .L34+76
	mov	r1, #0
	cmp	r3, r1
	cmpeq	r2, r0
	bcc	.L29
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	ldr	r0, .L34+80
	mov	r1, #0
	cmp	r3, r1
	cmpeq	r2, r0
	bls	.L33
.L29:
	ldr	r3, .L34+12
	mov	r2, #105
	ldr	r1, .L34+16
	ldr	r0, .L34+84
	bl	__assert_fail
.L33:
	ldr	r3, [fp, #-108]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L34+88
	bl	printf
	mov	r3, #0
	ldr	r2, .L34
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L32
	bl	__stack_chk_fail
.L32:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC19
	.word	.LC3
	.word	.LC4
	.word	__PRETTY_FUNCTION__.6433
	.word	.LC1
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	_server_thread_func
	.word	.LC11
	.word	_client_thread_func
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	490000
	.word	510000
	.word	.LC17
	.word	.LC18
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.6422, %object
	.size	__PRETTY_FUNCTION__.6422, 21
__PRETTY_FUNCTION__.6422:
	.ascii	"_poll_forever_thread\000"
	.align	2
	.type	__PRETTY_FUNCTION__.6433, %object
	.size	__PRETTY_FUNCTION__.6433, 5
__PRETTY_FUNCTION__.6433:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
