#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */
typedef int /*<<< orphan*/ __m128i;

/* Variables and functions */
int /*<<< orphan*/ _mm_add_epi32(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_setr_epi8(int, int, int, int, int, int, int, int, int,
                                 int, int, int, int, int, int, int);
int /*<<< orphan*/ _mm_shuffle_epi32(int /*<<< orphan*/, int);
int /*<<< orphan*/ _mm_shuffle_epi8(int /*<<< orphan*/,
                                    int /*<<< orphan*/ const);
int /*<<< orphan*/ _mm_slli_epi32(int /*<<< orphan*/, int);
int /*<<< orphan*/ _mm_srli_epi32(int /*<<< orphan*/, int);
int /*<<< orphan*/ _mm_xor_si128(int /*<<< orphan*/, int /*<<< orphan*/);
void blake2_round_sidm(__m128i *state, __m128i *Message) {
  __m128i _calc;
  __m128i const _rotate_16 =
      _mm_setr_epi8(2, 3, 0, 1, 6, 7, 4, 5, 10, 11, 8, 9, 14, 15, 12, 13);
  __m128i const _rotate_8_r =
      _mm_setr_epi8(1, 2, 3, 0, 5, 6, 7, 4, 9, 10, 11, 8, 13, 14, 15, 12);
  state[0] = _mm_add_epi32(state[0], state[1]);
  state[0] = _mm_add_epi32(state[0], Message[0]);
  state[3] = _mm_xor_si128(state[3], state[0]);
  state[3] = _mm_shuffle_epi8(state[3], _rotate_16);
  state[2] = _mm_add_epi32(state[2], state[3]);
  _calc = _mm_xor_si128(state[1], state[2]);
  state[1] = _mm_srli_epi32(_calc, (12));
  _calc = _mm_slli_epi32(_calc, (32 - 12));
  state[1] = _mm_xor_si128(state[1], _calc);
  state[0] = _mm_add_epi32(state[0], state[1]);
  state[0] = _mm_add_epi32(state[0], Message[1]);
  state[3] = _mm_xor_si128(state[3], state[0]);
  state[3] = _mm_shuffle_epi8(state[3], _rotate_8_r);
  state[2] = _mm_add_epi32(state[2], state[3]);
  _calc = _mm_xor_si128(state[1], state[2]);
  state[1] = _mm_srli_epi32(_calc, (7));
  _calc = _mm_slli_epi32(_calc, (32 - 7));
  state[1] = _mm_xor_si128(state[1], _calc);
  state[1] = _mm_shuffle_epi32(state[1], 0x39);
  state[2] = _mm_shuffle_epi32(state[2], 0x4e);
  state[3] = _mm_shuffle_epi32(state[3], 0x93);
  state[0] = _mm_add_epi32(state[0], state[1]);
  state[0] = _mm_add_epi32(state[0], Message[2]);
  state[3] = _mm_xor_si128(state[3], state[0]);
  state[3] = _mm_shuffle_epi8(state[3], _rotate_16);
  state[2] = _mm_add_epi32(state[2], state[3]);
  _calc = _mm_xor_si128(state[1], state[2]);
  state[1] = _mm_srli_epi32(_calc, (12));
  _calc = _mm_slli_epi32(_calc, (32 - 12));
  state[1] = _mm_xor_si128(state[1], _calc);
  state[0] = _mm_add_epi32(state[0], state[1]);
  state[0] = _mm_add_epi32(state[0], Message[3]);
  state[3] = _mm_xor_si128(state[3], state[0]);
  state[3] = _mm_shuffle_epi8(state[3], _rotate_8_r);
  state[2] = _mm_add_epi32(state[2], state[3]);
  _calc = _mm_xor_si128(state[1], state[2]);
  state[1] = _mm_srli_epi32(_calc, (7));
  _calc = _mm_slli_epi32(_calc, (32 - 7));
  state[1] = _mm_xor_si128(state[1], _calc);
  state[1] = _mm_shuffle_epi32(state[1], 0x93);
  state[2] = _mm_shuffle_epi32(state[2], 0x4e);
  state[3] = _mm_shuffle_epi32(state[3], 0x39);
}


x86 assembly (clang, -O0):
<blake2_round_sidm>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    $0x2,%edi
mov    $0x3,%esi
xor    %edx,%edx
mov    $0x1,%ecx
mov    $0x6,%r8d
mov    $0x7,%r9d
movl   $0x4,(%rsp)
movl   $0x5,0x8(%rsp)
movl   $0xa,0x10(%rsp)
movl   $0xb,0x18(%rsp)
movl   $0x8,0x20(%rsp)
movl   $0x9,0x28(%rsp)
movl   $0xe,0x30(%rsp)
movl   $0xf,0x38(%rsp)
movl   $0xc,0x40(%rsp)
movl   $0xd,0x48(%rsp)
call   1050 <_mm_setr_epi8@plt>
mov    %eax,-0x18(%rbp)
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x3,%edx
xor    %ecx,%ecx
mov    $0x5,%r8d
mov    $0x6,%r9d
movl   $0x7,(%rsp)
movl   $0x4,0x8(%rsp)
movl   $0x9,0x10(%rsp)
movl   $0xa,0x18(%rsp)
movl   $0xb,0x20(%rsp)
movl   $0x8,0x28(%rsp)
movl   $0xd,0x30(%rsp)
movl   $0xe,0x38(%rsp)
movl   $0xf,0x40(%rsp)
movl   $0xc,0x48(%rsp)
call   1050 <_mm_setr_epi8@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x8(%rbp),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%esi
call   1030 <_mm_add_epi32@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x8(%rbp),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%esi
call   1030 <_mm_add_epi32@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x8(%rbp),%rax
mov    0xc(%rax),%edi
mov    -0x8(%rbp),%rax
mov    (%rax),%esi
call   1070 <_mm_xor_si128@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0xc(%rax)
mov    -0x8(%rbp),%rax
mov    0xc(%rax),%edi
mov    -0x18(%rbp),%esi
call   1040 <_mm_shuffle_epi8@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0xc(%rax)
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0xc(%rax),%esi
call   1030 <_mm_add_epi32@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x8(%rax)
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%esi
call   1070 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%edi
mov    $0xc,%esi
call   1090 <_mm_srli_epi32@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x4(%rax)
mov    -0x14(%rbp),%edi
mov    $0x14,%esi
call   1080 <_mm_slli_epi32@plt>
mov    %eax,-0x14(%rbp)
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
mov    -0x14(%rbp),%esi
call   1070 <_mm_xor_si128@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x4(%rax)
mov    -0x8(%rbp),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%esi
call   1030 <_mm_add_epi32@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x8(%rbp),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    0x4(%rax),%esi
call   1030 <_mm_add_epi32@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x8(%rbp),%rax
mov    0xc(%rax),%edi
mov    -0x8(%rbp),%rax
mov    (%rax),%esi
call   1070 <_mm_xor_si128@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0xc(%rax)
mov    -0x8(%rbp),%rax
mov    0xc(%rax),%edi
mov    -0x1c(%rbp),%esi
call   1040 <_mm_shuffle_epi8@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0xc(%rax)
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0xc(%rax),%esi
call   1030 <_mm_add_epi32@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x8(%rax)
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%esi
call   1070 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%edi
mov    $0x7,%esi
call   1090 <_mm_srli_epi32@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x4(%rax)
mov    -0x14(%rbp),%edi
mov    $0x19,%esi
call   1080 <_mm_slli_epi32@plt>
mov    %eax,-0x14(%rbp)
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
mov    -0x14(%rbp),%esi
call   1070 <_mm_xor_si128@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x4(%rax)
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
mov    $0x39,%esi
call   1060 <_mm_shuffle_epi32@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x4(%rax)
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%edi
mov    $0x4e,%esi
call   1060 <_mm_shuffle_epi32@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x8(%rax)
mov    -0x8(%rbp),%rax
mov    0xc(%rax),%edi
mov    $0x93,%esi
call   1060 <_mm_shuffle_epi32@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0xc(%rax)
mov    -0x8(%rbp),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%esi
call   1030 <_mm_add_epi32@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x8(%rbp),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%esi
call   1030 <_mm_add_epi32@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x8(%rbp),%rax
mov    0xc(%rax),%edi
mov    -0x8(%rbp),%rax
mov    (%rax),%esi
call   1070 <_mm_xor_si128@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0xc(%rax)
mov    -0x8(%rbp),%rax
mov    0xc(%rax),%edi
mov    -0x18(%rbp),%esi
call   1040 <_mm_shuffle_epi8@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0xc(%rax)
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0xc(%rax),%esi
call   1030 <_mm_add_epi32@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x8(%rax)
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%esi
call   1070 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%edi
mov    $0xc,%esi
call   1090 <_mm_srli_epi32@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x4(%rax)
mov    -0x14(%rbp),%edi
mov    $0x14,%esi
call   1080 <_mm_slli_epi32@plt>
mov    %eax,-0x14(%rbp)
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
mov    -0x14(%rbp),%esi
call   1070 <_mm_xor_si128@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x4(%rax)
mov    -0x8(%rbp),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%esi
call   1030 <_mm_add_epi32@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x8(%rbp),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    0xc(%rax),%esi
call   1030 <_mm_add_epi32@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x8(%rbp),%rax
mov    0xc(%rax),%edi
mov    -0x8(%rbp),%rax
mov    (%rax),%esi
call   1070 <_mm_xor_si128@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0xc(%rax)
mov    -0x8(%rbp),%rax
mov    0xc(%rax),%edi
mov    -0x1c(%rbp),%esi
call   1040 <_mm_shuffle_epi8@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0xc(%rax)
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0xc(%rax),%esi
call   1030 <_mm_add_epi32@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x8(%rax)
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%esi
call   1070 <_mm_xor_si128@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%edi
mov    $0x7,%esi
call   1090 <_mm_srli_epi32@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x4(%rax)
mov    -0x14(%rbp),%edi
mov    $0x19,%esi
call   1080 <_mm_slli_epi32@plt>
mov    %eax,-0x14(%rbp)
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
mov    -0x14(%rbp),%esi
call   1070 <_mm_xor_si128@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x4(%rax)
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
mov    $0x93,%esi
call   1060 <_mm_shuffle_epi32@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x4(%rax)
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%edi
mov    $0x4e,%esi
call   1060 <_mm_shuffle_epi32@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x8(%rax)
mov    -0x8(%rbp),%rax
mov    0xc(%rax),%edi
mov    $0x39,%esi
call   1060 <_mm_shuffle_epi32@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0xc(%rax)
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<blake2_round_sidm>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
mov    %rsi,%r14
mov    %rdi,%rbx
mov    $0x2,%edi
mov    $0x3,%esi
xor    %edx,%edx
mov    $0x1,%ecx
mov    $0x6,%r8d
mov    $0x7,%r9d
push   $0xd
push   $0xc
push   $0xf
push   $0xe
push   $0x9
push   $0x8
push   $0xb
push   $0xa
push   $0x5
push   $0x4
call   1050 <_mm_setr_epi8@plt>
add    $0x50,%rsp
mov    %eax,%r12d
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x3,%edx
xor    %ecx,%ecx
mov    $0x5,%r8d
mov    $0x6,%r9d
push   $0xc
push   $0xf
push   $0xe
push   $0xd
push   $0x8
push   $0xb
push   $0xa
push   $0x9
push   $0x4
push   $0x7
call   1050 <_mm_setr_epi8@plt>
add    $0x50,%rsp
mov    %eax,%r15d
mov    (%rbx),%edi
mov    0x4(%rbx),%esi
call   1030 <_mm_add_epi32@plt>
mov    %eax,(%rbx)
mov    (%r14),%esi
mov    %eax,%edi
call   1030 <_mm_add_epi32@plt>
mov    %eax,(%rbx)
mov    0xc(%rbx),%edi
mov    %eax,%esi
call   1070 <_mm_xor_si128@plt>
mov    %eax,0xc(%rbx)
mov    %eax,%edi
mov    %r12d,%esi
call   1040 <_mm_shuffle_epi8@plt>
mov    %eax,0xc(%rbx)
mov    0x8(%rbx),%edi
mov    %eax,%esi
call   1030 <_mm_add_epi32@plt>
mov    %eax,0x8(%rbx)
mov    0x4(%rbx),%edi
mov    %eax,%esi
call   1070 <_mm_xor_si128@plt>
mov    %eax,%ebp
mov    %eax,%edi
mov    $0xc,%esi
call   1090 <_mm_srli_epi32@plt>
mov    %eax,0x4(%rbx)
mov    %ebp,%edi
mov    $0x14,%esi
call   1080 <_mm_slli_epi32@plt>
mov    0x4(%rbx),%edi
mov    %eax,%esi
call   1070 <_mm_xor_si128@plt>
mov    %eax,0x4(%rbx)
mov    (%rbx),%edi
mov    %eax,%esi
call   1030 <_mm_add_epi32@plt>
mov    %eax,(%rbx)
mov    0x4(%r14),%esi
mov    %eax,%edi
call   1030 <_mm_add_epi32@plt>
mov    %eax,(%rbx)
mov    0xc(%rbx),%edi
mov    %eax,%esi
call   1070 <_mm_xor_si128@plt>
mov    %eax,0xc(%rbx)
mov    %eax,%edi
mov    %r15d,%esi
call   1040 <_mm_shuffle_epi8@plt>
mov    %eax,0xc(%rbx)
mov    0x8(%rbx),%edi
mov    %eax,%esi
call   1030 <_mm_add_epi32@plt>
mov    %eax,0x8(%rbx)
mov    0x4(%rbx),%edi
mov    %eax,%esi
call   1070 <_mm_xor_si128@plt>
mov    %eax,%ebp
mov    %eax,%edi
mov    $0x7,%esi
call   1090 <_mm_srli_epi32@plt>
mov    %eax,0x4(%rbx)
mov    %ebp,%edi
mov    $0x19,%esi
call   1080 <_mm_slli_epi32@plt>
mov    0x4(%rbx),%edi
mov    %eax,%esi
call   1070 <_mm_xor_si128@plt>
mov    %eax,0x4(%rbx)
mov    %eax,%edi
mov    $0x39,%esi
call   1060 <_mm_shuffle_epi32@plt>
mov    %eax,0x4(%rbx)
mov    0x8(%rbx),%edi
mov    $0x4e,%esi
call   1060 <_mm_shuffle_epi32@plt>
mov    %eax,0x8(%rbx)
mov    0xc(%rbx),%edi
mov    $0x93,%esi
call   1060 <_mm_shuffle_epi32@plt>
mov    %eax,0xc(%rbx)
mov    (%rbx),%edi
mov    0x4(%rbx),%esi
call   1030 <_mm_add_epi32@plt>
mov    %eax,(%rbx)
mov    0x8(%r14),%esi
mov    %eax,%edi
call   1030 <_mm_add_epi32@plt>
mov    %eax,(%rbx)
mov    0xc(%rbx),%edi
mov    %eax,%esi
call   1070 <_mm_xor_si128@plt>
mov    %eax,0xc(%rbx)
mov    %eax,%edi
mov    %r12d,%esi
call   1040 <_mm_shuffle_epi8@plt>
mov    %eax,0xc(%rbx)
mov    0x8(%rbx),%edi
mov    %eax,%esi
call   1030 <_mm_add_epi32@plt>
mov    %eax,0x8(%rbx)
mov    0x4(%rbx),%edi
mov    %eax,%esi
call   1070 <_mm_xor_si128@plt>
mov    %eax,%ebp
mov    %eax,%edi
mov    $0xc,%esi
call   1090 <_mm_srli_epi32@plt>
mov    %eax,0x4(%rbx)
mov    %ebp,%edi
mov    $0x14,%esi
call   1080 <_mm_slli_epi32@plt>
mov    0x4(%rbx),%edi
mov    %eax,%esi
call   1070 <_mm_xor_si128@plt>
mov    %eax,0x4(%rbx)
mov    (%rbx),%edi
mov    %eax,%esi
call   1030 <_mm_add_epi32@plt>
mov    %eax,(%rbx)
mov    0xc(%r14),%esi
mov    %eax,%edi
call   1030 <_mm_add_epi32@plt>
mov    %eax,(%rbx)
mov    0xc(%rbx),%edi
mov    %eax,%esi
call   1070 <_mm_xor_si128@plt>
mov    %eax,0xc(%rbx)
mov    %eax,%edi
mov    %r15d,%esi
call   1040 <_mm_shuffle_epi8@plt>
mov    %eax,0xc(%rbx)
mov    0x8(%rbx),%edi
mov    %eax,%esi
call   1030 <_mm_add_epi32@plt>
mov    %eax,0x8(%rbx)
mov    0x4(%rbx),%edi
mov    %eax,%esi
call   1070 <_mm_xor_si128@plt>
mov    %eax,%ebp
mov    %eax,%edi
mov    $0x7,%esi
call   1090 <_mm_srli_epi32@plt>
mov    %eax,0x4(%rbx)
mov    %ebp,%edi
mov    $0x19,%esi
call   1080 <_mm_slli_epi32@plt>
mov    0x4(%rbx),%edi
mov    %eax,%esi
call   1070 <_mm_xor_si128@plt>
mov    %eax,0x4(%rbx)
mov    %eax,%edi
mov    $0x93,%esi
call   1060 <_mm_shuffle_epi32@plt>
mov    %eax,0x4(%rbx)
mov    0x8(%rbx),%edi
mov    $0x4e,%esi
call   1060 <_mm_shuffle_epi32@plt>
mov    %eax,0x8(%rbx)
mov    0xc(%rbx),%edi
mov    $0x39,%esi
call   1060 <_mm_shuffle_epi32@plt>
mov    %eax,0xc(%rbx)
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @blake2_round_sidm(i32* %0, i32* %1) {
%3 = alloca i32*
%4 = alloca i32*
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
store i32* %0, i32** %3
store i32* %1, i32** %4
%8 = call i32 @_mm_setr_epi8(i32 2, i32 3, i32 0, i32 1, i32 6, i32 7, i32 4, i32 5, i32 10, i32 11, i32 8, i32 9, i32 14, i32 15, i32 12, i32 13)
store i32 %8, i32* %6
%9 = call i32 @_mm_setr_epi8(i32 1, i32 2, i32 3, i32 0, i32 5, i32 6, i32 7, i32 4, i32 9, i32 10, i32 11, i32 8, i32 13, i32 14, i32 15, i32 12)
store i32 %9, i32* %7
%10 = load i32*, i32** %3
%11 = getelementptr inbounds i32, i32* %10, i64 0
%12 = load i32, i32* %11
%13 = load i32*, i32** %3
%14 = getelementptr inbounds i32, i32* %13, i64 1
%15 = load i32, i32* %14
%16 = call i32 @_mm_add_epi32(i32 %12, i32 %15)
%17 = load i32*, i32** %3
%18 = getelementptr inbounds i32, i32* %17, i64 0
store i32 %16, i32* %18
%19 = load i32*, i32** %3
%20 = getelementptr inbounds i32, i32* %19, i64 0
%21 = load i32, i32* %20
%22 = load i32*, i32** %4
%23 = getelementptr inbounds i32, i32* %22, i64 0
%24 = load i32, i32* %23
%25 = call i32 @_mm_add_epi32(i32 %21, i32 %24)
%26 = load i32*, i32** %3
%27 = getelementptr inbounds i32, i32* %26, i64 0
store i32 %25, i32* %27
%28 = load i32*, i32** %3
%29 = getelementptr inbounds i32, i32* %28, i64 3
%30 = load i32, i32* %29
%31 = load i32*, i32** %3
%32 = getelementptr inbounds i32, i32* %31, i64 0
%33 = load i32, i32* %32
%34 = call i32 @_mm_xor_si128(i32 %30, i32 %33)
%35 = load i32*, i32** %3
%36 = getelementptr inbounds i32, i32* %35, i64 3
store i32 %34, i32* %36
%37 = load i32*, i32** %3
%38 = getelementptr inbounds i32, i32* %37, i64 3
%39 = load i32, i32* %38
%40 = load i32, i32* %6
%41 = call i32 @_mm_shuffle_epi8(i32 %39, i32 %40)
%42 = load i32*, i32** %3
%43 = getelementptr inbounds i32, i32* %42, i64 3
store i32 %41, i32* %43
%44 = load i32*, i32** %3
%45 = getelementptr inbounds i32, i32* %44, i64 2
%46 = load i32, i32* %45
%47 = load i32*, i32** %3
%48 = getelementptr inbounds i32, i32* %47, i64 3
%49 = load i32, i32* %48
%50 = call i32 @_mm_add_epi32(i32 %46, i32 %49)
%51 = load i32*, i32** %3
%52 = getelementptr inbounds i32, i32* %51, i64 2
store i32 %50, i32* %52
%53 = load i32*, i32** %3
%54 = getelementptr inbounds i32, i32* %53, i64 1
%55 = load i32, i32* %54
%56 = load i32*, i32** %3
%57 = getelementptr inbounds i32, i32* %56, i64 2
%58 = load i32, i32* %57
%59 = call i32 @_mm_xor_si128(i32 %55, i32 %58)
store i32 %59, i32* %5
%60 = load i32, i32* %5
%61 = call i32 @_mm_srli_epi32(i32 %60, i32 12)
%62 = load i32*, i32** %3
%63 = getelementptr inbounds i32, i32* %62, i64 1
store i32 %61, i32* %63
%64 = load i32, i32* %5
%65 = call i32 @_mm_slli_epi32(i32 %64, i32 20)
store i32 %65, i32* %5
%66 = load i32*, i32** %3
%67 = getelementptr inbounds i32, i32* %66, i64 1
%68 = load i32, i32* %67
%69 = load i32, i32* %5
%70 = call i32 @_mm_xor_si128(i32 %68, i32 %69)
%71 = load i32*, i32** %3
%72 = getelementptr inbounds i32, i32* %71, i64 1
store i32 %70, i32* %72
%73 = load i32*, i32** %3
%74 = getelementptr inbounds i32, i32* %73, i64 0
%75 = load i32, i32* %74
%76 = load i32*, i32** %3
%77 = getelementptr inbounds i32, i32* %76, i64 1
%78 = load i32, i32* %77
%79 = call i32 @_mm_add_epi32(i32 %75, i32 %78)
%80 = load i32*, i32** %3
%81 = getelementptr inbounds i32, i32* %80, i64 0
store i32 %79, i32* %81
%82 = load i32*, i32** %3
%83 = getelementptr inbounds i32, i32* %82, i64 0
%84 = load i32, i32* %83
%85 = load i32*, i32** %4
%86 = getelementptr inbounds i32, i32* %85, i64 1
%87 = load i32, i32* %86
%88 = call i32 @_mm_add_epi32(i32 %84, i32 %87)
%89 = load i32*, i32** %3
%90 = getelementptr inbounds i32, i32* %89, i64 0
store i32 %88, i32* %90
%91 = load i32*, i32** %3
%92 = getelementptr inbounds i32, i32* %91, i64 3
%93 = load i32, i32* %92
%94 = load i32*, i32** %3
%95 = getelementptr inbounds i32, i32* %94, i64 0
%96 = load i32, i32* %95
%97 = call i32 @_mm_xor_si128(i32 %93, i32 %96)
%98 = load i32*, i32** %3
%99 = getelementptr inbounds i32, i32* %98, i64 3
store i32 %97, i32* %99
%100 = load i32*, i32** %3
%101 = getelementptr inbounds i32, i32* %100, i64 3
%102 = load i32, i32* %101
%103 = load i32, i32* %7
%104 = call i32 @_mm_shuffle_epi8(i32 %102, i32 %103)
%105 = load i32*, i32** %3
%106 = getelementptr inbounds i32, i32* %105, i64 3
store i32 %104, i32* %106
%107 = load i32*, i32** %3
%108 = getelementptr inbounds i32, i32* %107, i64 2
%109 = load i32, i32* %108
%110 = load i32*, i32** %3
%111 = getelementptr inbounds i32, i32* %110, i64 3
%112 = load i32, i32* %111
%113 = call i32 @_mm_add_epi32(i32 %109, i32 %112)
%114 = load i32*, i32** %3
%115 = getelementptr inbounds i32, i32* %114, i64 2
store i32 %113, i32* %115
%116 = load i32*, i32** %3
%117 = getelementptr inbounds i32, i32* %116, i64 1
%118 = load i32, i32* %117
%119 = load i32*, i32** %3
%120 = getelementptr inbounds i32, i32* %119, i64 2
%121 = load i32, i32* %120
%122 = call i32 @_mm_xor_si128(i32 %118, i32 %121)
store i32 %122, i32* %5
%123 = load i32, i32* %5
%124 = call i32 @_mm_srli_epi32(i32 %123, i32 7)
%125 = load i32*, i32** %3
%126 = getelementptr inbounds i32, i32* %125, i64 1
store i32 %124, i32* %126
%127 = load i32, i32* %5
%128 = call i32 @_mm_slli_epi32(i32 %127, i32 25)
store i32 %128, i32* %5
%129 = load i32*, i32** %3
%130 = getelementptr inbounds i32, i32* %129, i64 1
%131 = load i32, i32* %130
%132 = load i32, i32* %5
%133 = call i32 @_mm_xor_si128(i32 %131, i32 %132)
%134 = load i32*, i32** %3
%135 = getelementptr inbounds i32, i32* %134, i64 1
store i32 %133, i32* %135
%136 = load i32*, i32** %3
%137 = getelementptr inbounds i32, i32* %136, i64 1
%138 = load i32, i32* %137
%139 = call i32 @_mm_shuffle_epi32(i32 %138, i32 57)
%140 = load i32*, i32** %3
%141 = getelementptr inbounds i32, i32* %140, i64 1
store i32 %139, i32* %141
%142 = load i32*, i32** %3
%143 = getelementptr inbounds i32, i32* %142, i64 2
%144 = load i32, i32* %143
%145 = call i32 @_mm_shuffle_epi32(i32 %144, i32 78)
%146 = load i32*, i32** %3
%147 = getelementptr inbounds i32, i32* %146, i64 2
store i32 %145, i32* %147
%148 = load i32*, i32** %3
%149 = getelementptr inbounds i32, i32* %148, i64 3
%150 = load i32, i32* %149
%151 = call i32 @_mm_shuffle_epi32(i32 %150, i32 147)
%152 = load i32*, i32** %3
%153 = getelementptr inbounds i32, i32* %152, i64 3
store i32 %151, i32* %153
%154 = load i32*, i32** %3
%155 = getelementptr inbounds i32, i32* %154, i64 0
%156 = load i32, i32* %155
%157 = load i32*, i32** %3
%158 = getelementptr inbounds i32, i32* %157, i64 1
%159 = load i32, i32* %158
%160 = call i32 @_mm_add_epi32(i32 %156, i32 %159)
%161 = load i32*, i32** %3
%162 = getelementptr inbounds i32, i32* %161, i64 0
store i32 %160, i32* %162
%163 = load i32*, i32** %3
%164 = getelementptr inbounds i32, i32* %163, i64 0
%165 = load i32, i32* %164
%166 = load i32*, i32** %4
%167 = getelementptr inbounds i32, i32* %166, i64 2
%168 = load i32, i32* %167
%169 = call i32 @_mm_add_epi32(i32 %165, i32 %168)
%170 = load i32*, i32** %3
%171 = getelementptr inbounds i32, i32* %170, i64 0
store i32 %169, i32* %171
%172 = load i32*, i32** %3
%173 = getelementptr inbounds i32, i32* %172, i64 3
%174 = load i32, i32* %173
%175 = load i32*, i32** %3
%176 = getelementptr inbounds i32, i32* %175, i64 0
%177 = load i32, i32* %176
%178 = call i32 @_mm_xor_si128(i32 %174, i32 %177)
%179 = load i32*, i32** %3
%180 = getelementptr inbounds i32, i32* %179, i64 3
store i32 %178, i32* %180
%181 = load i32*, i32** %3
%182 = getelementptr inbounds i32, i32* %181, i64 3
%183 = load i32, i32* %182
%184 = load i32, i32* %6
%185 = call i32 @_mm_shuffle_epi8(i32 %183, i32 %184)
%186 = load i32*, i32** %3
%187 = getelementptr inbounds i32, i32* %186, i64 3
store i32 %185, i32* %187
%188 = load i32*, i32** %3
%189 = getelementptr inbounds i32, i32* %188, i64 2
%190 = load i32, i32* %189
%191 = load i32*, i32** %3
%192 = getelementptr inbounds i32, i32* %191, i64 3
%193 = load i32, i32* %192
%194 = call i32 @_mm_add_epi32(i32 %190, i32 %193)
%195 = load i32*, i32** %3
%196 = getelementptr inbounds i32, i32* %195, i64 2
store i32 %194, i32* %196
%197 = load i32*, i32** %3
%198 = getelementptr inbounds i32, i32* %197, i64 1
%199 = load i32, i32* %198
%200 = load i32*, i32** %3
%201 = getelementptr inbounds i32, i32* %200, i64 2
%202 = load i32, i32* %201
%203 = call i32 @_mm_xor_si128(i32 %199, i32 %202)
store i32 %203, i32* %5
%204 = load i32, i32* %5
%205 = call i32 @_mm_srli_epi32(i32 %204, i32 12)
%206 = load i32*, i32** %3
%207 = getelementptr inbounds i32, i32* %206, i64 1
store i32 %205, i32* %207
%208 = load i32, i32* %5
%209 = call i32 @_mm_slli_epi32(i32 %208, i32 20)
store i32 %209, i32* %5
%210 = load i32*, i32** %3
%211 = getelementptr inbounds i32, i32* %210, i64 1
%212 = load i32, i32* %211
%213 = load i32, i32* %5
%214 = call i32 @_mm_xor_si128(i32 %212, i32 %213)
%215 = load i32*, i32** %3
%216 = getelementptr inbounds i32, i32* %215, i64 1
store i32 %214, i32* %216
%217 = load i32*, i32** %3
%218 = getelementptr inbounds i32, i32* %217, i64 0
%219 = load i32, i32* %218
%220 = load i32*, i32** %3
%221 = getelementptr inbounds i32, i32* %220, i64 1
%222 = load i32, i32* %221
%223 = call i32 @_mm_add_epi32(i32 %219, i32 %222)
%224 = load i32*, i32** %3
%225 = getelementptr inbounds i32, i32* %224, i64 0
store i32 %223, i32* %225
%226 = load i32*, i32** %3
%227 = getelementptr inbounds i32, i32* %226, i64 0
%228 = load i32, i32* %227
%229 = load i32*, i32** %4
%230 = getelementptr inbounds i32, i32* %229, i64 3
%231 = load i32, i32* %230
%232 = call i32 @_mm_add_epi32(i32 %228, i32 %231)
%233 = load i32*, i32** %3
%234 = getelementptr inbounds i32, i32* %233, i64 0
store i32 %232, i32* %234
%235 = load i32*, i32** %3
%236 = getelementptr inbounds i32, i32* %235, i64 3
%237 = load i32, i32* %236
%238 = load i32*, i32** %3
%239 = getelementptr inbounds i32, i32* %238, i64 0
%240 = load i32, i32* %239
%241 = call i32 @_mm_xor_si128(i32 %237, i32 %240)
%242 = load i32*, i32** %3
%243 = getelementptr inbounds i32, i32* %242, i64 3
store i32 %241, i32* %243
%244 = load i32*, i32** %3
%245 = getelementptr inbounds i32, i32* %244, i64 3
%246 = load i32, i32* %245
%247 = load i32, i32* %7
%248 = call i32 @_mm_shuffle_epi8(i32 %246, i32 %247)
%249 = load i32*, i32** %3
%250 = getelementptr inbounds i32, i32* %249, i64 3
store i32 %248, i32* %250
%251 = load i32*, i32** %3
%252 = getelementptr inbounds i32, i32* %251, i64 2
%253 = load i32, i32* %252
%254 = load i32*, i32** %3
%255 = getelementptr inbounds i32, i32* %254, i64 3
%256 = load i32, i32* %255
%257 = call i32 @_mm_add_epi32(i32 %253, i32 %256)
%258 = load i32*, i32** %3
%259 = getelementptr inbounds i32, i32* %258, i64 2
store i32 %257, i32* %259
%260 = load i32*, i32** %3
%261 = getelementptr inbounds i32, i32* %260, i64 1
%262 = load i32, i32* %261
%263 = load i32*, i32** %3
%264 = getelementptr inbounds i32, i32* %263, i64 2
%265 = load i32, i32* %264
%266 = call i32 @_mm_xor_si128(i32 %262, i32 %265)
store i32 %266, i32* %5
%267 = load i32, i32* %5
%268 = call i32 @_mm_srli_epi32(i32 %267, i32 7)
%269 = load i32*, i32** %3
%270 = getelementptr inbounds i32, i32* %269, i64 1
store i32 %268, i32* %270
%271 = load i32, i32* %5
%272 = call i32 @_mm_slli_epi32(i32 %271, i32 25)
store i32 %272, i32* %5
%273 = load i32*, i32** %3
%274 = getelementptr inbounds i32, i32* %273, i64 1
%275 = load i32, i32* %274
%276 = load i32, i32* %5
%277 = call i32 @_mm_xor_si128(i32 %275, i32 %276)
%278 = load i32*, i32** %3
%279 = getelementptr inbounds i32, i32* %278, i64 1
store i32 %277, i32* %279
%280 = load i32*, i32** %3
%281 = getelementptr inbounds i32, i32* %280, i64 1
%282 = load i32, i32* %281
%283 = call i32 @_mm_shuffle_epi32(i32 %282, i32 147)
%284 = load i32*, i32** %3
%285 = getelementptr inbounds i32, i32* %284, i64 1
store i32 %283, i32* %285
%286 = load i32*, i32** %3
%287 = getelementptr inbounds i32, i32* %286, i64 2
%288 = load i32, i32* %287
%289 = call i32 @_mm_shuffle_epi32(i32 %288, i32 78)
%290 = load i32*, i32** %3
%291 = getelementptr inbounds i32, i32* %290, i64 2
store i32 %289, i32* %291
%292 = load i32*, i32** %3
%293 = getelementptr inbounds i32, i32* %292, i64 3
%294 = load i32, i32* %293
%295 = call i32 @_mm_shuffle_epi32(i32 %294, i32 57)
%296 = load i32*, i32** %3
%297 = getelementptr inbounds i32, i32* %296, i64 3
store i32 %295, i32* %297
ret void
}

LLVM IR (-O2):
define void @blake2_round_sidm(i32* nocapture %0, i32* nocapture %1) {
%3 = tail call i32 @_mm_setr_epi8(i32 2, i32 3, i32 0, i32 1, i32 6, i32 7, i32 4, i32 5, i32 10, i32 11, i32 8, i32 9, i32 14, i32 15, i32 12, i32 13)
%4 = tail call i32 @_mm_setr_epi8(i32 1, i32 2, i32 3, i32 0, i32 5, i32 6, i32 7, i32 4, i32 9, i32 10, i32 11, i32 8, i32 13, i32 14, i32 15, i32 12)
%5 = load i32, i32* %0
%6 = getelementptr inbounds i32, i32* %0, i64 1
%7 = load i32, i32* %6
%8 = tail call i32 @_mm_add_epi32(i32 %5, i32 %7)
store i32 %8, i32* %0
%9 = load i32, i32* %1
%10 = tail call i32 @_mm_add_epi32(i32 %8, i32 %9)
store i32 %10, i32* %0
%11 = getelementptr inbounds i32, i32* %0, i64 3
%12 = load i32, i32* %11
%13 = tail call i32 @_mm_xor_si128(i32 %12, i32 %10)
store i32 %13, i32* %11
%14 = tail call i32 @_mm_shuffle_epi8(i32 %13, i32 %3)
store i32 %14, i32* %11
%15 = getelementptr inbounds i32, i32* %0, i64 2
%16 = load i32, i32* %15
%17 = tail call i32 @_mm_add_epi32(i32 %16, i32 %14)
store i32 %17, i32* %15
%18 = load i32, i32* %6
%19 = tail call i32 @_mm_xor_si128(i32 %18, i32 %17)
%20 = tail call i32 @_mm_srli_epi32(i32 %19, i32 12)
store i32 %20, i32* %6
%21 = tail call i32 @_mm_slli_epi32(i32 %19, i32 20)
%22 = load i32, i32* %6
%23 = tail call i32 @_mm_xor_si128(i32 %22, i32 %21)
store i32 %23, i32* %6
%24 = load i32, i32* %0
%25 = tail call i32 @_mm_add_epi32(i32 %24, i32 %23)
store i32 %25, i32* %0
%26 = getelementptr inbounds i32, i32* %1, i64 1
%27 = load i32, i32* %26
%28 = tail call i32 @_mm_add_epi32(i32 %25, i32 %27)
store i32 %28, i32* %0
%29 = load i32, i32* %11
%30 = tail call i32 @_mm_xor_si128(i32 %29, i32 %28)
store i32 %30, i32* %11
%31 = tail call i32 @_mm_shuffle_epi8(i32 %30, i32 %4)
store i32 %31, i32* %11
%32 = load i32, i32* %15
%33 = tail call i32 @_mm_add_epi32(i32 %32, i32 %31)
store i32 %33, i32* %15
%34 = load i32, i32* %6
%35 = tail call i32 @_mm_xor_si128(i32 %34, i32 %33)
%36 = tail call i32 @_mm_srli_epi32(i32 %35, i32 7)
store i32 %36, i32* %6
%37 = tail call i32 @_mm_slli_epi32(i32 %35, i32 25)
%38 = load i32, i32* %6
%39 = tail call i32 @_mm_xor_si128(i32 %38, i32 %37)
store i32 %39, i32* %6
%40 = tail call i32 @_mm_shuffle_epi32(i32 %39, i32 57)
store i32 %40, i32* %6
%41 = load i32, i32* %15
%42 = tail call i32 @_mm_shuffle_epi32(i32 %41, i32 78)
store i32 %42, i32* %15
%43 = load i32, i32* %11
%44 = tail call i32 @_mm_shuffle_epi32(i32 %43, i32 147)
store i32 %44, i32* %11
%45 = load i32, i32* %0
%46 = load i32, i32* %6
%47 = tail call i32 @_mm_add_epi32(i32 %45, i32 %46)
store i32 %47, i32* %0
%48 = getelementptr inbounds i32, i32* %1, i64 2
%49 = load i32, i32* %48
%50 = tail call i32 @_mm_add_epi32(i32 %47, i32 %49)
store i32 %50, i32* %0
%51 = load i32, i32* %11
%52 = tail call i32 @_mm_xor_si128(i32 %51, i32 %50)
store i32 %52, i32* %11
%53 = tail call i32 @_mm_shuffle_epi8(i32 %52, i32 %3)
store i32 %53, i32* %11
%54 = load i32, i32* %15
%55 = tail call i32 @_mm_add_epi32(i32 %54, i32 %53)
store i32 %55, i32* %15
%56 = load i32, i32* %6
%57 = tail call i32 @_mm_xor_si128(i32 %56, i32 %55)
%58 = tail call i32 @_mm_srli_epi32(i32 %57, i32 12)
store i32 %58, i32* %6
%59 = tail call i32 @_mm_slli_epi32(i32 %57, i32 20)
%60 = load i32, i32* %6
%61 = tail call i32 @_mm_xor_si128(i32 %60, i32 %59)
store i32 %61, i32* %6
%62 = load i32, i32* %0
%63 = tail call i32 @_mm_add_epi32(i32 %62, i32 %61)
store i32 %63, i32* %0
%64 = getelementptr inbounds i32, i32* %1, i64 3
%65 = load i32, i32* %64
%66 = tail call i32 @_mm_add_epi32(i32 %63, i32 %65)
store i32 %66, i32* %0
%67 = load i32, i32* %11
%68 = tail call i32 @_mm_xor_si128(i32 %67, i32 %66)
store i32 %68, i32* %11
%69 = tail call i32 @_mm_shuffle_epi8(i32 %68, i32 %4)
store i32 %69, i32* %11
%70 = load i32, i32* %15
%71 = tail call i32 @_mm_add_epi32(i32 %70, i32 %69)
store i32 %71, i32* %15
%72 = load i32, i32* %6
%73 = tail call i32 @_mm_xor_si128(i32 %72, i32 %71)
%74 = tail call i32 @_mm_srli_epi32(i32 %73, i32 7)
store i32 %74, i32* %6
%75 = tail call i32 @_mm_slli_epi32(i32 %73, i32 25)
%76 = load i32, i32* %6
%77 = tail call i32 @_mm_xor_si128(i32 %76, i32 %75)
store i32 %77, i32* %6
%78 = tail call i32 @_mm_shuffle_epi32(i32 %77, i32 147)
store i32 %78, i32* %6
%79 = load i32, i32* %15
%80 = tail call i32 @_mm_shuffle_epi32(i32 %79, i32 78)
store i32 %80, i32* %15
%81 = load i32, i32* %11
%82 = tail call i32 @_mm_shuffle_epi32(i32 %81, i32 57)
store i32 %82, i32* %11
ret void
}