// File: iPapatsoris[P]Maximum-Independent-Set/src/Alg.cpp
// Function: Alg::SearchNode::SearchNode(Alg::SearchNode const&, unsigned int const&)
Alg::SearchNode::SearchNode(const SearchNode &searchNode, const uint32_t &parentNode) {
    id = NONE;
    theta = searchNode.theta;
    branchingRule = BranchingRule();
    graph = searchNode.graph;
    mis = searchNode.mis;
    reductions = new Reductions(graph, mis);
    parent = parentNode;
    leftChild = NONE;
    rightChild = NONE;
    finalMis = NULL;
    hasCut = false;
    cutIsDone = false;
    cut = searchNode.cut;
    c1 = searchNode.c1;
    c2 = searchNode.c2;
    actualComponent1 = searchNode.actualComponent1;
}

// Assembly:
subq $0x98, %rsp
movq %rdi, 0x90(%rsp)
movq %rsi, 0x88(%rsp)
movq %rdx, 0x80(%rsp)
movq 0x90(%rsp), %rdi
movq %rdi, 0x38(%rsp)
addq $0x8, %rdi
movq %rdi, 0x30(%rsp)
callq 0x3a200
movq 0x38(%rsp), %rdi
addq $0x30, %rdi
movq %rdi, 0x40(%rsp)
callq 0x3a230
jmp 0x38c7f
movq 0x38(%rsp), %rdi
subq $-0x80, %rdi
movq %rdi, 0x10(%rsp)
callq 0x3a280
movq 0x38(%rsp), %rdi
addq $0x130, %rdi            # imm = 0x130
movq %rdi, 0x18(%rsp)
callq 0x1a020
movq 0x38(%rsp), %rdi
addq $0x168, %rdi            # imm = 0x168
movq %rdi, 0x20(%rsp)
callq 0x17e60
movq 0x38(%rsp), %rdi
addq $0x180, %rdi            # imm = 0x180
movq %rdi, 0x28(%rsp)
callq 0x17e60
movq 0x38(%rsp), %rax
movl $0xffffffff, (%rax)     # imm = 0xFFFFFFFF
movq 0x88(%rsp), %rcx
movl 0x4(%rcx), %ecx
movl %ecx, 0x4(%rax)
leaq 0x48(%rsp), %rdi
callq 0x3a200
jmp 0x38cf9
movq 0x38(%rsp), %rdi
addq $0x8, %rdi
leaq 0x48(%rsp), %rsi
movq %rsi, 0x8(%rsp)
callq 0x3a2c0
movq 0x8(%rsp), %rdi
callq 0x3a310
movq 0x38(%rsp), %rdi
movq 0x88(%rsp), %rsi
addq $0x30, %rsi
addq $0x30, %rdi
callq 0x2810
jmp 0x38d37
movq 0x38(%rsp), %rdi
movq 0x88(%rsp), %rsi
subq $-0x80, %rsi
subq $-0x80, %rdi
callq 0x3a330
jmp 0x38d53
movl $0x50, %edi
callq 0x21b0
movq %rax, (%rsp)
jmp 0x38d63
movq (%rsp), %rdi
movq 0x38(%rsp), %rdx
movq %rdx, %rsi
addq $0x30, %rsi
subq $-0x80, %rdx
callq 0x3a390
jmp 0x38d7e
movq 0x38(%rsp), %rdi
movq (%rsp), %rax
movq %rax, 0x108(%rdi)
movq 0x80(%rsp), %rax
movl (%rax), %eax
movl %eax, 0x110(%rdi)
movl $0xffffffff, 0x114(%rdi) # imm = 0xFFFFFFFF
movl $0xffffffff, 0x118(%rdi) # imm = 0xFFFFFFFF
movq $0x0, 0x120(%rdi)
movb $0x0, 0x128(%rdi)
movb $0x0, 0x199(%rdi)
movq 0x88(%rsp), %rsi
addq $0x130, %rsi            # imm = 0x130
addq $0x130, %rdi            # imm = 0x130
callq 0x1aee0
jmp 0x38de8
movq 0x38(%rsp), %rdi
movq 0x88(%rsp), %rsi
addq $0x168, %rsi            # imm = 0x168
addq $0x168, %rdi            # imm = 0x168
callq 0x18130
jmp 0x38e0a
movq 0x38(%rsp), %rdi
movq 0x88(%rsp), %rsi
addq $0x180, %rsi            # imm = 0x180
addq $0x180, %rdi            # imm = 0x180
callq 0x18130
jmp 0x38e2c
movq 0x38(%rsp), %rax
movq 0x88(%rsp), %rcx
movb 0x198(%rcx), %cl
andb $0x1, %cl
movb %cl, 0x198(%rax)
addq $0x98, %rsp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x78(%rsp)
movl %eax, 0x74(%rsp)
jmp 0x38eb9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x78(%rsp)
movl %eax, 0x74(%rsp)
jmp 0x38e87
movq (%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x78(%rsp)
movl %eax, 0x74(%rsp)
callq 0x2180
movq 0x28(%rsp), %rdi
callq 0x18520
movq 0x20(%rsp), %rdi
callq 0x18520
movq 0x18(%rsp), %rdi
callq 0x1a030
movq 0x10(%rsp), %rdi
callq 0x3a3e0
movq 0x40(%rsp), %rdi
callq 0x2990
movq 0x30(%rsp), %rdi
callq 0x3a310
movq 0x78(%rsp), %rdi
callq 0x2310
nopl (%rax)