// File: occivink[P]pyct/monocypher.cpp
// Function: fe_mul_small(int*, int const*, int)
static void fe_mul_small(fe h, const fe f, i32 g)
{
    i64 t0 = f[0] * (i64) g;  i64 t1 = f[1] * (i64) g;
    i64 t2 = f[2] * (i64) g;  i64 t3 = f[3] * (i64) g;
    i64 t4 = f[4] * (i64) g;  i64 t5 = f[5] * (i64) g;
    i64 t6 = f[6] * (i64) g;  i64 t7 = f[7] * (i64) g;
    i64 t8 = f[8] * (i64) g;  i64 t9 = f[9] * (i64) g;
    // |t0|, |t2|, |t4|, |t6|, |t8|  <  1.65 * 2^26 * 2^31  < 2^58
    // |t1|, |t3|, |t5|, |t7|, |t9|  <  1.65 * 2^25 * 2^31  < 2^57

    FE_CARRY; // Carry precondition OK
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq -0x10(%rbp), %rax
movslq (%rax), %rax
movslq -0x14(%rbp), %rcx
imulq %rcx, %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rax
movslq 0x4(%rax), %rax
movslq -0x14(%rbp), %rcx
imulq %rcx, %rax
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rax
movslq 0x8(%rax), %rax
movslq -0x14(%rbp), %rcx
imulq %rcx, %rax
movq %rax, -0x30(%rbp)
movq -0x10(%rbp), %rax
movslq 0xc(%rax), %rax
movslq -0x14(%rbp), %rcx
imulq %rcx, %rax
movq %rax, -0x38(%rbp)
movq -0x10(%rbp), %rax
movslq 0x10(%rax), %rax
movslq -0x14(%rbp), %rcx
imulq %rcx, %rax
movq %rax, -0x40(%rbp)
movq -0x10(%rbp), %rax
movslq 0x14(%rax), %rax
movslq -0x14(%rbp), %rcx
imulq %rcx, %rax
movq %rax, -0x48(%rbp)
movq -0x10(%rbp), %rax
movslq 0x18(%rax), %rax
movslq -0x14(%rbp), %rcx
imulq %rcx, %rax
movq %rax, -0x50(%rbp)
movq -0x10(%rbp), %rax
movslq 0x1c(%rax), %rax
movslq -0x14(%rbp), %rcx
imulq %rcx, %rax
movq %rax, -0x58(%rbp)
movq -0x10(%rbp), %rax
movslq 0x20(%rax), %rax
movslq -0x14(%rbp), %rcx
imulq %rcx, %rax
movq %rax, -0x60(%rbp)
movq -0x10(%rbp), %rax
movslq 0x24(%rax), %rax
movslq -0x14(%rbp), %rcx
imulq %rcx, %rax
movq %rax, -0x68(%rbp)
movq -0x20(%rbp), %rax
addq $0x2000000, %rax        # imm = 0x2000000
sarq $0x1a, %rax
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rcx
shlq $0x1a, %rcx
movq -0x20(%rbp), %rax
subq %rcx, %rax
movq %rax, -0x20(%rbp)
movq -0x70(%rbp), %rax
addq -0x28(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x40(%rbp), %rax
addq $0x2000000, %rax        # imm = 0x2000000
sarq $0x1a, %rax
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rcx
shlq $0x1a, %rcx
movq -0x40(%rbp), %rax
subq %rcx, %rax
movq %rax, -0x40(%rbp)
movq -0x70(%rbp), %rax
addq -0x48(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x28(%rbp), %rax
addq $0x1000000, %rax        # imm = 0x1000000
sarq $0x19, %rax
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rcx
shlq $0x19, %rcx
movq -0x28(%rbp), %rax
subq %rcx, %rax
movq %rax, -0x28(%rbp)
movq -0x70(%rbp), %rax
addq -0x30(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x48(%rbp), %rax
addq $0x1000000, %rax        # imm = 0x1000000
sarq $0x19, %rax
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rcx
shlq $0x19, %rcx
movq -0x48(%rbp), %rax
subq %rcx, %rax
movq %rax, -0x48(%rbp)
movq -0x70(%rbp), %rax
addq -0x50(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x30(%rbp), %rax
addq $0x2000000, %rax        # imm = 0x2000000
sarq $0x1a, %rax
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rcx
shlq $0x1a, %rcx
movq -0x30(%rbp), %rax
subq %rcx, %rax
movq %rax, -0x30(%rbp)
movq -0x70(%rbp), %rax
addq -0x38(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x50(%rbp), %rax
addq $0x2000000, %rax        # imm = 0x2000000
sarq $0x1a, %rax
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rcx
shlq $0x1a, %rcx
movq -0x50(%rbp), %rax
subq %rcx, %rax
movq %rax, -0x50(%rbp)
movq -0x70(%rbp), %rax
addq -0x58(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x38(%rbp), %rax
addq $0x1000000, %rax        # imm = 0x1000000
sarq $0x19, %rax
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rcx
shlq $0x19, %rcx
movq -0x38(%rbp), %rax
subq %rcx, %rax
movq %rax, -0x38(%rbp)
movq -0x70(%rbp), %rax
addq -0x40(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x58(%rbp), %rax
addq $0x1000000, %rax        # imm = 0x1000000
sarq $0x19, %rax
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rcx
shlq $0x19, %rcx
movq -0x58(%rbp), %rax
subq %rcx, %rax
movq %rax, -0x58(%rbp)
movq -0x70(%rbp), %rax
addq -0x60(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x40(%rbp), %rax
addq $0x2000000, %rax        # imm = 0x2000000
sarq $0x1a, %rax
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rcx
shlq $0x1a, %rcx
movq -0x40(%rbp), %rax
subq %rcx, %rax
movq %rax, -0x40(%rbp)
movq -0x70(%rbp), %rax
addq -0x48(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x60(%rbp), %rax
addq $0x2000000, %rax        # imm = 0x2000000
sarq $0x1a, %rax
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rcx
shlq $0x1a, %rcx
movq -0x60(%rbp), %rax
subq %rcx, %rax
movq %rax, -0x60(%rbp)
movq -0x70(%rbp), %rax
addq -0x68(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rax
addq $0x1000000, %rax        # imm = 0x1000000
sarq $0x19, %rax
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rcx
shlq $0x19, %rcx
movq -0x68(%rbp), %rax
subq %rcx, %rax
movq %rax, -0x68(%rbp)
imulq $0x13, -0x70(%rbp), %rax
addq -0x20(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
addq $0x2000000, %rax        # imm = 0x2000000
sarq $0x1a, %rax
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rcx
shlq $0x1a, %rcx
movq -0x20(%rbp), %rax
subq %rcx, %rax
movq %rax, -0x20(%rbp)
movq -0x70(%rbp), %rax
addq -0x28(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x20(%rbp), %rax
movl %eax, %ecx
movq -0x8(%rbp), %rax
movl %ecx, (%rax)
movq -0x28(%rbp), %rax
movl %eax, %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x4(%rax)
movq -0x30(%rbp), %rax
movl %eax, %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x8(%rax)
movq -0x38(%rbp), %rax
movl %eax, %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0xc(%rax)
movq -0x40(%rbp), %rax
movl %eax, %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x10(%rax)
movq -0x48(%rbp), %rax
movl %eax, %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x14(%rax)
movq -0x50(%rbp), %rax
movl %eax, %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x18(%rax)
movq -0x58(%rbp), %rax
movl %eax, %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x1c(%rax)
movq -0x60(%rbp), %rax
movl %eax, %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x20(%rax)
movq -0x68(%rbp), %rax
movl %eax, %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x24(%rax)
popq %rbp
retq
nopw %cs:(%rax,%rax)