// File: /workspace/github_cpp_makefile_star2_O3/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 0xa90d(%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), %rcx
leaq (%rbx,%rcx), %r15
cmpb $0x0, 0xe1(%rbx,%rcx)
jne 0x5eb8
movq %r15, %rdi
movl $0x20, %esi
callq 0x3290
movb $0x1, 0xe1(%r15)
movq (%rbx), %rax
movb $0x20, 0xe0(%r15)
movq -0x18(%rax), %rax
movq $0x3, 0x10(%rbx,%rax)
movl 0x14(%r14), %esi
movq %rbx, %rdi
callq 0x3500
leaq 0xa8a0(%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), %rcx
leaq (%rbx,%rcx), %r15
cmpb $0x0, 0xe1(%rbx,%rcx)
jne 0x5f2c
movq %r15, %rdi
movl $0x20, %esi
callq 0x3290
movb $0x1, 0xe1(%r15)
movq (%rbx), %rax
movb $0x30, 0xe0(%r15)
movq -0x18(%rax), %rax
movq $0x2, 0x10(%rbx,%rax)
movzbl 0x2(%r14), %esi
movq %rbx, %rdi
callq 0x3500
leaq 0xa831(%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), %rcx
leaq (%rbx,%rcx), %r15
cmpb $0x0, 0xe1(%rbx,%rcx)
jne 0x5fa1
movq %r15, %rdi
movl $0x20, %esi
callq 0x3290
movb $0x1, 0xe1(%r15)
movq (%rbx), %rax
movb $0x30, 0xe0(%r15)
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 0xa849(%rip), %rsi      # 0x1081c
movl $0x1, %edx
movq %rax, %rdi
callq 0x3320
movzbl 0x3(%r14), %esi
movq %r15, %rdi
callq 0x3500
leaq 0xa79a(%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), %rcx
leaq (%rbx,%rcx), %r15
cmpb $0x0, 0xe1(%rbx,%rcx)
jne 0x6040
movq %r15, %rdi
movl $0x20, %esi
callq 0x3290
movb $0x1, 0xe1(%r15)
movq (%rbx), %rax
movb $0x20, 0xe0(%r15)
movq -0x18(%rax), %rax
movq $0x3, 0x10(%rbx,%rax)
movzbl (%r14), %esi
movq %rbx, %rdi
callq 0x3500
leaq 0xa72d(%rip), %rsi      # 0x10795
movl $0x6, %edx
movq %rax, %rdi
callq 0x3320
movq (%rbx), %rax
movq -0x18(%rax), %rcx
leaq (%rbx,%rcx), %r15
cmpb $0x0, 0xe1(%rbx,%rcx)
jne 0x60a2
movq %r15, %rdi
movl $0x20, %esi
callq 0x3290
movb $0x1, 0xe1(%r15)
movq (%rbx), %rax
movb $0x20, 0xe0(%r15)
movq -0x18(%rax), %rax
movq $0x3, 0x10(%rbx,%rax)
movzbl 0x1(%r14), %esi
movq %rbx, %rdi
callq 0x3500
leaq 0xa6d1(%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), %rcx
leaq (%rbx,%rcx), %r15
cmpb $0x0, 0xe1(%rbx,%rcx)
jne 0x6117
movq %r15, %rdi
movl $0x20, %esi
callq 0x3290
movb $0x1, 0xe1(%r15)
movq (%rbx), %rax
movb $0x30, 0xe0(%r15)
movq -0x18(%rax), %rax
movq $0x2, 0x10(%rbx,%rax)
movzbl 0x10(%r14), %esi
movq %rbx, %rdi
callq 0x3500
movb 0x4(%r14), %al
testb %al, %al
jns 0x6159
leaq 0xa65b(%rip), %rsi      # 0x107a3
movl $0x3, %edx
movq %rbx, %rdi
callq 0x3320
movb 0x4(%r14), %al
testb $0x20, %al
je 0x6175
leaq 0xa643(%rip), %rsi      # 0x107a7
movl $0x3, %edx
movq %rbx, %rdi
callq 0x3320
movb 0x4(%r14), %al
testb $0x10, %al
je 0x6191
leaq 0xa62b(%rip), %rsi      # 0x107ab
movl $0x3, %edx
movq %rbx, %rdi
callq 0x3320
movb 0x4(%r14), %al
testb $0x4, %al
je 0x61ad
leaq 0xa613(%rip), %rsi      # 0x107af
movl $0x3, %edx
movq %rbx, %rdi
callq 0x3320
movb 0x4(%r14), %al
testb $0x2, %al
je 0x61c9
leaq 0xa5fb(%rip), %rsi      # 0x107b3
movl $0x3, %edx
movq %rbx, %rdi
callq 0x3320
movb 0x4(%r14), %al
testb $0x1, %al
je 0x61e1
leaq 0xa5e3(%rip), %rsi      # 0x107b7
movl $0x3, %edx
movq %rbx, %rdi
callq 0x3320
movb 0x5(%r14), %al
testb $0x40, %al
je 0x6201
leaq 0xa5cb(%rip), %rsi      # 0x107bb
movl $0x3, %edx
movq %rbx, %rdi
callq 0x3320
movb 0x5(%r14), %al
testb $0x20, %al
je 0x621d
leaq 0xa5b3(%rip), %rsi      # 0x107bf
movl $0x3, %edx
movq %rbx, %rdi
callq 0x3320
movb 0x5(%r14), %al
testb $0x10, %al
je 0x6239
leaq 0xa59b(%rip), %rsi      # 0x107c3
movl $0x3, %edx
movq %rbx, %rdi
callq 0x3320
movb 0x5(%r14), %al
testb $0x8, %al
je 0x6255
leaq 0xa583(%rip), %rsi      # 0x107c7
movl $0x3, %edx
movq %rbx, %rdi
callq 0x3320
movb 0x5(%r14), %al
testb $0x4, %al
je 0x6271
leaq 0xa56b(%rip), %rsi      # 0x107cb
movl $0x3, %edx
movq %rbx, %rdi
callq 0x3320
movb 0x5(%r14), %al
testb $0x2, %al
je 0x628d
leaq 0xa553(%rip), %rsi      # 0x107cf
movl $0x3, %edx
movq %rbx, %rdi
callq 0x3320
movb 0x5(%r14), %al
testb $0x1, %al
je 0x62a5
leaq 0xa53b(%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 0x62f3
movb 0x3(%r14), %cl
movl $0x80, %edx
shll %cl, %edx
cmpl %eax, %edx
je 0x62f3
leaq 0xa4fe(%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 0x632e
leaq 0xa4e1(%rip), %rsi      # 0x107e2
movl $0x15, %edx
movq %rbx, %rdi
callq 0x3320
movl 0x18(%r14), %esi
movq %rbx, %rdi
callq 0x3500
leaq 0x9d32(%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