// File: CMU-SAFARI[P]optimal-seed-solver/HashTree.cc
// Function: TreeNode::TreeNode(TreeNode const&)
TreeNode::TreeNode(const TreeNode& rhs) {
	if (A != NULL) {
		delete A;
		A = NULL;
	}
	if (C != NULL) {
		delete C;
		C = NULL;
	}
	if (G != NULL) {
		delete G;
		G = NULL;
	}
	if (T != NULL) {
		delete T;
		T = NULL;
	}

	if (rhs.A != NULL)
		A = new TreeNode(*rhs.A);
	if (rhs.C != NULL)
		C = new TreeNode(*rhs.C);
	if (rhs.C != NULL)
		G = new TreeNode(*rhs.G);
	if (rhs.T != NULL)
		T = new TreeNode(*rhs.T);

	this->locNum = rhs.locNum;
}

// Assembly:
subq $0x68, %rsp
movq %rdi, 0x60(%rsp)
movq %rsi, 0x58(%rsp)
movq 0x60(%rsp), %rax
movq %rax, 0x40(%rsp)
leaq 0x14b49(%rip), %rcx     # 0x1acf8
addq $0x10, %rcx
movq %rcx, (%rax)
cmpq $0x0, 0x18(%rax)
je 0x61e9
movq 0x40(%rsp), %rax
movq 0x18(%rax), %rax
movq %rax, 0x38(%rsp)
cmpq $0x0, %rax
je 0x61dc
movq 0x38(%rsp), %rdi
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x40(%rsp), %rax
movq $0x0, 0x18(%rax)
movq 0x40(%rsp), %rax
cmpq $0x0, 0x20(%rax)
je 0x6221
movq 0x40(%rsp), %rax
movq 0x20(%rax), %rax
movq %rax, 0x30(%rsp)
cmpq $0x0, %rax
je 0x6214
movq 0x30(%rsp), %rdi
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x40(%rsp), %rax
movq $0x0, 0x20(%rax)
movq 0x40(%rsp), %rax
cmpq $0x0, 0x28(%rax)
je 0x6259
movq 0x40(%rsp), %rax
movq 0x28(%rax), %rax
movq %rax, 0x28(%rsp)
cmpq $0x0, %rax
je 0x624c
movq 0x28(%rsp), %rdi
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x40(%rsp), %rax
movq $0x0, 0x28(%rax)
movq 0x40(%rsp), %rax
cmpq $0x0, 0x30(%rax)
je 0x6291
movq 0x40(%rsp), %rax
movq 0x30(%rax), %rax
movq %rax, 0x20(%rsp)
cmpq $0x0, %rax
je 0x6284
movq 0x20(%rsp), %rdi
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x40(%rsp), %rax
movq $0x0, 0x30(%rax)
movq 0x58(%rsp), %rax
cmpq $0x0, 0x18(%rax)
je 0x62f4
movl $0x38, %edi
callq 0x32b0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x18(%rsp)
movq 0x58(%rsp), %rax
movq 0x18(%rax), %rsi
callq 0x6190
jmp 0x62c2
movq 0x40(%rsp), %rax
movq 0x18(%rsp), %rcx
movq %rcx, 0x18(%rax)
jmp 0x62f4
movq 0x18(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x50(%rsp)
movl %eax, 0x4c(%rsp)
movl $0x38, %esi
callq 0x32c0
jmp 0x6429
movq 0x58(%rsp), %rax
cmpq $0x0, 0x20(%rax)
je 0x6357
movl $0x38, %edi
callq 0x32b0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x10(%rsp)
movq 0x58(%rsp), %rax
movq 0x20(%rax), %rsi
callq 0x6190
jmp 0x6325
movq 0x40(%rsp), %rax
movq 0x10(%rsp), %rcx
movq %rcx, 0x20(%rax)
jmp 0x6357
movq 0x10(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x50(%rsp)
movl %eax, 0x4c(%rsp)
movl $0x38, %esi
callq 0x32c0
jmp 0x6429
movq 0x58(%rsp), %rax
cmpq $0x0, 0x20(%rax)
je 0x63b7
movl $0x38, %edi
callq 0x32b0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x8(%rsp)
movq 0x58(%rsp), %rax
movq 0x28(%rax), %rsi
callq 0x6190
jmp 0x6388
movq 0x40(%rsp), %rax
movq 0x8(%rsp), %rcx
movq %rcx, 0x28(%rax)
jmp 0x63b7
movq 0x8(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x50(%rsp)
movl %eax, 0x4c(%rsp)
movl $0x38, %esi
callq 0x32c0
jmp 0x6429
movq 0x58(%rsp), %rax
cmpq $0x0, 0x30(%rax)
je 0x6414
movl $0x38, %edi
callq 0x32b0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, (%rsp)
movq 0x58(%rsp), %rax
movq 0x30(%rax), %rsi
callq 0x6190
jmp 0x63e7
movq 0x40(%rsp), %rax
movq (%rsp), %rcx
movq %rcx, 0x30(%rax)
jmp 0x6414
movq (%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x50(%rsp)
movl %eax, 0x4c(%rsp)
movl $0x38, %esi
callq 0x32c0
jmp 0x6429
movq 0x40(%rsp), %rax
movq 0x58(%rsp), %rcx
movl 0x8(%rcx), %ecx
movl %ecx, 0x8(%rax)
addq $0x68, %rsp
retq
movq 0x50(%rsp), %rdi
callq 0x3590
nopw %cs:(%rax,%rax)