// File: /workspace/github_c_makefile_star2_O3/jsummers[P]deark/src/fmtutil-lzw.c
// Function: my_lzw_codec_addbuf
static void my_lzw_codec_addbuf(struct de_dfilter_ctx *dfctx,
	const u8 *buf, i64 buf_len)
{
	delzwctx *dc = (delzwctx*)dfctx->codec_private;

	if(!dc) return;
	delzw_addbuf(dc, buf, buf_len);
	if(dc->state == DELZW_STATE_FINISHED) {
		dfctx->finished_flag = 1;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq 0x28(%rdi), %r14
testq %r14, %r14
je 0x1036cf
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, 0x10(%rsp)
cmpl $0x3, 0x10(%r14)
jl 0x1025e6
leaq 0x49686(%rip), %rdx     # 0x14bc5a
movq %r14, %rdi
movl $0x3, %esi
movq %r15, %rcx
xorl %eax, %eax
callq 0x103b39
testq %r15, %r15
jle 0x1036bf
leaq 0xb8(%r14), %rax
movq %rax, 0x8(%rsp)
xorl %ebx, %ebx
cmpl $0x0, 0x60(%r14)
jne 0x1036bf
movl 0x64(%r14), %ecx
cmpl $0x3, %ecx
je 0x1036bf
movb 0x31(%r14), %al
testb %al, %al
je 0x10262b
movq 0x70(%r14), %rdx
cmpq 0x38(%r14), %rdx
jge 0x10369a
movb (%r12,%rbx), %r13b
cmpl $0x2, %ecx
je 0x10323f
cmpl $0x1, %ecx
je 0x1026de
testl %ecx, %ecx
jne 0x103255
movl 0x14(%r14), %ecx
leal -0x1(%rcx), %edx
cmpl $0xb, %edx
ja 0x102677
cmpl $0x1, %ecx
jne 0x1026d6
movl 0x1c(%r14), %ecx
testb $0x1, %cl
jne 0x1026a0
movb $0x1, 0x41(%r14)
testb $0x2, %cl
jne 0x1026b2
movl 0x24(%r14), %edx
movl %edx, 0x48(%r14)
jmp 0x1026c2
movq %r14, %rdi
movl $0x9, %esi
leaq 0x495f0(%rip), %rdx     # 0x14bc76
callq 0x103bf6
cmpl $0x0, 0x60(%r14)
movl $0x1, 0x64(%r14)
jne 0x103255
jmp 0x1026de
movl $0x1, 0x2c(%r14)
movq $0x3, 0x50(%r14)
jmp 0x1026c2
movl $0x2, 0x2c(%r14)
movq $0x1, 0x50(%r14)
testb %al, %al
setne %al
testb $0x4, %cl
sete %cl
orb %al, %cl
jne 0x1026d6
movb $0x1, 0x30(%r14)
movl $0x1, 0x64(%r14)
movq 0x50(%r14), %rax
movq 0x68(%r14), %rcx
cmpq %rax, %rcx
jge 0x1026f8
movb %r13b, 0xe0(%r14,%rcx)
jmp 0x103255
testq %rax, %rax
je 0x10286c
movq %r14, %rdi
movl $0x2, %esi
leaq 0x49595(%rip), %rdx     # 0x14bca5
xorl %eax, %eax
callq 0x103b39
movl 0x2c(%r14), %eax
cmpl $0x2, %eax
je 0x10278c
cmpl $0x1, %eax
jne 0x1027cf
cmpb $0x1f, 0xe0(%r14)
jne 0x1027b7
cmpb $-0x63, 0xe1(%r14)
jne 0x1027b7
movzbl 0xe2(%r14), %ecx
movb %cl, 0x5c(%r14)
movl %ecx, %r8d
andl $0x1f, %r8d
movb %r8b, 0x5d(%r14)
movl %ecx, %r9d
shrl $0x7, %r9d
movb %r9b, 0x5e(%r14)
movq %r14, %rdi
movl $0x2, %esi
leaq 0x4959f(%rip), %rdx     # 0x14bd11
xorl %eax, %eax
callq 0x103b39
movzbl 0x5d(%r14), %eax
movl %eax, 0x48(%r14)
movb 0x5e(%r14), %al
movb %al, 0x41(%r14)
jmp 0x1027cb
movzbl 0xe0(%r14), %ecx
andl $0x1f, %ecx
movb %cl, 0x5d(%r14)
movl %ecx, 0x48(%r14)
movq %r14, %rdi
movl $0x2, %esi
leaq 0x4958d(%rip), %rdx     # 0x14bd3b
xorl %eax, %eax
callq 0x103b39
jmp 0x1027cb
movq %r14, %rdi
movl $0x2, %esi
leaq 0x49534(%rip), %rdx     # 0x14bcfa
callq 0x103bf6
movl 0x2c(%r14), %eax
movq (%r14), %rbp
cmpl $0x2, %eax
je 0x102856
cmpl $0x1, %eax
jne 0x10286c
movzbl 0x5c(%r14), %edx
movq %rbp, %rdi
leaq 0x4955e(%rip), %rsi     # 0x14bd4d
xorl %eax, %eax
callq 0xe8617
movq %rbp, %rdi
movl $0x1, %esi
callq 0xe8a15
movzbl 0x5d(%r14), %edx
movq %rbp, %rdi
leaq 0x495b6(%rip), %rsi     # 0x14bdc8
xorl %eax, %eax
callq 0xe8617
movzbl 0x5e(%r14), %edx
movq %rbp, %rdi
leaq 0x49536(%rip), %rsi     # 0x14bd5e
xorl %eax, %eax
callq 0xe8617
cmpb $0x0, 0x5e(%r14)
jne 0x102847
movq %rbp, %rdi
leaq 0x4952c(%rip), %rsi     # 0x14bd6c
xorl %eax, %eax
callq 0xe8faa
movq %rbp, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0xe8a15
jmp 0x10286c
movzbl 0x5d(%r14), %edx
movq %rbp, %rdi
leaq 0x4955f(%rip), %rsi     # 0x14bdc4
xorl %eax, %eax
callq 0xe8617
movq %r14, %rdi
movl $0x2, %esi
leaq 0x4943c(%rip), %rdx     # 0x14bcb7
xorl %eax, %eax
callq 0x103b39
movl 0x14(%r14), %ecx
decl %ecx
cmpl $0xb, %ecx
ja 0x102938
movl $0xe, %eax
leaq 0x492c3(%rip), %rdx     # 0x14bb60
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
movw $0x101, 0x58(%r14)      # imm = 0x101
movb $0x1, 0x40(%r14)
jmp 0x102952
movb $0x1, %al
movb %al, 0x58(%r14)
movb %al, 0x40(%r14)
movl $0xd, %eax
jmp 0x102963
movb $0x1, 0x58(%r14)
movl $0xa, %eax
jmp 0x102963
movb $0x1, %al
movb %al, 0x58(%r14)
movb %al, 0x40(%r14)
movl 0x20(%r14), %ecx
incl %ecx
movl %ecx, 0x44(%r14)
movl $0xc, 0x48(%r14)
xorl %eax, %eax
jmp 0x102967
movb $0x1, %al
movb %al, 0x58(%r14)
movb %al, 0x5a(%r14)
movl $0xd, 0x48(%r14)
jmp 0x102938
movb $0x1, 0x5b(%r14)
movabsq $0xc0000000c, %rax      # imm = 0xC0000000C
movq %rax, 0x44(%r14)
movl $0xc, %r8d
movl $0xc, %ecx
jmp 0x10299d
movb $0x1, %al
movb %al, 0x58(%r14)
movb %al, 0x40(%r14)
xorl %eax, %eax
jmp 0x102963
movb $0x1, %al
movb %al, 0x58(%r14)
movb %al, 0x40(%r14)
jmp 0x102952
movb $0x1, %al
movb %al, 0x40(%r14)
movb %al, 0x59(%r14)
movl $0xc, %eax
jmp 0x102963
movb $0x1, %cl
movb %cl, 0x59(%r14)
movb %cl, 0x40(%r14)
movl 0x44(%r14), %ecx
testl %ecx, %ecx
jne 0x102978
movl $0x9, 0x44(%r14)
movl $0x9, %ecx
movl 0x48(%r14), %r8d
testl %r8d, %r8d
jne 0x102991
movl 0x24(%r14), %edx
testl %edx, %edx
cmovnel %edx, %eax
movl %eax, 0x48(%r14)
movl %eax, %r8d
leal -0x11(%rcx), %eax
cmpl $-0xe, %eax
jb 0x102a81
cmpl %r8d, %ecx
ja 0x102a81
leal -0x11(%r8), %eax
cmpl $-0xf, %eax
jbe 0x102a81
movq %r14, %rdi
movl $0x2, %esi
leaq 0x49322(%rip), %rdx     # 0x14bce4
xorl %eax, %eax
callq 0x103b39
movl 0x44(%r14), %eax
movl %eax, 0x90(%r14)
movb 0x48(%r14), %cl
movl $0x1, %esi
shlq %cl, %rsi
movl %esi, 0xc8(%r14)
movq (%r14), %rdi
movl $0x6, %edx
callq 0xe96f7
movq %rax, 0xd0(%r14)
cmpb $0x0, 0x5b(%r14)
je 0x102a1d
movq (%r14), %rdi
movl 0xc8(%r14), %esi
movl $0x2, %edx
callq 0xe96f7
movq %rax, 0xd8(%r14)
movl 0xc8(%r14), %esi
movq %rsi, 0xe8(%r14)
movq (%r14), %rdi
callq 0xe8b2b
movq %rax, 0xf0(%r14)
movl 0x14(%r14), %eax
decl %eax
cmpl $0xb, %eax
ja 0x102c9f
leaq 0x49140(%rip), %rcx     # 0x14bb90
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0xd0(%r14), %rax
leaq 0x3(%rax), %rcx
xorl %edx, %edx
movb $0x1, (%rcx)
movb %dl, -0x1(%rcx)
incq %rdx
addq $0x6, %rcx
cmpq $0x100, %rdx            # imm = 0x100
jne 0x102a66
jmp 0x102b4c
movq %r14, %rdi
movl $0x9, %esi
leaq 0x49236(%rip), %rdx     # 0x14bcc6
xorl %eax, %eax
callq 0x103c69
jmp 0x103230
movq 0xd0(%r14), %rax
leaq 0x3(%rax), %rcx
xorl %edx, %edx
movb $0x1, (%rcx)
movb %dl, -0x1(%rcx)
incq %rdx
addq $0x6, %rcx
cmpq $0x100, %rdx            # imm = 0x100
jne 0x102aa9
jmp 0x102b8e
movq 0xd0(%r14), %rax
addq $0x3, %rax
xorl %ecx, %ecx
movb $0x1, (%rax)
movb %cl, -0x1(%rax)
incq %rcx
addq $0x6, %rax
cmpq $0x100, %rcx            # imm = 0x100
jne 0x102ad1
jmp 0x102b9a
movq 0xd0(%r14), %rax
leaq 0x3(%rax), %rcx
xorl %edx, %edx
movb $0x1, (%rcx)
movb %dl, -0x1(%rcx)
incq %rdx
addq $0x6, %rcx
cmpq $0x100, %rdx            # imm = 0x100
jne 0x102af9
movb $0x0, 0x603(%rax)
movb $0xa, 0x609(%rax)
movb $0x9, 0x60f(%rax)
jmp 0x102c93
movq 0xd0(%r14), %rax
leaq 0x3(%rax), %rcx
xorl %edx, %edx
movb $0x1, (%rcx)
movb %dl, -0x1(%rcx)
incq %rdx
addq $0x6, %rcx
cmpq $0x100, %rdx            # imm = 0x100
jne 0x102b36
movb $0x8, 0x603(%rax)
movb $0x9, 0x609(%rax)
movl $0x102, %eax            # imm = 0x102
jmp 0x102c98
movq 0xd0(%r14), %rax
leaq 0x3(%rax), %rcx
xorl %edx, %edx
movb $0x1, (%rcx)
movb %dl, -0x1(%rcx)
incq %rdx
addq $0x6, %rcx
cmpq $0x100, %rdx            # imm = 0x100
jne 0x102b71
cmpb $0x0, 0x41(%r14)
je 0x102b9a
movb $0x8, 0x603(%rax)
jmp 0x102c54
movl $0x100, %eax            # imm = 0x100
jmp 0x102c98
movq 0xd0(%r14), %rax
leaq 0x3(%rax), %rcx
xorl %edx, %edx
movb $0x1, (%rcx)
movb %dl, -0x1(%rcx)
incq %rdx
addq $0x6, %rcx
cmpq $0x100, %rdx            # imm = 0x100
jne 0x102bb1
movb $0xf, 0x603(%rax)
jmp 0x102c54
movb 0x20(%r14), %cl
movl $0x1, %eax
shlq %cl, %rax
movq 0xd0(%r14), %rcx
leaq 0x3(%rcx), %rdx
xorl %esi, %esi
movl $0x100, %r8d            # imm = 0x100
movb $0x1, (%rdx)
cmpl %r8d, %esi
movl $0x100, %edi            # imm = 0x100
cmovbl %esi, %edi
movb %dil, -0x1(%rdx)
incq %rsi
addq $0x6, %rdx
cmpq %rsi, %rax
jne 0x102bf2
leaq (%rax,%rax,2), %rdx
movb $0x8, 0x3(%rcx,%rdx,2)
leal 0x1(%rax), %edx
leaq (%rdx,%rdx,2), %rdx
movb $0x9, 0x3(%rcx,%rdx,2)
addl $0x2, %eax
jmp 0x102c98
movq 0xd0(%r14), %rax
leaq 0x3(%rax), %rcx
xorl %edx, %edx
movb $0x1, (%rcx)
movb %dl, -0x1(%rcx)
incq %rdx
addq $0x6, %rcx
cmpq $0x100, %rdx            # imm = 0x100
jne 0x102c37
movb $0x0, 0x603(%rax)
movl $0x101, %eax            # imm = 0x101
jmp 0x102c98
movq 0xd0(%r14), %rax
leaq 0x3(%rax), %rcx
xorl %edx, %edx
movb $0x1, (%rcx)
movb %dl, -0x1(%rcx)
incq %rdx
addq $0x6, %rcx
cmpq $0x100, %rdx            # imm = 0x100
jne 0x102c68
movb $0x9, 0x603(%rax)
movb $0xa, 0x609(%rax)
movb $0x8, 0x60f(%rax)
movl $0x103, %eax            # imm = 0x103
movl %eax, 0xac(%r14)
movb 0x5b(%r14), %r8b
testb %r8b, %r8b
sete %al
movl 0xc8(%r14), %ecx
movl %ecx, %ebp
testl %ecx, %ecx
sete %cl
orb %al, %cl
jne 0x102cf0
movq 0xd8(%r14), %rdi
leaq (,%rbp,2), %rdx
movl $0xff, %esi
movb %r13b, 0x7(%rsp)
movq %r15, %r13
movq %r12, %r15
movl %r8d, %r12d
callq 0x18140
movl %r12d, %r8d
movq %r15, %r12
movq %r13, %r15
movb 0x7(%rsp), %r13b
movl 0xac(%r14), %eax
cmpl %ebp, %eax
movdqa 0x2d9de(%rip), %xmm8    # 0x1306e0
pcmpeqd %xmm9, %xmm9
jae 0x1031b4
movq 0xd0(%r14), %rdx
subq %rax, %rbp
leaq 0xf(%rbp), %rcx
andq $-0x10, %rcx
decq %rbp
movq %rbp, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
leaq (%rax,%rax,2), %rsi
leaq (%rdx,%rsi,2), %rdx
addq $0x5d, %rdx
xorl %esi, %esi
movq %rsi, %xmm1
pshufd $0x44, %xmm1, %xmm1     # xmm1 = xmm1[0,1,0,1]
movdqa %xmm1, %xmm3
por 0x2d980(%rip), %xmm3    # 0x1306d0
movdqa %xmm0, %xmm2
pxor %xmm8, %xmm2
pxor %xmm8, %xmm3
movdqa %xmm3, %xmm5
pcmpgtd %xmm2, %xmm5
pshufd $0xa0, %xmm5, %xmm4     # xmm4 = xmm5[0,0,2,2]
pshuflw $0xe8, %xmm4, %xmm6     # xmm6 = xmm4[0,2,2,3,4,5,6,7]
pcmpeqd %xmm2, %xmm3
pshufd $0xf5, %xmm3, %xmm3     # xmm3 = xmm3[1,1,3,3]
pshuflw $0xe8, %xmm3, %xmm7     # xmm7 = xmm3[0,2,2,3,4,5,6,7]
pand %xmm6, %xmm7
pshufd $0xf5, %xmm5, %xmm5     # xmm5 = xmm5[1,1,3,3]
pshuflw $0xe8, %xmm5, %xmm6     # xmm6 = xmm5[0,2,2,3,4,5,6,7]
por %xmm7, %xmm6
pxor %xmm9, %xmm6
packssdw %xmm6, %xmm6
movd %xmm6, %edi
testb $0x1, %dil
je 0x102da7
movb $0x2, -0x5a(%rdx)
pand %xmm4, %xmm3
por %xmm5, %xmm3
packssdw %xmm3, %xmm3
pxor %xmm9, %xmm3
packssdw %xmm3, %xmm3
packsswb %xmm3, %xmm3
movd %xmm3, %edi
shrl $0x8, %edi
testb $0x1, %dil
je 0x102dd1
movb $0x2, -0x54(%rdx)
movdqa %xmm1, %xmm4
por 0x2f7d3(%rip), %xmm4    # 0x1325b0
pxor %xmm8, %xmm4
movdqa %xmm4, %xmm5
pcmpgtd %xmm2, %xmm5
pshufd $0xa0, %xmm5, %xmm3     # xmm3 = xmm5[0,0,2,2]
pcmpeqd %xmm2, %xmm4
pshufd $0xf5, %xmm4, %xmm4     # xmm4 = xmm4[1,1,3,3]
movdqa %xmm4, %xmm6
pand %xmm3, %xmm6
pshufd $0xf5, %xmm5, %xmm5     # xmm5 = xmm5[1,1,3,3]
por %xmm5, %xmm6
packssdw %xmm6, %xmm6
pxor %xmm9, %xmm6
packssdw %xmm6, %xmm6
packsswb %xmm6, %xmm6
movd %xmm6, %edi
shrl $0x10, %edi
testb $0x1, %dil
je 0x102e2b
movb $0x2, -0x4e(%rdx)
pshufhw $0x84, %xmm3, %xmm3     # xmm3 = xmm3[0,1,2,3,4,5,4,6]
pshufhw $0x84, %xmm4, %xmm4     # xmm4 = xmm4[0,1,2,3,4,5,4,6]
pand %xmm3, %xmm4
pshufhw $0x84, %xmm5, %xmm3     # xmm3 = xmm5[0,1,2,3,4,5,4,6]
por %xmm4, %xmm3
pxor %xmm9, %xmm3
packssdw %xmm3, %xmm3
packsswb %xmm3, %xmm3
movd %xmm3, %edi
shrl $0x18, %edi
testb $0x1, %dil
je 0x102e60
movb $0x2, -0x48(%rdx)
movdqa %xmm1, %xmm3
por 0x433e4(%rip), %xmm3    # 0x146250
pxor %xmm8, %xmm3
movdqa %xmm3, %xmm5
pcmpgtd %xmm2, %xmm5
pshufd $0xa0, %xmm5, %xmm4     # xmm4 = xmm5[0,0,2,2]
pshuflw $0xe8, %xmm4, %xmm6     # xmm6 = xmm4[0,2,2,3,4,5,6,7]
pcmpeqd %xmm2, %xmm3
pshufd $0xf5, %xmm3, %xmm3     # xmm3 = xmm3[1,1,3,3]
pshuflw $0xe8, %xmm3, %xmm7     # xmm7 = xmm3[0,2,2,3,4,5,6,7]
pand %xmm6, %xmm7
pshufd $0xf5, %xmm5, %xmm5     # xmm5 = xmm5[1,1,3,3]
pshuflw $0xe8, %xmm5, %xmm6     # xmm6 = xmm5[0,2,2,3,4,5,6,7]
por %xmm7, %xmm6
pxor %xmm9, %xmm6
packssdw %xmm6, %xmm6
packsswb %xmm6, %xmm6
pextrw $0x2, %xmm6, %edi
testb $0x1, %dil
je 0x102ebf
movb $0x2, -0x42(%rdx)
pand %xmm4, %xmm3
por %xmm5, %xmm3
packssdw %xmm3, %xmm3
pxor %xmm9, %xmm3
packssdw %xmm3, %xmm3
packsswb %xmm3, %xmm3
pextrw $0x2, %xmm3, %edi
shrl $0x8, %edi
testb $0x1, %dil
je 0x102eea
movb $0x2, -0x3c(%rdx)
movdqa %xmm1, %xmm4
por 0x4334a(%rip), %xmm4    # 0x146240
pxor %xmm8, %xmm4
movdqa %xmm4, %xmm5
pcmpgtd %xmm2, %xmm5
pshufd $0xa0, %xmm5, %xmm3     # xmm3 = xmm5[0,0,2,2]
pcmpeqd %xmm2, %xmm4
pshufd $0xf5, %xmm4, %xmm4     # xmm4 = xmm4[1,1,3,3]
movdqa %xmm4, %xmm6
pand %xmm3, %xmm6
pshufd $0xf5, %xmm5, %xmm5     # xmm5 = xmm5[1,1,3,3]
por %xmm5, %xmm6
packssdw %xmm6, %xmm6
pxor %xmm9, %xmm6
packssdw %xmm6, %xmm6
packsswb %xmm6, %xmm6
pextrw $0x3, %xmm6, %edi
testb $0x1, %dil
je 0x102f42
movb $0x2, -0x36(%rdx)
pshufhw $0x84, %xmm3, %xmm3     # xmm3 = xmm3[0,1,2,3,4,5,4,6]
pshufhw $0x84, %xmm4, %xmm4     # xmm4 = xmm4[0,1,2,3,4,5,4,6]
pand %xmm3, %xmm4
pshufhw $0x84, %xmm5, %xmm3     # xmm3 = xmm5[0,1,2,3,4,5,4,6]
por %xmm4, %xmm3
pxor %xmm9, %xmm3
packssdw %xmm3, %xmm3
packsswb %xmm3, %xmm3
pextrw $0x3, %xmm3, %edi
shrl $0x8, %edi
testb $0x1, %dil
je 0x102f78
movb $0x2, -0x30(%rdx)
movdqa %xmm1, %xmm3
por 0x432ac(%rip), %xmm3    # 0x146230
pxor %xmm8, %xmm3
movdqa %xmm3, %xmm5
pcmpgtd %xmm2, %xmm5
pshufd $0xa0, %xmm5, %xmm4     # xmm4 = xmm5[0,0,2,2]
pshuflw $0xe8, %xmm4, %xmm6     # xmm6 = xmm4[0,2,2,3,4,5,6,7]
pcmpeqd %xmm2, %xmm3
pshufd $0xf5, %xmm3, %xmm3     # xmm3 = xmm3[1,1,3,3]
pshuflw $0xe8, %xmm3, %xmm7     # xmm7 = xmm3[0,2,2,3,4,5,6,7]
pand %xmm6, %xmm7
pshufd $0xf5, %xmm5, %xmm5     # xmm5 = xmm5[1,1,3,3]
pshuflw $0xe8, %xmm5, %xmm6     # xmm6 = xmm5[0,2,2,3,4,5,6,7]
por %xmm7, %xmm6
pxor %xmm9, %xmm6
packssdw %xmm6, %xmm6
packsswb %xmm6, %xmm6
pextrw $0x4, %xmm6, %edi
testb $0x1, %dil
je 0x102fd7
movb $0x2, -0x2a(%rdx)
pand %xmm4, %xmm3
por %xmm5, %xmm3
packssdw %xmm3, %xmm3
pxor %xmm9, %xmm3
packssdw %xmm3, %xmm3
packsswb %xmm3, %xmm3
pextrw $0x4, %xmm3, %edi
shrl $0x8, %edi
testb $0x1, %dil
je 0x103002
movb $0x2, -0x24(%rdx)
movdqa %xmm1, %xmm4
por 0x43212(%rip), %xmm4    # 0x146220
pxor %xmm8, %xmm4
movdqa %xmm4, %xmm5
pcmpgtd %xmm2, %xmm5
pshufd $0xa0, %xmm5, %xmm3     # xmm3 = xmm5[0,0,2,2]
pcmpeqd %xmm2, %xmm4
pshufd $0xf5, %xmm4, %xmm4     # xmm4 = xmm4[1,1,3,3]
movdqa %xmm4, %xmm6
pand %xmm3, %xmm6
pshufd $0xf5, %xmm5, %xmm5     # xmm5 = xmm5[1,1,3,3]
por %xmm5, %xmm6
packssdw %xmm6, %xmm6
pxor %xmm9, %xmm6
packssdw %xmm6, %xmm6
packsswb %xmm6, %xmm6
pextrw $0x5, %xmm6, %edi
testb $0x1, %dil
je 0x10305a
movb $0x2, -0x1e(%rdx)
pshufhw $0x84, %xmm3, %xmm3     # xmm3 = xmm3[0,1,2,3,4,5,4,6]
pshufhw $0x84, %xmm4, %xmm4     # xmm4 = xmm4[0,1,2,3,4,5,4,6]
pand %xmm3, %xmm4
pshufhw $0x84, %xmm5, %xmm3     # xmm3 = xmm5[0,1,2,3,4,5,4,6]
por %xmm4, %xmm3
pxor %xmm9, %xmm3
packssdw %xmm3, %xmm3
packsswb %xmm3, %xmm3
pextrw $0x5, %xmm3, %edi
shrl $0x8, %edi
testb $0x1, %dil
je 0x103090
movb $0x2, -0x18(%rdx)
movdqa %xmm1, %xmm3
por 0x43174(%rip), %xmm3    # 0x146210
pxor %xmm8, %xmm3
movdqa %xmm3, %xmm5
pcmpgtd %xmm2, %xmm5
pshufd $0xa0, %xmm5, %xmm4     # xmm4 = xmm5[0,0,2,2]
pshuflw $0xe8, %xmm4, %xmm6     # xmm6 = xmm4[0,2,2,3,4,5,6,7]
pcmpeqd %xmm2, %xmm3
pshufd $0xf5, %xmm3, %xmm3     # xmm3 = xmm3[1,1,3,3]
pshuflw $0xe8, %xmm3, %xmm7     # xmm7 = xmm3[0,2,2,3,4,5,6,7]
pand %xmm6, %xmm7
pshufd $0xf5, %xmm5, %xmm5     # xmm5 = xmm5[1,1,3,3]
pshuflw $0xe8, %xmm5, %xmm6     # xmm6 = xmm5[0,2,2,3,4,5,6,7]
por %xmm7, %xmm6
pxor %xmm9, %xmm6
packssdw %xmm6, %xmm6
packsswb %xmm6, %xmm6
pextrw $0x6, %xmm6, %edi
testb $0x1, %dil
je 0x1030ef
movb $0x2, -0x12(%rdx)
pand %xmm4, %xmm3
por %xmm5, %xmm3
packssdw %xmm3, %xmm3
pxor %xmm9, %xmm3
packssdw %xmm3, %xmm3
packsswb %xmm3, %xmm3
pextrw $0x6, %xmm3, %edi
shrl $0x8, %edi
testb $0x1, %dil
je 0x10311a
movb $0x2, -0xc(%rdx)
por 0x430de(%rip), %xmm1    # 0x146200
pxor %xmm8, %xmm1
movdqa %xmm1, %xmm4
pcmpgtd %xmm2, %xmm4
pshufd $0xa0, %xmm4, %xmm3     # xmm3 = xmm4[0,0,2,2]
pcmpeqd %xmm2, %xmm1
pshufd $0xf5, %xmm1, %xmm1     # xmm1 = xmm1[1,1,3,3]
movdqa %xmm1, %xmm5
pand %xmm3, %xmm5
pshufd $0xf5, %xmm4, %xmm2     # xmm2 = xmm4[1,1,3,3]
por %xmm2, %xmm5
packssdw %xmm5, %xmm4
pxor %xmm9, %xmm4
packssdw %xmm4, %xmm4
packsswb %xmm4, %xmm4
pextrw $0x7, %xmm4, %edi
testb $0x1, %dil
je 0x10316e
movb $0x2, -0x6(%rdx)
pshufhw $0x84, %xmm3, %xmm3     # xmm3 = xmm3[0,1,2,3,4,5,4,6]
pshufhw $0x84, %xmm1, %xmm1     # xmm1 = xmm1[0,1,2,3,4,5,4,6]
pand %xmm3, %xmm1
pshufhw $0x84, %xmm2, %xmm2     # xmm2 = xmm2[0,1,2,3,4,5,4,6]
por %xmm1, %xmm2
pxor %xmm9, %xmm2
packssdw %xmm2, %xmm1
packsswb %xmm1, %xmm1
pextrw $0x7, %xmm1, %edi
shrl $0x8, %edi
testb $0x1, %dil
je 0x1031a3
movb $0x2, (%rdx)
addq $0x10, %rsi
addq $0x60, %rdx
cmpq %rsi, %rcx
jne 0x102d3a
movl %eax, 0xa8(%r14)
testb %r8b, %r8b
je 0x10321b
cmpb $0x0, 0x28(%r14)
je 0x1031d9
movq 0xd0(%r14), %rax
movb $0x9, 0x3(%rax)
incl 0xcc(%r14)
xorl %ebp, %ebp
movzbl %bpl, %edx
movq %r14, %rdi
movl $0xffff, %esi           # imm = 0xFFFF
callq 0x103d44
cmpl $0x0, 0x60(%r14)
jne 0x103211
movq 0xd0(%r14), %rcx
cltq
leaq (%rax,%rax,2), %rax
movb %bpl, 0x2(%rcx,%rax,2)
movb $0x1, 0x3(%rcx,%rax,2)
incl 0xcc(%r14)
incl %ebp
cmpl $0x100, %ebp            # imm = 0x100
jne 0x1031db
movb 0x58(%r14), %al
movb %al, 0xb8(%r14)
movq 0x8(%rsp), %rdi
callq 0xf1bdd
movl $0x2, 0x64(%r14)
cmpl $0x0, 0x60(%r14)
jne 0x103255
movq 0x80(%r14), %rax
testq %rax, %rax
jle 0x10326a
decq %rax
movq %rax, 0x80(%r14)
incq 0x68(%r14)
incq %rbx
cmpq %r15, %rbx
jne 0x1025fd
jmp 0x1036bf
movzbl %r13b, %esi
movq 0x8(%rsp), %rdi
callq 0xf1b5e
cmpl $0x0, 0x60(%r14)
jne 0x103255
cmpb $0x0, 0xb0(%r14)
je 0x103295
movl $0x3, %esi
cmpl $0x8, 0x14(%r14)
je 0x10329c
movl 0x90(%r14), %esi
cmpl %esi, 0xbc(%r14)
jb 0x103255
movq 0x8(%rsp), %rdi
callq 0xf1b93
incq 0x78(%r14)
movq %rax, %rbp
cmpl $0x3, 0x10(%r14)
jl 0x10331b
cmpb $0x0, 0xb0(%r14)
leaq 0x25896(%rip), %rcx     # 0x128b62
leaq 0x41ddd(%rip), %rax     # 0x1450b0
cmoveq %rax, %rcx
movl 0x98(%r14), %r9d
movl 0x9c(%r14), %r10d
movzbl 0xa0(%r14), %r11d
movl 0xa8(%r14), %r13d
subq $0x8, %rsp
movq %r14, %rdi
movl $0x3, %esi
leaq 0x48acd(%rip), %rdx     # 0x14bdd4
movl %ebp, %r8d
xorl %eax, %eax
pushq %r13
pushq %r11
pushq %r10
callq 0x103b39
addq $0x20, %rsp
cmpb $0x0, 0xb0(%r14)
je 0x10336a
movb $0x0, 0xb0(%r14)
movl 0x14(%r14), %eax
cmpl $0x3, %eax
jne 0x103412
cmpl $0x2, %ebp
je 0x103456
cmpl $0x1, %ebp
jne 0x103442
movl 0x90(%r14), %eax
cmpl 0x48(%r14), %eax
jae 0x103442
movq %r14, %rdi
callq 0x103dde
jmp 0x10361a
cmpl %ebp, 0xc8(%r14)
jbe 0x10361a
movq 0xd0(%r14), %rax
movl %ebp, %ecx
leaq (%rcx,%rcx,2), %r13
movzbl 0x3(%rax,%r13,2), %eax
leal -0x1(%rax), %ecx
cmpl $0xe, %ecx
ja 0x103533
leaq 0x48823(%rip), %rdx     # 0x14bbc0
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
cmpb $0x0, 0x94(%r14)
je 0x103502
decb %al
testb $-0x3, %al
je 0x1035ae
movl 0xa8(%r14), %r8d
cmpl %ebp, %r8d
jae 0x1033dc
cmpb $0x0, 0x5a(%r14)
jne 0x1033dc
cmpb $0x0, 0x5b(%r14)
je 0x103638
movl 0x98(%r14), %esi
movzbl 0xa0(%r14), %edx
movq %r14, %rdi
callq 0x104132
cmpl $0x0, 0x60(%r14)
jne 0x1035dd
movl 0x9c(%r14), %esi
movq %r14, %rdi
callq 0x103f76
jmp 0x1035d6
cmpl $0x8, %eax
setne %al
testl %ebp, %ebp
sete %cl
orb %al, %cl
jne 0x10361a
movq %r14, %rdi
movl $0x9, %esi
leaq 0x489c5(%rip), %rdx     # 0x14bdf9
movl %ebp, %ecx
xorl %eax, %eax
callq 0x103c69
jmp 0x10361a
movq %r14, %rdi
movl $0x2, %esi
xorl %edx, %edx
callq 0x103bf6
jmp 0x10361a
movq %r14, %rdi
movl $0x2, %esi
leaq 0x489fd(%rip), %rdx     # 0x14be62
xorl %eax, %eax
callq 0x103b39
movl 0xa4(%r14), %ecx
movl 0xac(%r14), %eax
cmpl %ecx, %eax
ja 0x1034f6
movq 0xd0(%r14), %rdx
movl %eax, %esi
movl %esi, %edi
leaq (%rdi,%rdi,2), %rdi
cmpb $0x3, 0x3(%rdx,%rdi,2)
jne 0x1034ad
leaq (%rdx,%rdi,2), %rdi
movzwl (%rdi), %edi
cmpq $0x101, %rdi            # imm = 0x101
jb 0x1034ad
leaq (%rdi,%rdi,2), %rdi
movb $0x1, 0x4(%rdx,%rdi,2)
incl %esi
cmpl %ecx, %esi
jbe 0x103487
movl %eax, %esi
movl %esi, %esi
leaq (%rsi,%rsi,2), %rdi
cmpb $0x0, 0x4(%rdx,%rdi,2)
je 0x1034cf
leaq (%rdx,%rdi,2), %rdi
addq $0x4, %rdi
movb $0x0, (%rdi)
jmp 0x1034f0
cmpl %esi, %eax
ja 0x1034f0
cmpl %esi, 0xc8(%r14)
jbe 0x1034f0
leaq (%rdx,%rdi,2), %rdi
addq $0x2, %rdi
movb $0x2, 0x1(%rdi)
movw $0x0, -0x2(%rdi)
jmp 0x1034ca
incl %esi
cmpl %ecx, %esi
jbe 0x1034b5
movl %eax, 0xa8(%r14)
jmp 0x10361a
movq %r14, %rdi
movl %ebp, %esi
callq 0x103f76
movl %ebp, 0x98(%r14)
movb $0x1, 0x94(%r14)
movq 0xd0(%r14), %rax
movb 0x2(%rax,%r13,2), %al
movb %al, 0xa0(%r14)
jmp 0x1035dd
movq %r14, %rdi
movl $0x9, %esi
leaq 0x488d4(%rip), %rdx     # 0x14be16
movl %ebp, %ecx
xorl %eax, %eax
callq 0x103c69
jmp 0x1035dd
movq %r14, %rdi
callq 0x103dde
jmp 0x1035dd
cmpl $0x100, %ebp            # imm = 0x100
jne 0x1035dd
cmpl $0x3, 0x14(%r14)
jne 0x1035dd
movb $0x1, 0xb0(%r14)
jmp 0x1035dd
movq %r14, %rdi
callq 0x103e3c
jmp 0x1035dd
cmpl $0x3, 0x64(%r14)
je 0x1035dd
movq %r14, %rdi
movl $0x2, %esi
leaq 0x4869c(%rip), %rdx     # 0x14bc32
leaq 0x1b103(%rip), %rcx     # 0x11e6a0
xorl %eax, %eax
callq 0x103b39
movl $0x3, 0x64(%r14)
jmp 0x1035dd
movq %r14, %rdi
movl %ebp, %esi
callq 0x103f76
cmpl $0x0, 0x60(%r14)
jne 0x1035dd
movl 0x98(%r14), %esi
movzbl 0xa0(%r14), %edx
movq %r14, %rdi
callq 0x104132
movl %ebp, 0x98(%r14)
movq 0x88(%r14), %rax
incq %rax
movq %rax, 0x88(%r14)
cmpl $0x8, 0x14(%r14)
sete %cl
movabsq $-0x7ffffffffffffe01, %rdx # imm = 0x80000000000001FF
andq %rdx, %rax
cmpq $0x100, %rax            # imm = 0x100
sete %al
andb %cl, %al
cmpb $0x1, %al
jne 0x10361a
movb $0x1, 0xb0(%r14)
cmpl $0x2, 0x64(%r14)
jne 0x103255
cmpq $0x0, 0x80(%r14)
jle 0x103278
jmp 0x103255
cmpb $0x0, 0x30(%r14)
je 0x10367d
movq %r14, %rdi
movl $0x1, %esi
leaq 0x48827(%rip), %rdx     # 0x14be75
movl %ebp, %ecx
xorl %eax, %eax
callq 0x103b39
cmpl $0x3, 0x64(%r14)
je 0x1035dd
movq %r14, %rdi
movl $0x2, %esi
leaq 0x485c1(%rip), %rdx     # 0x14bc32
leaq 0x48831(%rip), %rcx     # 0x14bea9
jmp 0x10359d
movq %r14, %rdi
movl $0x2, %esi
leaq 0x4882a(%rip), %rdx     # 0x14beb6
movl %ebp, %ecx
xorl %eax, %eax
callq 0x103c69
jmp 0x1035dd
leaq 0x48591(%rip), %rdx     # 0x14bc32
leaq 0x4856b(%rip), %rcx     # 0x14bc13
movq %r14, %rdi
movl $0x2, %esi
xorl %eax, %eax
callq 0x103b39
movl $0x3, 0x64(%r14)
cmpl $0x3, 0x64(%r14)
movq 0x10(%rsp), %rax
jne 0x1036cf
movb $0x1, 0x20(%rax)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq