// File: /workspace/github_cpp_makefile_star2_O1/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 0x64f3(%rip), %rsi      # 0xb2c8
movq 0x64f4(%rip), %rdx      # 0xb2d0
addq %rsi, %rdx
movq %rsp, %r15
movq %r15, %rdi
callq 0x3d68
leaq 0x3364(%rip), %rsi      # 0x8155
movq %r15, %rdi
callq 0x33f0
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 0x4e2f
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
jmp 0x4e36
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 0x4e64
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3220
leaq 0x30(%rsp), %r13
movq %r13, -0x10(%r13)
movq 0x6454(%rip), %rsi      # 0xb2c8
movq 0x6455(%rip), %rdx      # 0xb2d0
addq %rsi, %rdx
leaq 0x20(%rsp), %rdi
callq 0x3d68
leaq 0x32c6(%rip), %rsi      # 0x8155
leaq 0x20(%rsp), %rdi
callq 0x33f0
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
leaq 0x20(%rsp), %rdi
callq 0x30b0
movq %r12, (%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4ecb
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x4ed3
movups (%rcx), %xmm0
movups %xmm0, (%r12)
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 0x4f02
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3220
movq 0x40(%rsp), %rdi
movq (%rsp), %rsi
callq 0x3150
testl %eax, %eax
je 0x4f31
movq (%r14), %rdi
movq (%rbx), %rsi
callq 0x3150
testl %eax, %eax
je 0x4f31
movl $0xb, %edx
leaq 0x3206(%rip), %rsi      # 0x8135
jmp 0x4f3d
movl $0x19, %edx
leaq 0x31de(%rip), %rsi      # 0x811b
movq 0x608c(%rip), %rdi      # 0xafd0
callq 0x3270
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x4f5f
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3220
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x4f76
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 0x4fb8
movq 0x10(%rsp), %rsi
jmp 0x4fab
jmp 0x4f99
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x4fb8
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3220
jmp 0x4fb8
movq %rax, %rbx
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x4fe4
movq 0x50(%rsp), %rsi
jmp 0x4fdc
jmp 0x4fcb
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x4fe4
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3220
movq %rbx, %rdi
callq 0x33b0