	.file	"622557.c"
	.intel_syntax noprefix
	.text
	.globl	obj
	.bss
	.align 32
	.type	obj, @object
	.size	obj, 1308
obj:
	.zero	1308
	.globl	a
	.align 32
	.type	a, @object
	.size	a, 144
a:
	.zero	144
	.globl	clilen
	.align 4
	.type	clilen, @object
	.size	clilen, 4
clilen:
	.zero	4
	.globl	cliaddr
	.align 16
	.type	cliaddr, @object
	.size	cliaddr, 16
cliaddr:
	.zero	16
	.globl	servaddr
	.align 16
	.type	servaddr, @object
	.size	servaddr, 16
servaddr:
	.zero	16
	.globl	ret_val
	.align 4
	.type	ret_val, @object
	.size	ret_val, 4
ret_val:
	.zero	4
	.globl	connfd
	.align 4
	.type	connfd, @object
	.size	connfd, 4
connfd:
	.zero	4
	.globl	sockfd
	.align 4
	.type	sockfd, @object
	.size	sockfd, 4
sockfd:
	.zero	4
	.globl	fd
	.align 4
	.type	fd, @object
	.size	fd, 4
fd:
	.zero	4
	.globl	th
	.align 8
	.type	th, @object
	.size	th, 8
th:
	.zero	8
	.globl	ret
	.align 8
	.type	ret, @object
	.size	ret, 8
ret:
	.zero	8
	.section	.rodata
.LC0:
	.string	"start"
.LC1:
	.string	"cd"
.LC2:
	.string	"pwd"
.LC3:
	.string	"pwd>txt.txt"
.LC4:
	.string	"./txt.txt"
.LC5:
	.string	"%s"
.LC6:
	.string	"dir"
.LC7:
	.string	"dir>txt.txt"
.LC8:
	.string	"get"
.LC9:
	.string	"sending the file"
.LC10:
	.string	"put"
	.align 8
.LC11:
	.string	"fail to create and open the file\n"
.LC12:
	.string	"read failed\n"
.LC13:
	.string	"quit"
.LC14:
	.string	"myftp client is quitted"
	.text
	.globl	data_connection
	.type	data_connection, @function
