// File: /workspace/github_cpp_makefile_star2_O3/aman-agrawal[P]Terminal-based-file-explorer/aman.cpp
// Function: renamefile(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 renamefile(string a,string b)      //rename file
{
    string a1=sonu+"/"+a;
    string b1=sonu+"/"+b;
    int result= (!rename(a1.c_str(),b1.c_str()))  || (!rename(a.c_str(),b.c_str())) ; //converting string into const char*
    if (result == 1)
         cout<<"File successfully renamed";
    else
        cout<<"wrong input";
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x60, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x64ef(%rip), %rsi      # 0xb2c8
movq 0x64f0(%rip), %rdx      # 0xb2d0
addq %rsi, %rdx
movq %rsp, %r15
movq %r15, %rdi
callq 0x3d74
leaq 0x336b(%rip), %rsi      # 0x8160
movq %r15, %rdi
callq 0x33e0
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rsp, %rdi
callq 0x30b0
leaq 0x50(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4e33
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
jmp 0x4e3a
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, 0x48(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x4e68
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3220
leaq 0x30(%rsp), %r13
movq %r13, -0x10(%r13)
movq 0x6450(%rip), %rsi      # 0xb2c8
movq 0x6451(%rip), %rdx      # 0xb2d0
addq %rsi, %rdx
leaq 0x20(%rsp), %rdi
callq 0x3d74
leaq 0x32cd(%rip), %rsi      # 0x8160
leaq 0x20(%rsp), %rdi
callq 0x33e0
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
leaq 0x20(%rsp), %rdi
callq 0x30b0
movq %r12, (%rsp)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x4ecf
movq %rsi, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x4eda
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq %r12, %rsi
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x4f0d
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3220
movq (%rsp), %rsi
movq 0x40(%rsp), %rdi
callq 0x3150
testl %eax, %eax
je 0x4f38
movq (%r14), %rdi
movq (%rbx), %rsi
callq 0x3150
testl %eax, %eax
je 0x4f38
movl $0xb, %edx
leaq 0x320d(%rip), %rsi      # 0x8143
jmp 0x4f44
movl $0x19, %edx
leaq 0x31e5(%rip), %rsi      # 0x8129
movq 0x6085(%rip), %rdi      # 0xafd0
callq 0x3270
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x4f66
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3220
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x4f7d
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3220
addq $0x60, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x4fbf
movq 0x10(%rsp), %rsi
jmp 0x4fb2
jmp 0x4fa0
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x4fbf
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3220
jmp 0x4fbf
movq %rax, %rbx
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x4feb
movq 0x50(%rsp), %rsi
jmp 0x4fe3
jmp 0x4fd2
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x4feb
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3220
movq %rbx, %rdi
callq 0x33a0