// File: /workspace/github_cpp_makefile_star2_O3/FreeSlave[P]vhlt/hlrad/qradutil.cpp
// Function: FindFacePositions(int)
void FindFacePositions (int facenum)
	// this function must be called after g_face_offset and g_face_centroids and g_edgeshare have been calculated
{
	dface_t *f;
	positionmap_t *map;
	texinfo_t *ti;
	vec3_t v;
	const vec3_t v_up = {0, 0, 1};
	vec_t density;
	vec_t texmins[2], texmaxs[2];
	int imins[2], imaxs[2];
	int is, it;
	int x;
	int k;

	f = &g_dfaces[facenum];
	map = &g_face_positions[facenum];
	map->valid = true;
	map->facenum = facenum;
	map->facewinding = NULL;
	map->facewindingwithoffset = NULL;
	map->texwinding = NULL;
	map->grid = NULL;
	
	ti = &g_texinfo[f->texinfo];
	if (ti->flags & TEX_SPECIAL)
	{
		map->valid = false;
		return;
	}

	VectorCopy (g_face_offset[facenum], map->face_offset);
	VectorCopy (g_face_centroids[facenum], map->face_centroid);
	TranslateWorldToTex (facenum, map->worldtotex);
	if (!InvertMatrix (map->worldtotex, map->textoworld))
	{
		map->valid = false;
		return;
	}
	
	map->facewinding = new Winding (*f);
	map->faceplane = *getPlaneFromFace (f);
	map->facewindingwithoffset = new Winding (map->facewinding->m_NumPoints);
	for (x = 0; x < map->facewinding->m_NumPoints; x++)
	{
		VectorAdd (map->facewinding->m_Points[x], map->face_offset, map->facewindingwithoffset->m_Points[x]);
	}
	map->faceplanewithoffset = map->faceplane;
	map->faceplanewithoffset.dist = map->faceplane.dist + DotProduct (map->face_offset, map->faceplane.normal);

	map->texwinding = new Winding (map->facewinding->m_NumPoints);
	for (x = 0; x < map->facewinding->m_NumPoints; x++)
	{
		ApplyMatrix (map->worldtotex, map->facewinding->m_Points[x], map->texwinding->m_Points[x]);
		map->texwinding->m_Points[x][2] = 0.0;
	}
	map->texwinding->RemoveColinearPoints ();
	VectorCopy (v_up, map->texplane.normal);
	if (CalcMatrixSign (map->worldtotex) < 0.0)
	{
		map->texplane.normal[2] *= -1;
	}
	map->texplane.dist = 0.0;
	if (map->texwinding->m_NumPoints == 0)
	{
		delete map->facewinding;
		map->facewinding = NULL;
		delete map->facewindingwithoffset;
		map->facewindingwithoffset = NULL;
		delete map->texwinding;
		map->texwinding = NULL;
		map->valid = false;
		return;
	}
	VectorSubtract (map->face_centroid, map->face_offset, v);
	ApplyMatrix (map->worldtotex, v, map->texcentroid);
	map->texcentroid[2] = 0.0;

	for (x = 0; x < map->texwinding->m_NumPoints; x++)
	{
		for (k = 0; k < 2; k++)
		{
			if (x == 0 || map->texwinding->m_Points[x][k] < texmins[k])
				texmins[k] = map->texwinding->m_Points[x][k];
			if (x == 0 || map->texwinding->m_Points[x][k] > texmaxs[k])
				texmaxs[k] = map->texwinding->m_Points[x][k];
		}
	}
	density = 3.0;
#ifdef HLRAD_FASTMODE
	if (g_fastmode)
	{
		density = 1.0;
	}
#endif
	map->step[0] = (vec_t)TEXTURE_STEP / density;
	map->step[1] = (vec_t)TEXTURE_STEP / density;
	map->step[2] = 1.0;
	for (k = 0; k < 2; k++)
	{
		imins[k] = (int)floor (texmins[k] / map->step[k] + 0.5 - ON_EPSILON);
		imaxs[k] = (int)ceil (texmaxs[k] / map->step[k] - 0.5 + ON_EPSILON);
	}
	map->start[0] = (imins[0] - 0.5) * map->step[0];
	map->start[1] = (imins[1] - 0.5) * map->step[1];
	map->start[2] = 0.0;
	map->w = imaxs[0] - imins[0] + 1;
	map->h = imaxs[1] - imins[1] + 1;
	if (map->w <= 0 || map->h <= 0 || (double)map->w * (double)map->h > 99999999)
	{
		delete map->facewinding;
		map->facewinding = NULL;
		delete map->facewindingwithoffset;
		map->facewindingwithoffset = NULL;
		delete map->texwinding;
		map->texwinding = NULL;
		map->valid = false;
		return;
	}

	map->grid = (position_t *)malloc (map->w * map->h * sizeof (position_t));
	hlassume (map->grid != NULL, assume_NoMemory);

	for (it = 0; it < map->h; it++)
	{
		for (is = 0; is < map->w; is++)
		{
			CalcSinglePosition (map, is, it);
		}
	}

	return;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movslq %edi, %rdi
leaq (%rdi,%rdi,4), %r15
leaq 0x1b804bf(%rip), %r12   # 0x1bb0400
imulq $0x110, %rdi, %rax      # imm = 0x110
leaq 0x55c9c81(%rip), %rcx   # 0x55f9bd0
leaq (%rcx,%rax), %rbx
movb $0x1, (%rax,%rcx)
movl %edi, 0x4(%rax,%rcx)
xorl %edx, %edx
movq %rdx, 0x80(%rax,%rcx)
movq %rdx, 0xa0(%rax,%rcx)
movq %rdx, 0xc0(%rax,%rcx)
movq %rdx, 0x108(%rax,%rcx)
movswq 0xa(%r12,%r15,4), %rax
leaq (%rax,%rax,4), %rax
leaq 0x1180462(%rip), %rcx   # 0x11b03f0
testb $0x1, 0x24(%rcx,%rax,8)
jne 0x30558
leaq (,%rdi,4), %rax
leaq (%rax,%rax,2), %rax
leaq 0x5407a44(%rip), %rcx   # 0x54379f0
movsd 0x4(%rcx,%rax), %xmm0
leaq 0x4c13957(%rip), %rdx   # 0x4c43910
movss (%rcx,%rax), %xmm1
movlhps %xmm0, %xmm1            # xmm1 = xmm1[0],xmm0[0]
movss (%rdx,%rax), %xmm2
shufps $0xd4, %xmm0, %xmm2     # xmm2 = xmm2[0,1],xmm0[1,3]
shufps $0x28, %xmm2, %xmm1     # xmm1 = xmm1[0,2],xmm2[2,0]
movups %xmm1, 0x8(%rbx)
movsd 0x4(%rdx,%rax), %xmm0
movsd %xmm0, 0x18(%rbx)
leaq 0x20(%rbx), %r14
movq %r14, %rsi
callq 0x2fb8e
leaq 0x50(%rbx), %rsi
movq %r14, %rdi
callq 0x2fc2c
testb %al, %al
je 0x30558
leaq (%r12,%r15,4), %r12
movl $0x20, %edi
callq 0x42e0
movq %rax, %r15
movss 0xaa1e(%rip), %xmm0     # 0x3aa34
movq %rax, %rdi
movq %r12, %rsi
callq 0xc54a
movq %r15, 0x80(%rbx)
cmpw $0x0, 0x2(%r12)
movzwl (%r12), %eax
leaq (%rax,%rax,4), %rax
jne 0x30043
leaq 0xb003af(%rip), %rcx    # 0xb303f0
jmp 0x3004a
leaq 0x5529b86(%rip), %rcx   # 0x5559bd0
movl 0x10(%rcx,%rax,4), %edx
movl %edx, 0x98(%rbx)
movups (%rcx,%rax,4), %xmm0
movups %xmm0, 0x88(%rbx)
movl $0x20, %edi
callq 0x42e0
movq %rax, %r12
movl 0x8(%r15), %esi
movq %rax, %rdi
callq 0xc1a6
leaq 0x88(%rbx), %rax
movq %r12, 0xa0(%rbx)
movq 0x80(%rbx), %r12
cmpl $0x0, 0x8(%r12)
je 0x30126
xorl %ecx, %ecx
xorl %edx, %edx
movq 0x10(%r12), %rsi
movss (%rsi,%rcx), %xmm0
addss 0x8(%rbx), %xmm0
movq 0xa0(%rbx), %rsi
movq 0x10(%rsi), %rsi
movss %xmm0, (%rsi,%rcx)
movq 0x80(%rbx), %rsi
movq 0x10(%rsi), %rsi
movss 0x4(%rsi,%rcx), %xmm0
addss 0xc(%rbx), %xmm0
movq 0xa0(%rbx), %rsi
movq 0x10(%rsi), %rsi
movss %xmm0, 0x4(%rsi,%rcx)
movq 0x80(%rbx), %rsi
movq 0x10(%rsi), %rsi
movss 0x8(%rsi,%rcx), %xmm0
addss 0x10(%rbx), %xmm0
movq 0xa0(%rbx), %rsi
movq 0x10(%rsi), %rsi
movss %xmm0, 0x8(%rsi,%rcx)
incq %rdx
movq 0x80(%rbx), %r12
movl 0x8(%r12), %esi
addq $0xc, %rcx
cmpq %rsi, %rdx
jb 0x3009d
movups (%rax), %xmm0
movups %xmm0, 0xa8(%rbx)
movl 0x10(%rax), %eax
movl %eax, 0xb8(%rbx)
movss 0x8(%rbx), %xmm0
movss 0xc(%rbx), %xmm1
mulss 0x8c(%rbx), %xmm1
mulss 0x88(%rbx), %xmm0
addss %xmm1, %xmm0
movss 0x10(%rbx), %xmm1
mulss 0x90(%rbx), %xmm1
addss %xmm0, %xmm1
addss 0x94(%rbx), %xmm1
movss %xmm1, 0xb4(%rbx)
movl $0x20, %edi
callq 0x42e0
movq %rax, %r15
movl 0x8(%r12), %esi
movq %rax, %rdi
callq 0xc1a6
movq %r15, 0xc0(%rbx)
movq 0x80(%rbx), %rax
cmpl $0x0, 0x8(%rax)
je 0x301fa
xorl %r15d, %r15d
xorl %r12d, %r12d
movq 0x10(%rax), %rsi
addq %r15, %rsi
movq 0xc0(%rbx), %rax
movq 0x10(%rax), %rdx
addq %r15, %rdx
movq %r14, %rdi
callq 0x2f8b3
movq 0xc0(%rbx), %rax
movq 0x10(%rax), %rax
movl $0x0, 0x8(%rax,%r15)
incq %r12
movq 0x80(%rbx), %rax
movl 0x8(%rax), %ecx
addq $0xc, %r15
cmpq %rcx, %r12
jb 0x301ac
movq 0xc0(%rbx), %r15
movss 0xa832(%rip), %xmm0     # 0x3aa34
movq %r15, %rdi
callq 0xc628
movq $0x0, 0xc8(%rbx)
movl $0x3f800000, 0xd0(%rbx) # imm = 0x3F800000
movss 0x20(%rbx), %xmm0
movss 0x24(%rbx), %xmm3
movss 0x34(%rbx), %xmm4
movss 0x28(%rbx), %xmm2
movss 0x30(%rbx), %xmm5
movaps %xmm3, %xmm1
mulss %xmm4, %xmm1
mulss %xmm0, %xmm4
mulss %xmm5, %xmm0
mulss %xmm2, %xmm5
subss %xmm5, %xmm1
movss 0x2c(%rbx), %xmm5
mulss %xmm5, %xmm2
subss %xmm4, %xmm2
mulss %xmm3, %xmm5
mulss 0x3c(%rbx), %xmm2
mulss 0x38(%rbx), %xmm1
subss %xmm5, %xmm0
addss %xmm2, %xmm1
mulss 0x40(%rbx), %xmm0
addss %xmm1, %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm0, %xmm1
jbe 0x3028d
movl $0xbf800000, 0xd0(%rbx) # imm = 0xBF800000
movl $0x0, 0xd4(%rbx)
movq 0xc0(%rbx), %rax
cmpl $0x0, 0x8(%rax)
je 0x30501
movsd 0x8(%rbx), %xmm0
movsd 0x14(%rbx), %xmm1
subps %xmm0, %xmm1
leaq 0xd8(%rsp), %rsi
movlps %xmm1, (%rsi)
movss 0x1c(%rbx), %xmm0
subss 0x10(%rbx), %xmm0
movss %xmm0, 0x8(%rsi)
leaq 0xdc(%rbx), %rdx
movq %r14, %rdi
callq 0x2f8b3
movl $0x0, 0xe4(%rbx)
movq 0xc0(%rbx), %rcx
movl 0x8(%rcx), %eax
testq %rax, %rax
je 0x3037b
movq 0x10(%rcx), %rcx
xorl %edx, %edx
leaq 0x3c(%rsp), %rsi
leaq 0x34(%rsp), %rdi
leaq 0x38(%rsp), %r8
leaq 0x30(%rsp), %r9
movb $0x1, %r10b
leaq (%rdx,%rdx,2), %r11
leaq (%rcx,%r11,4), %r11
movq %rdi, %r14
movq %rsi, %r15
xorl %r12d, %r12d
testq %rdx, %rdx
je 0x3034b
movss (%r11,%r12,4), %xmm0
movss (%r15), %xmm1
ucomiss %xmm0, %xmm1
jbe 0x30343
movss %xmm0, (%r15)
ucomiss (%r14), %xmm0
ja 0x30356
jmp 0x3035b
movss (%rcx,%r12,4), %xmm0
movss %xmm0, (%r15)
movss %xmm0, (%r14)
movl $0x1, %r12d
movq %r9, %r14
movq %r8, %r15
testb $0x1, %r10b
movl $0x0, %r10d
jne 0x30329
incq %rdx
cmpq %rax, %rdx
jne 0x30315
leaq 0x524764e(%rip), %rax   # 0x52779d0
cmpb $0x0, (%rax)
jne 0x30391
movss 0xe585(%rip), %xmm0     # 0x3e914
jmp 0x30399
movss 0xa6c3(%rip), %xmm0     # 0x3aa5c
leaq 0xc8(%rbx), %rax
movq %rax, 0x40(%rsp)
movss %xmm0, 0xf4(%rbx)
movss %xmm0, 0xc(%rsp)
movss %xmm0, 0xf8(%rbx)
movl $0x3f800000, 0xfc(%rbx) # imm = 0x3F800000
leaq 0x3c(%rsp), %rcx
leaq 0x34(%rsp), %r14
leaq 0x58(%rsp), %r13
leaq 0x50(%rsp), %r12
movb $0x1, %bpl
xorl %eax, %eax
movsd 0x9f1a(%rip), %xmm1     # 0x3a300
leaq 0x30(%rsp), %r15
movss (%rcx), %xmm0
movss 0xf4(%rbx,%rax,4), %xmm2
movss %xmm2, 0x10(%rsp)
divss %xmm2, %xmm0
cvtss2sd %xmm0, %xmm0
addsd %xmm1, %xmm0
addsd 0xa1de(%rip), %xmm0     # 0x3a5f0
callq 0x4570
cvttsd2si %xmm0, %eax
movl %eax, (%r13)
movss (%r14), %xmm0
divss 0x10(%rsp), %xmm0
cvtss2sd %xmm0, %xmm0
addsd 0xa1da(%rip), %xmm0     # 0x3a610
addsd 0xa1ba(%rip), %xmm0     # 0x3a5f8
callq 0x4090
movsd 0x9eb5(%rip), %xmm1     # 0x3a300
cvttsd2si %xmm0, %eax
movl %eax, (%r12)
movl $0x1, %eax
leaq 0x54(%rsp), %r12
leaq 0x5c(%rsp), %r13
movq %r15, %r14
leaq 0x38(%rsp), %rcx
testb $0x1, %bpl
movl $0x0, %ebp
jne 0x303eb
xorps %xmm0, %xmm0
cvtss2sd 0xc(%rsp), %xmm0
movq 0x58(%rsp), %xmm1
cvtdq2pd %xmm1, %xmm2
addpd 0xa22c(%rip), %xmm2     # 0x3a6c0
movlhps %xmm0, %xmm0            # xmm0 = xmm0[0,0]
mulpd %xmm2, %xmm0
cvtpd2ps %xmm0, %xmm0
movlpd %xmm0, 0xe8(%rbx)
movl $0x0, 0xf0(%rbx)
movq 0x50(%rsp), %xmm0
psubd %xmm1, %xmm0
pcmpeqd %xmm1, %xmm1
pshufd $0x50, %xmm0, %xmm2     # xmm2 = xmm0[0,0,1,1]
psubd %xmm1, %xmm0
movq %xmm0, 0x100(%rbx)
movmskpd %xmm2, %eax
testl %eax, %eax
jne 0x30501
movd %xmm0, %ecx
xorps %xmm1, %xmm1
cvtsi2sd %ecx, %xmm1
pshufd $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
movd %xmm0, %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
mulsd %xmm1, %xmm0
ucomisd 0xe3c1(%rip), %xmm0     # 0x3e8c0
jbe 0x3056d
movq 0x80(%rbx), %rdi
testq %rdi, %rdi
je 0x30513
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x80(%rbx)
movq 0xa0(%rbx), %rdi
testq %rdi, %rdi
je 0x30530
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0xa0(%rbx)
movq 0xc0(%rbx), %rdi
testq %rdi, %rdi
je 0x3054d
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0xc0(%rbx)
movb $0x0, (%rbx)
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
imull %ecx, %eax
shlq $0x3, %rax
leaq (%rax,%rax,2), %rdi
callq 0x4400
movq %rax, 0x108(%rbx)
xorl %edi, %edi
testq %rax, %rax
setne %dil
movl $0x1, %esi
callq 0xa6ed
movsd 0x9d61(%rip), %xmm0     # 0x3a300
movl 0x104(%rbx), %ecx
testl %ecx, %ecx
jle 0x3055b
movl 0x100(%rbx), %eax
movq $0x0, 0x10(%rsp)
testl %eax, %eax
jle 0x308f6
movq 0x10(%rsp), %rcx
xorps %xmm1, %xmm1
cvtsi2ss %ecx, %xmm1
movss %xmm1, 0xc(%rsp)
leal 0x1(%rcx), %edx
movl %edx, 0x28(%rsp)
xorps %xmm1, %xmm1
cvtsi2ss %edx, %xmm1
movss %xmm1, 0x2c(%rsp)
xorps %xmm1, %xmm1
cvtsi2sd %ecx, %xmm1
addsd %xmm0, %xmm1
movapd %xmm1, 0xb0(%rsp)
xorl %r13d, %r13d
movq 0x108(%rbx), %r14
imull 0x10(%rsp), %eax
addl %r13d, %eax
cltq
leaq (%rax,%rax,2), %r15
xorps %xmm0, %xmm0
cvtsi2ss %r13d, %xmm0
movss 0xf4(%rbx), %xmm1
mulss %xmm1, %xmm0
movss 0xe8(%rbx), %xmm2
movss 0xec(%rbx), %xmm3
leal 0x1(%r13), %ebp
xorps %xmm4, %xmm4
cvtsi2ss %ebp, %xmm4
addss %xmm2, %xmm0
mulss %xmm1, %xmm4
addss %xmm2, %xmm4
movss 0xf8(%rbx), %xmm1
movss 0xc(%rsp), %xmm2
mulss %xmm1, %xmm2
addss %xmm3, %xmm2
mulss 0x2c(%rsp), %xmm1
addss %xmm3, %xmm1
movss 0x6a2f(%rip), %xmm3     # 0x370a4
movlps %xmm3, 0x60(%rsp)
movl $0x0, %eax
movl %eax, 0x68(%rsp)
movss %xmm0, 0x6c(%rsp)
movsd 0xa56f(%rip), %xmm0     # 0x3ac00
movsd %xmm0, 0x74(%rsp)
movl $0x80000000, %ecx       # imm = 0x80000000
movl %ecx, 0x7c(%rsp)
movaps 0x69d9(%rip), %xmm0     # 0x37080
xorps %xmm0, %xmm4
movss %xmm4, 0x80(%rsp)
movsd 0xa435(%rip), %xmm3     # 0x3aaf0
movsd %xmm3, 0x88(%rsp)
movl %eax, 0x90(%rsp)
movss %xmm2, 0x94(%rsp)
movsd 0xa534(%rip), %xmm2     # 0x3ac10
movsd %xmm2, 0x9c(%rsp)
movl %ecx, 0xa4(%rsp)
xorps %xmm0, %xmm1
movss %xmm1, 0xa8(%rsp)
movb $0x1, 0x1(%r14,%r15,8)
movl $0x20, %edi
callq 0x42e0
movq %rax, %r12
movq 0xc0(%rbx), %rsi
movq %rax, %rdi
callq 0xc1f2
leaq (%r14,%r15,8), %r14
xorl %r15d, %r15d
cmpl $0x0, 0x8(%r12)
je 0x307e0
leaq (%rsp,%r15), %rsi
addq $0x60, %rsi
movq %r12, %rdi
xorl %edx, %edx
movss 0xa2f2(%rip), %xmm0     # 0x3aa34
callq 0xcf28
addq $0x14, %r15
cmpq $0x50, %r15
jne 0x30721
cmpl $0x0, 0x8(%r12)
je 0x307e0
xorps %xmm0, %xmm0
cvtsi2sd %r13d, %xmm0
addsd 0x9b93(%rip), %xmm0     # 0x3a300
unpcklpd 0xb0(%rsp), %xmm0       # xmm0 = xmm0[0],mem[0]
cvtps2pd 0xe8(%rbx), %xmm1
cvtps2pd 0xf4(%rbx), %xmm2
mulpd %xmm0, %xmm2
addpd %xmm1, %xmm2
cvtpd2ps %xmm2, %xmm0
movb $0x0, (%r14)
movapd %xmm0, 0xc0(%rsp)
movlpd %xmm0, 0x18(%rsp)
movl $0x0, 0x20(%rsp)
movq %r12, %rdi
movq 0x40(%rsp), %rsi
leaq 0x18(%rsp), %r15
movq %r15, %rdx
callq 0x24be8
leaq 0xc(%r14), %rdx
movq %rbx, %rdi
movq %r15, %rsi
movq %rdx, 0x48(%rsp)
callq 0x312d1
testb %al, %al
je 0x307e9
movw $0x1, (%r14)
jmp 0x30818
movb $0x0, (%r14)
jmp 0x308c7
movb (%r14), %al
testb $0x1, %al
jne 0x30838
movq %r12, %rdi
leaq 0x18(%rsp), %r15
movq %r15, %rsi
callq 0xbb2c
movq %rbx, %rdi
movq %r15, %rsi
movq 0x48(%rsp), %rdx
callq 0x312d1
testb %al, %al
je 0x30835
movb $0x1, (%r14)
movss 0x18(%rsp), %xmm0
movss %xmm0, 0x4(%r14)
movss 0x1c(%rsp), %xmm0
movss %xmm0, 0x8(%r14)
jmp 0x308c7
movb (%r14), %al
testb $0x1, %al
jne 0x308c7
leaq 0x5247189(%rip), %rax   # 0x52779d0
cmpb $0x0, (%rax)
jne 0x308c7
xorl %r15d, %r15d
movss 0xfc(%rbx), %xmm0
xorps %xmm3, %xmm3
mulss %xmm3, %xmm0
leaq 0xe1ab(%rip), %rax      # 0x3ea10
movsd (%r15,%rax), %xmm1
movsd 0xf4(%rbx), %xmm2
mulps %xmm1, %xmm2
addps 0xc0(%rsp), %xmm2
movlps %xmm2, 0x18(%rsp)
addss %xmm3, %xmm0
movss %xmm0, 0x20(%rsp)
movq %r12, %rdi
movq 0x40(%rsp), %rsi
leaq 0x18(%rsp), %r13
movq %r13, %rdx
callq 0x24be8
movq %rbx, %rdi
movq %r13, %rsi
movq 0x48(%rsp), %rdx
callq 0x312d1
testb %al, %al
jne 0x30814
addq $0xc, %r15
cmpq $0x90, %r15
jne 0x3084f
movq (%r12), %rax
movq %r12, %rdi
callq *0x8(%rax)
movl 0x100(%rbx), %eax
movl %ebp, %r13d
cmpl %eax, %ebp
jl 0x305fd
movl 0x104(%rbx), %ecx
movsd 0x9a10(%rip), %xmm0     # 0x3a300
movl 0x28(%rsp), %esi
jmp 0x308ff
movq 0x10(%rsp), %rdx
incl %edx
movl %edx, %esi
movl %esi, %edx
movq %rdx, 0x10(%rsp)
cmpl %ecx, %esi
jl 0x305b8
jmp 0x3055b
jmp 0x3091d
movq %rax, %rbx
movq %r12, %r15
jmp 0x30920
movq %rax, %rbx
movl $0x20, %esi
movq %r15, %rdi
jmp 0x30935
movq %rax, %rbx
movl $0x20, %esi
movq %r12, %rdi
callq 0x42f0
movq %rbx, %rdi
callq 0x4580