	.file	"946193.c"
	.intel_syntax noprefix
	.text
	.globl	error
	.type	error, @function
error:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	error, .-error
	.section	.rodata
.LC0:
	.string	"./files"
.LC1:
	.string	"usage %s hostname port\n"
.LC2:
	.string	"ERROR opening socket"
.LC3:
	.string	"ERROR, no such host\n"
.LC4:
	.string	"ERROR connecting"
.LC5:
	.string	">>"
.LC6:
	.string	"ls client\n"
.LC7:
	.string	"."
.LC8:
	.string	".."
.LC9:
	.string	"%i. %s\n"
.LC10:
	.string	"bye\n"
.LC11:
	.string	"ERROR writing to socket"
.LC12:
	.string	"ERROR reading from socket"
.LC13:
	.string	"ERROR retrieving file"
.LC14:
	.string	","
.LC15:
	.string	":"
	.align 8
.LC16:
	.string	"ERROR reading file from socket"
.LC17:
	.string	"w"
.LC18:
	.string	"ERROR writing to file"
.LC19:
	.string	" "
.LC20:
	.string	"r"
.LC21:
	.string	"%d"
.LC22:
	.string	"ready for file"
.LC23:
	.string	"ERROR reading from file"
.LC24:
	.string	"ERROR writing file to socket"
	.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
	push	rbx
	sub	rsp, 1192
	.cfi_offset 3, -24
	mov	DWORD PTR -1188[rbp], edi
	mov	QWORD PTR -1200[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1180[rbp], 0
	lea	rdi, .LC0[rip]
	call	opendir@PLT
	mov	QWORD PTR -1152[rbp], rax
	mov	BYTE PTR -1181[rbp], 0
	cmp	DWORD PTR -1188[rbp], 2
	jg	.L3
	mov	rax, QWORD PTR -1200[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 0
	call	exit@PLT
.L3:
	mov	rax, QWORD PTR -1200[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -1172[rbp], eax
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -1168[rbp], eax
	cmp	DWORD PTR -1168[rbp], 0
	jns	.L4
	lea	rdi, .LC2[rip]
	call	error
.L4:
	mov	rax, QWORD PTR -1200[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	gethostbyname@PLT
	mov	QWORD PTR -1144[rbp], rax
	cmp	QWORD PTR -1144[rbp], 0
	jne	.L5
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 20
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	edi, 0
	call	exit@PLT
.L5:
	lea	rax, -1072[rbp]
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR 8[rax], 0
	mov	WORD PTR -1072[rbp], 2
	mov	rax, QWORD PTR -1144[rbp]
	mov	eax, DWORD PTR 20[rax]
	movsx	rdx, eax
	mov	rax, QWORD PTR -1144[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rax, QWORD PTR [rax]
	lea	rcx, -1072[rbp]
	add	rcx, 4
	mov	rsi, rax
	mov	rdi, rcx
	call	memmove@PLT
	mov	eax, DWORD PTR -1172[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -1070[rbp], ax
	lea	rcx, -1072[rbp]
	mov	eax, DWORD PTR -1168[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	test	eax, eax
	jns	.L38
	lea	rdi, .LC4[rip]
	call	error
.L38:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1056[rbp]
	mov	rsi, rax
	mov	eax, 0
	mov	edx, 32
	mov	rdi, rsi
	mov	rcx, rdx
	rep stosq
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -1056[rbp]
	mov	esi, 255
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -1056[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L7
	jmp	.L8
.L11:
	mov	rax, QWORD PTR -1128[rbp]
	add	rax, 19
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L8
	mov	rax, QWORD PTR -1128[rbp]
	add	rax, 19
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L10
	jmp	.L8
.L10:
	add	DWORD PTR -1180[rbp], 1
	mov	rax, QWORD PTR -1128[rbp]
	lea	rdx, 19[rax]
	mov	eax, DWORD PTR -1180[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
.L8:
	mov	rax, QWORD PTR -1152[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -1128[rbp], rax
	cmp	QWORD PTR -1128[rbp], 0
	jne	.L11
	mov	DWORD PTR -1180[rbp], 0
	mov	rax, QWORD PTR -1152[rbp]
	mov	rdi, rax
	call	rewinddir@PLT
	jmp	.L38
.L7:
	lea	rax, -1056[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L13
	lea	rax, -1056[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rcx, -1056[rbp]
	mov	eax, DWORD PTR -1168[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -1164[rbp], eax
	cmp	DWORD PTR -1164[rbp], 0
	jns	.L41
	lea	rdi, .LC11[rip]
	call	error
	jmp	.L41
.L13:
	movzx	eax, BYTE PTR -1056[rbp]
	cmp	al, 100
	jne	.L16
	lea	rax, -1056[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rcx, -1056[rbp]
	mov	eax, DWORD PTR -1168[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -1164[rbp], eax
	cmp	DWORD PTR -1164[rbp], 0
	jns	.L17
	lea	rdi, .LC11[rip]
	call	error
.L17:
	lea	rax, -1056[rbp]
	mov	rsi, rax
	mov	eax, 0
	mov	edx, 32
	mov	rdi, rsi
	mov	rcx, rdx
	rep stosq
	lea	rcx, -1056[rbp]
	mov	eax, DWORD PTR -1168[rbp]
	mov	edx, 255
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -1164[rbp], eax
	cmp	DWORD PTR -1164[rbp], 0
	jns	.L18
	lea	rdi, .LC12[rip]
	call	error
.L18:
	lea	rax, -1056[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L19
	lea	rax, -1056[rbp]
	mov	rdi, rax
	call	puts@PLT
	jmp	.L12
.L19:
	lea	rax, -1056[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -1104[rbp], rax
	lea	rsi, .LC14[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -1096[rbp], rax
	mov	rax, QWORD PTR -1104[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -1104[rbp], rax
	lea	rsi, .LC15[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -1104[rbp], rax
	mov	rax, QWORD PTR -1096[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -1088[rbp], rax
	lea	rsi, .LC15[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -1088[rbp], rax
	mov	rax, QWORD PTR -1088[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	esi, 1
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -1096[rbp], rax
	mov	DWORD PTR -1176[rbp], 0
	jmp	.L20
.L21:
	mov	eax, DWORD PTR -1176[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -1088[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -1176[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -1096[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -1176[rbp], 1
.L20:
	mov	eax, DWORD PTR -1176[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -1088[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L21
	mov	rax, QWORD PTR -1104[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -1156[rbp], eax
	lea	rax, -1056[rbp]
	mov	rsi, rax
	mov	eax, 0
	mov	edx, 32
	mov	rdi, rsi
	mov	rcx, rdx
	rep stosq
	lea	rax, -1056[rbp]
	movabs	rbx, 8027139091581724018
	mov	QWORD PTR [rax], rbx
	mov	DWORD PTR 8[rax], 1768300658
	mov	WORD PTR 12[rax], 25964
	mov	BYTE PTR 14[rax], 0
	lea	rax, -1056[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rcx, -1056[rbp]
	mov	eax, DWORD PTR -1168[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -1164[rbp], eax
	cmp	DWORD PTR -1164[rbp], 0
	jns	.L22
	lea	rdi, .LC11[rip]
	call	error
.L22:
	mov	eax, DWORD PTR -1156[rbp]
	cdqe
	mov	esi, 1
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -1112[rbp], rax
	mov	eax, DWORD PTR -1156[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -1112[rbp]
	mov	eax, DWORD PTR -1168[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -1164[rbp], eax
	cmp	DWORD PTR -1164[rbp], 0
	jns	.L23
	lea	rdi, .LC16[rip]
	call	error
.L23:
	lea	rax, -544[rbp]
	mov	rsi, rax
	mov	eax, 0
	mov	edx, 32
	mov	rdi, rsi
	mov	rcx, rdx
	rep stosq
	lea	rax, -544[rbp]
	movabs	rbx, 13281496574749030
	mov	QWORD PTR [rax], rbx
	mov	rdx, QWORD PTR -1096[rbp]
	lea	rax, -544[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -544[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1080[rbp], rax
	cmp	QWORD PTR -1080[rbp], 0
	je	.L24
	mov	rdx, QWORD PTR -1080[rbp]
	mov	rax, QWORD PTR -1112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	jmp	.L25
.L24:
	lea	rdi, .LC18[rip]
	call	error
.L25:
	mov	rax, QWORD PTR -1080[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rax, -1056[rbp]
	mov	rsi, rax
	mov	eax, 0
	mov	edx, 32
	mov	rdi, rsi
	mov	rcx, rdx
	rep stosq
	lea	rax, -544[rbp]
	mov	rsi, rax
	mov	eax, 0
	mov	edx, 32
	mov	rdi, rsi
	mov	rcx, rdx
	rep stosq
	mov	rax, QWORD PTR -1112[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -1096[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L12
.L16:
	movzx	eax, BYTE PTR -1056[rbp]
	cmp	al, 117
	jne	.L26
	lea	rax, -1056[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -1136[rbp], rax
	lea	rsi, .LC19[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -1136[rbp], rax
	mov	rax, QWORD PTR -1136[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -1160[rbp], eax
	lea	rax, -1056[rbp]
	mov	rsi, rax
	mov	eax, 0
	mov	edx, 32
	mov	rdi, rsi
	mov	rcx, rdx
	rep stosq
	jmp	.L27
.L35:
	mov	rax, QWORD PTR -1128[rbp]
	add	rax, 19
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L27
	mov	rax, QWORD PTR -1128[rbp]
	add	rax, 19
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L27
	add	DWORD PTR -1180[rbp], 1
	mov	eax, DWORD PTR -1180[rbp]
	cmp	eax, DWORD PTR -1160[rbp]
	jne	.L27
	mov	BYTE PTR -1181[rbp], 1
	lea	rax, -288[rbp]
	mov	DWORD PTR [rax], 1701603686
	mov	WORD PTR 4[rax], 12147
	mov	BYTE PTR 6[rax], 0
	mov	rax, QWORD PTR -1128[rbp]
	lea	rdx, 19[rax]
	lea	rax, -288[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -288[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1120[rbp], rax
	cmp	QWORD PTR -1120[rbp], 0
	jne	.L28
	lea	rax, -1056[rbp]
	movabs	rbx, 7309940683065938501
	movabs	rsi, 7453010390573216372
	mov	QWORD PTR [rax], rbx
	mov	QWORD PTR 8[rax], rsi
	mov	DWORD PTR 16[rax], 1818846752
	mov	WORD PTR 20[rax], 101
	jmp	.L42
.L28:
	mov	rax, QWORD PTR -1120[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -1120[rbp]
	mov	rdi, rax
	call	ftell@PLT
	add	eax, 1
	mov	DWORD PTR -1156[rbp], eax
	mov	rax, QWORD PTR -1120[rbp]
	mov	rdi, rax
	call	rewind@PLT
	mov	edx, DWORD PTR -1156[rbp]
	lea	rax, -800[rbp]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -1056[rbp]
	movabs	rbx, 8820708198742518118
	mov	QWORD PTR [rax], rbx
	mov	WORD PTR 8[rax], 14949
	mov	BYTE PTR 10[rax], 0
	lea	rdx, -800[rbp]
	lea	rax, -1056[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -1056[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -1056[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 44
	lea	rax, -1056[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -1056[rbp]
	add	rax, rdx
	movabs	rbx, 7881702178877630822
	mov	QWORD PTR [rax], rbx
	mov	WORD PTR 8[rax], 14949
	mov	BYTE PTR 10[rax], 0
	mov	rax, QWORD PTR -1128[rbp]
	lea	rdx, 19[rax]
	lea	rax, -1056[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -1056[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rcx, -1056[rbp]
	mov	eax, DWORD PTR -1168[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -1164[rbp], eax
	cmp	DWORD PTR -1164[rbp], 0
	jns	.L30
	lea	rdi, .LC11[rip]
	call	error
.L30:
	lea	rax, -1056[rbp]
	mov	rsi, rax
	mov	eax, 0
	mov	edx, 32
	mov	rdi, rsi
	mov	rcx, rdx
	rep stosq
	lea	rcx, -1056[rbp]
	mov	eax, DWORD PTR -1168[rbp]
	mov	edx, 255
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -1164[rbp], eax
	cmp	DWORD PTR -1164[rbp], 0
	jns	.L31
	lea	rdi, .LC12[rip]
	call	error
.L31:
	lea	rax, -1056[rbp]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L42
	mov	eax, DWORD PTR -1156[rbp]
	cdqe
	mov	esi, 1
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -1112[rbp], rax
	mov	eax, DWORD PTR -1156[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -1120[rbp]
	mov	rax, QWORD PTR -1112[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -1164[rbp], eax
	cmp	DWORD PTR -1164[rbp], 0
	jns	.L32
	lea	rdi, .LC23[rip]
	call	error
.L32:
	mov	rax, QWORD PTR -1120[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -1156[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -1112[rbp]
	mov	eax, DWORD PTR -1168[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -1164[rbp], eax
	cmp	DWORD PTR -1164[rbp], 0
	jns	.L33
	lea	rdi, .LC24[rip]
	call	error
.L33:
	mov	rax, QWORD PTR -1112[rbp]
	mov	rdi, rax
	call	free@PLT
	lea	rax, -1056[rbp]
	mov	rsi, rax
	mov	eax, 0
	mov	edx, 32
	mov	rdi, rsi
	mov	rcx, rdx
	rep stosq
	jmp	.L42
.L27:
	mov	rax, QWORD PTR -1152[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -1128[rbp], rax
	cmp	QWORD PTR -1128[rbp], 0
	jne	.L35
	jmp	.L38
.L26:
	lea	rax, -1056[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rcx, -1056[rbp]
	mov	eax, DWORD PTR -1168[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -1164[rbp], eax
	cmp	DWORD PTR -1164[rbp], 0
	jns	.L36
	lea	rdi, .LC11[rip]
	call	error
.L36:
	lea	rax, -1056[rbp]
	mov	rsi, rax
	mov	eax, 0
	mov	edx, 32
	mov	rdi, rsi
	mov	rcx, rdx
	rep stosq
	lea	rcx, -1056[rbp]
	mov	eax, DWORD PTR -1168[rbp]
	mov	edx, 255
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -1164[rbp], eax
	cmp	DWORD PTR -1164[rbp], 0
	jns	.L37
	lea	rdi, .LC12[rip]
	call	error
.L37:
	lea	rax, -1056[rbp]
	mov	rdi, rax
	call	puts@PLT
	jmp	.L38
.L42:
	nop
.L12:
	jmp	.L38
.L41:
	nop
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L40
	call	__stack_chk_fail@PLT
.L40:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.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	"946193.c"
	.text
	.align	2
	.global	error
	.syntax unified
	.arm
	.fpu softvfp
	.type	error, %function
error:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	perror
	mov	r0, #0
	bl	exit
	.size	error, .-error
	.section	.rodata
	.align	2
.LC0:
	.ascii	"./files\000"
	.align	2
.LC1:
	.ascii	"usage %s hostname port\012\000"
	.align	2
.LC2:
	.ascii	"ERROR opening socket\000"
	.align	2
.LC3:
	.ascii	"ERROR, no such host\012\000"
	.align	2
.LC4:
	.ascii	"ERROR connecting\000"
	.align	2
.LC5:
	.ascii	">>\000"
	.align	2
.LC6:
	.ascii	"ls client\012\000"
	.align	2
.LC7:
	.ascii	".\000"
	.align	2
.LC8:
	.ascii	"..\000"
	.align	2
.LC9:
	.ascii	"%i. %s\012\000"
	.align	2
.LC10:
	.ascii	"bye\012\000"
	.align	2
.LC11:
	.ascii	"ERROR writing to socket\000"
	.align	2
.LC12:
	.ascii	"ERROR reading from socket\000"
	.align	2
.LC13:
	.ascii	"ERROR retrieving file\000"
	.align	2
.LC14:
	.ascii	",\000"
	.align	2
.LC15:
	.ascii	":\000"
	.align	2
.LC16:
	.ascii	"ready for file\000"
	.align	2
.LC17:
	.ascii	"ERROR reading file from socket\000"
	.align	2
.LC18:
	.ascii	"files//\000"
	.align	2
.LC19:
	.ascii	"w\000"
	.align	2
.LC20:
	.ascii	"ERROR writing to file\000"
	.align	2
.LC21:
	.ascii	" \000"
	.align	2
.LC22:
	.ascii	"files/\000"
	.align	2
.LC23:
	.ascii	"r\000"
	.align	2
.LC24:
	.ascii	"%d\000"
	.align	2
.LC25:
	.ascii	"file_size:\000"
	.align	2
.LC26:
	.ascii	"file_name:\000"
	.align	2
.LC27:
	.ascii	"ERROR reading from file\000"
	.align	2
.LC28:
	.ascii	"ERROR writing file to socket\000"
	.align	2
.LC29:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1120
	sub	sp, sp, #8
	str	r0, [fp, #-1128]
	str	r1, [fp, #-1132]
	ldr	r3, .L43
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1116]
	ldr	r0, .L43+4
	bl	opendir
	str	r0, [fp, #-1108]
	mov	r3, #0
	strb	r3, [fp, #-1117]
	ldr	r3, [fp, #-1128]
	cmp	r3, #2
	bgt	.L3
	ldr	r3, .L43+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-1132]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L43+12
	bl	fprintf
	mov	r0, #0
	bl	exit
.L3:
	ldr	r3, [fp, #-1132]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-1104]
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-1100]
	ldr	r3, [fp, #-1100]
	cmp	r3, #0
	bge	.L4
	ldr	r0, .L43+16
	bl	error
.L4:
	ldr	r3, [fp, #-1132]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	gethostbyname
	str	r0, [fp, #-1096]
	ldr	r3, [fp, #-1096]
	cmp	r3, #0
	bne	.L5
	ldr	r3, .L43+8
	ldr	r3, [r3]
	mov	r2, #20
	mov	r1, #1
	ldr	r0, .L43+20
	bl	fwrite
	mov	r0, #0
	bl	exit
.L5:
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2]
	str	r3, [r2, #4]
	str	r3, [r2, #8]
	str	r3, [r2, #12]
	sub	r3, fp, #4
	sub	r3, r3, #1040
	sub	r3, r3, #4
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-1096]
	ldr	r3, [r3, #16]
	ldr	r1, [r3]
	ldr	r3, [fp, #-1096]
	ldr	r3, [r3, #12]
	mov	r2, r3
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #4
	add	r3, r3, #4
	mov	r0, r3
	bl	memmove
	ldr	r3, [fp, #-1104]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #4
	sub	r3, r3, #1040
	sub	r3, r3, #4
	strh	r2, [r3, #2]	@ movhi
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-1100]
	bl	connect
	mov	r3, r0
	cmp	r3, #0
	bge	.L38
	ldr	r0, .L43+24
	bl	error
.L38:
	ldr	r0, .L43+28
	bl	printf
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	mov	r3, #256
	mov	r2, r3
	mov	r1, #0
	bl	memset
	ldr	r3, .L43+32
	ldr	r2, [r3]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, #255
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L43+36
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	b	.L8
.L11:
	ldr	r3, [fp, #-1080]
	add	r3, r3, #11
	ldr	r1, .L43+40
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L8
	ldr	r3, [fp, #-1080]
	add	r3, r3, #11
	ldr	r1, .L43+44
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	b	.L8
.L10:
	ldr	r3, [fp, #-1116]
	add	r3, r3, #1
	str	r3, [fp, #-1116]
	ldr	r3, [fp, #-1080]
	add	r3, r3, #11
	mov	r2, r3
	ldr	r1, [fp, #-1116]
	ldr	r0, .L43+48
	bl	printf
.L8:
	ldr	r0, [fp, #-1108]
	bl	readdir
	str	r0, [fp, #-1080]
	ldr	r3, [fp, #-1080]
	cmp	r3, #0
	bne	.L11
	mov	r3, #0
	str	r3, [fp, #-1116]
	ldr	r0, [fp, #-1108]
	bl	rewinddir
	b	.L38
.L7:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L43+52
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L13
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-1100]
	bl	write
	str	r0, [fp, #-1092]
	ldr	r3, [fp, #-1092]
	cmp	r3, #0
	bge	.L41
	ldr	r0, .L43+56
	bl	error
	b	.L41
.L13:
	ldrb	r3, [fp, #-1032]	@ zero_extendqisi2
	cmp	r3, #100
	bne	.L16
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-1100]
	bl	write
	str	r0, [fp, #-1092]
	ldr	r3, [fp, #-1092]
	cmp	r3, #0
	bge	.L17
	ldr	r0, .L43+56
	bl	error
.L17:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	mov	r3, #256
	mov	r2, r3
	mov	r1, #0
	bl	memset
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #255
	mov	r1, r3
	ldr	r0, [fp, #-1100]
	bl	read
	str	r0, [fp, #-1092]
	ldr	r3, [fp, #-1092]
	cmp	r3, #0
	bge	.L18
	ldr	r0, .L43+60
	bl	error
.L18:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L43+64
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L19
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	puts
	b	.L12
.L19:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L43+68
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-1064]
	ldr	r1, .L43+68
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-1060]
	ldr	r1, .L43+72
	ldr	r0, [fp, #-1064]
	bl	strtok
	str	r0, [fp, #-1064]
	ldr	r1, .L43+72
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-1064]
	ldr	r1, .L43+72
	ldr	r0, [fp, #-1060]
	bl	strtok
	str	r0, [fp, #-1056]
	ldr	r1, .L43+72
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-1056]
	ldr	r0, [fp, #-1056]
	bl	strlen
	mov	r3, r0
	mov	r1, #1
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-1060]
	mov	r3, #0
	str	r3, [fp, #-1112]
	b	.L20
.L21:
	ldr	r3, [fp, #-1112]
	ldr	r2, [fp, #-1056]
	add	r2, r2, r3
	ldr	r3, [fp, #-1112]
	ldr	r1, [fp, #-1060]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-1112]
	add	r3, r3, #1
	str	r3, [fp, #-1112]
.L20:
	ldr	r0, [fp, #-1056]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-1112]
	cmp	r2, r3
	bhi	.L21
	ldr	r0, [fp, #-1064]
	bl	atoi
	str	r0, [fp, #-1072]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	mov	r3, #256
	mov	r2, r3
	mov	r1, #0
	bl	memset
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, .L43+76
	mov	ip, r3
	mov	r3, r2
	ldm	r3, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2}
	strh	r3, [ip]	@ movhi
	add	ip, ip, #2
	lsr	r3, r3, #16
	strb	r3, [ip]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-1100]
	bl	write
	str	r0, [fp, #-1092]
	ldr	r3, [fp, #-1092]
	cmp	r3, #0
	bge	.L22
	ldr	r0, .L43+56
	bl	error
.L22:
	ldr	r3, [fp, #-1072]
	mov	r1, #1
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-1068]
	ldr	r3, [fp, #-1072]
	mov	r2, r3
	ldr	r1, [fp, #-1068]
	ldr	r0, [fp, #-1100]
	bl	read
	str	r0, [fp, #-1092]
	ldr	r3, [fp, #-1092]
	cmp	r3, #0
	bge	.L23
	ldr	r0, .L43+80
	bl	error
.L23:
	sub	r3, fp, #520
	mov	r0, r3
	mov	r3, #256
	mov	r2, r3
	mov	r1, #0
	bl	memset
	sub	r3, fp, #520
	ldr	r2, .L43+84
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	sub	r3, fp, #520
	ldr	r1, [fp, #-1060]
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #520
	ldr	r1, .L43+88
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-1052]
	ldr	r3, [fp, #-1052]
	cmp	r3, #0
	beq	.L24
	ldr	r1, [fp, #-1052]
	ldr	r0, [fp, #-1068]
	bl	fputs
	b	.L25
.L24:
	ldr	r0, .L43+92
	bl	error
.L25:
	ldr	r0, [fp, #-1052]
	bl	fclose
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	mov	r3, #256
	mov	r2, r3
	mov	r1, #0
	bl	memset
	sub	r3, fp, #520
	mov	r0, r3
	mov	r3, #256
	mov	r2, r3
	mov	r1, #0
	bl	memset
	ldr	r0, [fp, #-1068]
	bl	free
	ldr	r0, [fp, #-1060]
	bl	free
	b	.L12
.L16:
	ldrb	r3, [fp, #-1032]	@ zero_extendqisi2
	cmp	r3, #117
	bne	.L26
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L43+96
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-1088]
	ldr	r1, .L43+96
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-1088]
	ldr	r0, [fp, #-1088]
	bl	atoi
	str	r0, [fp, #-1084]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	mov	r3, #256
	mov	r2, r3
	mov	r1, #0
	bl	memset
	b	.L27
.L35:
	ldr	r3, [fp, #-1080]
	add	r3, r3, #11
	ldr	r1, .L43+40
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L27
	ldr	r3, [fp, #-1080]
	add	r3, r3, #11
	ldr	r1, .L43+44
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L27
	ldr	r3, [fp, #-1116]
	add	r3, r3, #1
	str	r3, [fp, #-1116]
	ldr	r2, [fp, #-1116]
	ldr	r3, [fp, #-1084]
	cmp	r2, r3
	bne	.L27
	mov	r3, #1
	strb	r3, [fp, #-1117]
	sub	r3, fp, #264
	ldr	r2, .L43+100
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r1, #16
	strb	r2, [r3]
	ldr	r3, [fp, #-1080]
	add	r2, r3, #11
	sub	r3, fp, #264
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #264
	ldr	r1, .L43+104
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-1076]
	ldr	r3, [fp, #-1076]
	cmp	r3, #0
	bne	.L28
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, .L43+64
	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
	b	.L42
.L28:
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-1076]
	bl	fseek
	ldr	r0, [fp, #-1076]
	bl	ftell
	mov	r3, r0
	add	r3, r3, #1
	str	r3, [fp, #-1072]
	ldr	r0, [fp, #-1076]
	bl	rewind
	sub	r3, fp, #776
	ldr	r2, [fp, #-1072]
	ldr	r1, .L43+108
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, .L43+112
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strh	r2, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r2, #16
	strb	r2, [r3]
	sub	r2, fp, #776
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	add	r3, r3, r2
	ldr	r2, .L43+68
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	add	r3, r3, r2
	ldr	r2, .L43+116
	mov	r0, r3
	mov	r1, r2
	mov	r3, #11
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-1080]
	add	r2, r3, #11
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-1100]
	bl	write
	str	r0, [fp, #-1092]
	ldr	r3, [fp, #-1092]
	cmp	r3, #0
	bge	.L30
	ldr	r0, .L43+56
	bl	error
.L30:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	mov	r3, #256
	mov	r2, r3
	mov	r1, #0
	bl	memset
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #255
	mov	r1, r3
	ldr	r0, [fp, #-1100]
	bl	read
	str	r0, [fp, #-1092]
	ldr	r3, [fp, #-1092]
	cmp	r3, #0
	bge	.L31
	ldr	r0, .L43+60
	bl	error
.L31:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L43+76
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L42
	ldr	r3, [fp, #-1072]
	mov	r1, #1
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-1068]
	ldr	r2, [fp, #-1072]
	ldr	r3, [fp, #-1076]
	mov	r1, #1
	ldr	r0, [fp, #-1068]
	bl	fread
	mov	r3, r0
	str	r3, [fp, #-1092]
	ldr	r3, [fp, #-1092]
	cmp	r3, #0
	bge	.L32
	ldr	r0, .L43+120
	bl	error
.L32:
	ldr	r0, [fp, #-1076]
	bl	fclose
	ldr	r3, [fp, #-1072]
	mov	r2, r3
	ldr	r1, [fp, #-1068]
	ldr	r0, [fp, #-1100]
	bl	write
	str	r0, [fp, #-1092]
	ldr	r3, [fp, #-1092]
	cmp	r3, #0
	bge	.L33
	ldr	r0, .L43+124
	bl	error
.L33:
	ldr	r0, [fp, #-1068]
	bl	free
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	mov	r3, #256
	mov	r2, r3
	mov	r1, #0
	bl	memset
	b	.L42
.L27:
	ldr	r0, [fp, #-1108]
	bl	readdir
	str	r0, [fp, #-1080]
	ldr	r3, [fp, #-1080]
	cmp	r3, #0
	bne	.L35
	b	.L38
.L26:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-1100]
	bl	write
	str	r0, [fp, #-1092]
	ldr	r3, [fp, #-1092]
	cmp	r3, #0
	bge	.L36
	ldr	r0, .L43+56
	bl	error
.L36:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	mov	r3, #256
	mov	r2, r3
	mov	r1, #0
	bl	memset
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #255
	mov	r1, r3
	ldr	r0, [fp, #-1100]
	bl	read
	str	r0, [fp, #-1092]
	ldr	r3, [fp, #-1092]
	cmp	r3, #0
	bge	.L37
	ldr	r0, .L43+60
	bl	error
.L37:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	puts
	b	.L38
.L42:
	nop
.L12:
	b	.L38
.L41:
	nop
	mov	r3, #0
	ldr	r2, .L43
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L40
	bl	__stack_chk_fail
.L40:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC29
	.word	.LC0
	.word	stderr
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	stdin
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
