// File: manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::cimg::strbuffersize(unsigned long)
inline const char *strbuffersize(const unsigned long size) {
      static char res[256] = { 0 };
      cimg::mutex(5);
      if (size<1024LU) cimg_snprintf(res,sizeof(res),"%lu byte%s",size,size>1?"s":"");
      else if (size<1024*1024LU) { const float nsize = size/1024.0f; cimg_snprintf(res,sizeof(res),"%.1f Kio",nsize); }
      else if (size<1024*1024*1024LU) {
        const float nsize = size/(1024*1024.0f); cimg_snprintf(res,sizeof(res),"%.1f Mio",nsize);
      } else { const float nsize = size/(1024*1024*1024.0f); cimg_snprintf(res,sizeof(res),"%.1f Gio",nsize); }
      cimg::mutex(5,0);
      return res;
    }

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movl $0x5, %edi
movl $0x1, %esi
callq 0x12d30
cmpq $0x400, 0x30(%rsp)      # imm = 0x400
jae 0x11e22
movq 0x30(%rsp), %rcx
movq 0x30(%rsp), %rdx
leaq 0xd6bde(%rip), %r8      # 0xe89d2
leaq 0xd89b2(%rip), %rax     # 0xea7ad
cmpq $0x1, %rdx
cmovaq %rax, %r8
leaq 0xf0fc6(%rip), %rdi     # 0x102dd0
movl $0x100, %esi            # imm = 0x100
leaq 0xd7152(%rip), %rdx     # 0xe8f68
movb $0x0, %al
callq 0x5890
jmp 0x11fb1
cmpq $0x100000, 0x30(%rsp)   # imm = 0x100000
jae 0x11eac
movq 0x30(%rsp), %rax
movq %rax, %rdx
shrq %rdx
movl %eax, %ecx
andl $0x1, %ecx
orq %rdx, %rcx
cvtsi2ss %rcx, %xmm0
addss %xmm0, %xmm0
cvtsi2ss %rax, %xmm1
movss %xmm1, 0x1c(%rsp)
testq %rax, %rax
movss %xmm0, 0x20(%rsp)
js 0x11e6b
movss 0x1c(%rsp), %xmm0
movss %xmm0, 0x20(%rsp)
movss 0x20(%rsp), %xmm0
movss 0xb62b3(%rip), %xmm1    # 0xc812c
divss %xmm1, %xmm0
movss %xmm0, 0x2c(%rsp)
movss 0x2c(%rsp), %xmm0
cvtss2sd %xmm0, %xmm0
leaq 0xf0f3c(%rip), %rdi     # 0x102dd0
movl $0x100, %esi            # imm = 0x100
leaq 0xd70d3(%rip), %rdx     # 0xe8f73
movb $0x1, %al
callq 0x5890
jmp 0x11faf
cmpq $0x40000000, 0x30(%rsp) # imm = 0x40000000
jae 0x11f33
movq 0x30(%rsp), %rax
movq %rax, %rdx
shrq %rdx
movl %eax, %ecx
andl $0x1, %ecx
orq %rdx, %rcx
cvtsi2ss %rcx, %xmm0
addss %xmm0, %xmm0
cvtsi2ss %rax, %xmm1
movss %xmm1, 0x14(%rsp)
testq %rax, %rax
movss %xmm0, 0x18(%rsp)
js 0x11ef5
movss 0x14(%rsp), %xmm0
movss %xmm0, 0x18(%rsp)
movss 0x18(%rsp), %xmm0
movss 0xb6225(%rip), %xmm1    # 0xc8128
divss %xmm1, %xmm0
movss %xmm0, 0x28(%rsp)
movss 0x28(%rsp), %xmm0
cvtss2sd %xmm0, %xmm0
leaq 0xf0eb2(%rip), %rdi     # 0x102dd0
movl $0x100, %esi            # imm = 0x100
leaq 0xd7052(%rip), %rdx     # 0xe8f7c
movb $0x1, %al
callq 0x5890
jmp 0x11fad
movq 0x30(%rsp), %rax
movq %rax, %rdx
shrq %rdx
movl %eax, %ecx
andl $0x1, %ecx
orq %rdx, %rcx
cvtsi2ss %rcx, %xmm0
addss %xmm0, %xmm0
cvtsi2ss %rax, %xmm1
movss %xmm1, 0xc(%rsp)
testq %rax, %rax
movss %xmm0, 0x10(%rsp)
js 0x11f71
movss 0xc(%rsp), %xmm0
movss %xmm0, 0x10(%rsp)
movss 0x10(%rsp), %xmm0
movss 0xb61a5(%rip), %xmm1    # 0xc8124
divss %xmm1, %xmm0
movss %xmm0, 0x24(%rsp)
movss 0x24(%rsp), %xmm0
cvtss2sd %xmm0, %xmm0
leaq 0xf0e36(%rip), %rdi     # 0x102dd0
movl $0x100, %esi            # imm = 0x100
leaq 0xd6fdf(%rip), %rdx     # 0xe8f85
movb $0x1, %al
callq 0x5890
jmp 0x11faf
jmp 0x11fb1
movl $0x5, %edi
xorl %esi, %esi
callq 0x12d30
leaq 0xf0e0c(%rip), %rax     # 0x102dd0
addq $0x38, %rsp
retq
nopl (%rax)