// File: /workspace/github_c_makefile_star2_O2/joncampbell123[P]swfhax/c4_swf2svg.c
// Function: dump_shape_to_svg
static void dump_shape_to_svg(swf_reader *swf,swf_DefineShape *nfo,unsigned int tag_code) {
	FILE *fp;

	{
		char tmp[256];

		sprintf(tmp,"swf.shape.%u.svg",nfo->ShapeId);
		fp = fopen(tmp,"w");
		if (fp == NULL) return;
	}

	if (outline_only)
		do_dump_shape_outline_only(swf,nfo,tag_code,fp);
	else
		do_dump_shape(swf,nfo,tag_code,fp);

	fclose(fp);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x248, %rsp            # imm = 0x248
movl %edx, %r12d
movq %rsi, %r14
movq %rdi, %r13
movzwl (%rsi), %edx
leaq 0x4b5e(%rip), %rsi      # 0x63eb
leaq -0x260(%rbp), %rbx
movq %rbx, %rdi
xorl %eax, %eax
callq 0x11a0
leaq 0x495f(%rip), %rsi      # 0x6204
movq %rbx, %rdi
callq 0x1180
testq %rax, %rax
je 0x1a48
movq %rax, %r15
cmpb $0x1, 0x88b8(%rip)      # 0xa178
movq %rax, -0x30(%rbp)
movq %r14, -0x78(%rbp)
jne 0x192e
xorl %eax, %eax
cmpb $0x0, 0x88c5(%rip)      # 0xa198
movl $0x190, %ecx            # imm = 0x190
cmovel %eax, %ecx
movq %rcx, -0x50(%rbp)
leaq -0x160(%rbp), %rsi
movq %r13, %r15
movq %r13, %rdi
movl %r12d, %edx
callq 0x42c9
testl %eax, %eax
jne 0x1a3c
pushq $-0x1
popq %r14
leaq -0x160(%rbp), %rbx
movzwl -0x15e(%rbp), %eax
incl %r14d
cmpl %eax, %r14d
jae 0x1a22
movq %r15, %rdi
movq %rbx, %rsi
callq 0x44bf
testl %eax, %eax
je 0x1907
jmp 0x1a3c
movl $0x300000, %edi         # imm = 0x300000
callq 0x1130
movq %rax, -0x38(%rbp)
testq %rax, %rax
je 0x196f
andw $0x0, -0x3c(%rbp)
andl $0x0, -0x88(%rbp)
movb $0x0, -0x3a(%rbp)
andw $0x0, -0x84(%rbp)
leaq -0x160(%rbp), %rsi
movq %r13, %rdi
movl %r12d, %edx
callq 0x42c9
testl %eax, %eax
je 0x1993
xorl %r13d, %r13d
xorl %r12d, %r12d
movq %r13, %rdi
callq 0x1030
movq %r12, %rdi
callq 0x1030
movq -0x38(%rbp), %rdi
callq 0x1030
jmp 0x1a40
movzwl -0x15e(%rbp), %eax
testq %rax, %rax
movl %r12d, -0x70(%rbp)
movq %rax, -0xa8(%rbp)
je 0x1a5a
imulq $0x74, %rax, %rdi
movq %rax, %r15
callq 0x1130
testq %rax, %rax
je 0x2e6c
movq %rax, -0x60(%rbp)
movq %rax, %rbx
addq $0x4, %rbx
leaq -0x160(%rbp), %r12
pushq $0x1c
popq %r14
movl %r15d, %eax
xorl %r15d, %r15d
movzwl %ax, %eax
cmpq %rax, %r15
jae 0x1a5f
movq %r13, %rdi
movq %r12, %rsi
callq 0x44bf
testl %eax, %eax
jne 0x1b1e
movb -0x15c(%rbp), %al
movb %al, -0x4(%rbx)
movq %r14, %rcx
movq %rbx, %rdi
leaq -0x150(%rbp), %rsi
rep  movsl (%rsi), %es:(%rdi)
incq %r15
movzwl -0x15e(%rbp), %eax
addq $0x74, %rbx
jmp 0x19df
leaq -0x260(%rbp), %rsi
movq %r15, %rdi
movl %r12d, %edx
callq 0x45f6
testl %eax, %eax
je 0x1b2e
movq -0x30(%rbp), %r15
movq %r15, %rdi
callq 0x1060
addq $0x248, %rsp            # imm = 0x248
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r12d, %r12d
jmp 0x1a6b
movq -0x30(%rbp), %r15
movq -0x78(%rbp), %r14
movq -0x60(%rbp), %r12
leaq -0x260(%rbp), %rsi
movq %r13, %rdi
movl -0x70(%rbp), %edx
callq 0x45f6
testl %eax, %eax
jne 0x1b26
movq %r13, -0x50(%rbp)
movzwl -0x25e(%rbp), %ebx
movq $0x0, -0x58(%rbp)
testq %rbx, %rbx
movq %rbx, -0x48(%rbp)
je 0x1dca
imulq $0x6, %rbx, %rdi
callq 0x1130
testq %rax, %rax
je 0x2e8b
movq %rax, %r13
cmpl $0x53, -0x70(%rbp)
jne 0x1dcf
movq %r13, %r14
addq $0x2, %r14
xorl %r15d, %r15d
leaq -0x260(%rbp), %rbx
movq -0x48(%rbp), %rax
movzwl %ax, %eax
cmpq %rax, %r15
jae 0x1e25
movq -0x50(%rbp), %rdi
movq %rbx, %rsi
callq 0x4349
testl %eax, %eax
jne 0x2399
movzwl -0x25c(%rbp), %eax
movw %ax, -0x2(%r14)
movl -0x25a(%rbp), %eax
movl %eax, (%r14)
incq %r15
movzwl -0x25e(%rbp), %eax
addq $0x6, %r14
jmp 0x1ad9
movq -0x30(%rbp), %r15
movq -0x60(%rbp), %r12
xorl %r13d, %r13d
jmp 0x1975
pushq $-0x1
popq %r14
leaq -0x260(%rbp), %rbx
cmpl $0x53, %r12d
jne 0x1b62
movzwl -0x25e(%rbp), %eax
incl %r14d
cmpl %eax, %r14d
jae 0x1b85
movq %r15, %rdi
movq %rbx, %rsi
callq 0x4349
testl %eax, %eax
je 0x1b3f
jmp 0x1a3c
movzwl -0x25e(%rbp), %eax
incl %r14d
cmpl %eax, %r14d
jae 0x1b85
movq %r15, %rdi
movq %rbx, %rsi
callq 0x430f
testl %eax, %eax
je 0x1b62
jmp 0x1a3c
movl $0x100000, %edi         # imm = 0x100000
callq 0x1130
movq %rax, -0x60(%rbp)
testq %rax, %rax
je 0x2eaa
movq %r15, %r13
leaq 0x447a(%rip), %rdi      # 0x6020
pushq $0x26
popq %rsi
pushq $0x1
popq %rbx
movq %rbx, %rdx
movq -0x30(%rbp), %r14
movq %r14, %rcx
callq 0x11b0
leaq 0x4485(%rip), %rdi      # 0x6047
pushq $0x63
popq %rsi
movq %rbx, %rdx
movq %r14, %rcx
callq 0x11b0
movq -0x78(%rbp), %rdi
movl 0xc(%rdi), %eax
movl 0x14(%rdi), %esi
subl 0x8(%rdi), %eax
movq -0x50(%rbp), %r9
leal (%rax,%r9,2), %r8d
movl %r8d, %eax
xorl %edx, %edx
pushq $0x14
popq %r10
divl %r10d
movl %eax, %ecx
subl 0x10(%rdi), %esi
leal (%rsi,%r9,2), %r9d
movl %r9d, %eax
xorl %edx, %edx
divl %r10d
leaq 0x44a2(%rip), %rsi      # 0x60ab
movq %r14, %rdi
movl %ecx, %edx
movl %eax, %ecx
xorl %eax, %eax
callq 0x10e0
leaq 0x44f4(%rip), %rdi      # 0x6112
pushq $0x23
popq %rsi
movq %rbx, %rdx
movq %r14, %rcx
callq 0x11b0
leaq 0x4503(%rip), %rdi      # 0x6136
pushq $0x3a
popq %rsi
movq %rbx, %rdx
movq %r14, %rcx
callq 0x11b0
leaq 0x4554(%rip), %rdi      # 0x619c
pushq $0xe
popq %rsi
movq %rbx, %rdx
movq %r14, %rcx
callq 0x11b0
leaq -0xd0(%rbp), %rsi
movq %r15, %rdi
callq 0x3ded
testl %eax, %eax
je 0x23a2
pushq $0x1
popq %rax
cmpb $0x1, 0x8521(%rip)      # 0xa198
jne 0x1da7
movl %eax, %eax
movq %rax, -0x68(%rbp)
movq -0x60(%rbp), %r15
addq $0xc, %r15
pushq $0x1
popq %rcx
xorl %r12d, %r12d
movq -0x78(%rbp), %r13
cmpq -0x68(%rbp), %rcx
jae 0x1da7
cmpq $0xa, %rcx
movl $0x118, %ebx            # imm = 0x118
movl $0xba, %eax
cmovael %eax, %ebx
movq %r14, %rdi
leaq 0x48b4(%rip), %rsi      # 0x656e
movq %rcx, -0x38(%rbp)
movq -0x38(%rbp), %rdx
xorl %eax, %eax
callq 0x10e0
movl %r12d, %eax
leaq 0x4c2d(%rip), %rcx      # 0x6900
movl (%rcx,%rax,4), %edx
movl %edx, -0x48(%rbp)
movl -0xc(%r15), %r14d
movl %r12d, -0x58(%rbp)
movq -0x50(%rbp), %r12
addl %r12d, %r14d
movl %r14d, %ecx
subl 0x8(%r13), %ecx
movq %r15, -0x70(%rbp)
movq -0x70(%rbp), %rax
movl -0x8(%rax), %r15d
addl %r12d, %r15d
movl %r15d, %r8d
subl 0x10(%r13), %r8d
movq -0x30(%rbp), %rdi
leaq 0x4880(%rip), %rsi      # 0x6590
xorl %eax, %eax
callq 0x10e0
subl 0x8(%r13), %r14d
subl 0x10(%r13), %r15d
movq -0x30(%rbp), %rdi
leaq 0x48ab(%rip), %rsi      # 0x65d5
movl %ebx, %edx
movl %r14d, %ecx
movl %r15d, %r8d
movq -0x70(%rbp), %r15
movq -0x30(%rbp), %r14
movq -0x38(%rbp), %r9
xorl %eax, %eax
callq 0x10e0
movl -0x4(%r15), %ecx
addl %r12d, %ecx
subl 0x8(%r13), %ecx
movl (%r15), %r8d
addl %r12d, %r8d
movl -0x58(%rbp), %r12d
subl 0x10(%r13), %r8d
movq %r14, %rdi
leaq 0x48e4(%rip), %rsi      # 0x664c
movl -0x48(%rbp), %edx
xorl %eax, %eax
callq 0x10e0
leaq 0x492a(%rip), %rdi      # 0x66a3
pushq $0x7
popq %rsi
pushq $0x1
popq %rdx
movq %r14, %rcx
callq 0x11b0
movq -0x38(%rbp), %rcx
incl %r12d
cmpl $0x8, %r12d
movl $0x0, %eax
cmovael %eax, %r12d
incq %rcx
addq $0x10, %r15
jmp 0x1c95
leaq 0x4435(%rip), %rdi      # 0x61e3
pushq $0x7
popq %rsi
pushq $0x1
popq %rdx
movq %r14, %rcx
callq 0x11b0
movq -0x60(%rbp), %rdi
callq 0x1030
jmp 0x1a3c
xorl %r13d, %r13d
jmp 0x1e2d
movq %r13, %r14
addq $0x2, %r14
xorl %r15d, %r15d
leaq -0x260(%rbp), %rbx
movq -0x48(%rbp), %rax
movzwl %ax, %eax
cmpq %rax, %r15
jae 0x1e25
movq -0x50(%rbp), %rdi
movq %rbx, %rsi
callq 0x430f
testl %eax, %eax
jne 0x2399
movzwl -0x25c(%rbp), %eax
movw %ax, -0x2(%r14)
movl -0x25a(%rbp), %eax
movl %eax, (%r14)
incq %r15
movzwl -0x25e(%rbp), %eax
addq $0x6, %r14
jmp 0x1de4
movq -0x30(%rbp), %r15
movq -0x78(%rbp), %r14
movq %r13, -0x68(%rbp)
movq %r12, -0x60(%rbp)
leaq 0x41e4(%rip), %rdi      # 0x6020
pushq $0x26
popq %rsi
pushq $0x1
popq %rbx
movq %rbx, %rdx
movq %r15, %rcx
callq 0x11b0
leaq 0x41f3(%rip), %rdi      # 0x6047
pushq $0x63
popq %rsi
movq %rbx, %rdx
movq %r15, %rcx
callq 0x11b0
movl 0xc(%r14), %r8d
movl 0x14(%r14), %r9d
subl 0x8(%r14), %r8d
movl %r8d, %eax
cltd
pushq $0x14
popq %rsi
idivl %esi
movl %eax, %ecx
subl 0x10(%r14), %r9d
movl %r9d, %eax
cltd
idivl %esi
leaq 0x4221(%rip), %rsi      # 0x60ab
movq %r15, %rdi
movl %ecx, %edx
movl %eax, %ecx
xorl %eax, %eax
callq 0x10e0
leaq -0xd0(%rbp), %rsi
movq -0x50(%rbp), %rdi
callq 0x3ded
testl %eax, %eax
jne 0x289e
movq $0x0, -0xd8(%rbp)
movl $0x0, -0x94(%rbp)
movl $0x0, -0xa0(%rbp)
movl $0x0, -0x7c(%rbp)
movl $0x0, -0x80(%rbp)
xorl %ebx, %ebx
movq $0x0, -0xe0(%rbp)
xorl %esi, %esi
xorl %r13d, %r13d
movl $0x0, -0x90(%rbp)
movq -0x48(%rbp), %r14
movq %rsi, -0x58(%rbp)
leaq -0xd0(%rbp), %r12
movq -0x50(%rbp), %rdi
movq %r12, %rsi
callq 0x3e44
testl %eax, %eax
jne 0x2802
movzbl -0xc0(%rbp), %eax
cmpq $0x3, %rax
ja 0x1f08
leaq 0x40e0(%rip), %rcx      # 0x6010
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
movq -0x58(%rbp), %rsi
movslq %esi, %r12
jmpq *%rax
cmpl $0x10000, %esi          # imm = 0x10000
movq -0x38(%rbp), %rdx
jge 0x2e28
imulq $0x30, %r12, %rax
movb $0x2, (%rdx,%rax)
movzwl -0x3c(%rbp), %ecx
movw %cx, 0x1(%rdx,%rax)
movb -0x3a(%rbp), %cl
movb %cl, 0x3(%rdx,%rax)
movl %r13d, 0x4(%rdx,%rax)
movl -0x90(%rbp), %edi
movl %edi, 0x8(%rdx,%rax)
movq -0xd8(%rbp), %rcx
movl %ecx, 0xc(%rdx,%rax)
movl -0x94(%rbp), %ecx
movl %ecx, 0x10(%rdx,%rax)
movl -0xa0(%rbp), %ecx
movw %cx, 0x14(%rdx,%rax)
movl -0x7c(%rbp), %ecx
movw %cx, 0x16(%rdx,%rax)
movl -0x80(%rbp), %ecx
movw %cx, 0x18(%rdx,%rax)
movl -0x88(%rbp), %ecx
movl %ecx, 0x1a(%rdx,%rax)
movzwl -0x84(%rbp), %ecx
movw %cx, 0x1e(%rdx,%rax)
orq $-0x1, 0x20(%rdx,%rax)
incl %esi
movq %rsi, -0x58(%rbp)
andq $0x0, 0x28(%rdx,%rax)
addl -0xb8(%rbp), %r13d
addl -0xb4(%rbp), %edi
movl %edi, -0x90(%rbp)
jmp 0x1f01
cmpl $0x10000, %esi          # imm = 0x10000
movq -0x38(%rbp), %rdx
jge 0x2e28
incl %esi
imulq $0x30, %r12, %rax
movl -0xb8(%rbp), %edi
addl %r13d, %edi
movl -0xb4(%rbp), %r8d
movl -0x90(%rbp), %r9d
addl %r9d, %r8d
movb $0x3, (%rdx,%rax)
movzwl -0x3c(%rbp), %ecx
movw %cx, 0x1(%rdx,%rax)
movb -0x3a(%rbp), %cl
movb %cl, 0x3(%rdx,%rax)
movl %r13d, 0x4(%rdx,%rax)
movl -0xb0(%rbp), %r13d
movl %r9d, 0x8(%rdx,%rax)
movl %edi, 0xc(%rdx,%rax)
movl %r8d, 0x10(%rdx,%rax)
movl -0xa0(%rbp), %ecx
movw %cx, 0x14(%rdx,%rax)
movl -0x7c(%rbp), %ecx
movw %cx, 0x16(%rdx,%rax)
movl -0x80(%rbp), %ecx
movw %cx, 0x18(%rdx,%rax)
movl -0x88(%rbp), %ecx
movl %ecx, 0x1a(%rdx,%rax)
movzwl -0x84(%rbp), %ecx
movw %cx, 0x1e(%rdx,%rax)
orq $-0x1, 0x20(%rdx,%rax)
movq %rdi, -0xd8(%rbp)
addl %edi, %r13d
andq $0x0, 0x28(%rdx,%rax)
movl -0xac(%rbp), %eax
movl %r8d, -0x94(%rbp)
addl %r8d, %eax
movl %eax, -0x90(%rbp)
jmp 0x1efd
movzwl -0xbc(%rbp), %eax
testb $0x1, %al
jne 0x20bb
movq -0x38(%rbp), %rdx
jmp 0x22af
movq -0x50(%rbp), %rdi
leaq -0x160(%rbp), %rsi
movl -0x70(%rbp), %edx
callq 0x42c9
testl %eax, %eax
jne 0x2df0
movzwl -0x15e(%rbp), %eax
testq %rax, %rax
movq %r14, -0x48(%rbp)
je 0x2177
movq -0xa8(%rbp), %rbx
addq %rbx, %rax
imulq $0x74, %rax, %rsi
movq -0x60(%rbp), %rdi
callq 0x1140
testq %rax, %rax
je 0x2ec9
imulq $0x74, %rbx, %rcx
movq %rax, -0x60(%rbp)
leaq (%rax,%rcx), %rbx
addq $0x4, %rbx
xorl %r14d, %r14d
movzwl -0x15e(%rbp), %eax
cmpq %rax, %r14
jae 0x2162
movq -0x50(%rbp), %rdi
leaq -0x160(%rbp), %rsi
callq 0x44bf
testl %eax, %eax
jne 0x2df0
movb -0x15c(%rbp), %al
movb %al, -0x4(%rbx)
pushq $0x1c
popq %rcx
movq %rbx, %rdi
leaq -0x150(%rbp), %rsi
rep  movsl (%rsi), %es:(%rdi)
incq %r14
addq $0x74, %rbx
jmp 0x211d
movq -0xa8(%rbp), %rbx
addq %rbx, %rax
movq %rax, -0xa8(%rbp)
movq -0x48(%rbp), %r14
movq -0x50(%rbp), %rdi
leaq -0x260(%rbp), %rsi
movl -0x70(%rbp), %edx
callq 0x45f6
testl %eax, %eax
jne 0x2df0
movzwl -0x25e(%rbp), %eax
testq %rax, %rax
je 0x2288
addq %r14, %rax
imulq $0x6, %rax, %rsi
movq -0x68(%rbp), %rdi
callq 0x1140
movq %rax, -0x68(%rbp)
testq %rax, %rax
je 0x2ee8
cmpl $0x53, -0x70(%rbp)
jne 0x221e
imulq $0x6, %r14, %rax
movq -0x68(%rbp), %rcx
leaq (%rcx,%rax), %r14
addq $0x2, %r14
xorl %r15d, %r15d
movzwl -0x25e(%rbp), %eax
cmpq %rax, %r15
jae 0x2273
movq -0x50(%rbp), %rdi
leaq -0x260(%rbp), %rsi
callq 0x4349
testl %eax, %eax
jne 0x2e22
movzwl -0x25c(%rbp), %eax
movw %ax, -0x2(%r14)
movl -0x25a(%rbp), %eax
movl %eax, (%r14)
incq %r15
addq $0x6, %r14
jmp 0x21d8
imulq $0x6, %r14, %rax
movq -0x68(%rbp), %rcx
leaq (%rcx,%rax), %r14
addq $0x2, %r14
xorl %r15d, %r15d
movzwl -0x25e(%rbp), %eax
cmpq %rax, %r15
jae 0x2273
movq -0x50(%rbp), %rdi
leaq -0x260(%rbp), %rsi
callq 0x430f
testl %eax, %eax
jne 0x2e22
movzwl -0x25c(%rbp), %eax
movw %ax, -0x2(%r14)
movl -0x25a(%rbp), %eax
movl %eax, (%r14)
incq %r15
addq $0x6, %r14
jmp 0x2231
movq -0x48(%rbp), %rcx
addq %rcx, %rax
movq %rcx, -0xe0(%rbp)
movq %rax, %r14
movq -0x30(%rbp), %r15
movq -0x50(%rbp), %rdi
leaq -0xd0(%rbp), %rsi
callq 0x3ded
testl %eax, %eax
jne 0x2df0
movzwl -0xbc(%rbp), %eax
movq -0x38(%rbp), %rdx
movq -0x58(%rbp), %rsi
movzwl -0xac(%rbp), %ecx
addw -0xe0(%rbp), %cx
testb $0x2, %al
cmovel -0xa0(%rbp), %ecx
movl %ecx, -0xa0(%rbp)
movzwl -0xae(%rbp), %ecx
addw %bx, %cx
testb $0x4, %al
cmovel -0x80(%rbp), %ecx
movl %ecx, -0x80(%rbp)
movzwl -0xb0(%rbp), %ecx
addw %bx, %cx
testb $0x8, %al
cmovel -0x7c(%rbp), %ecx
movl %ecx, -0x7c(%rbp)
testb $0x10, %al
je 0x1efd
cmpl $0x10000, %esi          # imm = 0x10000
jge 0x2e28
imulq $0x30, %r12, %rax
movb $0x0, (%rdx,%rax)
movzwl -0x3c(%rbp), %ecx
movw %cx, 0x1(%rdx,%rax)
movb -0x3a(%rbp), %cl
movb %cl, 0x3(%rdx,%rax)
movl %r13d, 0x4(%rdx,%rax)
movl -0x90(%rbp), %ecx
movl %ecx, 0x8(%rdx,%rax)
movq -0xd8(%rbp), %rcx
movl %ecx, 0xc(%rdx,%rax)
movl -0x94(%rbp), %ecx
movl %ecx, 0x10(%rdx,%rax)
movl -0xa0(%rbp), %ecx
movw %cx, 0x14(%rdx,%rax)
movl -0x7c(%rbp), %ecx
movw %cx, 0x16(%rdx,%rax)
movl -0x80(%rbp), %ecx
movw %cx, 0x18(%rdx,%rax)
movl -0x88(%rbp), %ecx
movl %ecx, 0x1a(%rdx,%rax)
movzwl -0x84(%rbp), %ecx
movw %cx, 0x1e(%rdx,%rax)
orq $-0x1, 0x20(%rdx,%rax)
andq $0x0, 0x28(%rdx,%rax)
incl %esi
movl -0xb8(%rbp), %r13d
movl -0xb4(%rbp), %eax
movl %eax, -0x90(%rbp)
jmp 0x1efd
movq -0x30(%rbp), %r15
jmp 0x1975
movl %r12d, -0x70(%rbp)
pushq $0x1
popq %rax
leaq -0x160(%rbp), %r14
movl $0x0, -0xa8(%rbp)
xorl %ebx, %ebx
movq %r13, %r12
xorl %r13d, %r13d
movq $0x0, -0x38(%rbp)
movl %eax, -0x58(%rbp)
movl %eax, %eax
movq %rax, -0x90(%rbp)
shlq $0x4, %rax
addq -0x60(%rbp), %rax
movq %rax, -0x68(%rbp)
movq %r12, %rdi
leaq -0xd0(%rbp), %rsi
callq 0x3e44
testl %eax, %eax
jne 0x2dfd
movb -0xc0(%rbp), %cl
testb %cl, %cl
je 0x2dfd
andb $-0x2, %cl
movb 0x7d88(%rip), %al       # 0xa198
cmpb $0x2, %cl
jne 0x2528
testl %ebx, %ebx
setne %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0x243d
leaq 0x4271(%rip), %rdi      # 0x669d
pushq $0x5
popq %rsi
pushq $0x1
popq %rdx
movq -0x30(%rbp), %rcx
callq 0x11b0
xorl %ebx, %ebx
cmpl $0x10000, -0x58(%rbp)   # imm = 0x10000
movq -0x38(%rbp), %rcx
ja 0x2455
movq -0x68(%rbp), %rax
movl %r13d, -0x10(%rax)
movl %ecx, -0xc(%rax)
testl %ebx, %ebx
jne 0x2572
cmpb $0x1, 0x7d34(%rip)      # 0xa198
jne 0x254e
movq %r13, -0x48(%rbp)
movl -0xa8(%rbp), %r13d
movl %r13d, %eax
leaq 0x4481(%rip), %rcx      # 0x6900
movl (%rcx,%rax,4), %edx
movq -0x30(%rbp), %r14
movq %r14, %rdi
leaq 0x3fe0(%rip), %rsi      # 0x6470
xorl %eax, %eax
callq 0x10e0
movq %r14, %rdi
leaq 0x3fe7(%rip), %rsi      # 0x6488
movl -0x58(%rbp), %ebx
movl %ebx, %edx
xorl %eax, %eax
callq 0x10e0
movq %r14, %rdi
leaq 0x4030(%rip), %rsi      # 0x64e7
movl %ebx, %edx
xorl %eax, %eax
callq 0x10e0
leaq 0x407c(%rip), %rdi      # 0x6543
pushq $0x12
popq %rsi
pushq $0x1
popq %rdx
movq %r14, %rcx
callq 0x11b0
movq -0x50(%rbp), %rcx
movq -0x48(%rbp), %rax
leal (%rax,%rcx), %edx
movq -0x78(%rbp), %rax
subl 0x8(%rax), %edx
movq -0x38(%rbp), %rbx
addl %ebx, %ecx
subl 0x10(%rax), %ecx
movq %r14, %rdi
leaq 0x405c(%rip), %rsi      # 0x6556
xorl %eax, %eax
callq 0x10e0
movq %rbx, %rcx
xorl %eax, %eax
incl %r13d
cmpl $0x8, %r13d
cmovael %eax, %r13d
movl %r13d, -0xa8(%rbp)
movq -0x48(%rbp), %r13
pushq $0x1
popq %rbx
leaq -0x160(%rbp), %r14
jmp 0x2572
testl %ebx, %ebx
sete %cl
orb %al, %cl
testb $0x1, %cl
jne 0x256e
leaq 0x4162(%rip), %rdi      # 0x669d
pushq $0x5
popq %rsi
pushq $0x1
popq %rdx
movq -0x30(%rbp), %rcx
callq 0x11b0
xorl %ebx, %ebx
jmp 0x256e
leaq 0x3c56(%rip), %rdi      # 0x61ab
pushq $0x1c
popq %rsi
pushq $0x1
popq %rdx
movq -0x30(%rbp), %rcx
callq 0x11b0
pushq $0x1
popq %rbx
leaq -0x160(%rbp), %r14
movq -0x38(%rbp), %rcx
movzbl -0xc0(%rbp), %eax
cmpl $0x1, %eax
je 0x2625
cmpl $0x3, %eax
je 0x25b5
cmpl $0x2, %eax
jne 0x26b2
addl -0xb8(%rbp), %r13d
addl -0xb4(%rbp), %ecx
leaq 0x3c24(%rip), %rsi      # 0x61c8
movq -0x30(%rbp), %rdi
movq -0x78(%rbp), %r12
movq -0x50(%rbp), %rax
jmp 0x2694
addl -0xb8(%rbp), %r13d
addl -0xb4(%rbp), %ecx
movq %rcx, -0x38(%rbp)
movl %ebx, -0x48(%rbp)
movq -0x50(%rbp), %rbx
leal (%rbx,%r13), %edx
movq -0x78(%rbp), %r12
subl 0x8(%r12), %edx
movq -0x38(%rbp), %rax
leal (%rax,%rbx), %ecx
subl 0x10(%r12), %ecx
movq -0x30(%rbp), %r14
movq %r14, %rdi
leaq 0x3bdd(%rip), %rsi      # 0x61d1
xorl %eax, %eax
callq 0x10e0
movq %r14, %rdi
movq -0x38(%rbp), %rcx
movq %rbx, %rax
movl -0x48(%rbp), %ebx
leaq -0x160(%rbp), %r14
addl -0xb0(%rbp), %r13d
addl -0xac(%rbp), %ecx
leaq 0x3ba7(%rip), %rsi      # 0x61ca
jmp 0x2694
testb $0x1, -0xbc(%rbp)
jne 0x26f9
testl %ebx, %ebx
jne 0x2663
testb $0x1, 0x7b5b(%rip)      # 0xa198
jne 0x2663
leaq 0x3b65(%rip), %rdi      # 0x61ab
pushq $0x1c
popq %rsi
pushq $0x1
popq %rdx
movq -0x30(%rbp), %rcx
callq 0x11b0
movq -0x38(%rbp), %rcx
pushq $0x1
popq %rbx
leaq -0x160(%rbp), %r14
testb $0x10, -0xbc(%rbp)
movq -0x50(%rbp), %rax
je 0x267d
movl -0xb8(%rbp), %r13d
movl -0xb4(%rbp), %ecx
testl %ebx, %ebx
je 0x27ad
leaq 0x3b4e(%rip), %rsi      # 0x61da
movq -0x30(%rbp), %rdi
movq -0x78(%rbp), %r12
leal (%rax,%r13), %edx
subl 0x8(%r12), %edx
movq %rcx, -0x38(%rbp)
addl %eax, %ecx
subl 0x10(%r12), %ecx
xorl %eax, %eax
callq 0x10e0
movq %r15, %r12
movb -0xc0(%rbp), %al
andb $-0x2, %al
cmpb $0x2, %al
jne 0x23e2
testl %ebx, %ebx
je 0x26e7
testb $0x1, 0x7acb(%rip)      # 0xa198
je 0x26e7
leaq 0x3fc7(%rip), %rdi      # 0x669d
pushq $0x5
popq %rsi
pushq $0x1
popq %rdx
movq -0x30(%rbp), %rcx
callq 0x11b0
xorl %ebx, %ebx
cmpl $0x10000, -0x58(%rbp)   # imm = 0x10000
ja 0x23e2
jmp 0x27dc
movq %r13, -0x48(%rbp)
movq %r12, %rdi
movq %r14, %rsi
movl -0x70(%rbp), %r12d
movl %r12d, %edx
callq 0x42c9
testl %eax, %eax
jne 0x1a3c
pushq $-0x1
popq %r13
movzwl -0x15e(%rbp), %eax
incl %r13d
movq %r15, %rdi
cmpl %eax, %r13d
jae 0x273e
movq %r14, %rsi
callq 0x44bf
testl %eax, %eax
je 0x271b
jmp 0x1a3c
leaq -0x260(%rbp), %rsi
movl %r12d, %edx
callq 0x45f6
testl %eax, %eax
jne 0x1a3c
pushq $-0x1
popq %r13
cmpl $0x53, %r12d
jne 0x2786
movzwl -0x25e(%rbp), %eax
incl %r13d
cmpl %eax, %r13d
jae 0x27b8
movq %r15, %rdi
leaq -0x260(%rbp), %rsi
callq 0x4349
testl %eax, %eax
je 0x275f
jmp 0x1a3c
movzwl -0x25e(%rbp), %eax
incl %r13d
cmpl %eax, %r13d
jae 0x27b8
movq %r15, %rdi
leaq -0x260(%rbp), %rsi
callq 0x430f
testl %eax, %eax
je 0x2786
jmp 0x1a3c
movq %rcx, -0x38(%rbp)
xorl %ebx, %ebx
jmp 0x26af
movq %r15, %rdi
leaq -0xd0(%rbp), %rsi
callq 0x3ded
testl %eax, %eax
movq -0x48(%rbp), %r13
movq -0x38(%rbp), %rcx
je 0x2632
jmp 0x2dfd
movq -0x90(%rbp), %rdx
shlq $0x4, %rdx
movq -0x60(%rbp), %rax
movl %r13d, -0x8(%rax,%rdx)
movq -0x38(%rbp), %rcx
movl %ecx, -0x4(%rax,%rdx)
movl -0x58(%rbp), %eax
incl %eax
jmp 0x23ca
movq %r14, -0x48(%rbp)
jmp 0x289e
movq %r14, -0x48(%rbp)
cmpl $0x10000, %esi          # imm = 0x10000
movq -0x38(%rbp), %rdx
jge 0x2e2c
imulq $0x30, %r12, %rax
movb $0x0, (%rdx,%rax)
movzwl -0x3c(%rbp), %ecx
movw %cx, 0x1(%rdx,%rax)
movb -0x3a(%rbp), %cl
movb %cl, 0x3(%rdx,%rax)
movl %r13d, 0x4(%rdx,%rax)
movl -0x90(%rbp), %ecx
movl %ecx, 0x8(%rdx,%rax)
movq -0xd8(%rbp), %rcx
movl %ecx, 0xc(%rdx,%rax)
movl -0x94(%rbp), %ecx
movl %ecx, 0x10(%rdx,%rax)
movl -0xa0(%rbp), %ecx
movw %cx, 0x14(%rdx,%rax)
movl -0x7c(%rbp), %ecx
movw %cx, 0x16(%rdx,%rax)
movl -0x80(%rbp), %ecx
movw %cx, 0x18(%rdx,%rax)
movl -0x88(%rbp), %ecx
movl %ecx, 0x1a(%rdx,%rax)
movzwl -0x84(%rbp), %ecx
movw %cx, 0x1e(%rdx,%rax)
orq $-0x1, 0x20(%rdx,%rax)
incl %esi
movq %rsi, -0x58(%rbp)
andq $0x0, 0x28(%rdx,%rax)
leaq 0x3e96(%rip), %rdi      # 0x673b
pushq $0xe
popq %rsi
pushq $0x1
popq %rdx
movq %r15, %rcx
callq 0x11b0
movq -0x58(%rbp), %rdi
movslq %edi, %rbx
movl %ebx, %eax
movq %rax, -0x70(%rbp)
xorl %r14d, %r14d
xorl %r12d, %r12d
movq -0x38(%rbp), %rsi
cmpq -0x70(%rbp), %r12
je 0x2946
imulq $0x30, %r12, %r15
cmpq $-0x1, 0x20(%rsi,%r15)
je 0x28e5
incq %r12
movq -0x30(%rbp), %r15
jmp 0x28ca
addq %rsi, %r15
movl %r12d, %ecx
movl %ecx, %r13d
incl %r13d
cmpq %rbx, %r13
cmovael %r14d, %r13d
cmpq %r13, %r12
je 0x28dc
imulq $0x30, %r13, %rax
cmpq $-0x1, 0x20(%rsi,%rax)
jne 0x28ee
addq %rsi, %rax
movl 0x4(%r15), %edx
cmpl 0x4(%rax), %edx
jne 0x28ee
movl 0x8(%r15), %edx
cmpl 0x8(%rax), %edx
jne 0x28ee
movl %ecx, %edx
movq %rdx, 0x20(%rax)
movq -0x30(%rbp), %rdi
leaq 0x3e1b(%rip), %rsi      # 0x674a
movl %r13d, %edx
xorl %eax, %eax
callq 0x10e0
movq -0x58(%rbp), %rdi
movq -0x38(%rbp), %rsi
movl %r13d, %ecx
jmp 0x28eb
xorl %r12d, %r12d
cmpl %edi, %r12d
jae 0x2c1d
movl %r12d, %r14d
movq %r15, %rdi
leaq 0x3e11(%rip), %rsi      # 0x6770
movl %r12d, %edx
xorl %eax, %eax
callq 0x10e0
movq -0x58(%rbp), %rdi
leal 0x1(%r14), %r12d
movl %r14d, %eax
imulq $0x30, %rax, %r13
movq -0x38(%rbp), %rsi
cmpb $0x0, (%rsi,%r13)
je 0x2949
addq %rsi, %r13
movl %r12d, %eax
imulq $0x30, %rax, %rdx
addq %rsi, %rdx
xorpd %xmm0, %xmm0
movq %r13, %rax
xorl %r8d, %r8d
movq %rdx, %rcx
cmpq %r13, %rax
je 0x29a9
cmpq $-0x1, 0x20(%rax)
jne 0x29db
testq %rcx, %rcx
je 0x2949
movl 0x4(%rcx), %edx
subl 0x4(%rax), %edx
movl 0x8(%rax), %eax
addl 0x8(%rcx), %eax
imull %edx, %eax
cvtsi2sd %eax, %xmm1
addsd %xmm1, %xmm0
incl %r12d
imulq $0x30, %r12, %rdx
addq %rsi, %rdx
cmpl %edi, %r12d
cmovaeq %r8, %rdx
movq %rcx, %rax
jmp 0x299a
subq %rsi, %rax
cqto
pushq $0x30
popq %rcx
idivq %rcx
movq %rax, %rcx
cmpl %ecx, %r14d
jae 0x2949
xorl %ebx, %ebx
ucomisd 0x360c(%rip), %xmm0     # 0x6008
setbe %bl
movzwl 0x16(%r13), %r9d
movzwl 0x18(%r13), %eax
movl %eax, (%rsp)
movq %r15, %rdi
leaq 0x3d7c(%rip), %rsi      # 0x6792
movl %r14d, %edx
movq %rcx, -0x50(%rbp)
movsd %xmm0, -0x90(%rbp)
movl %ebx, %r8d
movb $0x1, %al
callq 0x10e0
movq %rbx, -0xa0(%rbp)
movzwl 0x16(%r13,%rbx,2), %ebx
cmpq %rbx, -0xa8(%rbp)
jb 0x2bef
testw %bx, %bx
movq -0x38(%rbp), %rcx
movq -0x58(%rbp), %rdi
movq -0x50(%rbp), %rax
je 0x2949
movl %eax, %eax
imulq $0x30, %rax, %rax
movl 0x20(%rcx,%rax), %edx
cmpl %edx, %r14d
je 0x2a81
movq %r15, %rdi
leaq 0x3d83(%rip), %rsi      # 0x67fa
movl %r14d, %ecx
xorl %eax, %eax
callq 0x10e0
movzwl %bx, %eax
imulq $0x74, %rax, %rbx
addq -0x60(%rbp), %rbx
leaq 0x3db5(%rip), %rdi      # 0x6848
pushq $0x1c
popq %rsi
pushq $0x1
popq %r13
movq %r13, %rdx
movq %r15, %rcx
callq 0x11b0
cmpb $0x0, -0x74(%rbx)
je 0x2ac2
leaq 0x3dc5(%rip), %rdi      # 0x6877
pushq $0x4
popq %rsi
movq %r13, %rdx
movq %r15, %rcx
callq 0x11b0
jmp 0x2ae5
movzbl -0x70(%rbx), %edx
movzbl -0x6f(%rbx), %ecx
movzbl -0x6e(%rbx), %r8d
movzbl -0x6d(%rbx), %r9d
movq %r15, %rdi
leaq 0x3d87(%rip), %rsi      # 0x6865
xorl %eax, %eax
callq 0x10e0
movsd -0x90(%rbp), %xmm0
ucomisd 0x3513(%rip), %xmm0     # 0x6008
setbe %r12b
leaq 0x36c2(%rip), %rdi      # 0x61c2
pushq $0x5
popq %rsi
movq %r13, %rdx
movq %r15, %rcx
callq 0x11b0
incb %r12b
xorl %r13d, %r13d
leal 0x1(%r14), %ebx
cmpl -0x50(%rbp), %ebx
ja 0x2bc9
movl %r14d, %eax
imulq $0x30, %rax, %rax
movq -0x38(%rbp), %rcx
leaq (%rcx,%rax), %r15
orb %r12b, 0x28(%rcx,%rax)
subl $0x1, %r13d
movq -0x78(%rbp), %r14
jae 0x2b61
movl 0x4(%r15), %edx
movl 0x8(%r15), %ecx
subl 0x8(%r14), %edx
subl 0x10(%r14), %ecx
movq -0x30(%rbp), %rdi
leaq 0x3680(%rip), %rsi      # 0x61da
xorl %eax, %eax
callq 0x10e0
movzbl (%r15), %eax
leaq 0x365c(%rip), %rsi      # 0x61c8
cmpl $0x2, %eax
je 0x2ba6
movl %ebx, %r14d
cmpl $0x3, %eax
jne 0x2b14
movl 0xc(%r15), %edx
movl 0x10(%r15), %ecx
movq -0x78(%rbp), %r14
subl 0x8(%r14), %edx
subl 0x10(%r14), %ecx
movq -0x30(%rbp), %rdi
leaq 0x3639(%rip), %rsi      # 0x61d1
xorl %eax, %eax
callq 0x10e0
leaq 0x3624(%rip), %rsi      # 0x61ca
movl 0x34(%r15), %edx
movl 0x38(%r15), %ecx
subl 0x8(%r14), %edx
subl 0x10(%r14), %ecx
movq -0x30(%rbp), %rdi
xorl %eax, %eax
callq 0x10e0
movl %ebx, %r14d
jmp 0x2b14
leaq 0x3acd(%rip), %rdi      # 0x669d
pushq $0x5
popq %rsi
pushq $0x1
popq %rdx
movq -0x30(%rbp), %r15
movq %r15, %rcx
callq 0x11b0
movq -0x50(%rbp), %r12
movq -0x58(%rbp), %rdi
jmp 0x2949
movq 0x7402(%rip), %rax      # 0x9ff8
movq (%rax), %rcx
leaq 0x3bd9(%rip), %rdi      # 0x67d9
pushq $0x20
popq %rsi
pushq $0x1
popq %rdx
callq 0x11b0
movq -0xa0(%rbp), %rax
movzwl 0x16(%r13,%rax,2), %ebx
jmp 0x2a49
leaq 0x3c58(%rip), %rdi      # 0x687c
pushq $0x11
popq %rsi
pushq $0x1
popq %rdx
movq %r15, %rcx
callq 0x11b0
xorl %r12d, %r12d
movq -0x38(%rbp), %rdx
movq -0x48(%rbp), %r14
leal 0x1(%r12), %ebx
cmpl -0x70(%rbp), %ebx
jae 0x2ddb
movl %r12d, %eax
imulq $0x30, %rax, %rax
leaq (%rdx,%rax), %r13
movzwl 0x14(%rdx,%rax), %eax
movzwl %ax, %ecx
cmpq %rcx, %r14
jb 0x2c7f
movl %ebx, %r12d
testw %ax, %ax
je 0x2c3d
movl %ebx, %r12d
cmpq %rcx, %r14
jb 0x2c3d
cmpb $0x0, (%r13)
movl %ebx, %r12d
jne 0x2ca9
jmp 0x2c3d
movq 0x7372(%rip), %rax      # 0x9ff8
movq (%rax), %rcx
leaq 0x3b49(%rip), %rdi      # 0x67d9
pushq $0x20
popq %rsi
pushq $0x1
popq %rdx
callq 0x11b0
movq -0x38(%rbp), %rdx
movzwl 0x14(%r13), %eax
movzwl %ax, %ecx
jmp 0x2c63
movq -0x68(%rbp), %r12
testq %r12, %r12
je 0x2e4d
movl %ebx, %r14d
imulq $0x30, %r14, %r15
addq %rdx, %r15
movzwl %ax, %edx
imulq $0x6, %rcx, %rbx
movq -0x30(%rbp), %rdi
leaq 0x3bbc(%rip), %rsi      # 0x688e
xorl %eax, %eax
callq 0x10e0
movzbl -0x4(%r12,%rbx), %edx
movzbl -0x3(%r12,%rbx), %ecx
movzbl -0x2(%r12,%rbx), %r8d
movzbl -0x1(%r12,%rbx), %r9d
movzwl -0x6(%r12,%rbx), %eax
movl %eax, (%rsp)
movq -0x30(%rbp), %rbx
movq %rbx, %rdi
leaq 0x3b9d(%rip), %rsi      # 0x68a5
xorl %eax, %eax
callq 0x10e0
movl 0x4(%r13), %edx
movl 0x8(%r13), %ecx
movq -0x78(%rbp), %rax
subl 0x8(%rax), %edx
subl 0x10(%rax), %ecx
movq %rbx, %rdi
leaq 0x34af(%rip), %rsi      # 0x61da
xorl %eax, %eax
callq 0x10e0
movb (%r13), %al
movq %r14, %r12
movq %r15, %rbx
movq -0x78(%rbp), %rcx
movl 0x8(%rcx), %edi
movl 0x10(%rcx), %esi
cmpb $0x2, %al
jne 0x2d68
movl 0x4(%rbx), %edx
movl 0x8(%rbx), %ecx
subl %edi, %edx
subl %esi, %ecx
movq -0x30(%rbp), %rdi
leaq 0x3469(%rip), %rsi      # 0x61c8
xorl %eax, %eax
callq 0x10e0
jmp 0x2d94
movl 0xc(%r13), %edx
movl 0x10(%r13), %ecx
subl %edi, %edx
subl %esi, %ecx
movl 0x4(%rbx), %r8d
movl 0x8(%rbx), %r9d
subl %edi, %r8d
subl %esi, %r9d
movq -0x30(%rbp), %rdi
leaq 0x3b5d(%rip), %rsi      # 0x68ea
xorl %eax, %eax
callq 0x10e0
cmpq $0xffff, %r12           # imm = 0xFFFF
ja 0x2dbd
movb (%rbx), %al
testb %al, %al
je 0x2dbd
leaq 0x1(%r12), %r14
movzwl 0x14(%rbx), %ecx
leaq 0x30(%rbx), %r15
movq %rbx, %r13
cmpw 0x44(%rbx), %cx
je 0x2d36
leaq 0x38d9(%rip), %rdi      # 0x669d
pushq $0x5
popq %rsi
pushq $0x1
popq %rdx
movq -0x30(%rbp), %r15
movq %r15, %rcx
callq 0x11b0
jmp 0x2c35
leaq 0x3401(%rip), %rdi      # 0x61e3
pushq $0x7
popq %rsi
pushq $0x1
popq %rdx
movq %r15, %rcx
callq 0x11b0
movq -0x60(%rbp), %r12
movq -0x68(%rbp), %r13
jmp 0x1975
testl %ebx, %ebx
movq -0x30(%rbp), %r14
je 0x2e1a
leaq 0x3891(%rip), %rdi      # 0x669d
pushq $0x5
popq %rsi
pushq $0x1
popq %rdx
movq %r14, %rcx
callq 0x11b0
movl -0x58(%rbp), %eax
jmp 0x1c70
movq -0x30(%rbp), %r15
jmp 0x2df0
movq %r14, -0x48(%rbp)
movq 0x71c5(%rip), %rax      # 0x9ff8
movq (%rax), %rcx
leaq 0x38d8(%rip), %rdi      # 0x6715
pushq $0x1a
popq %rsi
pushq $0x1
popq %rdx
callq 0x11b0
jmp 0x289e
leaq 0x38b1(%rip), %rdi      # 0x6705
leaq 0x35b1(%rip), %rsi      # 0x640c
leaq 0x3859(%rip), %rcx      # 0x66bb
movl $0x2b4, %edx            # imm = 0x2B4
callq 0x1080
leaq 0x3838(%rip), %rdi      # 0x66ab
leaq 0x3592(%rip), %rsi      # 0x640c
leaq 0x383a(%rip), %rcx      # 0x66bb
movl $0x177, %edx            # imm = 0x177
callq 0x1080
leaq 0x3873(%rip), %rdi      # 0x6705
leaq 0x3573(%rip), %rsi      # 0x640c
leaq 0x381b(%rip), %rcx      # 0x66bb
movl $0x183, %edx            # imm = 0x183
callq 0x1080
leaq 0x354b(%rip), %rdi      # 0x63fc
leaq 0x3554(%rip), %rsi      # 0x640c
leaq 0x355a(%rip), %rcx      # 0x6419
movl $0xae, %edx
callq 0x1080
leaq 0x3860(%rip), %rdi      # 0x6730
leaq 0x3535(%rip), %rsi      # 0x640c
leaq 0x37dd(%rip), %rcx      # 0x66bb
movl $0x1e9, %edx            # imm = 0x1E9
callq 0x1080
leaq 0x3841(%rip), %rdi      # 0x6730
leaq 0x3516(%rip), %rsi      # 0x640c
leaq 0x37be(%rip), %rcx      # 0x66bb
movl $0x1f7, %edx            # imm = 0x1F7
callq 0x1080
nop