	.file	"934062.c"
	.intel_syntax noprefix
	.text
	.globl	copy_struct
	.bss
	.align 32
	.type	copy_struct, @object
	.size	copy_struct, 200
copy_struct:
	.zero	200
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"w"
	.text
	.globl	copy
	.type	copy, @function
copy:
.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 -56[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 100
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	puts@PLT
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L2
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 2
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L4
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 2
	call	exit@PLT
.L5:
	movsx	eax, BYTE PTR -41[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
.L4:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	BYTE PTR -41[rbp], al
	cmp	BYTE PTR -41[rbp], -1
	jne	.L5
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	copy, .-copy
	.section	.rodata
.LC2:
	.string	"usage: %s <srcdir> <destdir>\n"
.LC3:
	.string	"%s/%s"
	.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
	lea	r11, -20480[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 1992
	.cfi_offset 3, -24
	mov	DWORD PTR -22468[rbp], edi
	mov	QWORD PTR -22480[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -22468[rbp], 3
	je	.L8
	mov	rax, QWORD PTR -22480[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L8:
	mov	rax, QWORD PTR -22480[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -22448[rbp], rax
	cmp	QWORD PTR -22448[rbp], 0
	jne	.L9
	mov	rax, QWORD PTR -22480[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 2
	call	exit@PLT
.L9:
	mov	DWORD PTR -22460[rbp], 0
	jmp	.L10
.L11:
	mov	rax, QWORD PTR -22440[rbp]
	lea	rdx, 19[rax]
	lea	rax, -22432[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	lstat@PLT
	mov	eax, DWORD PTR -22408[rbp]
	and	eax, 61440
	cmp	eax, 32768
	jne	.L10
	mov	QWORD PTR -2080[rbp], 0
	mov	QWORD PTR -2072[rbp], 0
	lea	rdx, -2064[rbp]
	mov	eax, 0
	mov	ecx, 126
	mov	rdi, rdx
	rep stosq
	mov	rax, QWORD PTR -22440[rbp]
	lea	rcx, 19[rax]
	mov	rax, QWORD PTR -22480[rbp]
	add	rax, 16
	mov	rdx, QWORD PTR [rax]
	lea	rax, -2080[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	QWORD PTR -1056[rbp], 0
	mov	QWORD PTR -1048[rbp], 0
	lea	rdx, -1040[rbp]
	mov	eax, 0
	mov	ecx, 126
	mov	rdi, rdx
	rep stosq
	mov	rax, QWORD PTR -22440[rbp]
	lea	rcx, 19[rax]
	mov	rax, QWORD PTR -22480[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	lea	rax, -1056[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	QWORD PTR -22288[rbp], 0
	mov	QWORD PTR -22280[rbp], 0
	mov	QWORD PTR -22272[rbp], 0
	mov	QWORD PTR -22264[rbp], 0
	mov	QWORD PTR -22256[rbp], 0
	mov	QWORD PTR -22248[rbp], 0
	mov	QWORD PTR -22240[rbp], 0
	mov	QWORD PTR -22232[rbp], 0
	mov	QWORD PTR -22224[rbp], 0
	mov	QWORD PTR -22216[rbp], 0
	mov	QWORD PTR -22208[rbp], 0
	mov	QWORD PTR -22200[rbp], 0
	mov	DWORD PTR -22192[rbp], 0
	mov	QWORD PTR -22188[rbp], 0
	mov	QWORD PTR -22180[rbp], 0
	mov	QWORD PTR -22172[rbp], 0
	mov	QWORD PTR -22164[rbp], 0
	mov	QWORD PTR -22156[rbp], 0
	mov	QWORD PTR -22148[rbp], 0
	mov	QWORD PTR -22140[rbp], 0
	mov	QWORD PTR -22132[rbp], 0
	mov	QWORD PTR -22124[rbp], 0
	mov	QWORD PTR -22116[rbp], 0
	mov	QWORD PTR -22108[rbp], 0
	mov	QWORD PTR -22100[rbp], 0
	mov	DWORD PTR -22092[rbp], 0
	lea	rdx, -1056[rbp]
	lea	rax, -22288[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -2080[rbp]
	lea	rdx, -22288[rbp]
	add	rdx, 100
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	eax, DWORD PTR -22460[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 3
	lea	rax, -16[rax]
	add	rax, rbp
	sub	rax, 22064
	mov	rcx, QWORD PTR -22288[rbp]
	mov	rbx, QWORD PTR -22280[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -22272[rbp]
	mov	rbx, QWORD PTR -22264[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR -22256[rbp]
	mov	rbx, QWORD PTR -22248[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR -22240[rbp]
	mov	rbx, QWORD PTR -22232[rbp]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rcx, QWORD PTR -22224[rbp]
	mov	rbx, QWORD PTR -22216[rbp]
	mov	QWORD PTR 64[rax], rcx
	mov	QWORD PTR 72[rax], rbx
	mov	rcx, QWORD PTR -22208[rbp]
	mov	rbx, QWORD PTR -22200[rbp]
	mov	QWORD PTR 80[rax], rcx
	mov	QWORD PTR 88[rax], rbx
	mov	rcx, QWORD PTR -22192[rbp]
	mov	rbx, QWORD PTR -22184[rbp]
	mov	QWORD PTR 96[rax], rcx
	mov	QWORD PTR 104[rax], rbx
	mov	rcx, QWORD PTR -22176[rbp]
	mov	rbx, QWORD PTR -22168[rbp]
	mov	QWORD PTR 112[rax], rcx
	mov	QWORD PTR 120[rax], rbx
	mov	rcx, QWORD PTR -22160[rbp]
	mov	rbx, QWORD PTR -22152[rbp]
	mov	QWORD PTR 128[rax], rcx
	mov	QWORD PTR 136[rax], rbx
	mov	rcx, QWORD PTR -22144[rbp]
	mov	rbx, QWORD PTR -22136[rbp]
	mov	QWORD PTR 144[rax], rcx
	mov	QWORD PTR 152[rax], rbx
	mov	rcx, QWORD PTR -22128[rbp]
	mov	rbx, QWORD PTR -22120[rbp]
	mov	QWORD PTR 160[rax], rcx
	mov	QWORD PTR 168[rax], rbx
	mov	rcx, QWORD PTR -22112[rbp]
	mov	rbx, QWORD PTR -22104[rbp]
	mov	QWORD PTR 176[rax], rcx
	mov	QWORD PTR 184[rax], rbx
	mov	rdx, QWORD PTR -22096[rbp]
	mov	QWORD PTR 192[rax], rdx
	mov	eax, DWORD PTR -22460[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -22460[rbp], edx
	lea	rcx, -22080[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 3
	lea	rdx, [rcx+rax]
	lea	rax, -22456[rbp]
	mov	rcx, rdx
	lea	rdx, copy[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
.L10:
	mov	rax, QWORD PTR -22448[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -22440[rbp], rax
	cmp	QWORD PTR -22440[rbp], 0
	jne	.L11
	mov	edi, 0
	call	pthread_exit@PLT
	.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	"934062.c"
	.text
	.comm	copy_struct,200,4
	.section	.rodata
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"w\000"
	.text
	.align	2
	.global	copy
	.syntax unified
	.arm
	.fpu softvfp
	.type	copy, %function
copy:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	add	r3, r3, #100
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	puts
	ldr	r1, .L7
	ldr	r0, [fp, #-20]
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L2
	ldr	r0, [fp, #-20]
	bl	perror
	mov	r0, #2
	bl	exit
.L2:
	ldr	r1, .L7+4
	ldr	r0, [fp, #-16]
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L4
	ldr	r0, [fp, #-12]
	bl	fclose
	ldr	r0, [fp, #-16]
	bl	perror
	mov	r0, #2
	bl	exit
.L6:
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	fputc
.L4:
	ldr	r0, [fp, #-12]
	bl	fgetc
	mov	r3, r0
	strb	r3, [fp, #-25]
	b	.L6
.L8:
	.align	2
.L7:
	.word	.LC1
	.word	.LC2
	.size	copy, .-copy
	.section	.rodata
	.align	2
.LC3:
	.ascii	"usage: %s <srcdir> <destdir>\012\000"
	.align	2
.LC4:
	.ascii	"%s/%s\000"
	.align	2
.LC0:
	.ascii	"\000"
	.space	99
	.ascii	"\000"
	.space	99
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 22368
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #22272
	sub	sp, sp, #100
	sub	r3, fp, #20480
	sub	r3, r3, #12
	str	r0, [r3, #-1884]
	sub	r3, fp, #20480
	sub	r3, r3, #12
	str	r1, [r3, #-1888]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #20480
	sub	r3, r3, #12
	ldr	r3, [r3, #-1884]
	cmp	r3, #3
	beq	.L10
	ldr	r3, .L15+4
	ldr	r0, [r3]
	sub	r3, fp, #20480
	sub	r3, r3, #12
	ldr	r3, [r3, #-1888]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L15+8
	bl	fprintf
	mov	r0, #1
	bl	exit
.L10:
	sub	r3, fp, #20480
	sub	r3, r3, #12
	ldr	r3, [r3, #-1888]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #20480
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	opendir
	str	r0, [r4, #-1872]
	sub	r3, fp, #20480
	sub	r3, r3, #12
	ldr	r3, [r3, #-1872]
	cmp	r3, #0
	bne	.L11
	sub	r3, fp, #20480
	sub	r3, r3, #12
	ldr	r3, [r3, #-1888]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	perror
	mov	r0, #2
	bl	exit
.L11:
	sub	r3, fp, #20480
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1876]
	b	.L12
.L13:
	sub	r3, fp, #20480
	sub	r3, r3, #12
	ldr	r3, [r3, #-1868]
	add	r2, r3, #11
	sub	r3, fp, #22272
	sub	r3, r3, #12
	sub	r3, r3, #72
	mov	r1, r3
	mov	r0, r2
	bl	lstat
	sub	r3, fp, #20480
	sub	r3, r3, #12
	ldr	r3, [r3, #-1848]
	and	r3, r3, #61440
	sub	r2, fp, #20480
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #20480
	sub	r2, r2, #12
	ldr	r2, [r2, #-1876]
	str	r2, [r1, #-1876]
	cmp	r3, #32768
	bne	.L12
	mov	r3, #0
	str	r3, [fp, #-2064]
	sub	r3, fp, #2048
	sub	r3, r3, #12
	mov	r2, #1020
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #20480
	sub	r3, r3, #12
	ldr	r3, [r3, #-1888]
	add	r3, r3, #8
	ldr	r2, [r3]
	sub	r3, fp, #20480
	sub	r3, r3, #12
	ldr	r3, [r3, #-1868]
	add	r3, r3, #11
	sub	r0, fp, #2048
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r1, .L15+12
	bl	sprintf
	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
	sub	r3, fp, #20480
	sub	r3, r3, #12
	ldr	r3, [r3, #-1888]
	add	r3, r3, #4
	ldr	r2, [r3]
	sub	r3, fp, #20480
	sub	r3, r3, #12
	ldr	r3, [r3, #-1868]
	add	r3, r3, #11
	sub	r0, fp, #1024
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r1, .L15+12
	bl	sprintf
	sub	r3, fp, #20480
	sub	r3, r3, #12
	ldr	r2, .L15+16
	sub	r3, r3, #1760
	sub	r3, r3, #12
	mov	r1, r2
	mov	r2, #200
	mov	r0, r3
	bl	memcpy
	sub	r2, fp, #1024
	sub	r2, r2, #12
	sub	r2, r2, #4
	sub	r3, fp, #22016
	sub	r3, r3, #12
	sub	r3, r3, #236
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r2, fp, #2048
	sub	r2, r2, #12
	sub	r2, r2, #4
	sub	r3, fp, #22016
	sub	r3, r3, #12
	sub	r3, r3, #236
	add	r3, r3, #100
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #20480
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #20480
	sub	r3, r3, #12
	ldr	r2, [r3, #-1876]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	sub	r3, r3, #1568
	sub	r3, r3, #4
	sub	r2, fp, #20480
	sub	r2, r2, #12
	mov	r0, r3
	sub	r3, r2, #1760
	sub	r3, r3, #12
	mov	r2, #200
	mov	r1, r3
	bl	memcpy
	sub	r3, fp, #20480
	sub	r3, r3, #12
	ldr	r1, [r3, #-1876]
	sub	r3, fp, #20480
	sub	r3, r3, #12
	mov	r2, r3
	add	r3, r1, #1
	str	r3, [r2, #-1876]
	sub	r2, fp, #22016
	sub	r2, r2, #12
	sub	r2, r2, #36
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r0, fp, #22272
	sub	r0, r0, #12
	sub	r0, r0, #88
	ldr	r2, .L15+20
	mov	r1, #0
	bl	pthread_create
.L12:
	sub	r3, fp, #20480
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #20480
	sub	r3, r3, #12
	ldr	r0, [r3, #-1872]
	bl	readdir
	str	r0, [r4, #-1868]
	sub	r3, fp, #20480
	sub	r3, r3, #12
	ldr	r3, [r3, #-1868]
	cmp	r3, #0
	bne	.L13
	mov	r0, #0
	bl	pthread_exit
.L16:
	.align	2
.L15:
	.word	.LC5
	.word	stderr
	.word	.LC3
	.word	.LC4
	.word	.LC0
	.word	copy
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
