// File: /workspace/github_c_makefile_star2_O0/jonof[P]jftekwar/jfbuild/src/build.c
// Function: showsectordata
void showsectordata(short sectnum)
{
	char snotbuf[80];

	setstatusbarviewport16();

	Bsprintf(snotbuf,"Sector %d",sectnum);
	printext16(8,32,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Firstwall: %d",sector[sectnum].wallptr);
	printext16(8,48,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Numberofwalls: %d",sector[sectnum].wallnum);
	printext16(8,56,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Firstsprite: %d",headspritesect[sectnum]);
	printext16(8,64,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Tags: %d, %d",sector[sectnum].hitag,sector[sectnum].lotag);
	printext16(8,72,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"     (0x%x), (0x%x)",sector[sectnum].hitag,sector[sectnum].lotag);
	printext16(8,80,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Extra: %d",sector[sectnum].extra);
	printext16(8,88,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Visibility: %d",sector[sectnum].visibility);
	printext16(8,96,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Pixel height: %d",(sector[sectnum].floorz-sector[sectnum].ceilingz)>>8);
	printext16(8,104,11,-1,snotbuf,0);

	printext16(200,32,11,-1,"CEILINGS:",0);
	Bsprintf(snotbuf,"Flags (hex): %x",sector[sectnum].ceilingstat);
	printext16(200,48,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"(X,Y)pan: %d, %d",sector[sectnum].ceilingxpanning,sector[sectnum].ceilingypanning);
	printext16(200,56,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Shade byte: %d",sector[sectnum].ceilingshade);
	printext16(200,64,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Z-coordinate: %d",sector[sectnum].ceilingz);
	printext16(200,72,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Tile number: %d",sector[sectnum].ceilingpicnum);
	printext16(200,80,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Ceiling heinum: %d",sector[sectnum].ceilingheinum);
	printext16(200,88,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Palookup number: %d",sector[sectnum].ceilingpal);
	printext16(200,96,11,-1,snotbuf,0);

	printext16(400,32,11,-1,"FLOORS:",0);
	Bsprintf(snotbuf,"Flags (hex): %x",sector[sectnum].floorstat);
	printext16(400,48,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"(X,Y)pan: %d, %d",sector[sectnum].floorxpanning,sector[sectnum].floorypanning);
	printext16(400,56,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Shade byte: %d",sector[sectnum].floorshade);
	printext16(400,64,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Z-coordinate: %d",sector[sectnum].floorz);
	printext16(400,72,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Tile number: %d",sector[sectnum].floorpicnum);
	printext16(400,80,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Floor heinum: %d",sector[sectnum].floorheinum);
	printext16(400,88,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Palookup number: %d",sector[sectnum].floorpal);
	printext16(400,96,11,-1,snotbuf,0);

	restoreviewport16();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movw %di, %ax
movw %ax, -0x2(%rbp)
callq 0x1a410
leaq -0x60(%rbp), %rdi
movswl -0x2(%rbp), %edx
leaq 0x87c04(%rip), %rsi     # 0xb0ba7
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x8, %edi
movl $0x20, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x2575e6(%rip), %rax    # 0x2805c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movswl (%rax), %edx
leaq 0x87bc6(%rip), %rsi     # 0xb0bb1
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x8, %edi
movl $0x30, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x25759e(%rip), %rax    # 0x2805c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movswl 0x2(%rax), %edx
leaq 0x87b8b(%rip), %rsi     # 0xb0bbf
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x8, %edi
movl $0x38, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x3c0005(%rip), %rax    # 0x3e9070
movswl (%rax,%rcx,2), %edx
leaq 0x87b5b(%rip), %rsi     # 0xb0bd1
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x8, %edi
movl $0x40, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x257513(%rip), %rax    # 0x2805c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movswl 0x24(%rax), %edx
movswq -0x2(%rbp), %rcx
leaq 0x2574fc(%rip), %rax    # 0x2805c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movswl 0x22(%rax), %ecx
leaq 0x87b0b(%rip), %rsi     # 0xb0be1
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x8, %edi
movl $0x48, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x2574b3(%rip), %rax    # 0x2805c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movswl 0x24(%rax), %edx
movswq -0x2(%rbp), %rcx
leaq 0x25749c(%rip), %rax    # 0x2805c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movswl 0x22(%rax), %ecx
leaq 0x87ab8(%rip), %rsi     # 0xb0bee
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x8, %edi
movl $0x50, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x257453(%rip), %rax    # 0x2805c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movswl 0x26(%rax), %edx
leaq 0x87a83(%rip), %rsi     # 0xb0c02
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x8, %edi
movl $0x58, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x25740a(%rip), %rax    # 0x2805c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movzbl 0x20(%rax), %edx
leaq 0x87a44(%rip), %rsi     # 0xb0c0c
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x8, %edi
movl $0x60, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x2573c1(%rip), %rax    # 0x2805c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movl 0x8(%rax), %edx
movswq -0x2(%rbp), %rcx
leaq 0x2573ab(%rip), %rax    # 0x2805c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
subl 0x4(%rax), %edx
sarl $0x8, %edx
leaq 0x879f2(%rip), %rsi     # 0xb0c1b
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x8, %edi
movl $0x68, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
movl $0xc8, %edi
movl $0x20, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
leaq 0x879c1(%rip), %r8      # 0xb0c2c
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x25733d(%rip), %rax    # 0x2805c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movswl 0xc(%rax), %edx
leaq 0x879a1(%rip), %rsi     # 0xb0c36
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0xc8, %edi
movl $0x30, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x2572f4(%rip), %rax    # 0x2805c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movzbl 0x16(%rax), %edx
movswq -0x2(%rbp), %rcx
leaq 0x2572dd(%rip), %rax    # 0x2805c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movzbl 0x17(%rax), %ecx
leaq 0x87951(%rip), %rsi     # 0xb0c46
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0xc8, %edi
movl $0x38, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x257294(%rip), %rax    # 0x2805c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movsbl 0x14(%rax), %edx
leaq 0x87919(%rip), %rsi     # 0xb0c57
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0xc8, %edi
movl $0x40, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x25724b(%rip), %rax    # 0x2805c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movl 0x4(%rax), %edx
leaq 0x878e0(%rip), %rsi     # 0xb0c66
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0xc8, %edi
movl $0x48, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x257203(%rip), %rax    # 0x2805c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movswl 0x10(%rax), %edx
leaq 0x8794a(%rip), %rsi     # 0xb0d19
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0xc8, %edi
movl $0x50, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x2571ba(%rip), %rax    # 0x2805c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movswl 0x12(%rax), %edx
leaq 0x8785f(%rip), %rsi     # 0xb0c77
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0xc8, %edi
movl $0x58, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x257171(%rip), %rax    # 0x2805c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movzbl 0x15(%rax), %edx
leaq 0x87829(%rip), %rsi     # 0xb0c8a
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0xc8, %edi
movl $0x60, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
movl $0x190, %edi            # imm = 0x190
movl $0x20, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
leaq 0x877fb(%rip), %r8      # 0xb0c9e
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x257105(%rip), %rax    # 0x2805c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movswl 0xe(%rax), %edx
leaq 0x87769(%rip), %rsi     # 0xb0c36
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x190, %edi            # imm = 0x190
movl $0x30, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x2570bc(%rip), %rax    # 0x2805c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movzbl 0x1e(%rax), %edx
movswq -0x2(%rbp), %rcx
leaq 0x2570a5(%rip), %rax    # 0x2805c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movzbl 0x1f(%rax), %ecx
leaq 0x87719(%rip), %rsi     # 0xb0c46
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x190, %edi            # imm = 0x190
movl $0x38, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x25705c(%rip), %rax    # 0x2805c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movsbl 0x1c(%rax), %edx
leaq 0x876e1(%rip), %rsi     # 0xb0c57
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x190, %edi            # imm = 0x190
movl $0x40, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x257013(%rip), %rax    # 0x2805c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movl 0x8(%rax), %edx
leaq 0x876a8(%rip), %rsi     # 0xb0c66
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x190, %edi            # imm = 0x190
movl $0x48, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x256fcb(%rip), %rax    # 0x2805c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movswl 0x18(%rax), %edx
leaq 0x87712(%rip), %rsi     # 0xb0d19
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x190, %edi            # imm = 0x190
movl $0x50, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x256f82(%rip), %rax    # 0x2805c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movswl 0x1a(%rax), %edx
leaq 0x87656(%rip), %rsi     # 0xb0ca6
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x190, %edi            # imm = 0x190
movl $0x58, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x256f39(%rip), %rax    # 0x2805c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movzbl 0x1d(%rax), %edx
leaq 0x875f1(%rip), %rsi     # 0xb0c8a
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x190, %edi            # imm = 0x190
movl $0x60, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
callq 0x1a450
addq $0x60, %rsp
popq %rbp
retq
nopl (%rax,%rax)