	.file	"20449303.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"21:52:14"
.LC1:
	.string	"Dec 18 2024"
.LC2:
	.string	"ERROR"
	.align 8
.LC3:
	.string	"[%s][%s %s - line:%d]socket failed,errno=%d\n"
	.align 8
.LC4:
	.string	"[%s][%s %s - line:%d]setsockopt failed,errno=%d\n"
	.align 8
.LC5:
	.string	"[%s][%s %s - line:%d]bind failed,errno=%d\n"
	.align 8
.LC6:
	.string	"[%s][%s %s - line:%d]listen failed,errno=%d\n"
.LC7:
	.string	"INFO "
	.align 8
.LC8:
	.string	"[%s][%s %s - line:%d]create_and_listen end ,server_fd=%d\n"
	.text
	.globl	create_and_listen
	.type	create_and_listen, @function
create_and_listen:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	eax, esi
	mov	WORD PTR -60[rbp], ax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -40[rbp], eax
	cmp	DWORD PTR -40[rbp], 0
	jns	.L2
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	sub	rsp, 8
	push	rdx
	mov	r9d, 36
	lea	r8, .LC0[rip]
	lea	rcx, .LC1[rip]
	lea	rdx, .LC2[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	eax, -1
	jmp	.L7
.L2:
	lea	rax, -32[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	inet_addr@PLT
	mov	DWORD PTR -28[rbp], eax
	movzx	eax, WORD PTR -60[rbp]
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -30[rbp], ax
	mov	WORD PTR -32[rbp], 2
	mov	DWORD PTR -44[rbp], 1
	mov	DWORD PTR -36[rbp], 4
	mov	ecx, DWORD PTR -36[rbp]
	lea	rdx, -44[rbp]
	mov	eax, DWORD PTR -40[rbp]
	mov	r8d, ecx
	mov	rcx, rdx
	mov	edx, 2
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	cmp	eax, -1
	jne	.L4
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	sub	rsp, 8
	push	rdx
	mov	r9d, 52
	lea	r8, .LC0[rip]
	lea	rcx, .LC1[rip]
	lea	rdx, .LC2[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	eax, DWORD PTR -40[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, -1
	jmp	.L7
.L4:
	lea	rcx, -32[rbp]
	mov	eax, DWORD PTR -40[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	cmp	eax, -1
	jne	.L5
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	sub	rsp, 8
	push	rdx
	mov	r9d, 60
	lea	r8, .LC0[rip]
	lea	rcx, .LC1[rip]
	lea	rdx, .LC2[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	eax, DWORD PTR -40[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, -1
	jmp	.L7
.L5:
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, 15
	mov	edi, eax
	call	listen@PLT
	cmp	eax, -1
	jne	.L6
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	sub	rsp, 8
	push	rdx
	mov	r9d, 68
	lea	r8, .LC0[rip]
	lea	rcx, .LC1[rip]
	lea	rdx, .LC2[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	eax, DWORD PTR -40[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, -1
	jmp	.L7
.L6:
	mov	rax, QWORD PTR stderr[rip]
	sub	rsp, 8
	mov	edx, DWORD PTR -40[rbp]
	push	rdx
	mov	r9d, 73
	lea	r8, .LC0[rip]
	lea	rcx, .LC1[rip]
	lea	rdx, .LC7[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	eax, DWORD PTR -40[rbp]
.L7:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	create_and_listen, .-create_and_listen
	.section	.rodata
	.align 8
.LC9:
	.string	"[%s][%s %s - line:%d]getpeername failed,client_fd=%d,errno=%d\n"
	.align 8
.LC10:
	.string	"[%s][%s %s - line:%d]read failed,client_fd\n"
	.align 8
.LC11:
	.string	"[%s][%s %s - line:%d]read EOF,client_fd\n"
	.align 8
.LC12:
	.string	"[%s][%s %s - line:%d]recv and echo msg success,msg=%s\n"
	.align 8
.LC13:
	.string	"[%s][%s %s - line:%d]send failed,read_size=%d,send_size=%d,msg=%s\n"
	.text
	.globl	doClient
	.type	doClient, @function
doClient:
.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, 1088
	mov	DWORD PTR -1076[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1068[rbp], 0
	lea	rax, -1056[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -1072[rbp], 0
	lea	rdx, -1072[rbp]
	lea	rcx, -1056[rbp]
	mov	eax, DWORD PTR -1076[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	getpeername@PLT
	cmp	eax, -1
	jne	.L10
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	push	rdx
	mov	edx, DWORD PTR -1076[rbp]
	push	rdx
	mov	r9d, 89
	lea	r8, .LC0[rip]
	lea	rcx, .LC1[rip]
	lea	rdx, .LC2[rip]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	eax, -1
	jmp	.L18
.L10:
	mov	QWORD PTR -1040[rbp], 0
	mov	QWORD PTR -1032[rbp], 0
	lea	rdx, -1024[rbp]
	mov	eax, 0
	mov	ecx, 126
	mov	rdi, rdx
	rep stosq
	mov	DWORD PTR -1064[rbp], 0
	mov	DWORD PTR -1060[rbp], 0
	lea	rsi, -1040[rbp]
	mov	eax, DWORD PTR -1076[rbp]
	mov	ecx, 0
	mov	edx, 1023
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -1064[rbp], eax
	cmp	DWORD PTR -1064[rbp], 0
	jns	.L12
	mov	rax, QWORD PTR stderr[rip]
	sub	rsp, 8
	mov	edx, DWORD PTR -1076[rbp]
	push	rdx
	mov	r9d, 98
	lea	r8, .LC0[rip]
	lea	rcx, .LC1[rip]
	lea	rdx, .LC7[rip]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	jmp	.L13
.L12:
	cmp	DWORD PTR -1064[rbp], 0
	jne	.L14
	mov	rax, QWORD PTR stderr[rip]
	sub	rsp, 8
	mov	edx, DWORD PTR -1076[rbp]
	push	rdx
	mov	r9d, 102
	lea	r8, .LC0[rip]
	lea	rcx, .LC1[rip]
	lea	rdx, .LC7[rip]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	jmp	.L13
.L14:
	mov	eax, DWORD PTR -1064[rbp]
	movsx	rdx, eax
	lea	rsi, -1040[rbp]
	mov	eax, DWORD PTR -1076[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	mov	DWORD PTR -1060[rbp], eax
	mov	eax, DWORD PTR -1060[rbp]
	cmp	eax, DWORD PTR -1064[rbp]
	jne	.L15
	mov	rax, QWORD PTR stderr[rip]
	sub	rsp, 8
	lea	rdx, -1040[rbp]
	push	rdx
	mov	r9d, 109
	lea	r8, .LC0[rip]
	lea	rcx, .LC1[rip]
	lea	rdx, .LC7[rip]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	DWORD PTR -1068[rbp], 1
	jmp	.L13
.L15:
	mov	rax, QWORD PTR stderr[rip]
	sub	rsp, 8
	lea	rdx, -1040[rbp]
	push	rdx
	mov	edx, DWORD PTR -1060[rbp]
	push	rdx
	mov	edx, DWORD PTR -1064[rbp]
	push	rdx
	mov	r9d, 114
	lea	r8, .LC0[rip]
	lea	rcx, .LC1[rip]
	lea	rdx, .LC2[rip]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 32
.L13:
	cmp	DWORD PTR -1068[rbp], 1
	jne	.L16
	mov	eax, 0
	jmp	.L18
.L16:
	mov	eax, -1
.L18:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	doClient, .-doClient
	.section	.rodata
.LC14:
	.string	"127.0.0.1"
.LC15:
	.string	"DEBUG"
	.align 8
.LC16:
	.string	"[%s][%s %s - line:%d]fdset_c=%d,max_fd=%d\n"
	.align 8
.LC17:
	.string	"[%s][%s %s - line:%d]select failed,errno=%d\n"
	.align 8
.LC18:
	.string	"[%s][%s %s - line:%d][main] do loop report,server listen ip=%s,port=%d\n"
	.align 8
.LC19:
	.string	"[%s][%s %s - line:%d]accept failed,errno=%d\n"
.LC20:
	.string	"WARN "
	.align 8
.LC21:
	.string	"[%s][%s %s - line:%d]client_fd >= MAX_FD,client_fd=%d,max_fd=%d\n"
	.align 8
.LC22:
	.string	"[%s][%s %s - line:%d]accept from %s:%d\n"
	.align 8
.LC23:
	.string	"[%s][%s %s - line:%d][main] end\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 264
	.cfi_offset 3, -24
	mov	DWORD PTR -4356[rbp], edi
	mov	QWORD PTR -4368[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rax, .LC14[rip]
	mov	QWORD PTR -4296[rbp], rax
	mov	WORD PTR -4338[rbp], 11111
	movzx	edx, WORD PTR -4338[rbp]
	mov	rax, QWORD PTR -4296[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	create_and_listen
	mov	DWORD PTR -4316[rbp], eax
	cmp	DWORD PTR -4316[rbp], 0
	jns	.L21
	mov	edi, 0
	call	exit@PLT
.L21:
	lea	rdx, -4128[rbp]
	mov	eax, 0
	mov	ecx, 512
	mov	rdi, rdx
	rep stosq
	mov	DWORD PTR -4332[rbp], 0
	lea	rax, -4128[rbp]
	mov	edx, 4096
	mov	esi, 255
	mov	rdi, rax
	call	memset@PLT
.L37:
	mov	DWORD PTR -4328[rbp], 0
	mov	eax, 0
	mov	ecx, 16
	lea	rdx, -4256[rbp]
	mov	rdi, rdx
#APP
# 140 "the_stack_data/20449303.c" 1
	cld; rep; stosq
# 0 "" 2
#NO_APP
	mov	eax, edi
	mov	edx, ecx
	mov	DWORD PTR -4312[rbp], edx
	mov	DWORD PTR -4308[rbp], eax
	mov	eax, DWORD PTR -4316[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -4256[rbp+rax*8]
	mov	eax, DWORD PTR -4316[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 -4256[rbp+rax*8], rdx
	mov	eax, DWORD PTR -4316[rbp]
	mov	DWORD PTR -4332[rbp], eax
	mov	DWORD PTR -4324[rbp], 0
	jmp	.L22
.L25:
	mov	eax, DWORD PTR -4324[rbp]
	cdqe
	mov	eax, DWORD PTR -4128[rbp+rax*4]
	cmp	eax, -1
	je	.L23
	add	DWORD PTR -4328[rbp], 1
	mov	eax, DWORD PTR -4324[rbp]
	cmp	eax, DWORD PTR -4332[rbp]
	jle	.L24
	mov	eax, DWORD PTR -4324[rbp]
	mov	DWORD PTR -4332[rbp], eax
.L24:
	mov	eax, DWORD PTR -4324[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -4256[rbp+rax*8]
	mov	eax, DWORD PTR -4324[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 -4256[rbp+rax*8], rdx
.L23:
	add	DWORD PTR -4324[rbp], 1
.L22:
	cmp	DWORD PTR -4324[rbp], 1023
	jle	.L25
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -4332[rbp]
	push	rdx
	mov	edx, DWORD PTR -4328[rbp]
	push	rdx
	mov	r9d, 155
	lea	r8, .LC0[rip]
	lea	rcx, .LC1[rip]
	lea	rdx, .LC15[rip]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	QWORD PTR -4288[rbp], 1
	mov	QWORD PTR -4280[rbp], 0
	mov	eax, DWORD PTR -4332[rbp]
	lea	edi, 1[rax]
	lea	rdx, -4288[rbp]
	lea	rax, -4256[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	mov	rsi, rax
	call	select@PLT
	mov	DWORD PTR -4304[rbp], eax
	cmp	DWORD PTR -4304[rbp], -1
	jne	.L26
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	sub	rsp, 8
	push	rdx
	mov	r9d, 162
	lea	r8, .LC0[rip]
	lea	rcx, .LC1[rip]
	lea	rdx, .LC2[rip]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	jmp	.L27
.L26:
	cmp	DWORD PTR -4304[rbp], 0
	jg	.L28
	movzx	edx, WORD PTR -4338[rbp]
	mov	rax, QWORD PTR stderr[rip]
	push	rdx
	push	QWORD PTR -4296[rbp]
	mov	r9d, 167
	lea	r8, .LC0[rip]
	lea	rcx, .LC1[rip]
	lea	rdx, .LC7[rip]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	jmp	.L37
.L28:
	mov	eax, DWORD PTR -4316[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	cdqe
	mov	rsi, QWORD PTR -4256[rbp+rax*8]
	mov	eax, DWORD PTR -4316[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	.L30
	mov	DWORD PTR -4336[rbp], 0
	lea	rax, -4272[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rdx, -4336[rbp]
	lea	rcx, -4272[rbp]
	mov	eax, DWORD PTR -4316[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -4300[rbp], eax
	cmp	DWORD PTR -4300[rbp], 0
	jns	.L31
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	sub	rsp, 8
	push	rdx
	mov	r9d, 180
	lea	r8, .LC0[rip]
	lea	rcx, .LC1[rip]
	lea	rdx, .LC2[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	jmp	.L27
.L31:
	cmp	DWORD PTR -4300[rbp], 1023
	jle	.L32
	mov	rax, QWORD PTR stderr[rip]
	push	1024
	mov	edx, DWORD PTR -4300[rbp]
	push	rdx
	mov	r9d, 185
	lea	r8, .LC0[rip]
	lea	rcx, .LC1[rip]
	lea	rdx, .LC20[rip]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	eax, DWORD PTR -4300[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L30
.L32:
	movzx	eax, WORD PTR -4270[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	ebx, ax
	mov	eax, DWORD PTR -4268[rbp]
	mov	edi, eax
	call	inet_ntoa@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	push	rbx
	push	rdx
	mov	r9d, 191
	lea	r8, .LC0[rip]
	lea	rcx, .LC1[rip]
	lea	rdx, .LC7[rip]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	eax, DWORD PTR -4300[rbp]
	cdqe
	mov	DWORD PTR -4128[rbp+rax*4], 0
.L30:
	mov	DWORD PTR -4320[rbp], 0
	jmp	.L34
.L36:
	mov	eax, DWORD PTR -4320[rbp]
	cdqe
	mov	eax, DWORD PTR -4128[rbp+rax*4]
	cmp	eax, -1
	je	.L35
	mov	eax, DWORD PTR -4320[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	cdqe
	mov	rsi, QWORD PTR -4256[rbp+rax*8]
	mov	eax, DWORD PTR -4320[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	.L35
	mov	eax, DWORD PTR -4320[rbp]
	mov	edi, eax
	call	doClient
	test	eax, eax
	jns	.L35
	mov	eax, DWORD PTR -4320[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -4320[rbp]
	cdqe
	mov	DWORD PTR -4128[rbp+rax*4], -1
.L35:
	add	DWORD PTR -4320[rbp], 1
.L34:
	cmp	DWORD PTR -4320[rbp], 1023
	jle	.L36
	jmp	.L37
.L27:
	mov	rax, QWORD PTR stderr[rip]
	mov	r9d, 209
	lea	r8, .LC0[rip]
	lea	rcx, .LC1[rip]
	lea	rdx, .LC7[rip]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -4316[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-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	"20449303.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Dec 18 2024\000"
	.align	2
.LC1:
	.ascii	"ERROR\000"
	.align	2
.LC2:
	.ascii	"[%s][%s %s - line:%d]socket failed,errno=%d\012\000"
	.align	2
.LC3:
	.ascii	"20:54:18\000"
	.align	2
.LC4:
	.ascii	"[%s][%s %s - line:%d]setsockopt failed,errno=%d\012"
	.ascii	"\000"
	.align	2
.LC5:
	.ascii	"[%s][%s %s - line:%d]bind failed,errno=%d\012\000"
	.align	2
.LC6:
	.ascii	"[%s][%s %s - line:%d]listen failed,errno=%d\012\000"
	.align	2
.LC7:
	.ascii	"INFO \000"
	.align	2
.LC8:
	.ascii	"[%s][%s %s - line:%d]create_and_listen end ,server_"
	.ascii	"fd=%d\012\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	create_and_listen
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_and_listen, %function
create_and_listen:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #60
	str	r0, [fp, #-48]
	mov	r3, r1
	strh	r3, [fp, #-50]	@ movhi
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bge	.L2
	ldr	r3, .L9+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [sp, #8]
	mov	r3, #36
	str	r3, [sp, #4]
	ldr	r3, .L9+8
	str	r3, [sp]
	ldr	r3, .L9+12
	ldr	r2, .L9+16
	ldr	r1, .L9+20
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L7
.L2:
	sub	r3, fp, #32
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r0, [fp, #-48]
	bl	inet_addr
	mov	r3, r0
	str	r3, [fp, #-28]
	ldrh	r3, [fp, #-50]
	mov	r0, r3
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-30]	@ movhi
	mov	r3, #2
	strh	r3, [fp, #-32]	@ movhi
	mov	r3, #1
	str	r3, [fp, #-44]
	mov	r3, #4
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	sub	r2, fp, #44
	str	r3, [sp]
	mov	r3, r2
	mov	r2, #2
	mov	r1, #1
	ldr	r0, [fp, #-40]
	bl	setsockopt
	mov	r3, r0
	cmn	r3, #1
	bne	.L4
	ldr	r3, .L9+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [sp, #8]
	mov	r3, #52
	str	r3, [sp, #4]
	ldr	r3, .L9+8
	str	r3, [sp]
	ldr	r3, .L9+12
	ldr	r2, .L9+16
	ldr	r1, .L9+24
	mov	r0, r4
	bl	fprintf
	ldr	r0, [fp, #-40]
	bl	close
	mvn	r3, #0
	b	.L7
.L4:
	sub	r3, fp, #32
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	bind
	mov	r3, r0
	cmn	r3, #1
	bne	.L5
	ldr	r3, .L9+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [sp, #8]
	mov	r3, #60
	str	r3, [sp, #4]
	ldr	r3, .L9+8
	str	r3, [sp]
	ldr	r3, .L9+12
	ldr	r2, .L9+16
	ldr	r1, .L9+28
	mov	r0, r4
	bl	fprintf
	ldr	r0, [fp, #-40]
	bl	close
	mvn	r3, #0
	b	.L7
.L5:
	mov	r1, #15
	ldr	r0, [fp, #-40]
	bl	listen
	mov	r3, r0
	cmn	r3, #1
	bne	.L6
	ldr	r3, .L9+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [sp, #8]
	mov	r3, #68
	str	r3, [sp, #4]
	ldr	r3, .L9+8
	str	r3, [sp]
	ldr	r3, .L9+12
	ldr	r2, .L9+16
	ldr	r1, .L9+32
	mov	r0, r4
	bl	fprintf
	ldr	r0, [fp, #-40]
	bl	close
	mvn	r3, #0
	b	.L7
.L6:
	ldr	r3, .L9+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-40]
	str	r3, [sp, #8]
	mov	r3, #73
	str	r3, [sp, #4]
	ldr	r3, .L9+8
	str	r3, [sp]
	ldr	r3, .L9+12
	ldr	r2, .L9+36
	ldr	r1, .L9+40
	bl	fprintf
	ldr	r3, [fp, #-40]
.L7:
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC9
	.word	stderr
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	create_and_listen, .-create_and_listen
	.section	.rodata
	.align	2
.LC10:
	.ascii	"[%s][%s %s - line:%d]getpeername failed,client_fd=%"
	.ascii	"d,errno=%d\012\000"
	.align	2
.LC11:
	.ascii	"[%s][%s %s - line:%d]read failed,client_fd\012\000"
	.align	2
.LC12:
	.ascii	"[%s][%s %s - line:%d]read EOF,client_fd\012\000"
	.align	2
.LC13:
	.ascii	"[%s][%s %s - line:%d]recv and echo msg success,msg="
	.ascii	"%s\012\000"
	.align	2
.LC14:
	.ascii	"[%s][%s %s - line:%d]send failed,read_size=%d,send_"
	.ascii	"size=%d,msg=%s\012\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	doClient
	.syntax unified
	.arm
	.fpu softvfp
	.type	doClient, %function
doClient:
	@ args = 0, pretend = 0, frame = 1072
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #1088
	sub	sp, sp, #12
	str	r0, [fp, #-1080]
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1068]
	sub	r3, fp, #1040
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-1072]
	sub	r2, fp, #1056
	sub	r2, r2, #12
	sub	r2, r2, #4
	sub	r3, fp, #1040
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-1080]
	bl	getpeername
	mov	r3, r0
	cmn	r3, #1
	bne	.L12
	ldr	r3, .L22+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [sp, #12]
	ldr	r3, [fp, #-1080]
	str	r3, [sp, #8]
	mov	r3, #89
	str	r3, [sp, #4]
	ldr	r3, .L22+8
	str	r3, [sp]
	ldr	r3, .L22+12
	ldr	r2, .L22+16
	ldr	r1, .L22+20
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L20
.L12:
	mov	r3, #0
	str	r3, [fp, #-1040]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	mov	r2, #1020
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-1064]
	mov	r3, #0
	str	r3, [fp, #-1060]
	sub	r1, fp, #1024
	sub	r1, r1, #12
	sub	r1, r1, #4
	mov	r3, #0
	ldr	r2, .L22+24
	ldr	r0, [fp, #-1080]
	bl	recv
	str	r0, [fp, #-1064]
	ldr	r3, [fp, #-1064]
	cmp	r3, #0
	bge	.L14
	ldr	r3, .L22+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-1080]
	str	r3, [sp, #8]
	mov	r3, #98
	str	r3, [sp, #4]
	ldr	r3, .L22+8
	str	r3, [sp]
	ldr	r3, .L22+12
	ldr	r2, .L22+28
	ldr	r1, .L22+32
	bl	fprintf
	b	.L15
.L14:
	ldr	r3, [fp, #-1064]
	cmp	r3, #0
	bne	.L16
	ldr	r3, .L22+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-1080]
	str	r3, [sp, #8]
	mov	r3, #102
	str	r3, [sp, #4]
	ldr	r3, .L22+8
	str	r3, [sp]
	ldr	r3, .L22+12
	ldr	r2, .L22+28
	ldr	r1, .L22+36
	bl	fprintf
	b	.L15
.L16:
	ldr	r2, [fp, #-1064]
	sub	r1, fp, #1024
	sub	r1, r1, #12
	sub	r1, r1, #4
	mov	r3, #0
	ldr	r0, [fp, #-1080]
	bl	send
	str	r0, [fp, #-1060]
	ldr	r2, [fp, #-1060]
	ldr	r3, [fp, #-1064]
	cmp	r2, r3
	bne	.L17
	ldr	r3, .L22+4
	ldr	r0, [r3]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [sp, #8]
	mov	r3, #109
	str	r3, [sp, #4]
	ldr	r3, .L22+8
	str	r3, [sp]
	ldr	r3, .L22+12
	ldr	r2, .L22+28
	ldr	r1, .L22+40
	bl	fprintf
	mov	r3, #1
	str	r3, [fp, #-1068]
	b	.L15
.L17:
	ldr	r3, .L22+4
	ldr	r0, [r3]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [sp, #16]
	ldr	r3, [fp, #-1060]
	str	r3, [sp, #12]
	ldr	r3, [fp, #-1064]
	str	r3, [sp, #8]
	mov	r3, #114
	str	r3, [sp, #4]
	ldr	r3, .L22+8
	str	r3, [sp]
	ldr	r3, .L22+12
	ldr	r2, .L22+16
	ldr	r1, .L22+44
	bl	fprintf
.L15:
	ldr	r3, [fp, #-1068]
	cmp	r3, #1
	bne	.L18
	mov	r3, #0
	b	.L20
.L18:
	mvn	r3, #0
.L20:
	ldr	r2, .L22
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC15
	.word	stderr
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC10
	.word	1023
	.word	.LC7
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	doClient, .-doClient
	.section	.rodata
	.align	2
.LC16:
	.ascii	"127.0.0.1\000"
	.align	2
.LC17:
	.ascii	"DEBUG\000"
	.align	2
.LC18:
	.ascii	"[%s][%s %s - line:%d]fdset_c=%d,max_fd=%d\012\000"
	.align	2
.LC19:
	.ascii	"[%s][%s %s - line:%d]select failed,errno=%d\012\000"
	.align	2
.LC20:
	.ascii	"[%s][%s %s - line:%d][main] do loop report,server l"
	.ascii	"isten ip=%s,port=%d\012\000"
	.align	2
.LC21:
	.ascii	"[%s][%s %s - line:%d]accept failed,errno=%d\012\000"
	.align	2
.LC22:
	.ascii	"WARN \000"
	.align	2
.LC23:
	.ascii	"[%s][%s %s - line:%d]client_fd >= MAX_FD,client_fd="
	.ascii	"%d,max_fd=%d\012\000"
	.align	2
.LC24:
	.ascii	"[%s][%s %s - line:%d]accept from %s:%d\012\000"
	.align	2
.LC25:
	.ascii	"[%s][%s %s - line:%d][main] end\012\000"
	.align	2
.LC26:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 4312
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #4288
	sub	sp, sp, #40
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r0, [r3, #-212]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r1, [r3, #-216]
	ldr	r3, .L46
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L46+4
	str	r3, [r2, #-176]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, .L46+8
	strh	r2, [r3, #-202]	@ movhi
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldrh	r3, [r3, #-202]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-176]
	bl	create_and_listen
	str	r0, [r4, #-172]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-172]
	cmp	r3, #0
	bge	.L25
	mov	r0, #0
	bl	exit
.L25:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #4096
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-196]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #4096
	mov	r1, #255
	mov	r0, r3
	bl	memset
.L43:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-192]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4224
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [r2, #-168]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-188]
	b	.L26
.L27:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-168]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-188]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-188]
	add	r3, r3, #1
	str	r3, [r2, #-188]
.L26:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-188]
	cmp	r3, #31
	bls	.L27
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-172]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	lsl	r3, r2, #2
	add	r3, r1, r3
	ldr	r1, [r3, #-132]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-172]
	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
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r3
	lsl	r3, r2, #2
	add	r3, r0, r3
	str	r1, [r3, #-132]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-172]
	str	r3, [r2, #-196]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-184]
	b	.L28
.L31:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-184]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-4]
	cmn	r3, #1
	beq	.L29
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-192]
	add	r3, r3, #1
	str	r3, [r2, #-192]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-184]
	ldr	r3, [r3, #-196]
	cmp	r2, r3
	ble	.L30
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-184]
	str	r3, [r2, #-196]
.L30:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-184]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	lsl	r3, r2, #2
	add	r3, r1, r3
	ldr	r1, [r3, #-132]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-184]
	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
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r3
	lsl	r3, r2, #2
	add	r3, r0, r3
	str	r1, [r3, #-132]
.L29:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-184]
	add	r3, r3, #1
	str	r3, [r2, #-184]
.L28:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-184]
	cmp	r3, #1024
	blt	.L31
	ldr	r3, .L46+12
	ldr	r0, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-196]
	str	r3, [sp, #12]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-192]
	str	r3, [sp, #8]
	mov	r3, #155
	str	r3, [sp, #4]
	ldr	r3, .L46+16
	str	r3, [sp]
	ldr	r3, .L46+20
	ldr	r2, .L46+24
	ldr	r1, .L46+28
	bl	fprintf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-156]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-152]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-196]
	add	r0, r3, #1
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #4224
	sub	r1, r1, #12
	sub	r1, r1, #4
	sub	r3, fp, #4224
	sub	r3, r3, #12
	sub	r3, r3, #28
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	select
	str	r0, [r4, #-164]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-164]
	cmn	r3, #1
	bne	.L32
	ldr	r3, .L46+12
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [sp, #8]
	mov	r3, #162
	str	r3, [sp, #4]
	ldr	r3, .L46+16
	str	r3, [sp]
	ldr	r3, .L46+20
	ldr	r2, .L46+32
	ldr	r1, .L46+36
	mov	r0, r4
	bl	fprintf
	b	.L33
.L32:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-164]
	cmp	r3, #0
	bgt	.L34
	ldr	r3, .L46+12
	ldr	r0, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldrh	r3, [r3, #-202]
	str	r3, [sp, #12]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-176]
	str	r3, [sp, #8]
	mov	r3, #167
	str	r3, [sp, #4]
	ldr	r3, .L46+16
	str	r3, [sp]
	ldr	r3, .L46+20
	ldr	r2, .L46+40
	ldr	r1, .L46+44
	bl	fprintf
	b	.L43
.L34:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-172]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	sub	r2, fp, #4096
	sub	r2, r2, #12
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #-132]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-172]
	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	.L36
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-200]
	sub	r3, fp, #4224
	sub	r3, r3, #12
	sub	r3, r3, #20
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r2, fp, #4288
	sub	r2, r2, #12
	sub	r2, r2, #8
	sub	r3, fp, #4224
	sub	r3, r3, #12
	sub	r3, r3, #20
	sub	r1, fp, #4096
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-172]
	bl	accept
	str	r0, [r4, #-160]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-160]
	cmp	r3, #0
	bge	.L37
	ldr	r3, .L46+12
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [sp, #8]
	mov	r3, #180
	str	r3, [sp, #4]
	ldr	r3, .L46+16
	str	r3, [sp]
	ldr	r3, .L46+20
	ldr	r2, .L46+32
	ldr	r1, .L46+48
	mov	r0, r4
	bl	fprintf
	b	.L33
.L37:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-160]
	cmp	r3, #1024
	blt	.L38
	ldr	r3, .L46+12
	ldr	r0, [r3]
	mov	r3, #1024
	str	r3, [sp, #12]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-160]
	str	r3, [sp, #8]
	mov	r3, #185
	str	r3, [sp, #4]
	ldr	r3, .L46+16
	str	r3, [sp]
	ldr	r3, .L46+20
	ldr	r2, .L46+52
	ldr	r1, .L46+56
	bl	fprintf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-160]
	bl	close
	b	.L36
.L38:
	ldr	r3, .L46+12
	ldr	r4, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-144]
	bl	inet_ntoa
	mov	r5, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldrh	r3, [r3, #-146]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	str	r3, [sp, #12]
	str	r5, [sp, #8]
	mov	r3, #191
	str	r3, [sp, #4]
	ldr	r3, .L46+16
	str	r3, [sp]
	ldr	r3, .L46+20
	ldr	r2, .L46+40
	ldr	r1, .L46+60
	mov	r0, r4
	bl	fprintf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-160]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-4]
.L36:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-180]
	b	.L40
.L42:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-180]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-4]
	cmn	r3, #1
	beq	.L41
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-180]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	sub	r2, fp, #4096
	sub	r2, r2, #12
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #-132]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-180]
	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	.L41
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-180]
	bl	doClient
	mov	r3, r0
	cmp	r3, #0
	bge	.L41
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-180]
	bl	close
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-180]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mvn	r2, #0
	str	r2, [r3, #-4]
.L41:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-180]
	add	r3, r3, #1
	str	r3, [r2, #-180]
.L40:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-180]
	cmp	r3, #1024
	blt	.L42
	b	.L43
.L33:
	ldr	r3, .L46+12
	ldr	r0, [r3]
	mov	r3, #209
	str	r3, [sp, #4]
	ldr	r3, .L46+16
	str	r3, [sp]
	ldr	r3, .L46+20
	ldr	r2, .L46+40
	ldr	r1, .L46+64
	bl	fprintf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-172]
	bl	close
	mov	r3, #0
	ldr	r2, .L46
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L45
	bl	__stack_chk_fail
.L45:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L47:
	.align	2
.L46:
	.word	.LC26
	.word	.LC16
	.word	11111
	.word	stderr
	.word	.LC3
	.word	.LC0
	.word	.LC17
	.word	.LC18
	.word	.LC1
	.word	.LC19
	.word	.LC7
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
