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

/* Variables and functions */
int /*<<< orphan*/ _mm_andnot_si128(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_cmpeq_epi16(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_min_epi16(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_mullo_epi16(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_packus_epi16(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_set1_epi16(int);
int /*<<< orphan*/ _mm_setzero_si128();
int /*<<< orphan*/ _mm_srli_epi16(int /*<<< orphan*/, int);
int /*<<< orphan*/ _mm_subs_epu16(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_unpackhi_epi8(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_unpacklo_epi8(int /*<<< orphan*/, int /*<<< orphan*/);
__m128i _mm_div_epu8(__m128i x, uint8_t d) {
  uint8_t n = (d >= 128)  ? 15
              : (d >= 64) ? 14
              : (d >= 32) ? 13
              : (d >= 16) ? 12
              : (d >= 8)  ? 11
              : (d >= 4)  ? 10
              : (d >= 2)  ? 9
                          : 8;
  __m128i inv = _mm_set1_epi16((1 << n) / d + 1);
  __m128i xlo = _mm_unpacklo_epi8(x, _mm_setzero_si128());
  __m128i xhi = _mm_unpackhi_epi8(x, _mm_setzero_si128());
  __m128i alo = _mm_srli_epi16(_mm_mullo_epi16(xlo, inv), n);
  __m128i ahi = _mm_srli_epi16(_mm_mullo_epi16(xhi, inv), n);
  __m128i blo = _mm_subs_epu16(alo, _mm_set1_epi16(1));
  __m128i bhi = _mm_subs_epu16(ahi, _mm_set1_epi16(1));
  __m128i mdd = _mm_set1_epi16(d);
  __m128i plo = _mm_mullo_epi16(blo, mdd);
  __m128i phi = _mm_mullo_epi16(bhi, mdd);
  __m128i masklo =
      _mm_cmpeq_epi16(_mm_min_epi16(_mm_subs_epu16(xlo, plo), mdd), mdd);
  __m128i maskhi =
      _mm_cmpeq_epi16(_mm_min_epi16(_mm_subs_epu16(xhi, phi), mdd), mdd);
  alo = _mm_subs_epu16(alo, _mm_andnot_si128(masklo, _mm_set1_epi16(1)));
  ahi = _mm_subs_epu16(ahi, _mm_andnot_si128(maskhi, _mm_set1_epi16(1)));
  return _mm_packus_epi16(alo, ahi);
}


x86 assembly (clang, -O0):
<_mm_div_epu8>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
cmpl   $0x80,-0x8(%rbp)
jl     11db <_mm_div_epu8+0x2b>
mov    $0xf,%eax
mov    %eax,-0x40(%rbp)
jmp    1282 <_mm_div_epu8+0xd2>
cmpl   $0x40,-0x8(%rbp)
jl     11f2 <_mm_div_epu8+0x42>
mov    $0xe,%eax
mov    %eax,-0x44(%rbp)
jmp    127c <_mm_div_epu8+0xcc>
cmpl   $0x20,-0x8(%rbp)
jl     1209 <_mm_div_epu8+0x59>
mov    $0xd,%eax
mov    %eax,-0x48(%rbp)
jmp    1276 <_mm_div_epu8+0xc6>
cmpl   $0x10,-0x8(%rbp)
jl     1220 <_mm_div_epu8+0x70>
mov    $0xc,%eax
mov    %eax,-0x4c(%rbp)
jmp    1270 <_mm_div_epu8+0xc0>
cmpl   $0x8,-0x8(%rbp)
jl     1237 <_mm_div_epu8+0x87>
mov    $0xb,%eax
mov    %eax,-0x50(%rbp)
jmp    126a <_mm_div_epu8+0xba>
cmpl   $0x4,-0x8(%rbp)
jl     124e <_mm_div_epu8+0x9e>
mov    $0xa,%eax
mov    %eax,-0x54(%rbp)
jmp    1264 <_mm_div_epu8+0xb4>
mov    -0x8(%rbp),%edx
mov    $0x8,%eax
mov    $0x9,%ecx
cmp    $0x2,%edx
cmovge %ecx,%eax
mov    %eax,-0x54(%rbp)
mov    -0x54(%rbp),%eax
mov    %eax,-0x50(%rbp)
mov    -0x50(%rbp),%eax
mov    %eax,-0x4c(%rbp)
mov    -0x4c(%rbp),%eax
mov    %eax,-0x48(%rbp)
mov    -0x48(%rbp),%eax
mov    %eax,-0x44(%rbp)
mov    -0x44(%rbp),%eax
mov    %eax,-0x40(%rbp)
mov    -0x40(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    -0xc(%rbp),%ecx
mov    $0x1,%eax
shl    %cl,%eax
cltd
idivl  -0x8(%rbp)
mov    %eax,%edi
add    $0x1,%edi
call   1080 <_mm_set1_epi16@plt>
mov    %eax,-0x10(%rbp)
mov    -0x4(%rbp),%eax
mov    %eax,-0x74(%rbp)
mov    $0x0,%al
call   1060 <_mm_setzero_si128@plt>
mov    -0x74(%rbp),%edi
mov    %eax,%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,-0x14(%rbp)
mov    -0x4(%rbp),%eax
mov    %eax,-0x70(%rbp)
mov    $0x0,%al
call   1060 <_mm_setzero_si128@plt>
mov    -0x70(%rbp),%edi
mov    %eax,%esi
call   1040 <_mm_unpackhi_epi8@plt>
mov    %eax,-0x18(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x10(%rbp),%esi
call   10a0 <_mm_mullo_epi16@plt>
mov    %eax,%edi
mov    -0xc(%rbp),%esi
call   1070 <_mm_srli_epi16@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x18(%rbp),%edi
mov    -0x10(%rbp),%esi
call   10a0 <_mm_mullo_epi16@plt>
mov    %eax,%edi
mov    -0xc(%rbp),%esi
call   1070 <_mm_srli_epi16@plt>
mov    %eax,-0x20(%rbp)
mov    -0x1c(%rbp),%eax
mov    %eax,-0x6c(%rbp)
mov    $0x1,%edi
call   1080 <_mm_set1_epi16@plt>
mov    -0x6c(%rbp),%edi
mov    %eax,%esi
call   1090 <_mm_subs_epu16@plt>
mov    %eax,-0x24(%rbp)
mov    -0x20(%rbp),%eax
mov    %eax,-0x68(%rbp)
mov    $0x1,%edi
call   1080 <_mm_set1_epi16@plt>
mov    -0x68(%rbp),%edi
mov    %eax,%esi
call   1090 <_mm_subs_epu16@plt>
mov    %eax,-0x28(%rbp)
mov    -0x8(%rbp),%edi
call   1080 <_mm_set1_epi16@plt>
mov    %eax,-0x2c(%rbp)
mov    -0x24(%rbp),%edi
mov    -0x2c(%rbp),%esi
call   10a0 <_mm_mullo_epi16@plt>
mov    %eax,-0x30(%rbp)
mov    -0x28(%rbp),%edi
mov    -0x2c(%rbp),%esi
call   10a0 <_mm_mullo_epi16@plt>
mov    %eax,-0x34(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x30(%rbp),%esi
call   1090 <_mm_subs_epu16@plt>
mov    %eax,%edi
mov    -0x2c(%rbp),%esi
call   10d0 <_mm_min_epi16@plt>
mov    %eax,%edi
mov    -0x2c(%rbp),%esi
call   10b0 <_mm_cmpeq_epi16@plt>
mov    %eax,-0x38(%rbp)
mov    -0x18(%rbp),%edi
mov    -0x34(%rbp),%esi
call   1090 <_mm_subs_epu16@plt>
mov    %eax,%edi
mov    -0x2c(%rbp),%esi
call   10d0 <_mm_min_epi16@plt>
mov    %eax,%edi
mov    -0x2c(%rbp),%esi
call   10b0 <_mm_cmpeq_epi16@plt>
mov    %eax,-0x3c(%rbp)
mov    -0x1c(%rbp),%eax
mov    %eax,-0x60(%rbp)
mov    -0x38(%rbp),%eax
mov    %eax,-0x64(%rbp)
mov    $0x1,%edi
call   1080 <_mm_set1_epi16@plt>
mov    -0x64(%rbp),%edi
mov    %eax,%esi
call   10c0 <_mm_andnot_si128@plt>
mov    -0x60(%rbp),%edi
mov    %eax,%esi
call   1090 <_mm_subs_epu16@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x20(%rbp),%eax
mov    %eax,-0x58(%rbp)
mov    -0x3c(%rbp),%eax
mov    %eax,-0x5c(%rbp)
mov    $0x1,%edi
call   1080 <_mm_set1_epi16@plt>
mov    -0x5c(%rbp),%edi
mov    %eax,%esi
call   10c0 <_mm_andnot_si128@plt>
mov    -0x58(%rbp),%edi
mov    %eax,%esi
call   1090 <_mm_subs_epu16@plt>
mov    %eax,-0x20(%rbp)
mov    -0x1c(%rbp),%edi
mov    -0x20(%rbp),%esi
call   1050 <_mm_packus_epi16@plt>
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<_mm_div_epu8>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %esi,%r12d
mov    %edi,%ebx
mov    $0xf,%r14d
cmp    $0x7f,%esi
jg     1216 <_mm_div_epu8+0x66>
mov    $0xe,%r14d
cmp    $0x3f,%r12d
jg     1216 <_mm_div_epu8+0x66>
mov    $0xd,%r14d
cmp    $0x1f,%r12d
jg     1216 <_mm_div_epu8+0x66>
mov    $0xc,%r14d
cmp    $0xf,%r12d
jg     1216 <_mm_div_epu8+0x66>
mov    $0xb,%r14d
cmp    $0x7,%r12d
jg     1216 <_mm_div_epu8+0x66>
mov    $0xa,%r14d
cmp    $0x3,%r12d
jg     1216 <_mm_div_epu8+0x66>
xor    %r14d,%r14d
cmp    $0x2,%r12d
setge  %r14b
or     $0x8,%r14d
mov    $0x1,%eax
mov    %r14d,%ecx
shl    %cl,%eax
xor    %edx,%edx
idiv   %r12d
lea    0x1(%rax),%edi
call   1080 <_mm_set1_epi16@plt>
mov    %eax,%r15d
xor    %eax,%eax
call   1060 <_mm_setzero_si128@plt>
mov    %ebx,%edi
mov    %eax,%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,%r13d
xor    %eax,%eax
call   1060 <_mm_setzero_si128@plt>
mov    %ebx,%edi
mov    %eax,%esi
call   1040 <_mm_unpackhi_epi8@plt>
mov    %eax,%ebx
mov    %eax,(%rsp)
mov    %r13d,%edi
mov    %r15d,%esi
call   10a0 <_mm_mullo_epi16@plt>
mov    %eax,%edi
mov    %r14d,%esi
call   1070 <_mm_srli_epi16@plt>
mov    %eax,%ebp
mov    %eax,0x4(%rsp)
mov    %ebx,%edi
mov    %r15d,%esi
call   10a0 <_mm_mullo_epi16@plt>
mov    %eax,%edi
mov    %r14d,%esi
call   1070 <_mm_srli_epi16@plt>
mov    %eax,%r14d
mov    $0x1,%edi
call   1080 <_mm_set1_epi16@plt>
mov    %ebp,%edi
mov    %eax,%esi
call   1090 <_mm_subs_epu16@plt>
mov    %eax,%ebp
mov    $0x1,%edi
call   1080 <_mm_set1_epi16@plt>
mov    %r14d,%edi
mov    %eax,%esi
call   1090 <_mm_subs_epu16@plt>
mov    %eax,%r15d
mov    %r12d,%edi
call   1080 <_mm_set1_epi16@plt>
mov    %eax,%ebx
mov    %ebp,%edi
mov    %eax,%esi
call   10a0 <_mm_mullo_epi16@plt>
mov    %eax,%ebp
mov    %r15d,%edi
mov    %ebx,%esi
call   10a0 <_mm_mullo_epi16@plt>
mov    %eax,%r15d
mov    %r13d,%edi
mov    %ebp,%esi
call   1090 <_mm_subs_epu16@plt>
mov    %eax,%edi
mov    %ebx,%esi
call   10d0 <_mm_min_epi16@plt>
mov    %eax,%edi
mov    %ebx,%esi
call   10b0 <_mm_cmpeq_epi16@plt>
mov    %eax,%ebp
mov    (%rsp),%edi
mov    %r15d,%esi
call   1090 <_mm_subs_epu16@plt>
mov    %eax,%edi
mov    %ebx,%esi
call   10d0 <_mm_min_epi16@plt>
mov    %eax,%edi
mov    %ebx,%esi
call   10b0 <_mm_cmpeq_epi16@plt>
mov    %eax,%ebx
mov    $0x1,%edi
call   1080 <_mm_set1_epi16@plt>
mov    %ebp,%edi
mov    %eax,%esi
call   10c0 <_mm_andnot_si128@plt>
mov    0x4(%rsp),%edi
mov    %eax,%esi
call   1090 <_mm_subs_epu16@plt>
mov    %eax,%ebp
mov    $0x1,%edi
call   1080 <_mm_set1_epi16@plt>
mov    %ebx,%edi
mov    %eax,%esi
call   10c0 <_mm_andnot_si128@plt>
mov    %r14d,%edi
mov    %eax,%esi
call   1090 <_mm_subs_epu16@plt>
mov    %ebp,%edi
mov    %eax,%esi
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1050 <_mm_packus_epi16@plt>

LLVM IR (-O0):
define i32 @_mm_div_epu8(i32 %0, i32 %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
store i32 %0, i32* %3
store i32 %1, i32* %4
%18 = load i32, i32* %4
%19 = icmp sge i32 %18, 128
br i1 %19, label %20, label %21
20: ; preds = %2
br label %56
21: ; preds = %2
%22 = load i32, i32* %4
%23 = icmp sge i32 %22, 64
br i1 %23, label %24, label %25
24: ; preds = %21
br label %54
25: ; preds = %21
%26 = load i32, i32* %4
%27 = icmp sge i32 %26, 32
br i1 %27, label %28, label %29
28: ; preds = %25
br label %52
29: ; preds = %25
%30 = load i32, i32* %4
%31 = icmp sge i32 %30, 16
br i1 %31, label %32, label %33
32: ; preds = %29
br label %50
33: ; preds = %29
%34 = load i32, i32* %4
%35 = icmp sge i32 %34, 8
br i1 %35, label %36, label %37
36: ; preds = %33
br label %48
37: ; preds = %33
%38 = load i32, i32* %4
%39 = icmp sge i32 %38, 4
br i1 %39, label %40, label %41
40: ; preds = %37
br label %46
41: ; preds = %37
%42 = load i32, i32* %4
%43 = icmp sge i32 %42, 2
%44 = zext i1 %43 to i64
%45 = select i1 %43, i32 9, i32 8
br label %46
46: ; preds = %41, %40
%47 = phi i32 [ 10, %40 ], [ %45, %41 ]
br label %48
48: ; preds = %46, %36
%49 = phi i32 [ 11, %36 ], [ %47, %46 ]
br label %50
50: ; preds = %48, %32
%51 = phi i32 [ 12, %32 ], [ %49, %48 ]
br label %52
52: ; preds = %50, %28
%53 = phi i32 [ 13, %28 ], [ %51, %50 ]
br label %54
54: ; preds = %52, %24
%55 = phi i32 [ 14, %24 ], [ %53, %52 ]
br label %56
56: ; preds = %54, %20
%57 = phi i32 [ 15, %20 ], [ %55, %54 ]
store i32 %57, i32* %5
%58 = load i32, i32* %5
%59 = shl i32 1, %58
%60 = load i32, i32* %4
%61 = sdiv i32 %59, %60
%62 = add nsw i32 %61, 1
%63 = call i32 @_mm_set1_epi16(i32 %62)
store i32 %63, i32* %6
%64 = load i32, i32* %3
%65 = call i32 (...) @_mm_setzero_si128()
%66 = call i32 @_mm_unpacklo_epi8(i32 %64, i32 %65)
store i32 %66, i32* %7
%67 = load i32, i32* %3
%68 = call i32 (...) @_mm_setzero_si128()
%69 = call i32 @_mm_unpackhi_epi8(i32 %67, i32 %68)
store i32 %69, i32* %8
%70 = load i32, i32* %7
%71 = load i32, i32* %6
%72 = call i32 @_mm_mullo_epi16(i32 %70, i32 %71)
%73 = load i32, i32* %5
%74 = call i32 @_mm_srli_epi16(i32 %72, i32 %73)
store i32 %74, i32* %9
%75 = load i32, i32* %8
%76 = load i32, i32* %6
%77 = call i32 @_mm_mullo_epi16(i32 %75, i32 %76)
%78 = load i32, i32* %5
%79 = call i32 @_mm_srli_epi16(i32 %77, i32 %78)
store i32 %79, i32* %10
%80 = load i32, i32* %9
%81 = call i32 @_mm_set1_epi16(i32 1)
%82 = call i32 @_mm_subs_epu16(i32 %80, i32 %81)
store i32 %82, i32* %11
%83 = load i32, i32* %10
%84 = call i32 @_mm_set1_epi16(i32 1)
%85 = call i32 @_mm_subs_epu16(i32 %83, i32 %84)
store i32 %85, i32* %12
%86 = load i32, i32* %4
%87 = call i32 @_mm_set1_epi16(i32 %86)
store i32 %87, i32* %13
%88 = load i32, i32* %11
%89 = load i32, i32* %13
%90 = call i32 @_mm_mullo_epi16(i32 %88, i32 %89)
store i32 %90, i32* %14
%91 = load i32, i32* %12
%92 = load i32, i32* %13
%93 = call i32 @_mm_mullo_epi16(i32 %91, i32 %92)
store i32 %93, i32* %15
%94 = load i32, i32* %7
%95 = load i32, i32* %14
%96 = call i32 @_mm_subs_epu16(i32 %94, i32 %95)
%97 = load i32, i32* %13
%98 = call i32 @_mm_min_epi16(i32 %96, i32 %97)
%99 = load i32, i32* %13
%100 = call i32 @_mm_cmpeq_epi16(i32 %98, i32 %99)
store i32 %100, i32* %16
%101 = load i32, i32* %8
%102 = load i32, i32* %15
%103 = call i32 @_mm_subs_epu16(i32 %101, i32 %102)
%104 = load i32, i32* %13
%105 = call i32 @_mm_min_epi16(i32 %103, i32 %104)
%106 = load i32, i32* %13
%107 = call i32 @_mm_cmpeq_epi16(i32 %105, i32 %106)
store i32 %107, i32* %17
%108 = load i32, i32* %9
%109 = load i32, i32* %16
%110 = call i32 @_mm_set1_epi16(i32 1)
%111 = call i32 @_mm_andnot_si128(i32 %109, i32 %110)
%112 = call i32 @_mm_subs_epu16(i32 %108, i32 %111)
store i32 %112, i32* %9
%113 = load i32, i32* %10
%114 = load i32, i32* %17
%115 = call i32 @_mm_set1_epi16(i32 1)
%116 = call i32 @_mm_andnot_si128(i32 %114, i32 %115)
%117 = call i32 @_mm_subs_epu16(i32 %113, i32 %116)
store i32 %117, i32* %10
%118 = load i32, i32* %9
%119 = load i32, i32* %10
%120 = call i32 @_mm_packus_epi16(i32 %118, i32 %119)
ret i32 %120
}

LLVM IR (-O2):
define i32 @_mm_div_epu8(i32 %0, i32 %1) {
%3 = icmp sgt i32 %1, 127
br i1 %3, label %17, label %4
4: ; preds = %2
%5 = icmp sgt i32 %1, 63
br i1 %5, label %17, label %6
6: ; preds = %4
%7 = icmp sgt i32 %1, 31
br i1 %7, label %17, label %8
8: ; preds = %6
%9 = icmp sgt i32 %1, 15
br i1 %9, label %17, label %10
10: ; preds = %8
%11 = icmp sgt i32 %1, 7
br i1 %11, label %17, label %12
12: ; preds = %10
%13 = icmp sgt i32 %1, 3
br i1 %13, label %17, label %14
14: ; preds = %12
%15 = icmp sgt i32 %1, 1
%16 = select i1 %15, i32 9, i32 8
br label %17
17: ; preds = %4, %8, %14, %12, %10, %6, %2
%18 = phi i32 [ 15, %2 ], [ 14, %4 ], [ 13, %6 ], [ 12, %8 ], [ 11, %10 ], [ %16, %14 ], [ 10, %12 ]
%19 = shl nuw nsw i32 1, %18
%20 = sdiv i32 %19, %1
%21 = add nsw i32 %20, 1
%22 = tail call i32 @_mm_set1_epi16(i32 %21)
%23 = tail call i32 (...) @_mm_setzero_si128()
%24 = tail call i32 @_mm_unpacklo_epi8(i32 %0, i32 %23)
%25 = tail call i32 (...) @_mm_setzero_si128()
%26 = tail call i32 @_mm_unpackhi_epi8(i32 %0, i32 %25)
%27 = tail call i32 @_mm_mullo_epi16(i32 %24, i32 %22)
%28 = tail call i32 @_mm_srli_epi16(i32 %27, i32 %18)
%29 = tail call i32 @_mm_mullo_epi16(i32 %26, i32 %22)
%30 = tail call i32 @_mm_srli_epi16(i32 %29, i32 %18)
%31 = tail call i32 @_mm_set1_epi16(i32 1)
%32 = tail call i32 @_mm_subs_epu16(i32 %28, i32 %31)
%33 = tail call i32 @_mm_set1_epi16(i32 1)
%34 = tail call i32 @_mm_subs_epu16(i32 %30, i32 %33)
%35 = tail call i32 @_mm_set1_epi16(i32 %1)
%36 = tail call i32 @_mm_mullo_epi16(i32 %32, i32 %35)
%37 = tail call i32 @_mm_mullo_epi16(i32 %34, i32 %35)
%38 = tail call i32 @_mm_subs_epu16(i32 %24, i32 %36)
%39 = tail call i32 @_mm_min_epi16(i32 %38, i32 %35)
%40 = tail call i32 @_mm_cmpeq_epi16(i32 %39, i32 %35)
%41 = tail call i32 @_mm_subs_epu16(i32 %26, i32 %37)
%42 = tail call i32 @_mm_min_epi16(i32 %41, i32 %35)
%43 = tail call i32 @_mm_cmpeq_epi16(i32 %42, i32 %35)
%44 = tail call i32 @_mm_set1_epi16(i32 1)
%45 = tail call i32 @_mm_andnot_si128(i32 %40, i32 %44)
%46 = tail call i32 @_mm_subs_epu16(i32 %28, i32 %45)
%47 = tail call i32 @_mm_set1_epi16(i32 1)
%48 = tail call i32 @_mm_andnot_si128(i32 %43, i32 %47)
%49 = tail call i32 @_mm_subs_epu16(i32 %30, i32 %48)
%50 = tail call i32 @_mm_packus_epi16(i32 %46, i32 %49)
ret i32 %50
}