LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/files/file.cpp
// Function: smooth::DateTimeToFileTime(smooth::DateTime const&)
FileTime DateTimeToFileTime(const DateTime &dateTime)
	{
		tm	 time;

		memset(&time, 0, sizeof(time));

		time.tm_year  = dateTime.GetYear() - 1900;
		time.tm_mon   = dateTime.GetMonth() - 1;
		time.tm_mday  = dateTime.GetDay();

		time.tm_hour  = dateTime.GetHour();
		time.tm_min   = dateTime.GetMinute();
		time.tm_sec   = dateTime.GetSecond();

		time.tm_isdst = -1;

		return mktime(&time);
	}

// Assembly:
pushq %r14
pushq %rbx
subq $0x38, %rsp
movq %rdi, %r14
xorps %xmm0, %xmm0
movq %rsp, %rbx
movups %xmm0, 0x28(%rbx)
movups %xmm0, 0x18(%rbx)
callq 0x59fc0
addl $0xfffff894, %eax       # imm = 0xFFFFF894
movl %eax, 0x14(%rbx)
movq %r14, %rdi
callq 0x574d0
decl %eax
movl %eax, 0x10(%rbx)
movq %r14, %rdi
callq 0x57a90
movl %eax, 0xc(%rbx)
movq %r14, %rdi
callq 0x58ef0
movl %eax, 0x8(%rbx)
movq %r14, %rdi
callq 0x5a1a0
movl %eax, 0x4(%rbx)
movq %r14, %rdi
callq 0x56750
movl %eax, (%rbx)
orl $-0x1, 0x20(%rbx)
movq %rbx, %rdi
callq 0x573f0
addq $0x38, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/files/file.cpp
// Function: smooth::GetFileTime(smooth::File const&, long*, long*, long*)
Bool GetFileTime(const File &file, FileTime *cTime, FileTime *aTime, FileTime *wTime)
	{
		if (!file.Exists()) return False;

		struct stat	 info;

		if (stat(String(file).ConvertTo("UTF-8"), &info) != 0) return False;

		if (cTime != NIL) *cTime = info.st_mtime;
		if (aTime != NIL) *aTime = info.st_atime;
		if (wTime != NIL) *wTime = info.st_mtime;

		return True;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
callq 0x580a0
testb %al, %al
je 0x5e955
movq %rsp, %r13
movq %r13, %rdi
movq %r12, %rsi
callq 0x5a310
leaq 0xa38c0(%rip), %rsi     # 0x1021c6
movq %r13, %rdi
callq 0x58b90
leaq 0x18(%rsp), %rsi
movq %rax, %rdi
callq 0x59910
movl %eax, %ebp
movq %rsp, %rdi
callq 0x5a588
testl %ebp, %ebp
sete %al
jne 0x5e957
testq %r15, %r15
je 0x5e939
movq 0x70(%rsp), %rcx
movq %rcx, (%r15)
testq %r14, %r14
je 0x5e946
movq 0x60(%rsp), %rcx
movq %rcx, (%r14)
testq %rbx, %rbx
je 0x5e957
movq 0x70(%rsp), %rcx
movq %rcx, (%rbx)
jmp 0x5e957
xorl %eax, %eax
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x5a588
movq %rbx, %rdi
callq 0x58260
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/files/file.cpp
// Function: smooth::SetFileTime(smooth::File const&, long*, long*, long*)
Bool SetFileTime(const File &file, FileTime *cTime, FileTime *aTime, FileTime *wTime)
	{
		if (!file.Exists()) return False;

		struct stat	 info;
		struct utimbuf	 times;

		if (stat(String(file).ConvertTo("UTF-8"), &info) != 0) return False;

		times.actime  = info.st_atime;
		times.modtime = info.st_mtime;

		if (cTime != NIL) times.modtime = *cTime;
		if (aTime != NIL) times.actime  = *aTime;
		if (wTime != NIL) times.modtime = *wTime;

		if (utime(String(file).ConvertTo("UTF-8"), &times) != 0) return False;

		return True;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
callq 0x580a0
testb %al, %al
je 0x5eabf
leaq 0x10(%rsp), %r13
movq %r13, %rdi
movq %rbx, %rsi
callq 0x5a310
leaq 0xa372c(%rip), %rsi     # 0x1021c6
movq %r13, %rdi
callq 0x58b90
leaq 0x28(%rsp), %rsi
movq %rax, %rdi
callq 0x59910
movl %eax, %ebp
leaq 0x10(%rsp), %rdi
callq 0x5a588
testl %ebp, %ebp
je 0x5ead5
xorl %ebx, %ebx
movl %ebx, %eax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x70(%rsp), %rax
movq 0x80(%rsp), %rcx
movq %rax, (%rsp)
movq %rcx, 0x8(%rsp)
testq %r12, %r12
je 0x5eaf9
movq (%r12), %rax
movq %rax, 0x8(%rsp)
testq %r15, %r15
je 0x5eb05
movq (%r15), %rax
movq %rax, (%rsp)
testq %r14, %r14
je 0x5eb12
movq (%r14), %rax
movq %rax, 0x8(%rsp)
leaq 0x10(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x5a310
leaq 0xa369d(%rip), %rsi     # 0x1021c6
movq %r14, %rdi
callq 0x58b90
movq %rsp, %rsi
movq %rax, %rdi
callq 0x587d0
testl %eax, %eax
sete %bl
leaq 0x10(%rsp), %rdi
callq 0x5a588
jmp 0x5eac1
jmp 0x5eb52
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x5a588
movq %rbx, %rdi
callq 0x58260
nop
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/files/file.cpp
// Function: smooth::File::GetFileSize() const
S::Int64 S::File::GetFileSize() const
{
	if (!Exists()) return -1;

#ifdef __WIN32__
	HANDLE	 handle	  = CreateFile(Directory::MakeExtendedPath(*this), GENERIC_READ, FILE_SHARE_READ, NIL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NIL);

	DWORD	 sizeLow  = 0;
	DWORD	 sizeHigh = 0;

	sizeLow = ::GetFileSize(handle, &sizeHigh);

	CloseHandle(handle);

	return (Int64(sizeHigh) << 32) + sizeLow;
#else
	struct stat	 info;

	if (stat(String(*this).ConvertTo("UTF-8"), &info) != 0) return 0;

	return info.st_size;
#endif
}

// Assembly:
pushq %r14
pushq %rbx
subq $0xa8, %rsp
movq %rdi, %rbx
callq 0x580a0
testb %al, %al
je 0x5f067
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x5a310
leaq 0xa3189(%rip), %rsi     # 0x1021c6
movq %r14, %rdi
callq 0x58b90
leaq 0x18(%rsp), %rsi
movq %rax, %rdi
callq 0x59910
movl %eax, %ebx
movq %rsp, %rdi
callq 0x5a588
testl %ebx, %ebx
jne 0x5f06c
movq 0x48(%rsp), %rax
jmp 0x5f06e
pushq $-0x1
popq %rax
jmp 0x5f06e
xorl %eax, %eax
addq $0xa8, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x5a588
movq %rbx, %rdi
callq 0x58260
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/files/file.cpp
// Function: smooth::File::Copy(smooth::File const&)
S::Int S::File::Copy(const File &destination)
{
	if (!Exists()) return Error();

#ifdef __WIN32__
	Bool	 result = CopyFile(Directory::MakeExtendedPath(*this), Directory::MakeExtendedPath(destination), True);
#else
	Bool	 result = False;

	FILE	*source	= fopen(String(*this).ConvertTo("UTF-8"), "rb");
	FILE	*dest	= fopen(String(destination).ConvertTo("UTF-8"), "wb");

	if (source != NIL && dest != NIL)
	{
		Int	 bytesLeft = GetFileSize();
		Int	 chunkSize = 32768;

		UnsignedByte	*buffer = new UnsignedByte [chunkSize];

		while (bytesLeft)
		{
			chunkSize = Math::Min(chunkSize, bytesLeft);

			if (fread(buffer, chunkSize, 1, source) == 1) fwrite(buffer, chunkSize, 1, dest);
			else					      break;

			bytesLeft -= chunkSize;
		}

		delete [] buffer;

		if (!bytesLeft) result = True;
	}

	if (source != NIL) fclose(source);
	if (dest != NIL) fclose(dest);
#endif

	if (result == False) return Error();
	else		     return Success();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %r15
callq 0x580a0
testb %al, %al
je 0x5f2be
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x5a310
leaq 0xa2fde(%rip), %rsi     # 0x1021c6
movq %rbx, %rdi
callq 0x58b90
leaq 0x8414d(%rip), %rsi     # 0xe3344
movq %rax, %rdi
callq 0x599d0
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x5a588
leaq 0x10(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
callq 0x5a310
leaq 0xa2fa3(%rip), %rsi     # 0x1021c6
movq %r12, %rdi
callq 0x58b90
leaq 0x84115(%rip), %rsi     # 0xe3347
movq %rax, %rdi
callq 0x599d0
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0x5a588
testq %rbx, %rbx
sete %al
testq %r14, %r14
sete %cl
orb %al, %cl
jne 0x5f2c3
movq %r14, 0x8(%rsp)
movq %rbx, %r14
movq %r15, %rdi
callq 0x579d0
movq %rax, %r15
movl $0x8000, %edi           # imm = 0x8000
callq 0x577a0
movq %rax, %r12
movl $0x8000, %ebx           # imm = 0x8000
pushq $0x1
popq %r13
testl %r15d, %r15d
je 0x5f2c8
cmpl %r15d, %ebx
cmovgel %r15d, %ebx
movslq %ebx, %rbp
movq %r12, %rdi
movq %rbp, %rsi
movq %r13, %rdx
movq %r14, %rcx
callq 0x57b80
cmpq $0x1, %rax
jne 0x5f2c8
movq %r12, %rdi
movq %rbp, %rsi
movq %r13, %rdx
movq 0x8(%rsp), %rcx
callq 0x59c00
subl %ebp, %r15d
jmp 0x5f280
pushq $-0x1
popq %rbp
jmp 0x5f2f9
pushq $-0x1
popq %rbp
jmp 0x5f2df
movq %r12, %rdi
callq 0x572d0
xorl %ebp, %ebp
negl %r15d
sbbl %ebp, %ebp
movq %r14, %rbx
movq 0x8(%rsp), %r14
testq %rbx, %rbx
je 0x5f2ec
movq %rbx, %rdi
callq 0x575b0
testq %r14, %r14
je 0x5f2f9
movq %r14, %rdi
callq 0x575b0
movl %ebp, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x5f30c
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x5a588
movq %rbx, %rdi
callq 0x58260
nop
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/files/file.cpp
// Function: smooth::File::Move(smooth::File const&)
S::Int S::File::Move(const File &destination)
{
	if (!Exists()) return Error();

#ifdef __WIN32__
	String		 fileName	= Directory::MakeExtendedPath(*this);
	UnsignedInt	 fileAttributes	= GetFileAttributes(fileName);

	SetFileAttributes(fileName, fileAttributes & ~FILE_ATTRIBUTE_READONLY);

	Bool	 result = MoveFile(fileName, Directory::MakeExtendedPath(destination));

	SetFileAttributes(fileName, fileAttributes);
#else
	Bool	 result = (rename(String(*this).ConvertTo("UTF-8"), String(destination).ConvertTo("UTF-8")) == 0);
#endif

	if (result == False) return Error();
	else		     return Success();
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %rbx
movq %rdi, %r14
callq 0x580a0
testb %al, %al
je 0x5f39d
leaq 0x18(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x5a310
leaq 0xa2e75(%rip), %rsi     # 0x1021c6
movq %r15, %rdi
callq 0x58b90
movq %rax, %r14
movq %rsp, %rdi
movq %rbx, %rsi
callq 0x5a310
leaq 0xa2e58(%rip), %rsi     # 0x1021c6
movq %rsp, %rdi
callq 0x58b90
movq %r14, %rdi
movq %rax, %rsi
callq 0x59ee0
movl %eax, %ebx
movq %rsp, %rdi
callq 0x5a588
leaq 0x18(%rsp), %rdi
callq 0x5a588
xorl %eax, %eax
negl %ebx
sbbl %eax, %eax
jmp 0x5f3a0
pushq $-0x1
popq %rax
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x5a588
jmp 0x5f3bc
jmp 0x5f3b9
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x5a588
movq %rbx, %rdi
callq 0x58260
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/files/file.cpp
// Function: smooth::File::Delete()
S::Int S::File::Delete()
{
	if (!Exists()) return Error();

#ifdef __WIN32__
	String	 fileName = Directory::MakeExtendedPath(*this);

	SetFileAttributes(fileName, GetFileAttributes(fileName) & ~FILE_ATTRIBUTE_READONLY);

	Bool	 result = DeleteFile(fileName);
#else
	Bool	 result = (remove(String(*this).ConvertTo("UTF-8")) == 0);
#endif

	if (result == False) return Error();
	else		     return Success();
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
callq 0x580a0
testb %al, %al
je 0x5f418
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x5a310
leaq 0xa2dd0(%rip), %rsi     # 0x1021c6
movq %r14, %rdi
callq 0x58b90
movq %rax, %rdi
callq 0x56a30
movl %eax, %ebx
movq %rsp, %rdi
callq 0x5a588
xorl %eax, %eax
negl %ebx
sbbl %eax, %eax
jmp 0x5f41b
pushq $-0x1
popq %rax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x5a588
movq %rbx, %rdi
callq 0x58260
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/graphics/bitmap.cpp
// Function: smooth::GUI::Bitmap::operator==(smooth::GUI::Bitmap const&) const
S::Bool S::GUI::Bitmap::operator ==(const Bitmap &bitmap) const
{
	if (*this == NIL && bitmap == NIL) return True;
	if (*this == NIL || bitmap == NIL) return False;

	if (GetSize()	       != bitmap.GetSize()	   ||
	    GetDepth()	       != bitmap.GetDepth()	   ||
	    GetBitsPerPixel()  != bitmap.GetBitsPerPixel() ||
	    GetLineAlignment() != bitmap.GetLineAlignment()) return False;

	Size	 size  = GetSize();
	Int	 bpp   = GetBitsPerPixel();
	Int	 align = GetLineAlignment();
	Int	 bpl   = ((align - ((size.cx * (bpp / 8)) % align)) % align) + size.cx * (bpp / 8);
	Int	 bytes = bpl * size.cy;

	if (memcmp(GetBytes(), bitmap.GetBytes(), bytes) != 0) return False;

	return True;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %rdi
movq (%rdi), %rax
xorl %esi, %esi
callq *0x78(%rax)
testb %al, %al
je 0x5f6bd
movq (%rbx), %rdi
movq (%rdi), %rax
xorl %esi, %esi
callq *0x78(%rax)
movb $0x1, %bpl
testb %al, %al
jne 0x5f7d9
movq (%r14), %rdi
movq (%rdi), %rax
xorl %ebp, %ebp
xorl %esi, %esi
callq *0x78(%rax)
testb %al, %al
jne 0x5f7d9
movq (%rbx), %rdi
movq (%rdi), %rax
xorl %ebp, %ebp
xorl %esi, %esi
callq *0x78(%rax)
testb %al, %al
jne 0x5f7d9
movq %r14, %rdi
callq 0x596e0
movq %rax, %r15
movq %rbx, %rdi
callq 0x596e0
movl (%r15), %ecx
xorl %ebp, %ebp
cmpl (%rax), %ecx
jne 0x5f7d9
movl 0x4(%rax), %eax
cmpl %eax, 0x4(%r15)
jne 0x5f7d9
movq %r14, %rdi
callq 0x57da0
movl %eax, %ebp
movq %rbx, %rdi
callq 0x57da0
cmpb %al, %bpl
jne 0x5f7d7
movq %r14, %rdi
callq 0x57790
movl %eax, %ebp
movq %rbx, %rdi
callq 0x57790
cmpb %al, %bpl
jne 0x5f7d7
movq %r14, %rdi
callq 0x5a360
movl %eax, %ebp
movq %rbx, %rdi
callq 0x5a360
cmpb %al, %bpl
jne 0x5f7d7
movq %r14, %rdi
callq 0x596e0
movl (%rax), %r15d
movslq 0x4(%rax), %r12
movq %r14, %rdi
callq 0x57790
movl %eax, %ebp
movq %r14, %rdi
callq 0x5a360
movsbl %al, %esi
movsbl %bpl, %eax
movb $0x8, %cl
idivb %cl
movsbl %al, %ecx
imull %r15d, %ecx
movl %ecx, %eax
cltd
idivl %esi
movl %esi, %eax
subl %edx, %eax
cwtd
idivw %si
movswl %dx, %eax
addl %ecx, %eax
movslq %eax, %r15
imulq %r12, %r15
movq %r14, %rdi
callq 0x582e0
movq %rax, %r14
movq %rbx, %rdi
callq 0x582e0
movq %r14, %rdi
movq %rax, %rsi
movq %r15, %rdx
callq 0x58510
testl %eax, %eax
sete %bpl
jmp 0x5f7d9
xorl %ebp, %ebp
movl %ebp, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/graphics/color.cpp
// Function: smooth::GUI::Color::Downsample(int) const
S::GUI::Color S::GUI::Color::Downsample(Int bpcc) const
{
	if (bpcc == 8) return *this;

	int first  = GetRed();
	int second = GetGreen();
	int third  = GetBlue();

	first  >>= (8 - bpcc);
	second >>= (8 - bpcc);
	third  >>= (8 - bpcc);

	return Color((Long) (first + Math::Pow(2, bpcc) * second + Math::Pow(4, bpcc) * third), colorSpace);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x8(%rsi), %r15
cmpl $0x8, %edx
je 0x5ff68
movl %edx, %ebp
movl $0xff, %eax
movl %r15d, %edx
andl %eax, %edx
movl %r15d, %r12d
shrl $0x8, %r12d
andl %eax, %r12d
shrl $0x10, %r15d
andl %eax, %r15d
movb $0x8, %cl
subb %bpl, %cl
shrl %cl, %edx
shrl %cl, %r12d
shrl %cl, %r15d
cvtsi2sd %edx, %xmm0
movsd %xmm0, 0x8(%rsp)
pushq $0x2
popq %rdi
movl %ebp, %esi
callq 0x570f0
cvtsi2sd %r12d, %xmm1
mulsd %xmm0, %xmm1
addsd 0x8(%rsp), %xmm1
movsd %xmm1, 0x8(%rsp)
pushq $0x4
popq %rdi
movl %ebp, %esi
callq 0x570f0
cvtsi2sd %r15d, %xmm1
mulsd %xmm0, %xmm1
addsd 0x8(%rsp), %xmm1
cvttsd2si %xmm1, %r15
movl (%r14), %eax
movq %r15, 0x8(%rbx)
movl %eax, (%rbx)
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/graphics/color.cpp
// Function: smooth::GUI::Color::Upsample(int) const
S::GUI::Color S::GUI::Color::Upsample(Int bpcc) const
{
	if (bpcc == 8) return *this;

	int first  =  color		   & (int) (Math::Pow(2, bpcc) - 1);
	int second = (color >>	    bpcc ) & (int) (Math::Pow(2, bpcc) - 1);
	int third  = (color >> (2 * bpcc)) & (int) (Math::Pow(2, bpcc) - 1);

	first  = (int) (255 / (Math::Pow(2, bpcc) - 1) * (double) first);
	second = (int) (255 / (Math::Pow(2, bpcc) - 1) * (double) second);
	third  = (int) (255 / (Math::Pow(2, bpcc) - 1) * (double) third);

	return Color(first, second, third, colorSpace);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x8(%rsi), %r12
cmpl $0x8, %edx
je 0x600f2
movl %edx, %r15d
pushq $0x2
popq %rbp
movl %ebp, %edi
movl %edx, %esi
callq 0x570f0
addsd 0x833de(%rip), %xmm0    # 0xe3398
cvttsd2si %xmm0, %eax
andl %eax, %r12d
movdqu (%r14), %xmm0
pshufd $0xee, %xmm0, %xmm0     # xmm0 = xmm0[2,3,2,3]
movdqa %xmm0, 0x30(%rsp)
movl %ebp, %edi
movl %r15d, %esi
callq 0x570f0
movdqa %xmm0, 0x40(%rsp)
leal (%r15,%r15), %r13d
movsd 0x8(%r14), %xmm0
movapd %xmm0, (%rsp)
movl %ebp, %edi
movl %r15d, %esi
callq 0x570f0
movapd %xmm0, 0x20(%rsp)
movl %ebp, %edi
movl %r15d, %esi
callq 0x570f0
addsd 0x83386(%rip), %xmm0    # 0xe3398
movsd 0x83336(%rip), %xmm1    # 0xe3350
cvtsi2sd %r12d, %xmm2
divsd %xmm0, %xmm1
mulsd %xmm1, %xmm2
cvttsd2si %xmm2, %r12d
movl %ebp, %edi
movl %r15d, %esi
callq 0x570f0
movapd %xmm0, 0x10(%rsp)
movl %ebp, %edi
movl %r15d, %esi
callq 0x570f0
movd %r13d, %xmm1
movd %r15d, %xmm2
pshufd $0x44, (%rsp), %xmm3    # xmm3 = mem[0,1,0,1]
movdqa 0x83442(%rip), %xmm4    # 0xe34a0
movdqa %xmm4, %xmm5
psrlq %xmm2, %xmm5
psrlq %xmm1, %xmm4
movdqa 0x30(%rsp), %xmm6
psrlq %xmm2, %xmm6
psrlq %xmm1, %xmm3
movsd %xmm5, %xmm4            # xmm4 = xmm5[0],xmm4[1]
movsd %xmm6, %xmm3            # xmm3 = xmm6[0],xmm3[1]
xorpd %xmm4, %xmm3
movapd 0x40(%rsp), %xmm2
unpcklpd 0x20(%rsp), %xmm2       # xmm2 = xmm2[0],mem[0]
movapd 0x83418(%rip), %xmm1    # 0xe34b0
addpd %xmm1, %xmm2
cvttpd2dq %xmm2, %xmm2
psubq %xmm4, %xmm3
pshufd $0xe8, %xmm3, %xmm3     # xmm3 = xmm3[0,2,2,3]
pand %xmm2, %xmm3
movapd 0x10(%rsp), %xmm2
unpcklpd %xmm0, %xmm2            # xmm2 = xmm2[0],xmm0[0]
addpd %xmm1, %xmm2
movapd 0x833fd(%rip), %xmm0    # 0xe34c0
cvtdq2pd %xmm3, %xmm1
divpd %xmm2, %xmm0
mulpd %xmm0, %xmm1
cvttpd2dq %xmm1, %xmm0
pshufd $0x55, %xmm0, %xmm1     # xmm1 = xmm0[1,1,1,1]
pslld $0x8, %xmm0
movd %xmm0, %eax
orl %r12d, %eax
pslld $0x10, %xmm1
movd %xmm1, %ecx
orl %eax, %ecx
movslq %ecx, %r12
movl (%r14), %eax
movq %r12, 0x8(%rbx)
movl %eax, (%rbx)
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/graphics/font.cpp
// Function: smooth::GUI::Font::Font(smooth::String const&, short, short, short, smooth::GUI::Color const&)
S::GUI::Font::Font(const String &iFontName, Short iFontSize, Short iFontWeight, Short iFontStyle, const Color &iFontColor)
{
	fontName   = iFontName;
	fontSize   = iFontSize;
	fontColor  = iFontColor;
	fontWeight = iFontWeight;
	fontStyle  = iFontStyle;

	backend = FontBackend::CreateBackendInstance(fontName, fontSize, fontWeight, fontStyle, fontColor);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, (%rsp)
movl %r8d, %ebp
movl %ecx, %r15d
movl %edx, %r12d
movq %rsi, %r13
movq %rdi, %r14
leaq 0x10(%rdi), %rbx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x5a180
andq $0x0, 0x30(%r14)
andl $0x0, 0x28(%r14)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x56630
leaq 0x28(%r14), %r8
movw %r12w, 0x8(%r14)
movq (%rsp), %rax
movups (%rax), %xmm0
movups %xmm0, (%r8)
movw %r15w, 0x38(%r14)
movw %bp, 0x3a(%r14)
movswl %r12w, %esi
movswl %r15w, %edx
movswl %bp, %ecx
movq %rbx, %rdi
callq 0x611b8
movq %rax, (%r14)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x5a588
movq %r14, %rdi
callq 0x58260
nop
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/graphics/font.cpp
// Function: smooth::GUI::Font::Font(smooth::GUI::Font const&)
S::GUI::Font::Font(const Font &iFont)
{
	fontName   = iFont.fontName;
	fontSize   = iFont.fontSize;
	fontColor  = iFont.fontColor;
	fontWeight = iFont.fontWeight;
	fontStyle  = iFont.fontStyle;

	backend = FontBackend::CreateBackendInstance(fontName, fontSize, fontWeight, fontStyle, fontColor);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r15
movq %rdi, %r14
leaq 0x10(%rdi), %rbx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x5a180
andq $0x0, 0x30(%r14)
andl $0x0, 0x28(%r14)
leaq 0x10(%r15), %rsi
movq %rbx, %rdi
callq 0x56630
leaq 0x28(%r14), %r8
movswl 0x8(%r15), %esi
movw %si, 0x8(%r14)
movups 0x28(%r15), %xmm0
movups %xmm0, (%r8)
movswl 0x38(%r15), %edx
movw %dx, 0x38(%r14)
movswl 0x3a(%r15), %ecx
movw %cx, 0x3a(%r14)
movq %rbx, %rdi
callq 0x611b8
movq %rax, (%r14)
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x5a588
movq %r14, %rdi
callq 0x58260
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/graphics/font.cpp
// Function: smooth::GUI::Font::operator=(smooth::GUI::Font const&)
S::GUI::Font &S::GUI::Font::operator =(const Font &newFont)
{
	SetName(newFont.GetName());
	SetSize(newFont.GetSize());
	SetColor(newFont.GetColor());
	SetWeight(newFont.GetWeight());
	SetStyle(newFont.GetStyle());

	return *this;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
addq $0x10, %rsi
callq 0x57bf0
movzwl 0x8(%rbx), %eax
movq (%r14), %rcx
movw %ax, 0xa(%rcx)
movw %ax, 0x8(%r14)
movups 0x28(%rbx), %xmm0
movups %xmm0, 0x28(%rcx)
movups 0x28(%rbx), %xmm0
movups %xmm0, 0x28(%r14)
movzwl 0x38(%rbx), %eax
movq (%r14), %rcx
movw %ax, 0x38(%rcx)
movw %ax, 0x38(%r14)
movzwl 0x3a(%rbx), %eax
movw %ax, 0x3a(%rcx)
movw %ax, 0x3a(%r14)
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/graphics/font.cpp
// Function: smooth::GUI::Font::operator==(smooth::GUI::Font const&) const
S::Bool S::GUI::Font::operator ==(const Font &font) const
{
	if (fontName   == font.GetName()   &&
	    fontSize   == font.GetSize()   &&
	    fontColor  == font.GetColor()  &&
	    fontWeight == font.GetWeight() &&
	    fontStyle  == font.GetStyle()) return True;
	else				   return False;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
addq $0x10, %rdi
addq $0x10, %rsi
callq 0x56960
testb %al, %al
je 0x60376
movzwl 0x8(%r14), %eax
cmpw 0x8(%rbx), %ax
jne 0x60376
movq 0x30(%r14), %rax
cmpq 0x30(%rbx), %rax
jne 0x60376
movzwl 0x38(%r14), %eax
cmpw 0x38(%rbx), %ax
jne 0x60376
movzwl 0x3a(%r14), %ecx
movb $0x1, %al
cmpw 0x3a(%rbx), %cx
je 0x60378
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/graphics/backends/bitmapbackend.cpp
// Function: smooth::GUI::BitmapBackend::BitmapBackend(smooth::GUI::Size const&, int)
S::GUI::BitmapBackend::BitmapBackend(const Size &iSize, Int iDepth)
{
	type	= BITMAP_NONE;

	size	= iSize;
	depth	= iDepth;

	bytes	= NIL;
	bpp	= 0;
	align	= 0;
}

// Assembly:
leaq 0xf5447(%rip), %rax     # 0x155d48
movq %rax, (%rdi)
andq $0x0, 0x10(%rdi)
andw $0x0, 0x8(%rdi)
movq (%rsi), %rax
movq %rax, 0x10(%rdi)
movb %dl, 0xa(%rdi)
andq $0x0, 0x18(%rdi)
andw $0x0, 0xb(%rdi)
retq
nop
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/graphics/backends/bitmapbackend.cpp
// Function: smooth::GUI::BitmapBackend::GrayscaleBitmap()
S::Int S::GUI::BitmapBackend::GrayscaleBitmap()
{
	Point	 point;

	for (point.y = 0; point.y < size.cy; point.y++)
	{
		for (point.x = 0; point.x < size.cx; point.x++)
		{
			Color	 pixel = GetPixel(point);

			Int	 gray  = (pixel.GetRed() + pixel.GetGreen() + pixel.GetBlue()) / 3;

			if (depth == 32) SetPixel(point, Color(gray | (gray << 8) | (gray << 16) | (pixel.GetAlpha() << 24), Color::RGBA));
			else		 SetPixel(point, Color(gray, gray, gray));
		}
	}

	return Success();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
leaq 0x18(%rsp), %r14
movq %rsp, %r15
movl $0xff, %ebp
movw $0x3, %r13w
leaq 0x8(%rsp), %r12
xorl %eax, %eax
movl %eax, 0x4(%rsp)
cmpl 0x14(%rbx), %eax
jge 0x60a6f
xorl %eax, %eax
movl %eax, (%rsp)
cmpl 0x10(%rbx), %eax
jge 0x60a64
movq (%rbx), %rax
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq *0x60(%rax)
movl 0x20(%rsp), %ecx
movl %ecx, %eax
andl %ebp, %eax
movl %ecx, %edx
shrl $0x8, %edx
andl %ebp, %edx
addl %eax, %edx
movl %ecx, %eax
shrl $0x10, %eax
andl %ebp, %eax
addl %edx, %eax
xorl %edx, %edx
divw %r13w
movzwl %ax, %eax
cmpb $0x20, 0xa(%rbx)
jne 0x60a33
movl %eax, %edx
shll $0x8, %edx
orl %eax, %edx
shll $0x10, %eax
andl $0xff000000, %ecx       # imm = 0xFF000000
orl %eax, %ecx
orl %edx, %ecx
movslq %ecx, %rax
movq %rax, 0x10(%rsp)
movl $0x1, 0x8(%rsp)
jmp 0x60a4b
movl %eax, %ecx
shll $0x10, %ecx
movl %eax, %edx
shll $0x8, %edx
orl %ecx, %edx
orl %eax, %edx
movq %rdx, 0x10(%rsp)
andl $0x0, 0x8(%rsp)
movq (%rbx), %rax
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq *0x58(%rax)
movl (%rsp), %eax
incl %eax
jmp 0x609c9
movl 0x4(%rsp), %eax
incl %eax
jmp 0x609ba
xorl %eax, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/graphics/backends/bitmapbackend.cpp
// Function: smooth::GUI::BitmapBackend::InvertColors()
S::Int S::GUI::BitmapBackend::InvertColors()
{
	Point	 point;

	for (point.y = 0; point.y < size.cy; point.y++)
	{
		for (point.x = 0; point.x < size.cx; point.x++)
		{
			Color	 pixel = GetPixel(point);

			Int	 red   = 255 - pixel.GetRed();
			Int	 green = 255 - pixel.GetGreen();
			Int	 blue  = 255 - pixel.GetBlue();

			if (depth == 32) SetPixel(point, Color(red | (green << 8) | (blue << 16) | (pixel.GetAlpha() << 24), Color::RGBA));
			else		 SetPixel(point, Color(red, green, blue));
		}
	}

	return Success();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
xorl %eax, %eax
leaq 0x20(%rsp), %r14
leaq 0x8(%rsp), %r15
movl $0xff, %ebp
leaq 0x10(%rsp), %r12
movl %eax, 0xc(%rsp)
cmpl 0x14(%rbx), %eax
jge 0x60b47
xorl %eax, %eax
movl %eax, 0x8(%rsp)
cmpl 0x10(%rbx), %eax
jge 0x60b3c
movq (%rbx), %rax
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq *0x60(%rax)
movl 0x28(%rsp), %edx
movl %edx, %ecx
notl %ecx
movl %ecx, %eax
andl %ebp, %eax
movl %ecx, %esi
shrl $0x8, %esi
andl %ebp, %esi
shrl $0x10, %ecx
andl %ebp, %ecx
cmpb $0x20, 0xa(%rbx)
jne 0x60b0e
shll $0x8, %esi
shll $0x10, %ecx
orl %esi, %ecx
andl $0xff000000, %edx       # imm = 0xFF000000
orl %ecx, %edx
orl %eax, %edx
movslq %edx, %rax
movq %rax, 0x18(%rsp)
movl $0x1, 0x10(%rsp)
jmp 0x60b22
shll $0x10, %ecx
shll $0x8, %esi
orl %ecx, %esi
orl %eax, %esi
movq %rsi, 0x18(%rsp)
andl $0x0, 0x10(%rsp)
movq (%rbx), %rax
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq *0x58(%rax)
movl 0x8(%rsp), %eax
incl %eax
jmp 0x60ab4
movl 0xc(%rsp), %eax
incl %eax
jmp 0x60aa5
xorl %eax, %eax
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/graphics/backends/bitmapbackend.cpp
// Function: smooth::GUI::BitmapBackend::ReplaceColor(smooth::GUI::Color const&, smooth::GUI::Color const&)
S::Int S::GUI::BitmapBackend::ReplaceColor(const Color &iColor1, const Color &iColor2)
{
	Color	 color1 = iColor1.ConvertTo(Color::RGB);
	Color	 color2 = iColor2.ConvertTo(Color::RGB);

	Point	 point;

	for (point.y = 0; point.y < size.cy; point.y++)
	{
		for (point.x = 0; point.x < size.cx; point.x++)
		{
			Color	 pixel = GetPixel(point);

			if (pixel.ConvertTo(Color::RGB) != color1) continue;

			if (depth == 32) SetPixel(point, Color(Long(color2) | (pixel.GetAlpha() << 24), Color::RGBA));
			else		 SetPixel(point, color2);
		}
	}

	return Success();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, %r15
movq %rdi, %rbx
leaq 0x38(%rsp), %rdi
xorl %ebp, %ebp
xorl %edx, %edx
callq 0x58f90
leaq 0x28(%rsp), %r14
movq %r14, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0x58f90
leaq 0x18(%rsp), %r15
movq %rsp, %r12
leaq 0x8(%rsp), %r13
movl %ebp, 0x4(%rsp)
cmpl 0x14(%rbx), %ebp
jge 0x60c28
xorl %eax, %eax
movl %eax, (%rsp)
cmpl 0x10(%rbx), %eax
jge 0x60c1d
movq (%rbx), %rax
movq %r15, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq *0x60(%rax)
movq %r13, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0x58f90
movq 0x10(%rsp), %rax
cmpq 0x40(%rsp), %rax
jne 0x60c16
cmpb $0x20, 0xa(%rbx)
jne 0x60c07
movslq 0x20(%rsp), %rax
andq $-0x1000000, %rax       # imm = 0xFF000000
orq 0x30(%rsp), %rax
movq %rax, 0x10(%rsp)
movl $0x1, 0x8(%rsp)
movq (%rbx), %rax
movq %rbx, %rdi
movq %r12, %rsi
movq %r13, %rdx
jmp 0x60c13
movq (%rbx), %rax
movq %rbx, %rdi
movq %r12, %rsi
movq %r14, %rdx
callq *0x58(%rax)
movl (%rsp), %eax
incl %eax
jmp 0x60ba6
movl 0x4(%rsp), %ebp
incl %ebp
jmp 0x60b97
xorl %eax, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/graphics/backends/bitmapbackend.cpp
// Function: smooth::GUI::BitmapBackend::SetBackgroundColor(smooth::GUI::Color const&)
S::Int S::GUI::BitmapBackend::SetBackgroundColor(const Color &iColor)
{
	if (depth != 32) return Success();

	Color	 color = iColor.ConvertTo(Color::RGB);

	Point	 point;

	for (point.y = 0; point.y < size.cy; point.y++)
	{
		for (point.x = 0; point.x < size.cx; point.x++)
		{
			Color	 pixel = GetPixel(point);

			if (pixel.GetAlpha() != 255)
			{
				Color	 result = Color((pixel.GetRed()   * pixel.GetAlpha() + color.GetRed()   * (255 - pixel.GetAlpha())) / 255,
							(pixel.GetGreen() * pixel.GetAlpha() + color.GetGreen() * (255 - pixel.GetAlpha())) / 255,
							(pixel.GetBlue()  * pixel.GetAlpha() + color.GetBlue()  * (255 - pixel.GetAlpha())) / 255);

				SetPixel(point, 255 << 24 | result);
			}
		}
	}

	return Success();
}

// Assembly:
cmpb $0x20, 0xa(%rdi)
jne 0x60d6b
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
leaq 0x28(%rsp), %rdi
xorl %r13d, %r13d
xorl %edx, %edx
callq 0x58f90
leaq 0x18(%rsp), %r14
movq %rsp, %r15
movl $0xff, %ebp
leaq 0x8(%rsp), %r12
movl %r13d, 0x4(%rsp)
cmpl 0x14(%rbx), %r13d
jge 0x60d5d
xorl %eax, %eax
movl %eax, (%rsp)
cmpl 0x10(%rbx), %eax
jge 0x60d50
movq (%rbx), %rax
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq *0x60(%rax)
movl 0x20(%rsp), %r8d
movl %r8d, %r9d
shrl $0x18, %r9d
cmpl $0xff, %r9d
je 0x60d46
movl %r8d, %edx
andl %ebp, %edx
imull %r9d, %edx
movl 0x30(%rsp), %ecx
movl %ecx, %eax
andl %ebp, %eax
movl %r9d, %r10d
xorl %ebp, %r10d
imull %r10d, %eax
addl %edx, %eax
xorl %edx, %edx
divl %ebp
movl %eax, %esi
movl %r8d, %edx
shrl $0x8, %edx
andl %ebp, %edx
imull %r9d, %edx
movl %ecx, %eax
shrl $0x8, %eax
andl %ebp, %eax
imull %r10d, %eax
addl %edx, %eax
xorl %edx, %edx
divl %ebp
movl %eax, %edi
shrl $0x10, %r8d
andl %ebp, %r8d
imull %r9d, %r8d
shrl $0x10, %ecx
andl %ebp, %ecx
imull %r10d, %ecx
addl %r8d, %ecx
movl %ecx, %eax
xorl %edx, %edx
divl %ebp
shll $0x10, %eax
shll $0x8, %edi
orl %esi, %edi
orl %eax, %edi
orl $0xff000000, %edi       # imm = 0xFF000000
movslq %edi, %rax
movq %rax, 0x10(%rsp)
andl $0x0, 0x8(%rsp)
movq (%rbx), %rax
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq *0x58(%rax)
movl (%rsp), %eax
incl %eax
jmp 0x60c87
movl 0x4(%rsp), %r13d
incl %r13d
jmp 0x60c76
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/graphics/backends/fontbackend.cpp
// Function: smooth::GUI::FontBackend::FontBackend(smooth::String const&, short, short, short, smooth::GUI::Color const&)
S::GUI::FontBackend::FontBackend(const String &iFontName, Short iFontSize, Short iFontWeight, Short iFontStyle, const Color &iFontColor)
{
#if defined __WIN32__ && defined SMOOTH_STATIC
	volatile Bool	 null = 0;

	if (null) FontGDI();
#endif

	type = FONT_NONE;

	fontName   = iFontName;
	fontSize   = iFontSize;
	fontColor  = iFontColor;
	fontWeight = iFontWeight;
	fontStyle  = iFontStyle;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %r14
movl %r8d, 0x4(%rsp)
movl %ecx, %ebp
movl %edx, %r12d
movq %rsi, %rbx
movq %rdi, %r15
leaq 0xf4c09(%rip), %rax     # 0x155df0
movq %rax, (%rdi)
leaq 0x10(%rdi), %r13
movq %r13, %rdi
xorl %esi, %esi
callq 0x5a180
andq $0x0, 0x30(%r15)
andl $0x0, 0x28(%r15)
andw $0x0, 0x8(%r15)
movq %r13, %rdi
movq %rbx, %rsi
callq 0x56630
leaq 0x28(%r15), %rax
movw %r12w, 0xa(%r15)
movups (%r14), %xmm0
movups %xmm0, (%rax)
movw %bp, 0x38(%r15)
movl 0x4(%rsp), %eax
movw %ax, 0x3a(%r15)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq %r13, %rdi
callq 0x5a588
movq %rbx, %rdi
callq 0x58260
nop
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/graphics/backends/fontbackend.cpp
// Function: smooth::GUI::FontBackend::GetTextSizeX(smooth::String const&, bool) const
S::Int S::GUI::FontBackend::GetTextSizeX(const String &text, Bool scaled) const
{
	if (text == NIL) return 0;

	Int	 length	= text.Length();
	Int	 offset	= 0;
	Int	 sizex	= 0;

	for (Int i = 0; i <= length; i++)
	{
		if (i < length && text[i] != '\n') continue;

		sizex  = (Int) Math::Max(sizex, GetTextSize(text.SubString(offset, i - offset), scaled).cx);
		offset = i + 1;
	}

	return sizex;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %edx, %r14d
movq %rsi, %rbx
movq %rdi, %r12
xorl %ebp, %ebp
movq %rsi, %rdi
xorl %esi, %esi
callq 0x56280
testb %al, %al
jne 0x6133f
movq %rbx, %rdi
callq 0x58370
movl %eax, %r15d
movl $0x0, (%rsp)
leaq 0x10(%rsp), %rbp
movzbl %r14b, %eax
movl %eax, 0x4(%rsp)
xorl %r13d, %r13d
movq %r12, 0x8(%rsp)
xorl %r14d, %r14d
leal (%r14,%r13), %esi
cmpl %r15d, %esi
jg 0x6133c
jge 0x612f6
movq %rbx, %rdi
callq 0x59270
cmpl $0xa, %eax
je 0x612f6
incl %r14d
jmp 0x612d9
movq %rbp, %rdi
movq %rbx, %rsi
movl %r13d, %edx
movl %r14d, %ecx
callq 0x5a2c0
movq %r12, %rdi
movq %rbp, %rsi
movl 0x4(%rsp), %edx
callq 0x61366
movq %rax, %r12
movl (%rsp), %eax
cmpl %r12d, %eax
cmovgl %eax, %r12d
movq %rbp, %rdi
callq 0x5a588
addl %r14d, %r13d
incl %r13d
movl %r12d, (%rsp)
movq 0x8(%rsp), %r12
jmp 0x612d6
movl (%rsp), %ebp
movl %ebp, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x5a588
movq %rbx, %rdi
callq 0x58260
nop
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/graphics/backends/fontbackend.cpp
// Function: smooth::GUI::FontBackend::GetTextSizeY(smooth::String const&, bool) const
S::Int S::GUI::FontBackend::GetTextSizeY(const String &text, Bool scaled) const
{
	if (text == NIL) return 0;

	Int	 length	= text.Length();
	Int	 lines	= 1;

	for (Int i = 0; i < length; i++)
	{
		if (text[i] == '\n') lines++;
	}

	/* Line height is always the same regardless of the actual text,
	 * so we use a default text here and multiply by the numer of lines.
	 */
	static String	 string	= "abcdefghijklmnopqrstuvwxyz";

	return (lines * (GetTextSize(string, scaled).cy - 1)) + (lines - 1) * 3;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
xorl %r15d, %r15d
movq %rsi, %rdi
xorl %esi, %esi
callq 0x56280
testb %al, %al
jne 0x615d0
movq %r14, %rdi
callq 0x58370
movl %eax, %r15d
xorl %r12d, %r12d
testl %eax, %eax
cmovlel %r12d, %r15d
pushq $0x1
popq %r13
cmpl %r12d, %r15d
je 0x615a0
movq %r14, %rdi
movl %r12d, %esi
callq 0x59270
xorl %ecx, %ecx
cmpl $0xa, %eax
sete %cl
addl %ecx, %r13d
incl %r12d
jmp 0x61580
movb 0x1033aa(%rip), %al     # 0x164950
testb %al, %al
je 0x615e2
movzbl %bpl, %edx
leaq 0x103383(%rip), %rsi    # 0x164938
movq %rbx, %rdi
callq 0x61366
movq %rax, %r15
shrq $0x20, %r15
addl $0x2, %r15d
imull %r13d, %r15d
addl $-0x3, %r15d
movl %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x103367(%rip), %rdi    # 0x164950
callq 0x57210
testl %eax, %eax
je 0x615aa
leaq 0x10333f(%rip), %rdi    # 0x164938
leaq 0x81f18(%rip), %rsi     # 0xe3518
callq 0x58c40
movq 0x100924(%rip), %rdi    # 0x161f30
leaq 0x103325(%rip), %rsi    # 0x164938
leaq 0x102c26(%rip), %rdx    # 0x164240
callq 0x590a0
leaq 0x10332a(%rip), %rdi    # 0x164950
callq 0x57cf0
jmp 0x615aa
movq %rax, %rbx
leaq 0x103316(%rip), %rdi    # 0x164950
callq 0x57520
movq %rbx, %rdi
callq 0x58260
nop
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/graphics/backends/fontbackend.cpp
// Function: smooth::ExtentsCacheEntry::ExtentsCacheEntry(smooth::String const&, smooth::String const&, int, int, int)
ExtentsCacheEntry(const String &text,
							   const String &fontName,
							   Int fontSize,
							   Int fontWeight,
							   Int fontStyle)	{ crc32 = String(text).Append(fontName)
												      .Append(String::FromInt(fontSize	 << 16 |
															      fontWeight <<  4 |
															      fontStyle)).ComputeCRC32(); }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl %r9d, %ebp
movl %r8d, %r14d
movl %ecx, %r12d
movq %rdx, %r15
movq %rdi, %rbx
andq $0x0, 0x4(%rdi)
leaq 0x20(%rsp), %r13
movq %r13, %rdi
callq 0x58280
movq %r13, %rdi
movq %r15, %rsi
callq 0x573e0
movq %rax, %r15
shll $0x10, %r12d
shll $0x4, %r14d
orl %r12d, %r14d
orl %ebp, %r14d
movslq %r14d, %rsi
leaq 0x8(%rsp), %rdi
callq 0x57e80
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0x573e0
movq %rax, %rdi
callq 0x56680
movl %eax, (%rbx)
leaq 0x8(%rsp), %rdi
callq 0x5a588
leaq 0x20(%rsp), %rdi
callq 0x5a588
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x616f6
movq %rax, %rbx
jmp 0x61708
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x5a588
leaq 0x20(%rsp), %rdi
callq 0x5a588
movq %rbx, %rdi
callq 0x58260
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/graphics/backends/surfacebackend.cpp
// Function: smooth::GUI::SurfaceBackend::SurfaceBackend(void*, smooth::GUI::Size const&)
S::GUI::SurfaceBackend::SurfaceBackend(Void *iSurface, const Size &maxSize)
{
#if defined __WIN32__ && defined SMOOTH_STATIC
	volatile Bool	 null = 0;

	if (null) SurfaceGDI();
#endif

	type = SURFACE_NONE;

	size.cx	= 0;
	size.cy	= 0;

	paintRect.left = -1;
	paintRect.top = -1;
	paintRect.right = -1;
	paintRect.bottom = -1;

	painting = 0;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0xf4574(%rip), %rax     # 0x155e78
movq %rax, (%rdi)
leaq 0x24(%rdi), %r14
pxor %xmm0, %xmm0
movdqu %xmm0, 0xc(%rdi)
andq $0x0, 0x1c(%rdi)
movq %r14, %rdi
callq 0x63bb4
leaq 0x28(%rbx), %rdi
callq 0x63dd0
andq $0x0, 0x8(%rbx)
andl $0x0, 0x10(%rbx)
pcmpeqd %xmm0, %xmm0
movdqu %xmm0, 0x14(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq %r14, %rdi
callq 0x63bba
movq %rbx, %rdi
callq 0x58260
nop
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/graphics/backends/surfacebackend.cpp
// Function: smooth::GUI::SurfaceBackend::SetText(smooth::String const&, smooth::GUI::Rect const&, smooth::GUI::Font const&, bool)
S::Int S::GUI::SurfaceBackend::SetText(const String &string, const Rect &iRect, const Font &iFont, Bool shadow)
{
	if (shadow)
	{
		Rect	 rect = iRect + Point(2, 2);
		Font	 font = iFont;
		Int	 fontColor = font.GetColor();

		font.SetColor(Color((Int) ((Float) Setup::BackgroundColor.GetRed() / 3 * 2), (Int) ((Float) Setup::BackgroundColor.GetGreen() / 3 * 2), (Int) ((Float) Setup::BackgroundColor.GetBlue() / 3 * 2)));

		SetText(string, rect, font, False);

		rect = rect - Point(2, 2);

		font.SetColor(fontColor);

		SetText(string, rect, font, False);
	}

	return Success();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x60, %rsp
testl %r8d, %r8d
je 0x61ddd
movq %rcx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movabsq $0x200000002, %r13      # imm = 0x200000002
leaq 0x20(%rsp), %rsi
movq %r13, (%rsi)
movq %rdx, %rdi
callq 0x58930
movq %rax, (%rsp)
movq %rdx, 0x8(%rsp)
leaq 0x20(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x56bf0
movq %r12, %rdi
callq 0x58750
movq 0xff7d3(%rip), %rcx     # 0x1614d0
movl 0x8(%rcx), %ecx
movl $0xff, %edx
movl %ecx, %esi
andl %edx, %esi
cvtsi2sd %esi, %xmm0
movsd 0x8186b(%rip), %xmm1    # 0xe3580
divsd %xmm1, %xmm0
addsd %xmm0, %xmm0
cvttsd2si %xmm0, %esi
movq 0x8(%rax), %r15
movl %ecx, %eax
shrl $0x8, %eax
andl %edx, %eax
cvtsi2sd %eax, %xmm0
divsd %xmm1, %xmm0
addsd %xmm0, %xmm0
cvttsd2si %xmm0, %eax
shrl $0x10, %ecx
andl %edx, %ecx
cvtsi2sd %ecx, %xmm0
divsd %xmm1, %xmm0
addsd %xmm0, %xmm0
cvttsd2si %xmm0, %ecx
shll $0x10, %ecx
shll $0x8, %eax
orl %esi, %eax
orl %ecx, %eax
cltq
leaq 0x10(%rsp), %rsi
movq %rax, 0x8(%rsi)
andl $0x0, (%rsi)
leaq 0x20(%rsp), %rdi
callq 0x59940
movq (%r14), %rax
movq %rsp, %rdx
leaq 0x20(%rsp), %rcx
movq %r14, %rdi
movq %rbx, %rsi
xorl %r8d, %r8d
callq *0x78(%rax)
leaq 0x10(%rsp), %rsi
movq %r13, (%rsi)
movq %rsp, %rdi
callq 0x58180
movq %rax, (%rsp)
movq %rdx, 0x8(%rsp)
movslq %r15d, %rax
leaq 0x10(%rsp), %rsi
movq %rax, 0x8(%rsi)
andl $0x0, (%rsi)
leaq 0x20(%rsp), %rdi
callq 0x59940
movq (%r14), %rax
movq %rsp, %rdx
leaq 0x20(%rsp), %rcx
movq %r14, %rdi
movq %rbx, %rsi
xorl %r8d, %r8d
callq *0x78(%rax)
leaq 0x20(%rsp), %rdi
callq 0x57860
xorl %eax, %eax
addq $0x60, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0x61df3
jmp 0x61df3
jmp 0x61df3
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x57860
movq %rbx, %rdi
callq 0x58260
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/graphics/backends/surfacebackend.cpp
// Function: smooth::GUI::SurfaceBackend::PremultiplyAlpha(smooth::GUI::Bitmap&)
S::Int S::GUI::SurfaceBackend::PremultiplyAlpha(Bitmap &bitmap)
{
	if (bitmap.GetDepth() != 32) return Success();

	Point	 point;
	Size	 size = bitmap.GetSize();

	for (point.y = 0; point.y < size.cy; point.y++)
	{
		for (point.x = 0; point.x < size.cx; point.x++)
		{
			Color	 pixel = bitmap.GetPixel(point);

			if (pixel.GetAlpha() != 255) bitmap.SetPixel(point, Color( pixel.GetRed()   * pixel.GetAlpha() / 255	    |
										  (pixel.GetGreen() * pixel.GetAlpha() / 255) <<  8 |
										  (pixel.GetBlue()  * pixel.GetAlpha() / 255) << 16 |
												      pixel.GetAlpha()	      << 24, Color::RGBA));
		}
	}

	return Success();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
callq 0x57da0
cmpb $0x20, %al
jne 0x625d0
movq %rbx, %rdi
callq 0x596e0
movl (%rax), %ebp
movl 0x4(%rax), %eax
movl %eax, 0x14(%rsp)
leaq 0x28(%rsp), %r14
leaq 0xc(%rsp), %r15
movl $0xff, %r13d
movw $0xff, %r12w
xorl %eax, %eax
movl %eax, 0x10(%rsp)
cmpl 0x14(%rsp), %eax
jge 0x625d0
xorl %eax, %eax
movl %eax, 0xc(%rsp)
cmpl %ebp, %eax
jge 0x625c5
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x57000
movl 0x30(%rsp), %ecx
movl %ecx, %esi
shrl $0x18, %esi
cmpl $0xff, %esi
je 0x625ba
movl %ecx, %eax
andl %r13d, %eax
imull %esi, %eax
xorl %edx, %edx
divw %r12w
movzwl %ax, %edi
movl %ecx, %eax
shrl $0x8, %eax
andl %r13d, %eax
imull %esi, %eax
xorl %edx, %edx
divw %r12w
movzwl %ax, %r8d
shll $0x8, %r8d
movl %ecx, %eax
shrl $0x10, %eax
andl %r13d, %eax
imull %esi, %eax
xorl %edx, %edx
divw %r12w
shll $0x10, %eax
andl $0xff000000, %ecx       # imm = 0xFF000000
orl %edi, %ecx
orl %eax, %ecx
orl %r8d, %ecx
movslq %ecx, %rax
movq %rax, 0x20(%rsp)
movl $0x1, 0x18(%rsp)
movq %rbx, %rdi
movq %r15, %rsi
leaq 0x18(%rsp), %rdx
callq 0x57160
movl 0xc(%rsp), %eax
incl %eax
jmp 0x62524
movl 0x10(%rsp), %eax
incl %eax
jmp 0x62514
xorl %eax, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/graphics/forms/rect.cpp
// Function: smooth::GUI::Rect::OverlapRect(smooth::GUI::Rect const&, smooth::GUI::Rect const&)
S::GUI::Rect S::GUI::Rect::OverlapRect(const Rect &rect1, const Rect &rect2)
{
	if (DoRectsOverlap(rect1, rect2))
	{
		Rect	 oRect;

		oRect.left   = (Int) Math::Max(rect1.left, rect2.left);
		oRect.top    = (Int) Math::Max(rect1.top, rect2.top);
		oRect.right  = (Int) Math::Min(rect1.right, rect2.right);
		oRect.bottom = (Int) Math::Min(rect1.bottom, rect2.bottom);

		return oRect;
	}

	return Rect();
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
callq 0x569d0
testb %al, %al
je 0x626b9
movl (%r14), %ecx
movl 0x4(%r14), %edx
movl (%rbx), %eax
movl 0x4(%rbx), %esi
cmpl %eax, %ecx
cmovgl %ecx, %eax
cmpl %esi, %edx
cmovgl %edx, %esi
movl 0x8(%r14), %ecx
movl 0x8(%rbx), %edi
cmpl %edi, %ecx
cmovll %ecx, %edi
movl 0xc(%r14), %ecx
movl 0xc(%rbx), %edx
cmpl %edx, %ecx
cmovll %ecx, %edx
shlq $0x20, %rdx
orq %rdi, %rdx
shlq $0x20, %rsi
orq %rsi, %rax
jmp 0x626bd
xorl %edx, %edx
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/graphics/imageloader/imageloader.cpp
// Function: smooth::GUI::DetectImageFormat(smooth::Buffer<unsigned char> const&)
static Short DetectImageFormat(const Buffer<UnsignedByte> &buffer)
		{
			Short	 format = IMAGE_FORMAT_AUTO;

			if (buffer.Size() < 12) return format;

			if	(buffer[ 0] == 0x50 && buffer[ 1] == 0x43 &&
				 buffer[ 2] == 0x49 && buffer[ 3] == 0x46) format = IMAGE_FORMAT_PCI;
			else if (buffer[ 0] == 0xFF && buffer[ 1] == 0xD8) format = IMAGE_FORMAT_JPEG;
			else if (buffer[ 0] == 0x89 && buffer[ 1] == 0x50 &&
				 buffer[ 2] == 0x4E && buffer[ 3] == 0x47 &&
				 buffer[ 4] == 0x0D && buffer[ 5] == 0x0A &&
				 buffer[ 6] == 0x1A && buffer[ 7] == 0x0A) format = IMAGE_FORMAT_PNG;
			else if (buffer[ 0] == 0x52 && buffer[ 1] == 0x49 &&
				 buffer[ 2] == 0x46 && buffer[ 3] == 0x46 &&
				 buffer[ 8] == 0x57 && buffer[ 9] == 0x45 &&
				 buffer[10] == 0x42 && buffer[11] == 0x50) format = IMAGE_FORMAT_WEBP;

			return format;
		}

// Assembly:
movw $0xffff, %ax            # imm = 0xFFFF
cmpl $0xc, 0x10(%rdi)
jl 0x62c60
movq 0x8(%rdi), %rcx
movq (%rcx), %rcx
movzbl (%rcx), %edx
cmpl $0xff, %edx
je 0x62c52
cmpl $0x52, %edx
je 0x62bed
cmpl $0x89, %edx
je 0x62c22
cmpl $0x50, %edx
jne 0x62c60
cmpb $0x43, 0x1(%rcx)
jne 0x62c5c
cmpb $0x49, 0x2(%rcx)
jne 0x62c5c
cmpb $0x46, 0x3(%rcx)
jne 0x62c5c
xorl %eax, %eax
retq
cmpb $0x49, 0x1(%rcx)
jne 0x62c60
cmpb $0x46, 0x2(%rcx)
jne 0x62c60
cmpb $0x46, 0x3(%rcx)
jne 0x62c60
cmpb $0x57, 0x8(%rcx)
jne 0x62c60
cmpb $0x45, 0x9(%rcx)
jne 0x62c60
cmpb $0x42, 0xa(%rcx)
jne 0x62c60
xorl %eax, %eax
cmpb $0x50, 0xb(%rcx)
sete %al
leal -0x1(,%rax,4), %eax
retq
cmpb $0x50, 0x1(%rcx)
jne 0x62c5c
cmpb $0x4e, 0x2(%rcx)
jne 0x62c5c
cmpb $0x47, 0x3(%rcx)
jne 0x62c5c
cmpb $0xd, 0x4(%rcx)
jne 0x62c5c
cmpb $0xa, 0x5(%rcx)
jne 0x62c5c
cmpb $0x1a, 0x6(%rcx)
jne 0x62c5c
movw $0x1, %ax
cmpb $0xa, 0x7(%rcx)
jne 0x62c5c
jmp 0x62c60
movw $0x2, %ax
cmpb $-0x28, 0x1(%rcx)
je 0x62c60
movw $0xffff, %ax            # imm = 0xFFFF
retq
nop
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/graphics/imageloader/imageloader.cpp
// Function: smooth::GUI::ImageLoader::Load(smooth::Buffer<unsigned char> const&, short)
S::GUI::Bitmap S::GUI::ImageLoader::Load(const Buffer<UnsignedByte> &buffer, Short format)
{
	/* Auto-detect image format.
	 */
	if (format == IMAGE_FORMAT_AUTO) format = DetectImageFormat(buffer);

	/* Create image loader.
	 */
	ImageLoader	*loader = NIL;

	if	(format == IMAGE_FORMAT_PCI)  loader = new ImageLoaderPCI(buffer);
	else if (format == IMAGE_FORMAT_PNG)  loader = new ImageLoaderPNG(buffer);
	else if (format == IMAGE_FORMAT_JPEG) loader = new ImageLoaderJPEG(buffer);
	else if (format == IMAGE_FORMAT_WEBP) loader = new ImageLoaderWebP(buffer);

	if (loader == NIL) return NIL;

	Bitmap	 bitmap = loader->Load();

	delete loader;

	return bitmap;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r15
movq %rdi, %rbx
cmpw $-0x1, %dx
jne 0x62c7d
movq %r15, %rdi
callq 0x62b9e
movl %eax, %edx
cmpw $0x3, %dx
ja 0x62d17
movzwl %dx, %eax
leaq 0x80927(%rip), %rcx     # 0xe35b8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
pushq $0x48
popq %rdi
callq 0x56700
movq %rax, %r14
movq %rax, %rdi
movq %r15, %rsi
callq 0x630d2
jmp 0x62cf8
pushq $0x48
popq %rdi
callq 0x56700
movq %rax, %r14
movq %rax, %rdi
movq %r15, %rsi
callq 0x62e16
jmp 0x62cf8
pushq $0x48
popq %rdi
callq 0x56700
movq %rax, %r14
movq %rax, %rdi
movq %r15, %rsi
callq 0x63916
jmp 0x62cf8
pushq $0x48
popq %rdi
callq 0x56700
movq %rax, %r14
movq %rax, %rdi
movq %r15, %rsi
callq 0x6336e
movq (%r14), %rax
movq %r14, %rdi
callq *0x10(%rax)
movq %rbx, %rdi
movq %rax, %rsi
callq 0x58350
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
jmp 0x62d21
movq %rbx, %rdi
xorl %esi, %esi
callq 0x59c80
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
jmp 0x62d30
jmp 0x62d30
jmp 0x62d30
movq %rax, %rbx
pushq $0x48
popq %rsi
movq %r14, %rdi
callq 0x564c0
movq %rbx, %rdi
callq 0x58260