// File: /workspace/github_cpp_makefile_star2_O1/asd00012334[P]Abstract-Algebra-2018/main.cpp
// Function: Polynomial<prime::Zp, prime::ZpElement>::operator*(Polynomial<prime::Zp, prime::ZpElement> const&) const
Polynomial operator*(Polynomial const& p2)const{
        Polynomial out;
        out.canonicalType.scalar = canonicalType.scalar;
        out.coef.resize(coef.size()+p2.coef.size()-1,canonicalType.scalar->__zero__());
        for(int i=0;i<coef.size();++i)
        for(int j=0;j<p2.coef.size();++j){
            assert(i+j<out.coef.size());
            out.coef[i+j] = out.coef[i+j] + coef[i] * p2.coef[j];
        }
        out.reduce();
        return out;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %rbx
movq %rdi, %rsi
xorl %eax, %eax
movq %rax, (%rdi)
movq %rdi, 0x8(%rdi)
addq $0x10, %rdi
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rsi)
movq %rax, 0x20(%rsi)
movq (%rbx), %rcx
movq %rsi, -0x40(%rbp)
movq %rcx, (%rsi)
movq 0x18(%rbx), %rsi
subq 0x10(%rbx), %rsi
sarq $0x3, %rsi
movabsq $-0x5555555555555555, %r9 # imm = 0xAAAAAAAAAAAAAAAB
movq 0x18(%rdx), %r8
movq %rdx, -0x48(%rbp)
subq 0x10(%rdx), %r8
imulq %r9, %rsi
sarq $0x3, %r8
imulq %r9, %r8
leaq -0x70(%rbp), %rdx
movq %rcx, (%rdx)
movq %rcx, 0x8(%rdx)
movq %rax, 0x10(%rdx)
addq %r8, %rsi
decq %rsi
movq %rdi, -0x38(%rbp)
callq 0x6582
movq 0x18(%rbx), %rax
cmpq 0x10(%rbx), %rax
movabsq $-0x5555555555555555, %r8 # imm = 0xAAAAAAAAAAAAAAAB
je 0x62b0
movq %rbx, %rsi
xorl %r15d, %r15d
leaq -0x88(%rbp), %r12
movq $0x0, -0x30(%rbp)
movq %rbx, -0x50(%rbp)
movq -0x48(%rbp), %rax
movq 0x10(%rax), %rdx
cmpq %rdx, 0x18(%rax)
je 0x6288
movq -0x30(%rbp), %rax
leaq (%rax,%rax,2), %rax
shlq $0x3, %rax
movq %rax, -0x58(%rbp)
xorl %r14d, %r14d
xorl %r13d, %r13d
movq -0x30(%rbp), %rax
addq %r13, %rax
movq -0x40(%rbp), %rcx
movq 0x10(%rcx), %rbx
movq 0x18(%rcx), %rcx
subq %rbx, %rcx
sarq $0x3, %rcx
imulq %r8, %rcx
cmpq %rax, %rcx
jbe 0x62ce
movq 0x10(%rsi), %rsi
addq -0x58(%rbp), %rsi
addq %r14, %rdx
movq %r12, %rdi
callq 0x651e
addq %r15, %rbx
addq %r14, %rbx
leaq -0x70(%rbp), %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq 0x65ce
movq -0x38(%rbp), %rax
movq (%rax), %rax
addq %r15, %rax
movq -0x60(%rbp), %rcx
movq %rcx, 0x10(%r14,%rax)
movups -0x70(%rbp), %xmm0
movups %xmm0, (%r14,%rax)
incq %r13
movq -0x48(%rbp), %rax
movq 0x10(%rax), %rdx
movq 0x18(%rax), %rax
subq %rdx, %rax
sarq $0x3, %rax
movabsq $-0x5555555555555555, %r8 # imm = 0xAAAAAAAAAAAAAAAB
imulq %r8, %rax
addq $0x18, %r14
cmpq %r13, %rax
movq -0x50(%rbp), %rsi
ja 0x61e8
movq -0x30(%rbp), %rdx
incq %rdx
movq 0x18(%rsi), %rax
subq 0x10(%rsi), %rax
sarq $0x3, %rax
imulq %r8, %rax
addq $0x18, %r15
movq %rdx, -0x30(%rbp)
cmpq %rdx, %rax
ja 0x61c0
movq -0x40(%rbp), %rbx
movq %rbx, %rdi
callq 0x3ee0
movq %rbx, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2e40(%rip), %rdi      # 0x9115
leaq 0x2e4d(%rip), %rsi      # 0x9129
leaq 0x2e4f(%rip), %rcx      # 0x9132
movl $0x51, %edx
callq 0x2100
jmp 0x62f1
jmp 0x62f1
movq %rax, %rbx
movq -0x38(%rbp), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je 0x6305
callq 0x2180
movq %rbx, %rdi
callq 0x22a0
nop