	.file	"498821.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"usage: cp src_dir dest_dir"
	.align 8
.LC1:
	.string	"cp: error of the copying %s to %s\n"
	.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, 192
	mov	DWORD PTR -180[rbp], edi
	mov	QWORD PTR -192[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -180[rbp], 3
	je	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 26
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	edi, 0
	call	pthread_exit@PLT
.L2:
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rdx, -160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	lstat@PLT
	test	eax, eax
	jns	.L3
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 0
	call	pthread_exit@PLT
.L3:
	mov	edi, 512
	call	malloc@PLT
	mov	QWORD PTR -168[rbp], rax
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -168[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -168[rbp]
	add	rdx, 255
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	eax, DWORD PTR -136[rbp]
	and	eax, 61440
	cmp	eax, 32768
	jne	.L4
	mov	rax, QWORD PTR -168[rbp]
	mov	WORD PTR 510[rax], 0
	jmp	.L5
.L4:
	mov	eax, DWORD PTR -136[rbp]
	and	eax, 61440
	cmp	eax, 16384
	jne	.L6
	mov	rax, QWORD PTR -168[rbp]
	mov	WORD PTR 510[rax], 1
	jmp	.L5
.L6:
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 16
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 8
	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	pthread_exit@PLT
.L5:
	mov	rax, QWORD PTR -168[rbp]
	mov	rdi, rax
	call	copy
	mov	edi, 0
	call	pthread_exit@PLT
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC2:
	.string	"write"
	.text
	.globl	copy_file
	.type	copy_file, @function
copy_file:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 192
	mov	QWORD PTR -8376[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -8376[rbp]
	lea	rdx, -8352[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	lstat@PLT
	test	eax, eax
	jns	.L9
	mov	rax, QWORD PTR -8376[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 0
	call	pthread_exit@PLT
.L9:
	mov	rax, QWORD PTR -8376[rbp]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -8368[rbp], eax
	jmp	.L10
.L12:
	mov	edi, 2
	call	sleep@PLT
	mov	rax, QWORD PTR -8376[rbp]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -8368[rbp], eax
.L10:
	cmp	DWORD PTR -8368[rbp], 0
	jns	.L11
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 24
	je	.L12
.L11:
	cmp	DWORD PTR -8368[rbp], 0
	jns	.L13
	mov	rax, QWORD PTR -8376[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 0
	call	pthread_exit@PLT
.L13:
	mov	eax, DWORD PTR -8328[rbp]
	mov	rdx, QWORD PTR -8376[rbp]
	lea	rcx, 255[rdx]
	mov	edx, eax
	mov	esi, 66
	mov	rdi, rcx
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -8364[rbp], eax
	jmp	.L14
.L16:
	mov	edi, 2
	call	sleep@PLT
	mov	eax, DWORD PTR -8328[rbp]
	mov	rdx, QWORD PTR -8376[rbp]
	lea	rcx, 255[rdx]
	mov	edx, eax
	mov	esi, 66
	mov	rdi, rcx
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -8364[rbp], eax
.L14:
	cmp	DWORD PTR -8364[rbp], 0
	jns	.L15
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 24
	je	.L16
.L15:
	cmp	DWORD PTR -8364[rbp], 0
	jns	.L17
	mov	rax, QWORD PTR -8376[rbp]
	add	rax, 255
	mov	rdi, rax
	call	perror@PLT
	mov	eax, DWORD PTR -8368[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edi, 0
	call	pthread_exit@PLT
.L17:
	mov	QWORD PTR -8360[rbp], 0
	jmp	.L18
.L20:
	mov	rdx, QWORD PTR -8360[rbp]
	lea	rcx, -8208[rbp]
	mov	eax, DWORD PTR -8364[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	test	rax, rax
	jns	.L18
	lea	rdi, .LC2[rip]
	call	perror@PLT
	jmp	.L19
.L18:
	lea	rcx, -8208[rbp]
	mov	eax, DWORD PTR -8368[rbp]
	mov	edx, 8192
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	QWORD PTR -8360[rbp], rax
	cmp	QWORD PTR -8360[rbp], 0
	jne	.L20
.L19:
	mov	eax, DWORD PTR -8364[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -8368[rbp]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR -8376[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	edi, 0
	call	pthread_exit@PLT
	.cfi_endproc
.LFE7:
	.size	copy_file, .-copy_file
	.section	.rodata
.LC3:
	.string	"."
.LC4:
	.string	".."
.LC5:
	.string	"malloc"
.LC6:
	.string	"pthread_create"
.LC7:
	.string	"pthread_detach"
	.text
	.globl	copy_directory
	.type	copy_directory, @function
copy_directory:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 224
	mov	QWORD PTR -8408[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -8388[rbp], 0
	mov	rax, QWORD PTR -8408[rbp]
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -8384[rbp], rax
	jmp	.L23
.L25:
	mov	edi, 2
	call	sleep@PLT
	mov	rax, QWORD PTR -8408[rbp]
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -8384[rbp], rax
.L23:
	cmp	QWORD PTR -8384[rbp], 0
	jne	.L24
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 24
	je	.L25
.L24:
	cmp	QWORD PTR -8384[rbp], 0
	jne	.L26
	mov	rax, QWORD PTR -8408[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 0
	call	pthread_exit@PLT
.L26:
	mov	rax, QWORD PTR -8408[rbp]
	add	rax, 255
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -8376[rbp], rax
	jmp	.L27
.L29:
	mov	edi, 2
	call	sleep@PLT
	mov	rax, QWORD PTR -8408[rbp]
	add	rax, 255
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -8376[rbp], rax
.L27:
	cmp	QWORD PTR -8376[rbp], 0
	jne	.L28
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 24
	je	.L29
.L28:
	cmp	QWORD PTR -8376[rbp], 0
	jne	.L31
	mov	rax, QWORD PTR -8408[rbp]
	add	rax, 255
	mov	rdi, rax
	call	perror@PLT
	mov	rax, QWORD PTR -8384[rbp]
	mov	rdi, rax
	call	closedir@PLT
	mov	edi, 0
	call	pthread_exit@PLT
.L41:
	mov	rax, QWORD PTR -8368[rbp]
	add	rax, 19
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L31
	mov	rax, QWORD PTR -8368[rbp]
	add	rax, 19
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L33
	jmp	.L31
.L33:
	mov	edi, 512
	call	malloc@PLT
	mov	QWORD PTR -8360[rbp], rax
	cmp	QWORD PTR -8360[rbp], 0
	jne	.L34
	lea	rdi, .LC5[rip]
	call	perror@PLT
	jmp	.L35
.L34:
	mov	rax, QWORD PTR -8368[rbp]
	lea	rdx, 19[rax]
	mov	rcx, QWORD PTR -8408[rbp]
	mov	rax, QWORD PTR -8360[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	add_new_path_element
	mov	rax, QWORD PTR -8368[rbp]
	lea	rdx, 19[rax]
	mov	rax, QWORD PTR -8408[rbp]
	lea	rcx, 255[rax]
	mov	rax, QWORD PTR -8360[rbp]
	add	rax, 255
	mov	rsi, rcx
	mov	rdi, rax
	call	add_new_path_element
	mov	rax, QWORD PTR -8360[rbp]
	lea	rdx, -8352[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	lstat@PLT
	test	eax, eax
	jns	.L36
	mov	rax, QWORD PTR -8360[rbp]
	mov	rdi, rax
	call	perror@PLT
	jmp	.L35
.L36:
	mov	eax, DWORD PTR -8328[rbp]
	and	eax, 61440
	cmp	eax, 32768
	jne	.L37
	mov	rax, QWORD PTR -8360[rbp]
	mov	WORD PTR 510[rax], 0
	jmp	.L38
.L37:
	mov	eax, DWORD PTR -8328[rbp]
	and	eax, 61440
	cmp	eax, 16384
	jne	.L38
	mov	rax, QWORD PTR -8360[rbp]
	mov	WORD PTR 510[rax], 1
	mov	eax, DWORD PTR -8328[rbp]
	mov	rdx, QWORD PTR -8360[rbp]
	add	rdx, 255
	mov	esi, eax
	mov	rdi, rdx
	call	mkdir@PLT
	test	eax, eax
	jns	.L38
	mov	rax, QWORD PTR -8360[rbp]
	add	rax, 255
	mov	rdi, rax
	call	perror@PLT
	jmp	.L35
.L38:
	lea	rdx, -8208[rbp]
	mov	eax, DWORD PTR -8388[rbp]
	cdqe
	sal	rax, 3
	lea	rdi, [rdx+rax]
	mov	rax, QWORD PTR -8360[rbp]
	mov	rcx, rax
	lea	rdx, copy[rip]
	mov	esi, 0
	call	pthread_create@PLT
	test	eax, eax
	jns	.L39
	lea	rdi, .LC6[rip]
	call	perror@PLT
	jmp	.L35
.L39:
	mov	eax, DWORD PTR -8388[rbp]
	cdqe
	mov	rax, QWORD PTR -8208[rbp+rax*8]
	mov	rdi, rax
	call	pthread_detach@PLT
	test	eax, eax
	jns	.L40
	lea	rdi, .LC7[rip]
	call	perror@PLT
	jmp	.L35
.L40:
	add	DWORD PTR -8388[rbp], 1
.L31:
	mov	rax, QWORD PTR -8384[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -8368[rbp], rax
	cmp	QWORD PTR -8368[rbp], 0
	jne	.L41
.L35:
	mov	rax, QWORD PTR -8384[rbp]
	mov	rdi, rax
	call	closedir@PLT
	mov	rax, QWORD PTR -8376[rbp]
	mov	rdi, rax
	call	closedir@PLT
	mov	rax, QWORD PTR -8408[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	edi, 0
	call	pthread_exit@PLT
	.cfi_endproc
.LFE8:
	.size	copy_directory, .-copy_directory
	.globl	copy
	.type	copy, @function
copy:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 510[rax]
	test	ax, ax
	jne	.L44
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	copy_file
	jmp	.L45
.L44:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	copy_directory
.L45:
	mov	edi, 0
	call	pthread_exit@PLT
	.cfi_endproc
.LFE9:
	.size	copy, .-copy
	.globl	add_new_path_element
	.type	add_new_path_element, @function
add_new_path_element:
.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, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 47
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	add_new_path_element, .-add_new_path_element
	.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	"498821.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"usage: cp src_dir dest_dir\000"
	.align	2
.LC1:
	.ascii	"cp: error of the copying %s to %s\012\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-112]
	cmp	r3, #3
	beq	.L2
	ldr	r3, .L8+4
	ldr	r3, [r3]
	mov	r2, #26
	mov	r1, #1
	ldr	r0, .L8+8
	bl	fwrite
	mov	r0, #0
	bl	pthread_exit
.L2:
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #100
	mov	r1, r2
	mov	r0, r3
	bl	lstat
	mov	r3, r0
	cmp	r3, #0
	bge	.L3
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	perror
	mov	r0, #0
	bl	pthread_exit
.L3:
	mov	r0, #512
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-104]
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	strcpy
	ldr	r3, [fp, #-104]
	add	r2, r3, #255
	ldr	r3, [fp, #-116]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	strcpy
	ldr	r3, [fp, #-84]
	and	r3, r3, #61440
	cmp	r3, #32768
	bne	.L4
	ldr	r3, [fp, #-104]
	add	r3, r3, #508
	add	r3, r3, #2
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L5
.L4:
	ldr	r3, [fp, #-84]
	and	r3, r3, #61440
	cmp	r3, #16384
	bne	.L6
	ldr	r3, [fp, #-104]
	add	r3, r3, #508
	add	r3, r3, #2
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	b	.L5
.L6:
	ldr	r3, .L8+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-116]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L8+12
	bl	fprintf
	mov	r0, #0
	bl	pthread_exit
.L5:
	ldr	r0, [fp, #-104]
	bl	copy
	mov	r0, #0
	bl	pthread_exit
.L9:
	.align	2
.L8:
	.word	.LC2
	.word	stderr
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.section	.rodata
	.align	2
.LC3:
	.ascii	"write\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	copy_file
	.syntax unified
	.arm
	.fpu softvfp
	.type	copy_file, %function
copy_file:
	@ args = 0, pretend = 0, frame = 8312
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #8256
	sub	sp, sp, #60
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r0, [r3, #-116]
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-116]
	sub	r3, fp, #8256
	sub	r3, r3, #12
	sub	r3, r3, #32
	mov	r1, r3
	mov	r0, r2
	bl	lstat
	mov	r3, r0
	cmp	r3, #0
	bge	.L11
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-116]
	mov	r0, r3
	bl	perror
	mov	r0, #0
	bl	pthread_exit
.L11:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-116]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r4, r2
	mov	r1, #0
	mov	r0, r3
	bl	open
	str	r0, [r4, #-108]
	b	.L12
.L14:
	mov	r0, #2
	bl	sleep
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-116]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r4, r2
	mov	r1, #0
	mov	r0, r3
	bl	open
	str	r0, [r4, #-108]
.L12:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-108]
	cmp	r3, #0
	bge	.L13
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #24
	beq	.L14
.L13:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-108]
	cmp	r3, #0
	bge	.L15
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-116]
	mov	r0, r3
	bl	perror
	mov	r0, #0
	bl	pthread_exit
.L15:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-116]
	add	r3, r3, #255
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-80]
	sub	r1, fp, #8192
	sub	r1, r1, #12
	mov	r4, r1
	mov	r1, #66
	mov	r0, r3
	bl	open
	str	r0, [r4, #-104]
	b	.L16
.L18:
	mov	r0, #2
	bl	sleep
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-116]
	add	r3, r3, #255
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-80]
	sub	r1, fp, #8192
	sub	r1, r1, #12
	mov	r4, r1
	mov	r1, #66
	mov	r0, r3
	bl	open
	str	r0, [r4, #-104]
.L16:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-104]
	cmp	r3, #0
	bge	.L17
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #24
	beq	.L18
.L17:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-104]
	cmp	r3, #0
	bge	.L19
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-116]
	add	r3, r3, #255
	mov	r0, r3
	bl	perror
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-108]
	bl	close
	mov	r0, #0
	bl	pthread_exit
.L19:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-100]
	b	.L20
.L22:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r1, fp, #8192
	sub	r1, r1, #12
	mov	r0, r1
	ldr	r2, [r2, #-100]
	mov	r1, r3
	ldr	r0, [r0, #-104]
	bl	write
	mov	r3, r0
	cmp	r3, #0
	bge	.L20
	ldr	r0, .L24+4
	bl	perror
	b	.L21
.L20:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #8192
	mov	r1, r3
	ldr	r0, [r0, #-108]
	bl	read
	mov	r3, r0
	sub	r2, fp, #8192
	sub	r2, r2, #12
	str	r3, [r2, #-100]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-100]
	cmp	r3, #0
	bne	.L22
.L21:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-104]
	bl	close
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-108]
	bl	close
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-116]
	bl	free
	mov	r0, #0
	bl	pthread_exit
.L25:
	.align	2
.L24:
	.word	.LC4
	.word	.LC3
	.size	copy_file, .-copy_file
	.section	.rodata
	.align	2
.LC5:
	.ascii	".\000"
	.align	2
.LC6:
	.ascii	"..\000"
	.align	2
.LC7:
	.ascii	"malloc\000"
	.align	2
.LC8:
	.ascii	"pthread_create\000"
	.align	2
.LC9:
	.ascii	"pthread_detach\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	copy_directory
	.syntax unified
	.arm
	.fpu softvfp
	.type	copy_directory, %function
copy_directory:
	@ args = 0, pretend = 0, frame = 4224
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4224
	sub	sp, sp, #4
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r0, [r3, #-124]
	ldr	r3, .L47
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-116]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-124]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	opendir
	str	r0, [r4, #-112]
	b	.L27
.L29:
	mov	r0, #2
	bl	sleep
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-124]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	opendir
	str	r0, [r4, #-112]
.L27:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-112]
	cmp	r3, #0
	bne	.L28
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #24
	beq	.L29
.L28:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-112]
	cmp	r3, #0
	bne	.L30
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-124]
	mov	r0, r3
	bl	perror
	mov	r0, #0
	bl	pthread_exit
.L30:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-124]
	add	r3, r3, #255
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	opendir
	str	r0, [r4, #-108]
	b	.L31
.L33:
	mov	r0, #2
	bl	sleep
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-124]
	add	r3, r3, #255
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	opendir
	str	r0, [r4, #-108]
.L31:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-108]
	cmp	r3, #0
	bne	.L32
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #24
	beq	.L33
.L32:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-108]
	cmp	r3, #0
	bne	.L35
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-124]
	add	r3, r3, #255
	mov	r0, r3
	bl	perror
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-112]
	bl	closedir
	mov	r0, #0
	bl	pthread_exit
.L45:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-104]
	add	r3, r3, #11
	ldr	r1, .L47+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L35
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-104]
	add	r3, r3, #11
	ldr	r1, .L47+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L37
	b	.L35
.L37:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	mov	r0, #512
	bl	malloc
	mov	r3, r0
	str	r3, [r4, #-100]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-100]
	cmp	r3, #0
	bne	.L38
	ldr	r0, .L47+12
	bl	perror
	b	.L39
.L38:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-100]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-124]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-104]
	add	r3, r3, #11
	mov	r2, r3
	bl	add_new_path_element
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-100]
	add	r0, r3, #255
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-124]
	add	r1, r3, #255
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-104]
	add	r3, r3, #11
	mov	r2, r3
	bl	add_new_path_element
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-100]
	sub	r3, fp, #4160
	sub	r3, r3, #12
	sub	r3, r3, #32
	mov	r1, r3
	mov	r0, r2
	bl	lstat
	mov	r3, r0
	cmp	r3, #0
	bge	.L40
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-100]
	mov	r0, r3
	bl	perror
	b	.L39
