// File: /workspace/github_c_makefile_star2_O0/jonof[P]jftekwar/jfbuild/src/build.c
// Function: showwalldata
void showwalldata(short wallnum)
{
	int dax, day, dist;
	char snotbuf[80];

	setstatusbarviewport16();

	Bsprintf(snotbuf,"Wall %d",wallnum);
	printext16(8,32,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"X-coordinate: %d",wall[wallnum].x);
	printext16(8,48,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Y-coordinate: %d",wall[wallnum].y);
	printext16(8,56,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Point2: %d",wall[wallnum].point2);
	printext16(8,64,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Sector: %d",sectorofwall(wallnum));
	printext16(8,72,11,-1,snotbuf,0);

	Bsprintf(snotbuf,"Tags: %d, %d",wall[wallnum].hitag,wall[wallnum].lotag);
	printext16(8,88,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"     (0x%x), (0x%x)",wall[wallnum].hitag,wall[wallnum].lotag);
	printext16(8,96,11,-1,snotbuf,0);

	printext16(200,32,11,-1,names[wall[wallnum].picnum],0);
	Bsprintf(snotbuf,"Flags (hex): %x",wall[wallnum].cstat);
	printext16(200,48,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Shade: %d",wall[wallnum].shade);
	printext16(200,56,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Pal: %d",wall[wallnum].pal);
	printext16(200,64,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"(X,Y)repeat: %d, %d",wall[wallnum].xrepeat,wall[wallnum].yrepeat);
	printext16(200,72,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"(X,Y)pan: %d, %d",wall[wallnum].xpanning,wall[wallnum].ypanning);
	printext16(200,80,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Tile number: %d",wall[wallnum].picnum);
	printext16(200,88,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"OverTile number: %d",wall[wallnum].overpicnum);
	printext16(200,96,11,-1,snotbuf,0);

	Bsprintf(snotbuf,"nextsector: %d",wall[wallnum].nextsector);
	printext16(400,48,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"nextwall: %d",wall[wallnum].nextwall);
	printext16(400,56,11,-1,snotbuf,0);

	Bsprintf(snotbuf,"Extra: %d",wall[wallnum].extra);
	printext16(400,72,11,-1,snotbuf,0);

	dax = wall[wallnum].x-wall[wall[wallnum].point2].x;
	day = wall[wallnum].y-wall[wall[wallnum].point2].y;
	dist = ksqrt(dax*dax+day*day);
	Bsprintf(snotbuf,"Wall length: %d",dist>>4);
	printext16(400,96,11,-1,snotbuf,0);

	dax = (int)sectorofwall(wallnum);
	Bsprintf(snotbuf,"Pixel height: %d",(sector[dax].floorz-sector[dax].ceilingz)>>8);
	printext16(400,104,11,-1,snotbuf,0);

	restoreviewport16();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movw %di, %ax
movw %ax, -0x2(%rbp)
callq 0x1a410
leaq -0x60(%rbp), %rdi
movswl -0x2(%rbp), %edx
leaq 0x8765f(%rip), %rsi     # 0xaff42
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 0x1ccc96(%rip), %rax    # 0x1f55b0
shlq $0x5, %rcx
addq %rcx, %rax
movl (%rax), %edx
leaq 0x8838d(%rip), %rsi     # 0xb0cb7
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 0x1ccc4f(%rip), %rax    # 0x1f55b0
shlq $0x5, %rcx
addq %rcx, %rax
movl 0x4(%rax), %edx
leaq 0x88356(%rip), %rsi     # 0xb0cc8
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 0x1ccc07(%rip), %rax    # 0x1f55b0
shlq $0x5, %rcx
addq %rcx, %rax
movswl 0x8(%rax), %edx
leaq 0x8831e(%rip), %rsi     # 0xb0cd9
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), %rax
movq %rax, -0x68(%rbp)
movswl -0x2(%rbp), %edi
callq 0x58ba0
movq -0x68(%rbp), %rdi
movl %eax, %edx
leaq 0x882e4(%rip), %rsi     # 0xb0ce4
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 0x1ccb79(%rip), %rax    # 0x1f55b0
shlq $0x5, %rcx
addq %rcx, %rax
movswl 0x1c(%rax), %edx
movswq -0x2(%rbp), %rcx
leaq 0x1ccb62(%rip), %rax    # 0x1f55b0
shlq $0x5, %rcx
addq %rcx, %rax
movswl 0x1a(%rax), %ecx
leaq 0x88181(%rip), %rsi     # 0xb0be1
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 0x1ccb19(%rip), %rax    # 0x1f55b0
shlq $0x5, %rcx
addq %rcx, %rax
movswl 0x1c(%rax), %edx
movswq -0x2(%rbp), %rcx
leaq 0x1ccb02(%rip), %rax    # 0x1f55b0
shlq $0x5, %rcx
addq %rcx, %rax
movswl 0x1a(%rax), %ecx
leaq 0x8812e(%rip), %rsi     # 0xb0bee
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
movswq -0x2(%rbp), %rcx
leaq 0x1ccabd(%rip), %rax    # 0x1f55b0
shlq $0x5, %rcx
addq %rcx, %rax
movswq 0x10(%rax), %rax
leaq 0x155a1a(%rip), %r8     # 0x17e520
imulq $0x19, %rax, %rax
addq %rax, %r8
movl $0xc8, %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 0x1cca77(%rip), %rax    # 0x1f55b0
shlq $0x5, %rcx
addq %rcx, %rax
movswl 0xe(%rax), %edx
leaq 0x880eb(%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 0x1cca2e(%rip), %rax    # 0x1f55b0
shlq $0x5, %rcx
addq %rcx, %rax
movsbl 0x14(%rax), %edx
leaq 0x8815b(%rip), %rsi     # 0xb0cef
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 0x1cc9e5(%rip), %rax    # 0x1f55b0
shlq $0x5, %rcx
addq %rcx, %rax
movzbl 0x15(%rax), %edx
leaq 0x8811c(%rip), %rsi     # 0xb0cf9
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 0x1cc99c(%rip), %rax    # 0x1f55b0
shlq $0x5, %rcx
addq %rcx, %rax
movzbl 0x16(%rax), %edx
movswq -0x2(%rbp), %rcx
leaq 0x1cc985(%rip), %rax    # 0x1f55b0
shlq $0x5, %rcx
addq %rcx, %rax
movzbl 0x17(%rax), %ecx
leaq 0x880c4(%rip), %rsi     # 0xb0d01
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 0x1cc93c(%rip), %rax    # 0x1f55b0
shlq $0x5, %rcx
addq %rcx, %rax
movzbl 0x18(%rax), %edx
movswq -0x2(%rbp), %rcx
leaq 0x1cc925(%rip), %rax    # 0x1f55b0
shlq $0x5, %rcx
addq %rcx, %rax
movzbl 0x19(%rax), %ecx
leaq 0x87fa9(%rip), %rsi     # 0xb0c46
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 0x1cc8dc(%rip), %rax    # 0x1f55b0
shlq $0x5, %rcx
addq %rcx, %rax
movswl 0x10(%rax), %edx
leaq 0x88033(%rip), %rsi     # 0xb0d19
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 0x1cc893(%rip), %rax    # 0x1f55b0
shlq $0x5, %rcx
addq %rcx, %rax
movswl 0x12(%rax), %edx
leaq 0x87fe6(%rip), %rsi     # 0xb0d15
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
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x1cc84a(%rip), %rax    # 0x1f55b0
shlq $0x5, %rcx
addq %rcx, %rax
movswl 0xc(%rax), %edx
leaq 0x87fb1(%rip), %rsi     # 0xb0d29
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 0x1cc801(%rip), %rax    # 0x1f55b0
shlq $0x5, %rcx
addq %rcx, %rax
movswl 0xa(%rax), %edx
leaq 0x87f77(%rip), %rsi     # 0xb0d38
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 0x1cc7b8(%rip), %rax    # 0x1f55b0
shlq $0x5, %rcx
addq %rcx, %rax
movswl 0x1e(%rax), %edx
leaq 0x87df8(%rip), %rsi     # 0xb0c02
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
movswq -0x2(%rbp), %rcx
leaq 0x1cc773(%rip), %rax    # 0x1f55b0
shlq $0x5, %rcx
addq %rcx, %rax
movl (%rax), %eax
movswq -0x2(%rbp), %rdx
leaq 0x1cc75e(%rip), %rcx    # 0x1f55b0
shlq $0x5, %rdx
addq %rdx, %rcx
movswq 0x8(%rcx), %rdx
leaq 0x1cc74b(%rip), %rcx    # 0x1f55b0
shlq $0x5, %rdx
addq %rdx, %rcx
subl (%rcx), %eax
movl %eax, -0x8(%rbp)
movswq -0x2(%rbp), %rcx
leaq 0x1cc733(%rip), %rax    # 0x1f55b0
shlq $0x5, %rcx
addq %rcx, %rax
movl 0x4(%rax), %eax
movswq -0x2(%rbp), %rdx
leaq 0x1cc71d(%rip), %rcx    # 0x1f55b0
shlq $0x5, %rdx
addq %rdx, %rcx
movswq 0x8(%rcx), %rdx
leaq 0x1cc70a(%rip), %rcx    # 0x1f55b0
shlq $0x5, %rdx
addq %rdx, %rcx
subl 0x4(%rcx), %eax
movl %eax, -0xc(%rbp)
movl -0x8(%rbp), %edi
imull -0x8(%rbp), %edi
movl -0xc(%rbp), %eax
imull -0xc(%rbp), %eax
addl %eax, %edi
callq 0x4f110
movl %eax, -0x10(%rbp)
leaq -0x60(%rbp), %rdi
movl -0x10(%rbp), %edx
sarl $0x4, %edx
leaq 0x87e69(%rip), %rsi     # 0xb0d45
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
movswl -0x2(%rbp), %edi
callq 0x58ba0
movl %eax, -0x8(%rbp)
leaq -0x60(%rbp), %rdi
movslq -0x8(%rbp), %rcx
leaq 0x2576a2(%rip), %rax    # 0x2805c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movl 0x8(%rax), %edx
movslq -0x8(%rbp), %rcx
leaq 0x25768d(%rip), %rax    # 0x2805c0
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
subl 0x4(%rax), %edx
sarl $0x8, %edx
leaq 0x87cd4(%rip), %rsi     # 0xb0c1b
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x190, %edi            # imm = 0x190
movl $0x68, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
callq 0x1a450
addq $0x70, %rsp
popq %rbp
retq
nopl (%rax)