data_connection:
.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, 160
	mov	QWORD PTR -152[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	movabs	rax, 8679613459621756448
	mov	QWORD PTR -122[rbp], rax
	mov	WORD PTR -114[rbp], 116
	mov	eax, DWORD PTR connfd[rip]
	mov	edx, 1308
	lea	rsi, obj[rip]
	mov	edi, eax
	call	read@PLT
	lea	rdi, obj[rip]
	call	puts@PLT
	lea	rsi, .LC1[rip]
	lea	rdi, obj[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L2
	lea	rdi, obj[rip+1200]
	call	chdir@PLT
	lea	rax, -112[rbp]
	mov	esi, 100
	mov	rdi, rax
	call	getcwd@PLT
	mov	rdi, rax
	call	puts@PLT
	jmp	.L3
.L2:
	lea	rsi, .LC2[rip]
	lea	rdi, obj[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L4
	nop
.L3:
	lea	rdi, .LC3[rip]
	call	system@PLT
	mov	esi, 0
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR fd[rip], eax
	lea	rsi, a[rip]
	lea	rdi, .LC4[rip]
	call	stat@PLT
	mov	rax, QWORD PTR a[rip+48]
	mov	DWORD PTR obj[rip+1300], eax
	mov	eax, DWORD PTR obj[rip+1300]
	movsx	rdx, eax
	mov	eax, DWORD PTR fd[rip]
	lea	rsi, obj[rip+200]
	mov	edi, eax
	call	read@PLT
	lea	rsi, obj[rip+200]
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR connfd[rip]
	mov	edx, 1308
	lea	rsi, obj[rip]
	mov	edi, eax
	call	write@PLT
	jmp	.L5
.L4:
	lea	rsi, .LC6[rip]
	lea	rdi, obj[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
	lea	rdi, .LC7[rip]
	call	system@PLT
	mov	esi, 0
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR fd[rip], eax
	lea	rsi, a[rip]
	lea	rdi, .LC4[rip]
	call	stat@PLT
	mov	rax, QWORD PTR a[rip+48]
	mov	DWORD PTR obj[rip+1300], eax
	mov	eax, DWORD PTR obj[rip+1300]
	movsx	rdx, eax
	mov	eax, DWORD PTR fd[rip]
	lea	rsi, obj[rip+200]
	mov	edi, eax
	call	read@PLT
	mov	eax, DWORD PTR connfd[rip]
	mov	edx, 1308
	lea	rsi, obj[rip]
	mov	edi, eax
	call	write@PLT
	jmp	.L5
.L6:
	lea	rsi, .LC8[rip]
	lea	rdi, obj[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L7
	lea	rsi, a[rip]
	lea	rdi, obj[rip+1200]
	call	stat@PLT
	mov	rax, QWORD PTR a[rip+48]
	mov	DWORD PTR obj[rip+1300], eax
	mov	eax, DWORD PTR connfd[rip]
	mov	edx, 1308
	lea	rsi, obj[rip]
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR connfd[rip]
	mov	edx, 1308
	lea	rsi, obj[rip]
	mov	edi, eax
	call	read@PLT
	mov	eax, DWORD PTR obj[rip+1304]
	cmp	eax, 1
	jne	.L5
	mov	esi, 0
	lea	rdi, obj[rip+1200]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR fd[rip], eax
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	eax, DWORD PTR obj[rip+1300]
	movsx	rcx, eax
	mov	edx, DWORD PTR connfd[rip]
	mov	eax, DWORD PTR fd[rip]
	mov	r9d, 1
	mov	r8, rcx
	mov	ecx, 0
	mov	esi, 0
	mov	edi, eax
	call	splice@PLT
	mov	QWORD PTR ret[rip], rax
	jmp	.L5
.L7:
	lea	rsi, .LC10[rip]
	lea	rdi, obj[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	mov	esi, 193
	lea	rdi, obj[rip+1200]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR fd[rip], eax
	mov	eax, DWORD PTR fd[rip]
	test	eax, eax
	jns	.L9
	lea	rdi, .LC11[rip]
	call	perror@PLT
.L9:
	mov	eax, DWORD PTR obj[rip+1300]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -136[rbp], rax
	mov	DWORD PTR obj[rip+1304], 1
	mov	eax, DWORD PTR connfd[rip]
	mov	edx, 1308
	lea	rsi, obj[rip]
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR obj[rip+1300]
	movsx	rdx, eax
	mov	eax, DWORD PTR connfd[rip]
	mov	rcx, QWORD PTR -136[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -140[rbp], eax
	cmp	DWORD PTR -140[rbp], 0
	jns	.L10
	lea	rdi, .LC12[rip]
	call	perror@PLT
	mov	DWORD PTR obj[rip+1304], 0
	mov	eax, DWORD PTR connfd[rip]
	mov	edx, 1308
	lea	rsi, obj[rip]
	mov	edi, eax
	call	write@PLT
.L10:
	mov	eax, DWORD PTR obj[rip+1300]
	movsx	rdx, eax
	mov	eax, DWORD PTR fd[rip]
	mov	rcx, QWORD PTR -136[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR fd[rip]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR connfd[rip]
	mov	edx, 1308
	lea	rsi, obj[rip]
	mov	edi, eax
	call	write@PLT
	jmp	.L5
.L8:
	lea	rsi, .LC13[rip]
	lea	rdi, obj[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L5
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	DWORD PTR obj[rip+1304], 1
	mov	eax, DWORD PTR connfd[rip]
	mov	edx, 1308
	lea	rsi, obj[rip]
	mov	edi, eax
	call	write@PLT
.L5:
	nop
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	data_connection, .-data_connection
	.section	.rodata
.LC15:
	.string	"client port no = %d\n"
.LC16:
	.string	"server port no = %d\n"
.LC17:
	.string	"return"
	.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
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR sockfd[rip], eax
	mov	QWORD PTR servaddr[rip], 0
	mov	QWORD PTR servaddr[rip+8], 0
	mov	WORD PTR servaddr[rip], 2
	mov	edi, 0
	call	htonl@PLT
	mov	DWORD PTR servaddr[rip+4], eax
	mov	edi, 8000
	call	htons@PLT
	mov	WORD PTR servaddr[rip+2], ax
	lea	rcx, servaddr[rip]
	mov	eax, DWORD PTR sockfd[rip]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	mov	DWORD PTR ret_val[rip], eax
	mov	eax, DWORD PTR sockfd[rip]
	mov	esi, 5
	mov	edi, eax
	call	listen@PLT
	mov	DWORD PTR clilen[rip], 16
	lea	rcx, cliaddr[rip]
	mov	eax, DWORD PTR sockfd[rip]
	lea	rdx, clilen[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR connfd[rip], eax
	movzx	eax, WORD PTR cliaddr[rip+2]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, WORD PTR servaddr[rip+2]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
.L13:
	mov	ecx, 0
	lea	rdx, data_connection[rip]
	mov	esi, 0
	lea	rdi, th[rip]
	call	pthread_create@PLT
	mov	rax, QWORD PTR th[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	lea	rdi, .LC17[rip]
	call	puts@PLT
	jmp	.L13
	.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	"622557.c"
	.text
	.comm	obj,1308,4
	.comm	a,88,8
	.comm	clilen,4,4
	.comm	cliaddr,16,4
	.comm	servaddr,16,4
	.comm	ret_val,4,4
	.comm	connfd,4,4
	.comm	sockfd,4,4
	.comm	fd,4,4
	.comm	th,4,4
	.comm	ret,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"start\000"
	.align	2
.LC2:
	.ascii	"cd\000"
	.align	2
.LC3:
	.ascii	"pwd\000"
	.align	2
.LC4:
	.ascii	"pwd>txt.txt\000"
	.align	2
.LC5:
	.ascii	"./txt.txt\000"
	.align	2
.LC6:
	.ascii	"%s\000"
	.align	2
.LC7:
	.ascii	"dir\000"
	.align	2
.LC8:
	.ascii	"dir>txt.txt\000"
	.align	2
.LC9:
	.ascii	"get\000"
	.align	2
.LC10:
	.ascii	"sending the file\000"
	.align	2
.LC11:
	.ascii	"put\000"
	.align	2
.LC12:
	.ascii	"fail to create and open the file\012\000"
	.align	2
.LC13:
	.ascii	"read failed\012\000"
	.align	2
.LC14:
	.ascii	"quit\000"
	.align	2
.LC15:
	.ascii	"myftp client is quitted\000"
	.align	2
.LC1:
	.ascii	" >txt.txt\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	data_connection
	.syntax unified
	.arm
	.fpu softvfp
	.type	data_connection, %function
data_connection:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #144
	str	r0, [fp, #-136]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L12+4
	bl	puts
	ldr	r2, .L12+8
	sub	r3, fp, #120
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strh	r2, [r3]	@ movhi
	ldr	r3, .L12+12
	ldr	r3, [r3]
	ldr	r2, .L12+16
	ldr	r1, .L12+20
	mov	r0, r3
	bl	read
	ldr	r0, .L12+20
	bl	puts
	ldr	r1, .L12+24
	ldr	r0, .L12+20
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L12+28
	bl	chdir
	sub	r3, fp, #108
	mov	r1, #100
	mov	r0, r3
	bl	getcwd
	mov	r3, r0
	mov	r0, r3
	bl	puts
	b	.L3
.L2:
	ldr	r1, .L12+32
	ldr	r0, .L12+20
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
	nop
.L3:
	ldr	r0, .L12+36
	bl	system
	mov	r1, #0
	ldr	r0, .L12+40
	bl	open
	mov	r3, r0
	ldr	r2, .L12+44
	str	r3, [r2]
	ldr	r1, .L12+48
	ldr	r0, .L12+40
	bl	stat
	ldr	r3, .L12+48
	ldr	r3, [r3, #44]
	ldr	r2, .L12+20
	str	r3, [r2, #1300]
	ldr	r3, .L12+44
	ldr	r3, [r3]
	ldr	r2, .L12+20
	ldr	r2, [r2, #1300]
	ldr	r1, .L12+52
	mov	r0, r3
	bl	read
	ldr	r1, .L12+52
	ldr	r0, .L12+56
	bl	printf
	ldr	r3, .L12+12
	ldr	r3, [r3]
	ldr	r2, .L12+16
	ldr	r1, .L12+20
	mov	r0, r3
	bl	write
	b	.L5
.L4:
	ldr	r1, .L12+60
	ldr	r0, .L12+20
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	ldr	r0, .L12+64
	bl	system
	mov	r1, #0
	ldr	r0, .L12+40
	bl	open
	mov	r3, r0
	ldr	r2, .L12+44
	str	r3, [r2]
	ldr	r1, .L12+48
	ldr	r0, .L12+40
	bl	stat
	ldr	r3, .L12+48
	ldr	r3, [r3, #44]
	ldr	r2, .L12+20
	str	r3, [r2, #1300]
	ldr	r3, .L12+44
	ldr	r3, [r3]
	ldr	r2, .L12+20
	ldr	r2, [r2, #1300]
	ldr	r1, .L12+52
	mov	r0, r3
	bl	read
	ldr	r3, .L12+12
	ldr	r3, [r3]
	ldr	r2, .L12+16
	ldr	r1, .L12+20
	mov	r0, r3
	bl	write
	b	.L5
.L6:
	ldr	r1, .L12+68
	ldr	r0, .L12+20
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	ldr	r1, .L12+48
	ldr	r0, .L12+28
	bl	stat
	ldr	r3, .L12+48
	ldr	r3, [r3, #44]
	ldr	r2, .L12+20
	str	r3, [r2, #1300]
	ldr	r3, .L12+12
	ldr	r3, [r3]
	ldr	r2, .L12+16
	ldr	r1, .L12+20
	mov	r0, r3
	bl	write
	ldr	r3, .L12+12
	ldr	r3, [r3]
	ldr	r2, .L12+16
	ldr	r1, .L12+20
	mov	r0, r3
	bl	read
	ldr	r3, .L12+20
	ldr	r3, [r3, #1304]
	cmp	r3, #1
	bne	.L5
	mov	r1, #0
	ldr	r0, .L12+28
	bl	open
	mov	r3, r0
	ldr	r2, .L12+44
	str	r3, [r2]
	ldr	r0, .L12+72
	bl	puts
	ldr	r3, .L12+44
	ldr	r0, [r3]
	ldr	r3, .L12+12
	ldr	r2, [r3]
	ldr	r3, .L12+20
	ldr	r3, [r3, #1300]
	mov	r1, r3
	mov	r3, #1
	str	r3, [sp, #4]
	str	r1, [sp]
	mov	r3, #0
	mov	r1, #0
	bl	splice
	mov	r3, r0
	ldr	r2, .L12+76
	str	r3, [r2]
	b	.L5
.L7:
	ldr	r1, .L12+80
	ldr	r0, .L12+20
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	mov	r1, #193
	ldr	r0, .L12+28
	bl	open
	mov	r3, r0
	ldr	r2, .L12+44
	str	r3, [r2]
	ldr	r3, .L12+44
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L9
	ldr	r0, .L12+84
	bl	perror
.L9:
	ldr	r3, .L12+20
	ldr	r3, [r3, #1300]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-128]
	ldr	r3, .L12+20
	mov	r2, #1
	str	r2, [r3, #1304]
	ldr	r3, .L12+12
	ldr	r3, [r3]
	ldr	r2, .L12+16
	ldr	r1, .L12+20
	mov	r0, r3
	bl	write
	ldr	r3, .L12+12
	ldr	r3, [r3]
	ldr	r2, .L12+20
	ldr	r2, [r2, #1300]
	ldr	r1, [fp, #-128]
	mov	r0, r3
	bl	read
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L10
	ldr	r0, .L12+88
	bl	perror
	ldr	r3, .L12+20
	mov	r2, #0
	str	r2, [r3, #1304]
	ldr	r3, .L12+12
	ldr	r3, [r3]
	ldr	r2, .L12+16
	ldr	r1, .L12+20
	mov	r0, r3
	bl	write
.L10:
	ldr	r3, .L12+44
	ldr	r3, [r3]
	ldr	r2, .L12+20
	ldr	r2, [r2, #1300]
	ldr	r1, [fp, #-128]
	mov	r0, r3
	bl	write
	ldr	r3, .L12+44
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	ldr	r3, .L12+12
	ldr	r3, [r3]
	ldr	r2, .L12+16
	ldr	r1, .L12+20
	mov	r0, r3
	bl	write
	b	.L5
.L8:
	ldr	r1, .L12+92
	ldr	r0, .L12+20
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	ldr	r0, .L12+96
	bl	puts
	ldr	r3, .L12+20
	mov	r2, #1
	str	r2, [r3, #1304]
	ldr	r3, .L12+12
	ldr	r3, [r3]
	ldr	r2, .L12+16
	ldr	r1, .L12+20
	mov	r0, r3
	bl	write
.L5:
	nop
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC16
	.word	.LC0
	.word	.LC1
	.word	connfd
	.word	1308
	.word	obj
	.word	.LC2
	.word	obj+1200
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	fd
	.word	a
	.word	obj+200
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	ret
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.size	data_connection, .-data_connection
	.section	.rodata
	.align	2
.LC17:
	.ascii	"client port no = %d\012\000"
	.align	2
.LC18:
	.ascii	"server port no = %d\012\000"
	.align	2
.LC19:
	.ascii	"return\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	mov	r3, r0
	ldr	r2, .L16
	str	r3, [r2]
	ldr	r3, .L16+4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2]
	str	r3, [r2, #4]
	str	r3, [r2, #8]
	str	r3, [r2, #12]
	ldr	r3, .L16+4
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	mov	r0, #0
	bl	htonl
	mov	r3, r0
	ldr	r2, .L16+4
	str	r3, [r2, #4]
	mov	r0, #8000
	bl	htons
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L16+4
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, .L16
	ldr	r3, [r3]
	ldr	r1, .L16+4
	mov	r2, #16
	mov	r0, r3
	bl	bind
	mov	r3, r0
	ldr	r2, .L16+8
	str	r3, [r2]
	ldr	r3, .L16
	ldr	r3, [r3]
	mov	r1, #5
	mov	r0, r3
	bl	listen
	ldr	r3, .L16+12
	mov	r2, #16
	str	r2, [r3]
	ldr	r3, .L16
	ldr	r3, [r3]
	ldr	r1, .L16+16
	ldr	r2, .L16+12
	mov	r0, r3
	bl	accept
	mov	r3, r0
	ldr	r2, .L16+20
	str	r3, [r2]
	ldr	r3, .L16+16
	ldrh	r3, [r3, #2]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L16+24
	bl	printf
	ldr	r3, .L16+4
	ldrh	r3, [r3, #2]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L16+28
	bl	printf
.L15:
	mov	r3, #0
	ldr	r2, .L16+32
	mov	r1, #0
	ldr	r0, .L16+36
	bl	pthread_create
	ldr	r3, .L16+36
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r0, .L16+40
	bl	puts
	b	.L15
.L17:
	.align	2
.L16:
	.word	sockfd
	.word	servaddr
	.word	ret_val
	.word	clilen
	.word	cliaddr
	.word	connfd
	.word	.LC17
	.word	.LC18
	.word	data_connection
	.word	th
	.word	.LC19
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
