// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/misc/pciio.cpp
// Function: PCIIO::PCIIO(smooth::GUI::Bitmap const&)
PCIIO::PCIIO(const S::GUI::Bitmap &b)
{
	cfNames[Color::RGB]	= "RGB";
	cfNames[Color::RGBA]	= "RGA";
	cfNames[Color::HSV]	= "HSV";
	cfNames[Color::YUV]	= "YUV";
	cfNames[Color::CMY]	= "CMY";
	cfNames[Color::CMYK]	= "CMK";
	cfNames[Color::GRAY]	= "GRY";

	cpNames[RAW]		= "RAW";
	cpNames[PCI]		= "PCI";
	cpNames[RLE]		= "RLE";
	cpNames[JPEG]		= "JPG";
	cpNames[BZIP2]		= "BZ2";

	majorversion		= PCIMajorVersion;
	minorversion		= PCIMinorVersion;
	compression		= RAW;
	colorspace		= Color::RGB;
	quality			= 100;
	description		= NIL;

	dpix			= 75;
	dpiy			= 75;
	bpcc			= 8;
	overwrite		= True;
	imageid			= 0;
	imagename		= NIL;
	rlebits			= 8;

	bmp			= b;

	sizex			= bmp.GetSize().cx;
	sizey			= bmp.GetSize().cy;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x38(%rbp)
addq $0x8, %rdi
movq %rdi, -0x40(%rbp)
xorl %esi, %esi
movl %esi, -0x2c(%rbp)
callq 0x5d4a0
movq -0x38(%rbp), %rdi
movl -0x2c(%rbp), %esi
addq $0x20, %rdi
movq %rdi, -0x28(%rbp)
callq 0x5da90
jmp 0x1199f0
movq -0x38(%rbp), %rdi
addq $0x38, %rdi
movq %rdi, -0x48(%rbp)
xorl %esi, %esi
callq 0x5da90
jmp 0x119a05
leaq 0xfab44(%rip), %rdi     # 0x214550
leaq 0x8ccae(%rip), %rsi     # 0x1a66c1
callq 0x5a230
jmp 0x119a1a
leaq 0xfab47(%rip), %rdi     # 0x214568
leaq 0x8cc9d(%rip), %rsi     # 0x1a66c5
callq 0x5a230
jmp 0x119a2f
leaq 0xfab4a(%rip), %rdi     # 0x214580
leaq 0x8cc8c(%rip), %rsi     # 0x1a66c9
callq 0x5a230
jmp 0x119a44
leaq 0xfab4d(%rip), %rdi     # 0x214598
leaq 0x8cc7b(%rip), %rsi     # 0x1a66cd
callq 0x5a230
jmp 0x119a59
leaq 0xfab50(%rip), %rdi     # 0x2145b0
leaq 0x8cc6a(%rip), %rsi     # 0x1a66d1
callq 0x5a230
jmp 0x119a6e
leaq 0xfab53(%rip), %rdi     # 0x2145c8
leaq 0x8cc59(%rip), %rsi     # 0x1a66d5
callq 0x5a230
jmp 0x119a83
leaq 0xfab56(%rip), %rdi     # 0x2145e0
leaq 0x8cc48(%rip), %rsi     # 0x1a66d9
callq 0x5a230
jmp 0x119a98
leaq 0xfab61(%rip), %rdi     # 0x214600
leaq 0x8cc37(%rip), %rsi     # 0x1a66dd
callq 0x5a230
jmp 0x119aad
leaq 0xfab64(%rip), %rdi     # 0x214618
leaq 0x8cc26(%rip), %rsi     # 0x1a66e1
callq 0x5a230
jmp 0x119ac2
leaq 0xfab7f(%rip), %rdi     # 0x214648
leaq 0x8cc15(%rip), %rsi     # 0x1a66e5
callq 0x5a230
jmp 0x119ad7
leaq 0xfab52(%rip), %rdi     # 0x214630
leaq 0x8cc04(%rip), %rsi     # 0x1a66e9
callq 0x5a230
jmp 0x119aec
leaq 0xfab6d(%rip), %rdi     # 0x214660
leaq 0x8cbf3(%rip), %rsi     # 0x1a66ed
callq 0x5a230
jmp 0x119b01
movq -0x38(%rbp), %rdi
movl $0x1, (%rdi)
movl $0x2, 0x4(%rdi)
movl $0x0, 0x50(%rdi)
movl $0x0, 0x58(%rdi)
movl $0x64, 0x5c(%rdi)
addq $0x20, %rdi
xorl %esi, %esi
callq 0x5c1e0
jmp 0x119b34
movq -0x38(%rbp), %rdi
movl $0x4b, 0x18(%rdi)
movl $0x4b, 0x1c(%rdi)
movl $0x8, 0x54(%rdi)
movb $0x1, 0x64(%rdi)
movl $0x0, 0x68(%rdi)
addq $0x38, %rdi
xorl %esi, %esi
callq 0x5c1e0
jmp 0x119b65
movq -0x38(%rbp), %rdi
movl $0x8, 0x60(%rdi)
movq -0x10(%rbp), %rsi
addq $0x8, %rdi
callq 0x5cca0
jmp 0x119b7f
movq -0x38(%rbp), %rdi
addq $0x8, %rdi
callq 0x5ce60
movq %rax, -0x50(%rbp)
jmp 0x119b92
movq -0x38(%rbp), %rdi
movq -0x50(%rbp), %rax
movl (%rax), %eax
movl %eax, 0x10(%rdi)
addq $0x8, %rdi
callq 0x5ce60
movq %rax, -0x58(%rbp)
jmp 0x119bae
movq -0x38(%rbp), %rax
movq -0x58(%rbp), %rcx
movl 0x4(%rcx), %ecx
movl %ecx, 0x14(%rax)
addq $0x60, %rsp
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x119bfc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x119bf3
movq -0x48(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
callq 0x5df00
movq -0x28(%rbp), %rdi
callq 0x5df00
movq -0x40(%rbp), %rdi
callq 0x5de40
movq -0x18(%rbp), %rdi
callq 0x5b6b0
nop