	.file	"130267.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Please input correct parameter:(eg thread c1)"
.LC1:
	.string	"c1"
.LC2:
	.string	"c2"
.LC3:
	.string	"c3"
.LC4:
	.string	"c4"
.LC5:
	.string	"Server thread create failed"
.LC6:
	.string	"Client thread create failed"
.LC7:
	.string	"Client thread exit failed"
.LC8:
	.string	"Server thread exit failed"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	DWORD PTR -68[rbp], edi
	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], 0
	mov	DWORD PTR -52[rbp], 0
	cmp	DWORD PTR -68[rbp], 2
	je	.L2
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L3
	lea	rax, client_sync_block[rip]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L4
.L3:
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L5
	lea	rax, client_sync_nonblock[rip]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L4
.L5:
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
	lea	rax, client_async_block[rip]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L4
.L6:
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L7
	lea	rax, client_async_nonblock[rip]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L4
.L7:
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	lea	rax, -48[rbp]
	mov	ecx, 0
	lea	rdx, server_thread[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -56[rbp], 0
	je	.L8
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L8:
	mov	edi, 1
	call	sleep@PLT
	mov	rdx, QWORD PTR -16[rbp]
	lea	rax, -40[rbp]
	mov	ecx, 0
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 0
	je	.L9
	lea	rdi, .LC6[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L9:
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pthread_join@PLT
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 0
	je	.L10
	lea	rdi, .LC7[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L10:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pthread_join@PLT
	mov	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -56[rbp], 0
	je	.L11
	lea	rdi, .LC8[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L11:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC9:
	.string	"sock_server"
.LC10:
	.string	"Server socket() failed"
.LC11:
	.string	"Server bind() failed"
.LC12:
	.string	"Srevet listen() failed"
.LC13:
	.string	"Server recv() failed"
.LC14:
	.string	"Server recv: %s\n"
.LC15:
	.string	"Server send: %s\n"
.LC16:
	.string	"Server send() failed"
	.text
	.globl	server_thread
	.type	server_thread, @function
server_thread:
.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, 432
	mov	QWORD PTR -424[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -408[rbp], 1
	lea	rax, -384[rbp]
	mov	edx, 110
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -384[rbp], 1
	lea	rdi, .LC9[rip]
	call	unlink@PLT
	lea	rax, -384[rbp]
	add	rax, 2
	movabs	rcx, 8243121546632327027
	mov	QWORD PTR [rax], rcx
	mov	DWORD PTR 8[rax], 7497078
	mov	edx, 0
	mov	esi, 1
	mov	edi, 1
	call	socket@PLT
	mov	DWORD PTR -404[rbp], eax
	cmp	DWORD PTR -404[rbp], 0
	jns	.L15
	lea	rdi, .LC10[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L15:
	lea	rdx, -408[rbp]
	mov	eax, DWORD PTR -404[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 2
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	lea	rcx, -384[rbp]
	mov	eax, DWORD PTR -404[rbp]
	mov	edx, 110
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	mov	DWORD PTR -400[rbp], eax
	cmp	DWORD PTR -400[rbp], 0
	jns	.L16
	lea	rdi, .LC11[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L16:
	mov	eax, DWORD PTR -404[rbp]
	mov	esi, 5
	mov	edi, eax
	call	listen@PLT
	mov	DWORD PTR -400[rbp], eax
	cmp	DWORD PTR -400[rbp], 0
	jns	.L17
	lea	rdi, .LC12[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L17:
	mov	eax, DWORD PTR -404[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -396[rbp], eax
	cmp	DWORD PTR -396[rbp], 0
	js	.L23
	lea	rax, -272[rbp]
	mov	edx, 128
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rsi, -272[rbp]
	mov	eax, DWORD PTR -396[rbp]
	mov	ecx, 0
	mov	edx, 128
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -392[rbp], eax
	cmp	DWORD PTR -392[rbp], 0
	jg	.L20
	lea	rdi, .LC13[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L20:
	mov	eax, DWORD PTR -392[rbp]
	cdqe
	mov	BYTE PTR -272[rbp+rax], 0
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 3
	call	sleep@PLT
	mov	BYTE PTR -144[rbp], 0
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -144[rbp]
	add	rax, rdx
	movabs	rcx, 28549297824621943
	mov	QWORD PTR [rax], rcx
	lea	rax, -144[rbp]
	mov	rsi, rax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rsi, -144[rbp]
	mov	eax, DWORD PTR -396[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	mov	DWORD PTR -388[rbp], eax
	cmp	DWORD PTR -388[rbp], 0
	jns	.L21
	lea	rdi, .LC16[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L21:
	mov	eax, DWORD PTR -396[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L17
.L23:
	nop
	jmp	.L17
	.cfi_endproc
.LFE7:
	.size	server_thread, .-server_thread
	.section	.rodata
.LC17:
	.string	"Client socket() failed"
.LC18:
	.string	"Client connent() failed"
.LC19:
	.string	"Client send: %s\n"
.LC20:
	.string	"Client send() failed"
.LC21:
	.string	"Client recv() failed"
.LC22:
	.string	"Client recv: %s\n"
	.text
	.globl	client_sync_block
	.type	client_sync_block, @function
client_sync_block:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 416
	mov	QWORD PTR -408[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -384[rbp]
	mov	edx, 110
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -384[rbp], 1
	lea	rax, -384[rbp]
	add	rax, 2
	movabs	rcx, 8243121546632327027
	mov	QWORD PTR [rax], rcx
	mov	DWORD PTR 8[rax], 7497078
	mov	edx, 0
	mov	esi, 1
	mov	edi, 1
	call	socket@PLT
	mov	DWORD PTR -400[rbp], eax
	cmp	DWORD PTR -400[rbp], 0
	jns	.L25
	lea	rdi, .LC17[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L25:
	lea	rcx, -384[rbp]
	mov	eax, DWORD PTR -400[rbp]
	mov	edx, 110
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	mov	DWORD PTR -396[rbp], eax
	cmp	DWORD PTR -396[rbp], 0
	jns	.L26
	lea	rdi, .LC18[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L26:
	lea	rax, -144[rbp]
	mov	edx, 128
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -144[rbp]
	movabs	rdx, 7960520399465291849
	movabs	rcx, 8319678406743713891
	mov	QWORD PTR [rax], rdx
	mov	QWORD PTR 8[rax], rcx
	mov	DWORD PTR 16[rax], 1869373984
	mov	WORD PTR 20[rax], 27491
	mov	BYTE PTR 22[rax], 0
	lea	rax, -144[rbp]
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, -144[rbp]
	mov	eax, DWORD PTR -400[rbp]
	mov	ecx, 0
	mov	edx, 128
	mov	edi, eax
	call	send@PLT
	mov	DWORD PTR -392[rbp], eax
	cmp	DWORD PTR -392[rbp], 0
	jns	.L27
	lea	rdi, .LC20[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L27:
	lea	rax, -272[rbp]
	mov	edx, 128
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rsi, -272[rbp]
	mov	eax, DWORD PTR -400[rbp]
	mov	ecx, 0
	mov	edx, 128
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -388[rbp], eax
	cmp	DWORD PTR -388[rbp], 0
	jns	.L28
	lea	rdi, .LC21[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L28:
	mov	eax, DWORD PTR -388[rbp]
	cdqe
	mov	BYTE PTR -272[rbp+rax], 0
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -400[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	client_sync_block, .-client_sync_block
	.section	.rodata
.LC23:
	.string	"Client2 socket() failed"
.LC24:
	.string	"Client2 connect failed"
.LC25:
	.string	"Client sending ..."
.LC26:
	.string	"Client recving ..."
	.text
	.globl	client_sync_nonblock
	.type	client_sync_nonblock, @function
client_sync_nonblock:
.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, 416
	mov	QWORD PTR -408[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -384[rbp]
	mov	edx, 110
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -384[rbp], 1
	lea	rax, -384[rbp]
	add	rax, 2
	movabs	rcx, 8243121546632327027
	mov	QWORD PTR [rax], rcx
	mov	DWORD PTR 8[rax], 7497078
	mov	edx, 0
	mov	esi, 1
	mov	edi, 1
	call	socket@PLT
	mov	DWORD PTR -400[rbp], eax
	cmp	DWORD PTR -400[rbp], 0
	jns	.L32
	lea	rdi, .LC23[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L32:
	mov	eax, DWORD PTR -400[rbp]
	mov	edx, 0
	mov	esi, 3
	mov	edi, eax
	mov	eax, 0
	call	fcntl@PLT
	mov	DWORD PTR -396[rbp], eax
	mov	eax, DWORD PTR -396[rbp]
	or	ah, 8
	mov	edx, eax
	mov	eax, DWORD PTR -400[rbp]
	mov	esi, edx
	mov	edi, eax
	mov	eax, 0
	call	fcntl@PLT
	lea	rcx, -384[rbp]
	mov	eax, DWORD PTR -400[rbp]
	mov	edx, 110
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	mov	DWORD PTR -392[rbp], eax
	cmp	DWORD PTR -392[rbp], 0
	jns	.L33
	lea	rdi, .LC24[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L33:
	lea	rax, -144[rbp]
	mov	edx, 128
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -144[rbp]
	movabs	rdx, 7960520399465291849
	movabs	rcx, 8319678406743713891
	mov	QWORD PTR [rax], rdx
	mov	QWORD PTR 8[rax], rcx
	movabs	rcx, 7165064702185139744
	mov	QWORD PTR 16[rax], rcx
	mov	WORD PTR 24[rax], 107
	lea	rax, -144[rbp]
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L34
.L35:
	lea	rdi, .LC25[rip]
	call	puts@PLT
	mov	edi, 1
	call	sleep@PLT
.L34:
	lea	rsi, -144[rbp]
	mov	eax, DWORD PTR -400[rbp]
	mov	ecx, 64
	mov	edx, 128
	mov	edi, eax
	call	send@PLT
	test	rax, rax
	js	.L35
	lea	rax, -272[rbp]
	mov	edx, 128
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	jmp	.L36
.L37:
	lea	rdi, .LC26[rip]
	call	puts@PLT
	mov	edi, 1
	call	sleep@PLT
.L36:
	lea	rsi, -272[rbp]
	mov	eax, DWORD PTR -400[rbp]
	mov	ecx, 64
	mov	edx, 128
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -388[rbp], eax
	cmp	DWORD PTR -388[rbp], 0
	js	.L37
	mov	eax, DWORD PTR -388[rbp]
	cdqe
	mov	BYTE PTR -272[rbp+rax], 0
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -400[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	client_sync_nonblock, .-client_sync_nonblock
	.section	.rodata
.LC27:
	.string	"Client3 socket() failed"
.LC28:
	.string	"Client3 connect() failed"
.LC29:
	.string	"Client3 send() failed"
.LC30:
	.string	"Client3 select() failed"
	.text
	.globl	client_async_block
	.type	client_async_block, @function
client_async_block:
.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, 560
	mov	QWORD PTR -552[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -512[rbp]
	mov	edx, 110
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -512[rbp], 1
	lea	rax, -512[rbp]
	add	rax, 2
	movabs	rcx, 8243121546632327027
	mov	QWORD PTR [rax], rcx
	mov	DWORD PTR 8[rax], 7497078
	mov	edx, 0
	mov	esi, 1
	mov	edi, 1
	call	socket@PLT
	mov	DWORD PTR -536[rbp], eax
	cmp	DWORD PTR -536[rbp], 0
	jns	.L41
	lea	rdi, .LC27[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L41:
	lea	rcx, -512[rbp]
	mov	eax, DWORD PTR -536[rbp]
	mov	edx, 110
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	mov	DWORD PTR -532[rbp], eax
	cmp	DWORD PTR -532[rbp], 0
	jns	.L42
	lea	rdi, .LC28[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L42:
	lea	rax, -144[rbp]
	mov	edx, 128
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -144[rbp]
	movabs	rsi, 8751445292812935241
	movabs	rdi, 8462103649792320366
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 8[rax], rdi
	movabs	rcx, 30227152718930035
	mov	QWORD PTR 16[rax], rcx
	lea	rax, -144[rbp]
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, -144[rbp]
	mov	eax, DWORD PTR -536[rbp]
	mov	ecx, 0
	mov	edx, 128
	mov	edi, eax
	call	send@PLT
	mov	DWORD PTR -528[rbp], eax
	cmp	DWORD PTR -528[rbp], 0
	jns	.L43
	lea	rdi, .LC29[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L43:
	mov	eax, 0
	mov	ecx, 16
	lea	rdx, -400[rbp]
	mov	rdi, rdx
#APP
# 206 "the_stack_data/130267.c" 1
	cld; rep; stosq
# 0 "" 2
#NO_APP
	mov	eax, edi
	mov	edx, ecx
	mov	DWORD PTR -524[rbp], edx
	mov	DWORD PTR -520[rbp], eax
	mov	eax, DWORD PTR -536[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -400[rbp+rax*8]
	mov	eax, DWORD PTR -536[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -400[rbp+rax*8], rdx
	mov	eax, DWORD PTR -536[rbp]
	lea	edi, 1[rax]
	lea	rax, -400[rbp]
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 0
	mov	rsi, rax
	call	select@PLT
	mov	DWORD PTR -532[rbp], eax
	cmp	DWORD PTR -532[rbp], 0
	jns	.L44
	lea	rdi, .LC30[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L44:
	cmp	DWORD PTR -532[rbp], 0
	je	.L50
	mov	eax, DWORD PTR -536[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	cdqe
	mov	rsi, QWORD PTR -400[rbp+rax*8]
	mov	eax, DWORD PTR -536[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	and	rax, rsi
	test	rax, rax
	je	.L43
	lea	rax, -272[rbp]
	mov	edx, 128
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rsi, -272[rbp]
	mov	eax, DWORD PTR -536[rbp]
	mov	ecx, 64
	mov	edx, 128
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -516[rbp], eax
	mov	eax, DWORD PTR -516[rbp]
	cdqe
	mov	BYTE PTR -272[rbp+rax], 0
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L46
.L50:
	nop
.L46:
	mov	eax, DWORD PTR -536[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L49
	call	__stack_chk_fail@PLT
.L49:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	client_async_block, .-client_async_block
	.section	.rodata
.LC31:
	.string	"Client4 socket() failed"
.LC32:
	.string	"Client4 connect() failed"
.LC33:
	.string	"Client4 aio_write failed"
.LC34:
	.string	"Client4 aio_read failed"
.LC35:
	.string	"sleep..."
	.text
	.globl	client_async_nonblock
	.type	client_async_nonblock, @function
client_async_nonblock:
.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, 928
	mov	QWORD PTR -920[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -896[rbp]
	mov	edx, 110
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -896[rbp], 1
	lea	rax, -896[rbp]
	add	rax, 2
	movabs	rcx, 8243121546632327027
	mov	QWORD PTR [rax], rcx
	mov	DWORD PTR 8[rax], 7497078
	mov	edx, 0
	mov	esi, 1
	mov	edi, 1
	call	socket@PLT
	mov	DWORD PTR -904[rbp], eax
	cmp	DWORD PTR -904[rbp], 0
	jns	.L52
	lea	rdi, .LC31[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L52:
	lea	rcx, -896[rbp]
	mov	eax, DWORD PTR -904[rbp]
	mov	edx, 110
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	mov	DWORD PTR -900[rbp], eax
	cmp	DWORD PTR -900[rbp], 0
	jns	.L53
	lea	rdi, .LC32[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L53:
	lea	rax, -448[rbp]
	mov	edx, 168
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -144[rbp]
	mov	QWORD PTR -432[rbp], rax
	mov	eax, DWORD PTR -904[rbp]
	mov	DWORD PTR -448[rbp], eax
	mov	QWORD PTR -424[rbp], 128
	lea	rax, -144[rbp]
	mov	edx, 128
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -144[rbp]
	movabs	rdx, 8751445292812935241
	movabs	rcx, 8462103649792320366
	mov	QWORD PTR [rax], rdx
	mov	QWORD PTR 8[rax], rcx
	movabs	rcx, 8028900462150164595
	mov	QWORD PTR 16[rax], rcx
	mov	WORD PTR 24[rax], 27491
	mov	BYTE PTR 26[rax], 0
	mov	rax, QWORD PTR -432[rbp]
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -448[rbp]
	mov	rdi, rax
	call	aio_write@PLT
	mov	DWORD PTR -900[rbp], eax
	cmp	DWORD PTR -900[rbp], 0
	jns	.L61
	lea	rdi, .LC33[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L61:
	nop
.L55:
	lea	rax, -448[rbp]
	mov	rdi, rax
	call	aio_error@PLT
	cmp	eax, 115
	je	.L55
	lea	rax, -448[rbp]
	mov	rdi, rax
	call	aio_return@PLT
	mov	DWORD PTR -900[rbp], eax
	lea	rax, -784[rbp]
	add	rax, 8
	mov	rdi, rax
	call	sigemptyset@PLT
	mov	DWORD PTR -648[rbp], 4
	lea	rax, aio_completion_handler[rip]
	mov	QWORD PTR -784[rbp], rax
	lea	rax, -624[rbp]
	mov	edx, 168
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -272[rbp]
	mov	QWORD PTR -608[rbp], rax
	mov	eax, DWORD PTR -904[rbp]
	mov	DWORD PTR -624[rbp], eax
	mov	QWORD PTR -600[rbp], 128
	mov	QWORD PTR -496[rbp], 0
	mov	DWORD PTR -580[rbp], 0
	mov	DWORD PTR -584[rbp], 29
	lea	rax, -624[rbp]
	mov	QWORD PTR -592[rbp], rax
	lea	rax, -784[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 29
	call	sigaction@PLT
	mov	DWORD PTR -900[rbp], eax
	lea	rax, -272[rbp]
	mov	edx, 4
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -624[rbp]
	mov	rdi, rax
	call	aio_read@PLT
	mov	DWORD PTR -900[rbp], eax
	cmp	DWORD PTR -900[rbp], 0
	jns	.L56
	lea	rdi, .LC34[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L56:
	mov	DWORD PTR -908[rbp], 0
	jmp	.L57
.L58:
	lea	rdi, .LC35[rip]
	call	puts@PLT
	mov	edi, 1
	call	sleep@PLT
	add	DWORD PTR -908[rbp], 1
.L57:
	cmp	DWORD PTR -908[rbp], 4
	jle	.L58
	mov	eax, DWORD PTR -904[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L60
	call	__stack_chk_fail@PLT
.L60:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	client_async_nonblock, .-client_async_nonblock
	.globl	aio_completion_handler
	.type	aio_completion_handler, @function
aio_completion_handler:
.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, 48
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 29
	jne	.L65
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	aio_error@PLT
	test	eax, eax
	jne	.L65
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	aio_return@PLT
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L65:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	aio_completion_handler, .-aio_completion_handler
	.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	"130267.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Please input correct parameter:(eg thread c1)\000"
	.align	2
.LC1:
	.ascii	"c1\000"
	.align	2
.LC2:
	.ascii	"c2\000"
	.align	2
.LC3:
	.ascii	"c3\000"
	.align	2
.LC4:
	.ascii	"c4\000"
	.align	2
.LC5:
	.ascii	"Server thread create failed\000"
	.align	2
.LC6:
	.ascii	"Client thread create failed\000"
	.align	2
.LC7:
	.ascii	"Client thread exit failed\000"
	.align	2
.LC8:
	.ascii	"Server thread exit failed\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-40]
	cmp	r3, #2
	beq	.L2
	ldr	r0, .L14+4
	bl	perror
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L14+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L3
	ldr	r3, .L14+12
	str	r3, [fp, #-20]
	b	.L4
.L3:
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L14+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	ldr	r3, .L14+20
	str	r3, [fp, #-20]
	b	.L4
.L5:
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L14+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	ldr	r3, .L14+28
	str	r3, [fp, #-20]
	b	.L4
.L6:
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L14+32
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	ldr	r3, .L14+36
	str	r3, [fp, #-20]
	b	.L4
.L7:
	ldr	r0, .L14+4
	bl	perror
	mov	r0, #1
	bl	exit
.L4:
	sub	r0, fp, #36
	mov	r3, #0
	ldr	r2, .L14+40
	mov	r1, #0
	bl	pthread_create
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L8
	ldr	r0, .L14+44
	bl	perror
	mov	r0, #1
	bl	exit
.L8:
	mov	r0, #1
	bl	sleep
	sub	r0, fp, #32
	mov	r3, #0
	ldr	r2, [fp, #-20]
	mov	r1, #0
	bl	pthread_create
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L9
	ldr	r0, .L14+48
	bl	perror
	mov	r0, #1
	bl	exit
.L9:
	ldr	r3, [fp, #-32]
	sub	r2, fp, #24
	mov	r1, r2
	mov	r0, r3
	bl	pthread_join
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L10
	ldr	r0, .L14+52
	bl	perror
	mov	r0, #1
	bl	exit
.L10:
	ldr	r3, [fp, #-36]
	sub	r2, fp, #28
	mov	r1, r2
	mov	r0, r3
	bl	pthread_join
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L11
	ldr	r0, .L14+56
	bl	perror
	mov	r0, #1
	bl	exit
.L11:
	mov	r3, #0
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC9
	.word	.LC0
	.word	.LC1
	.word	client_sync_block
	.word	.LC2
	.word	client_sync_nonblock
	.word	.LC3
	.word	client_async_block
	.word	.LC4
	.word	client_async_nonblock
	.word	server_thread
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.section	.rodata
	.align	2
.LC10:
	.ascii	"sock_server\000"
	.align	2
.LC11:
	.ascii	"Server socket() failed\000"
	.align	2
.LC12:
	.ascii	"Server bind() failed\000"
	.align	2
.LC13:
	.ascii	"Srevet listen() failed\000"
	.align	2
.LC14:
	.ascii	"Server recv() failed\000"
	.align	2
.LC15:
	.ascii	"Server recv: %s\012\000"
	.align	2
.LC16:
	.ascii	"welcome\000"
	.align	2
.LC17:
	.ascii	"Server send: %s\012\000"
	.align	2
.LC18:
	.ascii	"Server send() failed\000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	server_thread
	.syntax unified
	.arm
	.fpu softvfp
	.type	server_thread, %function
server_thread:
	@ args = 0, pretend = 0, frame = 408
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #416
	str	r0, [fp, #-408]
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-400]
	sub	r3, fp, #376
	mov	r2, #110
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4
	sub	r3, r3, #372
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	ldr	r0, .L26+4
	bl	unlink
	sub	r3, fp, #376
	add	r3, r3, #2
	ldr	r2, .L26+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #12
	mov	r2, r3
	bl	memcpy
	mov	r2, #0
	mov	r1, #1
	mov	r0, #1
	bl	socket
	str	r0, [fp, #-396]
	ldr	r3, [fp, #-396]
	cmp	r3, #0
	bge	.L17
	ldr	r0, .L26+8
	bl	perror
	mov	r0, #1
	bl	exit
.L17:
	sub	r3, fp, #400
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, [fp, #-396]
	bl	setsockopt
	sub	r3, fp, #376
	mov	r2, #110
	mov	r1, r3
	ldr	r0, [fp, #-396]
	bl	bind
	str	r0, [fp, #-392]
	ldr	r3, [fp, #-392]
	cmp	r3, #0
	bge	.L18
	ldr	r0, .L26+12
	bl	perror
	mov	r0, #1
	bl	exit
.L18:
	mov	r1, #5
	ldr	r0, [fp, #-396]
	bl	listen
	str	r0, [fp, #-392]
	ldr	r3, [fp, #-392]
	cmp	r3, #0
	bge	.L19
	ldr	r0, .L26+16
	bl	perror
	mov	r0, #1
	bl	exit
.L19:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-396]
	bl	accept
	str	r0, [fp, #-388]
	ldr	r3, [fp, #-388]
	cmp	r3, #0
	blt	.L25
	sub	r3, fp, #264
	mov	r2, #128
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r1, fp, #264
	mov	r3, #0
	mov	r2, #128
	ldr	r0, [fp, #-388]
	bl	recv
	str	r0, [fp, #-384]
	ldr	r3, [fp, #-384]
	cmp	r3, #0
	bgt	.L22
	ldr	r0, .L26+20
	bl	perror
	mov	r0, #1
	bl	exit
.L22:
	sub	r2, fp, #264
	ldr	r3, [fp, #-384]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L26+24
	bl	printf
	mov	r0, #3
	bl	sleep
	mov	r3, #0
	strb	r3, [fp, #-136]
	sub	r3, fp, #136
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #136
	add	r3, r3, r2
	ldr	r2, .L26+28
	mov	r0, r3
	mov	r1, r2
	mov	r3, #8
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #136
	mov	r1, r3
	ldr	r0, .L26+32
	bl	printf
	sub	r3, fp, #136
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r1, fp, #136
	mov	r3, #0
	ldr	r0, [fp, #-388]
	bl	send
	str	r0, [fp, #-380]
	ldr	r3, [fp, #-380]
	cmp	r3, #0
	bge	.L23
	ldr	r0, .L26+36
	bl	perror
	mov	r0, #1
	bl	exit
.L23:
	ldr	r0, [fp, #-388]
	bl	close
	b	.L19
.L25:
	nop
	b	.L19
.L27:
	.align	2
.L26:
	.word	.LC19
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.size	server_thread, .-server_thread
	.section	.rodata
	.align	2
.LC20:
	.ascii	"Client socket() failed\000"
	.align	2
.LC21:
	.ascii	"Client connent() failed\000"
	.align	2
.LC22:
	.ascii	"I am synchronous block\000"
	.align	2
.LC23:
	.ascii	"Client send: %s\012\000"
	.align	2
.LC24:
	.ascii	"Client send() failed\000"
	.align	2
.LC25:
	.ascii	"Client recv() failed\000"
	.align	2
.LC26:
	.ascii	"Client recv: %s\012\000"
	.align	2
.LC27:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	client_sync_block
	.syntax unified
	.arm
	.fpu softvfp
	.type	client_sync_block, %function
client_sync_block:
	@ args = 0, pretend = 0, frame = 400
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #400
	str	r0, [fp, #-400]
	ldr	r3, .L35
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #376
	mov	r2, #110
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4
	sub	r3, r3, #372
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #376
	add	r3, r3, #2
	ldr	r2, .L35+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #12
	mov	r2, r3
	bl	memcpy
	mov	r2, #0
	mov	r1, #1
	mov	r0, #1
	bl	socket
	str	r0, [fp, #-392]
	ldr	r3, [fp, #-392]
	cmp	r3, #0
	bge	.L29
	ldr	r0, .L35+8
	bl	perror
	mov	r0, #1
	bl	exit
.L29:
	sub	r3, fp, #376
	mov	r2, #110
	mov	r1, r3
	ldr	r0, [fp, #-392]
	bl	connect
	str	r0, [fp, #-388]
	ldr	r3, [fp, #-388]
	cmp	r3, #0
	bge	.L30
	ldr	r0, .L35+12
	bl	perror
	mov	r0, #1
	bl	exit
.L30:
	sub	r3, fp, #136
	mov	r2, #128
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #136
	ldr	r2, .L35+16
	mov	ip, r3
	mov	lr, r2
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	str	r0, [ip]
	add	ip, ip, #4
	strh	r1, [ip]	@ movhi
	add	ip, ip, #2
	lsr	r3, r1, #16
	strb	r3, [ip]
	sub	r3, fp, #136
	mov	r1, r3
	ldr	r0, .L35+20
	bl	printf
	sub	r1, fp, #136
	mov	r3, #0
	mov	r2, #128
	ldr	r0, [fp, #-392]
	bl	send
	str	r0, [fp, #-384]
	ldr	r3, [fp, #-384]
	cmp	r3, #0
	bge	.L31
	ldr	r0, .L35+24
	bl	perror
	mov	r0, #1
	bl	exit
.L31:
	sub	r3, fp, #264
	mov	r2, #128
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r1, fp, #264
	mov	r3, #0
	mov	r2, #128
	ldr	r0, [fp, #-392]
	bl	recv
	str	r0, [fp, #-380]
	ldr	r3, [fp, #-380]
	cmp	r3, #0
	bge	.L32
	ldr	r0, .L35+28
	bl	perror
	mov	r0, #1
	bl	exit
.L32:
	sub	r2, fp, #264
	ldr	r3, [fp, #-380]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L35+32
	bl	printf
	ldr	r0, [fp, #-392]
	bl	close
	mov	r3, #0
	ldr	r2, .L35
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L34
	bl	__stack_chk_fail
.L34:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC27
	.word	.LC10
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.size	client_sync_block, .-client_sync_block
	.section	.rodata
	.align	2
.LC28:
	.ascii	"Client2 socket() failed\000"
	.align	2
.LC29:
	.ascii	"Client2 connect failed\000"
	.align	2
.LC30:
	.ascii	"I am synchronous nonblock\000"
	.align	2
.LC31:
	.ascii	"Client sending ...\000"
	.align	2
.LC32:
	.ascii	"Client recving ...\000"
	.align	2
.LC33:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	client_sync_nonblock
	.syntax unified
	.arm
	.fpu softvfp
	.type	client_sync_nonblock, %function
client_sync_nonblock:
	@ args = 0, pretend = 0, frame = 400
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #400
	str	r0, [fp, #-400]
	ldr	r3, .L46
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #376
	mov	r2, #110
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4
	sub	r3, r3, #372
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #376
	add	r3, r3, #2
	ldr	r2, .L46+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #12
	mov	r2, r3
	bl	memcpy
	mov	r2, #0
	mov	r1, #1
	mov	r0, #1
	bl	socket
	str	r0, [fp, #-392]
	ldr	r3, [fp, #-392]
	cmp	r3, #0
	bge	.L38
	ldr	r0, .L46+8
	bl	perror
	mov	r0, #1
	bl	exit
.L38:
	mov	r2, #0
	mov	r1, #3
	ldr	r0, [fp, #-392]
	bl	fcntl
	str	r0, [fp, #-388]
	ldr	r3, [fp, #-388]
	orr	r3, r3, #2048
	mov	r1, r3
	ldr	r0, [fp, #-392]
	bl	fcntl
	sub	r3, fp, #376
	mov	r2, #110
	mov	r1, r3
	ldr	r0, [fp, #-392]
	bl	connect
	str	r0, [fp, #-384]
	ldr	r3, [fp, #-384]
	cmp	r3, #0
	bge	.L39
	ldr	r0, .L46+12
	bl	perror
	mov	r0, #1
	bl	exit
.L39:
	sub	r3, fp, #136
	mov	r2, #128
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #136
	ldr	r2, .L46+16
	mov	ip, r3
	mov	lr, r2
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stmia	ip!, {r0, r1}
	strh	r2, [ip]	@ movhi
	sub	r3, fp, #136
	mov	r1, r3
	ldr	r0, .L46+20
	bl	printf
	b	.L40
.L41:
	ldr	r0, .L46+24
	bl	puts
	mov	r0, #1
	bl	sleep
.L40:
	sub	r1, fp, #136
	mov	r3, #64
	mov	r2, #128
	ldr	r0, [fp, #-392]
	bl	send
	mov	r3, r0
	cmp	r3, #0
	blt	.L41
	sub	r3, fp, #264
	mov	r2, #128
	mov	r1, #0
	mov	r0, r3
	bl	memset
	b	.L42
.L43:
	ldr	r0, .L46+28
	bl	puts
	mov	r0, #1
	bl	sleep
.L42:
	sub	r1, fp, #264
	mov	r3, #64
	mov	r2, #128
	ldr	r0, [fp, #-392]
	bl	recv
	str	r0, [fp, #-380]
	ldr	r3, [fp, #-380]
	cmp	r3, #0
	blt	.L43
	sub	r2, fp, #264
	ldr	r3, [fp, #-380]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L46+32
	bl	printf
	ldr	r0, [fp, #-392]
	bl	close
	mov	r3, #0
	ldr	r2, .L46
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L45
	bl	__stack_chk_fail
.L45:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	.LC33
	.word	.LC10
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC23
	.word	.LC31
	.word	.LC32
	.word	.LC26
	.size	client_sync_nonblock, .-client_sync_nonblock
	.section	.rodata
	.align	2
.LC34:
	.ascii	"Client3 socket() failed\000"
	.align	2
.LC35:
	.ascii	"Client3 connect() failed\000"
	.align	2
.LC36:
	.ascii	"I am asynchronous block\000"
	.align	2
.LC37:
	.ascii	"Client3 send() failed\000"
	.align	2
.LC38:
	.ascii	"Client3 select() failed\000"
	.align	2
.LC39:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	client_async_block
	.syntax unified
	.arm
	.fpu softvfp
	.type	client_async_block, %function
client_async_block:
	@ args = 0, pretend = 0, frame = 536
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #544
	str	r0, [fp, #-536]
	ldr	r3, .L61
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #504
	mov	r2, #110
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4
	sub	r3, r3, #500
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #504
	add	r3, r3, #2
	ldr	r2, .L61+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #12
	mov	r2, r3
	bl	memcpy
	mov	r2, #0
	mov	r1, #1
	mov	r0, #1
	bl	socket
	str	r0, [fp, #-524]
	ldr	r3, [fp, #-524]
	cmp	r3, #0
	bge	.L49
	ldr	r0, .L61+8
	bl	perror
	mov	r0, #1
	bl	exit
.L49:
	sub	r3, fp, #504
	mov	r2, #110
	mov	r1, r3
	ldr	r0, [fp, #-524]
	bl	connect
	str	r0, [fp, #-520]
	ldr	r3, [fp, #-520]
	cmp	r3, #0
	bge	.L50
	ldr	r0, .L61+12
	bl	perror
	mov	r0, #1
	bl	exit
.L50:
	sub	r3, fp, #136
	mov	r2, #128
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #136
	ldr	r2, .L61+16
	mov	ip, r3
	mov	lr, r2
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	sub	r3, fp, #136
	mov	r1, r3
	ldr	r0, .L61+20
	bl	printf
	sub	r1, fp, #136
	mov	r3, #0
	mov	r2, #128
	ldr	r0, [fp, #-524]
	bl	send
	str	r0, [fp, #-516]
	ldr	r3, [fp, #-516]
	cmp	r3, #0
	bge	.L51
	ldr	r0, .L61+24
	bl	perror
	mov	r0, #1
	bl	exit
.L51:
	sub	r3, fp, #392
	str	r3, [fp, #-512]
	mov	r3, #0
	str	r3, [fp, #-528]
	b	.L52
.L53:
	ldr	r3, [fp, #-512]
	ldr	r2, [fp, #-528]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-528]
	add	r3, r3, #1
	str	r3, [fp, #-528]
.L52:
	ldr	r3, [fp, #-528]
	cmp	r3, #31
	bls	.L53
	ldr	r3, [fp, #-524]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r1, [r3, #-388]
	ldr	r3, [fp, #-524]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	orr	r1, r1, r3
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-388]
	ldr	r3, [fp, #-524]
	add	r0, r3, #1
	sub	r1, fp, #392
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	select
	str	r0, [fp, #-520]
	ldr	r3, [fp, #-520]
	cmp	r3, #0
	bge	.L54
	ldr	r0, .L61+28
	bl	perror
	mov	r0, #1
	bl	exit
.L54:
	ldr	r3, [fp, #-520]
	cmp	r3, #0
	beq	.L60
	ldr	r3, [fp, #-524]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-388]
	ldr	r3, [fp, #-524]
	rsbs	r1, r3, #0
	and	r3, r3, #31
	and	r1, r1, #31
	rsbpl	r3, r1, #0
	mov	r1, #1
	lsl	r3, r1, r3
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L51
	sub	r3, fp, #264
	mov	r2, #128
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r1, fp, #264
	mov	r3, #64
	mov	r2, #128
	ldr	r0, [fp, #-524]
	bl	recv
	str	r0, [fp, #-508]
	sub	r2, fp, #264
	ldr	r3, [fp, #-508]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L61+32
	bl	printf
	b	.L56
.L60:
	nop
.L56:
	ldr	r0, [fp, #-524]
	bl	close
	mov	r3, #0
	ldr	r2, .L61
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L59
	bl	__stack_chk_fail
.L59:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L62:
	.align	2
.L61:
	.word	.LC39
	.word	.LC10
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC23
	.word	.LC37
	.word	.LC38
	.word	.LC26
	.size	client_async_block, .-client_async_block
	.section	.rodata
	.align	2
.LC40:
	.ascii	"Client4 socket() failed\000"
	.align	2
.LC41:
	.ascii	"Client4 connect() failed\000"
	.align	2
.LC42:
	.ascii	"I am asynchronous nonblock\000"
	.align	2
.LC43:
	.ascii	"Client4 aio_write failed\000"
	.align	2
.LC44:
	.ascii	"Client4 aio_read failed\000"
	.align	2
.LC45:
	.ascii	"sleep...\000"
	.align	2
.LC46:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	client_async_nonblock
	.syntax unified
	.arm
	.fpu softvfp
	.type	client_async_nonblock, %function
client_async_nonblock:
	@ args = 0, pretend = 0, frame = 824
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #824
	str	r0, [fp, #-824]
	ldr	r3, .L74
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #804
	mov	r2, #110
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4
	sub	r3, r3, #800
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #804
	add	r3, r3, #2
	ldr	r2, .L74+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #12
	mov	r2, r3
	bl	memcpy
	mov	r2, #0
	mov	r1, #1
	mov	r0, #1
	bl	socket
	str	r0, [fp, #-812]
	ldr	r3, [fp, #-812]
	cmp	r3, #0
	bge	.L64
	ldr	r0, .L74+8
	bl	perror
	mov	r0, #1
	bl	exit
.L64:
	sub	r3, fp, #804
	mov	r2, #110
	mov	r1, r3
	ldr	r0, [fp, #-812]
	bl	connect
	str	r0, [fp, #-808]
	ldr	r3, [fp, #-808]
	cmp	r3, #0
	bge	.L65
	ldr	r0, .L74+12
	bl	perror
	mov	r0, #1
	bl	exit
.L65:
	sub	r3, fp, #408
	mov	r2, #144
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #136
	str	r3, [fp, #-396]
	ldr	r3, [fp, #-812]
	str	r3, [fp, #-408]
	mov	r3, #128
	str	r3, [fp, #-392]
	sub	r3, fp, #136
	mov	r2, #128
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #136
	ldr	r2, .L74+16
	mov	ip, r3
	mov	lr, r2
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stmia	ip!, {r0, r1}
	strh	r2, [ip]	@ movhi
	add	ip, ip, #2
	lsr	r3, r2, #16
	strb	r3, [ip]
	ldr	r3, [fp, #-396]
	mov	r1, r3
	ldr	r0, .L74+20
	bl	printf
	sub	r3, fp, #408
	mov	r0, r3
	bl	aio_write
	str	r0, [fp, #-808]
	ldr	r3, [fp, #-808]
	cmp	r3, #0
	bge	.L73
	ldr	r0, .L74+24
	bl	perror
	mov	r0, #1
	bl	exit
.L73:
	nop
.L67:
	sub	r3, fp, #408
	mov	r0, r3
	bl	aio_error
	mov	r3, r0
	cmp	r3, #115
	beq	.L67
	sub	r3, fp, #408
	mov	r0, r3
	bl	aio_return
	str	r0, [fp, #-808]
	sub	r3, fp, #692
	add	r3, r3, #4
	mov	r0, r3
	bl	sigemptyset
	mov	r3, #4
	str	r3, [fp, #-560]
	ldr	r3, .L74+28
	str	r3, [fp, #-692]
	sub	r3, fp, #552
	mov	r2, #144
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #264
	str	r3, [fp, #-540]
	ldr	r3, [fp, #-812]
	str	r3, [fp, #-552]
	mov	r3, #128
	str	r3, [fp, #-536]
	mov	r3, #0
	str	r3, [fp, #-448]
	mov	r3, #0
	str	r3, [fp, #-524]
	mov	r3, #29
	str	r3, [fp, #-528]
	sub	r3, fp, #552
	str	r3, [fp, #-532]
	sub	r3, fp, #692
	mov	r2, #0
	mov	r1, r3
	mov	r0, #29
	bl	sigaction
	str	r0, [fp, #-808]
	sub	r3, fp, #264
	mov	r2, #4
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #552
	mov	r0, r3
	bl	aio_read
	str	r0, [fp, #-808]
	ldr	r3, [fp, #-808]
	cmp	r3, #0
	bge	.L68
	ldr	r0, .L74+32
	bl	perror
	mov	r0, #1
	bl	exit
.L68:
	mov	r3, #0
	str	r3, [fp, #-816]
	b	.L69
.L70:
	ldr	r0, .L74+36
	bl	puts
	mov	r0, #1
	bl	sleep
	ldr	r3, [fp, #-816]
	add	r3, r3, #1
	str	r3, [fp, #-816]
.L69:
	ldr	r3, [fp, #-816]
	cmp	r3, #4
	ble	.L70
	ldr	r0, [fp, #-812]
	bl	close
	mov	r3, #0
	ldr	r2, .L74
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L72
	bl	__stack_chk_fail
.L72:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L75:
	.align	2
.L74:
	.word	.LC46
	.word	.LC10
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	.LC23
	.word	.LC43
	.word	aio_completion_handler
	.word	.LC44
	.word	.LC45
	.size	client_async_nonblock, .-client_async_nonblock
	.align	2
	.global	aio_completion_handler
	.syntax unified
	.arm
	.fpu softvfp
	.type	aio_completion_handler, %function
aio_completion_handler:
	@ 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, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	cmp	r3, #29
	bne	.L79
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	aio_error
	mov	r3, r0
	cmp	r3, #0
	bne	.L79
	ldr	r0, [fp, #-12]
	bl	aio_return
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #12]
	mov	r1, r3
	ldr	r0, .L80
	bl	printf
	nop
.L79:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L81:
	.align	2
.L80:
	.word	.LC26
	.size	aio_completion_handler, .-aio_completion_handler
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
