LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/classes/i18n/translator.cpp
// Function: smooth::I18n::Translator::TranslateString(smooth::String const&, smooth::String const&)
const S::String &S::I18n::Translator::TranslateString(const String &string, const String &context)
{
	String	 prevContext = activeLanguage->GetContext();

	activeLanguage->SetContext(context);

	const String	&translation = activeLanguage->GetString(string);

	activeLanguage->SetContext(prevContext);

	if (translation == NIL)	return string;
	else			return translation;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x60(%rbp)
movq 0x78(%rax), %rdi
callq 0x5ac10
movq %rax, %rsi
leaq -0x38(%rbp), %rdi
callq 0x5b6d0
movq -0x60(%rbp), %rax
movq 0x78(%rax), %rdi
movq -0x20(%rbp), %rsi
callq 0x5a500
jmp 0xe2d24
movq -0x60(%rbp), %rax
movq 0x78(%rax), %rdi
movq -0x18(%rbp), %rsi
callq 0x5a700
movq %rax, -0x68(%rbp)
jmp 0xe2d3b
movq -0x60(%rbp), %rax
movq -0x68(%rbp), %rcx
movq %rcx, -0x50(%rbp)
movq 0x78(%rax), %rdi
leaq -0x38(%rbp), %rsi
callq 0x5a500
jmp 0xe2d56
movq -0x50(%rbp), %rdi
xorl %esi, %esi
callq 0x59320
movb %al, -0x69(%rbp)
jmp 0xe2d66
movb -0x69(%rbp), %al
testb $0x1, %al
jne 0xe2d6f
jmp 0xe2d97
movq -0x18(%rbp), %rax
movq %rax, -0x8(%rbp)
movl $0x1, -0x54(%rbp)
jmp 0xe2da6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x5df00
jmp 0xe2db9
movq -0x50(%rbp), %rax
movq %rax, -0x8(%rbp)
movl $0x1, -0x54(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x5df00
movq -0x8(%rbp), %rax
addq $0x70, %rsp
popq %rbp
retq
movq -0x40(%rbp), %rdi
callq 0x5b6b0
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/classes/i18n/translator.cpp
// Function: smooth::GetApplicationName()
static String GetApplicationName()
	{
		String	 appName;

		for (Int i = 0; i < Object::GetNOfObjects(); i++)
		{
			if (Object::GetNthObject(i)->GetObjectType() != GUI::Application::classID) continue;

			GUI::Application	*application = (GUI::Application *) Object::GetNthObject(i);

			appName = application->GetText();
			appName.Replace(":", NIL).Replace("/", NIL);

			break;
		}

		return appName;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rdi, -0x98(%rbp)
movq %rdi, %rax
movq %rax, -0x90(%rbp)
movq %rdi, -0x8(%rbp)
movb $0x0, -0x9(%rbp)
xorl %esi, %esi
callq 0x5da90
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %eax
movl %eax, -0xa0(%rbp)
callq 0x5bd10
movl %eax, -0x9c(%rbp)
jmp 0xe2e18
movl -0xa0(%rbp), %eax
movl -0x9c(%rbp), %ecx
cmpl %ecx, %eax
jge 0xe2fe9
movl -0x10(%rbp), %edi
callq 0x5d300
movq %rax, -0xa8(%rbp)
jmp 0xe2e3d
movq -0xa8(%rbp), %rdi
callq 0x5bb10
movq %rax, -0xb0(%rbp)
jmp 0xe2e52
movq -0xb0(%rbp), %rdi
movq 0x125f20(%rip), %rax    # 0x208d80
movswl (%rax), %esi
callq 0x5da50
movb %al, -0xb1(%rbp)
jmp 0xe2e70
movb -0xb1(%rbp), %al
testb $0x1, %al
jne 0xe2e7c
jmp 0xe2e92
jmp 0xe2fdb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0xe300f
movl -0x10(%rbp), %edi
callq 0x5d300
movq %rax, -0xc0(%rbp)
jmp 0xe2ea3
movq -0xc0(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rdi
movq (%rdi), %rax
movq 0xa8(%rax), %rax
callq *%rax
movq %rax, -0xc8(%rbp)
jmp 0xe2ec7
movq -0xc8(%rbp), %rsi
movq -0x98(%rbp), %rdi
callq 0x59760
jmp 0xe2edc
leaq 0xa41eb(%rip), %rsi     # 0x1870ce
leaq -0x40(%rbp), %rdi
callq 0x5c1f0
jmp 0xe2eee
leaq -0x58(%rbp), %rdi
xorl %esi, %esi
callq 0x5da90
jmp 0xe2efb
movq -0x98(%rbp), %rdi
leaq -0x40(%rbp), %rsi
leaq -0x58(%rbp), %rdx
callq 0x5bd30
movq %rax, -0xd0(%rbp)
jmp 0xe2f18
leaq 0xa4717(%rip), %rsi     # 0x187636
leaq -0x70(%rbp), %rdi
callq 0x5c1f0
jmp 0xe2f2a
leaq -0x88(%rbp), %rdi
xorl %esi, %esi
callq 0x5da90
jmp 0xe2f3a
movq -0xd0(%rbp), %rdi
leaq -0x70(%rbp), %rsi
leaq -0x88(%rbp), %rdx
callq 0x5bd30
jmp 0xe2f53
leaq -0x88(%rbp), %rdi
callq 0x5df00
leaq -0x70(%rbp), %rdi
callq 0x5df00
leaq -0x58(%rbp), %rdi
callq 0x5df00
leaq -0x40(%rbp), %rdi
callq 0x5df00
jmp 0xe2fe9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0xe2fd0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0xe2fc7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0xe2fbe
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0x88(%rbp), %rdi
callq 0x5df00
leaq -0x70(%rbp), %rdi
callq 0x5df00
leaq -0x58(%rbp), %rdi
callq 0x5df00
leaq -0x40(%rbp), %rdi
callq 0x5df00
jmp 0xe300f
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0xe2e02
movb $0x1, -0x9(%rbp)
testb $0x1, -0x9(%rbp)
jne 0xe2fff
movq -0x98(%rbp), %rdi
callq 0x5df00
movq -0x90(%rbp), %rax
addq $0xd0, %rsp
popq %rbp
retq
movq -0x98(%rbp), %rdi
callq 0x5df00
movq -0x18(%rbp), %rdi
callq 0x5b6b0
nopw %cs:(%rax,%rax)
nop
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/classes/i18n/../../include/smooth/templates/array/arraybackend.h
// Function: smooth::ArrayBackend<void*>::InsertAtPos(int, void* const&)
Int InsertAtPos(Int position, const s &value)
			{
				WriteLock	 lock(*this);
				Int		 index = greatestIndex + 1;

				if (!InsertAtPos(position, value, index)) index = -1;

				return index;
			}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rsi
movq %rsi, -0x40(%rbp)
leaq -0x20(%rbp), %rdi
callq 0x593d0
movq -0x40(%rbp), %rdi
movl 0xc(%rdi), %eax
incl %eax
movl %eax, -0x24(%rbp)
movl -0xc(%rbp), %esi
movq -0x18(%rbp), %rdx
movl -0x24(%rbp), %ecx
callq 0xe3460
movb %al, -0x35(%rbp)
jmp 0xe3414
movb -0x35(%rbp), %al
testb $0x1, %al
jne 0xe343d
jmp 0xe341d
movl $0xffffffff, -0x24(%rbp) # imm = 0xFFFFFFFF
jmp 0xe343d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x20(%rbp), %rdi
callq 0x5a730
jmp 0xe3455
movl -0x24(%rbp), %eax
movl %eax, -0x44(%rbp)
leaq -0x20(%rbp), %rdi
callq 0x5a730
movl -0x44(%rbp), %eax
addq $0x50, %rsp
popq %rbp
retq
movq -0x30(%rbp), %rdi
callq 0x5b6b0
nop
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/classes/i18n/../../include/smooth/templates/array/arraybackend.h
// Function: smooth::ArrayBackend<void*>::InsertAtPos(int, void* const&, int)
Bool InsertAtPos(Int position, const s &value, Int index)
			{
				WriteLock	 lock(*this);
				Int		 nOfEntries = this->nOfEntries;

				if (position > nOfEntries || position < 0) return False;

				if (!IndexArray::InsertAtPos(position, index)) return False;

				if (entries.Size() == nOfEntries) entries.Resize(8 > nOfEntries * 1.25 ? 8 : nOfEntries * 1.25);

				memmove(entries + position + 1, entries + position, (nOfEntries - position) * sizeof(ArrayEntry
 *));

				entries[position] = new ArrayEntry
(value);

				return True;
			}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq %rdx, -0x20(%rbp)
movl %ecx, -0x24(%rbp)
movq -0x10(%rbp), %rsi
movq %rsi, -0x50(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x593d0
movq -0x50(%rbp), %rax
movl 0x8(%rax), %eax
movl %eax, -0x34(%rbp)
movl -0x14(%rbp), %eax
cmpl -0x34(%rbp), %eax
jg 0xe34a2
cmpl $0x0, -0x14(%rbp)
jge 0xe34b2
movb $0x0, -0x1(%rbp)
movl $0x1, -0x38(%rbp)
jmp 0xe360d
movq -0x50(%rbp), %rdi
movl -0x14(%rbp), %esi
movl -0x24(%rbp), %edx
callq 0x59280
movb %al, -0x51(%rbp)
jmp 0xe34c6
movb -0x51(%rbp), %al
testb $0x1, %al
jne 0xe34f0
jmp 0xe34cf
movb $0x0, -0x1(%rbp)
movl $0x1, -0x38(%rbp)
jmp 0xe360d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0xe3624
movq -0x50(%rbp), %rdi
addq $0x40, %rdi
callq 0x61fc0
cmpl -0x34(%rbp), %eax
jne 0xe3568
movq -0x50(%rbp), %rax
addq $0x40, %rax
movq %rax, -0x60(%rbp)
cvtsi2sdl -0x34(%rbp), %xmm1
movsd 0xa3aed(%rip), %xmm0    # 0x187008
mulsd %xmm0, %xmm1
movsd 0xa3ad9(%rip), %xmm0    # 0x187000
ucomisd %xmm1, %xmm0
jbe 0xe353c
movsd 0xa3acb(%rip), %xmm0    # 0x187000
movsd %xmm0, -0x68(%rbp)
jmp 0xe3552
cvtsi2sdl -0x34(%rbp), %xmm0
movsd 0xa3abf(%rip), %xmm1    # 0x187008
mulsd %xmm1, %xmm0
movsd %xmm0, -0x68(%rbp)
movq -0x60(%rbp), %rdi
movsd -0x68(%rbp), %xmm0
cvttsd2si %xmm0, %esi
callq 0x61fe0
jmp 0xe3566
jmp 0xe3568
movq -0x50(%rbp), %rdi
addq $0x40, %rdi
movq %rdi, -0x80(%rbp)
callq 0x61cc0
movq -0x80(%rbp), %rdi
movslq -0x14(%rbp), %rcx
leaq 0x8(%rax,%rcx,8), %rax
movq %rax, -0x78(%rbp)
callq 0x61cc0
movq -0x78(%rbp), %rdi
movslq -0x14(%rbp), %rdx
movl %edx, %ecx
leaq (%rax,%rdx,8), %rsi
movl -0x34(%rbp), %eax
subl %ecx, %eax
movslq %eax, %rdx
shlq $0x3, %rdx
callq 0x59850
movl $0x8, %edi
callq 0x59820
movq %rax, -0x70(%rbp)
jmp 0xe35be
movq -0x70(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x620c0
jmp 0xe35cd
movq -0x50(%rbp), %rdi
addq $0x40, %rdi
movl -0x14(%rbp), %esi
callq 0x61c90
movq -0x70(%rbp), %rcx
movq %rcx, (%rax)
movb $0x1, -0x1(%rbp)
movl $0x1, -0x38(%rbp)
jmp 0xe360d
movq -0x70(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
movl $0x8, %esi
callq 0x595b0
jmp 0xe3624
leaq -0x30(%rbp), %rdi
callq 0x5a730
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x80, %rsp
popq %rbp
retq
leaq -0x30(%rbp), %rdi
callq 0x5a730
movq -0x40(%rbp), %rdi
callq 0x5b6b0
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/classes/input/pointer.cpp
// Function: smooth::Input::Pointer::UpdatePosition(smooth::GUI::Window const*, int, int)
S::Void S::Input::Pointer::UpdatePosition(const GUI::Window *window, Int x, Int y)
{
	pointerWindow	= window;

	mousePosition.x	= x;
	mousePosition.y	= y;

	/* FixMe: The -2 offsets seem to be necessary on
	 *	  all X11 systems. However, I somehow feel
	 *	  this can't be the right way to do it.
	 */
#ifndef __WIN32__
	mousePosition.x -= 2;
	mousePosition.y -= 2;
#endif
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
movq -0x8(%rbp), %rcx
movq 0x12445f(%rip), %rax    # 0x208bf8
movq %rcx, (%rax)
movl -0xc(%rbp), %ecx
movq 0x123bca(%rip), %rax    # 0x208370
movl %ecx, (%rax)
movl -0x10(%rbp), %ecx
movq 0x123bbe(%rip), %rax    # 0x208370
movl %ecx, 0x4(%rax)
movq 0x123bb4(%rip), %rax    # 0x208370
movl (%rax), %ecx
subl $0x2, %ecx
movq 0x123ba8(%rip), %rax    # 0x208370
movl %ecx, (%rax)
movq 0x123b9f(%rip), %rax    # 0x208370
movl 0x4(%rax), %ecx
subl $0x2, %ecx
movq 0x123b92(%rip), %rax    # 0x208370
movl %ecx, 0x4(%rax)
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/classes/io/driver.cpp
// Function: smooth::IO::Driver::Driver()
S::IO::Driver::Driver()
{
	streamID  = NIL;

	size	  = 2147483647;
	position  = 0;

	lastError = IO_ERROR_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x28(%rbp)
movq 0x12426d(%rip), %rax    # 0x208c48
addq $0x10, %rax
movq %rax, (%rdi)
addq $0x20, %rdi
movq %rdi, -0x20(%rbp)
xorl %esi, %esi
movl %esi, -0x18(%rbp)
callq 0x5da90
movq -0x20(%rbp), %rdi
movl -0x18(%rbp), %esi
callq 0x5c1e0
jmp 0xe4a02
movq -0x28(%rbp), %rax
movq $0x7fffffff, 0x8(%rax)  # imm = 0x7FFFFFFF
movq $0x0, 0x10(%rax)
movl $0x0, 0x18(%rax)
addq $0x30, %rsp
popq %rbp
retq
movq -0x20(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
callq 0x5df00
movq -0x10(%rbp), %rdi
callq 0x5b6b0
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/classes/io/driver.cpp
// Function: smooth::IO::Driver::ReadData(unsigned char*, int)
S::Int S::IO::Driver::ReadData(UnsignedByte *data, Int dataSize)
{
	if (dataSize <= 0) return 0;

	memset((Void *) data, 0, dataSize);

	position += dataSize;

	return dataSize;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x1c(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
cmpl $0x0, -0x1c(%rbp)
jg 0xe4afa
movl $0x0, -0x4(%rbp)
jmp 0xe4b1f
movq -0x18(%rbp), %rdi
movslq -0x1c(%rbp), %rdx
xorl %esi, %esi
callq 0x5a200
movq -0x28(%rbp), %rax
movslq -0x1c(%rbp), %rcx
addq 0x10(%rax), %rcx
movq %rcx, 0x10(%rax)
movl -0x1c(%rbp), %eax
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/classes/io/instream.cpp
// Function: smooth::IO::InStream::InStream(int, smooth::IO::Driver*)
S::IO::InStream::InStream(Int type, Driver *iDriver)
{
	outStream	 = NIL;

	if (type != STREAM_DRIVER)		   { lastError = IO_ERROR_BADPARAM;	 return; }

	driver		 = iDriver;

	if (driver->GetLastError() != IO_ERROR_OK) { lastError = driver->GetLastError(); return; }

	streamType	 = STREAM_DRIVER;
	size		 = driver->GetSize();
	closefile	 = False;

	packageSize	 = defaultPackageSize;
	stdpacksize	 = packageSize;
	origpacksize	 = packageSize;
	currentBufferPos = defaultPackageSize;
	origsize	 = size;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x30(%rbp)
callq 0x5af00
movq -0x30(%rbp), %rax
movq 0x1234f5(%rip), %rcx    # 0x208390
addq $0x10, %rcx
movq %rcx, (%rax)
movq $0x0, 0x100(%rax)
cmpl $0x2, -0xc(%rbp)
je 0xe4ec5
movq -0x30(%rbp), %rax
movw $0x2, 0xf8(%rax)
jmp 0xe4f85
movq -0x30(%rbp), %rax
movq -0x18(%rbp), %rcx
movq %rcx, 0xe8(%rax)
movq 0xe8(%rax), %rdi
callq 0x591e0
movl %eax, -0x34(%rbp)
jmp 0xe4ee5
movl -0x34(%rbp), %eax
cmpl $0x0, %eax
je 0xe4f29
movq -0x30(%rbp), %rax
movq 0xe8(%rax), %rdi
callq 0x591e0
movl %eax, -0x38(%rbp)
jmp 0xe4f02
movq -0x30(%rbp), %rax
movl -0x38(%rbp), %ecx
movw %cx, 0xf8(%rax)
jmp 0xe4f85
movq -0x30(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
callq 0x5ba70
jmp 0xe4f8b
movq -0x30(%rbp), %rax
movw $0x2, 0x8(%rax)
movq 0xe8(%rax), %rdi
movq (%rdi), %rax
movq 0x40(%rax), %rax
callq *%rax
movq %rax, -0x40(%rbp)
jmp 0xe4f49
movq -0x30(%rbp), %rax
movq -0x40(%rbp), %rcx
movq %rcx, 0x10(%rax)
movb $0x0, 0xb(%rax)
movq 0x123b20(%rip), %rcx    # 0x208a80
movl (%rcx), %ecx
movl %ecx, 0x38(%rax)
movl 0x38(%rax), %ecx
movl %ecx, 0x3c(%rax)
movl 0x38(%rax), %ecx
movl %ecx, 0x40(%rax)
movq 0x123b08(%rip), %rcx    # 0x208a80
movl (%rcx), %ecx
movl %ecx, 0x50(%rax)
movq 0x10(%rax), %rcx
movq %rcx, 0x18(%rax)
addq $0x40, %rsp
popq %rbp
retq
movq -0x20(%rbp), %rdi
callq 0x5b6b0
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/classes/io/instream.cpp
// Function: smooth::IO::InStream::InStream(int, _IO_FILE*)
S::IO::InStream::InStream(Int type, FILE *openFile)
{
	outStream	 = NIL;

	if (type != STREAM_ANSI)		   { lastError = IO_ERROR_BADPARAM;			return; }

	driver		 = new DriverANSI(openFile);

	if (driver->GetLastError() != IO_ERROR_OK) { lastError = driver->GetLastError(); delete driver; return; }

	streamType	 = STREAM_DRIVER;
	size		 = driver->GetSize();
	currentFilePos	 = driver->GetPos();

	currentBufferPos = defaultPackageSize;
	origsize	 = size;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x30(%rbp)
callq 0x5af00
movq -0x30(%rbp), %rax
movq 0x123025(%rip), %rcx    # 0x208390
addq $0x10, %rcx
movq %rcx, (%rax)
movq $0x0, 0x100(%rax)
cmpl $0x4, -0xc(%rbp)
je 0xe5395
movq -0x30(%rbp), %rax
movw $0x2, 0xf8(%rax)
jmp 0xe54ae
movl $0x48, %edi
callq 0x59820
movq %rax, -0x38(%rbp)
jmp 0xe53a5
movq -0x38(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x5cf10
jmp 0xe53b4
movq -0x30(%rbp), %rax
movq -0x38(%rbp), %rcx
movq %rcx, 0xe8(%rax)
movq 0xe8(%rax), %rdi
callq 0x591e0
movl %eax, -0x3c(%rbp)
jmp 0xe53d4
movl -0x3c(%rbp), %eax
cmpl $0x0, %eax
je 0xe544c
movq -0x30(%rbp), %rax
movq 0xe8(%rax), %rdi
callq 0x591e0
movl %eax, -0x40(%rbp)
jmp 0xe53f1
movq -0x30(%rbp), %rax
movl -0x40(%rbp), %ecx
movw %cx, 0xf8(%rax)
movq 0xe8(%rax), %rax
movq %rax, -0x48(%rbp)
cmpq $0x0, %rax
je 0xe541a
movq -0x48(%rbp), %rdi
movq (%rdi), %rax
callq *0x8(%rax)
jmp 0xe54ae
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
jmp 0xe54b4
movq -0x38(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
movl $0x48, %esi
callq 0x595b0
jmp 0xe54b4
movq -0x30(%rbp), %rax
movw $0x2, 0x8(%rax)
movq 0xe8(%rax), %rdi
movq (%rdi), %rax
movq 0x40(%rax), %rax
callq *%rax
movq %rax, -0x50(%rbp)
jmp 0xe546c
movq -0x30(%rbp), %rax
movq -0x50(%rbp), %rcx
movq %rcx, 0x10(%rax)
movq 0xe8(%rax), %rdi
movq (%rdi), %rax
movq 0x48(%rax), %rax
callq *%rax
movq %rax, -0x58(%rbp)
jmp 0xe548e
movq -0x30(%rbp), %rax
movq -0x58(%rbp), %rcx
movq %rcx, 0x48(%rax)
movq 0x1235df(%rip), %rcx    # 0x208a80
movl (%rcx), %ecx
movl %ecx, 0x50(%rax)
movq 0x10(%rax), %rcx
movq %rcx, 0x18(%rax)
addq $0x60, %rsp
popq %rbp
retq
movq -0x30(%rbp), %rdi
callq 0x5ba70
movq -0x20(%rbp), %rdi
callq 0x5b6b0
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/classes/io/instream.cpp
// Function: smooth::IO::InStream::InStream(int, void*, long)
S::IO::InStream::InStream(Int type, Void *inBuffer, Long bufferSize)
{
	outStream	 = NIL;

	if (type != STREAM_BUFFER)		   { lastError = IO_ERROR_BADPARAM;			return; }

	driver		 = new DriverMemory(inBuffer, bufferSize);

	if (driver->GetLastError() != IO_ERROR_OK) { lastError = driver->GetLastError(); delete driver; return; }

	streamType	 = STREAM_DRIVER;
	size		 = driver->GetSize();

	currentBufferPos = packageSize;
	origsize	 = size;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x38(%rbp)
callq 0x5af00
movq -0x38(%rbp), %rax
movq 0x122e91(%rip), %rcx    # 0x208390
addq $0x10, %rcx
movq %rcx, (%rax)
movq $0x0, 0x100(%rax)
cmpl $0x5, -0xc(%rbp)
je 0xe5529
movq -0x38(%rbp), %rax
movw $0x2, 0xf8(%rax)
jmp 0xe5617
movl $0x40, %edi
callq 0x59820
movq %rax, -0x40(%rbp)
jmp 0xe5539
movq -0x40(%rbp), %rdi
movq -0x18(%rbp), %rsi
movl -0x20(%rbp), %edx
callq 0x5bb60
jmp 0xe554b
movq -0x38(%rbp), %rax
movq -0x40(%rbp), %rcx
movq %rcx, 0xe8(%rax)
movq 0xe8(%rax), %rdi
callq 0x591e0
movl %eax, -0x44(%rbp)
jmp 0xe556b
movl -0x44(%rbp), %eax
cmpl $0x0, %eax
je 0xe55dd
movq -0x38(%rbp), %rax
movq 0xe8(%rax), %rdi
callq 0x591e0
movl %eax, -0x48(%rbp)
jmp 0xe5588
movq -0x38(%rbp), %rax
movl -0x48(%rbp), %ecx
movw %cx, 0xf8(%rax)
movq 0xe8(%rax), %rax
movq %rax, -0x50(%rbp)
cmpq $0x0, %rax
je 0xe55b1
movq -0x50(%rbp), %rdi
movq (%rdi), %rax
callq *0x8(%rax)
jmp 0xe5617
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0xe561d
movq -0x40(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
movl $0x40, %esi
callq 0x595b0
jmp 0xe561d
movq -0x38(%rbp), %rax
movw $0x2, 0x8(%rax)
movq 0xe8(%rax), %rdi
movq (%rdi), %rax
movq 0x40(%rax), %rax
callq *%rax
movq %rax, -0x58(%rbp)
jmp 0xe55fd
movq -0x38(%rbp), %rax
movq -0x58(%rbp), %rcx
movq %rcx, 0x10(%rax)
movl 0x38(%rax), %ecx
movl %ecx, 0x50(%rax)
movq 0x10(%rax), %rcx
movq %rcx, 0x18(%rax)
addq $0x60, %rsp
popq %rbp
retq
movq -0x38(%rbp), %rdi
callq 0x5ba70
movq -0x28(%rbp), %rdi
callq 0x5b6b0
nop
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/classes/io/instream.cpp
// Function: smooth::IO::InStream::InStream(int, smooth::IO::OutStream*)
S::IO::InStream::InStream(Int type, OutStream *out)
{
	outStream	 = NIL;

	if (type != STREAM_STREAM)				{ lastError = IO_ERROR_BADPARAM;   return; }
	if (out->streamType == STREAM_NONE || out->crosslinked)	{ lastError = IO_ERROR_OPNOTAVAIL; return; }

	streamType	 = STREAM_STREAM;

	crosslinked		= True;
	outStream		= out;
	outStream->inStream	= this;
	outStream->crosslinked	= True;

	packageSize		= defaultPackageSize;
	stdpacksize		= packageSize;
	origpacksize		= packageSize;

	if (outStream->streamType == STREAM_DRIVER)
	{
		driver		 = outStream->driver;

		streamType	 = STREAM_DRIVER;
		size		 = outStream->size;
		currentFilePos	 = outStream->currentFilePos;
		closefile	 = False;

		packageSize	 = 1;
		stdpacksize	 = packageSize;
		origpacksize	 = packageSize;
		currentBufferPos = packageSize;
		origsize	 = size;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x20(%rbp)
callq 0x5af00
movq -0x20(%rbp), %rax
movq 0x122d35(%rip), %rcx    # 0x208390
addq $0x10, %rcx
movq %rcx, (%rax)
movq $0x0, 0x100(%rax)
cmpl $0x1, -0xc(%rbp)
je 0xe5685
movq -0x20(%rbp), %rax
movw $0x2, 0xf8(%rax)
jmp 0xe576a
movq -0x18(%rbp), %rax
movswl 0x8(%rax), %eax
cmpl $0x0, %eax
je 0xe569c
movq -0x18(%rbp), %rax
testb $0x1, 0xa(%rax)
je 0xe56ae
movq -0x20(%rbp), %rax
movw $0x6, 0xf8(%rax)
jmp 0xe576a
movq -0x20(%rbp), %rax
movw $0x1, 0x8(%rax)
movb $0x1, 0xa(%rax)
movq -0x18(%rbp), %rcx
movq %rcx, 0x100(%rax)
movq 0x100(%rax), %rcx
movq %rax, 0x100(%rcx)
movq 0x100(%rax), %rcx
movb $0x1, 0xa(%rcx)
movq 0x123399(%rip), %rcx    # 0x208a80
movl (%rcx), %ecx
movl %ecx, 0x38(%rax)
movl 0x38(%rax), %ecx
movl %ecx, 0x3c(%rax)
movl 0x38(%rax), %ecx
movl %ecx, 0x40(%rax)
movq 0x100(%rax), %rax
movswl 0x8(%rax), %eax
cmpl $0x2, %eax
jne 0xe576a
movq -0x20(%rbp), %rax
movq 0x100(%rax), %rcx
movq 0xe8(%rcx), %rcx
movq %rcx, 0xe8(%rax)
movw $0x2, 0x8(%rax)
movq 0x100(%rax), %rcx
movq 0x10(%rcx), %rcx
movq %rcx, 0x10(%rax)
movq 0x100(%rax), %rcx
movq 0x48(%rcx), %rcx
movq %rcx, 0x48(%rax)
movb $0x0, 0xb(%rax)
movl $0x1, 0x38(%rax)
movl 0x38(%rax), %ecx
movl %ecx, 0x3c(%rax)
movl 0x38(%rax), %ecx
movl %ecx, 0x40(%rax)
movl 0x38(%rax), %ecx
movl %ecx, 0x50(%rax)
movq 0x10(%rax), %rcx
movq %rcx, 0x18(%rax)
addq $0x20, %rsp
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/classes/io/instream.cpp
// Function: smooth::IO::InStream::InputNumber(int)
S::Int64 S::IO::InStream::InputNumber(Int bytes)	// Intel byte order DCBA
{
	if (streamType == STREAM_NONE)	{ lastError = IO_ERROR_NOTOPEN; return -1; }
	if (bytes > 8 || bytes < 0)	{ lastError = IO_ERROR_BADPARAM; return -1; }

	if (bitstreamActive && !keepBits) CompleteBitstream();

	Int64	 rval = 0;

	for (Int i = 0; i < bytes; i++)
	{
		if (currentFilePos >= (origfilepos + packageSize)) { lastError = IO_ERROR_UNKNOWN; return -1; }

		while (currentBufferPos >= packageSize)
		{
			if (!ReadData()) { lastError = IO_ERROR_NODATA; return -1; }
		}

		if (bytes <= 4)	rval += dataBuffer[currentBufferPos] * (1   << (i * 8));
		else		rval += dataBuffer[currentBufferPos] * (1LL << (i * 8));

		currentBufferPos++;
		currentFilePos++;
	}

	return rval;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x30(%rbp)
movswl 0x8(%rax), %eax
cmpl $0x0, %eax
jne 0xe5ada
movq -0x30(%rbp), %rax
movw $0x5, 0xf8(%rax)
movq $-0x1, -0x8(%rbp)
jmp 0xe5c3f
cmpl $0x8, -0x14(%rbp)
jg 0xe5ae6
cmpl $0x0, -0x14(%rbp)
jge 0xe5b00
movq -0x30(%rbp), %rax
movw $0x2, 0xf8(%rax)
movq $-0x1, -0x8(%rbp)
jmp 0xe5c3f
movq -0x30(%rbp), %rax
testb $0x1, 0x60(%rax)
je 0xe5b1d
movq -0x30(%rbp), %rax
testb $0x1, 0x61(%rax)
jne 0xe5b1d
movq -0x30(%rbp), %rdi
callq 0x5bd50
movq $0x0, -0x20(%rbp)
movl $0x0, -0x24(%rbp)
movl -0x24(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0xe5c37
movq -0x30(%rbp), %rdx
movq 0x48(%rdx), %rax
movq 0x58(%rdx), %rcx
movslq 0x38(%rdx), %rdx
addq %rdx, %rcx
cmpq %rcx, %rax
jl 0xe5b6a
movq -0x30(%rbp), %rax
movw $0x4, 0xf8(%rax)
movq $-0x1, -0x8(%rbp)
jmp 0xe5c3f
jmp 0xe5b6c
movq -0x30(%rbp), %rcx
movl 0x50(%rcx), %eax
cmpl 0x38(%rcx), %eax
jl 0xe5ba1
movq -0x30(%rbp), %rdi
callq 0x59c50
testb $0x1, %al
jne 0xe5b9f
movq -0x30(%rbp), %rax
movw $0x8, 0xf8(%rax)
movq $-0x1, -0x8(%rbp)
jmp 0xe5c3f
jmp 0xe5b6c
cmpl $0x4, -0x14(%rbp)
jg 0xe5bdb
movq -0x30(%rbp), %rax
movq %rax, %rdi
addq $0x20, %rdi
movl 0x50(%rax), %esi
callq 0x717e0
movzbl (%rax), %eax
movl -0x24(%rbp), %ecx
shll $0x3, %ecx
movl $0x1, %edx
shll %cl, %edx
movl %edx, %ecx
imull %ecx, %eax
cltq
addq -0x20(%rbp), %rax
movq %rax, -0x20(%rbp)
jmp 0xe5c10
movq -0x30(%rbp), %rax
movq %rax, %rdi
addq $0x20, %rdi
movl 0x50(%rax), %esi
callq 0x717e0
movzbl (%rax), %eax
movl -0x24(%rbp), %ecx
shll $0x3, %ecx
movl %ecx, %ecx
movl $0x1, %edx
shlq %cl, %rdx
movq %rdx, %rcx
imulq %rcx, %rax
addq -0x20(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x30(%rbp), %rax
movl 0x50(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x50(%rax)
movq 0x48(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x48(%rax)
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0xe5b2c
movq -0x20(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/classes/io/instream.cpp
// Function: smooth::IO::InStream::InputNumberRaw(int)
S::Int64 S::IO::InStream::InputNumberRaw(Int bytes)	// Raw byte order ABCD
{
	if (streamType == STREAM_NONE)	{ lastError = IO_ERROR_NOTOPEN; return -1; }
	if (bytes > 8 || bytes < 0)	{ lastError = IO_ERROR_BADPARAM; return -1; }

	if (bitstreamActive && !keepBits) CompleteBitstream();

	Int64	 rval = 0;

	for (Int i = bytes - 1; i >= 0; i--)
	{
		if (currentFilePos >= (origfilepos + packageSize)) { lastError = IO_ERROR_UNKNOWN; return -1; }

		while (currentBufferPos >= packageSize)
		{
			if (!ReadData()) { lastError = IO_ERROR_NODATA; return -1; }
		}

		if (bytes <= 4)	rval += dataBuffer[currentBufferPos] * (1   << (i * 8));
		else		rval += dataBuffer[currentBufferPos] * (1LL << (i * 8));

		currentBufferPos++;
		currentFilePos++;
	}

	return rval;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x30(%rbp)
movswl 0x8(%rax), %eax
cmpl $0x0, %eax
jne 0xe5caa
movq -0x30(%rbp), %rax
movw $0x5, 0xf8(%rax)
movq $-0x1, -0x8(%rbp)
jmp 0xe5e0f
cmpl $0x8, -0x14(%rbp)
jg 0xe5cb6
cmpl $0x0, -0x14(%rbp)
jge 0xe5cd0
movq -0x30(%rbp), %rax
movw $0x2, 0xf8(%rax)
movq $-0x1, -0x8(%rbp)
jmp 0xe5e0f
movq -0x30(%rbp), %rax
testb $0x1, 0x60(%rax)
je 0xe5ced
movq -0x30(%rbp), %rax
testb $0x1, 0x61(%rax)
jne 0xe5ced
movq -0x30(%rbp), %rdi
callq 0x5bd50
movq $0x0, -0x20(%rbp)
movl -0x14(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x24(%rbp)
cmpl $0x0, -0x24(%rbp)
jl 0xe5e07
movq -0x30(%rbp), %rdx
movq 0x48(%rdx), %rax
movq 0x58(%rdx), %rcx
movslq 0x38(%rdx), %rdx
addq %rdx, %rcx
cmpq %rcx, %rax
jl 0xe5d3a
movq -0x30(%rbp), %rax
movw $0x4, 0xf8(%rax)
movq $-0x1, -0x8(%rbp)
jmp 0xe5e0f
jmp 0xe5d3c
movq -0x30(%rbp), %rcx
movl 0x50(%rcx), %eax
cmpl 0x38(%rcx), %eax
jl 0xe5d71
movq -0x30(%rbp), %rdi
callq 0x59c50
testb $0x1, %al
jne 0xe5d6f
movq -0x30(%rbp), %rax
movw $0x8, 0xf8(%rax)
movq $-0x1, -0x8(%rbp)
jmp 0xe5e0f
jmp 0xe5d3c
cmpl $0x4, -0x14(%rbp)
jg 0xe5dab
movq -0x30(%rbp), %rax
movq %rax, %rdi
addq $0x20, %rdi
movl 0x50(%rax), %esi
callq 0x717e0
movzbl (%rax), %eax
movl -0x24(%rbp), %ecx
shll $0x3, %ecx
movl $0x1, %edx
shll %cl, %edx
movl %edx, %ecx
imull %ecx, %eax
cltq
addq -0x20(%rbp), %rax
movq %rax, -0x20(%rbp)
jmp 0xe5de0
movq -0x30(%rbp), %rax
movq %rax, %rdi
addq $0x20, %rdi
movl 0x50(%rax), %esi
callq 0x717e0
movzbl (%rax), %eax
movl -0x24(%rbp), %ecx
shll $0x3, %ecx
movl %ecx, %ecx
movl $0x1, %edx
shlq %cl, %rdx
movq %rdx, %rcx
imulq %rcx, %rax
addq -0x20(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x30(%rbp), %rax
movl 0x50(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x50(%rax)
movq 0x48(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x48(%rax)
movl -0x24(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0xe5cfe
movq -0x20(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/classes/io/instream.cpp
// Function: smooth::IO::InStream::SetPackageSize(int)
S::Bool S::IO::InStream::SetPackageSize(Int newPackageSize)
{
	if (streamType == STREAM_NONE)	{ lastError = IO_ERROR_NOTOPEN; return False; }
	if (!allowpackset)		{ lastError = IO_ERROR_OPNOTAVAIL; return False; }
	if (newPackageSize <= 0)	{ lastError = IO_ERROR_BADPARAM; return False; }

	if (bitstreamActive) CompleteBitstream();

	packageSize	 = newPackageSize;
	stdpacksize	 = packageSize;
	currentBufferPos = packageSize;

	Seek(currentFilePos);

	return True;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x20(%rbp)
movswl 0x8(%rax), %eax
cmpl $0x0, %eax
jne 0xe66f3
movq -0x20(%rbp), %rax
movw $0x5, 0xf8(%rax)
movb $0x0, -0x1(%rbp)
jmp 0xe6760
movq -0x20(%rbp), %rax
testb $0x1, 0x44(%rax)
jne 0xe6710
movq -0x20(%rbp), %rax
movw $0x6, 0xf8(%rax)
movb $0x0, -0x1(%rbp)
jmp 0xe6760
cmpl $0x0, -0x14(%rbp)
jg 0xe6729
movq -0x20(%rbp), %rax
movw $0x2, 0xf8(%rax)
movb $0x0, -0x1(%rbp)
jmp 0xe6760
movq -0x20(%rbp), %rax
testb $0x1, 0x60(%rax)
je 0xe673c
movq -0x20(%rbp), %rdi
callq 0x5bd50
movq -0x20(%rbp), %rdi
movl -0x14(%rbp), %eax
movl %eax, 0x38(%rdi)
movl 0x38(%rdi), %eax
movl %eax, 0x3c(%rdi)
movl 0x38(%rdi), %eax
movl %eax, 0x50(%rdi)
movq 0x48(%rdi), %rsi
movq (%rdi), %rax
callq *0x28(%rax)
movb $0x1, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/classes/io/instream.cpp
// Function: smooth::IO::InStream::SetFilter(smooth::IO::Filter*)
S::Bool S::IO::InStream::SetFilter(Filter *newFilter)
{
	if (streamType == STREAM_NONE)	{ lastError = IO_ERROR_NOTOPEN; return False; }
	if (filter != NIL)		{ lastError = IO_ERROR_BADPARAM; return False; }

	newFilter->SetDriver(driver);

	Seek(currentFilePos);

	if (newFilter->Activate() == False) { lastError = IO_ERROR_UNKNOWN; return False; }

	allowpackset = True;

	if	(newFilter->GetPackageSize() >   0) SetPackageSize(newFilter->GetPackageSize());
	else if (newFilter->GetPackageSize() == -1) SetPackageSize(size - currentFilePos);

	allowpackset = False;

	filter = newFilter;

	return True;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x20(%rbp)
movswl 0x8(%rax), %eax
cmpl $0x0, %eax
jne 0xe67a7
movq -0x20(%rbp), %rax
movw $0x5, 0xf8(%rax)
movb $0x0, -0x1(%rbp)
jmp 0xe687a
movq -0x20(%rbp), %rax
cmpq $0x0, 0xf0(%rax)
je 0xe67cb
movq -0x20(%rbp), %rax
movw $0x2, 0xf8(%rax)
movb $0x0, -0x1(%rbp)
jmp 0xe687a
movq -0x20(%rbp), %rax
movq -0x18(%rbp), %rdi
movq 0xe8(%rax), %rsi
callq 0x59bf0
movq -0x20(%rbp), %rdi
movq 0x48(%rdi), %rsi
movq (%rdi), %rax
callq *0x28(%rax)
movq -0x18(%rbp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
andb $0x1, %al
movzbl %al, %eax
cmpl $0x0, %eax
jne 0xe6814
movq -0x20(%rbp), %rax
movw $0x4, 0xf8(%rax)
movb $0x0, -0x1(%rbp)
jmp 0xe687a
movq -0x20(%rbp), %rax
movb $0x1, 0x44(%rax)
movq -0x18(%rbp), %rdi
callq 0x5b7a0
cmpl $0x0, %eax
jle 0xe6840
movq -0x18(%rbp), %rdi
callq 0x5b7a0
movq -0x20(%rbp), %rdi
movl %eax, %esi
callq 0x5bb90
jmp 0xe6863
movq -0x18(%rbp), %rdi
callq 0x5b7a0
cmpl $-0x1, %eax
jne 0xe6861
movq -0x20(%rbp), %rdi
movq 0x10(%rdi), %rax
subq 0x48(%rdi), %rax
movl %eax, %esi
callq 0x5bb90
jmp 0xe6863
movq -0x20(%rbp), %rax
movb $0x0, 0x44(%rax)
movq -0x18(%rbp), %rcx
movq %rcx, 0xf0(%rax)
movb $0x1, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/classes/io/instream.cpp
// Function: smooth::IO::InStream::RemoveFilter()
S::Bool S::IO::InStream::RemoveFilter()
{
	if (streamType == STREAM_NONE)	{ lastError = IO_ERROR_NOTOPEN; return False; }
	if (filter == NIL)		{ lastError = IO_ERROR_BADPARAM; return False; }

	filter->Deactivate();
	filter = NIL;

	allowpackset = True;

	SetPackageSize(origpacksize);

	return True;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x18(%rbp)
movswl 0x8(%rax), %eax
cmpl $0x0, %eax
jne 0xe68c0
movq -0x18(%rbp), %rax
movw $0x5, 0xf8(%rax)
movb $0x0, -0x1(%rbp)
jmp 0xe6911
movq -0x18(%rbp), %rax
cmpq $0x0, 0xf0(%rax)
jne 0xe68e1
movq -0x18(%rbp), %rax
movw $0x2, 0xf8(%rax)
movb $0x0, -0x1(%rbp)
jmp 0xe6911
movq -0x18(%rbp), %rax
movq 0xf0(%rax), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
movq -0x18(%rbp), %rdi
movq $0x0, 0xf0(%rdi)
movb $0x1, 0x44(%rdi)
movl 0x40(%rdi), %esi
callq 0x5bb90
movb $0x1, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/classes/io/instream.cpp
// Function: smooth::IO::InStream::Close()
S::Bool S::IO::InStream::Close()
{
	if (streamType == STREAM_NONE) { lastError = IO_ERROR_NOTOPEN; return False; }

	if (bitstreamActive) CompleteBitstream();

	while (filter != NIL) RemoveFilter();

	if (crosslinked)
	{
		if (closefile) outStream->closefile = True;

		outStream->crosslinked	= False;
		outStream->inStream	= NIL;

		closefile = False;
	}

	if (closefile) delete driver;

	streamType = STREAM_NONE;

	return True;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x18(%rbp)
movswl 0x8(%rax), %eax
cmpl $0x0, %eax
jne 0xe6953
movq -0x18(%rbp), %rax
movw $0x5, 0xf8(%rax)
movb $0x0, -0x1(%rbp)
jmp 0xe6a03
movq -0x18(%rbp), %rax
testb $0x1, 0x60(%rax)
je 0xe6966
movq -0x18(%rbp), %rdi
callq 0x5bd50
jmp 0xe6968
movq -0x18(%rbp), %rax
cmpq $0x0, 0xf0(%rax)
je 0xe6982
movq -0x18(%rbp), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
jmp 0xe6968
movq -0x18(%rbp), %rax
testb $0x1, 0xa(%rax)
je 0xe69ca
movq -0x18(%rbp), %rax
testb $0x1, 0xb(%rax)
je 0xe69a5
movq -0x18(%rbp), %rax
movq 0x100(%rax), %rax
movb $0x1, 0xb(%rax)
movq -0x18(%rbp), %rax
movq 0x100(%rax), %rcx
movb $0x0, 0xa(%rcx)
movq 0x100(%rax), %rcx
movq $0x0, 0x100(%rcx)
movb $0x0, 0xb(%rax)
movq -0x18(%rbp), %rax
testb $0x1, 0xb(%rax)
je 0xe69f5
movq -0x18(%rbp), %rax
movq 0xe8(%rax), %rax
movq %rax, -0x20(%rbp)
cmpq $0x0, %rax
je 0xe69f3
movq -0x20(%rbp), %rdi
movq (%rdi), %rax
callq *0x8(%rax)
jmp 0xe69f5
movq -0x18(%rbp), %rax
movw $0x0, 0x8(%rax)
movb $0x1, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x20, %rsp
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/classes/io/instream.cpp
// Function: smooth::IO::InStream::Seek(long long)
S::Bool S::IO::InStream::Seek(Int64 position)
{
	if (streamType == STREAM_NONE)	{ lastError = IO_ERROR_NOTOPEN; return False; }

	if (bitstreamActive) CompleteBitstream();

	Int64	 offset = position - currentFilePos;

	if (currentBufferPos + offset >= 0 && currentBufferPos + offset <= packageSize)
	{
		currentFilePos	  = position;
		currentBufferPos += offset;
	}
	else
	{
		if (driver->Seek(position) == -1) return False;

		currentFilePos	  = position;
		currentBufferPos  = packageSize;
		origfilepos	  = currentFilePos;
	}

	return True;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
movswl 0x8(%rax), %eax
cmpl $0x0, %eax
jne 0xe6a47
movq -0x28(%rbp), %rax
movw $0x5, 0xf8(%rax)
movb $0x0, -0x1(%rbp)
jmp 0xe6ae8
movq -0x28(%rbp), %rax
testb $0x1, 0x60(%rax)
je 0xe6a5a
movq -0x28(%rbp), %rdi
callq 0x5bd50
movq -0x28(%rbp), %rax
movq -0x18(%rbp), %rcx
subq 0x48(%rax), %rcx
movq %rcx, -0x20(%rbp)
movslq 0x50(%rax), %rax
addq -0x20(%rbp), %rax
cmpq $0x0, %rax
jl 0xe6aa9
movq -0x28(%rbp), %rcx
movslq 0x50(%rcx), %rax
addq -0x20(%rbp), %rax
movslq 0x38(%rcx), %rcx
cmpq %rcx, %rax
jg 0xe6aa9
movq -0x28(%rbp), %rax
movq -0x18(%rbp), %rcx
movq %rcx, 0x48(%rax)
movq -0x20(%rbp), %rdx
movslq 0x50(%rax), %rcx
addq %rdx, %rcx
movl %ecx, 0x50(%rax)
jmp 0xe6ae4
movq -0x28(%rbp), %rax
movq 0xe8(%rax), %rdi
movq -0x18(%rbp), %rsi
movq (%rdi), %rax
callq *0x20(%rax)
cmpq $-0x1, %rax
jne 0xe6aca
movb $0x0, -0x1(%rbp)
jmp 0xe6ae8
movq -0x28(%rbp), %rax
movq -0x18(%rbp), %rcx
movq %rcx, 0x48(%rax)
movl 0x38(%rax), %ecx
movl %ecx, 0x50(%rax)
movq 0x48(%rax), %rcx
movq %rcx, 0x58(%rax)
movb $0x1, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/classes/io/outstream.cpp
// Function: smooth::IO::OutStream::OutStream(int, smooth::IO::Driver*)
S::IO::OutStream::OutStream(Int type, Driver *iDriver)
{
	inStream	= NIL;

	if (type != STREAM_DRIVER)		   { lastError = IO_ERROR_BADPARAM;	 return; }

	driver		= iDriver;

	if (driver->GetLastError() != IO_ERROR_OK) { lastError = driver->GetLastError(); return; }

	streamType	= STREAM_DRIVER;
	size		= driver->GetSize();
	currentFilePos	= driver->GetPos();
	closefile	= False;

	packageSize	= defaultPackageSize;
	stdpacksize	= packageSize;
	origpacksize	= packageSize;

	dataBuffer.Resize(packageSize);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x30(%rbp)
callq 0x5af00
movq -0x30(%rbp), %rax
movq 0x121f65(%rip), %rcx    # 0x208b80
addq $0x10, %rcx
movq %rcx, (%rax)
movq $0x0, 0x100(%rax)
cmpl $0x2, -0xc(%rbp)
je 0xe6c45
movq -0x30(%rbp), %rax
movw $0x2, 0xf8(%rax)
jmp 0xe6d2a
movq -0x30(%rbp), %rax
movq -0x18(%rbp), %rcx
movq %rcx, 0xe8(%rax)
movq 0xe8(%rax), %rdi
callq 0x591e0
movl %eax, -0x34(%rbp)
jmp 0xe6c65
movl -0x34(%rbp), %eax
cmpl $0x0, %eax
je 0xe6caf
movq -0x30(%rbp), %rax
movq 0xe8(%rax), %rdi
callq 0x591e0
movl %eax, -0x38(%rbp)
jmp 0xe6c82
movq -0x30(%rbp), %rax
movl -0x38(%rbp), %ecx
movw %cx, 0xf8(%rax)
jmp 0xe6d2a
movq -0x30(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
callq 0x5ba70
jmp 0xe6d30
movq -0x30(%rbp), %rax
movw $0x2, 0x8(%rax)
movq 0xe8(%rax), %rdi
movq (%rdi), %rax
movq 0x40(%rax), %rax
callq *%rax
movq %rax, -0x40(%rbp)
jmp 0xe6ccf
movq -0x30(%rbp), %rax
movq -0x40(%rbp), %rcx
movq %rcx, 0x10(%rax)
movq 0xe8(%rax), %rdi
movq (%rdi), %rax
movq 0x48(%rax), %rax
callq *%rax
movq %rax, -0x48(%rbp)
jmp 0xe6cf1
movq -0x30(%rbp), %rax
movq -0x48(%rbp), %rcx
movq %rcx, 0x48(%rax)
movb $0x0, 0xb(%rax)
movq 0x121a98(%rip), %rcx    # 0x2087a0
movl (%rcx), %ecx
movl %ecx, 0x38(%rax)
movl 0x38(%rax), %ecx
movl %ecx, 0x3c(%rax)
movl 0x38(%rax), %ecx
movl %ecx, 0x40(%rax)
movq %rax, %rdi
addq $0x20, %rdi
movl 0x38(%rax), %esi
callq 0x72e00
jmp 0xe6d2a
addq $0x50, %rsp
popq %rbp
retq
movq -0x20(%rbp), %rdi
callq 0x5b6b0
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/classes/io/outstream.cpp
// Function: smooth::IO::OutStream::OutStream(int, _IO_FILE*)
S::IO::OutStream::OutStream(Int type, FILE *openFile)
{
	inStream	= NIL;

	if (type != STREAM_ANSI)		   { lastError = IO_ERROR_BADPARAM;			return; }

	driver		= new DriverANSI(openFile);

	if (driver->GetLastError() != IO_ERROR_OK) { lastError = driver->GetLastError(); delete driver; return; }

	streamType	= STREAM_DRIVER;
	size		= driver->GetSize();
	currentFilePos	= driver->GetPos();

	dataBuffer.Resize(packageSize);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x30(%rbp)
callq 0x5af00
movq -0x30(%rbp), %rax
movq 0x121a75(%rip), %rcx    # 0x208b80
addq $0x10, %rcx
movq %rcx, (%rax)
movq $0x0, 0x100(%rax)
cmpl $0x4, -0xc(%rbp)
je 0xe7135
movq -0x30(%rbp), %rax
movw $0x2, 0xf8(%rax)
jmp 0xe724b
movl $0x48, %edi
callq 0x59820
movq %rax, -0x38(%rbp)
jmp 0xe7145
movq -0x38(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x5cf10
jmp 0xe7154
movq -0x30(%rbp), %rax
movq -0x38(%rbp), %rcx
movq %rcx, 0xe8(%rax)
movq 0xe8(%rax), %rdi
callq 0x591e0
movl %eax, -0x3c(%rbp)
jmp 0xe7174
movl -0x3c(%rbp), %eax
cmpl $0x0, %eax
je 0xe71ec
movq -0x30(%rbp), %rax
movq 0xe8(%rax), %rdi
callq 0x591e0
movl %eax, -0x40(%rbp)
jmp 0xe7191
movq -0x30(%rbp), %rax
movl -0x40(%rbp), %ecx
movw %cx, 0xf8(%rax)
movq 0xe8(%rax), %rax
movq %rax, -0x48(%rbp)
cmpq $0x0, %rax
je 0xe71ba
movq -0x48(%rbp), %rdi
movq (%rdi), %rax
callq *0x8(%rax)
jmp 0xe724b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
jmp 0xe7251
movq -0x38(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
movl $0x48, %esi
callq 0x595b0
jmp 0xe7251
movq -0x30(%rbp), %rax
movw $0x2, 0x8(%rax)
movq 0xe8(%rax), %rdi
movq (%rdi), %rax
movq 0x40(%rax), %rax
callq *%rax
movq %rax, -0x50(%rbp)
jmp 0xe720c
movq -0x30(%rbp), %rax
movq -0x50(%rbp), %rcx
movq %rcx, 0x10(%rax)
movq 0xe8(%rax), %rdi
movq (%rdi), %rax
movq 0x48(%rax), %rax
callq *%rax
movq %rax, -0x58(%rbp)
jmp 0xe722e
movq -0x30(%rbp), %rax
movq -0x58(%rbp), %rcx
movq %rcx, 0x48(%rax)
movq %rax, %rdi
addq $0x20, %rdi
movl 0x38(%rax), %esi
callq 0x72e00
jmp 0xe724b
addq $0x60, %rsp
popq %rbp
retq
movq -0x30(%rbp), %rdi
callq 0x5ba70
movq -0x20(%rbp), %rdi
callq 0x5b6b0
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/classes/io/outstream.cpp
// Function: smooth::IO::OutStream::OutStream(int, void*, long)
S::IO::OutStream::OutStream(Int type, Void *outBuffer, Long bufferSize)
{
	inStream	= NIL;

	if (type != STREAM_BUFFER)		   { lastError = IO_ERROR_BADPARAM;			return; }

	driver		= new DriverMemory(outBuffer, bufferSize);

	if (driver->GetLastError() != IO_ERROR_OK) { lastError = driver->GetLastError(); delete driver; return; }

	streamType	= STREAM_DRIVER;
	size		= driver->GetSize();

	dataBuffer.Resize(packageSize);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x38(%rbp)
callq 0x5af00
movq -0x38(%rbp), %rax
movq 0x1218e1(%rip), %rcx    # 0x208b80
addq $0x10, %rcx
movq %rcx, (%rax)
movq $0x0, 0x100(%rax)
cmpl $0x5, -0xc(%rbp)
je 0xe72c9
movq -0x38(%rbp), %rax
movw $0x2, 0xf8(%rax)
jmp 0xe73ba
movl $0x40, %edi
callq 0x59820
movq %rax, -0x40(%rbp)
jmp 0xe72d9
movq -0x40(%rbp), %rdi
movq -0x18(%rbp), %rsi
movl -0x20(%rbp), %edx
callq 0x5bb60
jmp 0xe72eb
movq -0x38(%rbp), %rax
movq -0x40(%rbp), %rcx
movq %rcx, 0xe8(%rax)
movq 0xe8(%rax), %rdi
callq 0x591e0
movl %eax, -0x44(%rbp)
jmp 0xe730b
movl -0x44(%rbp), %eax
cmpl $0x0, %eax
je 0xe737d
movq -0x38(%rbp), %rax
movq 0xe8(%rax), %rdi
callq 0x591e0
movl %eax, -0x48(%rbp)
jmp 0xe7328
movq -0x38(%rbp), %rax
movl -0x48(%rbp), %ecx
movw %cx, 0xf8(%rax)
movq 0xe8(%rax), %rax
movq %rax, -0x50(%rbp)
cmpq $0x0, %rax
je 0xe7351
movq -0x50(%rbp), %rdi
movq (%rdi), %rax
callq *0x8(%rax)
jmp 0xe73ba
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0xe73c0
movq -0x40(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
movl $0x40, %esi
callq 0x595b0
jmp 0xe73c0
movq -0x38(%rbp), %rax
movw $0x2, 0x8(%rax)
movq 0xe8(%rax), %rdi
movq (%rdi), %rax
movq 0x40(%rax), %rax
callq *%rax
movq %rax, -0x58(%rbp)
jmp 0xe739d
movq -0x38(%rbp), %rax
movq -0x58(%rbp), %rcx
movq %rcx, 0x10(%rax)
movq %rax, %rdi
addq $0x20, %rdi
movl 0x38(%rax), %esi
callq 0x72e00
jmp 0xe73ba
addq $0x60, %rsp
popq %rbp
retq
movq -0x38(%rbp), %rdi
callq 0x5ba70
movq -0x28(%rbp), %rdi
callq 0x5b6b0
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/classes/io/outstream.cpp
// Function: smooth::IO::OutStream::OutStream(int, smooth::IO::InStream*)
S::IO::OutStream::OutStream(Int type, InStream *in)
{
	inStream	= NIL;

	if (type != STREAM_STREAM)			      { lastError = IO_ERROR_BADPARAM;	 return; }
	if (in->streamType == STREAM_NONE || in->crosslinked) { lastError = IO_ERROR_OPNOTAVAIL; return; }

	streamType	= STREAM_STREAM;

	crosslinked		= True;
	inStream		= in;
	inStream->outStream	= this;
	inStream->crosslinked	= True;

	packageSize		= defaultPackageSize;
	stdpacksize		= packageSize;
	origpacksize		= packageSize;

	if (inStream->streamType == STREAM_DRIVER)
	{
		driver		= inStream->driver;

		streamType	= STREAM_DRIVER;
		size		= inStream->origsize;
		currentFilePos	= inStream->currentFilePos;
		closefile	= False;

		packageSize	= 1;
		stdpacksize	= packageSize;
		origpacksize	= packageSize;

		dataBuffer.Resize(packageSize);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x30(%rbp)
callq 0x5af00
movq -0x30(%rbp), %rax
movq 0x121775(%rip), %rcx    # 0x208b80
addq $0x10, %rcx
movq %rcx, (%rax)
movq $0x0, 0x100(%rax)
cmpl $0x1, -0xc(%rbp)
je 0xe7435
movq -0x30(%rbp), %rax
movw $0x2, 0xf8(%rax)
jmp 0xe7536
movq -0x18(%rbp), %rax
movswl 0x8(%rax), %eax
cmpl $0x0, %eax
je 0xe744c
movq -0x18(%rbp), %rax
testb $0x1, 0xa(%rax)
je 0xe745e
movq -0x30(%rbp), %rax
movw $0x6, 0xf8(%rax)
jmp 0xe7536
movq -0x30(%rbp), %rax
movw $0x1, 0x8(%rax)
movb $0x1, 0xa(%rax)
movq -0x18(%rbp), %rcx
movq %rcx, 0x100(%rax)
movq 0x100(%rax), %rcx
movq %rax, 0x100(%rcx)
movq 0x100(%rax), %rcx
movb $0x1, 0xa(%rcx)
movq 0x121309(%rip), %rcx    # 0x2087a0
movl (%rcx), %ecx
movl %ecx, 0x38(%rax)
movl 0x38(%rax), %ecx
movl %ecx, 0x3c(%rax)
movl 0x38(%rax), %ecx
movl %ecx, 0x40(%rax)
movq 0x100(%rax), %rax
movswl 0x8(%rax), %eax
cmpl $0x2, %eax
jne 0xe7536
movq -0x30(%rbp), %rax
movq 0x100(%rax), %rcx
movq 0xe8(%rcx), %rcx
movq %rcx, 0xe8(%rax)
movw $0x2, 0x8(%rax)
movq 0x100(%rax), %rcx
movq 0x18(%rcx), %rcx
movq %rcx, 0x10(%rax)
movq 0x100(%rax), %rcx
movq 0x48(%rcx), %rcx
movq %rcx, 0x48(%rax)
movb $0x0, 0xb(%rax)
movl $0x1, 0x38(%rax)
movl 0x38(%rax), %ecx
movl %ecx, 0x3c(%rax)
movl 0x38(%rax), %ecx
movl %ecx, 0x40(%rax)
movq %rax, %rdi
addq $0x20, %rdi
movl 0x38(%rax), %esi
callq 0x72e00
jmp 0xe751d
jmp 0xe7536
movq -0x30(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
callq 0x5ba70
jmp 0xe753c
addq $0x30, %rsp
popq %rbp
retq
movq -0x20(%rbp), %rdi
callq 0x5b6b0
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/classes/io/outstream.cpp
// Function: smooth::IO::OutStream::Flush()
S::Bool S::IO::OutStream::Flush()
{
	if (streamType == STREAM_NONE)	{ lastError = IO_ERROR_NOTOPEN; return False; }
	if (packageSize <= 0)		{ lastError = IO_ERROR_UNKNOWN; return False; }

	if (currentBufferPos <= 0) return True;

	if (bitstreamActive) CompleteBitstream();

	Int	 ps		= packageSize;
	Int	 oldcpos	= currentBufferPos;

	if (filter != NIL && filter->GetPackageSize() > 0)
	{
		for (Int i = 0; i < (packageSize - oldcpos); i++) OutputNumber(0, 1);
	}

	if (currentBufferPos > 0)
	{
		packageSize = currentBufferPos;

		if (!WriteData())
		{
			packageSize = ps;

			{ lastError = IO_ERROR_UNKNOWN; return False; }
		}

		packageSize = ps;
	}

	return True;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
movswl 0x8(%rax), %eax
cmpl $0x0, %eax
jne 0xe7603
movq -0x28(%rbp), %rax
movw $0x5, 0xf8(%rax)
movb $0x0, -0x1(%rbp)
jmp 0xe76f3
movq -0x28(%rbp), %rax
cmpl $0x0, 0x38(%rax)
jg 0xe7623
movq -0x28(%rbp), %rax
movw $0x4, 0xf8(%rax)
movb $0x0, -0x1(%rbp)
jmp 0xe76f3
movq -0x28(%rbp), %rax
cmpl $0x0, 0x50(%rax)
jg 0xe7636
movb $0x1, -0x1(%rbp)
jmp 0xe76f3
movq -0x28(%rbp), %rax
testb $0x1, 0x60(%rax)
je 0xe7649
movq -0x28(%rbp), %rdi
callq 0x5a7a0
movq -0x28(%rbp), %rax
movl 0x38(%rax), %ecx
movl %ecx, -0x14(%rbp)
movl 0x50(%rax), %ecx
movl %ecx, -0x18(%rbp)
cmpq $0x0, 0xf0(%rax)
je 0xe76af
movq -0x28(%rbp), %rax
movq 0xf0(%rax), %rdi
callq 0x5b7a0
cmpl $0x0, %eax
jle 0xe76af
movl $0x0, -0x1c(%rbp)
movq -0x28(%rbp), %rcx
movl -0x1c(%rbp), %eax
movl 0x38(%rcx), %ecx
subl -0x18(%rbp), %ecx
cmpl %ecx, %eax
jge 0xe76ad
movq -0x28(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
movl $0x1, %edx
callq 0x598f0
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0xe767f
jmp 0xe76af
movq -0x28(%rbp), %rax
cmpl $0x0, 0x50(%rax)
jle 0xe76ef
movq -0x28(%rbp), %rdi
movl 0x50(%rdi), %eax
movl %eax, 0x38(%rdi)
callq 0x5be10
testb $0x1, %al
jne 0xe76e5
movq -0x28(%rbp), %rax
movl -0x14(%rbp), %ecx
movl %ecx, 0x38(%rax)
movw $0x4, 0xf8(%rax)
movb $0x0, -0x1(%rbp)
jmp 0xe76f3
movq -0x28(%rbp), %rax
movl -0x14(%rbp), %ecx
movl %ecx, 0x38(%rax)
movb $0x1, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x30, %rsp
popq %rbp
retq
nop