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

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x120, %rsp            # imm = 0x120
movq %rsi, -0xf8(%rbp)
movq %rdx, -0x110(%rbp)
movq %rcx, -0x108(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x100(%rbp)
callq 0x1c4e0
movq -0x100(%rbp), %rdi
movq -0xf8(%rbp), %rsi
callq 0x1b0b0
jmp 0x20475
movq -0x110(%rbp), %rsi
movq -0x100(%rbp), %rdi
subq $-0x80, %rdi
callq 0x1bc10
jmp 0x2048e
movq -0x108(%rbp), %rsi
movq -0x100(%rbp), %rdi
subq $-0x80, %rdi
callq 0x1bc10
jmp 0x204a7
movq -0x100(%rbp), %rdi
movl $0x0, 0x60(%rdi)
addq $0x20, %rdi
leaq 0x26c83(%rip), %rsi     # 0x47143
callq 0x1d020
jmp 0x204c7
movq -0x100(%rbp), %rdx
leaq 0x26c96(%rip), %rsi     # 0x4716b
leaq -0xf0(%rbp), %rdi
callq 0x1c5a0
jmp 0x204e3
leaq 0x26b63(%rip), %rdx     # 0x4704d
leaq -0xd0(%rbp), %rdi
leaq -0xf0(%rbp), %rsi
callq 0x1b430
jmp 0x204ff
movq -0x100(%rbp), %rdi
subq $-0x80, %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x1b640
movq %rax, -0x118(%rbp)
jmp 0x2051c
movq -0x118(%rbp), %rdx
leaq -0xb0(%rbp), %rdi
leaq -0xd0(%rbp), %rsi
callq 0x1d3b0
jmp 0x20538
leaq 0x26b11(%rip), %rdx     # 0x47050
leaq -0x90(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
callq 0x1b430
jmp 0x20554
movq -0x100(%rbp), %rdi
subq $-0x80, %rdi
movl $0x1, %esi
callq 0x1b640
movq %rax, -0x120(%rbp)
jmp 0x20572
movq -0x120(%rbp), %rdx
leaq -0x70(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0x1d3b0
jmp 0x2058b
leaq 0x2715f(%rip), %rdx     # 0x476f1
leaq -0x50(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x1b430
jmp 0x205a1
movq -0x100(%rbp), %rdi
addq $0x40, %rdi
leaq -0x50(%rbp), %rsi
callq 0x1cd30
leaq -0x50(%rbp), %rdi
callq 0x1bea0
leaq -0x70(%rbp), %rdi
callq 0x1bea0
leaq -0x90(%rbp), %rdi
callq 0x1bea0
leaq -0xb0(%rbp), %rdi
callq 0x1bea0
leaq -0xd0(%rbp), %rdi
callq 0x1bea0
leaq -0xf0(%rbp), %rdi
callq 0x1bea0
addq $0x120, %rsp            # imm = 0x120
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x2068b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x2067f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x20673
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x20667
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x2065b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0x70(%rbp), %rdi
callq 0x1bea0
leaq -0x90(%rbp), %rdi
callq 0x1bea0
leaq -0xb0(%rbp), %rdi
callq 0x1bea0
leaq -0xd0(%rbp), %rdi
callq 0x1bea0
leaq -0xf0(%rbp), %rdi
callq 0x1bea0
movq -0x100(%rbp), %rdi
callq 0x1b6d0
movq -0x28(%rbp), %rdi
callq 0x1da60