	.file	"134225.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"recv error: %d\n"
	.align 8
.LC1:
	.string	"The connection has been closed by the client"
.LC2:
	.string	"received data : %s,,%d\n"
.LC3:
	.string	"send"
	.text
	.globl	data_process
	.type	data_process, @function
data_process:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -36[rbp], eax
.L6:
	lea	rax, -23[rbp]
	mov	edx, 15
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rsi, -23[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	ecx, 0
	mov	edx, 15
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -32[rbp], eax
	cmp	DWORD PTR -32[rbp], 0
	jns	.L2
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	cmp	DWORD PTR -32[rbp], 0
	jne	.L3
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	nop
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L7
	jmp	.L8
.L3:
	mov	edx, DWORD PTR -32[rbp]
	lea	rax, -23[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	lea	rsi, -23[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	jns	.L6
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L8:
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	data_process, .-data_process
	.section	.rodata
.LC4:
	.string	"Socket"
.LC5:
	.string	"bind"
.LC6:
	.string	"listen"
.LC7:
	.string	"listening ... "
.LC8:
	.string	"accept"
	.text
	.globl	main
	.type	main, @function
main:
.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, 96
	mov	DWORD PTR -84[rbp], edi
	mov	QWORD PTR -96[rbp], rsi
	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 -60[rbp], eax
	cmp	DWORD PTR -60[rbp], 0
	jns	.L10
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L10:
	mov	WORD PTR -48[rbp], 2
	mov	edi, 3333
	call	htons@PLT
	mov	WORD PTR -46[rbp], ax
	mov	DWORD PTR -44[rbp], 0
	lea	rax, -48[rbp]
	add	rax, 8
	mov	QWORD PTR [rax], 0
	lea	rcx, -48[rbp]
	mov	eax, DWORD PTR -60[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	jns	.L11
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	edi, -1
	call	exit@PLT
.L11:
	mov	eax, DWORD PTR -60[rbp]
	mov	esi, 10
	mov	edi, eax
	call	listen@PLT
	test	eax, eax
	jns	.L12
	lea	rdi, .LC6[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L12:
	lea	rdi, .LC7[rip]
	call	puts@PLT
.L14:
	lea	rdx, -68[rbp]
	mov	eax, DWORD PTR -60[rbp]
	mov	esi, 0
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -64[rbp], eax
	mov	eax, DWORD PTR -64[rbp]
	cmp	eax, -1
	jne	.L13
	lea	rdi, .LC8[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L13:
	lea	rdx, -64[rbp]
	lea	rax, -56[rbp]
	mov	rcx, rdx
	lea	rdx, data_process[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	jmp	.L14
	.cfi_endproc
.LFE7:
	.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	"134225.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"recv error: %d\012\000"
	.align	2
.LC1:
	.ascii	"The connection has been closed by the client\000"
	.align	2
.LC2:
	.ascii	"received data : %s,,%d\012\000"
	.align	2
.LC3:
	.ascii	"send\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	data_process
	.syntax unified
	.arm
	.fpu softvfp
	.type	data_process, %function
data_process:
	@ 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]
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	str	r3, [fp, #-36]
.L6:
	sub	r3, fp, #24
	mov	r2, #15
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r1, fp, #24
	mov	r3, #0
	mov	r2, #15
	ldr	r0, [fp, #-36]
	bl	recv
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bge	.L2
	ldr	r1, [fp, #-32]
	ldr	r0, .L9+4
	bl	printf
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L3
	ldr	r0, .L9+8
	bl	printf
	nop
	nop
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	b	.L8
.L3:
	sub	r3, fp, #24
	ldr	r2, [fp, #-32]
	mov	r1, r3
	ldr	r0, .L9+12
	bl	printf
	ldr	r2, [fp, #-32]
	sub	r1, fp, #24
	mov	r3, #0
	ldr	r0, [fp, #-36]
	bl	send
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bge	.L6
	ldr	r0, .L9+16
	bl	perror
	mov	r0, #1
	bl	exit
.L8:
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	data_process, .-data_process
	.section	.rodata
	.align	2
.LC5:
	.ascii	"Socket\000"
	.align	2
.LC6:
	.ascii	"bind\000"
	.align	2
.LC7:
	.ascii	"listen\000"
	.align	2
.LC8:
	.ascii	"listening ... \000"
	.align	2
.LC9:
	.ascii	"accept\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bge	.L12
	ldr	r0, .L18+4
	bl	perror
	mov	r0, #1
	bl	exit
.L12:
	mov	r3, #2
	strh	r3, [fp, #-40]	@ movhi
	ldr	r0, .L18+8
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-38]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-36]
	sub	r3, fp, #40
	add	r3, r3, #8
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2]
	str	r3, [r2, #4]
	sub	r3, fp, #40
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-44]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	bge	.L13
	ldr	r0, .L18+12
	bl	perror
	mvn	r0, #0
	bl	exit
.L13:
	mov	r1, #10
	ldr	r0, [fp, #-44]
	bl	listen
	mov	r3, r0
	cmp	r3, #0
	bge	.L14
	ldr	r0, .L18+16
	bl	perror
	mov	r0, #1
	bl	exit
.L14:
	ldr	r0, .L18+20
	bl	puts
.L16:
	sub	r3, fp, #56
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-44]
	bl	accept
	mov	r3, r0
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmn	r3, #1
	bne	.L15
	ldr	r0, .L18+24
	bl	perror
	mov	r0, #1
	bl	exit
.L15:
	sub	r3, fp, #52
	sub	r0, fp, #48
	ldr	r2, .L18+28
	mov	r1, #0
	bl	pthread_create
	b	.L16
.L19:
	.align	2
.L18:
	.word	.LC10
	.word	.LC5
	.word	3333
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	data_process
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
