// File: /workspace/github_cpp_makefile_star2_O1/pelrun[P]aft/CDSKFile.cpp
// Function: CDSKSector::DisplayInfo(std::ostream&) const
void CDSKSector::DisplayInfo(std::ostream &str) const
{
	str << "\tSect ";
	str.setf(std::ios::dec, std::ios::basefield);
	str.fill(' ');
	str.width(3);
	str << Index << ":ID #";
	str.setf(std::ios::hex, std::ios::basefield);
	str.fill('0');
	str.width(2);
	str << (int)SectorID << ",Size #";
	str.setf(std::ios::hex, std::ios::basefield);
	str.fill('0');
	str.width(4);
	str << (int)(128 << SectorSize) << "(" << (int)SectorSize << "),Cyl ";
	str.setf(std::ios::dec, std::ios::basefield);
	str.fill(' ');
	str.width(3);
	str << (int)Track << ",Head ";
	str.fill(' ');
	str.width(3);
	str << (int)Side << ",Chk #";
	str.setf(std::ios::hex, std::ios::basefield);
	str.fill('0');
	str.width(2);
	str << (int)Checksum;

	if ((FDCStatus1 & 0x80) != 0)
		str << "/EN";
	if ((FDCStatus1 & 0x20) != 0)
		str << "/DE";
	if ((FDCStatus1 & 0x10) != 0)
		str << "/OR";
	if ((FDCStatus1 & 0x04) != 0)
		str << "/ND";
	if ((FDCStatus1 & 0x02) != 0)
		str << "/NW";
	if ((FDCStatus1 & 0x01) != 0)
		str << "/MA";

	if ((FDCStatus2 & 0x40) != 0)
		str << "/CM";
	if ((FDCStatus2 & 0x20) != 0)
		str << "/DD";
	if ((FDCStatus2 & 0x10) != 0)
		str << "/WC";
	if ((FDCStatus2 & 0x08) != 0)
		str << "/SH";
	if ((FDCStatus2 & 0x04) != 0)
		str << "/SN";
	if ((FDCStatus2 & 0x02) != 0)
		str << "/BC";
	if ((FDCStatus2 & 0x01) != 0)
		str << "/MD";

	str.setf(std::ios::dec, std::ios::basefield);

	if (DataSize != 0 && DataSize != (128 << SectorSize))
	{
		str << "Real size " << DataSize;
	}
	if (CopyOf != -1)
	{
		str << " (Copy of sector Num " << CopyOf << ")";
	}

	str << std::endl;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
leaq 0xa909(%rip), %rsi      # 0x10779
movl $0x6, %edx
movq %rbx, %rdi
callq 0x3320
movq (%rbx), %rax
movq -0x18(%rax), %rcx
movl 0x18(%rbx,%rcx), %edx
andl $-0x4b, %edx
orl $0x2, %edx
movl %edx, 0x18(%rbx,%rcx)
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %r15
cmpb $0x0, 0xe1(%rbx,%rax)
jne 0x5ec0
movq %r15, %rdi
movl $0x20, %esi
callq 0x3290
movb %al, 0xe0(%r15)
movb $0x1, 0xe1(%r15)
movb $0x20, 0xe0(%r15)
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%rbx,%rax)
movl 0x14(%r14), %esi
movq %rbx, %rdi
callq 0x3500
leaq 0xa895(%rip), %rsi      # 0x10780
movl $0x5, %edx
movq %rax, %rdi
callq 0x3320
movq (%rbx), %rax
movq -0x18(%rax), %rcx
movl 0x18(%rbx,%rcx), %edx
andl $-0x4b, %edx
orl $0x8, %edx
movl %edx, 0x18(%rbx,%rcx)
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %r15
cmpb $0x0, 0xe1(%rbx,%rax)
jne 0x5f3b
movq %r15, %rdi
movl $0x20, %esi
callq 0x3290
movb %al, 0xe0(%r15)
movb $0x1, 0xe1(%r15)
movb $0x30, 0xe0(%r15)
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq $0x2, 0x10(%rbx,%rax)
movzbl 0x2(%r14), %esi
movq %rbx, %rdi
callq 0x3500
leaq 0xa81f(%rip), %rsi      # 0x10786
movl $0x7, %edx
movq %rax, %rdi
callq 0x3320
movq (%rbx), %rax
movq -0x18(%rax), %rcx
movl 0x18(%rbx,%rcx), %edx
andl $-0x4b, %edx
orl $0x8, %edx
movl %edx, 0x18(%rbx,%rcx)
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %r15
cmpb $0x0, 0xe1(%rbx,%rax)
jne 0x5fb7
movq %r15, %rdi
movl $0x20, %esi
callq 0x3290
movb %al, 0xe0(%r15)
movb $0x1, 0xe1(%r15)
movb $0x30, 0xe0(%r15)
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq $0x4, 0x10(%rbx,%rax)
movb 0x3(%r14), %cl
movl $0x80, %esi
shll %cl, %esi
movq %rbx, %rdi
callq 0x3500
movq %rax, %r15
leaq 0xa830(%rip), %rsi      # 0x1081c
movl $0x1, %edx
movq %rax, %rdi
callq 0x3320
movzbl 0x3(%r14), %esi
movq %r15, %rdi
callq 0x3500
leaq 0xa781(%rip), %rsi      # 0x1078e
movl $0x6, %edx
movq %rax, %rdi
callq 0x3320
movq (%rbx), %rax
movq -0x18(%rax), %rcx
movl 0x18(%rbx,%rcx), %edx
andl $-0x4b, %edx
orl $0x2, %edx
movl %edx, 0x18(%rbx,%rcx)
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %r15
cmpb $0x0, 0xe1(%rbx,%rax)
jne 0x605d
movq %r15, %rdi
movl $0x20, %esi
callq 0x3290
movb %al, 0xe0(%r15)
movb $0x1, 0xe1(%r15)
movb $0x20, 0xe0(%r15)
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%rbx,%rax)
movzbl (%r14), %esi
movq %rbx, %rdi
callq 0x3500
leaq 0xa70d(%rip), %rsi      # 0x10795
movl $0x6, %edx
movq %rax, %rdi
callq 0x3320
movq (%rbx), %rax
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %r15
cmpb $0x0, 0xe1(%rbx,%rax)
jne 0x60c6
movq %r15, %rdi
movl $0x20, %esi
callq 0x3290
movb %al, 0xe0(%r15)
movb $0x1, 0xe1(%r15)
movb $0x20, 0xe0(%r15)
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%rbx,%rax)
movzbl 0x1(%r14), %esi
movq %rbx, %rdi
callq 0x3500
leaq 0xa6aa(%rip), %rsi      # 0x1079c
movl $0x6, %edx
movq %rax, %rdi
callq 0x3320
movq (%rbx), %rax
movq -0x18(%rax), %rcx
movl 0x18(%rbx,%rcx), %edx
andl $-0x4b, %edx
orl $0x8, %edx
movl %edx, 0x18(%rbx,%rcx)
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %r15
cmpb $0x0, 0xe1(%rbx,%rax)
jne 0x6142
movq %r15, %rdi
movl $0x20, %esi
callq 0x3290
movb %al, 0xe0(%r15)
movb $0x1, 0xe1(%r15)
movb $0x30, 0xe0(%r15)
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq $0x2, 0x10(%rbx,%rax)
movzbl 0x10(%r14), %esi
movq %rbx, %rdi
callq 0x3500
cmpb $0x0, 0x4(%r14)
jns 0x6182
leaq 0xa62e(%rip), %rsi      # 0x107a3
movl $0x3, %edx
movq %rbx, %rdi
callq 0x3320
testb $0x20, 0x4(%r14)
je 0x619d
leaq 0xa617(%rip), %rsi      # 0x107a7
movl $0x3, %edx
movq %rbx, %rdi
callq 0x3320
testb $0x10, 0x4(%r14)
je 0x61b8
leaq 0xa600(%rip), %rsi      # 0x107ab
movl $0x3, %edx
movq %rbx, %rdi
callq 0x3320
testb $0x4, 0x4(%r14)
je 0x61d3
leaq 0xa5e9(%rip), %rsi      # 0x107af
movl $0x3, %edx
movq %rbx, %rdi
callq 0x3320
testb $0x2, 0x4(%r14)
je 0x61ee
leaq 0xa5d2(%rip), %rsi      # 0x107b3
movl $0x3, %edx
movq %rbx, %rdi
callq 0x3320
testb $0x1, 0x4(%r14)
je 0x6209
leaq 0xa5bb(%rip), %rsi      # 0x107b7
movl $0x3, %edx
movq %rbx, %rdi
callq 0x3320
testb $0x40, 0x5(%r14)
je 0x6224
leaq 0xa5a4(%rip), %rsi      # 0x107bb
movl $0x3, %edx
movq %rbx, %rdi
callq 0x3320
testb $0x20, 0x5(%r14)
je 0x623f
leaq 0xa58d(%rip), %rsi      # 0x107bf
movl $0x3, %edx
movq %rbx, %rdi
callq 0x3320
testb $0x10, 0x5(%r14)
je 0x625a
leaq 0xa576(%rip), %rsi      # 0x107c3
movl $0x3, %edx
movq %rbx, %rdi
callq 0x3320
testb $0x8, 0x5(%r14)
je 0x6275
leaq 0xa55f(%rip), %rsi      # 0x107c7
movl $0x3, %edx
movq %rbx, %rdi
callq 0x3320
testb $0x4, 0x5(%r14)
je 0x6290
leaq 0xa548(%rip), %rsi      # 0x107cb
movl $0x3, %edx
movq %rbx, %rdi
callq 0x3320
testb $0x2, 0x5(%r14)
je 0x62ab
leaq 0xa531(%rip), %rsi      # 0x107cf
movl $0x3, %edx
movq %rbx, %rdi
callq 0x3320
testb $0x1, 0x5(%r14)
je 0x62c6
leaq 0xa51a(%rip), %rsi      # 0x107d3
movl $0x3, %edx
movq %rbx, %rdi
callq 0x3320
movq (%rbx), %rax
movq -0x18(%rax), %rax
movl 0x18(%rbx,%rax), %ecx
andl $-0x4b, %ecx
orl $0x2, %ecx
movl %ecx, 0x18(%rbx,%rax)
movzwl 0x6(%r14), %eax
testl %eax, %eax
je 0x6314
movb 0x3(%r14), %cl
movl $0x80, %edx
shll %cl, %edx
cmpl %eax, %edx
je 0x6314
leaq 0xa4dd(%rip), %rsi      # 0x107d7
movl $0xa, %edx
movq %rbx, %rdi
callq 0x3320
movzwl 0x6(%r14), %esi
movq %rbx, %rdi
callq 0x31c0
cmpl $-0x1, 0x18(%r14)
je 0x634f
leaq 0xa4c0(%rip), %rsi      # 0x107e2
movl $0x15, %edx
movq %rbx, %rdi
callq 0x3320
movl 0x18(%r14), %esi
movq %rbx, %rdi
callq 0x3500
leaq 0x9d11(%rip), %rsi      # 0x10053
movl $0x1, %edx
movq %rax, %rdi
callq 0x3320
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3290
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x31d0
nop