// File: ynilu[P]elastic/simulator.cpp
// Function: reset_auxiliary_graph()
void reset_auxiliary_graph()
{
    for(auto &lp : exist_OTDM_light_path_list)
    {
        for(auto &aux_node : lp->transmitting_node_list)
        {
            delete aux_node;
        }
        lp->transmitting_node_list.clear();
        for(auto &aux_node : lp->receiving_node_list)
        {
            delete aux_node;
        }
        lp->receiving_node_list.clear();
        lp->aux_link_list.clear();
    }
    for(auto &lp : candidate_light_path_list)
    {
        for(auto &aux_link : lp->aux_link_list)
        {
            delete aux_link;
        }
        delete lp;
    }
    candidate_light_path_list.clear();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
leaq 0x3d57e(%rip), %rax     # 0x43420
movq %rax, -0x8(%rbp)
leaq 0x3d573(%rip), %rdi     # 0x43420
callq 0xb680
movq %rax, -0x10(%rbp)
leaq 0x3d563(%rip), %rdi     # 0x43420
callq 0xb6b0
movq %rax, -0x18(%rbp)
leaq -0x10(%rbp), %rdi
leaq -0x18(%rbp), %rsi
callq 0xb6e0
testb $0x1, %al
jne 0x5edc
jmp 0x6022
leaq -0x10(%rbp), %rdi
callq 0xb710
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq (%rax), %rax
addq $0x80, %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rdi
callq 0xb920
movq %rax, -0x30(%rbp)
movq -0x28(%rbp), %rdi
callq 0xb950
movq %rax, -0x38(%rbp)
leaq -0x30(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0xb980
testb $0x1, %al
jne 0x5f27
jmp 0x5f62
leaq -0x30(%rbp), %rdi
callq 0xb9c0
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
movq (%rax), %rax
movq %rax, -0xa8(%rbp)
cmpq $0x0, %rax
je 0x5f55
movq -0xa8(%rbp), %rdi
movq (%rdi), %rax
callq *0x8(%rax)
jmp 0x5f57
leaq -0x30(%rbp), %rdi
callq 0xb9e0
jmp 0x5f14
movq -0x20(%rbp), %rax
movq (%rax), %rdi
addq $0x80, %rdi
callq 0xba00
movq -0x20(%rbp), %rax
movq (%rax), %rax
addq $0x98, %rax
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rdi
callq 0xb920
movq %rax, -0x50(%rbp)
movq -0x48(%rbp), %rdi
callq 0xb950
movq %rax, -0x58(%rbp)
leaq -0x50(%rbp), %rdi
leaq -0x58(%rbp), %rsi
callq 0xb980
testb $0x1, %al
jne 0x5fb3
jmp 0x5fee
leaq -0x50(%rbp), %rdi
callq 0xb9c0
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rax
movq (%rax), %rax
movq %rax, -0xb0(%rbp)
cmpq $0x0, %rax
je 0x5fe1
movq -0xb0(%rbp), %rdi
movq (%rdi), %rax
callq *0x8(%rax)
jmp 0x5fe3
leaq -0x50(%rbp), %rdi
callq 0xb9e0
jmp 0x5fa0
movq -0x20(%rbp), %rax
movq (%rax), %rdi
addq $0x98, %rdi
callq 0xba00
movq -0x20(%rbp), %rax
movq (%rax), %rdi
addq $0xb0, %rdi
callq 0xba20
leaq -0x10(%rbp), %rdi
callq 0xb900
jmp 0x5ec6
leaq 0x3d3df(%rip), %rax     # 0x43408
movq %rax, -0x68(%rbp)
leaq 0x3d3d4(%rip), %rdi     # 0x43408
callq 0xb680
movq %rax, -0x70(%rbp)
leaq 0x3d3c4(%rip), %rdi     # 0x43408
callq 0xb6b0
movq %rax, -0x78(%rbp)
leaq -0x70(%rbp), %rdi
leaq -0x78(%rbp), %rsi
callq 0xb6e0
testb $0x1, %al
jne 0x6063
jmp 0x613b
leaq -0x70(%rbp), %rdi
callq 0xb710
movq %rax, -0x80(%rbp)
movq -0x80(%rbp), %rax
movq (%rax), %rax
addq $0xb0, %rax
movq %rax, -0x88(%rbp)
movq -0x88(%rbp), %rdi
callq 0xba50
movq %rax, -0x90(%rbp)
movq -0x88(%rbp), %rdi
callq 0xba80
movq %rax, -0x98(%rbp)
leaq -0x90(%rbp), %rdi
leaq -0x98(%rbp), %rsi
callq 0xbab0
testb $0x1, %al
jne 0x60c3
jmp 0x610a
leaq -0x90(%rbp), %rdi
callq 0xbae0
movq %rax, -0xa0(%rbp)
movq -0xa0(%rbp), %rax
movq (%rax), %rax
movq %rax, -0xb8(%rbp)
cmpq $0x0, %rax
je 0x60fa
movq -0xb8(%rbp), %rdi
movq (%rdi), %rax
callq *0x8(%rax)
jmp 0x60fc
leaq -0x90(%rbp), %rdi
callq 0xbb00
jmp 0x60aa
movq -0x80(%rbp), %rax
movq (%rax), %rax
movq %rax, -0xc0(%rbp)
cmpq $0x0, %rax
je 0x612b
movq -0xc0(%rbp), %rdi
movq (%rdi), %rax
callq *0x8(%rax)
jmp 0x612d
leaq -0x70(%rbp), %rdi
callq 0xb900
jmp 0x604d
leaq 0x3d2c6(%rip), %rdi     # 0x43408
callq 0xbb20
addq $0xc0, %rsp
popq %rbp
retq