// File: /workspace/github_c_makefile_star2_O3/lucvoo[P]sparse-dev/ssa.c
// Function: ssa_convert
void ssa_convert(struct entrypoint *ep)
{
	struct basic_block *bb;
	pseudo_t pseudo;
	int first, last;

	// calculate the number of BBs
	first = ep->entry->bb->nr;
	last = first;
	FOR_EACH_PTR(ep->bbs, bb) {
		int nr = bb->nr;
		if (nr > last)
			last = nr;
		bb->phi_map = NULL;
	} END_FOR_EACH_PTR(bb);

	// try to promote memory accesses to pseudos
	stores = NULL;
	FOR_EACH_PTR(ep->accesses, pseudo) {
		ssa_convert_one_var(ep, pseudo->sym);
	} END_FOR_EACH_PTR(pseudo);

	// rename the converted accesses
	phis_all = phis_used = NULL;
	ssa_rename_insns(ep);
	ssa_rename_phis(ep);

	// remove now dead stores
	remove_dead_stores(stores);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdi, %r13
movq 0x18(%rdi), %rax
testq %rax, %rax
je 0x2a3a8
movq %rax, %rcx
movzwl (%rcx), %edx
testb %dl, %dl
jle 0x2a39f
xorl %esi, %esi
movq 0x18(%rcx,%rsi,8), %rdi
movzwl %dx, %r8d
cmpl $0x100, %r8d            # imm = 0x100
jb 0x2a385
testq %rdi, %rdi
je 0x2a390
movq $0x0, 0x58(%rdi)
movzwl (%rcx), %edx
incq %rsi
movzwl %dx, %edi
movsbq %dil, %rdi
cmpq %rdi, %rsi
jl 0x2a36e
movq 0x10(%rcx), %rcx
cmpq %rax, %rcx
jne 0x2a365
movq $0x0, 0x40635(%rip) # 0x6a9e8
movq 0x10(%r13), %rax
movq %rax, 0x30(%rsp)
testq %rax, %rax
je 0x2aa79
leaq 0x65bac(%rip), %r15     # 0x8ff78
movq 0x30(%rsp), %rbx
movq %r13, 0x8(%rsp)
movzwl (%rbx), %eax
testb %al, %al
jle 0x2aa6a
xorl %esi, %esi
movq %rbx, 0x10(%rsp)
movq 0x18(%rbx,%rsi,8), %rcx
movzwl %ax, %edx
cmpl $0x100, %edx            # imm = 0x100
jb 0x2a401
testq %rcx, %rcx
je 0x2a86d
movq %rsi, 0x28(%rsp)
movq 0x18(%rcx), %rbp
movq (%r15), %rax
incq %rax
movq %rax, 0x18(%rsp)
movq %rax, (%r15)
xorl %eax, %eax
movq %rax, 0x48(%rsp)
movq %rax, 0x40(%rsp)
movq 0x68(%rbp), %rax
movq 0xd8(%rbp), %rcx
movq %rcx, (%rsp)
testq %rcx, %rcx
setne %cl
btl $0xa, %eax
setae %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x2a865
testl $0x11c, %eax            # imm = 0x11C
je 0x2a461
testb $0x1c, %al
jne 0x2a865
xorl %edx, %edx
jmp 0x2a859
movzbl (%rbp), %ecx
movq %rbp, %rax
cmpl $0x3, %ecx
jne 0x2a473
movq 0x60(%rbp), %rax
movl (%rax), %ecx
cmpb $0xd, %cl
ja 0x2a885
movzbl %cl, %ecx
movl $0x2a10, %edx           # imm = 0x2A10
btl %ecx, %edx
jae 0x2a7a0
movq (%rsp), %rax
movq 0x8(%rax), %rax
testq %rax, %rax
je 0x2a865
movb $0x1, %r13b
movq %rax, %rbx
xorl %r14d, %r14d
movq %rax, 0x20(%rsp)
movzwl (%rbx), %eax
testb %al, %al
jle 0x2a566
xorl %r15d, %r15d
movq 0x18(%rbx,%r15,8), %rcx
movzwl %ax, %eax
cmpl $0x100, %eax            # imm = 0x100
jb 0x2a4d2
testq %rcx, %rcx
je 0x2a554
movq (%rcx), %rax
movq 0x8(%rax), %r12
movl (%rax), %eax
andl $0x7f, %eax
cmpl $0x43, %eax
je 0x2a534
cmpl $0x44, %eax
je 0x2a511
cmpl $0x3f, %eax
je 0x2a846
movq 0x18(%rbp), %rdi
callq 0x2de35
movq 0x4(%rbp), %rdi
leaq 0x1d0ad(%rip), %rsi     # 0x475b2
movq %rax, %rdx
xorl %eax, %eax
callq 0x118fc
jmp 0x2a554
movq 0x18(%rsp), %rax
cmpq %rax, 0x8(%r12)
je 0x2a534
movq 0x18(%rsp), %rax
movq %rax, 0x8(%r12)
leaq 0x48(%rsp), %rdi
movq %r12, %rsi
callq 0x227b4
testb $0x1, %r13b
je 0x2a554
testq %r14, %r14
je 0x2a551
cmpq %r12, %r14
movzbl %r13b, %r13d
movl $0x0, %eax
cmovnel %eax, %r13d
jmp 0x2a554
movq %r12, %r14
incq %r15
movl (%rbx), %eax
movsbq %al, %rcx
cmpq %rcx, %r15
jl 0x2a4ba
movq 0x10(%rbx), %rbx
movq 0x20(%rsp), %rax
cmpq %rax, %rbx
jne 0x2a4ac
testb $0x1, %r13b
je 0x2a9e9
testq %r14, %r14
movq 0x8(%rsp), %r13
leaq 0x659e7(%rip), %r15     # 0x8ff78
movq 0x10(%rsp), %rbx
je 0x2a865
movq 0x28(%r14), %r14
testq %r14, %r14
je 0x2a865
xorl %r9d, %r9d
movq %r14, %r12
xorl %r8d, %r8d
movq (%rsp), %rdx
movzwl (%r12), %eax
testb %al, %al
jle 0x2a761
xorl %ebx, %ebx
movq 0x18(%r12,%rbx,8), %rbp
movzwl %ax, %eax
cmpl $0x100, %eax            # imm = 0x100
jb 0x2a5d9
testq %rbp, %rbp
je 0x2a5e6
cmpq $0x0, 0x8(%rbp)
je 0x2a5e6
cmpq %rdx, 0x30(%rbp)
je 0x2a5fb
incq %rbx
movl (%r12), %eax
movsbq %al, %rcx
cmpq %rcx, %rbx
jl 0x2a5c5
jmp 0x2a761
movl (%rbp), %eax
movl %eax, %ecx
andl $0x7f, %ecx
cmpl $0x44, %ecx
je 0x2a6c3
cmpl $0x43, %ecx
jne 0x2a5e6
testq %r8, %r8
je 0x2a6d6
xorl (%r8), %eax
cmpl $0xff, %eax
ja 0x2a6ce
movq 0x38(%r8), %rax
cmpq 0x38(%rbp), %rax
jne 0x2a6ce
movq 0x18(%r8), %rax
movzbl (%rax), %ecx
movl %ecx, %esi
movq %rax, %rdx
cmpl $0x3, %ecx
jne 0x2a64d
movq 0x60(%rax), %rdx
movl (%rdx), %esi
cmpb $0xe, %sil
ja 0x2a732
movzbl %sil, %esi
movl $0x6210, %edi           # imm = 0x6210
btl %esi, %edi
jae 0x2a732
movq 0x18(%rbp), %rdx
cmpb $0x3, (%rdx)
jne 0x2a676
movq 0x60(%rdx), %rdx
leaq 0x408db(%rip), %rsi     # 0x6af58
cmpq %rsi, 0x60(%rdx)
je 0x2a726
cmpl $0x3, %ecx
jne 0x2a690
movq 0x60(%rax), %rax
leaq 0x408c1(%rip), %rcx     # 0x6af58
cmpq %rcx, 0x60(%rax)
je 0x2a6fd
movq 0x20(%r8), %rsi
movq %rbp, %rdi
movq %r8, %rbp
movq %r9, %r13
callq 0x24ce2
movq %r13, %r9
movq %rbp, %r8
movq (%rsp), %rdx
movq 0x8(%rsp), %r13
jmp 0x2a5e6
movb $0x1, %r9b
movq %rbp, %r8
jmp 0x2a5e6
xorl %r9d, %r9d
jmp 0x2a5e6
movq %r9, %r13
callq 0x137d3
movq %rbp, %rdi
movq %rax, %rsi
callq 0x24ce2
movq %r13, %r9
movq 0x8(%rsp), %r13
movq (%rsp), %rdx
xorl %r8d, %r8d
jmp 0x2a5e6
movq 0x18(%rbp), %rax
movzbl (%rax), %ecx
cmpl $0x3, %ecx
jne 0x2a70f
movq 0x60(%rax), %rax
movl (%rax), %ecx
movq 0x8(%rsp), %r13
cmpb $0xe, %cl
ja 0x2a748
movzbl %cl, %ecx
movl $0x6210, %edx           # imm = 0x6210
btl %ecx, %edx
jae 0x2a748
xorl %r9d, %r9d
movq (%rsp), %rdx
jmp 0x2a5e6
leaq 0x4073f(%rip), %rsi     # 0x6ae78
cmpq %rsi, 0x60(%rdx)
jne 0x2a687
jmp 0x2a669
leaq 0x40729(%rip), %rcx     # 0x6ae78
cmpq %rcx, 0x60(%rax)
jne 0x2a69d
xorl %r9d, %r9d
jmp 0x2a6b5
movq 0x10(%r12), %r12
cmpq %r14, %r12
jne 0x2a5b6
testb $0x1, %r9b
movq 0x10(%rsp), %rbx
je 0x2a865
leaq 0x30(%r8), %rdi
movq %r8, %r14
callq 0x24a0e
leaq 0x20(%r14), %rdi
callq 0x24a0e
movq $0x0, 0x8(%r14)
jmp 0x2a865
cmpl $0x7, %ecx
je 0x2a8a7
cmpl $0x8, %ecx
jne 0x2a885
movq 0x98(%rax), %rcx
testq %rcx, %rcx
je 0x2a48d
movq %rcx, %rdx
movzwl (%rdx), %esi
movsbl %sil, %edi
testw %di, %di
jle 0x2a838
movzwl %di, %edi
xorl %r8d, %r8d
movzwl %si, %r10d
movq 0x18(%rdx,%r8,8), %r9
cmpl $0x100, %r10d           # imm = 0x100
jb 0x2a7ee
testq %r9, %r9
je 0x2a81f
movl 0x50(%r9), %r10d
cmpl 0x50(%rax), %r10d
jne 0x2a865
movzbl (%r9), %r10d
cmpl $0x3, %r10d
jne 0x2a809
movq 0x60(%r9), %r9
movl (%r9), %r10d
cmpb $0xe, %r10b
ja 0x2a829
movzbl %r10b, %r10d
movl $0x6210, %r11d          # imm = 0x6210
btl %r10d, %r11d
jae 0x2a829
incq %r8
cmpq %r8, %rdi
jne 0x2a7d7
jmp 0x2a838
leaq 0x40648(%rip), %r10     # 0x6ae78
cmpq %r10, 0x60(%r9)
je 0x2a81f
jmp 0x2a865
movq 0x10(%rdx), %rdx
cmpq %rcx, %rdx
jne 0x2a7c5
jmp 0x2a48d
xorl %edx, %edx
movq 0x8(%rsp), %r13
leaq 0x65724(%rip), %r15     # 0x8ff78
movq 0x10(%rsp), %rbx
movq %r13, %rdi
movq (%rsp), %rsi
callq 0x3b603
movzwl (%rbx), %eax
movq 0x28(%rsp), %rsi
incq %rsi
movzwl %ax, %ecx
movsbq %cl, %rcx
cmpq %rcx, %rsi
jl 0x2a3e8
jmp 0x2aa6a
movq 0x60(%rax), %rax
cmpq 0x356f8(%rip), %rax     # 0x5ff88
setne %cl
cmpq 0x356b6(%rip), %rax     # 0x5ff50
setne %al
testb %al, %cl
je 0x2a48d
jmp 0x2a865
testb $0x20, 0x56(%rax)
jne 0x2a865
movq 0x98(%rax), %rcx
testq %rcx, %rcx
je 0x2a48d
xorl %edx, %edx
xorl %r10d, %r10d
movq %rcx, %rsi
movzwl (%rsi), %edi
movsbl %dil, %r8d
testw %r8w, %r8w
jle 0x2a9b6
movzwl %r8w, %r8d
xorl %r9d, %r9d
movl %r10d, %ebx
movzwl %di, %r10d
movq 0x18(%rsi,%r9,8), %r11
cmpl $0x100, %r10d           # imm = 0x100
jb 0x2a8ff
testq %r11, %r11
jne 0x2a8ff
movl %ebx, %r10d
jmp 0x2a9a7
movzbl (%r11), %r14d
movl %r14d, %r15d
movq %r11, %r10
cmpl $0x3, %r14d
jne 0x2a917
movq 0x60(%r11), %r10
movzbl (%r10), %r15d
cmpl $0x9, %r15d
jne 0x2a925
movq 0x60(%r10), %r10
movzbl (%r10), %r15d
xorl %r10d, %r10d
cmpl $0xb, %r15d
jne 0x2a941
movl $0x1, %r10d
testl %ebx, %ebx
je 0x2a941
leaq 0x65639(%rip), %r15     # 0x8ff78
jmp 0x2a9a7
cmpl $0x3, %r14d
leaq 0x6562c(%rip), %r15     # 0x8ff78
jne 0x2a955
movq 0x60(%r11), %r11
movl (%r11), %r14d
addb $-0x4, %r14b
cmpb $0xb, %r14b
jae 0x2a971
movb $0x1, %bl
movzbl %r14b, %r14d
movl $0x6a1, %r12d           # imm = 0x6A1
btl %r14d, %r12d
jb 0x2a98d
movq 0x60(%r11), %r11
cmpq 0x3560c(%rip), %r11     # 0x5ff88
sete %r14b
cmpq 0x355c9(%rip), %r11     # 0x5ff50
sete %bl
orb %r14b, %bl
testb %bl, %bl
movq 0x10(%rsp), %rbx
je 0x2a865
testl %edx, %edx
movl $0x1, %edx
jne 0x2a865
incq %r9
movl %r10d, %ebx
cmpq %r9, %r8
jne 0x2a8e0
movq 0x10(%rsi), %rsi
cmpq %rcx, %rsi
jne 0x2a8c5
testl %r10d, %r10d
movq 0x10(%rsp), %rbx
je 0x2a48d
movl 0x50(%rax), %eax
leaq 0x40ffd(%rip), %rcx     # 0x6b9d8
cmpl 0x50(%rcx), %eax
jle 0x2a48d
jmp 0x2a865
movq 0x48(%rsp), %rdx
movq 0x8(%rsp), %r13
movq %r13, %rdi
leaq 0x40(%rsp), %rsi
callq 0x31434
movq 0x40(%rsp), %rbx
testq %rbx, %rbx
je 0x2aa5c
movq %rbx, %r14
movzwl (%r14), %eax
testb %al, %al
jle 0x2aa53
xorl %r15d, %r15d
movq 0x18(%r14,%r15,8), %rdi
movzwl %ax, %ecx
cmpl $0x100, %ecx            # imm = 0x100
jb 0x2aa2d
testq %rdi, %rdi
je 0x2aa44
movq %rbp, %rsi
callq 0x139eb
movq 0xd8(%rbp), %rcx
movq %rcx, 0x30(%rax)
movzwl (%r14), %eax
incq %r15
movzwl %ax, %ecx
movsbq %cl, %rcx
cmpq %rcx, %r15
jl 0x2aa18
movq 0x10(%r14), %r14
cmpq %rbx, %r14
jne 0x2aa0d
orb $0x10, 0x56(%rbp)
movl $0x1, %edx
jmp 0x2a84d
movq 0x10(%rbx), %rbx
cmpq 0x30(%rsp), %rbx
jne 0x2a3d6
xorl %eax, %eax
movq %rax, 0x3ff6e(%rip)     # 0x6a9f0
movq %rax, 0x3ff6f(%rip)     # 0x6a9f8
movq 0x18(%r13), %rax
testq %rax, %rax
je 0x2af29
leaq 0x3ff5b(%rip), %r15     # 0x6a9f8
movq %rax, %rdx
movq %rax, 0x8(%rsp)
movzwl (%rdx), %eax
testb %al, %al
jle 0x2ac8a
xorl %esi, %esi
movq %rdx, 0x10(%rsp)
movq 0x18(%rdx,%rsi,8), %rdi
movzwl %ax, %ecx
cmpl $0x100, %ecx            # imm = 0x100
jb 0x2aad0
testq %rdi, %rdi
je 0x2ac77
movq 0x28(%rdi), %rbp
testq %rbp, %rbp
je 0x2ac77
movq %rsi, 0x20(%rsp)
movq %rdi, 0x28(%rsp)
leaq 0x58(%rdi), %rax
movq %rax, 0x18(%rsp)
movq %rbp, %rbx
movq %rbp, (%rsp)
movzwl (%rbx), %eax
testb %al, %al
jle 0x2ac5d
xorl %r14d, %r14d
movq 0x18(%rbx,%r14,8), %r12
movzwl %ax, %eax
cmpl $0x100, %eax            # imm = 0x100
jb 0x2ab1d
testq %r12, %r12
je 0x2ac4b
cmpq $0x0, 0x8(%r12)
je 0x2ac4b
movl (%r12), %eax
andl $0x7f, %eax
cmpl $0x43, %eax
je 0x2abb4
cmpl $0x46, %eax
je 0x2ab7f
cmpl $0x44, %eax
jne 0x2ac4b
movq 0x30(%r12), %rax
cmpl $0x5, 0x4(%rax)
jne 0x2ac4b
movq 0x18(%rax), %rsi
testq %rsi, %rsi
je 0x2ac4b
testb $0x10, 0x56(%rsi)
je 0x2ac4b
movq 0x18(%rsp), %rdi
movq %r12, %rdx
callq 0x3ef3a
leaq 0x3fe6b(%rip), %rdi     # 0x6a9e8
jmp 0x2aba7
movq 0x18(%r12), %rsi
testq %rsi, %rsi
je 0x2ac4b
testb $0x10, 0x56(%rsi)
je 0x2ac4b
movq 0x18(%rsp), %rdi
movq %r12, %rdx
callq 0x3ef3a
movq %r15, %rdi
movq %r12, %rsi
callq 0x227b4
jmp 0x2ac4b
movq 0x30(%r12), %rax
cmpl $0x5, 0x4(%rax)
jne 0x2ac4b
movq 0x18(%rax), %r13
testq %r13, %r13
je 0x2ac4b
testb $0x10, 0x56(%r13)
je 0x2ac4b
movq %r15, %rbp
movq 0x28(%rsp), %r15
movq 0x58(%r15), %rdi
movq %r13, %rsi
callq 0x3ef09
testq %rax, %rax
jne 0x2ac06
movq 0x30(%r15), %r15
testq %r15, %r15
jne 0x2abdb
callq 0x137d3
movq %rax, %rsi
movq %rbp, %r15
movq (%rsp), %rbp
jmp 0x2ac43
movl (%rax), %ecx
movl (%r12), %edx
xorl %ecx, %edx
cmpl $0xff, %edx
movq %rbp, %r15
movq (%rsp), %rbp
ja 0x2ac33
andl $0x7f, %ecx
leal -0x43(%rcx), %edx
cmpl $0x2, %edx
jae 0x2ac3a
movq 0x38(%r12), %rcx
cmpq 0x38(%rax), %rcx
je 0x2ac3f
andb $-0x11, 0x56(%r13)
jmp 0x2ac4b
cmpl $0x46, %ecx
jne 0x2ac33
movq 0x20(%rax), %rsi
movq %r12, %rdi
callq 0x24ce2
incq %r14
movl (%rbx), %eax
movsbq %al, %rcx
cmpq %rcx, %r14
jl 0x2ab05
movq 0x10(%rbx), %rbx
cmpq %rbp, %rbx
jne 0x2aaf7
movq 0x10(%rsp), %rdx
movzwl (%rdx), %eax
movq 0x20(%rsp), %rsi
incq %rsi
movzwl %ax, %ecx
movsbq %cl, %rcx
cmpq %rcx, %rsi
jl 0x2aab7
movq 0x10(%rdx), %rdx
movq 0x8(%rsp), %rax
cmpq %rax, %rdx
jne 0x2aaa5
movq 0x3fd55(%rip), %r15     # 0x6a9f8
movq $0x0, 0x3fd42(%rip) # 0x6a9f0
testq %r15, %r15
je 0x2af29
leaq 0x3fd32(%rip), %rbx     # 0x6a9f0
movq %r15, %r12
movzwl (%r12), %eax
testb %al, %al
jle 0x2ad12
xorl %r13d, %r13d
movq 0x18(%r12,%r13,8), %r14
movzwl %ax, %eax
cmpl $0x100, %eax            # imm = 0x100
jb 0x2ace1
testq %r14, %r14
je 0x2ad02
movq 0x20(%r14), %rax
movq 0x8(%rax), %rdi
callq 0x22554
testb %al, %al
jne 0x2ad02
orb $0x1, 0x40(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x227b4
incq %r13
movl (%r12), %eax
movsbq %al, %rcx
cmpq %rcx, %r13
jl 0x2accd
movq 0x10(%r12), %r12
cmpq %r15, %r12
jne 0x2acc1
movq 0x3fccd(%rip), %rax     # 0x6a9f0
movq %rax, 0x38(%rsp)
testq %rax, %rax
je 0x2af29
movq 0x38(%rsp), %rsi
movzwl (%rsi), %eax
testb %al, %al
jle 0x2af1a
xorl %edi, %edi
movq %rsi, 0x50(%rsp)
movq 0x18(%rsi,%rdi,8), %rbx
movzwl %ax, %ecx
cmpl $0x100, %ecx            # imm = 0x100
jb 0x2ad61
testq %rbx, %rbx
je 0x2af07
movq 0x8(%rbx), %rcx
testq %rcx, %rcx
je 0x2af07
movq 0x30(%rbx), %rdx
testq %rdx, %rdx
je 0x2af07
movq 0x18(%rdx), %r14
testb $0x10, 0x56(%r14)
je 0x2af07
movq 0x18(%rcx), %rcx
testq %rcx, %rcx
je 0x2af07
movq %rdi, 0x30(%rsp)
leaq 0x38(%rbx), %rax
movq %rax, 0x10(%rsp)
movq %rcx, %r13
movq %rbx, 0x20(%rsp)
movq %rcx, 0x8(%rsp)
movzwl (%r13), %eax
testb %al, %al
jle 0x2aee8
xorl %r12d, %r12d
movq %r13, (%rsp)
movq 0x18(%r13,%r12,8), %r15
movzwl %ax, %eax
cmpl $0x100, %eax            # imm = 0x100
jb 0x2adde
testq %r15, %r15
je 0x2aed4
movq %r15, %rbx
movq 0x58(%rbx), %rdi
movq %r14, %rsi
callq 0x3ef09
testq %rax, %rax
jne 0x2ae02
movq 0x30(%rbx), %rbx
testq %rbx, %rbx
jne 0x2ade1
callq 0x137d3
jmp 0x2ae06
movq 0x20(%rax), %rax
movq %rax, 0x18(%rsp)
movq %rax, %rdi
movq %r14, %rsi
callq 0x137e4
movq %rax, %rbp
movq 0x20(%rax), %r13
movq 0x18(%r14), %rax
movq %rax, 0x10(%r13)
leaq 0x28(%r15), %rbx
movq %rbx, %rdi
callq 0x22a6b
movq %rax, 0x28(%rsp)
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x227b4
movq %rbx, %rdi
movq 0x28(%rsp), %rsi
callq 0x227b4
movq %r15, 0x8(%rbp)
movq 0x10(%rsp), %rdi
movq %r13, %rsi
callq 0x227b4
movq %rax, %rbp
movq %r13, (%rax)
movl 0x4(%r13), %eax
cmpl $0x6, %eax
movq 0x20(%rsp), %rbx
ja 0x2ae7d
movl $0x43, %ecx
btl %eax, %ecx
jb 0x2ae97
xorl %edi, %edi
callq 0x12264
movq %rbp, 0x8(%rax)
movq %rbx, (%rax)
leaq 0x8(%r13), %rdi
movq %rax, %rsi
callq 0x227b4
movq 0x18(%r13), %rax
movq %rbx, 0x38(%rax)
movq 0x18(%rsp), %rax
cmpl $0x3, 0x4(%rax)
movq (%rsp), %r13
jne 0x2aed4
movq 0x18(%rax), %rsi
movl (%rsi), %eax
andl $0x7f, %eax
cmpl $0x46, %eax
jne 0x2aed4
movb 0x40(%rsi), %al
testb $0x1, %al
jne 0x2aed4
orb $0x1, %al
movb %al, 0x40(%rsi)
leaq 0x3fb21(%rip), %rdi     # 0x6a9f0
callq 0x227b4
incq %r12
movl (%r13), %eax
movsbq %al, %rcx
cmpq %rcx, %r12
jl 0x2adc6
movq 0x10(%r13), %r13
movq 0x8(%rsp), %rcx
cmpq %rcx, %r13
jne 0x2adb2
movq 0x50(%rsp), %rsi
movzwl (%rsi), %eax
movq 0x30(%rsp), %rdi
incq %rdi
movzwl %ax, %ecx
movsbq %cl, %rcx
cmpq %rcx, %rdi
jl 0x2ad48
movq 0x10(%rsi), %rsi
cmpq 0x38(%rsp), %rsi
jne 0x2ad36
movq 0x3fab8(%rip), %rbx     # 0x6a9e8
testq %rbx, %rbx
je 0x2afa0
movq %rbx, %r14
movzwl (%r14), %eax
testb %al, %al
jle 0x2af97
xorl %r15d, %r15d
movq 0x18(%r14,%r15,8), %r12
movzwl %ax, %ecx
cmpl $0x100, %ecx            # imm = 0x100
jb 0x2af58
testq %r12, %r12
je 0x2af88
movq 0x30(%r12), %rcx
movq 0x18(%rcx), %rcx
testb $0x10, 0x56(%rcx)
je 0x2af88
leaq 0x30(%r12), %rdi
callq 0x24a0e
leaq 0x20(%r12), %rdi
callq 0x24a0e
movq $0x0, 0x8(%r12)
movzwl (%r14), %eax
incq %r15
movzwl %ax, %ecx
movsbq %cl, %rcx
cmpq %rcx, %r15
jl 0x2af43
movq 0x10(%r14), %r14
cmpq %rbx, %r14
jne 0x2af38
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop