// File: /workspace/github_cpp_makefile_star2_O1/neubig[P]egret/Egret/src/Binarization.cpp
// Function: binarize(Rule&, InterNodes&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, Direct)
int binarize(Rule& rule, InterNodes& interNodes,string prefix, Direct dir)
{
	vector<string> wrds;
	wrds.clear();
	stringstream rss(rule.right.c_str());
	while(!rss.eof())
	{
		string curWrd="";
		rss>>curWrd;
		if(curWrd=="")break;
		wrds.push_back(curWrd);
	}
	vector<vector<string> > strMatrix;
	strMatrix.clear();
	for(int i=0;(size_t)i<wrds.size();i++)
	{
		vector<string> temp;
		strMatrix.push_back(temp);
		for(int j=0;(size_t)j<wrds.size();j++)
		{
			if(i==j)
				strMatrix[i].push_back(wrds[i]);
			else
				strMatrix[i].push_back("");
		}
	}
	for(int i=0;(size_t)i<wrds.size();i++)
	{
		for(int j=i+1;(size_t)j<wrds.size();j++)
		{
			strMatrix[i][j]=strMatrix[i][j-1]+wrds[j];
		}
	}
	jout<<"rightPart length:"<<(unsigned int)wrds.size()<<endl;

	for(int k=(int)wrds.size();k>1;k--)
	{
		for(int i=0;i<=(int)wrds.size()-k;i++)
		{
			if(dir==LEFT&&i!=wrds.size()-k)continue;
			if(dir==RIGHT&&i!=0)break;
			for(int j=i;j<i+k-1;j++)
			{
				if(dir==LEFT&&j!=i)break;
				if(dir==RIGHT&&j!=i+k-2)continue;
				cout<<i<<","<<j<<","<<k<<":["<<i<<","<<j<<"] ["<<j+1<<","<<i+k-1<<"]"<<endl;
				
				string par="";
				if(k==wrds.size())
					par=rule.left;
				else
					par=interNodes.query(strMatrix[i][i+k-1],prefix);
				string leftSon=strMatrix[i][j];
				if(j-i>0)
					leftSon=interNodes.query(leftSon,prefix);
				string rightSon=strMatrix[j+1][i+k-1];
				if(i+k-1-j-1>0)
					rightSon=interNodes.query(rightSon,prefix);
				Rule newRule;
				newRule.left=par;
				newRule.right=leftSon+" "+rightSon;
				if(dir==PERMUTE)
					newRule.prob=double(1)/(double)(k-1);
				else 
					newRule.prob=1;
				if(k==wrds.size())
					newRule.prob*=rule.prob;
				//newRule.print(cout);
				//cout<<endl;
			}
		}
	}
	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x318, %rsp            # imm = 0x318
movl %ecx, %ebp
movq %rdx, 0xd0(%rsp)
movq %rsi, 0xc8(%rsp)
movq %rdi, 0xd8(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
movq 0x8(%rsp), %rbx
testq %rbx, %rbx
je 0x1549e
movl $0x10, %r14d
movq -0x10(%r14), %rdi
cmpq %rdi, %r14
je 0x15485
movq (%r14), %rsi
incq %rsi
callq 0x32e0
leaq 0x20(%r14), %rax
addq $0x10, %r14
cmpq %rbx, %r14
movq %rax, %r14
jne 0x15471
movq $0x0, 0x8(%rsp)
movq 0xd8(%rsp), %rax
movq 0x20(%rax), %rsi
leaq 0x38(%rsp), %rdi
leaq 0xa0(%rsp), %rdx
callq 0xb648
leaq 0x190(%rsp), %rdi
leaq 0x38(%rsp), %rsi
movl $0x18, %edx
callq 0x3480
movl %ebp, 0x1c(%rsp)
leaq 0x48(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x154f2
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x32e0
leaq 0x2c99d(%rip), %r14     # 0x41e96
leaq 0x38(%rsp), %r15
leaq 0x190(%rsp), %r12
movq %rsp, %r13
movq 0x190(%rsp), %rax
movq -0x18(%rax), %rax
testb $0x2, 0x1b0(%rsp,%rax)
jne 0x1557e
leaq 0x48(%rsp), %rax
movq %rax, 0x38(%rsp)
movq %r15, %rdi
movq %r14, %rsi
movq %r14, %rdx
callq 0xb8a2
movq %r12, %rdi
movq %r15, %rsi
callq 0x33a0
movq %r15, %rdi
movq %r14, %rsi
callq 0x30c0
movl %eax, %ebp
testl %eax, %eax
je 0x1555e
movq %r13, %rdi
movq %r15, %rsi
callq 0x17a82
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x1557a
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x32e0
testl %ebp, %ebp
jne 0x15509
xorpd %xmm0, %xmm0
movapd %xmm0, 0x80(%rsp)
movq $0x0, 0x90(%rsp)
movq 0x88(%rsp), %rbx
testq %rbx, %rbx
je 0x155c4
xorl %r14d, %r14d
movq %r14, %rdi
callq 0x611e
addq $0x18, %r14
cmpq %rbx, %r14
jne 0x155a7
movq $0x0, 0x88(%rsp)
movq 0x8(%rsp), %rax
cmpq (%rsp), %rax
je 0x156c8
xorl %ebx, %ebx
leaq 0xa0(%rsp), %r14
leaq 0x38(%rsp), %r13
xorpd %xmm0, %xmm0
movapd %xmm0, 0xa0(%rsp)
movq $0x0, 0xb0(%rsp)
leaq 0x80(%rsp), %rdi
movq %r14, %rsi
callq 0x17ac0
movq (%rsp), %rsi
cmpq %rsi, 0x8(%rsp)
je 0x1569f
leaq (%rbx,%rbx,2), %rbp
movq %rbx, %r14
shlq $0x5, %r14
xorl %r15d, %r15d
movq 0x80(%rsp), %r12
cmpq %r15, %rbx
jne 0x15643
leaq (%r12,%rbp,8), %rdi
addq %r14, %rsi
callq 0x17a82
jmp 0x15687
leaq 0x48(%rsp), %rax
movq %rax, 0x38(%rsp)
movq %r13, %rdi
leaq 0x2c83f(%rip), %rdx     # 0x41e96
movq %rdx, %rsi
callq 0xb8a2
leaq (%r12,%rbp,8), %rdi
movq %r13, %rsi
callq 0x7f06
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x15687
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x32e0
incq %r15
movq (%rsp), %rsi
movq 0x8(%rsp), %rax
subq %rsi, %rax
sarq $0x5, %rax
cmpq %r15, %rax
ja 0x15628
leaq 0xa0(%rsp), %r14
movq %r14, %rdi
callq 0x611e
incq %rbx
movq 0x8(%rsp), %rax
subq (%rsp), %rax
sarq $0x5, %rax
cmpq %rbx, %rax
ja 0x155e2
movq 0x8(%rsp), %rax
cmpq (%rsp), %rax
je 0x157a5
movl $0x1, %r12d
movl $0x20, %r15d
xorl %eax, %eax
leaq 0x38(%rsp), %r14
leaq 0x1(%rax), %rsi
movq (%rsp), %rdx
movq 0x8(%rsp), %rcx
subq %rdx, %rcx
sarq $0x5, %rcx
movq %rsi, 0x28(%rsp)
cmpq %rsi, %rcx
jbe 0x15780
leaq (%rax,%rax,2), %r13
movq %r15, %rbp
movq %r12, %rbx
movq 0x80(%rsp), %rax
movq (%rax,%r13,8), %rax
leaq (%rax,%rbp), %rsi
addq $-0x20, %rsi
addq %rbp, %rdx
movq %r14, %rdi
callq 0x17aec
movq 0x80(%rsp), %rax
movq (%rax,%r13,8), %rdi
addq %rbp, %rdi
movq %r14, %rsi
callq 0x3380
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x15764
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x32e0
incq %rbx
movq (%rsp), %rdx
movq 0x8(%rsp), %rax
subq %rdx, %rax
sarq $0x5, %rax
addq $0x20, %rbp
cmpq %rbx, %rax
ja 0x15712
movq 0x8(%rsp), %rax
subq (%rsp), %rax
sarq $0x5, %rax
incq %r12
addq $0x20, %r15
movq 0x28(%rsp), %rcx
cmpq %rcx, %rax
movq %rcx, %rax
ja 0x156ea
leaq 0x40b54(%rip), %rdi     # 0x56300
leaq 0x2b9dd(%rip), %rsi     # 0x41190
callq 0x17b46
movq %rax, %r14
leaq 0x40b4e(%rip), %rbx     # 0x56310
cmpl $0x0, (%rbx)
je 0x157de
movq 0x8(%rsp), %rax
subq (%rsp), %rax
shrq $0x5, %rax
movq (%r14), %rdi
movl %eax, %esi
callq 0x31d0
cmpl $0x0, (%rbx)
je 0x1580d
movq (%r14), %r14
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x32b0
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x31e0
movq 0x8(%rsp), %rdi
subq (%rsp), %rdi
shrq $0x5, %rdi
cmpl $0x2, %edi
movl 0x1c(%rsp), %edx
jl 0x15ec6
andl $0x7fffffff, %edi       # imm = 0x7FFFFFFF
movl $0x1, %eax
subl %edi, %eax
movl %eax, 0x34(%rsp)
movl %edi, %eax
addl $-0x2, %eax
movl %eax, 0x30(%rsp)
movq 0x8(%rsp), %rax
subq (%rsp), %rax
movq %rax, %rcx
shrq $0x5, %rcx
movslq %ecx, %rcx
cmpq %rcx, %rdi
jg 0x15ead
leal -0x1(%rdi), %ecx
xorps %xmm0, %xmm0
cvtsi2sd %ecx, %xmm0
movsd 0x2b919(%rip), %xmm1    # 0x41188
divsd %xmm0, %xmm1
movsd %xmm1, 0x168(%rsp)
movl $0x18, %ecx
movq %rcx, 0x138(%rsp)
movl $0x8, %ecx
movq %rcx, 0x130(%rsp)
movabsq $0x100000000, %rcx      # imm = 0x100000000
movq %rcx, 0x128(%rsp)
movl 0x30(%rsp), %ecx
movl %ecx, %r9d
xorl %ebp, %ebp
movq %rdi, 0x20(%rsp)
movl %r9d, %r9d
movq %r9, 0x140(%rsp)
testl %edx, %edx
movl %edx, %esi
jne 0x158d9
sarq $0x5, %rax
subq 0x20(%rsp), %rax
cmpq %rbp, %rax
jne 0x15e51
cmpl $0x1, %esi
sete %al
testq %rbp, %rbp
setne %cl
testb %cl, %al
movl %esi, %edx
movq 0x20(%rsp), %rdi
jne 0x15ead
leaq (%rdi,%rbp), %rax
decq %rax
movq %rax, 0x28(%rsp)
cmpq %rax, %rbp
movl %edx, %esi
jge 0x15e51
movq 0x128(%rsp), %r13
movl 0x34(%rsp), %ebx
movq 0x130(%rsp), %r15
movq 0x138(%rsp), %r12
movq %rbp, %r14
movq %rbp, 0xe0(%rsp)
cmpl $0x1, %esi
jne 0x15945
cmpq %r14, 0x140(%rsp)
jne 0x15e1d
movq 0x40684(%rip), %rdi     # 0x55fd0
movl %ebp, %esi
callq 0x3500
movq %rax, %rbp
movl $0x1, %edx
movq %rax, %rdi
leaq 0x2b710(%rip), %rsi     # 0x41075
callq 0x3350
movq %rbp, %rdi
movl %r14d, %esi
callq 0x3500
movq %rax, %rbp
movl $0x1, %edx
movq %rax, %rdi
leaq 0x2b6ee(%rip), %rsi     # 0x41075
callq 0x3350
movq %rbp, %rdi
movq 0x20(%rsp), %rsi
callq 0x3500
movq %rax, %rbp
movl $0x2, %edx
movq %rax, %rdi
leaq 0x2b7f7(%rip), %rsi     # 0x411a2
callq 0x3350
movq %rbp, %rdi
movq 0xe0(%rsp), %rsi
callq 0x3500
movq %rax, %rbp
movl $0x1, %edx
movq %rax, %rdi
leaq 0x2b6a3(%rip), %rsi     # 0x41075
callq 0x3350
movq %rbp, %rdi
movl %r14d, %esi
callq 0x3500
movq %rax, %rbp
movl $0x3, %edx
movq %rax, %rdi
leaq 0x2b7b1(%rip), %rsi     # 0x411a5
callq 0x3350
leal 0x1(%r14), %esi
movq %rbp, %rdi
callq 0x3500
movq %rax, %rbp
movl $0x1, %edx
movq %rax, %rdi
leaq 0x2b65e(%rip), %rsi     # 0x41075
callq 0x3350
movq %rbp, %rdi
movq 0x28(%rsp), %rsi
callq 0x3500
movq %rax, %rbp
movl $0x1, %edx
movq %rax, %rdi
leaq 0x2c012(%rip), %rsi     # 0x41a4d
callq 0x3350
movq (%rbp), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x32b0
movsbl %al, %esi
movq %rbp, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x31e0
leaq 0xb0(%rsp), %rax
movq %rax, 0xa0(%rsp)
leaq 0xa0(%rsp), %rdi
leaq 0x2c40f(%rip), %rdx     # 0x41e96
movq %rdx, %rsi
callq 0xb8a2
movq 0x8(%rsp), %rcx
subq (%rsp), %rcx
sarq $0x5, %rcx
movq 0xd8(%rsp), %rax
cmpq 0x20(%rsp), %rcx
movq 0xe0(%rsp), %rbp
je 0x15ae8
movq 0x80(%rsp), %rax
leaq (,%rbp,2), %rcx
addq %rbp, %rcx
movq 0x28(%rsp), %rsi
shlq $0x5, %rsi
addq (%rax,%rcx,8), %rsi
movq 0xc8(%rsp), %rdi
movq 0xd0(%rsp), %rdx
callq 0x160bc
leaq 0xa0(%rsp), %rdi
movq %rax, %rsi
callq 0x3150
movq 0x80(%rsp), %rax
leaq (,%rbp,2), %rcx
addq %rbp, %rcx
movq (%rax,%rcx,8), %rax
leaq 0x118(%rsp), %rcx
movq %rcx, 0x108(%rsp)
movq -0x8(%rax,%r15), %rsi
movq (%rax,%r15), %rdx
addq %rsi, %rdx
leaq 0x108(%rsp), %rdi
callq 0x6a88
cmpq %rbp, %r14
jbe 0x15b6a
movq 0xc8(%rsp), %rdi
leaq 0x108(%rsp), %rsi
movq 0xd0(%rsp), %rdx
callq 0x160bc
leaq 0x108(%rsp), %rdi
movq %rax, %rsi
callq 0x3150
movq 0x80(%rsp), %rax
movq (%rax,%r12), %rax
movq 0x28(%rsp), %rcx
shlq $0x5, %rcx
leaq 0xf8(%rsp), %rdx
movq %rdx, 0xe8(%rsp)
movq (%rax,%rcx), %rsi
movq 0x8(%rax,%rcx), %rdx
addq %rsi, %rdx
leaq 0xe8(%rsp), %rdi
callq 0x6a88
cmpl $-0x2, %ebx
jg 0x15bda
movq 0xc8(%rsp), %rdi
leaq 0xe8(%rsp), %rsi
movq 0xd0(%rsp), %rdx
callq 0x160bc
leaq 0xe8(%rsp), %rdi
movq %rax, %rsi
callq 0x3150
leaq 0x48(%rsp), %rax
movq %rax, 0x38(%rsp)
xorl %ecx, %ecx
movq %rcx, 0x40(%rsp)
movb %cl, 0x48(%rsp)
leaq 0x68(%rsp), %rax
movq %rax, 0x58(%rsp)
movq %rcx, 0x60(%rsp)
movb %cl, 0x68(%rsp)
leaq 0x38(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
callq 0x3150
leaq 0x158(%rsp), %rax
movq %rax, 0x148(%rsp)
movq 0x108(%rsp), %rsi
movq 0x110(%rsp), %rdx
addq %rsi, %rdx
leaq 0x148(%rsp), %rbp
movq %rbp, %rdi
callq 0x6a88
movq %rbp, %rdi
leaq 0x2c241(%rip), %rsi     # 0x41e92
callq 0x3570
movq 0xe8(%rsp), %rsi
movq 0xf0(%rsp), %rdx
movq %rbp, %rdi
callq 0x30d0
leaq 0x180(%rsp), %rbp
movq %rbp, 0x170(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x15ca2
movq %rdx, 0x170(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x180(%rsp)
jmp 0x15cab
movupd (%rcx), %xmm0
movupd %xmm0, (%rbp)
movq 0x8(%rax), %rdx
movq %rdx, 0x178(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x58(%rsp), %rdi
leaq 0x170(%rsp), %rsi
callq 0x3380
movq 0x170(%rsp), %rdi
cmpq %rbp, %rdi
je 0x15cf5
movq 0x180(%rsp), %rsi
incq %rsi
callq 0x32e0
movq 0x148(%rsp), %rdi
leaq 0x158(%rsp), %rax
cmpq %rax, %rdi
movq 0xe0(%rsp), %rbp
je 0x15d22
movq 0x158(%rsp), %rsi
incq %rsi
callq 0x32e0
cmpl $0x2, 0x1c(%rsp)
jne 0x15d3a
movsd 0x168(%rsp), %xmm0
movsd %xmm0, 0x78(%rsp)
jmp 0x15d49
movabsq $0x3ff0000000000000, %rax # imm = 0x3FF0000000000000
movq %rax, 0x78(%rsp)
movq 0x8(%rsp), %rax
subq (%rsp), %rax
sarq $0x5, %rax
cmpq 0x20(%rsp), %rax
jne 0x15d76
movq 0xd8(%rsp), %rax
movsd 0x40(%rax), %xmm0
mulsd 0x78(%rsp), %xmm0
movsd %xmm0, 0x78(%rsp)
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x15d92
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x32e0
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x15dae
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x32e0
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x15dd3
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x32e0
movq 0x108(%rsp), %rdi
leaq 0x118(%rsp), %rax
cmpq %rax, %rdi
je 0x15df8
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x32e0
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x15e1d
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x32e0
movq %r13, %rax
sarq $0x20, %rax
cmpq 0x28(%rsp), %rax
movl 0x1c(%rsp), %esi
jge 0x15e51
incq %r14
addq $0x18, %r12
addq $0x20, %r15
incl %ebx
movabsq $0x100000000, %rax      # imm = 0x100000000
addq %rax, %r13
testl %esi, %esi
jne 0x15932
leaq 0x1(%rbp), %rcx
movq 0x8(%rsp), %rax
subq (%rsp), %rax
movq %rax, %rdx
shrq $0x5, %rdx
movslq %edx, %rdx
movq 0x20(%rsp), %rdi
subq %rdi, %rdx
addq $0x18, 0x138(%rsp)
addq $0x20, 0x130(%rsp)
movq 0x140(%rsp), %r9
incl %r9d
movabsq $0x100000000, %r8       # imm = 0x100000000
addq %r8, 0x128(%rsp)
cmpq %rdx, %rbp
movq %rcx, %rbp
movl %esi, %edx
jl 0x158b6
leaq -0x1(%rdi), %rax
incl 0x34(%rsp)
decl 0x30(%rsp)
cmpq $0x2, %rdi
movq %rax, %rdi
jg 0x15841
leaq 0x80(%rsp), %rdi
callq 0x17bd4
movq 0x400ce(%rip), %rsi     # 0x55fa8
leaq 0x190(%rsp), %rdi
callq 0x3230
leaq 0x210(%rsp), %rdi
callq 0x30e0
movq %rsp, %rdi
callq 0x611e
xorl %eax, %eax
addq $0x318, %rsp            # imm = 0x318
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x48(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x160ab
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x32e0
jmp 0x160ab
movq %rax, %rbx
jmp 0x160ab
jmp 0x1607a
movq %rax, %rbx
jmp 0x1608a
jmp 0x15f99
movq %rax, %rbx
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x1608a
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x32e0
jmp 0x1608a
movq %rax, %rbx
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x15f9c
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x32e0
jmp 0x15f9c
jmp 0x15f99
movq %rax, %rbx
leaq 0xa0(%rsp), %rdi
callq 0x611e
jmp 0x1607d
jmp 0x1607a
jmp 0x15ff7
jmp 0x15fc8
jmp 0x16050
jmp 0x15fcd
jmp 0x1607a
movq %rax, %rbx
jmp 0x16004
movq %rax, %rbx
jmp 0x16029
movq %rax, %rbx
movq 0x148(%rsp), %rdi
leaq 0x158(%rsp), %rax
cmpq %rax, %rdi
je 0x15ffa
movq 0x158(%rsp), %rsi
incq %rsi
callq 0x32e0
jmp 0x15ffa
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x17b9e
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x16029
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x32e0
movq 0x108(%rsp), %rdi
leaq 0x118(%rsp), %rax
cmpq %rax, %rdi
je 0x16053
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x32e0
jmp 0x16053
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x1607d
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x32e0
jmp 0x1607d
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x17bd4
movq 0x3ff17(%rip), %rsi     # 0x55fa8
leaq 0x190(%rsp), %rdi
callq 0x3230
leaq 0x210(%rsp), %rdi
callq 0x30e0
movq %rsp, %rdi
callq 0x611e
movq %rbx, %rdi
callq 0x3530
nop