// File: /workspace/github_cpp_makefile_star2_O1/temelmertcan[P]multgen/src/adders.cpp
// Function: ppx_postprocess(int, int&, 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::queue<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::deque<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>>&)
void ppx_postprocess (int size, int& index,
                      string*& g, string*& p, std::queue<string>& verilog){

  verilog.push ("assign OUT[0] = p_0[0];");

  for (int i = 1; i<size; i+=1){

    verilog.push ("assign OUT[" + to_string(i) + "] = p_0[" + to_string(i) + "] ^ " + g[i-1] + ";");
  }

  verilog.push ("assign OUT[" + to_string(size) + "] = " + g[size-1] + ";");

  verilog.push("outdent");
  verilog.push("endmodule");

  verilog.push("");

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
movq %r8, %r14
movq %rdx, -0x100(%rbp)
movl %edi, %r15d
leaq -0x38(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x49faf(%rip), %rsi     # 0x79c33
leaq 0x49fbf(%rip), %rdx     # 0x79c4a
leaq -0x48(%rbp), %rdi
callq 0x2b022
leaq -0x48(%rbp), %rsi
movq %r14, %rdi
callq 0x2ad60
movq %r14, -0x98(%rbp)
movq -0x48(%rbp), %rdi
cmpq %rbx, %rdi
je 0x2fcb5
callq 0x31d0
movl %r15d, -0x4c(%rbp)
cmpl $0x2, %r15d
jl 0x3014f
leaq -0x80(%rbp), %r13
leaq -0xe8(%rbp), %rbx
movl -0x4c(%rbp), %eax
movq %rax, -0x128(%rbp)
movl $0x1, %r12d
movl $0xd1b71759, %r15d      # imm = 0xD1B71759
movl $0x1, %r14d
cmpq $0xa, %r12
jb 0x2fd32
movl $0x4, %r14d
movl %r12d, %eax
cmpl $0x63, %eax
jbe 0x2fd29
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x2fd2f
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x2fd32
movl %eax, %ecx
imulq %r15, %rcx
shrq $0x2d, %rcx
addl $0x4, %r14d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x2fcf9
addl $-0x3, %r14d
jmp 0x2fd32
addl $-0x2, %r14d
jmp 0x2fd32
decl %r14d
movl %r14d, %esi
leaq -0x138(%rbp), %rax
movq %rax, -0x148(%rbp)
leaq -0x148(%rbp), %r15
movq %r15, %rdi
movl $0x2d, %edx
callq 0x3250
movq -0x148(%rbp), %rdi
movl %r14d, %esi
movl %r12d, %edx
callq 0x2aad9
movl $0xb, %r8d
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x49df3(%rip), %rcx     # 0x79b70
callq 0x3230
leaq -0x110(%rbp), %rsi
movq %rsi, -0x120(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2fdb2
movq %rdx, -0x120(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x110(%rbp)
jmp 0x2fdb8
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movl $0xd1b71759, %r15d      # imm = 0xD1B71759
movq 0x8(%rax), %rdx
movq %rdx, -0x118(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x120(%rbp), %rdi
leaq 0x49e65(%rip), %rsi     # 0x79c4b
callq 0x33d0
leaq -0x60(%rbp), %rsi
movq %rsi, -0x70(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2fe0f
movq %rdx, -0x70(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x60(%rbp)
jmp 0x2fe15
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0x68(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl $0x1, %r14d
cmpq $0xa, %r12
jb 0x2fe7a
movl $0x4, %r14d
movl %r12d, %eax
cmpl $0x63, %eax
jbe 0x2fe71
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x2fe77
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x2fe7a
movl %eax, %ecx
imulq %r15, %rcx
shrq $0x2d, %rcx
addl $0x4, %r14d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x2fe41
addl $-0x3, %r14d
jmp 0x2fe7a
addl $-0x2, %r14d
jmp 0x2fe7a
decl %r14d
movl %r14d, %esi
leaq -0xc8(%rbp), %rax
movq %rax, -0xd8(%rbp)
leaq -0xd8(%rbp), %rdi
movl $0x2d, %edx
callq 0x3250
movq -0xd8(%rbp), %rdi
movl %r14d, %esi
movl %r12d, %edx
callq 0x2aad9
movq -0x70(%rbp), %rcx
movl $0xf, %esi
leaq -0x60(%rbp), %rax
cmpq %rax, %rcx
je 0x2fec4
movq -0x60(%rbp), %rsi
movq -0x68(%rbp), %r8
movq -0xd0(%rbp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rsi, %rax
leaq -0x38(%rbp), %r14
jbe 0x2fefd
movl $0xf, %esi
leaq -0xc8(%rbp), %rdi
cmpq %rdi, -0xd8(%rbp)
je 0x2fef8
movq -0xc8(%rbp), %rsi
cmpq %rsi, %rax
jbe 0x2ff0f
movq -0xd8(%rbp), %rsi
leaq -0x70(%rbp), %rdi
callq 0x30a0
jmp 0x2ff1f
leaq -0xd8(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3230
movq %r13, -0x90(%rbp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x2ff42
movq %rdx, -0x90(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x80(%rbp)
jmp 0x2ff4a
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, -0x88(%rbp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq -0x90(%rbp), %rdi
leaq 0x49cdd(%rip), %rsi     # 0x79c54
callq 0x33d0
movq %rbx, -0xf8(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2ffa5
movq %rdx, -0xf8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xe8(%rbp)
jmp 0x2ffab
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq 0x8(%rax), %rdx
movq %rdx, -0xf0(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x100(%rbp), %rax
movq (%rax), %rax
movq %r12, %rcx
shlq $0x5, %rcx
movq -0x20(%rax,%rcx), %rsi
movq -0x18(%rax,%rcx), %rdx
leaq -0xf8(%rbp), %rdi
callq 0x30a0
leaq -0xa8(%rbp), %rsi
movq %rsi, -0xb8(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x3001c
movq %rdx, -0xb8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xa8(%rbp)
jmp 0x30022
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0xb0(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0xb8(%rbp), %rdi
leaq 0x4a6c7(%rip), %rsi     # 0x7a711
callq 0x33d0
movq %r14, -0x48(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x3006f
movq %rdx, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0x30076
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, -0x40(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x98(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x2ad60
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0x300ab
callq 0x31d0
movq -0xb8(%rbp), %rdi
leaq -0xa8(%rbp), %rax
cmpq %rax, %rdi
je 0x300c3
callq 0x31d0
movq -0xf8(%rbp), %rdi
cmpq %rbx, %rdi
je 0x300d4
callq 0x31d0
movq -0x90(%rbp), %rdi
cmpq %r13, %rdi
je 0x300e5
callq 0x31d0
movq -0xd8(%rbp), %rdi
leaq -0xc8(%rbp), %rax
cmpq %rax, %rdi
je 0x300fd
callq 0x31d0
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x3010f
callq 0x31d0
movq -0x120(%rbp), %rdi
leaq -0x110(%rbp), %rax
cmpq %rax, %rdi
je 0x30127
callq 0x31d0
movq -0x148(%rbp), %rdi
leaq -0x138(%rbp), %rax
cmpq %rax, %rdi
je 0x3013f
callq 0x31d0
incq %r12
cmpq -0x128(%rbp), %r12
jne 0x2fce4
movl -0x4c(%rbp), %esi
movl %esi, %r14d
negl %r14d
cmovsl %esi, %r14d
movl $0x1, %r12d
cmpl $0xa, %r14d
leaq -0x60(%rbp), %rdi
jb 0x301b6
movl $0x4, %r12d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r14d, %ecx
cmpl $0x63, %ecx
jbe 0x301ad
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x301b3
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x301b6
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r12d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x3017a
addl $-0x3, %r12d
jmp 0x301b6
addl $-0x2, %r12d
jmp 0x301b6
decl %r12d
movl %esi, %r13d
shrl $0x1f, %r13d
leal (%r12,%r13), %esi
leaq -0x70(%rbp), %rbx
movq %rdi, (%rbx)
movq %rbx, %rdi
movl $0x2d, %edx
callq 0x3250
addq (%rbx), %r13
movq %r13, %rdi
movl %r12d, %esi
movl %r14d, %edx
callq 0x2aad9
leaq 0x49983(%rip), %rcx     # 0x79b70
movl $0xb, %r8d
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3230
leaq -0x80(%rbp), %rbx
movq %rbx, -0x10(%rbx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
leaq -0x38(%rbp), %r14
je 0x3022a
movq %rdx, -0x90(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x80(%rbp)
jmp 0x30230
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq -0x98(%rbp), %r13
movq 0x8(%rax), %rdx
leaq -0x90(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x48ff9(%rip), %rsi     # 0x79255
callq 0x33d0
leaq -0xe8(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x3028e
movq %rdx, -0xf8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xe8(%rbp)
jmp 0x30295
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq -0xf8(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x100(%rbp), %rax
movq (%rax), %rax
movslq -0x4c(%rbp), %rcx
shlq $0x5, %rcx
movq -0x20(%rax,%rcx), %rsi
movq -0x18(%rax,%rcx), %rdx
callq 0x30a0
leaq -0xa8(%rbp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x30302
movq %rdx, -0xb8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xa8(%rbp)
jmp 0x3030a
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq -0xb8(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x4a3e2(%rip), %rsi     # 0x7a711
callq 0x33d0
movq %r14, -0x48(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x30354
movq %rdx, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0x3035b
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
leaq -0x48(%rbp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r13, %rdi
callq 0x2ad60
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0x3038c
callq 0x31d0
movq -0xb8(%rbp), %rdi
cmpq %r12, %rdi
je 0x3039d
callq 0x31d0
movq -0xf8(%rbp), %rdi
cmpq %r15, %rdi
je 0x303ae
callq 0x31d0
movq -0x90(%rbp), %rdi
cmpq %rbx, %rdi
leaq -0x60(%rbp), %rbx
je 0x303c3
callq 0x31d0
movq -0x70(%rbp), %rdi
cmpq %rbx, %rdi
je 0x303d1
callq 0x31d0
leaq -0x48(%rbp), %rdi
movq %r14, (%rdi)
leaq 0x48952(%rip), %rsi     # 0x78d31
leaq 0x48952(%rip), %rdx     # 0x78d38
callq 0x2b022
leaq -0x48(%rbp), %rsi
movq %r13, %rdi
callq 0x2ad60
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0x30405
callq 0x31d0
leaq -0x48(%rbp), %rdi
movq %r14, (%rdi)
leaq 0x489c6(%rip), %rsi     # 0x78dd9
leaq 0x489c8(%rip), %rdx     # 0x78de2
callq 0x2b022
leaq -0x48(%rbp), %rsi
movq %r13, %rdi
callq 0x2ad60
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0x30439
callq 0x31d0
leaq -0x48(%rbp), %rdi
movq %r14, (%rdi)
leaq 0x4a1ba(%rip), %rdx     # 0x7a601
movq %rdx, %rsi
callq 0x2b022
leaq -0x48(%rbp), %rsi
movq %r13, %rdi
callq 0x2ad60
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0x30469
callq 0x31d0
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x30489
jmp 0x30520
jmp 0x30489
jmp 0x30520
movq %r14, %rcx
movq %rax, %r14
movq -0x48(%rbp), %rdi
cmpq %rcx, %rdi
jne 0x305f4
jmp 0x305f9
jmp 0x30520
movq %r14, %rcx
movq %rax, %r14
movq -0x48(%rbp), %rdi
cmpq %rcx, %rdi
je 0x304bc
callq 0x31d0
jmp 0x304bc
movq %rax, %r14
movq -0xb8(%rbp), %rdi
cmpq %r12, %rdi
je 0x304d2
callq 0x31d0
jmp 0x304d2
movq %rax, %r14
movq -0xf8(%rbp), %rdi
cmpq %r15, %rdi
je 0x304e8
callq 0x31d0
jmp 0x304e8
movq %rax, %r14
movq -0x90(%rbp), %rdi
cmpq %rbx, %rdi
je 0x304fe
callq 0x31d0
jmp 0x304fe
movq %rax, %r14
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
jmp 0x305ef
movq %rax, %r14
movq -0x48(%rbp), %rdi
cmpq %rbx, %rdi
jne 0x305f4
jmp 0x305f9
movq %rax, %r14
jmp 0x305f9
movq %rax, %r14
jmp 0x305e1
movq %rax, %r14
jmp 0x305c9
movq %rax, %r14
jmp 0x305b7
movq %rax, %r14
jmp 0x3059f
movq %rax, %r14
jmp 0x3058e
movq %rax, %r14
jmp 0x3057d
movq %rax, %r14
jmp 0x30565
movq %r14, %rcx
movq %rax, %r14
movq -0x48(%rbp), %rdi
cmpq %rcx, %rdi
je 0x30565
callq 0x31d0
movq -0xb8(%rbp), %rdi
leaq -0xa8(%rbp), %rax
cmpq %rax, %rdi
je 0x3057d
callq 0x31d0
movq -0xf8(%rbp), %rdi
cmpq %rbx, %rdi
je 0x3058e
callq 0x31d0
movq -0x90(%rbp), %rdi
cmpq %r13, %rdi
je 0x3059f
callq 0x31d0
movq -0xd8(%rbp), %rdi
leaq -0xc8(%rbp), %rax
cmpq %rax, %rdi
je 0x305b7
callq 0x31d0
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x305c9
callq 0x31d0
movq -0x120(%rbp), %rdi
leaq -0x110(%rbp), %rax
cmpq %rax, %rdi
je 0x305e1
callq 0x31d0
movq -0x148(%rbp), %rdi
leaq -0x138(%rbp), %rax
cmpq %rax, %rdi
je 0x305f9
callq 0x31d0
movq %r14, %rdi
callq 0x33a0