// File: Sooryakiran[P]dotV/src/verilog.cpp
// Function: JOIN_N_BIT::JOIN_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)
JOIN_N_BIT::JOIN_N_BIT(string name, wire a, wire b, int n_bits){
    this->name = name;
    this->inputs.push_back(a);
    this->inputs.push_back(b);
    this->transistors = 0;
    this->n_bits = n_bits;
    this->definition = "module JOIN_" + to_string(n_bits) + "_BIT (a, a);\n"
                       "\t inout [" + to_string(n_bits - 1) + ":0] a;\n"
                       "endmodule";
    this->generate = "JOIN_" + to_string(n_bits) + "_BIT " + this->name + " (" + this->inputs.at(0) + ", " + this->inputs.at(1) + ");";
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x250, %rsp            # imm = 0x250
movq %rsi, -0x220(%rbp)
movq %rdx, -0x238(%rbp)
movq %rcx, -0x230(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movl %r8d, -0x24(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x228(%rbp)
callq 0x1c4e0
movq -0x228(%rbp), %rdi
movq -0x220(%rbp), %rsi
callq 0x1b0b0
jmp 0x206f9
movq -0x238(%rbp), %rsi
movq -0x228(%rbp), %rdi
subq $-0x80, %rdi
callq 0x1bc10
jmp 0x20712
movq -0x230(%rbp), %rsi
movq -0x228(%rbp), %rdi
subq $-0x80, %rdi
callq 0x1bc10
jmp 0x2072b
movq -0x228(%rbp), %rax
movl $0x0, 0x60(%rax)
movl -0x24(%rbp), %ecx
movl %ecx, 0x190(%rax)
movl -0x24(%rbp), %esi
leaq -0xd8(%rbp), %rdi
callq 0x1ced0
jmp 0x20753
leaq 0x26a17(%rip), %rsi     # 0x47171
leaq -0xb8(%rbp), %rdi
leaq -0xd8(%rbp), %rdx
callq 0x1d820
jmp 0x2076f
leaq 0x26a08(%rip), %rdx     # 0x4717e
leaq -0x98(%rbp), %rdi
leaq -0xb8(%rbp), %rsi
callq 0x1b430
jmp 0x2078b
movl -0x24(%rbp), %esi
decl %esi
leaq -0xf8(%rbp), %rdi
callq 0x1ced0
jmp 0x2079e
leaq -0x78(%rbp), %rdi
leaq -0x98(%rbp), %rsi
leaq -0xf8(%rbp), %rdx
callq 0x1c460
jmp 0x207b7
leaq 0x269d7(%rip), %rdx     # 0x47195
leaq -0x58(%rbp), %rdi
leaq -0x78(%rbp), %rsi
callq 0x1b430
jmp 0x207cd
movq -0x228(%rbp), %rdi
addq $0x20, %rdi
leaq -0x58(%rbp), %rsi
movq %rsi, -0x240(%rbp)
callq 0x1cd30
movq -0x240(%rbp), %rdi
callq 0x1bea0
leaq -0x78(%rbp), %rdi
callq 0x1bea0
leaq -0xf8(%rbp), %rdi
callq 0x1bea0
leaq -0x98(%rbp), %rdi
callq 0x1bea0
leaq -0xb8(%rbp), %rdi
callq 0x1bea0
leaq -0xd8(%rbp), %rdi
callq 0x1bea0
movl -0x24(%rbp), %esi
leaq -0x218(%rbp), %rdi
callq 0x1ced0
jmp 0x2083e
leaq 0x26933(%rip), %rsi     # 0x47178
leaq -0x1f8(%rbp), %rdi
leaq -0x218(%rbp), %rdx
callq 0x1d820
jmp 0x2085a
leaq 0x26945(%rip), %rdx     # 0x471a6
leaq -0x1d8(%rbp), %rdi
leaq -0x1f8(%rbp), %rsi
callq 0x1b430
jmp 0x20876
movq -0x228(%rbp), %rdx
leaq -0x1b8(%rbp), %rdi
leaq -0x1d8(%rbp), %rsi
callq 0x1d3b0
jmp 0x20892
leaq 0x267b4(%rip), %rdx     # 0x4704d
leaq -0x198(%rbp), %rdi
leaq -0x1b8(%rbp), %rsi
callq 0x1b430
jmp 0x208ae
movq -0x228(%rbp), %rdi
subq $-0x80, %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x1b640
movq %rax, -0x248(%rbp)
jmp 0x208cb
movq -0x248(%rbp), %rdx
leaq -0x178(%rbp), %rdi
leaq -0x198(%rbp), %rsi
callq 0x1d3b0
jmp 0x208e7
leaq 0x26762(%rip), %rdx     # 0x47050
leaq -0x158(%rbp), %rdi
leaq -0x178(%rbp), %rsi
callq 0x1b430
jmp 0x20903
movq -0x228(%rbp), %rdi
subq $-0x80, %rdi
movl $0x1, %esi
callq 0x1b640
movq %rax, -0x250(%rbp)
jmp 0x20921
movq -0x250(%rbp), %rdx
leaq -0x138(%rbp), %rdi
leaq -0x158(%rbp), %rsi
callq 0x1d3b0
jmp 0x2093d
leaq 0x26dad(%rip), %rdx     # 0x476f1
leaq -0x118(%rbp), %rdi
leaq -0x138(%rbp), %rsi
callq 0x1b430
jmp 0x20959
movq -0x228(%rbp), %rdi
addq $0x40, %rdi
leaq -0x118(%rbp), %rsi
callq 0x1cd30
leaq -0x118(%rbp), %rdi
callq 0x1bea0
leaq -0x138(%rbp), %rdi
callq 0x1bea0
leaq -0x158(%rbp), %rdi
callq 0x1bea0
leaq -0x178(%rbp), %rdi
callq 0x1bea0
leaq -0x198(%rbp), %rdi
callq 0x1bea0
leaq -0x1b8(%rbp), %rdi
callq 0x1bea0
leaq -0x1d8(%rbp), %rdi
callq 0x1bea0
leaq -0x1f8(%rbp), %rdi
callq 0x1bea0
leaq -0x218(%rbp), %rdi
callq 0x1bea0
addq $0x250, %rsp            # imm = 0x250
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x20b4f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x20a67
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x20a5b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x20a4f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x20a43
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x78(%rbp), %rdi
callq 0x1bea0
leaq -0xf8(%rbp), %rdi
callq 0x1bea0
leaq -0x98(%rbp), %rdi
callq 0x1bea0
leaq -0xb8(%rbp), %rdi
callq 0x1bea0
leaq -0xd8(%rbp), %rdi
callq 0x1bea0
jmp 0x20b4f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x20b43
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x20b37
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x20b2b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x20b1f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x20b13
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x20b07
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x20afb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x138(%rbp), %rdi
callq 0x1bea0
leaq -0x158(%rbp), %rdi
callq 0x1bea0
leaq -0x178(%rbp), %rdi
callq 0x1bea0
leaq -0x198(%rbp), %rdi
callq 0x1bea0
leaq -0x1b8(%rbp), %rdi
callq 0x1bea0
leaq -0x1d8(%rbp), %rdi
callq 0x1bea0
leaq -0x1f8(%rbp), %rdi
callq 0x1bea0
leaq -0x218(%rbp), %rdi
callq 0x1bea0
movq -0x228(%rbp), %rdi
callq 0x1b6d0
movq -0x30(%rbp), %rdi
callq 0x1da60
nopw %cs:(%rax,%rax)