// File: /workspace/github_cpp_makefile_star2_O2/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, %r15
movq %rdi, %rbx
movq (%rdi), %rdi
leaq 0x6737(%rip), %rsi      # 0xb11a
callq 0x32d0
movq %rbx, 0x20(%rsp)
movq (%rbx), %rdi
movq 0xa5c9(%rip), %rcx      # 0xefc0
leaq 0x10(%rsp), %rsi
xorl %edx, %edx
callq 0x3070
movl %eax, %ebx
leaq 0x6711(%rip), %rsi      # 0xb11d
leaq 0x28(%rsp), %r14
movq %r14, %rdi
movq %r15, 0x18(%rsp)
movq %r15, %rdx
callq 0xa2d1
leaq 0x66f4(%rip), %rdx      # 0xb11c
leaq 0x68(%rsp), %rdi
movq %r14, %rsi
callq 0xa2b2
leaq 0x28(%rsp), %rdi
callq 0x34d8
leaq 0xabfa(%rip), %rdi      # 0xf640
leaq 0x68(%rsp), %rsi
callq 0x31f0
movslq %ebx, %r15
pushq $0x2
popq %rbp
leaq 0xc8(%rsp), %rbx
leaq 0x48(%rsp), %r13
leaq 0x28(%rsp), %r14
leaq 0xabd1(%rip), %r12      # 0xf640
cmpq %r15, %rbp
jge 0x4ada
movq 0x10(%rsp), %rax
movq (%rax,%rbp,8), %rsi
addq $0x13, %rsi
movq %rbx, %rdi
leaq 0xf(%rsp), %rdx
callq 0xa1da
movq %r13, %rdi
leaq 0x668a(%rip), %rsi      # 0xb122
movq %rbx, %rdx
callq 0xa237
movq %r14, %rdi
movq %r13, %rsi
leaq 0x6673(%rip), %rdx      # 0xb120
callq 0xa2b2
movq %r13, %rdi
callq 0x34d8
movq %rbx, %rdi
callq 0x34d8
movq %r12, %rdi
movq %r14, %rsi
callq 0x31f0
movq %r14, %rdi
callq 0x34d8
incq %rbp
jmp 0x4a6f
pushq $0x2
popq %r14
leaq 0x48(%rsp), %r12
leaq 0x28(%rsp), %r13
leaq 0xa8(%rsp), %rbp
leaq 0x88(%rsp), %rbx
cmpq %r15, %r14
jge 0x4bae
movq %r12, %rdi
movq 0x20(%rsp), %rsi
leaq 0x6589(%rip), %rdx      # 0xb099
callq 0xa27a
movq 0x10(%rsp), %rax
movq (%rax,%r14,8), %rdx
addq $0x13, %rdx
movq %r13, %rdi
movq %r12, %rsi
callq 0xa2b2
movq %r12, %rdi
callq 0x34d8
movq 0x10(%rsp), %rax
movq (%rax,%r14,8), %rax
cmpb $0x4, 0x12(%rax)
jne 0x4b9e
movq %rbp, %rdi
movq %r13, %rsi
callq 0x3350
movq %r12, %rdi
movq 0x18(%rsp), %rsi
leaq 0x653b(%rip), %rdx      # 0xb099
callq 0xa27a
movq 0x10(%rsp), %rax
movq (%rax,%r14,8), %rdx
addq $0x13, %rdx
movq %rbx, %rdi
movq %r12, %rsi
callq 0xa2b2
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x49c2
movq %rbx, %rdi
callq 0x34d8
movq %r12, %rdi
callq 0x34d8
movq %rbp, %rdi
callq 0x34d8
movq %r13, %rdi
callq 0x34d8
incq %r14
jmp 0x4af8
leaq 0x68(%rsp), %rdi
callq 0x34d8
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4c30
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
jmp 0x4c4a
movq %rax, %rbx
leaq 0x88(%rsp), %rdi
callq 0x34d8
jmp 0x4beb
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x34d8
jmp 0x4bfc
jmp 0x4c17
movq %rax, %rbx
leaq 0xa8(%rsp), %rdi
callq 0x34d8
jmp 0x4c1a
jmp 0x4c30
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
jmp 0x4c40
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
jmp 0x4c40
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x34d8
jmp 0x4c38
movq %rax, %rbx
jmp 0x4c45
movq %rax, %rbx
leaq 0xc8(%rsp), %rdi
callq 0x34d8
leaq 0x68(%rsp), %rdi
callq 0x34d8
movq %rbx, %rdi
callq 0x3430