// File: /workspace/github_cpp_makefile_star2_O1/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 0xbfc2(%rip), %rsi      # 0x1111a
callq 0x32f0
movq %rbx, 0xe0(%rsp)
movq (%rbx), %rdi
movq 0xfe51(%rip), %rcx      # 0x14fc0
leaq 0x50(%rsp), %rsi
xorl %edx, %edx
callq 0x3080
movl %eax, %ebp
leaq 0xbf99(%rip), %rsi      # 0x1111d
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
movq %r14, %rdx
callq 0xf95b
leaq 0xbf81(%rip), %rsi      # 0x1111c
movq %rbx, %rdi
callq 0x3480
leaq 0x68(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x51ca
movq %rdx, 0x58(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x68(%rsp)
jmp 0x51d0
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x60(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5203
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3260
movq %r14, 0xd8(%rsp)
movq 0x58(%rsp), %rsi
movq 0x60(%rsp), %rdx
leaq 0x10414(%rip), %rdi     # 0x15630
callq 0x32c0
movl %ebp, 0x4c(%rsp)
cmpl $0x3, %ebp
jl 0x53a9
leaq 0x38(%rsp), %rbx
movl 0x4c(%rsp), %r14d
movl $0x2, %r13d
leaq 0xb8(%rsp), %r15
movq 0x50(%rsp), %rax
movq (%rax,%r13,8), %rbp
leaq 0x13(%rbp), %r12
leaq 0xc8(%rsp), %rax
movq %rax, 0xb8(%rsp)
movq %r12, %rdi
callq 0x3110
leaq (%rax,%rbp), %rdx
addq $0x13, %rdx
movq %r15, %rdi
movq %r12, %rsi
callq 0xffc4
movl $0x1, %r8d
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0xbe90(%rip), %rcx      # 0x11122
callq 0x32b0
movq %rbx, 0x28(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x52ba
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x52c0
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq 0x8(%rax), %rdx
movq %rdx, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x28(%rsp), %rdi
leaq 0xbe3c(%rip), %rsi      # 0x11120
callq 0x3480
leaq 0x18(%rsp), %rsi
movq %rsi, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x5311
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x5317
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x28(%rsp), %rdi
cmpq %rbx, %rdi
je 0x5346
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0xb8(%rsp), %rdi
leaq 0xc8(%rsp), %rax
cmpq %rax, %rdi
je 0x536b
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
leaq 0x102b4(%rip), %rdi     # 0x15630
callq 0x32c0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x539d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3260
incq %r13
cmpq %r13, %r14
jne 0x5246
movl 0x4c(%rsp), %eax
cmpl $0x3, %eax
leaq 0x18(%rsp), %r14
movq 0xd8(%rsp), %r13
jl 0x55cc
leaq 0x38(%rsp), %rbp
movl %eax, %ebx
movl $0x2, %r12d
leaq 0x28(%rsp), %r15
movq %rbp, 0x28(%rsp)
movq 0xe0(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0xfda0
movq %r15, %rdi
leaq 0xbc9b(%rip), %rsi      # 0x11099
callq 0x3480
movq 0x50(%rsp), %rax
movq (%rax,%r12,8), %rsi
addq $0x13, %rsi
movq %r15, %rdi
callq 0x3480
movq %r14, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x543b
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x5442
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x5471
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0x50(%rsp), %rax
movq (%rax,%r12,8), %rax
cmpb $0x4, 0x12(%rax)
jne 0x55a9
leaq 0xa8(%rsp), %rax
movq %rax, 0x98(%rsp)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0x98(%rsp), %rdi
callq 0xfda0
movq %rbp, 0x28(%rsp)
movq (%r13), %rsi
movq 0x8(%r13), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0xfda0
movq %r15, %rdi
leaq 0xbbc9(%rip), %rsi      # 0x11099
callq 0x3480
movq 0x50(%rsp), %rax
movq (%rax,%r12,8), %rsi
addq $0x13, %rsi
movq %r15, %rdi
callq 0x3480
leaq 0x88(%rsp), %rsi
movq %rsi, 0x78(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x5518
movq %rdx, 0x78(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x88(%rsp)
jmp 0x551e
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
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 0x5137
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x556d
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x5584
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0x55a9
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x55c0
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3260
incq %r12
cmpq %r12, %rbx
jne 0x53d5
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x55e8
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 0x56aa
movq %rax, %r14
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5728
movq 0x18(%rsp), %rsi
jmp 0x5720
movq %rax, %r14
jmp 0x566b
jmp 0x562a
jmp 0x56ed
movq %rax, %r14
jmp 0x5654
movq %rax, %r14
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x5654
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x566b
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0x56f0
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x3260
jmp 0x56f0
jmp 0x56aa
jmp 0x5696
movq %rax, %r14
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x570c
movq 0x38(%rsp), %rsi
jmp 0x5704
movq %rax, %r14
jmp 0x570c
movq %rax, %r14
jmp 0x56ce
movq %rax, %r14
movq 0x28(%rsp), %rdi
cmpq %rbx, %rdi
je 0x56ce
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0xb8(%rsp), %rdi
leaq 0xc8(%rsp), %rax
cmpq %rax, %rdi
je 0x570c
movq 0xc8(%rsp), %rsi
jmp 0x5704
movq %rax, %r14
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x570c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3260
leaq 0x68(%rsp), %rax
movq 0x58(%rsp), %rdi
cmpq %rax, %rdi
je 0x5728
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x3260
movq %r14, %rdi
callq 0x3450