// File: /workspace/github_c_makefile_star2_O0/jonof[P]jftekwar/jfbuild/src/mdsprite.c
// Function: addquad
static void addquad (int x0, int y0, int z0, int x1, int y1, int z1, int x2, int y2, int z2, int face)
{
	int i, j, x, y, z, xx, yy, nx = 0, ny = 0, nz = 0, *lptr;
	voxrect_t *qptr;

	x = abs(x2-x0); y = abs(y2-y0); z = abs(z2-z0);
	if (!x) { x = y; y = z; i = 0; } else if (!y) { y = z; i = 1; } else i = 2;
	if (x < y) { z = x; x = y; y = z; i += 3; }
	z = shcnt[y*shcntp+x]++;
	lptr = &gvox->mytex[(shp[z].y+VOXBORDWIDTH)*gvox->mytexx+(shp[z].x+VOXBORDWIDTH)];
	switch(face)
	{
		case 0: ny = y1; x2 = x0; x0 = x1; x1 = x2; break;
		case 1: ny = y0; y0++; y1++; y2++; break;
		case 2: nz = z1; y0 = y2; y2 = y1; y1 = y0; z0++; z1++; z2++; break;
		case 3: nz = z0; break;
		case 4: nx = x1; y2 = y0; y0 = y1; y1 = y2; x0++; x1++; x2++; break;
		case 5: nx = x0; break;
	}
	for(yy=0;yy<y;yy++,lptr+=gvox->mytexx)
		for(xx=0;xx<x;xx++)
		{
			switch(face)
			{
				case 0: if (i < 3) { nx = x1+x-1-xx; nz = z1+yy;   } //back
								  else { nx = x1+y-1-yy; nz = z1+xx;   } break;
				case 1: if (i < 3) { nx = x0+xx;     nz = z0+yy;   } //front
								  else { nx = x0+yy;     nz = z0+xx;   } break;
				case 2: if (i < 3) { nx = x1-x+xx;   ny = y1-1-yy; } //bot
								  else { nx = x1-1-yy;   ny = y1-1-xx; } break;
				case 3: if (i < 3) { nx = x0+xx;     ny = y0+yy;   } //top
								  else { nx = x0+yy;     ny = y0+xx;   } break;
				case 4: if (i < 3) { ny = y1+x-1-xx; nz = z1+yy;   } //right
								  else { ny = y1+y-1-yy; nz = z1+xx;   } break;
				case 5: if (i < 3) { ny = y0+xx;     nz = z0+yy;   } //left
								  else { ny = y0+yy;     nz = z0+xx;   } break;
			}
			lptr[xx] = getvox(nx,ny,nz);
		}

		//Extend borders horizontally
	for(yy=VOXBORDWIDTH;yy<y+VOXBORDWIDTH;yy++)
		for(xx=0;xx<VOXBORDWIDTH;xx++)
		{
			lptr = &gvox->mytex[(shp[z].y+yy)*gvox->mytexx+shp[z].x];
			lptr[xx] = lptr[VOXBORDWIDTH]; lptr[xx+x+VOXBORDWIDTH] = lptr[x-1+VOXBORDWIDTH];
		}
		//Extend borders vertically
	for(yy=0;yy<VOXBORDWIDTH;yy++)
	{
		memcpy(&gvox->mytex[(shp[z].y+yy)*gvox->mytexx+shp[z].x],
				 &gvox->mytex[(shp[z].y+VOXBORDWIDTH)*gvox->mytexx+shp[z].x],
				 (x+(VOXBORDWIDTH<<1))<<2);
		memcpy(&gvox->mytex[(shp[z].y+y+yy+VOXBORDWIDTH)*gvox->mytexx+shp[z].x],
				 &gvox->mytex[(shp[z].y+y-1+VOXBORDWIDTH)*gvox->mytexx+shp[z].x],
				 (x+(VOXBORDWIDTH<<1))<<2);
	}

	qptr = &gvox->quad[gvox->qcnt];
	qptr->v[0].x = x0; qptr->v[0].y = y0; qptr->v[0].z = z0;
	qptr->v[1].x = x1; qptr->v[1].y = y1; qptr->v[1].z = z1;
	qptr->v[2].x = x2; qptr->v[2].y = y2; qptr->v[2].z = z2;
	for(j=0;j<3;j++) { qptr->v[j].u = shp[z].x+VOXBORDWIDTH; qptr->v[j].v = shp[z].y+VOXBORDWIDTH; }
	if (i < 3) qptr->v[1].u += x; else qptr->v[1].v += y;
	qptr->v[2].u += x; qptr->v[2].v += y;

	qptr->v[3].u = qptr->v[0].u - qptr->v[1].u + qptr->v[2].u;
	qptr->v[3].v = qptr->v[0].v - qptr->v[1].v + qptr->v[2].v;
	qptr->v[3].x = qptr->v[0].x - qptr->v[1].x + qptr->v[2].x;
	qptr->v[3].y = qptr->v[0].y - qptr->v[1].y + qptr->v[2].y;
	qptr->v[3].z = qptr->v[0].z - qptr->v[1].z + qptr->v[2].z;
	if (gvox->qfacind[face] < 0) gvox->qfacind[face] = gvox->qcnt;
	gvox->qcnt++;

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movl 0x28(%rbp), %eax
movl 0x20(%rbp), %eax
movl 0x18(%rbp), %eax
movl 0x10(%rbp), %eax
movl %edi, -0x4(%rbp)
movl %esi, -0x8(%rbp)
movl %edx, -0xc(%rbp)
movl %ecx, -0x10(%rbp)
movl %r8d, -0x14(%rbp)
movl %r9d, -0x18(%rbp)
movl $0x0, -0x38(%rbp)
movl $0x0, -0x3c(%rbp)
movl $0x0, -0x40(%rbp)
movl 0x10(%rbp), %eax
subl -0x4(%rbp), %eax
movl %eax, %ecx
negl %ecx
cmovnsl %ecx, %eax
movl %eax, -0x24(%rbp)
movl 0x18(%rbp), %eax
subl -0x8(%rbp), %eax
movl %eax, %ecx
negl %ecx
cmovnsl %ecx, %eax
movl %eax, -0x28(%rbp)
movl 0x20(%rbp), %eax
subl -0xc(%rbp), %eax
movl %eax, %ecx
negl %ecx
cmovnsl %ecx, %eax
movl %eax, -0x2c(%rbp)
cmpl $0x0, -0x24(%rbp)
jne 0x97a98
movl -0x28(%rbp), %eax
movl %eax, -0x24(%rbp)
movl -0x2c(%rbp), %eax
movl %eax, -0x28(%rbp)
movl $0x0, -0x1c(%rbp)
jmp 0x97ab6
cmpl $0x0, -0x28(%rbp)
jne 0x97aad
movl -0x2c(%rbp), %eax
movl %eax, -0x28(%rbp)
movl $0x1, -0x1c(%rbp)
jmp 0x97ab4
movl $0x2, -0x1c(%rbp)
jmp 0x97ab6
movl -0x24(%rbp), %eax
cmpl -0x28(%rbp), %eax
jge 0x97ad9
movl -0x24(%rbp), %eax
movl %eax, -0x2c(%rbp)
movl -0x28(%rbp), %eax
movl %eax, -0x24(%rbp)
movl -0x2c(%rbp), %eax
movl %eax, -0x28(%rbp)
movl -0x1c(%rbp), %eax
addl $0x3, %eax
movl %eax, -0x1c(%rbp)
movq 0x60f5c0(%rip), %rcx    # 0x6a70a0
movl -0x28(%rbp), %eax
movl 0x60f5af(%rip), %edx    # 0x6a7098
imull %edx, %eax
movl -0x24(%rbp), %edx
addl %edx, %eax
movslq %eax, %rdx
movl (%rcx,%rdx,4), %eax
movl %eax, %esi
incl %esi
movl %esi, (%rcx,%rdx,4)
movl %eax, -0x2c(%rbp)
movq 0x60f588(%rip), %rdi    # 0x6a7090
movq 0x48(%rdi), %rax
movq 0x60f635(%rip), %rcx    # 0x6a7148
movslq -0x2c(%rbp), %rdx
movswl 0x2(%rcx,%rdx,4), %esi
incl %esi
movl 0x50(%rdi), %edi
imull %edi, %esi
movswl (%rcx,%rdx,4), %edx
movl %edx, %ecx
movl %esi, %edx
leal 0x1(%rcx,%rdx), %ecx
movslq %ecx, %rcx
leaq (%rax,%rcx,4), %rax
movq %rax, -0x48(%rbp)
movl 0x28(%rbp), %eax
movq %rax, -0x58(%rbp)
subq $0x5, %rax
ja 0x97c18
movq -0x58(%rbp), %rax
leaq 0x1f625(%rip), %rcx     # 0xb717c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl -0x14(%rbp), %eax
movl %eax, -0x3c(%rbp)
movl -0x4(%rbp), %eax
movl %eax, 0x10(%rbp)
movl -0x10(%rbp), %eax
movl %eax, -0x4(%rbp)
movl 0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x97c18
movl -0x8(%rbp), %eax
movl %eax, -0x3c(%rbp)
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
movl 0x18(%rbp), %eax
addl $0x1, %eax
movl %eax, 0x18(%rbp)
jmp 0x97c18
movl -0x18(%rbp), %eax
movl %eax, -0x40(%rbp)
movl 0x18(%rbp), %eax
movl %eax, -0x8(%rbp)
movl -0x14(%rbp), %eax
movl %eax, 0x18(%rbp)
movl -0x8(%rbp), %eax
movl %eax, -0x14(%rbp)
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
movl -0x18(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x18(%rbp)
movl 0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, 0x20(%rbp)
jmp 0x97c18
movl -0xc(%rbp), %eax
movl %eax, -0x40(%rbp)
jmp 0x97c18
movl -0x10(%rbp), %eax
movl %eax, -0x38(%rbp)
movl -0x8(%rbp), %eax
movl %eax, 0x18(%rbp)
movl -0x14(%rbp), %eax
movl %eax, -0x8(%rbp)
movl 0x18(%rbp), %eax
movl %eax, -0x14(%rbp)
movl -0x4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4(%rbp)
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
movl 0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, 0x10(%rbp)
jmp 0x97c18
movl -0x4(%rbp), %eax
movl %eax, -0x38(%rbp)
movl $0x0, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpl -0x28(%rbp), %eax
jge 0x97df9
movl $0x0, -0x30(%rbp)
movl -0x30(%rbp), %eax
cmpl -0x24(%rbp), %eax
jge 0x97dcd
movl 0x28(%rbp), %eax
movq %rax, -0x60(%rbp)
subq $0x5, %rax
ja 0x97da4
movq -0x60(%rbp), %rax
leaq 0x1f53a(%rip), %rcx     # 0xb7194
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cmpl $0x3, -0x1c(%rbp)
jge 0x97c83
movl -0x10(%rbp), %eax
addl -0x24(%rbp), %eax
subl $0x1, %eax
subl -0x30(%rbp), %eax
movl %eax, -0x38(%rbp)
movl -0x18(%rbp), %eax
addl -0x34(%rbp), %eax
movl %eax, -0x40(%rbp)
jmp 0x97c9b
movl -0x10(%rbp), %eax
addl -0x28(%rbp), %eax
subl $0x1, %eax
subl -0x34(%rbp), %eax
movl %eax, -0x38(%rbp)
movl -0x18(%rbp), %eax
addl -0x30(%rbp), %eax
movl %eax, -0x40(%rbp)
jmp 0x97da4
cmpl $0x3, -0x1c(%rbp)
jge 0x97cba
movl -0x4(%rbp), %eax
addl -0x30(%rbp), %eax
movl %eax, -0x38(%rbp)
movl -0xc(%rbp), %eax
addl -0x34(%rbp), %eax
movl %eax, -0x40(%rbp)
jmp 0x97ccc
movl -0x4(%rbp), %eax
addl -0x34(%rbp), %eax
movl %eax, -0x38(%rbp)
movl -0xc(%rbp), %eax
addl -0x30(%rbp), %eax
movl %eax, -0x40(%rbp)
jmp 0x97da4
cmpl $0x3, -0x1c(%rbp)
jge 0x97cf1
movl -0x10(%rbp), %eax
subl -0x24(%rbp), %eax
addl -0x30(%rbp), %eax
movl %eax, -0x38(%rbp)
movl -0x14(%rbp), %eax
subl $0x1, %eax
subl -0x34(%rbp), %eax
movl %eax, -0x3c(%rbp)
jmp 0x97d09
movl -0x10(%rbp), %eax
subl $0x1, %eax
subl -0x34(%rbp), %eax
movl %eax, -0x38(%rbp)
movl -0x14(%rbp), %eax
subl $0x1, %eax
subl -0x30(%rbp), %eax
movl %eax, -0x3c(%rbp)
jmp 0x97da4
cmpl $0x3, -0x1c(%rbp)
jge 0x97d28
movl -0x4(%rbp), %eax
addl -0x30(%rbp), %eax
movl %eax, -0x38(%rbp)
movl -0x8(%rbp), %eax
addl -0x34(%rbp), %eax
movl %eax, -0x3c(%rbp)
jmp 0x97d3a
movl -0x4(%rbp), %eax
addl -0x34(%rbp), %eax
movl %eax, -0x38(%rbp)
movl -0x8(%rbp), %eax
addl -0x30(%rbp), %eax
movl %eax, -0x3c(%rbp)
jmp 0x97da4
cmpl $0x3, -0x1c(%rbp)
jge 0x97d5c
movl -0x14(%rbp), %eax
addl -0x24(%rbp), %eax
subl $0x1, %eax
subl -0x30(%rbp), %eax
movl %eax, -0x3c(%rbp)
movl -0x18(%rbp), %eax
addl -0x34(%rbp), %eax
movl %eax, -0x40(%rbp)
jmp 0x97d74
movl -0x14(%rbp), %eax
addl -0x28(%rbp), %eax
subl $0x1, %eax
subl -0x34(%rbp), %eax
movl %eax, -0x3c(%rbp)
movl -0x18(%rbp), %eax
addl -0x30(%rbp), %eax
movl %eax, -0x40(%rbp)
jmp 0x97da4
cmpl $0x3, -0x1c(%rbp)
jge 0x97d90
movl -0x8(%rbp), %eax
addl -0x30(%rbp), %eax
movl %eax, -0x3c(%rbp)
movl -0xc(%rbp), %eax
addl -0x34(%rbp), %eax
movl %eax, -0x40(%rbp)
jmp 0x97da2
movl -0x8(%rbp), %eax
addl -0x34(%rbp), %eax
movl %eax, -0x3c(%rbp)
movl -0xc(%rbp), %eax
addl -0x30(%rbp), %eax
movl %eax, -0x40(%rbp)
jmp 0x97da4
movl -0x38(%rbp), %edi
movl -0x3c(%rbp), %esi
movl -0x40(%rbp), %edx
callq 0x985c0
movl %eax, %edx
movq -0x48(%rbp), %rax
movslq -0x30(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
jmp 0x97c32
jmp 0x97dcf
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
movq 0x60f2b1(%rip), %rax    # 0x6a7090
movl 0x50(%rax), %ecx
movq -0x48(%rbp), %rax
movslq %ecx, %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, -0x48(%rbp)
jmp 0x97c1f
movl $0x1, -0x34(%rbp)
movl -0x34(%rbp), %eax
movl -0x28(%rbp), %ecx
addl $0x1, %ecx
cmpl %ecx, %eax
jge 0x97ec0
movl $0x0, -0x30(%rbp)
cmpl $0x1, -0x30(%rbp)
jge 0x97eb0
movq 0x60f267(%rip), %rax    # 0x6a7090
movq 0x48(%rax), %rax
movq 0x60f314(%rip), %rcx    # 0x6a7148
movslq -0x2c(%rbp), %rdx
movswl 0x2(%rcx,%rdx,4), %ecx
addl -0x34(%rbp), %ecx
movq 0x60f249(%rip), %rdx    # 0x6a7090
imull 0x50(%rdx), %ecx
movq 0x60f2f6(%rip), %rdx    # 0x6a7148
movslq -0x2c(%rbp), %rsi
movswl (%rdx,%rsi,4), %edx
addl %edx, %ecx
movslq %ecx, %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rax
movl 0x4(%rax), %edx
movq -0x48(%rbp), %rax
movslq -0x30(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movq -0x48(%rbp), %rax
movl -0x24(%rbp), %ecx
subl $0x1, %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %edx
movq -0x48(%rbp), %rax
movl -0x30(%rbp), %ecx
addl -0x24(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
jmp 0x97e18
jmp 0x97eb2
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0x97e00
movl $0x0, -0x34(%rbp)
cmpl $0x1, -0x34(%rbp)
jge 0x98019
movq 0x60f1b8(%rip), %rax    # 0x6a7090
movq 0x48(%rax), %rdi
movq 0x60f265(%rip), %rax    # 0x6a7148
movslq -0x2c(%rbp), %rcx
movswl 0x2(%rax,%rcx,4), %eax
addl -0x34(%rbp), %eax
movq 0x60f19a(%rip), %rcx    # 0x6a7090
imull 0x50(%rcx), %eax
movq 0x60f247(%rip), %rcx    # 0x6a7148
movslq -0x2c(%rbp), %rdx
movswl (%rcx,%rdx,4), %ecx
addl %ecx, %eax
cltq
shlq $0x2, %rax
addq %rax, %rdi
movq 0x60f175(%rip), %rax    # 0x6a7090
movq 0x48(%rax), %rsi
movq 0x60f222(%rip), %rax    # 0x6a7148
movslq -0x2c(%rbp), %rcx
movswl 0x2(%rax,%rcx,4), %eax
addl $0x1, %eax
movq 0x60f157(%rip), %rcx    # 0x6a7090
imull 0x50(%rcx), %eax
movq 0x60f204(%rip), %rcx    # 0x6a7148
movslq -0x2c(%rbp), %rdx
movswl (%rcx,%rdx,4), %ecx
addl %ecx, %eax
cltq
shlq $0x2, %rax
addq %rax, %rsi
movl -0x24(%rbp), %eax
addl $0x2, %eax
shll $0x2, %eax
movslq %eax, %rdx
callq 0x60c0
movq 0x60f121(%rip), %rax    # 0x6a7090
movq 0x48(%rax), %rdi
movq 0x60f1ce(%rip), %rax    # 0x6a7148
movslq -0x2c(%rbp), %rcx
movswl 0x2(%rax,%rcx,4), %eax
addl -0x28(%rbp), %eax
addl -0x34(%rbp), %eax
addl $0x1, %eax
movq 0x60f0fd(%rip), %rcx    # 0x6a7090
imull 0x50(%rcx), %eax
movq 0x60f1aa(%rip), %rcx    # 0x6a7148
movslq -0x2c(%rbp), %rdx
movswl (%rcx,%rdx,4), %ecx
addl %ecx, %eax
cltq
shlq $0x2, %rax
addq %rax, %rdi
movq 0x60f0d8(%rip), %rax    # 0x6a7090
movq 0x48(%rax), %rsi
movq 0x60f185(%rip), %rax    # 0x6a7148
movslq -0x2c(%rbp), %rcx
movswl 0x2(%rax,%rcx,4), %eax
addl -0x28(%rbp), %eax
subl $0x1, %eax
addl $0x1, %eax
movq 0x60f0b4(%rip), %rcx    # 0x6a7090
imull 0x50(%rcx), %eax
movq 0x60f161(%rip), %rcx    # 0x6a7148
movslq -0x2c(%rbp), %rdx
movswl (%rcx,%rdx,4), %ecx
addl %ecx, %eax
cltq
shlq $0x2, %rax
addq %rax, %rsi
movl -0x24(%rbp), %eax
addl $0x2, %eax
shll $0x2, %eax
movslq %eax, %rdx
callq 0x60c0
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0x97ec7
movq 0x60f070(%rip), %rax    # 0x6a7090
movq 0x20(%rax), %rax
movq 0x60f065(%rip), %rcx    # 0x6a7090
movslq 0x28(%rcx), %rcx
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x50(%rbp)
movl -0x4(%rbp), %eax
movw %ax, %cx
movq -0x50(%rbp), %rax
movw %cx, (%rax)
movl -0x8(%rbp), %eax
movw %ax, %cx
movq -0x50(%rbp), %rax
movw %cx, 0x2(%rax)
movl -0xc(%rbp), %eax
movw %ax, %cx
movq -0x50(%rbp), %rax
movw %cx, 0x4(%rax)
movl -0x10(%rbp), %eax
movw %ax, %cx
movq -0x50(%rbp), %rax
movw %cx, 0xa(%rax)
movl -0x14(%rbp), %eax
movw %ax, %cx
movq -0x50(%rbp), %rax
movw %cx, 0xc(%rax)
movl -0x18(%rbp), %eax
movw %ax, %cx
movq -0x50(%rbp), %rax
movw %cx, 0xe(%rax)
movl 0x10(%rbp), %eax
movw %ax, %cx
movq -0x50(%rbp), %rax
movw %cx, 0x14(%rax)
movl 0x18(%rbp), %eax
movw %ax, %cx
movq -0x50(%rbp), %rax
movw %cx, 0x16(%rax)
movl 0x20(%rbp), %eax
movw %ax, %cx
movq -0x50(%rbp), %rax
movw %cx, 0x18(%rax)
movl $0x0, -0x20(%rbp)
cmpl $0x3, -0x20(%rbp)
jge 0x98120
movq 0x60f07d(%rip), %rax    # 0x6a7148
movslq -0x2c(%rbp), %rcx
movswl (%rax,%rcx,4), %eax
addl $0x1, %eax
movw %ax, %cx
movq -0x50(%rbp), %rax
movslq -0x20(%rbp), %rdx
imulq $0xa, %rdx, %rdx
addq %rdx, %rax
movw %cx, 0x6(%rax)
movq 0x60f055(%rip), %rax    # 0x6a7148
movslq -0x2c(%rbp), %rcx
movswl 0x2(%rax,%rcx,4), %eax
addl $0x1, %eax
movw %ax, %cx
movq -0x50(%rbp), %rax
movslq -0x20(%rbp), %rdx
imulq $0xa, %rdx, %rdx
addq %rdx, %rax
movw %cx, 0x8(%rax)
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x20(%rbp)
jmp 0x980be
cmpl $0x3, -0x1c(%rbp)
jge 0x98139
movl -0x24(%rbp), %edx
movq -0x50(%rbp), %rax
movzwl 0x10(%rax), %ecx
addl %edx, %ecx
movw %cx, 0x10(%rax)
jmp 0x9814a
movl -0x28(%rbp), %edx
movq -0x50(%rbp), %rax
movzwl 0x12(%rax), %ecx
addl %edx, %ecx
movw %cx, 0x12(%rax)
movl -0x24(%rbp), %edx
movq -0x50(%rbp), %rax
movzwl 0x1a(%rax), %ecx
addl %edx, %ecx
movw %cx, 0x1a(%rax)
movl -0x28(%rbp), %edx
movq -0x50(%rbp), %rax
movzwl 0x1c(%rax), %ecx
addl %edx, %ecx
movw %cx, 0x1c(%rax)
movq -0x50(%rbp), %rax
movzwl 0x6(%rax), %eax
movq -0x50(%rbp), %rcx
movzwl 0x10(%rcx), %ecx
subl %ecx, %eax
movq -0x50(%rbp), %rcx
movzwl 0x1a(%rcx), %ecx
addl %ecx, %eax
movw %ax, %cx
movq -0x50(%rbp), %rax
movw %cx, 0x24(%rax)
movq -0x50(%rbp), %rax
movzwl 0x8(%rax), %eax
movq -0x50(%rbp), %rcx
movzwl 0x12(%rcx), %ecx
subl %ecx, %eax
movq -0x50(%rbp), %rcx
movzwl 0x1c(%rcx), %ecx
addl %ecx, %eax
movw %ax, %cx
movq -0x50(%rbp), %rax
movw %cx, 0x26(%rax)
movq -0x50(%rbp), %rax
movzwl (%rax), %eax
movq -0x50(%rbp), %rcx
movzwl 0xa(%rcx), %ecx
subl %ecx, %eax
movq -0x50(%rbp), %rcx
movzwl 0x14(%rcx), %ecx
addl %ecx, %eax
movw %ax, %cx
movq -0x50(%rbp), %rax
movw %cx, 0x1e(%rax)
movq -0x50(%rbp), %rax
movzwl 0x2(%rax), %eax
movq -0x50(%rbp), %rcx
movzwl 0xc(%rcx), %ecx
subl %ecx, %eax
movq -0x50(%rbp), %rcx
movzwl 0x16(%rcx), %ecx
addl %ecx, %eax
movw %ax, %cx
movq -0x50(%rbp), %rax
movw %cx, 0x20(%rax)
movq -0x50(%rbp), %rax
movzwl 0x4(%rax), %eax
movq -0x50(%rbp), %rcx
movzwl 0xe(%rcx), %ecx
subl %ecx, %eax
movq -0x50(%rbp), %rcx
movzwl 0x18(%rcx), %ecx
addl %ecx, %eax
movw %ax, %cx
movq -0x50(%rbp), %rax
movw %cx, 0x22(%rax)
movq 0x60ee5b(%rip), %rax    # 0x6a7090
movslq 0x28(%rbp), %rcx
cmpl $0x0, 0x2c(%rax,%rcx,4)
jge 0x98259
movq 0x60ee49(%rip), %rax    # 0x6a7090
movl 0x28(%rax), %edx
movq 0x60ee3f(%rip), %rax    # 0x6a7090
movslq 0x28(%rbp), %rcx
movl %edx, 0x2c(%rax,%rcx,4)
movq 0x60ee30(%rip), %rax    # 0x6a7090
movl 0x28(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x28(%rax)
addq $0x60, %rsp
popq %rbp
retq
nop