LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/io/outstream.cpp
// Function: smooth::IO::OutStream::OutStream(int, smooth::String const&, int)
S::IO::OutStream::OutStream(Int type, const String &fileName, Int mode)
{
	inStream	= NIL;

	if (type != STREAM_FILE)		   { lastError = IO_ERROR_BADPARAM;			return; }
	if (Directory(fileName).Exists())	   { lastError = IO_ERROR_BADPARAM;			return; }

	driver		= new DriverANSI(File(fileName), mode);

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

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

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

	dataBuffer.Resize(packageSize);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
movl %ecx, %ebp
movq %rdx, %r15
movl %esi, %r14d
movq %rdi, %rbx
callq 0x57b30
movq 0xc6a84(%rip), %rax     # 0x161b98
addq $0x10, %rax
movq %rax, (%rbx)
andq $0x0, 0x100(%rbx)
cmpl $0x3, %r14d
jne 0x9b16d
leaq 0x8(%rsp), %rdi
xorl %esi, %esi
callq 0x5a180
leaq 0x38(%rsp), %rdi
leaq 0x8(%rsp), %rdx
movq %r15, %rsi
callq 0x59fb0
leaq 0x38(%rsp), %rdi
callq 0x56480
movl %eax, %r14d
leaq 0x38(%rsp), %rdi
callq 0x5a598
leaq 0x8(%rsp), %rdi
callq 0x5a588
testb %r14b, %r14b
je 0x9b184
movw $0x2, 0xf8(%rbx)
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
pushq $0x48
popq %rdi
callq 0x56700
movq %rax, %r14
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
callq 0x5a180
leaq 0x38(%rsp), %rdi
leaq 0x20(%rsp), %rdx
movq %r15, %rsi
callq 0x57940
leaq 0x8(%rsp), %rdi
leaq 0x38(%rsp), %rsi
callq 0x5a310
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
movl %ebp, %edx
callq 0x59450
movq %r14, 0xe8(%rbx)
leaq 0x8(%rsp), %rdi
callq 0x5a588
leaq 0x38(%rsp), %rdi
callq 0x5a500
leaq 0x20(%rsp), %rdi
callq 0x5a588
movq 0xe8(%rbx), %rdi
callq 0x56190
testl %eax, %eax
je 0x9b22e
movq 0xe8(%rbx), %rdi
callq 0x56190
movw %ax, 0xf8(%rbx)
movq 0xe8(%rbx), %rdi
testq %rdi, %rdi
je 0x9b176
movq (%rdi), %rax
callq *0x8(%rax)
jmp 0x9b176
movw $0x2, 0x8(%rbx)
movq 0xe8(%rbx), %rdi
movq (%rdi), %rax
callq *0x40(%rax)
movq %rax, 0x10(%rbx)
movq %rax, 0x48(%rbx)
movq 0xc6578(%rip), %rax     # 0x1617c8
movl (%rax), %esi
movl %esi, 0x38(%rbx)
movl %esi, 0x3c(%rbx)
movl %esi, 0x40(%rbx)
leaq 0x20(%rbx), %rdi
callq 0x63b3a
jmp 0x9b176
movq %rax, %r15
leaq 0x8(%rsp), %rdi
callq 0x5a588
jmp 0x9b27b
movq %rax, %r15
leaq 0x38(%rsp), %rdi
callq 0x5a500
jmp 0x9b28a
movq %rax, %r15
leaq 0x20(%rsp), %rdi
callq 0x5a588
jmp 0x9b299
movq %rax, %r15
pushq $0x48
popq %rsi
movq %r14, %rdi
callq 0x564c0
jmp 0x9b2c9
movq %rax, %r15
leaq 0x38(%rsp), %rdi
callq 0x5a598
jmp 0x9b2b8
movq %rax, %r15
leaq 0x8(%rsp), %rdi
callq 0x5a588
jmp 0x9b2c9
jmp 0x9b2c6
movq %rax, %r15
movq %rbx, %rdi
callq 0x585c0
movq %r15, %rdi
callq 0x58260
nop
// File: /workspace/github_c_makefile_star2_O2/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
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movl %esi, %ebp
movq %rdi, %rbx
callq 0x57b30
movq 0xc68a3(%rip), %rax     # 0x161b98
addq $0x10, %rax
movq %rax, (%rbx)
andq $0x0, 0x100(%rbx)
cmpl $0x4, %ebp
jne 0x9b361
pushq $0x48
popq %rdi
callq 0x56700
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq 0x59760
movq %r15, 0xe8(%rbx)
movq %r15, %rdi
callq 0x56190
testl %eax, %eax
je 0x9b36c
movq 0xe8(%rbx), %rdi
callq 0x56190
movw %ax, 0xf8(%rbx)
movq 0xe8(%rbx), %rdi
testq %rdi, %rdi
je 0x9b3a0
movq (%rdi), %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmpq *0x8(%rax)
movw $0x2, 0xf8(%rbx)
jmp 0x9b3a0
movw $0x2, 0x8(%rbx)
movq 0xe8(%rbx), %rdi
movq (%rdi), %rax
callq *0x40(%rax)
movq %rax, 0x10(%rbx)
movq 0xe8(%rbx), %rdi
movq (%rdi), %rax
callq *0x48(%rax)
movq %rax, 0x48(%rbx)
leaq 0x20(%rbx), %rdi
movl 0x38(%rbx), %esi
callq 0x63b3a
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
pushq $0x48
popq %rsi
movq %r15, %rdi
callq 0x564c0
jmp 0x9b3be
movq %rax, %r14
movq %rbx, %rdi
callq 0x585c0
movq %r14, %rdi
callq 0x58260
// File: /workspace/github_c_makefile_star2_O2/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
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rcx, %r14
movq %rdx, %r15
movl %esi, %ebp
movq %rdi, %rbx
callq 0x57b30
movq 0xc67ab(%rip), %rax     # 0x161b98
addq $0x10, %rax
movq %rax, (%rbx)
andq $0x0, 0x100(%rbx)
cmpl $0x5, %ebp
jne 0x9b45a
pushq $0x40
popq %rdi
callq 0x56700
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
movl %r14d, %edx
callq 0x58670
movq %r12, 0xe8(%rbx)
movq %r12, %rdi
callq 0x56190
testl %eax, %eax
je 0x9b465
movq 0xe8(%rbx), %rdi
callq 0x56190
movw %ax, 0xf8(%rbx)
movq 0xe8(%rbx), %rdi
testq %rdi, %rdi
je 0x9b488
movq (%rdi), %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmpq *0x8(%rax)
movw $0x2, 0xf8(%rbx)
jmp 0x9b488
movw $0x2, 0x8(%rbx)
movq 0xe8(%rbx), %rdi
movq (%rdi), %rax
callq *0x40(%rax)
movq %rax, 0x10(%rbx)
leaq 0x20(%rbx), %rdi
movl 0x38(%rbx), %esi
callq 0x63b3a
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
pushq $0x40
popq %rsi
movq %r12, %rdi
callq 0x564c0
jmp 0x9b4a4
movq %rax, %r14
movq %rbx, %rdi
callq 0x585c0
movq %r14, %rdi
callq 0x58260
// File: /workspace/github_c_makefile_star2_O2/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
pushq %r14
pushq %rbx
movq %rdx, %r14
movl %esi, %ebp
movq %rdi, %rbx
callq 0x57b30
movq 0xc66cc(%rip), %rax     # 0x161b98
addq $0x10, %rax
movq %rax, (%rbx)
andq $0x0, 0x100(%rbx)
movw $0x2, %ax
cmpl $0x1, %ebp
jne 0x9b4f7
movw $0x6, %ax
cmpw $0x0, 0x8(%r14)
je 0x9b4f7
cmpb $0x0, 0xa(%r14)
je 0x9b503
movw %ax, 0xf8(%rbx)
popq %rbx
popq %r14
popq %rbp
retq
movw $0x1, 0x8(%rbx)
movb $0x1, %al
movb %al, 0xa(%rbx)
movq %r14, 0x100(%rbx)
movq %rbx, 0x100(%r14)
movb %al, 0xa(%r14)
movq 0xc62a1(%rip), %rax     # 0x1617c8
movl (%rax), %eax
movl %eax, 0x38(%rbx)
movl %eax, 0x3c(%rbx)
movl %eax, 0x40(%rbx)
cmpw $0x2, 0x8(%r14)
jne 0x9b4fe
movq 0xe8(%r14), %rax
movq %rax, 0xe8(%rbx)
movw $0x2, 0x8(%rbx)
movq 0x18(%r14), %rax
movq %rax, 0x10(%rbx)
movq 0x48(%r14), %rax
movq %rax, 0x48(%rbx)
movb $0x0, 0xb(%rbx)
movabsq $0x100000001, %rax      # imm = 0x100000001
movq %rax, 0x38(%rbx)
movl $0x1, 0x40(%rbx)
leaq 0x20(%rbx), %rdi
pushq $0x1
popq %rsi
callq 0x63b3a
jmp 0x9b4fe
movq %rax, %r14
movq %rbx, %rdi
callq 0x585c0
movq %r14, %rdi
callq 0x58260
nop
// File: /workspace/github_c_makefile_star2_O2/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpw $0x0, 0x8(%rdi)
je 0x9b65a
movl 0x38(%rbx), %r12d
movw $0x4, %r14w
testl %r12d, %r12d
jle 0x9b65f
movl 0x50(%rbx), %r13d
movb $0x1, %bpl
testl %r13d, %r13d
jle 0x9b669
cmpb $0x1, 0x60(%rbx)
jne 0x9b621
movq %rbx, %rdi
callq 0x57470
movl 0x38(%rbx), %r12d
movl 0x50(%rbx), %r13d
movq 0xf0(%rbx), %rax
testq %rax, %rax
je 0x9b683
cmpl $0x0, 0x8(%rax)
jle 0x9b683
xorl %r15d, %r15d
pushq $0x1
popq %r14
movl %r12d, %eax
subl %r13d, %eax
cmpl %eax, %r15d
jge 0x9b67a
movq %rbx, %rdi
xorl %esi, %esi
movl %r14d, %edx
callq 0x567b0
incl %r15d
movl 0x38(%rbx), %eax
jmp 0x9b63d
movw $0x5, %r14w
movw %r14w, 0xf8(%rbx)
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl 0x50(%rbx), %r13d
movw $0x4, %r14w
testl %r13d, %r13d
jle 0x9b669
movl %r13d, 0x38(%rbx)
movq %rbx, %rdi
callq 0x588c0
movl %r12d, 0x38(%rbx)
testb %al, %al
je 0x9b65f
jmp 0x9b669
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/io/outstream.cpp
// Function: smooth::IO::OutStream::CompleteBitstream()
S::Bool S::IO::OutStream::CompleteBitstream()
{
	if (bitLength > 0)
	{
		Int	out = 0;

		for (Int i = 0; i < 8; i++)
		{
			if (i < bitLength) out = out | (bitBuffer[i] << i);
		}

		keepBits = True;
		OutputNumber(out, 1);
		keepBits = False;
	}

	bitstreamActive = 0;

	return True;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movslq 0x64(%rdi), %rax
testq %rax, %rax
jle 0x9b6de
xorl %ecx, %ecx
xorl %edx, %edx
cmpq $0x8, %rcx
je 0x9b6c8
cmpq %rax, %rcx
jae 0x9b6c3
movzbl 0x68(%rbx,%rcx), %esi
shll %cl, %esi
orl %esi, %edx
incq %rcx
jmp 0x9b6af
movb $0x1, 0x61(%rbx)
movslq %edx, %rsi
pushq $0x1
popq %rdx
movq %rbx, %rdi
callq 0x567b0
movb $0x0, 0x61(%rbx)
movb $0x0, 0x60(%rbx)
movb $0x1, %al
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/io/outstream.cpp
// Function: smooth::IO::OutStream::OutputNumber(long long, int)
S::Bool S::IO::OutStream::OutputNumber(Int64 number, Int bytes)
{
	if (streamType == STREAM_NONE)	{ lastError = IO_ERROR_NOTOPEN; return False; }
	if (packageSize <= 0)		{ lastError = IO_ERROR_UNKNOWN; return False; }
	if (bytes > 8 || bytes < 0)	{ lastError = IO_ERROR_BADPARAM; return False; }

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

	for (Int i = 0; i < bytes; i++)
	{
		if (currentBufferPos >= packageSize)
		{
			if (!WriteData()) { lastError = IO_ERROR_UNKNOWN; return False; }
		}

		dataBuffer[currentBufferPos] = IOGetByte(number, i);
		if (currentFilePos == size) size++;
		currentBufferPos++;
		currentFilePos++;
	}

	if (currentBufferPos >= packageSize)
	{
		if (!WriteData()) { lastError = IO_ERROR_UNKNOWN; return False; }
	}

	return True;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
cmpw $0x0, 0x8(%rdi)
je 0x9b784
cmpl $0x0, 0x38(%rbx)
jle 0x9b78a
movl %edx, %ebp
movw $0x2, %cx
cmpl $0x8, %edx
ja 0x9b78e
movq %rsi, %r14
cmpb $0x1, 0x60(%rbx)
jne 0x9b728
cmpb $0x0, 0x61(%rbx)
jne 0x9b728
movq %rbx, %rdi
callq 0x57470
movl %ebp, %r12d
shlq $0x3, %r12
xorl %r15d, %r15d
movl 0x38(%rbx), %ecx
movl 0x50(%rbx), %eax
cmpq %r15, %r12
je 0x9b7a2
cmpl %ecx, %eax
jl 0x9b750
movq %rbx, %rdi
callq 0x588c0
testb %al, %al
je 0x9b78a
movl 0x50(%rbx), %eax
movq %r14, %rdx
movl %r15d, %ecx
sarq %cl, %rdx
movq 0x28(%rbx), %rcx
movq (%rcx), %rcx
cltq
movb %dl, (%rcx,%rax)
movq 0x48(%rbx), %rcx
leaq 0x1(%rcx), %rax
cmpq 0x10(%rbx), %rcx
jne 0x9b777
movq %rax, 0x10(%rbx)
incl 0x50(%rbx)
movq %rax, 0x48(%rbx)
addq $0x8, %r15
jmp 0x9b732
movw $0x5, %cx
jmp 0x9b78e
movw $0x4, %cx
movw %cx, 0xf8(%rbx)
xorl %ebp, %ebp
movl %ebp, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movb $0x1, %bpl
cmpl %ecx, %eax
jl 0x9b797
movq %rbx, %rdi
callq 0x588c0
movw $0x4, %cx
testb %al, %al
je 0x9b78e
jmp 0x9b797
nop
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/io/outstream.cpp
// Function: smooth::IO::OutStream::WriteData()
S::Bool S::IO::OutStream::WriteData()
{
	if (streamType == STREAM_NONE)	{ lastError = IO_ERROR_NOTOPEN; return False; }
	if (packageSize <= 0)		{ lastError = IO_ERROR_UNKNOWN; return False; }

	if (currentBufferPos < packageSize) return True;

	if (filter != NIL && filter->GetPackageSize() == -1)
	{
		dataBuffer.Resize(packageSize + defaultPackageSize);

		packageSize += defaultPackageSize;
		stdpacksize = packageSize;

		return True;
	}

	if (streamType == STREAM_DRIVER)
	{
		Int	 encsize = 0;

		dataBuffer.Resize(packageSize);

		if (filter == NIL) encsize = driver->WriteData(dataBuffer, packageSize);
		else		   encsize = filter->WriteData(dataBuffer);

		if (encsize == -1)
		{
			packageSize = 0;

			return False;
		}

		driver->Flush();

		if (size == currentFilePos) size -= (packageSize - encsize);

		currentFilePos	 -= (packageSize - encsize);
		currentBufferPos -= packageSize;
	}

	return True;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
movzwl 0x8(%rdi), %eax
testw %ax, %ax
je 0x9b81a
movl 0x38(%r14), %esi
testl %esi, %esi
jle 0x9b826
movb $0x1, %bl
cmpl %esi, 0x50(%r14)
jl 0x9b832
movq 0xf0(%r14), %rcx
testq %rcx, %rcx
je 0x9b7f1
cmpl $-0x1, 0x8(%rcx)
je 0x9b83f
cmpw $0x2, %ax
jne 0x9b832
leaq 0x20(%r14), %r15
movq %r15, %rdi
callq 0x63b3a
movq 0xf0(%r14), %rdi
testq %rdi, %rdi
je 0x9b863
movq (%rdi), %rax
movq %r15, %rsi
callq *0x20(%rax)
jmp 0x9b884
movw $0x5, 0xf8(%r14)
jmp 0x9b830
movw $0x4, 0xf8(%r14)
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x20(%r14), %rdi
movq 0xc5f7e(%rip), %r15     # 0x1617c8
addl (%r15), %esi
callq 0x63b3a
movl 0x38(%r14), %eax
addl (%r15), %eax
movl %eax, 0x38(%r14)
movl %eax, 0x3c(%r14)
jmp 0x9b832
movq 0x28(%r14), %rax
movq 0xe8(%r14), %rdi
testq %rax, %rax
je 0x9b878
movq (%rax), %rsi
jmp 0x9b87a
xorl %esi, %esi
movl 0x38(%r14), %edx
movq (%rdi), %rax
callq *0x18(%rax)
movl %eax, %ebp
cmpl $-0x1, %eax
je 0x9b8c7
movq 0xe8(%r14), %rdi
movq (%rdi), %rax
callq *0x30(%rax)
movq 0x10(%r14), %rdx
movq 0x48(%r14), %rcx
movl 0x38(%r14), %eax
movl %eax, %esi
subl %ebp, %esi
movslq %esi, %rsi
cmpq %rcx, %rdx
jne 0x9b8b7
subq %rsi, %rdx
movq %rdx, 0x10(%r14)
subq %rsi, %rcx
movq %rcx, 0x48(%r14)
subl %eax, 0x50(%r14)
jmp 0x9b832
andl $0x0, 0x38(%r14)
jmp 0x9b830
nop
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/io/outstream.cpp
// Function: smooth::IO::OutStream::OutputNumberRaw(long long, int)
S::Bool S::IO::OutStream::OutputNumberRaw(Int64 number, Int bytes)
{
	if (streamType == STREAM_NONE)	{ lastError = IO_ERROR_NOTOPEN; return False; }
	if (packageSize <= 0)		{ lastError = IO_ERROR_UNKNOWN; return False; }
	if (bytes > 8 || bytes < 0)	{ lastError = IO_ERROR_BADPARAM; return False; }

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

	for (Int i = bytes - 1; i >= 0; i--)
	{
		if (currentBufferPos >= packageSize)
		{
			if (!WriteData()) { lastError = IO_ERROR_UNKNOWN; return False; }
		}

		dataBuffer[currentBufferPos] = IOGetByte(number, i);
		if (currentFilePos == size) size++;
		currentBufferPos++;
		currentFilePos++;
	}

	if (currentBufferPos >= packageSize)
	{
		if (!WriteData()) { lastError = IO_ERROR_UNKNOWN; return False; }
	}

	return True;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpw $0x0, 0x8(%rdi)
je 0x9b977
cmpl $0x0, 0x38(%rbx)
jle 0x9b97d
movl %edx, %ebp
movw $0x2, %cx
cmpl $0x8, %edx
ja 0x9b981
movq %rsi, %r14
cmpb $0x1, 0x60(%rbx)
jne 0x9b917
cmpb $0x0, 0x61(%rbx)
jne 0x9b917
movq %rbx, %rdi
callq 0x57470
movl %ebp, %eax
leaq -0x8(,%rax,8), %r15
movl 0x38(%rbx), %ecx
movl 0x50(%rbx), %eax
testl %ebp, %ebp
jle 0x9b997
cmpl %ecx, %eax
jl 0x9b93e
movq %rbx, %rdi
callq 0x588c0
testb %al, %al
je 0x9b97d
movl 0x50(%rbx), %eax
movl %r15d, %ecx
andb $-0x8, %cl
movq %r14, %rdx
sarq %cl, %rdx
movq 0x28(%rbx), %rcx
movq (%rcx), %rcx
cltq
movb %dl, (%rcx,%rax)
movq 0x48(%rbx), %rcx
leaq 0x1(%rcx), %rax
cmpq 0x10(%rbx), %rcx
jne 0x9b968
movq %rax, 0x10(%rbx)
incl 0x50(%rbx)
movq %rax, 0x48(%rbx)
decl %ebp
addq $-0x8, %r15
jmp 0x9b921
movw $0x5, %cx
jmp 0x9b981
movw $0x4, %cx
movw %cx, 0xf8(%rbx)
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movb $0x1, %bpl
cmpl %ecx, %eax
jl 0x9b98a
movq %rbx, %rdi
callq 0x588c0
movw $0x4, %cx
testb %al, %al
je 0x9b981
jmp 0x9b98a
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/io/outstream.cpp
// Function: smooth::IO::OutStream::OutputBits(long long, int)
S::Bool S::IO::OutStream::OutputBits(Int64 number, Int bits)
{
	if (streamType == STREAM_NONE)	{ lastError = IO_ERROR_NOTOPEN; return False; }
	if (packageSize <= 0)		{ lastError = IO_ERROR_UNKNOWN; return False; }
	if (bits > 64 || bits < 0)	{ lastError = IO_ERROR_BADPARAM; return False; }

	if (!bitstreamActive) InitBitstream();

	for (Int j = 0; j < bits; j++)
	{
		bitBuffer[bitLength] = IOGetBit(number, j);
		bitLength++;
	}

	while (bitLength >= 8)
	{
		unsigned char	 out = 0;

		for (Int i = 0; i < 8; i++) out = out | (bitBuffer[i] << i);

		bitLength = bitLength - 8;

		for (Int j = 0; j < bitLength; j++) bitBuffer[j] = bitBuffer[j + 8];

		dataBuffer[currentBufferPos] = out;

		if (currentFilePos == size) size++;

		currentBufferPos++;
		currentFilePos++;

		if (currentBufferPos >= packageSize)
		{
			if (!WriteData()) { lastError = IO_ERROR_UNKNOWN; return False; }
		}
	}

	return True;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
cmpw $0x0, 0x8(%rdi)
je 0x9b9dd
cmpl $0x0, 0x38(%rbx)
jle 0x9ba98
movw $0x2, %ax
cmpl $0x40, %edx
ja 0x9ba9c
cmpb $0x1, 0x60(%rbx)
jne 0x9b9e6
movl 0x64(%rbx), %eax
jmp 0x9b9f0
movw $0x5, %ax
jmp 0x9ba9c
andl $0x0, 0x64(%rbx)
movb $0x1, 0x60(%rbx)
xorl %eax, %eax
movslq %eax, %rdi
movl %edx, %ecx
leaq (%rdi,%rbx), %rdx
addq $0x68, %rdx
xorl %edi, %edi
cmpq %rdi, %rcx
je 0x9ba8f
btq %rdi, %rsi
setb (%rdx,%rdi)
incl %eax
movl %eax, 0x64(%rbx)
incq %rdi
jmp 0x9b9ff
xorl %ecx, %ecx
xorl %edx, %edx
cmpq $0x8, %rcx
je 0x9ba33
movzbl 0x68(%rbx,%rcx), %esi
shll %cl, %esi
orb %sil, %dl
incq %rcx
jmp 0x9ba1e
addl $-0x8, %eax
movl %eax, 0x64(%rbx)
xorl %ecx, %ecx
cmpq %rcx, %rax
je 0x9ba4f
movb 0x70(%rbx,%rcx), %sil
movb %sil, 0x68(%rbx,%rcx)
incq %rcx
jmp 0x9ba3b
movslq 0x50(%rbx), %rax
movq 0x28(%rbx), %rcx
movq (%rcx), %rcx
movb %dl, (%rcx,%rax)
movq 0x48(%rbx), %rcx
leaq 0x1(%rcx), %rax
cmpq 0x10(%rbx), %rcx
jne 0x9ba6f
movq %rax, 0x10(%rbx)
movl 0x50(%rbx), %ecx
incl %ecx
movl %ecx, 0x50(%rbx)
movq %rax, 0x48(%rbx)
cmpl 0x38(%rbx), %ecx
jl 0x9ba8c
movq %rbx, %rdi
callq 0x588c0
testb %al, %al
je 0x9ba98
movl 0x64(%rbx), %eax
cmpl $0x8, %eax
jge 0x9ba1a
movb $0x1, %al
jmp 0x9baa5
movw $0x4, %ax
movw %ax, 0xf8(%rbx)
xorl %eax, %eax
popq %rbx
retq
nop
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/io/outstream.cpp
// Function: smooth::IO::OutStream::OutputString(smooth::String const&)
S::Bool S::IO::OutStream::OutputString(const String &string)
{
	if (streamType == STREAM_NONE)	{ lastError = IO_ERROR_NOTOPEN; return False; }
	if (packageSize <= 0)		{ lastError = IO_ERROR_UNKNOWN; return False; }
	if (string == NIL)		{ lastError = IO_ERROR_BADPARAM; return False; }

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

	/* Convert the string to char * here once to avoid
	 * having to convert it again and again later.
	 */
	const char	*value		= string;

	Int		 bytesleft	= strlen(value);
	Int		 databufferpos	= 0;

	while (bytesleft)
	{
		Int	 amount = ((packageSize - currentBufferPos) < (bytesleft)) ? (packageSize - currentBufferPos) : (bytesleft);

		memcpy((UnsignedByte *) dataBuffer + currentBufferPos, value + databufferpos, amount);

		bytesleft	 -= amount;
		databufferpos	 += amount;
		currentBufferPos += amount;
		currentFilePos	 += amount;

		if (size < currentFilePos) size = currentFilePos;

		if (!WriteData()) { lastError = IO_ERROR_UNKNOWN; return False; }
	}

	return True;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpw $0x0, 0x8(%rdi)
je 0x9bb83
cmpl $0x0, 0x38(%rbx)
jle 0x9bb7d
movq %rsi, %r14
movq %rsi, %rdi
xorl %esi, %esi
callq 0x56280
movw $0x2, %cx
testb %al, %al
jne 0x9bb87
cmpb $0x1, 0x60(%rbx)
jne 0x9bb04
cmpb $0x0, 0x61(%rbx)
jne 0x9bb04
movq %rbx, %rdi
callq 0x57470
movq %r14, %rdi
callq 0x598d0
movq %rax, %r14
movq %rax, %rdi
callq 0x57460
movq %rax, %r15
xorl %r13d, %r13d
testl %r15d, %r15d
je 0x9bb9f
movl 0x38(%rbx), %ebp
movslq 0x50(%rbx), %rax
subl %eax, %ebp
cmpl %r15d, %ebp
cmovgel %r15d, %ebp
movq 0x28(%rbx), %rcx
testq %rcx, %rcx
je 0x9bb40
movq (%rcx), %rdi
jmp 0x9bb42
xorl %edi, %edi
addq %rax, %rdi
movslq %r13d, %rsi
addq %r14, %rsi
movslq %ebp, %r12
movq %r12, %rdx
callq 0x562f0
addl %ebp, 0x50(%rbx)
addq 0x48(%rbx), %r12
movq %r12, 0x48(%rbx)
cmpq %r12, 0x10(%rbx)
jge 0x9bb6b
movq %r12, 0x10(%rbx)
subl %ebp, %r15d
addl %ebp, %r13d
movq %rbx, %rdi
callq 0x588c0
testb %al, %al
jne 0x9bb1d
movw $0x4, %cx
jmp 0x9bb87
movw $0x5, %cx
movw %cx, 0xf8(%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movb $0x1, %al
jmp 0x9bb90
nop
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/io/outstream.cpp
// Function: smooth::IO::OutStream::OutputData(void const*, int)
S::Bool S::IO::OutStream::OutputData(const Void *pointer, Int bytes)
{
	if (streamType == STREAM_NONE)	 { lastError = IO_ERROR_NOTOPEN; return False; }
	if (packageSize <= 0)		 { lastError = IO_ERROR_UNKNOWN; return False; }
	if (bytes > 0 && pointer == NIL) { lastError = IO_ERROR_BADPARAM; return False; }
	if (bytes < 0)			 { lastError = IO_ERROR_BADPARAM; return False; }

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

	Int	 bytesleft	= bytes;
	Int	 databufferpos	= 0;

	while (bytesleft)
	{
		Int	 amount = ((packageSize - currentBufferPos) < (bytesleft)) ? (packageSize - currentBufferPos) : (bytesleft);

		memcpy((UnsignedByte *) dataBuffer + currentBufferPos, (UnsignedByte *) pointer + databufferpos, amount);

		bytesleft	 -= amount;
		databufferpos	 += amount;
		currentBufferPos += amount;
		currentFilePos	 += amount;

		if (size < currentFilePos) size = currentFilePos;

		if (!WriteData()) { lastError = IO_ERROR_UNKNOWN; return False; }
	}

	return True;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpw $0x0, 0x8(%rdi)
je 0x9bcaf
cmpl $0x0, 0x38(%rbx)
jle 0x9bca9
movl %edx, %ebp
movq %rsi, %r14
testq %rsi, %rsi
sete %al
testl %edx, %edx
setg %cl
sets %dl
andb %al, %cl
orb %dl, %cl
movw $0x2, %ax
jne 0x9bcb3
cmpb $0x1, 0x60(%rbx)
jne 0x9bc40
cmpb $0x0, 0x61(%rbx)
jne 0x9bc40
movq %rbx, %rdi
callq 0x57470
xorl %r12d, %r12d
testl %ebp, %ebp
je 0x9bccb
movl 0x38(%rbx), %r13d
movslq 0x50(%rbx), %rax
subl %eax, %r13d
cmpl %ebp, %r13d
cmovgel %ebp, %r13d
movq 0x28(%rbx), %rcx
testq %rcx, %rcx
je 0x9bc6b
movq (%rcx), %rdi
jmp 0x9bc6d
xorl %edi, %edi
addq %rax, %rdi
movslq %r12d, %rsi
addq %r14, %rsi
movslq %r13d, %r15
movq %r15, %rdx
callq 0x562f0
addl %r13d, 0x50(%rbx)
addq 0x48(%rbx), %r15
movq %r15, 0x48(%rbx)
cmpq %r15, 0x10(%rbx)
jge 0x9bc97
movq %r15, 0x10(%rbx)
subl %r13d, %ebp
addl %r13d, %r12d
movq %rbx, %rdi
callq 0x588c0
testb %al, %al
jne 0x9bc43
movw $0x4, %ax
jmp 0x9bcb3
movw $0x5, %ax
movw %ax, 0xf8(%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movb $0x1, %al
jmp 0x9bcbc
nop
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/io/outstream.cpp
// Function: smooth::IO::OutStream::SetPackageSize(int)
S::Bool S::IO::OutStream::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; }

	Flush();

	dataBuffer.Resize(newPackageSize);

	packageSize = newPackageSize;
	stdpacksize = packageSize;

	return True;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpw $0x0, 0x8(%rdi)
je 0x9bd06
cmpb $0x0, 0x44(%rbx)
je 0x9bd11
movl %esi, %ebp
testl %esi, %esi
jle 0x9bd1c
movq %rbx, %rdi
callq 0x5a080
leaq 0x20(%rbx), %rdi
movl %ebp, %esi
callq 0x63b3a
movl %ebp, 0x38(%rbx)
movl %ebp, 0x3c(%rbx)
movb $0x1, %al
jmp 0x9bd27
movw $0x5, 0xf8(%rbx)
jmp 0x9bd25
movw $0x6, 0xf8(%rbx)
jmp 0x9bd25
movw $0x2, 0xf8(%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/io/outstream.cpp
// Function: smooth::IO::OutStream::SetFilter(smooth::IO::Filter*)
S::Bool S::IO::OutStream::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);

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

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

	Flush();

	filter = newFilter;

	allowpackset = True;

	if (filter->GetPackageSize() > 0)
	{
		SetPackageSize(filter->GetPackageSize());	// package size must be eqv filter size

		allowpackset = False;
	}
	else if (filter->GetPackageSize() == -1)
	{
		SetPackageSize(defaultPackageSize);

		allowpackset = False;
	}

	return True;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
cmpw $0x0, 0x8(%rdi)
je 0x9bd51
cmpq $0x0, 0xf0(%rbx)
je 0x9bd5c
movw $0x2, 0xf8(%rbx)
jmp 0x9bdc0
movw $0x5, 0xf8(%rbx)
jmp 0x9bdc0
movq %rsi, %r14
movq 0xe8(%rbx), %rax
movq %rax, 0x10(%rsi)
movq (%rsi), %rax
movq %rsi, %rdi
callq *0x10(%rax)
testb %al, %al
je 0x9bdb7
cmpb $0x1, 0x60(%rbx)
jne 0x9bd8b
cmpb $0x0, 0x61(%rbx)
jne 0x9bd8b
movq %rbx, %rdi
callq 0x57470
movq %rbx, %rdi
callq 0x5a080
movq %r14, 0xf0(%rbx)
movb $0x1, 0x44(%rbx)
movl 0x8(%r14), %esi
testl %esi, %esi
jle 0x9bdc9
movq %rbx, %rdi
callq 0x57440
movb $0x0, 0x44(%rbx)
movb $0x1, %bpl
jmp 0x9bdc2
movw $0x4, 0xf8(%rbx)
xorl %ebp, %ebp
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
movb $0x1, %bpl
cmpl $-0x1, %esi
jne 0x9bdc2
movq 0xc59f0(%rip), %rax     # 0x1617c8
movl (%rax), %esi
movq %rbx, %rdi
callq 0x57440
movb $0x0, 0x44(%rbx)
jmp 0x9bdc2
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/io/outstream.cpp
// Function: smooth::IO::OutStream::RemoveFilter()
S::Bool S::IO::OutStream::RemoveFilter()
{
	if (streamType == STREAM_NONE)	{ lastError = IO_ERROR_NOTOPEN; return False; }
	if (filter == NIL)		{ lastError = IO_ERROR_BADPARAM; return False; }

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

	Int	 oldcpos = currentBufferPos;

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

		Flush();
	}

	allowpackset = True;

	filter->Deactivate();
	filter = NIL;

	SetPackageSize(origpacksize);

	return True;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpw $0x0, 0x8(%rdi)
je 0x9be6f
movq 0xf0(%rbx), %rax
testq %rax, %rax
je 0x9be7a
cmpb $0x1, 0x60(%rbx)
jne 0x9be20
cmpb $0x0, 0x61(%rbx)
jne 0x9be20
movq %rbx, %rdi
callq 0x57470
movq 0xf0(%rbx), %rax
movl 0x50(%rbx), %r14d
movl 0x8(%rax), %eax
testl %eax, %eax
setle %cl
testl %r14d, %r14d
sete %dl
orb %cl, %dl
je 0x9be90
cmpl $-0x1, %eax
jne 0x9be3f
movb $0x1, 0x44(%rbx)
movq %rbx, %rdi
callq 0x5a080
movb $0x1, 0x44(%rbx)
movq 0xf0(%rbx), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
andq $0x0, 0xf0(%rbx)
movl 0x40(%rbx), %esi
movq %rbx, %rdi
callq 0x57440
movb $0x1, %al
jmp 0x9be85
movw $0x5, 0xf8(%rbx)
jmp 0x9be83
movw $0x2, 0xf8(%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
xorl %r15d, %r15d
pushq $0x1
popq %rbp
movl 0x38(%rbx), %eax
subl %r14d, %eax
cmpl %eax, %r15d
jge 0x9be47
movq %rbx, %rdi
xorl %esi, %esi
movl %ebp, %edx
callq 0x567b0
incl %r15d
jmp 0x9be96
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/io/outstream.cpp
// Function: smooth::IO::OutStream::Close()
S::Bool S::IO::OutStream::Close()
{
	if (streamType == STREAM_NONE)	{ lastError = IO_ERROR_NOTOPEN; return False; }

	while (filter != NIL) RemoveFilter();

	Flush();

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

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

		closefile = False;
	}

	if (closefile) delete driver;

	streamType = STREAM_NONE;

	return True;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movzwl 0x8(%rdi), %ebp
testw %bp, %bp
jne 0x9bed5
movw $0x5, 0xf8(%rbx)
jmp 0x9bf2e
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x18(%rax)
cmpq $0x0, 0xf0(%rbx)
jne 0x9becc
movq %rbx, %rdi
callq 0x5a080
movb 0xb(%rbx), %cl
cmpb $0x1, 0xa(%rbx)
jne 0x9bf12
movq 0x100(%rbx), %rax
testb $0x1, %cl
je 0x9bf00
movb $0x1, 0xb(%rax)
xorl %ecx, %ecx
movb %cl, 0xa(%rax)
andq $0x0, 0x100(%rax)
movb %cl, 0xb(%rbx)
jmp 0x9bf29
testb $0x1, %cl
je 0x9bf29
movq 0xe8(%rbx), %rdi
testq %rdi, %rdi
je 0x9bf29
movq (%rdi), %rax
callq *0x8(%rax)
andw $0x0, 0x8(%rbx)
testw %bp, %bp
setne %al
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/io/outstream.cpp
// Function: smooth::IO::OutStream::Seek(long long)
S::Bool S::IO::OutStream::Seek(Int64 position)
{
	if (streamType == STREAM_NONE)	{ lastError = IO_ERROR_NOTOPEN; return False; }

	Flush();

	if (driver->Seek(position) == -1) return False;

	currentFilePos	 = position;
	currentBufferPos = 0;

	return True;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpw $0x0, 0x8(%rdi)
je 0x9bf77
movq %rsi, %r14
movq %rbx, %rdi
callq 0x5a080
movq 0xe8(%rbx), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x20(%rax)
cmpq $-0x1, %rax
je 0x9bf80
movq %r14, 0x48(%rbx)
andl $0x0, 0x50(%rbx)
movb $0x1, %al
jmp 0x9bf82
movw $0x5, 0xf8(%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/io/outstream.cpp
// Function: smooth::IO::OutStream::Truncate(long long)
S::Bool S::IO::OutStream::Truncate(Int64 size)
{
	if (streamType == STREAM_NONE)	{ lastError = IO_ERROR_NOTOPEN; return False; }

	if (!driver->Truncate(size)) return False;

	Seek(size);

	return True;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
cmpw $0x0, 0x8(%rdi)
je 0x9bfdc
movq %rsi, %rbx
movq 0xe8(%r14), %rdi
movq (%rdi), %rax
callq *0x28(%rax)
testb %al, %al
je 0x9bfe6
movq (%r14), %rax
movq %r14, %rdi
movq %rbx, %rsi
callq *0x28(%rax)
movb $0x1, %al
jmp 0x9bfe8
movw $0x5, 0xf8(%r14)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/io/stream.cpp
// Function: smooth::IO::Stream::Stream()
S::IO::Stream::Stream()
{
	streamType	 = STREAM_NONE;
	size		 = 0;

	currentFilePos	 = 0;
	currentBufferPos = 0;

	bitstreamActive	 = False;
	keepBits	 = False;
	bitLength	 = 0;

	closefile	 = True;
	crosslinked	 = False;

	driver		 = NIL;
	filter		 = NIL;

	allowpackset	 = True;
	packageSize	 = 1;
	stdpacksize	 = packageSize;
	origpacksize	 = packageSize;
	origsize	 = 0;
	origfilepos	 = 0;

	lastError	 = IO_ERROR_OK;

	memset(&bitBuffer, 0, sizeof(bitBuffer));
}

// Assembly:
movq 0xc59a9(%rip), %rax     # 0x1619a0
addq $0x10, %rax
movq %rax, (%rdi)
leaq 0xb9f6b(%rip), %rax     # 0x155f70
movq %rax, 0x20(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x28(%rdi)
movl $0x1000000, 0x8(%rdi)   # imm = 0x1000000
movups %xmm0, 0x10(%rdi)
andq $0x0, 0x48(%rdi)
andl $0x0, 0x50(%rdi)
andw $0x0, 0x60(%rdi)
andl $0x0, 0x64(%rdi)
movups %xmm0, 0xe8(%rdi)
movb $0x1, 0x44(%rdi)
movabsq $0x100000001, %rax      # imm = 0x100000001
movq %rax, 0x38(%rdi)
movl $0x1, 0x40(%rdi)
andq $0x0, 0x58(%rdi)
andw $0x0, 0xf8(%rdi)
movups %xmm0, 0x68(%rdi)
movups %xmm0, 0x78(%rdi)
movups %xmm0, 0x88(%rdi)
movups %xmm0, 0x98(%rdi)
movups %xmm0, 0xa8(%rdi)
movups %xmm0, 0xb8(%rdi)
movups %xmm0, 0xc8(%rdi)
movups %xmm0, 0xd8(%rdi)
retq
nop
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/io/drivers/driver_ansi.cpp
// Function: smooth::IO::DriverANSI::ReadData(unsigned char*, int)
S::Int S::IO::DriverANSI::ReadData(UnsignedByte *data, Int dataSize)
{
	if (!stream || dataSize <= 0) return 0;

	/* Switch between read and write mode.
	 */
	if (position == -1) fseeko(stream, 0, SEEK_CUR);

	position = 1;

	/* Perform actual read operation.
	 */
	return fread(data, 1, dataSize, stream);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %edx, %ebp
movq %rsi, %rbx
movq 0x38(%rdi), %rcx
testq %rcx, %rcx
sete %dl
testl %ebp, %ebp
setle %sil
xorl %eax, %eax
orb %dl, %sil
jne 0x9c3b8
movq %rdi, %r14
cmpq $-0x1, 0x10(%rdi)
jne 0x9c3a3
pushq $0x1
popq %rdx
movq %rcx, %rdi
xorl %esi, %esi
callq 0x561f0
movq 0x38(%r14), %rcx
movq $0x1, 0x10(%r14)
movl %ebp, %edx
pushq $0x1
popq %rsi
movq %rbx, %rdi
callq 0x57b80
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/io/drivers/driver_ansi.cpp
// Function: smooth::IO::DriverANSI::WriteData(unsigned char const*, int)
S::Int S::IO::DriverANSI::WriteData(const UnsignedByte *data, Int dataSize)
{
	if (!stream || dataSize <= 0) return 0;

	/* Switch between read and write mode.
	 */
	if (position == 1) fseeko(stream, 0, SEEK_CUR);

	position = -1;

	/* Perform actual write operation.
	 */
	return fwrite(data, 1, dataSize, stream);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %edx, %ebp
movq %rsi, %rbx
movq 0x38(%rdi), %rcx
testq %rcx, %rcx
sete %dl
testl %ebp, %ebp
setle %sil
xorl %eax, %eax
orb %dl, %sil
jne 0x9c40b
movq %rdi, %r14
cmpq $0x1, 0x10(%rdi)
jne 0x9c3f9
pushq $0x1
popq %rdx
movq %rcx, %rdi
xorl %esi, %esi
callq 0x561f0
movq 0x38(%r14), %rcx
orq $-0x1, 0x10(%r14)
movl %ebp, %edx
pushq $0x1
popq %rsi
movq %rbx, %rdi
callq 0x59c00
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/io/drivers/driver_ansi.cpp
// Function: smooth::IO::DriverANSI::GetSize() const
S::Int64 S::IO::DriverANSI::GetSize() const
{
	if (!stream) return -1;

	Int64	 oldPos = GetPos();

	if (fseeko(stream,      0, SEEK_END) != 0) return -1;

	Int64	 size = GetPos();

	if (fseeko(stream, oldPos, SEEK_SET) != 0) return -1;

	return size;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
pushq $-0x1
popq %rbx
cmpq $0x0, 0x38(%rdi)
je 0x9c51a
movq %rdi, %r14
movq (%rdi), %rax
callq *0x48(%rax)
movq %rax, %r15
movq 0x38(%r14), %rdi
pushq $0x2
popq %rdx
xorl %esi, %esi
callq 0x561f0
testl %eax, %eax
jne 0x9c51a
movq (%r14), %rax
movq %r14, %rdi
callq *0x48(%rax)
movq %rax, %r12
movq 0x38(%r14), %rdi
xorl %ebx, %ebx
movq %r15, %rsi
xorl %edx, %edx
callq 0x561f0
negl %eax
sbbq %rbx, %rbx
orq %r12, %rbx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/io/drivers/driver_ansi.cpp
// Function: smooth::IO::DriverANSI::SetBufferSize(int)
S::Bool S::IO::DriverANSI::SetBufferSize(Int size)
{
	if (!stream) return False;

	Int64	 pos  = GetPos();
	Int	 mode = size > 0 ? _IOFBF : _IONBF;

	if (setvbuf(stream, NULL, mode, size) != 0) return False;
	if (Seek(pos) < 0)			    return False;

	return True;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
cmpq $0x0, 0x38(%rdi)
je 0x9c58f
movl %esi, %ebp
movq %rdi, %rbx
movq (%rdi), %rax
callq *0x48(%rax)
movq %rax, %r14
xorl %edx, %edx
testl %ebp, %ebp
setle %dl
addl %edx, %edx
movq 0x38(%rbx), %rdi
movslq %ebp, %rcx
xorl %r15d, %r15d
xorl %esi, %esi
callq 0x57750
testl %eax, %eax
jne 0x9c592
movq (%rbx), %rax
movq %rbx, %rdi
movq %r14, %rsi
callq *0x20(%rax)
testq %rax, %rax
setns %r15b
jmp 0x9c592
xorl %r15d, %r15d
movl %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/io/drivers/driver_memory.cpp
// Function: smooth::IO::DriverMemory::ReadData(unsigned char*, int)
S::Int S::IO::DriverMemory::ReadData(UnsignedByte *data, Int dataSize)
{
	if (dataSize <= 0) return 0;

	dataSize = Math::Min(dataSize, size - position);

	memcpy(data, (unsigned char *) stream + position, dataSize);

	position += dataSize;

	return dataSize;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testl %edx, %edx
jle 0x9cc79
movq %rdi, %rbx
movq 0x8(%rdi), %rcx
movq 0x10(%rdi), %rax
subq %rax, %rcx
cmpl %edx, %ecx
movl %edx, %r14d
cmovleq %rcx, %r14
addq 0x38(%rdi), %rax
movslq %r14d, %r15
movq %rsi, %rdi
movq %rax, %rsi
movq %r15, %rdx
callq 0x562f0
addq %r15, 0x10(%rbx)
jmp 0x9cc7c
xorl %r14d, %r14d
movl %r14d, %eax
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/io/drivers/driver_memory.cpp
// Function: smooth::IO::DriverMemory::WriteData(unsigned char const*, int)
S::Int S::IO::DriverMemory::WriteData(const UnsignedByte *data, Int dataSize)
{
	if (dataSize <= 0) return 0;

	dataSize = Math::Min(dataSize, size - position);

	memcpy((unsigned char *) stream + position, data, dataSize);

	position += dataSize;

	return dataSize;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testl %edx, %edx
jle 0x9ccbb
movq %rdi, %rbx
movq 0x8(%rdi), %rax
movq 0x10(%rdi), %rdi
subq %rdi, %rax
cmpl %edx, %eax
movl %edx, %r14d
cmovleq %rax, %r14
addq 0x38(%rbx), %rdi
movslq %r14d, %r15
movq %r15, %rdx
callq 0x562f0
addq %r15, 0x10(%rbx)
jmp 0x9ccbe
xorl %r14d, %r14d
movl %r14d, %eax
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/io/drivers/driver_posix.cpp
// Function: smooth::IO::DriverPOSIX::GetSize() const
S::Int64 S::IO::DriverPOSIX::GetSize() const
{
	if (stream == -1) return -1;

	Int64	 oldPos = GetPos();
	Int64	 size = lseek64(stream, 0, SEEK_END);

	lseek64(stream, oldPos, SEEK_SET);

	return size;
}

// Assembly:
cmpl $-0x1, 0x38(%rdi)
je 0x9cfc5
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %rax
callq *0x48(%rax)
movq %rax, %r14
movl 0x38(%rbx), %edi
pushq $0x2
popq %rdx
xorl %esi, %esi
callq 0x593a0
movq %rax, %r15
movl 0x38(%rbx), %edi
movq %r14, %rsi
xorl %edx, %edx
callq 0x593a0
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
pushq $-0x1
popq %rax
retq
nop
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/io/drivers/driver_socket.cpp
// Function: smooth::IO::DriverSocket::DriverSocket(smooth::String const&, int)
S::IO::DriverSocket::DriverSocket(const String &hostName, Int port) : Driver()
{
	closeStream = False;

	stream	    = -1;
	size	    = -1;

	mode	    = MODE_SOCKET_BLOCKING;
	timeout	    = 0;

	if (hostName.Length() > 255) { lastError = IO_ERROR_BADPARAM; return; }

	/* Open TCP/IP socket.
	 */
	stream = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);

	if (stream == (unsigned) (~0)) { lastError = IO_ERROR_UNEXPECTED; return; }

	closeStream = True;

	/* Get server hostname.
	 */
	hostent		*host = gethostbyname(hostName);

	if (host == NIL) { Close(); lastError = IO_ERROR_UNEXPECTED; return; }

	/* Connect to server.
	 */
	sockaddr_in	 saddr;

	saddr.sin_family = AF_INET;
	saddr.sin_addr	 = *((in_addr *) *host->h_addr_list);
	saddr.sin_port	 = htons((short) port);

	memset(&saddr.sin_zero, 0, sizeof(saddr.sin_zero));

	if (connect(stream, (sockaddr *) &saddr, sizeof(struct sockaddr)) == -1) { Close(); lastError = IO_ERROR_UNEXPECTED; return; }
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
callq 0x59850
movq 0xc437c(%rip), %rax     # 0x161378
addq $0x10, %rax
movq %rax, (%rbx)
movb $0x0, 0x3c(%rbx)
orl $-0x1, 0x38(%rbx)
orq $-0x1, 0x8(%rbx)
andq $0x0, 0x40(%rbx)
andl $0x0, 0x48(%rbx)
movq %r14, %rdi
callq 0x58370
cmpl $0x100, %eax            # imm = 0x100
jl 0x9d031
movl $0x2, 0x18(%rbx)
jmp 0x9d0ac
pushq $0x2
popq %rdi
pushq $0x1
popq %rsi
pushq $0x6
popq %rdx
callq 0x57780
movl %eax, 0x38(%rbx)
cmpl $-0x1, %eax
je 0x9d0a5
movb $0x1, 0x3c(%rbx)
movq %r14, %rdi
callq 0x598d0
movq %rax, %rdi
callq 0x57640
testq %rax, %rax
je 0x9d09c
movq %rsp, %rsi
movw $0x2, (%rsi)
movq 0x18(%rax), %rax
movq (%rax), %rax
movl (%rax), %eax
movl %eax, 0x4(%rsi)
rolw $0x8, %bp
movw %bp, 0x2(%rsi)
andq $0x0, 0x8(%rsi)
movl 0x38(%rbx), %edi
pushq $0x10
popq %rdx
callq 0x57320
cmpl $-0x1, %eax
jne 0x9d0ac
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x38(%rax)
jmp 0x9d0a5
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x38(%rax)
movl $0x3, 0x18(%rbx)
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
jmp 0x9d0b9
jmp 0x9d0b9
movq %rax, %r14
movq %rbx, %rdi
callq 0x57db0
movq %r14, %rdi
callq 0x58260
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/io/drivers/driver_socket.cpp
// Function: smooth::IO::DriverSocket::DriverSocket(unsigned int)
S::IO::DriverSocket::DriverSocket(unsigned int iStream) : Driver()
{
	size	    = -1;

	stream	    = iStream;
	closeStream = False;
	timeout	    = 0;

	SetMode(MODE_SOCKET_BLOCKING);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
callq 0x59850
movq 0xc4297(%rip), %rax     # 0x161378
addq $0x10, %rax
movq %rax, (%r14)
orq $-0x1, 0x8(%r14)
movl %ebx, 0x38(%r14)
movb $0x0, 0x3c(%r14)
andl $0x0, 0x48(%r14)
movq %r14, %rdi
xorl %esi, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x59430
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/io/filters/filter_bzip2.cpp
// Function: smooth::IO::FilterBZip2::WriteData(smooth::Buffer<unsigned char> const&)
S::Int S::IO::FilterBZip2::WriteData(const Buffer<UnsignedByte> &data)
{
	if (driver == NIL) return -1;

	int		 outsize = data.Size() + data.Size() / 100 + 1000;
	unsigned char	*dest = new unsigned char [outsize];

	BZ2_bzBuffToBuffCompress((char *) dest, (unsigned int *) &outsize, const_cast<char *>((const char *) (const UnsignedByte *) data), data.Size(), 5, 0, 0);

	driver->WriteData(dest, outsize);

	delete [] dest;

	return outsize;
}

// Assembly:
cmpq $0x0, 0x10(%rdi)
je 0x9ddbd
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r12
movq %rdi, %rbx
movl 0x10(%rsi), %r14d
pushq $0x64
popq %rcx
movl %r14d, %eax
cltd
idivl %ecx
addl %r14d, %eax
addl $0x3e8, %eax            # imm = 0x3E8
movl %eax, 0x14(%rsp)
movslq %eax, %rdi
callq 0x577a0
movq %rax, %r15
movq 0x8(%r12), %rax
testq %rax, %rax
je 0x9ddc1
movq (%rax), %rdx
jmp 0x9ddc3
pushq $-0x1
popq %rax
retq
xorl %edx, %edx
andl $0x0, (%rsp)
leaq 0x14(%rsp), %r12
pushq $0x5
popq %r8
movq %r15, %rdi
movq %r12, %rsi
movl %r14d, %ecx
xorl %r9d, %r9d
callq 0x562e0
movq 0x10(%rbx), %rdi
movl (%r12), %edx
movq (%rdi), %rax
movq %r15, %rsi
callq *0x18(%rax)
movq %r15, %rdi
callq 0x572d0
movl (%r12), %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/io/filters/filter_bzip2.cpp
// Function: smooth::IO::FilterBZip2::ReadData(smooth::Buffer<unsigned char>&)
S::Int S::IO::FilterBZip2::ReadData(Buffer<UnsignedByte> &data)
{
	if (driver == NIL) return -1;

	/* Try guessing the size of uncompressed data.
	 */
	int	 size = data.Size();
	int	 outsize;

	if	(size < (200 * 1024))	    outsize = size * 100 + 10000;
	else if (size > (20 * 1024 * 1024)) outsize = size *   5 + 10000;
	else				    outsize = size *  10 + 10000;

	/* Now decompress.
	 */
	unsigned char	*src = new unsigned char [size];

	driver->ReadData(src, size);

	data.Resize(outsize);

	BZ2_bzBuffToBuffDecompress((char *) (UnsignedByte *) data, (unsigned int *) &outsize, (char *) src, size, 0, 0);

	delete [] src;

	return outsize;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq 0x10(%rdi), %r15
testq %r15, %r15
je 0x9de34
movq %rsi, %r14
movslq 0x10(%rsi), %rbx
cmpq $0x31fff, %rbx          # imm = 0x31FFF
jg 0x9de39
imull $0x64, %ebx, %ebp
jmp 0x9de4f
pushq $-0x1
popq %rax
jmp 0x9deaf
cmpl $0x1400001, %ebx        # imm = 0x1400001
jb 0x9de4c
leal (%rbx,%rbx,4), %ebp
addl $0x2710, %ebp           # imm = 0x2710
jmp 0x9de55
imull $0xa, %ebx, %ebp
addl $0x2710, %ebp           # imm = 0x2710
movl %ebp, 0xc(%rsp)
movq %rbx, %rdi
callq 0x577a0
movq %rax, %r12
movq (%r15), %rax
movq %r15, %rdi
movq %r12, %rsi
movl %ebx, %edx
callq *0x10(%rax)
movq %r14, %rdi
movl %ebp, %esi
callq 0x63b3a
movq 0x8(%r14), %rax
testq %rax, %rax
je 0x9de8a
movq (%rax), %rdi
jmp 0x9de8c
xorl %edi, %edi
leaq 0xc(%rsp), %r14
movq %r14, %rsi
movq %r12, %rdx
movl %ebx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x58bc0
movq %r12, %rdi
callq 0x572d0
movl (%r14), %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/io/filters/filter_xor.cpp
// Function: smooth::IO::FilterXOR::ReadData(smooth::Buffer<unsigned char>&)
S::Int S::IO::FilterXOR::ReadData(Buffer<UnsignedByte> &data)
{
	if (driver == NIL) return -1;

	driver->ReadData(data, data.Size());

	Int	 value = (data[3] + 256 * data[2] + 65536 * data[1] + 16777216 * data[0]) ^ modifier;

	data[0] = (value >> 24) & 255;
	data[1] = (value >> 16) & 255;
	data[2] = (value >>  8) & 255;
	data[3] =  value	& 255;

	return data.Size();
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
movq 0x10(%rdi), %rdi
testq %rdi, %rdi
je 0x9df51
movq %rsi, %rbx
movq 0x8(%rsi), %rax
testq %rax, %rax
je 0x9df56
movq (%rax), %rsi
jmp 0x9df58
pushq $-0x1
popq %rax
jmp 0x9dfb5
xorl %esi, %esi
movl 0x10(%rbx), %edx
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rbx), %rax
movq (%rax), %rcx
movzwl 0x2(%rcx), %eax
rolw $0x8, %ax
movzwl %ax, %eax
movzbl 0x1(%rcx), %edx
shll $0x10, %edx
orl %eax, %edx
movzbl (%rcx), %eax
shll $0x18, %eax
orl %edx, %eax
xorl 0x18(%r14), %eax
movl %eax, %edx
shrl $0x18, %edx
movb %dl, (%rcx)
movl %eax, %ecx
shrl $0x10, %ecx
movq 0x8(%rbx), %rdx
movq (%rdx), %rdx
movb %cl, 0x1(%rdx)
movq 0x8(%rbx), %rcx
movq (%rcx), %rcx
movb %ah, 0x2(%rcx)
movq 0x8(%rbx), %rcx
movq (%rcx), %rcx
movb %al, 0x3(%rcx)
movl 0x10(%rbx), %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/classes/misc/args.cpp
// Function: smooth::ArgumentsParser::ArgumentsParser(int, char**)
S::ArgumentsParser::ArgumentsParser(int argc, char **argv)
{
	command = argv[0];

	for (Int i = 1; i < argc; i++)
	{
#ifdef __APPLE__
		if (strncmp(argv[i], "-psn_", 5) == 0) continue;
#endif

		args.Add(argv[i]);
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r15
movl %esi, %ebp
movq %rdi, %rbx
xorl %esi, %esi
callq 0x5a180
leaq 0x18(%rbx), %r14
movq %r14, %rdi
callq 0x64972
movq (%r15), %rsi
movq %rbx, %rdi
callq 0x57010
movslq %ebp, %r13
pushq $0x1
popq %rbp
movq %rsp, %r12
cmpq %r13, %rbp
jge 0x9e02a
movq (%r15,%rbp,8), %rsi
movq %r12, %rdi
callq 0x58c40
movq %r14, %rdi
movq %r12, %rsi
callq 0x64dee
movq %r12, %rdi
callq 0x5a588
incq %rbp
jmp 0x9e001
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x9e04d
movq %rax, %r15
jmp 0x9e058
movq %rax, %r15
movq %rsp, %rdi
callq 0x5a588
jmp 0x9e050
movq %rax, %r15
movq %r14, %rdi
callq 0x64988
movq %rbx, %rdi
callq 0x5a588
movq %r15, %rdi
callq 0x58260