#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 uint32_t;
typedef int /*<<< orphan*/ __m128i;

/* Variables and functions */
int /*<<< orphan*/ _mm_blend_epi16(int /*<<< orphan*/, int /*<<< orphan*/, int);
int _mm_extract_epi16(int /*<<< orphan*/, int);
int /*<<< orphan*/ _mm_xor_si128(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ xor_salsa_sidm(int /*<<< orphan*/ *, int /*<<< orphan*/ *,
                                  int /*<<< orphan*/ *, int /*<<< orphan*/ *,
                                  int /*<<< orphan*/ *, int /*<<< orphan*/ *,
                                  int /*<<< orphan*/ *, int /*<<< orphan*/ *,
                                  int);
int /*<<< orphan*/
xor_salsa_sidm_swap(int /*<<< orphan*/ *, int /*<<< orphan*/ *,
                    int /*<<< orphan*/ *, int /*<<< orphan*/ *,
                    int /*<<< orphan*/ *, int /*<<< orphan*/ *,
                    int /*<<< orphan*/ *, int /*<<< orphan*/ *, int);
void scrypt_core_r2_sidm(__m128i *X, uint32_t Loops, uint32_t double_rounds) {
  uint32_t i, j;
  __m128i scratch[Loops * 8 * 4];
  __m128i *calc_1 = (__m128i *)&X[0];
  __m128i *calc_2 = (__m128i *)&X[1];
  __m128i *calc_3 = (__m128i *)&X[2];
  __m128i *calc_4 = (__m128i *)&X[3];
  __m128i *calc_11 = (__m128i *)&X[4];
  __m128i *calc_12 = (__m128i *)&X[5];
  __m128i *calc_13 = (__m128i *)&X[6];
  __m128i *calc_14 = (__m128i *)&X[7];
  __m128i *calc_21 = (__m128i *)&X[8];
  __m128i *calc_22 = (__m128i *)&X[9];
  __m128i *calc_23 = (__m128i *)&X[10];
  __m128i *calc_24 = (__m128i *)&X[11];
  __m128i *calc_31 = (__m128i *)&X[12];
  __m128i *calc_32 = (__m128i *)&X[13];
  __m128i *calc_33 = (__m128i *)&X[14];
  __m128i *calc_34 = (__m128i *)&X[15];
  __m128i _calc5;
  __m128i _calc6;
  __m128i _calc7;
  __m128i _calc8;
  _calc5 = _mm_blend_epi16(*calc_31, *calc_33, 0xf0);
  _calc6 = _mm_blend_epi16(*calc_32, *calc_34, 0x0f);
  _calc7 = _mm_blend_epi16(*calc_33, *calc_31, 0xf0);
  _calc8 = _mm_blend_epi16(*calc_34, *calc_32, 0x0f);
  *calc_31 = _mm_blend_epi16(_calc5, _calc8, 0xcc);
  *calc_32 = _mm_blend_epi16(_calc6, _calc5, 0xcc);
  *calc_33 = _mm_blend_epi16(_calc7, _calc6, 0xcc);
  *calc_34 = _mm_blend_epi16(_calc8, _calc7, 0xcc);
  _calc5 = _mm_blend_epi16(*calc_21, *calc_23, 0xf0);
  _calc6 = _mm_blend_epi16(*calc_22, *calc_24, 0x0f);
  _calc7 = _mm_blend_epi16(*calc_23, *calc_21, 0xf0);
  _calc8 = _mm_blend_epi16(*calc_24, *calc_22, 0x0f);
  *calc_21 = _mm_blend_epi16(_calc5, _calc8, 0xcc);
  *calc_22 = _mm_blend_epi16(_calc6, _calc5, 0xcc);
  *calc_23 = _mm_blend_epi16(_calc7, _calc6, 0xcc);
  *calc_24 = _mm_blend_epi16(_calc8, _calc7, 0xcc);
  _calc5 = _mm_blend_epi16(*calc_11, *calc_13, 0xf0);
  _calc6 = _mm_blend_epi16(*calc_12, *calc_14, 0x0f);
  _calc7 = _mm_blend_epi16(*calc_13, *calc_11, 0xf0);
  _calc8 = _mm_blend_epi16(*calc_14, *calc_12, 0x0f);
  *calc_11 = _mm_blend_epi16(_calc5, _calc8, 0xcc);
  *calc_12 = _mm_blend_epi16(_calc6, _calc5, 0xcc);
  *calc_13 = _mm_blend_epi16(_calc7, _calc6, 0xcc);
  *calc_14 = _mm_blend_epi16(_calc8, _calc7, 0xcc);
  _calc5 = _mm_blend_epi16(*calc_1, *calc_3, 0xf0);
  _calc6 = _mm_blend_epi16(*calc_2, *calc_4, 0x0f);
  _calc7 = _mm_blend_epi16(*calc_3, *calc_1, 0xf0);
  _calc8 = _mm_blend_epi16(*calc_4, *calc_2, 0x0f);
  *calc_1 = _mm_blend_epi16(_calc5, _calc8, 0xcc);
  *calc_2 = _mm_blend_epi16(_calc6, _calc5, 0xcc);
  *calc_3 = _mm_blend_epi16(_calc7, _calc6, 0xcc);
  *calc_4 = _mm_blend_epi16(_calc8, _calc7, 0xcc);
  for (i = 0; i < Loops; i++) {
    scratch[i * 16 + 0] = *calc_1;
    scratch[i * 16 + 1] = *calc_2;
    scratch[i * 16 + 2] = *calc_3;
    scratch[i * 16 + 3] = *calc_4;
    scratch[i * 16 + 4] = *calc_11;
    scratch[i * 16 + 5] = *calc_12;
    scratch[i * 16 + 6] = *calc_13;
    scratch[i * 16 + 7] = *calc_14;
    scratch[i * 16 + 8] = *calc_21;
    scratch[i * 16 + 9] = *calc_22;
    scratch[i * 16 + 10] = *calc_23;
    scratch[i * 16 + 11] = *calc_24;
    scratch[i * 16 + 12] = *calc_31;
    scratch[i * 16 + 13] = *calc_32;
    scratch[i * 16 + 14] = *calc_33;
    scratch[i * 16 + 15] = *calc_34;
    xor_salsa_sidm(calc_1, calc_2, calc_3, calc_4, calc_31, calc_32, calc_33,
                   calc_34, double_rounds);
    xor_salsa_sidm(calc_11, calc_12, calc_13, calc_14, calc_1, calc_2, calc_3,
                   calc_4, double_rounds);
    xor_salsa_sidm_swap(calc_21, calc_22, calc_23, calc_24, calc_11, calc_12,
                        calc_13, calc_14, double_rounds);
    xor_salsa_sidm(calc_31, calc_32, calc_33, calc_34, calc_11, calc_12,
                   calc_13, calc_14, double_rounds);
  }
  for (i = 0; i < Loops; i++) {
    j = 16 * (_mm_extract_epi16(*calc_31, 0x00) & (Loops - 1));
    *calc_1 = _mm_xor_si128(*calc_1, scratch[j]);
    *calc_2 = _mm_xor_si128(*calc_2, scratch[j + 1]);
    *calc_3 = _mm_xor_si128(*calc_3, scratch[j + 2]);
    *calc_4 = _mm_xor_si128(*calc_4, scratch[j + 3]);
    *calc_11 = _mm_xor_si128(*calc_11, scratch[j + 4]);
    *calc_12 = _mm_xor_si128(*calc_12, scratch[j + 5]);
    *calc_13 = _mm_xor_si128(*calc_13, scratch[j + 6]);
    *calc_14 = _mm_xor_si128(*calc_14, scratch[j + 7]);
    *calc_21 = _mm_xor_si128(*calc_21, scratch[j + 8]);
    *calc_22 = _mm_xor_si128(*calc_22, scratch[j + 9]);
    *calc_23 = _mm_xor_si128(*calc_23, scratch[j + 10]);
    *calc_24 = _mm_xor_si128(*calc_24, scratch[j + 11]);
    *calc_31 = _mm_xor_si128(*calc_31, scratch[j + 12]);
    *calc_32 = _mm_xor_si128(*calc_32, scratch[j + 13]);
    *calc_33 = _mm_xor_si128(*calc_33, scratch[j + 14]);
    *calc_34 = _mm_xor_si128(*calc_34, scratch[j + 15]);
    xor_salsa_sidm(calc_1, calc_2, calc_3, calc_4, calc_31, calc_32, calc_33,
                   calc_34, double_rounds);
    xor_salsa_sidm(calc_11, calc_12, calc_13, calc_14, calc_1, calc_2, calc_3,
                   calc_4, double_rounds);
    xor_salsa_sidm_swap(calc_21, calc_22, calc_23, calc_24, calc_11, calc_12,
                        calc_13, calc_14, double_rounds);
    xor_salsa_sidm(calc_31, calc_32, calc_33, calc_34, calc_11, calc_12,
                   calc_13, calc_14, double_rounds);
  }
  _calc5 = _mm_blend_epi16(*calc_31, *calc_33, 0xf0);
  _calc6 = _mm_blend_epi16(*calc_32, *calc_34, 0x0f);
  _calc7 = _mm_blend_epi16(*calc_33, *calc_31, 0xf0);
  _calc8 = _mm_blend_epi16(*calc_34, *calc_32, 0x0f);
  *calc_31 = _mm_blend_epi16(_calc5, _calc8, 0xcc);
  *calc_32 = _mm_blend_epi16(_calc6, _calc5, 0xcc);
  *calc_33 = _mm_blend_epi16(_calc7, _calc6, 0xcc);
  *calc_34 = _mm_blend_epi16(_calc8, _calc7, 0xcc);
  _calc5 = _mm_blend_epi16(*calc_21, *calc_23, 0xf0);
  _calc6 = _mm_blend_epi16(*calc_22, *calc_24, 0x0f);
  _calc7 = _mm_blend_epi16(*calc_23, *calc_21, 0xf0);
  _calc8 = _mm_blend_epi16(*calc_24, *calc_22, 0x0f);
  *calc_21 = _mm_blend_epi16(_calc5, _calc8, 0xcc);
  *calc_22 = _mm_blend_epi16(_calc6, _calc5, 0xcc);
  *calc_23 = _mm_blend_epi16(_calc7, _calc6, 0xcc);
  *calc_24 = _mm_blend_epi16(_calc8, _calc7, 0xcc);
  _calc5 = _mm_blend_epi16(*calc_11, *calc_13, 0xf0);
  _calc6 = _mm_blend_epi16(*calc_12, *calc_14, 0x0f);
  _calc7 = _mm_blend_epi16(*calc_13, *calc_11, 0xf0);
  _calc8 = _mm_blend_epi16(*calc_14, *calc_12, 0x0f);
  *calc_11 = _mm_blend_epi16(_calc5, _calc8, 0xcc);
  *calc_12 = _mm_blend_epi16(_calc6, _calc5, 0xcc);
  *calc_13 = _mm_blend_epi16(_calc7, _calc6, 0xcc);
  *calc_14 = _mm_blend_epi16(_calc8, _calc7, 0xcc);
  _calc5 = _mm_blend_epi16(*calc_1, *calc_3, 0xf0);
  _calc6 = _mm_blend_epi16(*calc_2, *calc_4, 0x0f);
  _calc7 = _mm_blend_epi16(*calc_3, *calc_1, 0xf0);
  _calc8 = _mm_blend_epi16(*calc_4, *calc_2, 0x0f);
  *calc_1 = _mm_blend_epi16(_calc5, _calc8, 0xcc);
  *calc_2 = _mm_blend_epi16(_calc6, _calc5, 0xcc);
  *calc_3 = _mm_blend_epi16(_calc7, _calc6, 0xcc);
  *calc_4 = _mm_blend_epi16(_calc8, _calc7, 0xcc);
}


x86 assembly (clang, -O0):
<scrypt_core_r2_sidm>:
push   %rbp
mov    %rsp,%rbp
sub    $0xc0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %edx,-0x10(%rbp)
mov    -0xc(%rbp),%eax
shl    $0x5,%eax
mov    %rsp,%rcx
mov    %rcx,-0x20(%rbp)
mov    %rax,%rdx
shl    $0x2,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0xc0(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x28(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x30(%rbp)
mov    -0x8(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x38(%rbp)
mov    -0x8(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x40(%rbp)
mov    -0x8(%rbp),%rax
add    $0xc,%rax
mov    %rax,-0x48(%rbp)
mov    -0x8(%rbp),%rax
add    $0x10,%rax
mov    %rax,-0x50(%rbp)
mov    -0x8(%rbp),%rax
add    $0x14,%rax
mov    %rax,-0x58(%rbp)
mov    -0x8(%rbp),%rax
add    $0x18,%rax
mov    %rax,-0x60(%rbp)
mov    -0x8(%rbp),%rax
add    $0x1c,%rax
mov    %rax,-0x68(%rbp)
mov    -0x8(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x70(%rbp)
mov    -0x8(%rbp),%rax
add    $0x24,%rax
mov    %rax,-0x78(%rbp)
mov    -0x8(%rbp),%rax
add    $0x28,%rax
mov    %rax,-0x80(%rbp)
mov    -0x8(%rbp),%rax
add    $0x2c,%rax
mov    %rax,-0x88(%rbp)
mov    -0x8(%rbp),%rax
add    $0x30,%rax
mov    %rax,-0x90(%rbp)
mov    -0x8(%rbp),%rax
add    $0x34,%rax
mov    %rax,-0x98(%rbp)
mov    -0x8(%rbp),%rax
add    $0x38,%rax
mov    %rax,-0xa0(%rbp)
mov    -0x8(%rbp),%rax
add    $0x3c,%rax
mov    %rax,-0xa8(%rbp)
mov    -0x90(%rbp),%rax
mov    (%rax),%edi
mov    -0xa0(%rbp),%rax
mov    (%rax),%esi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xac(%rbp)
mov    -0x98(%rbp),%rax
mov    (%rax),%edi
mov    -0xa8(%rbp),%rax
mov    (%rax),%esi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xb0(%rbp)
mov    -0xa0(%rbp),%rax
mov    (%rax),%edi
mov    -0x90(%rbp),%rax
mov    (%rax),%esi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xb4(%rbp)
mov    -0xa8(%rbp),%rax
mov    (%rax),%edi
mov    -0x98(%rbp),%rax
mov    (%rax),%esi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xb8(%rbp)
mov    -0xac(%rbp),%edi
mov    -0xb8(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0x90(%rbp),%rax
mov    %ecx,(%rax)
mov    -0xb0(%rbp),%edi
mov    -0xac(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0x98(%rbp),%rax
mov    %ecx,(%rax)
mov    -0xb4(%rbp),%edi
mov    -0xb0(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0xa0(%rbp),%rax
mov    %ecx,(%rax)
mov    -0xb8(%rbp),%edi
mov    -0xb4(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0xa8(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x70(%rbp),%rax
mov    (%rax),%edi
mov    -0x80(%rbp),%rax
mov    (%rax),%esi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xac(%rbp)
mov    -0x78(%rbp),%rax
mov    (%rax),%edi
mov    -0x88(%rbp),%rax
mov    (%rax),%esi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xb0(%rbp)
mov    -0x80(%rbp),%rax
mov    (%rax),%edi
mov    -0x70(%rbp),%rax
mov    (%rax),%esi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xb4(%rbp)
mov    -0x88(%rbp),%rax
mov    (%rax),%edi
mov    -0x78(%rbp),%rax
mov    (%rax),%esi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xb8(%rbp)
mov    -0xac(%rbp),%edi
mov    -0xb8(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0x70(%rbp),%rax
mov    %ecx,(%rax)
mov    -0xb0(%rbp),%edi
mov    -0xac(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0x78(%rbp),%rax
mov    %ecx,(%rax)
mov    -0xb4(%rbp),%edi
mov    -0xb0(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0x80(%rbp),%rax
mov    %ecx,(%rax)
mov    -0xb8(%rbp),%edi
mov    -0xb4(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0x88(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x50(%rbp),%rax
mov    (%rax),%edi
mov    -0x60(%rbp),%rax
mov    (%rax),%esi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xac(%rbp)
mov    -0x58(%rbp),%rax
mov    (%rax),%edi
mov    -0x68(%rbp),%rax
mov    (%rax),%esi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xb0(%rbp)
mov    -0x60(%rbp),%rax
mov    (%rax),%edi
mov    -0x50(%rbp),%rax
mov    (%rax),%esi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xb4(%rbp)
mov    -0x68(%rbp),%rax
mov    (%rax),%edi
mov    -0x58(%rbp),%rax
mov    (%rax),%esi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xb8(%rbp)
mov    -0xac(%rbp),%edi
mov    -0xb8(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0x50(%rbp),%rax
mov    %ecx,(%rax)
mov    -0xb0(%rbp),%edi
mov    -0xac(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0x58(%rbp),%rax
mov    %ecx,(%rax)
mov    -0xb4(%rbp),%edi
mov    -0xb0(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0x60(%rbp),%rax
mov    %ecx,(%rax)
mov    -0xb8(%rbp),%edi
mov    -0xb4(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0x68(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x30(%rbp),%rax
mov    (%rax),%edi
mov    -0x40(%rbp),%rax
mov    (%rax),%esi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xac(%rbp)
mov    -0x38(%rbp),%rax
mov    (%rax),%edi
mov    -0x48(%rbp),%rax
mov    (%rax),%esi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xb0(%rbp)
mov    -0x40(%rbp),%rax
mov    (%rax),%edi
mov    -0x30(%rbp),%rax
mov    (%rax),%esi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xb4(%rbp)
mov    -0x48(%rbp),%rax
mov    (%rax),%edi
mov    -0x38(%rbp),%rax
mov    (%rax),%esi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xb8(%rbp)
mov    -0xac(%rbp),%edi
mov    -0xb8(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0x30(%rbp),%rax
mov    %ecx,(%rax)
mov    -0xb0(%rbp),%edi
mov    -0xac(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0x38(%rbp),%rax
mov    %ecx,(%rax)
mov    -0xb4(%rbp),%edi
mov    -0xb0(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0x40(%rbp),%rax
mov    %ecx,(%rax)
mov    -0xb8(%rbp),%edi
mov    -0xb4(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0x48(%rbp),%rax
mov    %ecx,(%rax)
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    18bb <scrypt_core_r2_sidm+0x76b>
mov    -0xc0(%rbp),%rax
mov    -0x30(%rbp),%rcx
mov    (%rcx),%edx
mov    -0x14(%rbp),%ecx
shl    $0x4,%ecx
add    $0x0,%ecx
movslq %ecx,%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x38(%rbp),%rcx
mov    (%rcx),%edx
mov    -0x14(%rbp),%ecx
shl    $0x4,%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x40(%rbp),%rcx
mov    (%rcx),%edx
mov    -0x14(%rbp),%ecx
shl    $0x4,%ecx
add    $0x2,%ecx
movslq %ecx,%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x48(%rbp),%rcx
mov    (%rcx),%edx
mov    -0x14(%rbp),%ecx
shl    $0x4,%ecx
add    $0x3,%ecx
movslq %ecx,%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x50(%rbp),%rcx
mov    (%rcx),%edx
mov    -0x14(%rbp),%ecx
shl    $0x4,%ecx
add    $0x4,%ecx
movslq %ecx,%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x58(%rbp),%rcx
mov    (%rcx),%edx
mov    -0x14(%rbp),%ecx
shl    $0x4,%ecx
add    $0x5,%ecx
movslq %ecx,%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x60(%rbp),%rcx
mov    (%rcx),%edx
mov    -0x14(%rbp),%ecx
shl    $0x4,%ecx
add    $0x6,%ecx
movslq %ecx,%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x68(%rbp),%rcx
mov    (%rcx),%edx
mov    -0x14(%rbp),%ecx
shl    $0x4,%ecx
add    $0x7,%ecx
movslq %ecx,%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x70(%rbp),%rcx
mov    (%rcx),%edx
mov    -0x14(%rbp),%ecx
shl    $0x4,%ecx
add    $0x8,%ecx
movslq %ecx,%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x78(%rbp),%rcx
mov    (%rcx),%edx
mov    -0x14(%rbp),%ecx
shl    $0x4,%ecx
add    $0x9,%ecx
movslq %ecx,%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x80(%rbp),%rcx
mov    (%rcx),%edx
mov    -0x14(%rbp),%ecx
shl    $0x4,%ecx
add    $0xa,%ecx
movslq %ecx,%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x88(%rbp),%rcx
mov    (%rcx),%edx
mov    -0x14(%rbp),%ecx
shl    $0x4,%ecx
add    $0xb,%ecx
movslq %ecx,%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x90(%rbp),%rcx
mov    (%rcx),%edx
mov    -0x14(%rbp),%ecx
shl    $0x4,%ecx
add    $0xc,%ecx
movslq %ecx,%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x98(%rbp),%rcx
mov    (%rcx),%edx
mov    -0x14(%rbp),%ecx
shl    $0x4,%ecx
add    $0xd,%ecx
movslq %ecx,%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0xa0(%rbp),%rcx
mov    (%rcx),%edx
mov    -0x14(%rbp),%ecx
shl    $0x4,%ecx
add    $0xe,%ecx
movslq %ecx,%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0xa8(%rbp),%rcx
mov    (%rcx),%edx
mov    -0x14(%rbp),%ecx
shl    $0x4,%ecx
add    $0xf,%ecx
movslq %ecx,%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x30(%rbp),%rdi
mov    -0x38(%rbp),%rsi
mov    -0x40(%rbp),%rdx
mov    -0x48(%rbp),%rcx
mov    -0x90(%rbp),%r8
mov    -0x98(%rbp),%r9
mov    -0xa0(%rbp),%r11
mov    -0xa8(%rbp),%r10
mov    -0x10(%rbp),%eax
sub    $0x20,%rsp
mov    %r11,(%rsp)
mov    %r10,0x8(%rsp)
mov    %eax,0x10(%rsp)
call   1060 <xor_salsa_sidm@plt>
add    $0x20,%rsp
mov    -0x50(%rbp),%rdi
mov    -0x58(%rbp),%rsi
mov    -0x60(%rbp),%rdx
mov    -0x68(%rbp),%rcx
mov    -0x30(%rbp),%r8
mov    -0x38(%rbp),%r9
mov    -0x40(%rbp),%r11
mov    -0x48(%rbp),%r10
mov    -0x10(%rbp),%eax
sub    $0x20,%rsp
mov    %r11,(%rsp)
mov    %r10,0x8(%rsp)
mov    %eax,0x10(%rsp)
call   1060 <xor_salsa_sidm@plt>
add    $0x20,%rsp
mov    -0x70(%rbp),%rdi
mov    -0x78(%rbp),%rsi
mov    -0x80(%rbp),%rdx
mov    -0x88(%rbp),%rcx
mov    -0x50(%rbp),%r8
mov    -0x58(%rbp),%r9
mov    -0x60(%rbp),%r11
mov    -0x68(%rbp),%r10
mov    -0x10(%rbp),%eax
sub    $0x20,%rsp
mov    %r11,(%rsp)
mov    %r10,0x8(%rsp)
mov    %eax,0x10(%rsp)
call   1070 <xor_salsa_sidm_swap@plt>
add    $0x20,%rsp
mov    -0x90(%rbp),%rdi
mov    -0x98(%rbp),%rsi
mov    -0xa0(%rbp),%rdx
mov    -0xa8(%rbp),%rcx
mov    -0x50(%rbp),%r8
mov    -0x58(%rbp),%r9
mov    -0x60(%rbp),%r11
mov    -0x68(%rbp),%r10
mov    -0x10(%rbp),%eax
sub    $0x20,%rsp
mov    %r11,(%rsp)
mov    %r10,0x8(%rsp)
mov    %eax,0x10(%rsp)
call   1060 <xor_salsa_sidm@plt>
add    $0x20,%rsp
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    162c <scrypt_core_r2_sidm+0x4dc>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    1c84 <scrypt_core_r2_sidm+0xb34>
mov    -0x90(%rbp),%rax
mov    (%rax),%edi
xor    %esi,%esi
call   1030 <_mm_extract_epi16@plt>
mov    %eax,%ecx
mov    -0xc0(%rbp),%rax
mov    -0xc(%rbp),%edx
sub    $0x1,%edx
and    %edx,%ecx
shl    $0x4,%ecx
mov    %ecx,-0x18(%rbp)
mov    -0x30(%rbp),%rcx
mov    (%rcx),%edi
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%edx
mov    -0xc0(%rbp),%rax
mov    -0x30(%rbp),%rcx
mov    %edx,(%rcx)
mov    -0x38(%rbp),%rcx
mov    (%rcx),%edi
mov    -0x18(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%edx
mov    -0xc0(%rbp),%rax
mov    -0x38(%rbp),%rcx
mov    %edx,(%rcx)
mov    -0x40(%rbp),%rcx
mov    (%rcx),%edi
mov    -0x18(%rbp),%ecx
add    $0x2,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%edx
mov    -0xc0(%rbp),%rax
mov    -0x40(%rbp),%rcx
mov    %edx,(%rcx)
mov    -0x48(%rbp),%rcx
mov    (%rcx),%edi
mov    -0x18(%rbp),%ecx
add    $0x3,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%edx
mov    -0xc0(%rbp),%rax
mov    -0x48(%rbp),%rcx
mov    %edx,(%rcx)
mov    -0x50(%rbp),%rcx
mov    (%rcx),%edi
mov    -0x18(%rbp),%ecx
add    $0x4,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%edx
mov    -0xc0(%rbp),%rax
mov    -0x50(%rbp),%rcx
mov    %edx,(%rcx)
mov    -0x58(%rbp),%rcx
mov    (%rcx),%edi
mov    -0x18(%rbp),%ecx
add    $0x5,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%edx
mov    -0xc0(%rbp),%rax
mov    -0x58(%rbp),%rcx
mov    %edx,(%rcx)
mov    -0x60(%rbp),%rcx
mov    (%rcx),%edi
mov    -0x18(%rbp),%ecx
add    $0x6,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%edx
mov    -0xc0(%rbp),%rax
mov    -0x60(%rbp),%rcx
mov    %edx,(%rcx)
mov    -0x68(%rbp),%rcx
mov    (%rcx),%edi
mov    -0x18(%rbp),%ecx
add    $0x7,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%edx
mov    -0xc0(%rbp),%rax
mov    -0x68(%rbp),%rcx
mov    %edx,(%rcx)
mov    -0x70(%rbp),%rcx
mov    (%rcx),%edi
mov    -0x18(%rbp),%ecx
add    $0x8,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%edx
mov    -0xc0(%rbp),%rax
mov    -0x70(%rbp),%rcx
mov    %edx,(%rcx)
mov    -0x78(%rbp),%rcx
mov    (%rcx),%edi
mov    -0x18(%rbp),%ecx
add    $0x9,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%edx
mov    -0xc0(%rbp),%rax
mov    -0x78(%rbp),%rcx
mov    %edx,(%rcx)
mov    -0x80(%rbp),%rcx
mov    (%rcx),%edi
mov    -0x18(%rbp),%ecx
add    $0xa,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%edx
mov    -0xc0(%rbp),%rax
mov    -0x80(%rbp),%rcx
mov    %edx,(%rcx)
mov    -0x88(%rbp),%rcx
mov    (%rcx),%edi
mov    -0x18(%rbp),%ecx
add    $0xb,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%edx
mov    -0xc0(%rbp),%rax
mov    -0x88(%rbp),%rcx
mov    %edx,(%rcx)
mov    -0x90(%rbp),%rcx
mov    (%rcx),%edi
mov    -0x18(%rbp),%ecx
add    $0xc,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%edx
mov    -0xc0(%rbp),%rax
mov    -0x90(%rbp),%rcx
mov    %edx,(%rcx)
mov    -0x98(%rbp),%rcx
mov    (%rcx),%edi
mov    -0x18(%rbp),%ecx
add    $0xd,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%edx
mov    -0xc0(%rbp),%rax
mov    -0x98(%rbp),%rcx
mov    %edx,(%rcx)
mov    -0xa0(%rbp),%rcx
mov    (%rcx),%edi
mov    -0x18(%rbp),%ecx
add    $0xe,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%edx
mov    -0xc0(%rbp),%rax
mov    -0xa0(%rbp),%rcx
mov    %edx,(%rcx)
mov    -0xa8(%rbp),%rcx
mov    (%rcx),%edi
mov    -0x18(%rbp),%ecx
add    $0xf,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,%ecx
mov    -0xa8(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x30(%rbp),%rdi
mov    -0x38(%rbp),%rsi
mov    -0x40(%rbp),%rdx
mov    -0x48(%rbp),%rcx
mov    -0x90(%rbp),%r8
mov    -0x98(%rbp),%r9
mov    -0xa0(%rbp),%r11
mov    -0xa8(%rbp),%r10
mov    -0x10(%rbp),%eax
sub    $0x20,%rsp
mov    %r11,(%rsp)
mov    %r10,0x8(%rsp)
mov    %eax,0x10(%rsp)
call   1060 <xor_salsa_sidm@plt>
add    $0x20,%rsp
mov    -0x50(%rbp),%rdi
mov    -0x58(%rbp),%rsi
mov    -0x60(%rbp),%rdx
mov    -0x68(%rbp),%rcx
mov    -0x30(%rbp),%r8
mov    -0x38(%rbp),%r9
mov    -0x40(%rbp),%r11
mov    -0x48(%rbp),%r10
mov    -0x10(%rbp),%eax
sub    $0x20,%rsp
mov    %r11,(%rsp)
mov    %r10,0x8(%rsp)
mov    %eax,0x10(%rsp)
call   1060 <xor_salsa_sidm@plt>
add    $0x20,%rsp
mov    -0x70(%rbp),%rdi
mov    -0x78(%rbp),%rsi
mov    -0x80(%rbp),%rdx
mov    -0x88(%rbp),%rcx
mov    -0x50(%rbp),%r8
mov    -0x58(%rbp),%r9
mov    -0x60(%rbp),%r11
mov    -0x68(%rbp),%r10
mov    -0x10(%rbp),%eax
sub    $0x20,%rsp
mov    %r11,(%rsp)
mov    %r10,0x8(%rsp)
mov    %eax,0x10(%rsp)
call   1070 <xor_salsa_sidm_swap@plt>
add    $0x20,%rsp
mov    -0x90(%rbp),%rdi
mov    -0x98(%rbp),%rsi
mov    -0xa0(%rbp),%rdx
mov    -0xa8(%rbp),%rcx
mov    -0x50(%rbp),%r8
mov    -0x58(%rbp),%r9
mov    -0x60(%rbp),%r11
mov    -0x68(%rbp),%r10
mov    -0x10(%rbp),%eax
sub    $0x20,%rsp
mov    %r11,(%rsp)
mov    %r10,0x8(%rsp)
mov    %eax,0x10(%rsp)
call   1060 <xor_salsa_sidm@plt>
add    $0x20,%rsp
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    18c2 <scrypt_core_r2_sidm+0x772>
mov    -0x90(%rbp),%rax
mov    (%rax),%edi
mov    -0xa0(%rbp),%rax
mov    (%rax),%esi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xac(%rbp)
mov    -0x98(%rbp),%rax
mov    (%rax),%edi
mov    -0xa8(%rbp),%rax
mov    (%rax),%esi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xb0(%rbp)
mov    -0xa0(%rbp),%rax
mov    (%rax),%edi
mov    -0x90(%rbp),%rax
mov    (%rax),%esi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xb4(%rbp)
mov    -0xa8(%rbp),%rax
mov    (%rax),%edi
mov    -0x98(%rbp),%rax
mov    (%rax),%esi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xb8(%rbp)
mov    -0xac(%rbp),%edi
mov    -0xb8(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0x90(%rbp),%rax
mov    %ecx,(%rax)
mov    -0xb0(%rbp),%edi
mov    -0xac(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0x98(%rbp),%rax
mov    %ecx,(%rax)
mov    -0xb4(%rbp),%edi
mov    -0xb0(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0xa0(%rbp),%rax
mov    %ecx,(%rax)
mov    -0xb8(%rbp),%edi
mov    -0xb4(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0xa8(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x70(%rbp),%rax
mov    (%rax),%edi
mov    -0x80(%rbp),%rax
mov    (%rax),%esi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xac(%rbp)
mov    -0x78(%rbp),%rax
mov    (%rax),%edi
mov    -0x88(%rbp),%rax
mov    (%rax),%esi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xb0(%rbp)
mov    -0x80(%rbp),%rax
mov    (%rax),%edi
mov    -0x70(%rbp),%rax
mov    (%rax),%esi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xb4(%rbp)
mov    -0x88(%rbp),%rax
mov    (%rax),%edi
mov    -0x78(%rbp),%rax
mov    (%rax),%esi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xb8(%rbp)
mov    -0xac(%rbp),%edi
mov    -0xb8(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0x70(%rbp),%rax
mov    %ecx,(%rax)
mov    -0xb0(%rbp),%edi
mov    -0xac(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0x78(%rbp),%rax
mov    %ecx,(%rax)
mov    -0xb4(%rbp),%edi
mov    -0xb0(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0x80(%rbp),%rax
mov    %ecx,(%rax)
mov    -0xb8(%rbp),%edi
mov    -0xb4(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0x88(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x50(%rbp),%rax
mov    (%rax),%edi
mov    -0x60(%rbp),%rax
mov    (%rax),%esi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xac(%rbp)
mov    -0x58(%rbp),%rax
mov    (%rax),%edi
mov    -0x68(%rbp),%rax
mov    (%rax),%esi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xb0(%rbp)
mov    -0x60(%rbp),%rax
mov    (%rax),%edi
mov    -0x50(%rbp),%rax
mov    (%rax),%esi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xb4(%rbp)
mov    -0x68(%rbp),%rax
mov    (%rax),%edi
mov    -0x58(%rbp),%rax
mov    (%rax),%esi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xb8(%rbp)
mov    -0xac(%rbp),%edi
mov    -0xb8(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0x50(%rbp),%rax
mov    %ecx,(%rax)
mov    -0xb0(%rbp),%edi
mov    -0xac(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0x58(%rbp),%rax
mov    %ecx,(%rax)
mov    -0xb4(%rbp),%edi
mov    -0xb0(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0x60(%rbp),%rax
mov    %ecx,(%rax)
mov    -0xb8(%rbp),%edi
mov    -0xb4(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0x68(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x30(%rbp),%rax
mov    (%rax),%edi
mov    -0x40(%rbp),%rax
mov    (%rax),%esi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xac(%rbp)
mov    -0x38(%rbp),%rax
mov    (%rax),%edi
mov    -0x48(%rbp),%rax
mov    (%rax),%esi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xb0(%rbp)
mov    -0x40(%rbp),%rax
mov    (%rax),%edi
mov    -0x30(%rbp),%rax
mov    (%rax),%esi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xb4(%rbp)
mov    -0x48(%rbp),%rax
mov    (%rax),%edi
mov    -0x38(%rbp),%rax
mov    (%rax),%esi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,-0xb8(%rbp)
mov    -0xac(%rbp),%edi
mov    -0xb8(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0x30(%rbp),%rax
mov    %ecx,(%rax)
mov    -0xb0(%rbp),%edi
mov    -0xac(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0x38(%rbp),%rax
mov    %ecx,(%rax)
mov    -0xb4(%rbp),%edi
mov    -0xb0(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0x40(%rbp),%rax
mov    %ecx,(%rax)
mov    -0xb8(%rbp),%edi
mov    -0xb4(%rbp),%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%ecx
mov    -0x48(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x20(%rbp),%rax
mov    %rax,%rsp
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<scrypt_core_r2_sidm>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xa8,%rsp
mov    %rdx,-0x40(%rbp)
mov    %rsi,-0x30(%rbp)
mov    %rdi,%rbx
mov    %esi,%eax
shl    $0x5,%eax
mov    %rsp,%rcx
shl    $0x2,%rax
sub    %rax,%rcx
mov    %rcx,-0x80(%rbp)
mov    %rcx,%rsp
mov    0x30(%rdi),%edi
mov    0x38(%rbx),%esi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r12d
mov    0x34(%rbx),%edi
mov    0x3c(%rbx),%esi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r15d
mov    0x30(%rbx),%esi
mov    0x38(%rbx),%edi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r14d
mov    0x34(%rbx),%esi
mov    0x3c(%rbx),%edi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r13d
mov    %r12d,%edi
mov    %eax,%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,0x30(%rbx)
mov    %r15d,%edi
mov    %r12d,%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,0x34(%rbx)
mov    %r14d,%edi
mov    %r15d,%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,0x38(%rbx)
mov    %r13d,%edi
mov    %r14d,%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,0x3c(%rbx)
mov    0x20(%rbx),%edi
mov    0x28(%rbx),%esi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r12d
mov    0x24(%rbx),%edi
mov    0x2c(%rbx),%esi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r15d
mov    0x20(%rbx),%esi
mov    0x28(%rbx),%edi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r14d
mov    0x24(%rbx),%esi
mov    0x2c(%rbx),%edi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r13d
mov    %r12d,%edi
mov    %eax,%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,0x20(%rbx)
mov    %r15d,%edi
mov    %r12d,%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,0x24(%rbx)
mov    %r14d,%edi
mov    %r15d,%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,0x28(%rbx)
mov    %r13d,%edi
mov    %r14d,%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,0x2c(%rbx)
mov    0x10(%rbx),%edi
mov    0x18(%rbx),%esi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r12d
mov    0x14(%rbx),%edi
mov    0x1c(%rbx),%esi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r15d
mov    0x10(%rbx),%esi
mov    0x18(%rbx),%edi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r14d
mov    0x14(%rbx),%esi
mov    0x1c(%rbx),%edi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r13d
mov    %r12d,%edi
mov    %eax,%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,0x10(%rbx)
mov    %r15d,%edi
mov    %r12d,%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,0x14(%rbx)
mov    %r14d,%edi
mov    %r15d,%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,0x18(%rbx)
mov    %r13d,%edi
mov    %r14d,%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,0x1c(%rbx)
mov    (%rbx),%edi
mov    0x8(%rbx),%esi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r12d
mov    0x4(%rbx),%edi
mov    0xc(%rbx),%esi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r15d
mov    (%rbx),%esi
mov    0x8(%rbx),%edi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r14d
mov    0x4(%rbx),%esi
mov    0xc(%rbx),%edi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r13d
mov    %r12d,%edi
mov    %eax,%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,(%rbx)
mov    %r15d,%edi
mov    %r12d,%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,0x4(%rbx)
mov    %r14d,%edi
mov    %r15d,%esi
mov    -0x30(%rbp),%r15
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,0x8(%rbx)
mov    %r13d,%edi
mov    %r14d,%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %rbx,-0x38(%rbp)
mov    %eax,0xc(%rbx)
test   %r15d,%r15d
jle    1875 <scrypt_core_r2_sidm+0x725>
mov    -0x38(%rbp),%rsi
lea    0x4(%rsi),%rcx
mov    %rcx,-0xa0(%rbp)
lea    0x8(%rsi),%r14
lea    0xc(%rsi),%rcx
lea    0x10(%rsi),%rdx
mov    %rdx,-0xc8(%rbp)
lea    0x14(%rsi),%rdx
mov    %rdx,-0x98(%rbp)
lea    0x18(%rsi),%rdx
mov    %rdx,-0x70(%rbp)
lea    0x1c(%rsi),%rdx
mov    %rdx,-0x68(%rbp)
lea    0x20(%rsi),%rdx
mov    %rdx,-0xc0(%rbp)
lea    0x24(%rsi),%rdx
mov    %rdx,-0xb8(%rbp)
lea    0x28(%rsi),%rdx
mov    %rdx,-0xb0(%rbp)
lea    0x2c(%rsi),%rdx
mov    %rdx,-0xa8(%rbp)
lea    0x30(%rsi),%r8
mov    %r15d,%edx
shl    $0x6,%rdx
add    $0xffffffffffffffc0,%rdx
mov    %rdx,-0x78(%rbp)
lea    0x34(%rsi),%r9
lea    0x38(%rsi),%r10
lea    0x3c(%rsi),%r11
xor    %r13d,%r13d
mov    -0x40(%rbp),%r15
mov    -0x80(%rbp),%rsi
mov    %r14,-0x88(%rbp)
mov    %r8,-0x60(%rbp)
mov    %r9,-0x58(%rbp)
mov    %r10,-0x50(%rbp)
mov    %r11,-0x48(%rbp)
mov    %rcx,-0x90(%rbp)
mov    -0xc8(%rbp),%r12
nopw   0x0(%rax,%rax,1)
mov    -0x38(%rbp),%rbx
mov    (%rbx),%edx
mov    %edx,(%rsi,%r13,1)
mov    0x4(%rbx),%edx
mov    %edx,0x4(%rsi,%r13,1)
mov    0x8(%rbx),%edx
mov    %edx,0x8(%rsi,%r13,1)
mov    %eax,0xc(%rsi,%r13,1)
movups 0x10(%rbx),%xmm0
movaps %xmm0,0x10(%rsi,%r13,1)
movups 0x20(%rbx),%xmm0
movaps %xmm0,0x20(%rsi,%r13,1)
movups 0x30(%rbx),%xmm0
movaps %xmm0,0x30(%rsi,%r13,1)
sub    $0x8,%rsp
mov    %rbx,%rdi
mov    -0xa0(%rbp),%rsi
mov    %r14,%rdx
push   %r15
push   %r11
push   %r10
call   1060 <xor_salsa_sidm@plt>
add    $0x18,%rsp
mov    %r12,%rdi
mov    -0x98(%rbp),%rsi
mov    -0x70(%rbp),%rdx
mov    -0x68(%rbp),%rcx
mov    %rbx,%r8
mov    %rcx,%rbx
mov    -0xa0(%rbp),%r9
push   %r15
push   -0x90(%rbp)
push   %r14
call   1060 <xor_salsa_sidm@plt>
add    $0x18,%rsp
mov    -0xc0(%rbp),%rdi
mov    -0xb8(%rbp),%rsi
mov    -0xb0(%rbp),%rdx
mov    -0xa8(%rbp),%rcx
mov    %r12,%r8
mov    -0x98(%rbp),%r14
mov    %r14,%r9
push   %r15
push   %rbx
mov    -0x70(%rbp),%rbx
push   %rbx
call   1070 <xor_salsa_sidm_swap@plt>
add    $0x18,%rsp
mov    -0x60(%rbp),%rdi
mov    -0x58(%rbp),%rsi
mov    -0x50(%rbp),%rdx
mov    -0x48(%rbp),%rcx
mov    %r12,%r8
mov    %r14,%r9
mov    %r15,%r14
push   %r15
mov    -0x68(%rbp),%rax
push   %rax
push   %rbx
call   1060 <xor_salsa_sidm@plt>
add    $0x20,%rsp
cmp    %r13,-0x78(%rbp)
je     15d9 <scrypt_core_r2_sidm+0x489>
mov    -0x90(%rbp),%rcx
mov    (%rcx),%eax
add    $0x40,%r13
mov    %r14,%r15
mov    -0x80(%rbp),%rsi
mov    -0x88(%rbp),%r14
mov    -0x60(%rbp),%r8
mov    -0x58(%rbp),%r9
mov    -0x50(%rbp),%r10
mov    -0x48(%rbp),%r11
jmp    14b0 <scrypt_core_r2_sidm+0x360>
mov    -0x30(%rbp),%rax
test   %eax,%eax
jle    1875 <scrypt_core_r2_sidm+0x725>
lea    -0x1(%rax),%ecx
mov    %ecx,-0x78(%rbp)
mov    -0xc8(%rbp),%r14
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    -0x80(%rbp),%rbx
mov    %rax,-0x30(%rbp)
mov    -0x38(%rbp),%r12
mov    0x30(%r12),%edi
xor    %esi,%esi
call   1030 <_mm_extract_epi16@plt>
and    -0x78(%rbp),%eax
shl    $0x4,%eax
mov    (%r12),%edi
movslq %eax,%r13
mov    (%rbx,%r13,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,(%r12)
mov    0x4(%r12),%edi
lea    0x1(%r13),%eax
cltq
mov    (%rbx,%rax,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,0x4(%r12)
mov    0x8(%r12),%edi
lea    0x2(%r13),%eax
cltq
mov    (%rbx,%rax,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,0x8(%r12)
mov    0xc(%r12),%edi
lea    0x3(%r13),%eax
cltq
mov    (%rbx,%rax,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,0xc(%r12)
mov    0x10(%r12),%edi
lea    0x4(%r13),%eax
cltq
mov    (%rbx,%rax,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,0x10(%r12)
mov    0x14(%r12),%edi
lea    0x5(%r13),%eax
cltq
mov    (%rbx,%rax,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,0x14(%r12)
mov    0x18(%r12),%edi
lea    0x6(%r13),%eax
cltq
mov    (%rbx,%rax,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,0x18(%r12)
mov    0x1c(%r12),%edi
lea    0x7(%r13),%eax
cltq
mov    (%rbx,%rax,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,0x1c(%r12)
mov    0x20(%r12),%edi
lea    0x8(%r13),%eax
cltq
mov    (%rbx,%rax,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,0x20(%r12)
mov    0x24(%r12),%edi
lea    0x9(%r13),%eax
cltq
mov    (%rbx,%rax,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,0x24(%r12)
mov    0x28(%r12),%edi
lea    0xa(%r13),%eax
cltq
mov    (%rbx,%rax,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,0x28(%r12)
mov    0x2c(%r12),%edi
lea    0xb(%r13),%eax
cltq
mov    (%rbx,%rax,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,0x2c(%r12)
mov    0x30(%r12),%edi
lea    0xc(%r13),%eax
cltq
mov    (%rbx,%rax,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,0x30(%r12)
mov    0x34(%r12),%edi
lea    0xd(%r13),%eax
cltq
mov    (%rbx,%rax,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,0x34(%r12)
mov    0x38(%r12),%edi
lea    0xe(%r13),%eax
cltq
mov    (%rbx,%rax,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,0x38(%r12)
mov    0x3c(%r12),%edi
or     $0xf,%r13d
movslq %r13d,%rax
mov    (%rbx,%rax,4),%esi
call   1050 <_mm_xor_si128@plt>
mov    %eax,0x3c(%r12)
sub    $0x8,%rsp
mov    %r12,%rdi
mov    -0xa0(%rbp),%r15
mov    %r15,%rsi
mov    -0x88(%rbp),%rdx
mov    -0x90(%rbp),%r13
mov    %r13,%rcx
mov    -0x60(%rbp),%r8
mov    -0x58(%rbp),%r9
push   -0x40(%rbp)
push   -0x48(%rbp)
push   -0x50(%rbp)
call   1060 <xor_salsa_sidm@plt>
add    $0x18,%rsp
mov    %r14,%rdi
mov    -0x98(%rbp),%rbx
mov    %rbx,%rsi
mov    -0x70(%rbp),%rdx
mov    -0x68(%rbp),%rcx
mov    %r12,%r8
mov    -0x68(%rbp),%r12
mov    %r15,%r9
push   -0x40(%rbp)
push   %r13
mov    -0x40(%rbp),%r13
push   -0x88(%rbp)
call   1060 <xor_salsa_sidm@plt>
add    $0x18,%rsp
mov    -0xc0(%rbp),%rdi
mov    -0xb8(%rbp),%rsi
mov    -0xb0(%rbp),%rdx
mov    -0xa8(%rbp),%rcx
mov    %r14,%r8
mov    %rbx,%r9
push   %r13
push   %r12
mov    -0x70(%rbp),%r15
push   %r15
call   1070 <xor_salsa_sidm_swap@plt>
add    $0x18,%rsp
mov    -0x60(%rbp),%rdi
mov    -0x58(%rbp),%rsi
mov    -0x50(%rbp),%rdx
mov    -0x48(%rbp),%rcx
mov    %r14,%r8
mov    %rbx,%r9
push   %r13
push   %r12
push   %r15
call   1060 <xor_salsa_sidm@plt>
mov    -0x30(%rbp),%rax
add    $0x20,%rsp
add    $0xffffffff,%eax
jne    1600 <scrypt_core_r2_sidm+0x4b0>
mov    -0x38(%rbp),%rbx
mov    0x30(%rbx),%edi
mov    0x38(%rbx),%esi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r14d
mov    0x34(%rbx),%edi
mov    0x3c(%rbx),%esi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r15d
mov    0x30(%rbx),%esi
mov    0x38(%rbx),%edi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r12d
mov    0x34(%rbx),%esi
mov    0x3c(%rbx),%edi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r13d
mov    %r14d,%edi
mov    %eax,%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,0x30(%rbx)
mov    %r15d,%edi
mov    %r14d,%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,0x34(%rbx)
mov    %r12d,%edi
mov    %r15d,%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,0x38(%rbx)
mov    %r13d,%edi
mov    %r12d,%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,0x3c(%rbx)
mov    0x20(%rbx),%edi
mov    0x28(%rbx),%esi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r14d
mov    0x24(%rbx),%edi
mov    0x2c(%rbx),%esi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r15d
mov    0x20(%rbx),%esi
mov    0x28(%rbx),%edi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r12d
mov    0x24(%rbx),%esi
mov    0x2c(%rbx),%edi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r13d
mov    %r14d,%edi
mov    %eax,%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,0x20(%rbx)
mov    %r15d,%edi
mov    %r14d,%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,0x24(%rbx)
mov    %r12d,%edi
mov    %r15d,%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,0x28(%rbx)
mov    %r13d,%edi
mov    %r12d,%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,0x2c(%rbx)
mov    0x10(%rbx),%edi
mov    0x18(%rbx),%esi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r14d
mov    0x14(%rbx),%edi
mov    0x1c(%rbx),%esi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r15d
mov    0x10(%rbx),%esi
mov    0x18(%rbx),%edi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r12d
mov    0x14(%rbx),%esi
mov    0x1c(%rbx),%edi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r13d
mov    %r14d,%edi
mov    %eax,%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,0x10(%rbx)
mov    %r15d,%edi
mov    %r14d,%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,0x14(%rbx)
mov    %r12d,%edi
mov    %r15d,%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,0x18(%rbx)
mov    %r13d,%edi
mov    %r12d,%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,0x1c(%rbx)
mov    (%rbx),%edi
mov    0x8(%rbx),%esi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r14d
mov    0x4(%rbx),%edi
mov    0xc(%rbx),%esi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r15d
mov    (%rbx),%esi
mov    0x8(%rbx),%edi
mov    $0xf0,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r12d
mov    0x4(%rbx),%esi
mov    0xc(%rbx),%edi
mov    $0xf,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,%r13d
mov    %r14d,%edi
mov    %eax,%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,(%rbx)
mov    %r15d,%edi
mov    %r14d,%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,0x4(%rbx)
mov    %r12d,%edi
mov    %r15d,%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,0x8(%rbx)
mov    %r13d,%edi
mov    %r12d,%esi
mov    $0xcc,%edx
call   1040 <_mm_blend_epi16@plt>
mov    %eax,0xc(%rbx)
lea    -0x28(%rbp),%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @scrypt_core_r2_sidm(i32* %0, i32 %1, i32 %2) {
%4 = alloca i32*
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i8*
%10 = alloca i64
%11 = alloca i32*
%12 = alloca i32*
%13 = alloca i32*
%14 = alloca i32*
%15 = alloca i32*
%16 = alloca i32*
%17 = alloca i32*
%18 = alloca i32*
%19 = alloca i32*
%20 = alloca i32*
%21 = alloca i32*
%22 = alloca i32*
%23 = alloca i32*
%24 = alloca i32*
%25 = alloca i32*
%26 = alloca i32*
%27 = alloca i32
%28 = alloca i32
%29 = alloca i32
%30 = alloca i32
store i32* %0, i32** %4
store i32 %1, i32* %5
store i32 %2, i32* %6
%31 = load i32, i32* %5
%32 = mul nsw i32 %31, 8
%33 = mul nsw i32 %32, 4
%34 = zext i32 %33 to i64
%35 = call i8* @llvm.stacksave()
store i8* %35, i8** %9
%36 = alloca i32, i64 %34
store i64 %34, i64* %10
%37 = load i32*, i32** %4
%38 = getelementptr inbounds i32, i32* %37, i64 0
store i32* %38, i32** %11
%39 = load i32*, i32** %4
%40 = getelementptr inbounds i32, i32* %39, i64 1
store i32* %40, i32** %12
%41 = load i32*, i32** %4
%42 = getelementptr inbounds i32, i32* %41, i64 2
store i32* %42, i32** %13
%43 = load i32*, i32** %4
%44 = getelementptr inbounds i32, i32* %43, i64 3
store i32* %44, i32** %14
%45 = load i32*, i32** %4
%46 = getelementptr inbounds i32, i32* %45, i64 4
store i32* %46, i32** %15
%47 = load i32*, i32** %4
%48 = getelementptr inbounds i32, i32* %47, i64 5
store i32* %48, i32** %16
%49 = load i32*, i32** %4
%50 = getelementptr inbounds i32, i32* %49, i64 6
store i32* %50, i32** %17
%51 = load i32*, i32** %4
%52 = getelementptr inbounds i32, i32* %51, i64 7
store i32* %52, i32** %18
%53 = load i32*, i32** %4
%54 = getelementptr inbounds i32, i32* %53, i64 8
store i32* %54, i32** %19
%55 = load i32*, i32** %4
%56 = getelementptr inbounds i32, i32* %55, i64 9
store i32* %56, i32** %20
%57 = load i32*, i32** %4
%58 = getelementptr inbounds i32, i32* %57, i64 10
store i32* %58, i32** %21
%59 = load i32*, i32** %4
%60 = getelementptr inbounds i32, i32* %59, i64 11
store i32* %60, i32** %22
%61 = load i32*, i32** %4
%62 = getelementptr inbounds i32, i32* %61, i64 12
store i32* %62, i32** %23
%63 = load i32*, i32** %4
%64 = getelementptr inbounds i32, i32* %63, i64 13
store i32* %64, i32** %24
%65 = load i32*, i32** %4
%66 = getelementptr inbounds i32, i32* %65, i64 14
store i32* %66, i32** %25
%67 = load i32*, i32** %4
%68 = getelementptr inbounds i32, i32* %67, i64 15
store i32* %68, i32** %26
%69 = load i32*, i32** %23
%70 = load i32, i32* %69
%71 = load i32*, i32** %25
%72 = load i32, i32* %71
%73 = call i32 @_mm_blend_epi16(i32 %70, i32 %72, i32 240)
store i32 %73, i32* %27
%74 = load i32*, i32** %24
%75 = load i32, i32* %74
%76 = load i32*, i32** %26
%77 = load i32, i32* %76
%78 = call i32 @_mm_blend_epi16(i32 %75, i32 %77, i32 15)
store i32 %78, i32* %28
%79 = load i32*, i32** %25
%80 = load i32, i32* %79
%81 = load i32*, i32** %23
%82 = load i32, i32* %81
%83 = call i32 @_mm_blend_epi16(i32 %80, i32 %82, i32 240)
store i32 %83, i32* %29
%84 = load i32*, i32** %26
%85 = load i32, i32* %84
%86 = load i32*, i32** %24
%87 = load i32, i32* %86
%88 = call i32 @_mm_blend_epi16(i32 %85, i32 %87, i32 15)
store i32 %88, i32* %30
%89 = load i32, i32* %27
%90 = load i32, i32* %30
%91 = call i32 @_mm_blend_epi16(i32 %89, i32 %90, i32 204)
%92 = load i32*, i32** %23
store i32 %91, i32* %92
%93 = load i32, i32* %28
%94 = load i32, i32* %27
%95 = call i32 @_mm_blend_epi16(i32 %93, i32 %94, i32 204)
%96 = load i32*, i32** %24
store i32 %95, i32* %96
%97 = load i32, i32* %29
%98 = load i32, i32* %28
%99 = call i32 @_mm_blend_epi16(i32 %97, i32 %98, i32 204)
%100 = load i32*, i32** %25
store i32 %99, i32* %100
%101 = load i32, i32* %30
%102 = load i32, i32* %29
%103 = call i32 @_mm_blend_epi16(i32 %101, i32 %102, i32 204)
%104 = load i32*, i32** %26
store i32 %103, i32* %104
%105 = load i32*, i32** %19
%106 = load i32, i32* %105
%107 = load i32*, i32** %21
%108 = load i32, i32* %107
%109 = call i32 @_mm_blend_epi16(i32 %106, i32 %108, i32 240)
store i32 %109, i32* %27
%110 = load i32*, i32** %20
%111 = load i32, i32* %110
%112 = load i32*, i32** %22
%113 = load i32, i32* %112
%114 = call i32 @_mm_blend_epi16(i32 %111, i32 %113, i32 15)
store i32 %114, i32* %28
%115 = load i32*, i32** %21
%116 = load i32, i32* %115
%117 = load i32*, i32** %19
%118 = load i32, i32* %117
%119 = call i32 @_mm_blend_epi16(i32 %116, i32 %118, i32 240)
store i32 %119, i32* %29
%120 = load i32*, i32** %22
%121 = load i32, i32* %120
%122 = load i32*, i32** %20
%123 = load i32, i32* %122
%124 = call i32 @_mm_blend_epi16(i32 %121, i32 %123, i32 15)
store i32 %124, i32* %30
%125 = load i32, i32* %27
%126 = load i32, i32* %30
%127 = call i32 @_mm_blend_epi16(i32 %125, i32 %126, i32 204)
%128 = load i32*, i32** %19
store i32 %127, i32* %128
%129 = load i32, i32* %28
%130 = load i32, i32* %27
%131 = call i32 @_mm_blend_epi16(i32 %129, i32 %130, i32 204)
%132 = load i32*, i32** %20
store i32 %131, i32* %132
%133 = load i32, i32* %29
%134 = load i32, i32* %28
%135 = call i32 @_mm_blend_epi16(i32 %133, i32 %134, i32 204)
%136 = load i32*, i32** %21
store i32 %135, i32* %136
%137 = load i32, i32* %30
%138 = load i32, i32* %29
%139 = call i32 @_mm_blend_epi16(i32 %137, i32 %138, i32 204)
%140 = load i32*, i32** %22
store i32 %139, i32* %140
%141 = load i32*, i32** %15
%142 = load i32, i32* %141
%143 = load i32*, i32** %17
%144 = load i32, i32* %143
%145 = call i32 @_mm_blend_epi16(i32 %142, i32 %144, i32 240)
store i32 %145, i32* %27
%146 = load i32*, i32** %16
%147 = load i32, i32* %146
%148 = load i32*, i32** %18
%149 = load i32, i32* %148
%150 = call i32 @_mm_blend_epi16(i32 %147, i32 %149, i32 15)
store i32 %150, i32* %28
%151 = load i32*, i32** %17
%152 = load i32, i32* %151
%153 = load i32*, i32** %15
%154 = load i32, i32* %153
%155 = call i32 @_mm_blend_epi16(i32 %152, i32 %154, i32 240)
store i32 %155, i32* %29
%156 = load i32*, i32** %18
%157 = load i32, i32* %156
%158 = load i32*, i32** %16
%159 = load i32, i32* %158
%160 = call i32 @_mm_blend_epi16(i32 %157, i32 %159, i32 15)
store i32 %160, i32* %30
%161 = load i32, i32* %27
%162 = load i32, i32* %30
%163 = call i32 @_mm_blend_epi16(i32 %161, i32 %162, i32 204)
%164 = load i32*, i32** %15
store i32 %163, i32* %164
%165 = load i32, i32* %28
%166 = load i32, i32* %27
%167 = call i32 @_mm_blend_epi16(i32 %165, i32 %166, i32 204)
%168 = load i32*, i32** %16
store i32 %167, i32* %168
%169 = load i32, i32* %29
%170 = load i32, i32* %28
%171 = call i32 @_mm_blend_epi16(i32 %169, i32 %170, i32 204)
%172 = load i32*, i32** %17
store i32 %171, i32* %172
%173 = load i32, i32* %30
%174 = load i32, i32* %29
%175 = call i32 @_mm_blend_epi16(i32 %173, i32 %174, i32 204)
%176 = load i32*, i32** %18
store i32 %175, i32* %176
%177 = load i32*, i32** %11
%178 = load i32, i32* %177
%179 = load i32*, i32** %13
%180 = load i32, i32* %179
%181 = call i32 @_mm_blend_epi16(i32 %178, i32 %180, i32 240)
store i32 %181, i32* %27
%182 = load i32*, i32** %12
%183 = load i32, i32* %182
%184 = load i32*, i32** %14
%185 = load i32, i32* %184
%186 = call i32 @_mm_blend_epi16(i32 %183, i32 %185, i32 15)
store i32 %186, i32* %28
%187 = load i32*, i32** %13
%188 = load i32, i32* %187
%189 = load i32*, i32** %11
%190 = load i32, i32* %189
%191 = call i32 @_mm_blend_epi16(i32 %188, i32 %190, i32 240)
store i32 %191, i32* %29
%192 = load i32*, i32** %14
%193 = load i32, i32* %192
%194 = load i32*, i32** %12
%195 = load i32, i32* %194
%196 = call i32 @_mm_blend_epi16(i32 %193, i32 %195, i32 15)
store i32 %196, i32* %30
%197 = load i32, i32* %27
%198 = load i32, i32* %30
%199 = call i32 @_mm_blend_epi16(i32 %197, i32 %198, i32 204)
%200 = load i32*, i32** %11
store i32 %199, i32* %200
%201 = load i32, i32* %28
%202 = load i32, i32* %27
%203 = call i32 @_mm_blend_epi16(i32 %201, i32 %202, i32 204)
%204 = load i32*, i32** %12
store i32 %203, i32* %204
%205 = load i32, i32* %29
%206 = load i32, i32* %28
%207 = call i32 @_mm_blend_epi16(i32 %205, i32 %206, i32 204)
%208 = load i32*, i32** %13
store i32 %207, i32* %208
%209 = load i32, i32* %30
%210 = load i32, i32* %29
%211 = call i32 @_mm_blend_epi16(i32 %209, i32 %210, i32 204)
%212 = load i32*, i32** %14
store i32 %211, i32* %212
store i32 0, i32* %7
br label %213
213: ; preds = %370, %3
%214 = load i32, i32* %7
%215 = load i32, i32* %5
%216 = icmp slt i32 %214, %215
br i1 %216, label %217, label %373
217: ; preds = %213
%218 = load i32*, i32** %11
%219 = load i32, i32* %218
%220 = load i32, i32* %7
%221 = mul nsw i32 %220, 16
%222 = add nsw i32 %221, 0
%223 = sext i32 %222 to i64
%224 = getelementptr inbounds i32, i32* %36, i64 %223
store i32 %219, i32* %224
%225 = load i32*, i32** %12
%226 = load i32, i32* %225
%227 = load i32, i32* %7
%228 = mul nsw i32 %227, 16
%229 = add nsw i32 %228, 1
%230 = sext i32 %229 to i64
%231 = getelementptr inbounds i32, i32* %36, i64 %230
store i32 %226, i32* %231
%232 = load i32*, i32** %13
%233 = load i32, i32* %232
%234 = load i32, i32* %7
%235 = mul nsw i32 %234, 16
%236 = add nsw i32 %235, 2
%237 = sext i32 %236 to i64
%238 = getelementptr inbounds i32, i32* %36, i64 %237
store i32 %233, i32* %238
%239 = load i32*, i32** %14
%240 = load i32, i32* %239
%241 = load i32, i32* %7
%242 = mul nsw i32 %241, 16
%243 = add nsw i32 %242, 3
%244 = sext i32 %243 to i64
%245 = getelementptr inbounds i32, i32* %36, i64 %244
store i32 %240, i32* %245
%246 = load i32*, i32** %15
%247 = load i32, i32* %246
%248 = load i32, i32* %7
%249 = mul nsw i32 %248, 16
%250 = add nsw i32 %249, 4
%251 = sext i32 %250 to i64
%252 = getelementptr inbounds i32, i32* %36, i64 %251
store i32 %247, i32* %252
%253 = load i32*, i32** %16
%254 = load i32, i32* %253
%255 = load i32, i32* %7
%256 = mul nsw i32 %255, 16
%257 = add nsw i32 %256, 5
%258 = sext i32 %257 to i64
%259 = getelementptr inbounds i32, i32* %36, i64 %258
store i32 %254, i32* %259
%260 = load i32*, i32** %17
%261 = load i32, i32* %260
%262 = load i32, i32* %7
%263 = mul nsw i32 %262, 16
%264 = add nsw i32 %263, 6
%265 = sext i32 %264 to i64
%266 = getelementptr inbounds i32, i32* %36, i64 %265
store i32 %261, i32* %266
%267 = load i32*, i32** %18
%268 = load i32, i32* %267
%269 = load i32, i32* %7
%270 = mul nsw i32 %269, 16
%271 = add nsw i32 %270, 7
%272 = sext i32 %271 to i64
%273 = getelementptr inbounds i32, i32* %36, i64 %272
store i32 %268, i32* %273
%274 = load i32*, i32** %19
%275 = load i32, i32* %274
%276 = load i32, i32* %7
%277 = mul nsw i32 %276, 16
%278 = add nsw i32 %277, 8
%279 = sext i32 %278 to i64
%280 = getelementptr inbounds i32, i32* %36, i64 %279
store i32 %275, i32* %280
%281 = load i32*, i32** %20
%282 = load i32, i32* %281
%283 = load i32, i32* %7
%284 = mul nsw i32 %283, 16
%285 = add nsw i32 %284, 9
%286 = sext i32 %285 to i64
%287 = getelementptr inbounds i32, i32* %36, i64 %286
store i32 %282, i32* %287
%288 = load i32*, i32** %21
%289 = load i32, i32* %288
%290 = load i32, i32* %7
%291 = mul nsw i32 %290, 16
%292 = add nsw i32 %291, 10
%293 = sext i32 %292 to i64
%294 = getelementptr inbounds i32, i32* %36, i64 %293
store i32 %289, i32* %294
%295 = load i32*, i32** %22
%296 = load i32, i32* %295
%297 = load i32, i32* %7
%298 = mul nsw i32 %297, 16
%299 = add nsw i32 %298, 11
%300 = sext i32 %299 to i64
%301 = getelementptr inbounds i32, i32* %36, i64 %300
store i32 %296, i32* %301
%302 = load i32*, i32** %23
%303 = load i32, i32* %302
%304 = load i32, i32* %7
%305 = mul nsw i32 %304, 16
%306 = add nsw i32 %305, 12
%307 = sext i32 %306 to i64
%308 = getelementptr inbounds i32, i32* %36, i64 %307
store i32 %303, i32* %308
%309 = load i32*, i32** %24
%310 = load i32, i32* %309
%311 = load i32, i32* %7
%312 = mul nsw i32 %311, 16
%313 = add nsw i32 %312, 13
%314 = sext i32 %313 to i64
%315 = getelementptr inbounds i32, i32* %36, i64 %314
store i32 %310, i32* %315
%316 = load i32*, i32** %25
%317 = load i32, i32* %316
%318 = load i32, i32* %7
%319 = mul nsw i32 %318, 16
%320 = add nsw i32 %319, 14
%321 = sext i32 %320 to i64
%322 = getelementptr inbounds i32, i32* %36, i64 %321
store i32 %317, i32* %322
%323 = load i32*, i32** %26
%324 = load i32, i32* %323
%325 = load i32, i32* %7
%326 = mul nsw i32 %325, 16
%327 = add nsw i32 %326, 15
%328 = sext i32 %327 to i64
%329 = getelementptr inbounds i32, i32* %36, i64 %328
store i32 %324, i32* %329
%330 = load i32*, i32** %11
%331 = load i32*, i32** %12
%332 = load i32*, i32** %13
%333 = load i32*, i32** %14
%334 = load i32*, i32** %23
%335 = load i32*, i32** %24
%336 = load i32*, i32** %25
%337 = load i32*, i32** %26
%338 = load i32, i32* %6
%339 = call i32 @xor_salsa_sidm(i32* %330, i32* %331, i32* %332, i32* %333, i32* %334, i32* %335, i32* %336, i32* %337, i32 %338)
%340 = load i32*, i32** %15
%341 = load i32*, i32** %16
%342 = load i32*, i32** %17
%343 = load i32*, i32** %18
%344 = load i32*, i32** %11
%345 = load i32*, i32** %12
%346 = load i32*, i32** %13
%347 = load i32*, i32** %14
%348 = load i32, i32* %6
%349 = call i32 @xor_salsa_sidm(i32* %340, i32* %341, i32* %342, i32* %343, i32* %344, i32* %345, i32* %346, i32* %347, i32 %348)
%350 = load i32*, i32** %19
%351 = load i32*, i32** %20
%352 = load i32*, i32** %21
%353 = load i32*, i32** %22
%354 = load i32*, i32** %15
%355 = load i32*, i32** %16
%356 = load i32*, i32** %17
%357 = load i32*, i32** %18
%358 = load i32, i32* %6
%359 = call i32 @xor_salsa_sidm_swap(i32* %350, i32* %351, i32* %352, i32* %353, i32* %354, i32* %355, i32* %356, i32* %357, i32 %358)
%360 = load i32*, i32** %23
%361 = load i32*, i32** %24
%362 = load i32*, i32** %25
%363 = load i32*, i32** %26
%364 = load i32*, i32** %15
%365 = load i32*, i32** %16
%366 = load i32*, i32** %17
%367 = load i32*, i32** %18
%368 = load i32, i32* %6
%369 = call i32 @xor_salsa_sidm(i32* %360, i32* %361, i32* %362, i32* %363, i32* %364, i32* %365, i32* %366, i32* %367, i32 %368)
br label %370
370: ; preds = %217
%371 = load i32, i32* %7
%372 = add nsw i32 %371, 1
store i32 %372, i32* %7
br label %213
373: ; preds = %213
store i32 0, i32* %7
br label %374
374: ; preds = %569, %373
%375 = load i32, i32* %7
%376 = load i32, i32* %5
%377 = icmp slt i32 %375, %376
br i1 %377, label %378, label %572
378: ; preds = %374
%379 = load i32*, i32** %23
%380 = load i32, i32* %379
%381 = call i32 @_mm_extract_epi16(i32 %380, i32 0)
%382 = load i32, i32* %5
%383 = sub nsw i32 %382, 1
%384 = and i32 %381, %383
%385 = mul nsw i32 16, %384
store i32 %385, i32* %8
%386 = load i32*, i32** %11
%387 = load i32, i32* %386
%388 = load i32, i32* %8
%389 = sext i32 %388 to i64
%390 = getelementptr inbounds i32, i32* %36, i64 %389
%391 = load i32, i32* %390
%392 = call i32 @_mm_xor_si128(i32 %387, i32 %391)
%393 = load i32*, i32** %11
store i32 %392, i32* %393
%394 = load i32*, i32** %12
%395 = load i32, i32* %394
%396 = load i32, i32* %8
%397 = add nsw i32 %396, 1
%398 = sext i32 %397 to i64
%399 = getelementptr inbounds i32, i32* %36, i64 %398
%400 = load i32, i32* %399
%401 = call i32 @_mm_xor_si128(i32 %395, i32 %400)
%402 = load i32*, i32** %12
store i32 %401, i32* %402
%403 = load i32*, i32** %13
%404 = load i32, i32* %403
%405 = load i32, i32* %8
%406 = add nsw i32 %405, 2
%407 = sext i32 %406 to i64
%408 = getelementptr inbounds i32, i32* %36, i64 %407
%409 = load i32, i32* %408
%410 = call i32 @_mm_xor_si128(i32 %404, i32 %409)
%411 = load i32*, i32** %13
store i32 %410, i32* %411
%412 = load i32*, i32** %14
%413 = load i32, i32* %412
%414 = load i32, i32* %8
%415 = add nsw i32 %414, 3
%416 = sext i32 %415 to i64
%417 = getelementptr inbounds i32, i32* %36, i64 %416
%418 = load i32, i32* %417
%419 = call i32 @_mm_xor_si128(i32 %413, i32 %418)
%420 = load i32*, i32** %14
store i32 %419, i32* %420
%421 = load i32*, i32** %15
%422 = load i32, i32* %421
%423 = load i32, i32* %8
%424 = add nsw i32 %423, 4
%425 = sext i32 %424 to i64
%426 = getelementptr inbounds i32, i32* %36, i64 %425
%427 = load i32, i32* %426
%428 = call i32 @_mm_xor_si128(i32 %422, i32 %427)
%429 = load i32*, i32** %15
store i32 %428, i32* %429
%430 = load i32*, i32** %16
%431 = load i32, i32* %430
%432 = load i32, i32* %8
%433 = add nsw i32 %432, 5
%434 = sext i32 %433 to i64
%435 = getelementptr inbounds i32, i32* %36, i64 %434
%436 = load i32, i32* %435
%437 = call i32 @_mm_xor_si128(i32 %431, i32 %436)
%438 = load i32*, i32** %16
store i32 %437, i32* %438
%439 = load i32*, i32** %17
%440 = load i32, i32* %439
%441 = load i32, i32* %8
%442 = add nsw i32 %441, 6
%443 = sext i32 %442 to i64
%444 = getelementptr inbounds i32, i32* %36, i64 %443
%445 = load i32, i32* %444
%446 = call i32 @_mm_xor_si128(i32 %440, i32 %445)
%447 = load i32*, i32** %17
store i32 %446, i32* %447
%448 = load i32*, i32** %18
%449 = load i32, i32* %448
%450 = load i32, i32* %8
%451 = add nsw i32 %450, 7
%452 = sext i32 %451 to i64
%453 = getelementptr inbounds i32, i32* %36, i64 %452
%454 = load i32, i32* %453
%455 = call i32 @_mm_xor_si128(i32 %449, i32 %454)
%456 = load i32*, i32** %18
store i32 %455, i32* %456
%457 = load i32*, i32** %19
%458 = load i32, i32* %457
%459 = load i32, i32* %8
%460 = add nsw i32 %459, 8
%461 = sext i32 %460 to i64
%462 = getelementptr inbounds i32, i32* %36, i64 %461
%463 = load i32, i32* %462
%464 = call i32 @_mm_xor_si128(i32 %458, i32 %463)
%465 = load i32*, i32** %19
store i32 %464, i32* %465
%466 = load i32*, i32** %20
%467 = load i32, i32* %466
%468 = load i32, i32* %8
%469 = add nsw i32 %468, 9
%470 = sext i32 %469 to i64
%471 = getelementptr inbounds i32, i32* %36, i64 %470
%472 = load i32, i32* %471
%473 = call i32 @_mm_xor_si128(i32 %467, i32 %472)
%474 = load i32*, i32** %20
store i32 %473, i32* %474
%475 = load i32*, i32** %21
%476 = load i32, i32* %475
%477 = load i32, i32* %8
%478 = add nsw i32 %477, 10
%479 = sext i32 %478 to i64
%480 = getelementptr inbounds i32, i32* %36, i64 %479
%481 = load i32, i32* %480
%482 = call i32 @_mm_xor_si128(i32 %476, i32 %481)
%483 = load i32*, i32** %21
store i32 %482, i32* %483
%484 = load i32*, i32** %22
%485 = load i32, i32* %484
%486 = load i32, i32* %8
%487 = add nsw i32 %486, 11
%488 = sext i32 %487 to i64
%489 = getelementptr inbounds i32, i32* %36, i64 %488
%490 = load i32, i32* %489
%491 = call i32 @_mm_xor_si128(i32 %485, i32 %490)
%492 = load i32*, i32** %22
store i32 %491, i32* %492
%493 = load i32*, i32** %23
%494 = load i32, i32* %493
%495 = load i32, i32* %8
%496 = add nsw i32 %495, 12
%497 = sext i32 %496 to i64
%498 = getelementptr inbounds i32, i32* %36, i64 %497
%499 = load i32, i32* %498
%500 = call i32 @_mm_xor_si128(i32 %494, i32 %499)
%501 = load i32*, i32** %23
store i32 %500, i32* %501
%502 = load i32*, i32** %24
%503 = load i32, i32* %502
%504 = load i32, i32* %8
%505 = add nsw i32 %504, 13
%506 = sext i32 %505 to i64
%507 = getelementptr inbounds i32, i32* %36, i64 %506
%508 = load i32, i32* %507
%509 = call i32 @_mm_xor_si128(i32 %503, i32 %508)
%510 = load i32*, i32** %24
store i32 %509, i32* %510
%511 = load i32*, i32** %25
%512 = load i32, i32* %511
%513 = load i32, i32* %8
%514 = add nsw i32 %513, 14
%515 = sext i32 %514 to i64
%516 = getelementptr inbounds i32, i32* %36, i64 %515
%517 = load i32, i32* %516
%518 = call i32 @_mm_xor_si128(i32 %512, i32 %517)
%519 = load i32*, i32** %25
store i32 %518, i32* %519
%520 = load i32*, i32** %26
%521 = load i32, i32* %520
%522 = load i32, i32* %8
%523 = add nsw i32 %522, 15
%524 = sext i32 %523 to i64
%525 = getelementptr inbounds i32, i32* %36, i64 %524
%526 = load i32, i32* %525
%527 = call i32 @_mm_xor_si128(i32 %521, i32 %526)
%528 = load i32*, i32** %26
store i32 %527, i32* %528
%529 = load i32*, i32** %11
%530 = load i32*, i32** %12
%531 = load i32*, i32** %13
%532 = load i32*, i32** %14
%533 = load i32*, i32** %23
%534 = load i32*, i32** %24
%535 = load i32*, i32** %25
%536 = load i32*, i32** %26
%537 = load i32, i32* %6
%538 = call i32 @xor_salsa_sidm(i32* %529, i32* %530, i32* %531, i32* %532, i32* %533, i32* %534, i32* %535, i32* %536, i32 %537)
%539 = load i32*, i32** %15
%540 = load i32*, i32** %16
%541 = load i32*, i32** %17
%542 = load i32*, i32** %18
%543 = load i32*, i32** %11
%544 = load i32*, i32** %12
%545 = load i32*, i32** %13
%546 = load i32*, i32** %14
%547 = load i32, i32* %6
%548 = call i32 @xor_salsa_sidm(i32* %539, i32* %540, i32* %541, i32* %542, i32* %543, i32* %544, i32* %545, i32* %546, i32 %547)
%549 = load i32*, i32** %19
%550 = load i32*, i32** %20
%551 = load i32*, i32** %21
%552 = load i32*, i32** %22
%553 = load i32*, i32** %15
%554 = load i32*, i32** %16
%555 = load i32*, i32** %17
%556 = load i32*, i32** %18
%557 = load i32, i32* %6
%558 = call i32 @xor_salsa_sidm_swap(i32* %549, i32* %550, i32* %551, i32* %552, i32* %553, i32* %554, i32* %555, i32* %556, i32 %557)
%559 = load i32*, i32** %23
%560 = load i32*, i32** %24
%561 = load i32*, i32** %25
%562 = load i32*, i32** %26
%563 = load i32*, i32** %15
%564 = load i32*, i32** %16
%565 = load i32*, i32** %17
%566 = load i32*, i32** %18
%567 = load i32, i32* %6
%568 = call i32 @xor_salsa_sidm(i32* %559, i32* %560, i32* %561, i32* %562, i32* %563, i32* %564, i32* %565, i32* %566, i32 %567)
br label %569
569: ; preds = %378
%570 = load i32, i32* %7
%571 = add nsw i32 %570, 1
store i32 %571, i32* %7
br label %374
572: ; preds = %374
%573 = load i32*, i32** %23
%574 = load i32, i32* %573
%575 = load i32*, i32** %25
%576 = load i32, i32* %575
%577 = call i32 @_mm_blend_epi16(i32 %574, i32 %576, i32 240)
store i32 %577, i32* %27
%578 = load i32*, i32** %24
%579 = load i32, i32* %578
%580 = load i32*, i32** %26
%581 = load i32, i32* %580
%582 = call i32 @_mm_blend_epi16(i32 %579, i32 %581, i32 15)
store i32 %582, i32* %28
%583 = load i32*, i32** %25
%584 = load i32, i32* %583
%585 = load i32*, i32** %23
%586 = load i32, i32* %585
%587 = call i32 @_mm_blend_epi16(i32 %584, i32 %586, i32 240)
store i32 %587, i32* %29
%588 = load i32*, i32** %26
%589 = load i32, i32* %588
%590 = load i32*, i32** %24
%591 = load i32, i32* %590
%592 = call i32 @_mm_blend_epi16(i32 %589, i32 %591, i32 15)
store i32 %592, i32* %30
%593 = load i32, i32* %27
%594 = load i32, i32* %30
%595 = call i32 @_mm_blend_epi16(i32 %593, i32 %594, i32 204)
%596 = load i32*, i32** %23
store i32 %595, i32* %596
%597 = load i32, i32* %28
%598 = load i32, i32* %27
%599 = call i32 @_mm_blend_epi16(i32 %597, i32 %598, i32 204)
%600 = load i32*, i32** %24
store i32 %599, i32* %600
%601 = load i32, i32* %29
%602 = load i32, i32* %28
%603 = call i32 @_mm_blend_epi16(i32 %601, i32 %602, i32 204)
%604 = load i32*, i32** %25
store i32 %603, i32* %604
%605 = load i32, i32* %30
%606 = load i32, i32* %29
%607 = call i32 @_mm_blend_epi16(i32 %605, i32 %606, i32 204)
%608 = load i32*, i32** %26
store i32 %607, i32* %608
%609 = load i32*, i32** %19
%610 = load i32, i32* %609
%611 = load i32*, i32** %21
%612 = load i32, i32* %611
%613 = call i32 @_mm_blend_epi16(i32 %610, i32 %612, i32 240)
store i32 %613, i32* %27
%614 = load i32*, i32** %20
%615 = load i32, i32* %614
%616 = load i32*, i32** %22
%617 = load i32, i32* %616
%618 = call i32 @_mm_blend_epi16(i32 %615, i32 %617, i32 15)
store i32 %618, i32* %28
%619 = load i32*, i32** %21
%620 = load i32, i32* %619
%621 = load i32*, i32** %19
%622 = load i32, i32* %621
%623 = call i32 @_mm_blend_epi16(i32 %620, i32 %622, i32 240)
store i32 %623, i32* %29
%624 = load i32*, i32** %22
%625 = load i32, i32* %624
%626 = load i32*, i32** %20
%627 = load i32, i32* %626
%628 = call i32 @_mm_blend_epi16(i32 %625, i32 %627, i32 15)
store i32 %628, i32* %30
%629 = load i32, i32* %27
%630 = load i32, i32* %30
%631 = call i32 @_mm_blend_epi16(i32 %629, i32 %630, i32 204)
%632 = load i32*, i32** %19
store i32 %631, i32* %632
%633 = load i32, i32* %28
%634 = load i32, i32* %27
%635 = call i32 @_mm_blend_epi16(i32 %633, i32 %634, i32 204)
%636 = load i32*, i32** %20
store i32 %635, i32* %636
%637 = load i32, i32* %29
%638 = load i32, i32* %28
%639 = call i32 @_mm_blend_epi16(i32 %637, i32 %638, i32 204)
%640 = load i32*, i32** %21
store i32 %639, i32* %640
%641 = load i32, i32* %30
%642 = load i32, i32* %29
%643 = call i32 @_mm_blend_epi16(i32 %641, i32 %642, i32 204)
%644 = load i32*, i32** %22
store i32 %643, i32* %644
%645 = load i32*, i32** %15
%646 = load i32, i32* %645
%647 = load i32*, i32** %17
%648 = load i32, i32* %647
%649 = call i32 @_mm_blend_epi16(i32 %646, i32 %648, i32 240)
store i32 %649, i32* %27
%650 = load i32*, i32** %16
%651 = load i32, i32* %650
%652 = load i32*, i32** %18
%653 = load i32, i32* %652
%654 = call i32 @_mm_blend_epi16(i32 %651, i32 %653, i32 15)
store i32 %654, i32* %28
%655 = load i32*, i32** %17
%656 = load i32, i32* %655
%657 = load i32*, i32** %15
%658 = load i32, i32* %657
%659 = call i32 @_mm_blend_epi16(i32 %656, i32 %658, i32 240)
store i32 %659, i32* %29
%660 = load i32*, i32** %18
%661 = load i32, i32* %660
%662 = load i32*, i32** %16
%663 = load i32, i32* %662
%664 = call i32 @_mm_blend_epi16(i32 %661, i32 %663, i32 15)
store i32 %664, i32* %30
%665 = load i32, i32* %27
%666 = load i32, i32* %30
%667 = call i32 @_mm_blend_epi16(i32 %665, i32 %666, i32 204)
%668 = load i32*, i32** %15
store i32 %667, i32* %668
%669 = load i32, i32* %28
%670 = load i32, i32* %27
%671 = call i32 @_mm_blend_epi16(i32 %669, i32 %670, i32 204)
%672 = load i32*, i32** %16
store i32 %671, i32* %672
%673 = load i32, i32* %29
%674 = load i32, i32* %28
%675 = call i32 @_mm_blend_epi16(i32 %673, i32 %674, i32 204)
%676 = load i32*, i32** %17
store i32 %675, i32* %676
%677 = load i32, i32* %30
%678 = load i32, i32* %29
%679 = call i32 @_mm_blend_epi16(i32 %677, i32 %678, i32 204)
%680 = load i32*, i32** %18
store i32 %679, i32* %680
%681 = load i32*, i32** %11
%682 = load i32, i32* %681
%683 = load i32*, i32** %13
%684 = load i32, i32* %683
%685 = call i32 @_mm_blend_epi16(i32 %682, i32 %684, i32 240)
store i32 %685, i32* %27
%686 = load i32*, i32** %12
%687 = load i32, i32* %686
%688 = load i32*, i32** %14
%689 = load i32, i32* %688
%690 = call i32 @_mm_blend_epi16(i32 %687, i32 %689, i32 15)
store i32 %690, i32* %28
%691 = load i32*, i32** %13
%692 = load i32, i32* %691
%693 = load i32*, i32** %11
%694 = load i32, i32* %693
%695 = call i32 @_mm_blend_epi16(i32 %692, i32 %694, i32 240)
store i32 %695, i32* %29
%696 = load i32*, i32** %14
%697 = load i32, i32* %696
%698 = load i32*, i32** %12
%699 = load i32, i32* %698
%700 = call i32 @_mm_blend_epi16(i32 %697, i32 %699, i32 15)
store i32 %700, i32* %30
%701 = load i32, i32* %27
%702 = load i32, i32* %30
%703 = call i32 @_mm_blend_epi16(i32 %701, i32 %702, i32 204)
%704 = load i32*, i32** %11
store i32 %703, i32* %704
%705 = load i32, i32* %28
%706 = load i32, i32* %27
%707 = call i32 @_mm_blend_epi16(i32 %705, i32 %706, i32 204)
%708 = load i32*, i32** %12
store i32 %707, i32* %708
%709 = load i32, i32* %29
%710 = load i32, i32* %28
%711 = call i32 @_mm_blend_epi16(i32 %709, i32 %710, i32 204)
%712 = load i32*, i32** %13
store i32 %711, i32* %712
%713 = load i32, i32* %30
%714 = load i32, i32* %29
%715 = call i32 @_mm_blend_epi16(i32 %713, i32 %714, i32 204)
%716 = load i32*, i32** %14
store i32 %715, i32* %716
%717 = load i8*, i8** %9
ret void
}

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