// File: /workspace/github_cpp_makefile_star2_O3/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
movq %rdi, 0x8(%rdi)
addq $0x10, %rdi
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rsi)
xorl %eax, %eax
movq %rax, 0x20(%rsi)
movq (%rbx), %rcx
movq %rsi, -0x48(%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, -0x40(%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 0x6544
movq 0x10(%rbx), %rcx
movq 0x18(%rbx), %rsi
cmpq %rcx, %rsi
movabsq $-0x5555555555555555, %r9 # imm = 0xAAAAAAAAAAAAAAAB
je 0x6271
movq %rbx, %r8
movq -0x40(%rbp), %rax
movq 0x10(%rax), %rdx
movq 0x18(%rax), %rax
xorl %r13d, %r13d
leaq -0x88(%rbp), %r12
movq $0x0, -0x30(%rbp)
movq %rbx, -0x50(%rbp)
cmpq %rdx, %rax
je 0x6248
movq -0x30(%rbp), %rax
leaq (%rax,%rax,2), %rax
shlq $0x3, %rax
movq %rax, -0x58(%rbp)
xorl %r14d, %r14d
xorl %r15d, %r15d
movq -0x30(%rbp), %rax
addq %r15, %rax
movq -0x48(%rbp), %rcx
movq 0x10(%rcx), %rbx
movq 0x18(%rcx), %rcx
subq %rbx, %rcx
sarq $0x3, %rcx
imulq %r9, %rcx
cmpq %rax, %rcx
jbe 0x628f
movq 0x10(%r8), %rsi
addq -0x58(%rbp), %rsi
addq %r14, %rdx
movq %r12, %rdi
callq 0x64e0
addq %r13, %rbx
addq %r14, %rbx
leaq -0x70(%rbp), %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq 0x6590
movq -0x38(%rbp), %rax
movq (%rax), %rax
addq %r13, %rax
movq -0x60(%rbp), %rcx
movq %rcx, 0x10(%r14,%rax)
movups -0x70(%rbp), %xmm0
movups %xmm0, (%r14,%rax)
incq %r15
movq -0x40(%rbp), %rax
movq 0x10(%rax), %rdx
movq 0x18(%rax), %rax
movq %rax, %rcx
subq %rdx, %rcx
sarq $0x3, %rcx
movabsq $-0x5555555555555555, %r9 # imm = 0xAAAAAAAAAAAAAAAB
imulq %r9, %rcx
addq $0x18, %r14
cmpq %r15, %rcx
movq -0x50(%rbp), %r8
ja 0x619b
movq 0x10(%r8), %rcx
movq 0x18(%r8), %rsi
jmp 0x624b
movq %rdx, %rax
movq -0x30(%rbp), %r14
incq %r14
movq %rsi, %r10
subq %rcx, %r10
sarq $0x3, %r10
imulq %r9, %r10
addq $0x18, %r13
movq %r14, -0x30(%rbp)
cmpq %r14, %r10
ja 0x617c
movq -0x48(%rbp), %rbx
movq %rbx, %rdi
callq 0x3eec
movq %rbx, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2e7f(%rip), %rdi      # 0x9115
leaq 0x2e8c(%rip), %rsi      # 0x9129
leaq 0x2e8e(%rip), %rcx      # 0x9132
movl $0x51, %edx
callq 0x2100
jmp 0x62b2
jmp 0x62b2
movq %rax, %rbx
movq -0x38(%rbp), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je 0x62c6
callq 0x2180
movq %rbx, %rdi
callq 0x22a0