// File: /workspace/github_cpp_makefile_star2_O3/danish241194[P]Linux-Terminal-Based-File-Explorer/start_page.cpp
// Function: snap_shot(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void snap_shot(string pathxx,string shower)
{
	
	FILE *target;
	int i;
 
	target = fopen(pathxx.c_str(), "w"); 
	struct dirent ** list;
	int nn=scandir(pathxx.c_str(),&list,NULL,alphasort);
	
    	
    	
    	string input= "\n\n"+shower+":\n\n";
	out<< input;
	for(int i = 2;i<nn;i++){
		string ss  =" " + (string)list[i]->d_name+"   ";
		out<<ss;
	}
	

		
	
	for(int i = 2;i<nn;i++){
		string ss  =pathxx+"/"+list[i]->d_name;
		if((int)list[i]->d_type==4){
					snap_shot(ss,shower+"/"+list[i]->d_name);
		}
		
	}

	
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq (%rdi), %rdi
leaq 0xbfa3(%rip), %rsi      # 0x1111a
callq 0x32f0
movq %rbx, 0xc0(%rsp)
movq (%rbx), %rdi
movq 0xfe32(%rip), %rcx      # 0x14fc0
leaq 0x40(%rsp), %rsi
xorl %edx, %edx
callq 0x3080
movl %eax, %r15d
leaq 0xbf79(%rip), %rsi      # 0x1111d
leaq 0x20(%rsp), %rbx
movq %rbx, %rdi
movq %r14, 0xb8(%rsp)
movq %r14, %rdx
callq 0xf846
leaq 0xbf59(%rip), %rsi      # 0x1111c
movq %rbx, %rdi
callq 0x3480
leaq 0x68(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x51f2
movq %rsi, 0x58(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x68(%rsp)
jmp 0x51fb
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rdx, %rsi
movq 0x8(%rax), %rdx
movq %rdx, 0x60(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x30(%rsp), %rbp
movq -0x10(%rbp), %rdi
cmpq %rbp, %rdi
je 0x5238
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0x58(%rsp), %rsi
movq 0x60(%rsp), %rdx
leaq 0x103f1(%rip), %rdi     # 0x15630
callq 0x32c0
cmpl $0x3, %r15d
jl 0x55e1
leaq 0xd8(%rsp), %rbx
movl %r15d, 0x4c(%rsp)
movl %r15d, %eax
movq %rax, 0x50(%rsp)
movl $0x2, %r12d
leaq 0xc8(%rsp), %r15
movq %rbp, %r13
movq 0x40(%rsp), %rax
movq (%rax,%r12,8), %rbp
leaq 0x13(%rbp), %r14
movq %rbx, 0xc8(%rsp)
movq %r14, %rdi
callq 0x3110
leaq (%rax,%rbp), %rdx
addq $0x13, %rdx
movq %r15, %rdi
movq %r14, %rsi
callq 0xfec2
movl $0x1, %r8d
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0xbe6a(%rip), %rcx      # 0x11122
callq 0x32b0
leaq 0x10(%rsp), %r14
movq %r14, (%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
movq %r13, %rbp
je 0x52e6
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x52ed
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rsp, %rdi
leaq 0xbe11(%rip), %rsi      # 0x11120
callq 0x3480
movq %rbp, 0x20(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x5337
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x533e
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
movq %rdx, 0x28(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x536c
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0xc8(%rsp), %rdi
cmpq %rbx, %rdi
je 0x5389
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
leaq 0x10296(%rip), %rdi     # 0x15630
callq 0x32c0
movq 0x20(%rsp), %rdi
cmpq %rbp, %rdi
je 0x53b6
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3260
incq %r12
cmpq %r12, 0x50(%rsp)
jne 0x5271
cmpl $0x3, 0x4c(%rsp)
jl 0x55e1
leaq 0x88(%rsp), %r12
movl $0x2, %r14d
movq %rsp, %r15
leaq 0xbcb2(%rip), %rbx      # 0x11099
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq 0xc0(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0xfc98
movq %r15, %rdi
movq %rbx, %rsi
callq 0x3480
movq 0x40(%rsp), %rax
movq (%rax,%r14,8), %rsi
addq $0x13, %rsi
movq %r15, %rdi
callq 0x3480
movq %rbp, 0x20(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x544d
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x5454
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
movq %rdx, 0x28(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x5487
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0x40(%rsp), %rax
movq (%rax,%r14,8), %rax
cmpb $0x4, 0x12(%rax)
jne 0x55bc
leaq 0xa8(%rsp), %rax
movq %rax, 0x98(%rsp)
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
addq %rsi, %rdx
leaq 0x98(%rsp), %rdi
callq 0xfc98
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq 0xb8(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0xfc98
movq %r15, %rdi
movq %rbx, %rsi
callq 0x3480
movq 0x40(%rsp), %rax
movq (%rax,%r14,8), %rsi
addq $0x13, %rsi
movq %r15, %rdi
callq 0x3480
movq %r12, 0x78(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x552d
movq %rdx, 0x78(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x88(%rsp)
jmp 0x5535
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x80(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x98(%rsp), %rdi
leaq 0x78(%rsp), %rsi
callq 0x5156
movq 0x78(%rsp), %rdi
cmpq %r12, %rdi
je 0x557c
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x3260
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x5597
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0x55bc
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0x20(%rsp), %rdi
cmpq %rbp, %rdi
je 0x55d3
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3260
incq %r14
cmpq %r14, 0x50(%rsp)
jne 0x53e7
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x55fd
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x3260
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x56c9
movq %rax, %r14
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x573c
movq 0x30(%rsp), %rsi
jmp 0x5734
movq %rax, %r14
jmp 0x567c
jmp 0x563f
movq %rax, %r14
jmp 0x56a1
movq %rax, %r14
jmp 0x5661
movq %rax, %r14
movq 0x78(%rsp), %rdi
cmpq %r12, %rdi
je 0x5661
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x3260
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x567c
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0x56a1
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
jne 0x5713
jmp 0x5720
jmp 0x56c9
jmp 0x56b1
movq %rax, %r14
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x5720
movq 0x10(%rsp), %rsi
jmp 0x5718
movq %rax, %r14
jmp 0x5720
movq %rax, %r14
jmp 0x56ef
movq %r14, %rcx
movq %rax, %r14
movq (%rsp), %rdi
cmpq %rcx, %rdi
je 0x56ef
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0xc8(%rsp), %rdi
cmpq %rbx, %rdi
je 0x5720
movq 0xd8(%rsp), %rsi
jmp 0x5718
movq %rax, %r14
movq 0x20(%rsp), %rdi
cmpq %rbp, %rdi
je 0x5720
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x573c
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x3260
movq %r14, %rdi
callq 0x3450