// File: /workspace/github_cpp_makefile_star2_O2/Sooryakiran[P]dotV/src/verilog.cpp
// Function: NOT_N_BIT::NOT_N_BIT(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int)
NOT_N_BIT::NOT_N_BIT(string name, wire input_wire, wire output_wire, int n_bits){
    this->name = name;
    this->inputs.push_back(input_wire);
    this->outputs.push_back(output_wire);
    this->transistors = NOT_TRANSISTORS*n_bits;
    this->n_bits = n_bits;

    string array_def = "[" + to_string(n_bits -1) + ":0]";
    this->definition = "module NOT_GATE_" + to_string(n_bits) + "_BIT(in, out);\n"
                       "\t input " + array_def + " in;\n"
                       "\t output " + array_def + " out;\n"
                       "\t assign #" + to_string(NOT_DELAY) + "  out = ~in;\n"
                       "endmodule";    

    this->generate =  "NOT_GATE_" + to_string(this->n_bits) + "_BIT " + this->name + + " (" + this->inputs.at(0) + ", " + this->outputs.at(0) + ");";
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x168, %rsp            # imm = 0x168
movl %r8d, %r12d
movq %rcx, %r13
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
callq 0xa690
movq %rbx, %rdi
movq %r15, %rsi
callq 0xa410
leaq 0x80(%rbx), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0xa3e0
leaq 0x98(%rbx), %r14
movq %r14, %rdi
movq %r13, %rsi
callq 0xa3e0
leal (%r12,%r12), %eax
movl %eax, 0x60(%rbx)
movl %r12d, 0x190(%rbx)
leal -0x1(%r12), %esi
leaq -0x48(%rbp), %rdi
callq 0xa9a0
leaq 0xffb3(%rip), %rsi      # 0x1f1b3
leaq -0x148(%rbp), %rdi
leaq -0x48(%rbp), %rdx
callq 0xac40
leaq 0x1000a(%rip), %rdx     # 0x1f221
leaq -0x168(%rbp), %rdi
leaq -0x148(%rbp), %rsi
callq 0xa150
leaq -0x148(%rbp), %rdi
callq 0xa370
leaq -0x48(%rbp), %rdi
callq 0xa370
leaq -0x68(%rbp), %rdi
movl %r12d, %esi
callq 0xa9a0
leaq 0x1022e(%rip), %rsi     # 0x1f480
leaq -0x88(%rbp), %rdi
leaq -0x68(%rbp), %rdx
callq 0xac40
leaq 0x10228(%rip), %rdx     # 0x1f491
leaq -0xa8(%rbp), %rdi
leaq -0x88(%rbp), %rsi
callq 0xa150
leaq -0xc8(%rbp), %rdi
leaq -0xa8(%rbp), %rsi
leaq -0x168(%rbp), %rdx
callq 0xaaf0
leaq 0x1020c(%rip), %rdx     # 0x1f4a9
leaq -0xe8(%rbp), %rdi
leaq -0xc8(%rbp), %rsi
callq 0xa150
leaq -0x108(%rbp), %rdi
leaq -0xe8(%rbp), %rsi
leaq -0x168(%rbp), %rdx
callq 0xaaf0
leaq 0x1017d(%rip), %rdx     # 0x1f44e
leaq -0x128(%rbp), %rdi
leaq -0x108(%rbp), %rsi
callq 0xa150
leaq -0x188(%rbp), %rdi
pushq $0x1
popq %rsi
callq 0xa9a0
leaq -0x48(%rbp), %rdi
leaq -0x128(%rbp), %rsi
leaq -0x188(%rbp), %rdx
callq 0xa640
leaq 0x1014e(%rip), %rdx     # 0x1f45f
leaq -0x148(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0xa150
leaq 0x20(%rbx), %rdi
leaq -0x148(%rbp), %r12
movq %r12, %rsi
callq 0xa920
movq %r12, %rdi
callq 0xa370
leaq -0x48(%rbp), %rdi
callq 0xa370
leaq -0x188(%rbp), %rdi
callq 0xa370
leaq -0x128(%rbp), %rdi
callq 0xa370
leaq -0x108(%rbp), %rdi
callq 0xa370
leaq -0xe8(%rbp), %rdi
callq 0xa370
leaq -0xc8(%rbp), %rdi
callq 0xa370
leaq -0xa8(%rbp), %rdi
callq 0xa370
leaq -0x88(%rbp), %rdi
callq 0xa370
leaq -0x68(%rbp), %rdi
callq 0xa370
movl 0x190(%rbx), %esi
leaq -0x68(%rbp), %rdi
callq 0xa9a0
leaq 0x100cf(%rip), %rsi     # 0x1f487
leaq -0x88(%rbp), %rdi
leaq -0x68(%rbp), %rdx
callq 0xac40
leaq 0xfdf7(%rip), %rdx      # 0x1f1c6
leaq -0xa8(%rbp), %rdi
leaq -0x88(%rbp), %rsi
callq 0xa150
leaq -0xc8(%rbp), %rdi
leaq -0xa8(%rbp), %rsi
movq %rbx, %rdx
callq 0xaaf0
leaq 0xfc6e(%rip), %rdx      # 0x1f06d
leaq -0xe8(%rbp), %rdi
leaq -0xc8(%rbp), %rsi
callq 0xa150
movq %r15, %rdi
xorl %esi, %esi
callq 0xa200
leaq -0x108(%rbp), %rdi
leaq -0xe8(%rbp), %rsi
movq %rax, %rdx
callq 0xaaf0
leaq 0xfc37(%rip), %rdx      # 0x1f070
leaq -0x128(%rbp), %rdi
leaq -0x108(%rbp), %rsi
callq 0xa150
movq %r14, %rdi
xorl %esi, %esi
callq 0xa200
leaq -0x48(%rbp), %rdi
leaq -0x128(%rbp), %rsi
movq %rax, %rdx
callq 0xaaf0
leaq 0x102a1(%rip), %rdx     # 0x1f711
leaq -0x148(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0xa150
addq $0x40, %rbx
leaq -0x148(%rbp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0xa920
movq %r14, %rdi
callq 0xa370
leaq -0x48(%rbp), %rdi
callq 0xa370
leaq -0x128(%rbp), %rdi
callq 0xa370
leaq -0x108(%rbp), %rdi
callq 0xa370
leaq -0xe8(%rbp), %rdi
callq 0xa370
leaq -0xc8(%rbp), %rdi
callq 0xa370
leaq -0xa8(%rbp), %rdi
callq 0xa370
leaq -0x88(%rbp), %rdi
callq 0xa370
leaq -0x68(%rbp), %rdi
callq 0xa370
leaq -0x168(%rbp), %rdi
callq 0xa370
addq $0x168, %rsp            # imm = 0x168
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq -0x48(%rbp), %rdi
jmp 0xf543
jmp 0xf54c
jmp 0xf553
jmp 0xf558
jmp 0xf55d
jmp 0xf562
jmp 0xf567
movq %rax, %r14
leaq -0x48(%rbp), %rdi
callq 0xa370
jmp 0xf53c
movq %rax, %r14
leaq -0x188(%rbp), %rdi
callq 0xa370
jmp 0xf58b
jmp 0xf588
movq %rax, %r14
jmp 0xf597
jmp 0xf5a5
movq %rax, %r14
jmp 0xf5b4
movq %rax, %r14
jmp 0xf5c0
movq %rax, %r14
jmp 0xf5cc
movq %rax, %r14
jmp 0xf5d8
movq %rax, %r14
jmp 0xf5e1
movq %rax, %r14
leaq -0x148(%rbp), %rdi
callq 0xa370
jmp 0xf580
movq %rax, %r14
leaq -0x48(%rbp), %rdi
jmp 0xf5e8
jmp 0xf5fd
movq %rax, %r14
leaq -0x128(%rbp), %rdi
callq 0xa370
leaq -0x108(%rbp), %rdi
callq 0xa370
jmp 0xf5a8
movq %rax, %r14
leaq -0xe8(%rbp), %rdi
callq 0xa370
leaq -0xc8(%rbp), %rdi
callq 0xa370
leaq -0xa8(%rbp), %rdi
callq 0xa370
leaq -0x88(%rbp), %rdi
callq 0xa370
leaq -0x68(%rbp), %rdi
callq 0xa370
leaq -0x168(%rbp), %rdi
callq 0xa370
movq %rbx, %rdi
callq 0xa230
movq %r14, %rdi
callq 0xad00
movq %rax, %r14
jmp 0xf5ed