.L40:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-80]
	and	r3, r3, #61440
	cmp	r3, #32768
	bne	.L41
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-100]
	add	r3, r3, #508
	add	r3, r3, #2
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L42
.L41:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-80]
	and	r3, r3, #61440
	cmp	r3, #16384
	bne	.L42
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-100]
	add	r3, r3, #508
	add	r3, r3, #2
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-100]
	add	r3, r3, #255
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-80]
	mov	r1, r2
	mov	r0, r3
	bl	mkdir
	mov	r3, r0
	cmp	r3, #0
	bge	.L42
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-100]
	add	r3, r3, #255
	mov	r0, r3
	bl	perror
	b	.L39
.L42:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-116]
	lsl	r2, r2, #2
	add	r0, r3, r2
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-100]
	ldr	r2, .L47+16
	mov	r1, #0
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	bge	.L43
	ldr	r0, .L47+20
	bl	perror
	b	.L39
.L43:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-116]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-4]
	mov	r0, r3
	bl	pthread_detach
	mov	r3, r0
	cmp	r3, #0
	bge	.L44
	ldr	r0, .L47+24
	bl	perror
	b	.L39
.L44:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-116]
	add	r3, r3, #1
	str	r3, [r2, #-116]
.L35:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-112]
	bl	readdir
	str	r0, [r4, #-104]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-104]
	cmp	r3, #0
	bne	.L45
.L39:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-112]
	bl	closedir
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-108]
	bl	closedir
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-124]
	bl	free
	mov	r0, #0
	bl	pthread_exit
.L48:
	.align	2
.L47:
	.word	.LC10
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	copy
	.word	.LC8
	.word	.LC9
	.size	copy_directory, .-copy_directory
	.align	2
	.global	copy
	.syntax unified
	.arm
	.fpu softvfp
	.type	copy, %function
copy:
	@ 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	r3, [fp, #-8]
	add	r3, r3, #508
	add	r3, r3, #2
	ldrsh	r3, [r3]
	cmp	r3, #0
	bne	.L50
	ldr	r0, [fp, #-8]
	bl	copy_file
	b	.L51
.L50:
	ldr	r0, [fp, #-8]
	bl	copy_directory
.L51:
	mov	r0, #0
	bl	pthread_exit
	.size	copy, .-copy
	.section	.rodata
	.align	2
.LC11:
	.ascii	"/\000"
	.text
	.align	2
	.global	add_new_path_element
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_new_path_element, %function
add_new_path_element:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	strcpy
	ldr	r0, [fp, #-12]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r2, .L53
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r0, [fp, #-12]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	strcpy
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L54:
	.align	2
.L53:
	.word	.LC11
	.size	add_new_path_element, .-add_new_path_element
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
