// File: /workspace/github_c_makefile_star2_O2/LoupVaillant[P]Monocypher-Utils/src/monocypher.c
// Function: g_rounds
static void g_rounds(block *work_block)
{
    // column rounds (work_block = Q)
    for (int i = 0; i < 128; i += 16) {
        ROUND(work_block->a[i     ], work_block->a[i +  1],
              work_block->a[i +  2], work_block->a[i +  3],
              work_block->a[i +  4], work_block->a[i +  5],
              work_block->a[i +  6], work_block->a[i +  7],
              work_block->a[i +  8], work_block->a[i +  9],
              work_block->a[i + 10], work_block->a[i + 11],
              work_block->a[i + 12], work_block->a[i + 13],
              work_block->a[i + 14], work_block->a[i + 15]);
    }
    // row rounds (work_block = Z)
    for (int i = 0; i < 16; i += 2) {
        ROUND(work_block->a[i      ], work_block->a[i +   1],
              work_block->a[i +  16], work_block->a[i +  17],
              work_block->a[i +  32], work_block->a[i +  33],
              work_block->a[i +  48], work_block->a[i +  49],
              work_block->a[i +  64], work_block->a[i +  65],
              work_block->a[i +  80], work_block->a[i +  81],
              work_block->a[i +  96], work_block->a[i +  97],
              work_block->a[i + 112], work_block->a[i + 113]);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, -0x38(%rsp)
xorl %edi, %edi
cmpq $0x80, %rdi
jae 0x6f01
movq -0x38(%rsp), %rax
movq 0x20(%rax,%rdi,8), %rdx
movq (%rax,%rdi,8), %r15
movq %rax, %r10
leaq (%r15,%r15), %rax
movabsq $0x1fffffffe, %rcx      # imm = 0x1FFFFFFFE
andq %rcx, %rax
movq %rcx, %r11
movl %edx, %ecx
imulq %rax, %rcx
addq %rdx, %r15
addq %rcx, %r15
movq 0x60(%r10,%rdi,8), %r8
xorq %r15, %r8
rolq $0x20, %r8
movq 0x40(%r10,%rdi,8), %rsi
leaq (%rsi,%rsi), %rax
andq %r11, %rax
movl %r8d, %ecx
imulq %rax, %rcx
addq %r8, %rsi
addq %rcx, %rsi
xorq %rsi, %rdx
movq %rsi, -0x20(%rsp)
rolq $0x28, %rdx
movq %rdx, -0x8(%rsp)
movq 0x8(%r10,%rdi,8), %r9
leaq (%r15,%r15), %rax
andq %r11, %rax
movl %edx, %ecx
imulq %rax, %rcx
addq %rdx, %r15
addq %rcx, %r15
xorq %r15, %r8
rolq $0x30, %r8
movq %r8, -0x28(%rsp)
leaq (%rsi,%rsi), %rax
andq %r11, %rax
movl %r8d, %r8d
movq 0x28(%r10,%rdi,8), %r13
leaq (%r9,%r9), %rcx
andq %r11, %rcx
movl %r13d, %edx
imulq %rcx, %rdx
addq %r13, %r9
addq %rdx, %r9
movq 0x68(%r10,%rdi,8), %rsi
xorq %r9, %rsi
rolq $0x20, %rsi
imulq %rax, %r8
movq %r8, -0x10(%rsp)
movq 0x48(%r10,%rdi,8), %rdx
leaq (%rdx,%rdx), %rax
andq %r11, %rax
movl %esi, %ecx
imulq %rax, %rcx
addq %rsi, %rdx
addq %rcx, %rdx
xorq %rdx, %r13
rolq $0x28, %r13
leaq (%r9,%r9), %rax
andq %r11, %rax
movq %r11, %r8
movl %r13d, %ecx
imulq %rax, %rcx
addq %r13, %r9
addq %rcx, %r9
xorq %r9, %rsi
rolq $0x30, %rsi
movq %rsi, -0x18(%rsp)
leaq (%rdx,%rdx), %rax
andq %r11, %rax
movl %esi, %ecx
imulq %rax, %rcx
addq %rsi, %rdx
addq %rcx, %rdx
movq %rdx, -0x40(%rsp)
movq 0x30(%r10,%rdi,8), %rax
movq 0x10(%r10,%rdi,8), %r11
leaq (%r11,%r11), %rcx
movq %r8, %rsi
andq %r8, %rcx
movl %eax, %edx
imulq %rcx, %rdx
addq %rax, %r11
addq %rdx, %r11
movq 0x70(%r10,%rdi,8), %r8
xorq %r11, %r8
rolq $0x20, %r8
movq 0x50(%r10,%rdi,8), %rdx
leaq (%rdx,%rdx), %rcx
andq %rsi, %rcx
movq %rsi, %rbx
movl %r8d, %esi
imulq %rcx, %rsi
addq %r8, %rdx
addq %rsi, %rdx
xorq %rdx, %rax
rolq $0x28, %rax
leaq (%r11,%r11), %rcx
andq %rbx, %rcx
movq %rbx, %r14
movl %eax, %esi
imulq %rcx, %rsi
addq %rax, %r11
addq %rsi, %r11
movq 0x18(%r10,%rdi,8), %r12
leaq (%r12,%r12), %rcx
andq %rbx, %rcx
movq 0x38(%r10,%rdi,8), %rbp
movq %r10, %rbx
movl %ebp, %esi
imulq %rcx, %rsi
xorq %r11, %r8
rolq $0x30, %r8
movq %r8, %r10
addq %rbp, %r12
addq %rsi, %r12
leaq (%rdx,%rdx), %rcx
andq %r14, %rcx
movq 0x78(%rbx,%rdi,8), %rsi
xorq %r12, %rsi
rolq $0x20, %rsi
movl %r10d, %r8d
movq %r10, %r14
movq %r10, -0x30(%rsp)
imulq %rcx, %r8
movq 0x58(%rbx,%rdi,8), %rcx
leaq (%rcx,%rcx), %r10
movabsq $0x1fffffffe, %rbx      # imm = 0x1FFFFFFFE
andq %rbx, %r10
movl %esi, %ebx
imulq %r10, %rbx
addq %rsi, %rcx
addq %rbx, %rcx
addq %r14, %rdx
xorq %rcx, %rbp
rolq $0x28, %rbp
addq %r8, %rdx
leaq (%r12,%r12), %r8
movabsq $0x1fffffffe, %r14      # imm = 0x1FFFFFFFE
andq %r14, %r8
movl %ebp, %r10d
imulq %r8, %r10
addq %rbp, %r12
addq %r10, %r12
xorq %r12, %rsi
rolq $0x30, %rsi
leaq (%rcx,%rcx), %r8
andq %r14, %r8
movl %esi, %r10d
imulq %r8, %r10
addq %rsi, %rcx
addq %r10, %rcx
xorq -0x40(%rsp), %r13
rolq %r13
leaq (%r15,%r15), %r8
andq %r14, %r8
movl %r13d, %r10d
imulq %r8, %r10
addq %r13, %r15
addq %r10, %r15
xorq %r15, %rsi
rolq $0x20, %rsi
leaq (%rdx,%rdx), %r8
andq %r14, %r8
movl %esi, %r10d
imulq %r8, %r10
xorq %rdx, %rax
addq %rsi, %rdx
addq %r10, %rdx
xorq %rdx, %r13
rolq $0x28, %r13
leaq (%r15,%r15), %r8
andq %r14, %r8
movl %r13d, %r10d
imulq %r8, %r10
addq %r13, %r15
addq %r10, %r15
movq -0x38(%rsp), %rbx
movq %r15, (%rbx,%rdi,8)
xorq %rsi, %r15
rolq $0x30, %r15
leaq (%rdx,%rdx), %rsi
andq %r14, %rsi
movl %r15d, %r8d
imulq %rsi, %r8
movq %r15, 0x78(%rbx,%rdi,8)
addq %rdx, %r15
rolq %rax
addq %r8, %r15
movq %r15, 0x50(%rbx,%rdi,8)
xorq %r13, %r15
leaq (%r9,%r9), %rdx
andq %r14, %rdx
movl %eax, %esi
imulq %rdx, %rsi
movq -0x20(%rsp), %r10
movq -0x28(%rsp), %r13
addq %r13, %r10
xorq %rcx, %rbp
rolq %r15
addq %rax, %r9
addq %rsi, %r9
xorq %r9, %r13
rolq $0x20, %r13
movq %r15, 0x28(%rbx,%rdi,8)
leaq (%rcx,%rcx), %rdx
andq %r14, %rdx
movl %r13d, %esi
imulq %rdx, %rsi
addq %r13, %rcx
addq %rsi, %rcx
xorq %rcx, %rax
rolq $0x28, %rax
leaq (%r9,%r9), %rdx
andq %r14, %rdx
movl %eax, %esi
imulq %rdx, %rsi
addq %rax, %r9
addq %rsi, %r9
movq %r9, 0x8(%rbx,%rdi,8)
xorq %r13, %r9
rolq $0x30, %r9
addq -0x10(%rsp), %r10
leaq (%rcx,%rcx), %rdx
andq %r14, %rdx
movl %r9d, %esi
imulq %rdx, %rsi
rolq %rbp
movq %r9, 0x60(%rbx,%rdi,8)
addq %rcx, %r9
addq %rsi, %r9
movq %r9, 0x58(%rbx,%rdi,8)
xorq %rax, %r9
leaq (%r11,%r11), %rax
andq %r14, %rax
movl %ebp, %ecx
imulq %rax, %rcx
movq -0x8(%rsp), %rdx
movq %r10, %rsi
xorq %r10, %rdx
rolq %r9
addq %rbp, %r11
addq %rcx, %r11
movq -0x18(%rsp), %r10
xorq %r11, %r10
rolq $0x20, %r10
movq %r9, 0x30(%rbx,%rdi,8)
leaq (%rsi,%rsi), %rax
andq %r14, %rax
movl %r10d, %ecx
imulq %rax, %rcx
addq %r10, %rsi
addq %rcx, %rsi
xorq %rsi, %rbp
rolq $0x28, %rbp
leaq (%r11,%r11), %rax
andq %r14, %rax
movl %ebp, %ecx
imulq %rax, %rcx
addq %rbp, %r11
addq %rcx, %r11
movq %r11, 0x10(%rbx,%rdi,8)
xorq %r10, %r11
rolq $0x30, %r11
leaq (%rsi,%rsi), %rax
andq %r14, %rax
movl %r11d, %ecx
imulq %rax, %rcx
rolq %rdx
movq %r11, 0x68(%rbx,%rdi,8)
addq %rsi, %r11
addq %rcx, %r11
leaq (%r12,%r12), %rax
andq %r14, %rax
movl %edx, %ecx
imulq %rax, %rcx
movq %r11, 0x40(%rbx,%rdi,8)
addq %rdx, %r12
addq %rcx, %r12
movq -0x30(%rsp), %r9
xorq %r12, %r9
rolq $0x20, %r9
xorq %rbp, %r11
movq -0x40(%rsp), %rsi
leaq (%rsi,%rsi), %rax
andq %r14, %rax
movl %r9d, %ecx
imulq %rax, %rcx
rolq %r11
addq %r9, %rsi
addq %rcx, %rsi
xorq %rsi, %rdx
rolq $0x28, %rdx
movq %r11, 0x38(%rbx,%rdi,8)
leaq (%r12,%r12), %rax
andq %r14, %rax
movl %edx, %ecx
imulq %rax, %rcx
addq %rdx, %r12
addq %rcx, %r12
movq %r12, 0x18(%rbx,%rdi,8)
xorq %r9, %r12
rolq $0x30, %r12
leaq (%rsi,%rsi), %rax
andq %r14, %rax
movl %r12d, %ecx
imulq %rax, %rcx
movq %r12, 0x70(%rbx,%rdi,8)
addq %rsi, %r12
addq %rcx, %r12
movq %r12, 0x48(%rbx,%rdi,8)
xorq %rdx, %r12
rolq %r12
movq %r12, 0x20(%rbx,%rdi,8)
addq $0x10, %rdi
jmp 0x6a78
xorl %edi, %edi
cmpq $0x10, %rdi
jae 0x73dd
movq -0x38(%rsp), %rax
movq 0x100(%rax,%rdi,8), %rdx
movq (%rax,%rdi,8), %r15
movq %rax, %r10
leaq (%r15,%r15), %rax
movabsq $0x1fffffffe, %rcx      # imm = 0x1FFFFFFFE
andq %rcx, %rax
movq %rcx, %r11
movl %edx, %ecx
imulq %rax, %rcx
addq %rdx, %r15
addq %rcx, %r15
movq 0x300(%r10,%rdi,8), %r8
xorq %r15, %r8
rolq $0x20, %r8
movq 0x200(%r10,%rdi,8), %rsi
leaq (%rsi,%rsi), %rax
andq %r11, %rax
movl %r8d, %ecx
imulq %rax, %rcx
addq %r8, %rsi
addq %rcx, %rsi
xorq %rsi, %rdx
movq %rsi, -0x20(%rsp)
rolq $0x28, %rdx
movq %rdx, -0x8(%rsp)
movq 0x8(%r10,%rdi,8), %r9
leaq (%r15,%r15), %rax
andq %r11, %rax
movl %edx, %ecx
imulq %rax, %rcx
addq %rdx, %r15
addq %rcx, %r15
xorq %r15, %r8
rolq $0x30, %r8
movq %r8, -0x28(%rsp)
leaq (%rsi,%rsi), %rax
andq %r11, %rax
movl %r8d, %r8d
movq 0x108(%r10,%rdi,8), %r13
leaq (%r9,%r9), %rcx
andq %r11, %rcx
movl %r13d, %edx
imulq %rcx, %rdx
addq %r13, %r9
addq %rdx, %r9
movq 0x308(%r10,%rdi,8), %rsi
xorq %r9, %rsi
rolq $0x20, %rsi
imulq %rax, %r8
movq %r8, -0x10(%rsp)
movq 0x208(%r10,%rdi,8), %rdx
leaq (%rdx,%rdx), %rax
andq %r11, %rax
movl %esi, %ecx
imulq %rax, %rcx
addq %rsi, %rdx
addq %rcx, %rdx
xorq %rdx, %r13
rolq $0x28, %r13
leaq (%r9,%r9), %rax
andq %r11, %rax
movq %r11, %r8
movl %r13d, %ecx
imulq %rax, %rcx
addq %r13, %r9
addq %rcx, %r9
xorq %r9, %rsi
rolq $0x30, %rsi
movq %rsi, -0x18(%rsp)
leaq (%rdx,%rdx), %rax
andq %r11, %rax
movl %esi, %ecx
imulq %rax, %rcx
addq %rsi, %rdx
addq %rcx, %rdx
movq %rdx, -0x40(%rsp)
movq 0x180(%r10,%rdi,8), %rax
movq 0x80(%r10,%rdi,8), %r11
leaq (%r11,%r11), %rcx
movq %r8, %rsi
andq %r8, %rcx
movl %eax, %edx
imulq %rcx, %rdx
addq %rax, %r11
addq %rdx, %r11
movq 0x380(%r10,%rdi,8), %r8
xorq %r11, %r8
rolq $0x20, %r8
movq 0x280(%r10,%rdi,8), %rdx
leaq (%rdx,%rdx), %rcx
andq %rsi, %rcx
movq %rsi, %rbx
movl %r8d, %esi
imulq %rcx, %rsi
addq %r8, %rdx
addq %rsi, %rdx
xorq %rdx, %rax
rolq $0x28, %rax
leaq (%r11,%r11), %rcx
andq %rbx, %rcx
movq %rbx, %r14
movl %eax, %esi
imulq %rcx, %rsi
addq %rax, %r11
addq %rsi, %r11
movq 0x88(%r10,%rdi,8), %r12
leaq (%r12,%r12), %rcx
andq %rbx, %rcx
movq 0x188(%r10,%rdi,8), %rbp
movq %r10, %rbx
movl %ebp, %esi
imulq %rcx, %rsi
xorq %r11, %r8
rolq $0x30, %r8
movq %r8, %r10
addq %rbp, %r12
addq %rsi, %r12
leaq (%rdx,%rdx), %rcx
andq %r14, %rcx
movq 0x388(%rbx,%rdi,8), %rsi
xorq %r12, %rsi
rolq $0x20, %rsi
movl %r10d, %r8d
movq %r10, %r14
movq %r10, -0x30(%rsp)
imulq %rcx, %r8
movq 0x288(%rbx,%rdi,8), %rcx
leaq (%rcx,%rcx), %r10
movabsq $0x1fffffffe, %rbx      # imm = 0x1FFFFFFFE
andq %rbx, %r10
movl %esi, %ebx
imulq %r10, %rbx
addq %rsi, %rcx
addq %rbx, %rcx
addq %r14, %rdx
xorq %rcx, %rbp
rolq $0x28, %rbp
addq %r8, %rdx
leaq (%r12,%r12), %r8
movabsq $0x1fffffffe, %r14      # imm = 0x1FFFFFFFE
andq %r14, %r8
movl %ebp, %r10d
imulq %r8, %r10
addq %rbp, %r12
addq %r10, %r12
xorq %r12, %rsi
rolq $0x30, %rsi
leaq (%rcx,%rcx), %r8
andq %r14, %r8
movl %esi, %r10d
imulq %r8, %r10
addq %rsi, %rcx
addq %r10, %rcx
xorq -0x40(%rsp), %r13
rolq %r13
leaq (%r15,%r15), %r8
andq %r14, %r8
movl %r13d, %r10d
imulq %r8, %r10
addq %r13, %r15
addq %r10, %r15
xorq %r15, %rsi
rolq $0x20, %rsi
leaq (%rdx,%rdx), %r8
andq %r14, %r8
movl %esi, %r10d
imulq %r8, %r10
xorq %rdx, %rax
addq %rsi, %rdx
addq %r10, %rdx
xorq %rdx, %r13
rolq $0x28, %r13
leaq (%r15,%r15), %r8
andq %r14, %r8
movl %r13d, %r10d
imulq %r8, %r10
addq %r13, %r15
addq %r10, %r15
movq -0x38(%rsp), %rbx
movq %r15, (%rbx,%rdi,8)
xorq %rsi, %r15
rolq $0x30, %r15
leaq (%rdx,%rdx), %rsi
andq %r14, %rsi
movl %r15d, %r8d
imulq %rsi, %r8
movq %r15, 0x388(%rbx,%rdi,8)
addq %rdx, %r15
rolq %rax
addq %r8, %r15
movq %r15, 0x280(%rbx,%rdi,8)
xorq %r13, %r15
leaq (%r9,%r9), %rdx
andq %r14, %rdx
movl %eax, %esi
imulq %rdx, %rsi
movq -0x20(%rsp), %r10
movq -0x28(%rsp), %r13
addq %r13, %r10
xorq %rcx, %rbp
rolq %r15
addq %rax, %r9
addq %rsi, %r9
xorq %r9, %r13
rolq $0x20, %r13
movq %r15, 0x108(%rbx,%rdi,8)
leaq (%rcx,%rcx), %rdx
andq %r14, %rdx
movl %r13d, %esi
imulq %rdx, %rsi
addq %r13, %rcx
addq %rsi, %rcx
xorq %rcx, %rax
rolq $0x28, %rax
leaq (%r9,%r9), %rdx
andq %r14, %rdx
movl %eax, %esi
imulq %rdx, %rsi
addq %rax, %r9
addq %rsi, %r9
movq %r9, 0x8(%rbx,%rdi,8)
xorq %r13, %r9
rolq $0x30, %r9
addq -0x10(%rsp), %r10
leaq (%rcx,%rcx), %rdx
andq %r14, %rdx
movl %r9d, %esi
imulq %rdx, %rsi
rolq %rbp
movq %r9, 0x300(%rbx,%rdi,8)
addq %rcx, %r9
addq %rsi, %r9
movq %r9, 0x288(%rbx,%rdi,8)
xorq %rax, %r9
leaq (%r11,%r11), %rax
andq %r14, %rax
movl %ebp, %ecx
imulq %rax, %rcx
movq -0x8(%rsp), %rdx
movq %r10, %rsi
xorq %r10, %rdx
rolq %r9
addq %rbp, %r11
addq %rcx, %r11
movq -0x18(%rsp), %r10
xorq %r11, %r10
rolq $0x20, %r10
movq %r9, 0x180(%rbx,%rdi,8)
leaq (%rsi,%rsi), %rax
andq %r14, %rax
movl %r10d, %ecx
imulq %rax, %rcx
addq %r10, %rsi
addq %rcx, %rsi
xorq %rsi, %rbp
rolq $0x28, %rbp
leaq (%r11,%r11), %rax
andq %r14, %rax
movl %ebp, %ecx
imulq %rax, %rcx
addq %rbp, %r11
addq %rcx, %r11
movq %r11, 0x80(%rbx,%rdi,8)
xorq %r10, %r11
rolq $0x30, %r11
leaq (%rsi,%rsi), %rax
andq %r14, %rax
movl %r11d, %ecx
imulq %rax, %rcx
rolq %rdx
movq %r11, 0x308(%rbx,%rdi,8)
addq %rsi, %r11
addq %rcx, %r11
leaq (%r12,%r12), %rax
andq %r14, %rax
movl %edx, %ecx
imulq %rax, %rcx
movq %r11, 0x200(%rbx,%rdi,8)
addq %rdx, %r12
addq %rcx, %r12
movq -0x30(%rsp), %r9
xorq %r12, %r9
rolq $0x20, %r9
xorq %rbp, %r11
movq -0x40(%rsp), %rsi
leaq (%rsi,%rsi), %rax
andq %r14, %rax
movl %r9d, %ecx
imulq %rax, %rcx
rolq %r11
addq %r9, %rsi
addq %rcx, %rsi
xorq %rsi, %rdx
rolq $0x28, %rdx
movq %r11, 0x188(%rbx,%rdi,8)
leaq (%r12,%r12), %rax
andq %r14, %rax
movl %edx, %ecx
imulq %rax, %rcx
addq %rdx, %r12
addq %rcx, %r12
movq %r12, 0x88(%rbx,%rdi,8)
xorq %r9, %r12
rolq $0x30, %r12
leaq (%rsi,%rsi), %rax
andq %r14, %rax
movl %r12d, %ecx
imulq %rax, %rcx
movq %r12, 0x380(%rbx,%rdi,8)
addq %rsi, %r12
addq %rcx, %r12
movq %r12, 0x208(%rbx,%rdi,8)
xorq %rdx, %r12
rolq %r12
movq %r12, 0x100(%rbx,%rdi,8)
addq $0x2, %rdi
jmp 0x6f03
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq