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

/* Forward declarations */

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

/* Variables and functions */
int /*<<< orphan*/ p264_mc_copy_w16_mmxext(int /*<<< orphan*/ *, int,
                                           int /*<<< orphan*/ *, int, int);
int /*<<< orphan*/ p264_mc_copy_w4_mmxext(int /*<<< orphan*/ *, int,
                                          int /*<<< orphan*/ *, int, int);
int /*<<< orphan*/ p264_mc_copy_w8_mmxext(int /*<<< orphan*/ *, int,
                                          int /*<<< orphan*/ *, int, int);
int /*<<< orphan*/ p264_pixel_avg_w16_mmxext(int /*<<< orphan*/ *, int,
                                             int /*<<< orphan*/ *, int,
                                             int /*<<< orphan*/ *, int, int);
int /*<<< orphan*/ p264_pixel_avg_w4_mmxext(int /*<<< orphan*/ *, int,
                                            int /*<<< orphan*/ *, int,
                                            int /*<<< orphan*/ *, int, int);
int /*<<< orphan*/ p264_pixel_avg_w8_mmxext(int /*<<< orphan*/ *, int,
                                            int /*<<< orphan*/ *, int,
                                            int /*<<< orphan*/ *, int, int);
void mc_luma_mmx(uint8_t *src[4], int i_src_stride, uint8_t *dst,
                 int i_dst_stride, int mvx, int mvy, int i_width,
                 int i_height) {
  uint8_t *src1, *src2;
  int correction = (mvx & 1) && (mvy & 1) && ((mvx & 2) ^ (mvy & 2));
  int hpel1x = mvx >> 1;
  int hpel1y = (mvy + 1 - correction) >> 1;
  int filter1 = (hpel1x & 1) + ((hpel1y & 1) << 1);
  src1 = src[filter1] + (hpel1y >> 1) * i_src_stride + (hpel1x >> 1);
  if ((mvx | mvy) & 1) {
    int hpel2x = (mvx + 1) >> 1;
    int hpel2y = (mvy + correction) >> 1;
    int filter2 = (hpel2x & 1) + ((hpel2y & 1) << 1);
    src2 = src[filter2] + (hpel2y >> 1) * i_src_stride + (hpel2x >> 1);
    switch (i_width) {
    case 4:
      p264_pixel_avg_w4_mmxext(dst, i_dst_stride, src1, i_src_stride, src2,
                               i_src_stride, i_height);
      break;
    case 8:
      p264_pixel_avg_w8_mmxext(dst, i_dst_stride, src1, i_src_stride, src2,
                               i_src_stride, i_height);
      break;
    case 16:
    default:
      p264_pixel_avg_w16_mmxext(dst, i_dst_stride, src1, i_src_stride, src2,
                                i_src_stride, i_height);
    }
  } else {
    switch (i_width) {
    case 4:
      p264_mc_copy_w4_mmxext(src1, i_src_stride, dst, i_dst_stride, i_height);
      break;
    case 8:
      p264_mc_copy_w8_mmxext(src1, i_src_stride, dst, i_dst_stride, i_height);
      break;
    case 16:
      p264_mc_copy_w16_mmxext(src1, i_src_stride, dst, i_dst_stride, i_height);
      break;
    }
  }
}


x86 assembly (clang, -O0):
<mc_luma_mmx>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
mov    0x18(%rbp),%eax
mov    0x10(%rbp),%eax
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %ecx,-0x1c(%rbp)
mov    %r8d,-0x20(%rbp)
mov    %r9d,-0x24(%rbp)
mov    -0x20(%rbp),%ecx
and    $0x1,%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x55(%rbp)
je     11c3 <mc_luma_mmx+0x63>
mov    -0x24(%rbp),%ecx
and    $0x1,%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x55(%rbp)
je     11c3 <mc_luma_mmx+0x63>
mov    -0x20(%rbp),%eax
and    $0x2,%eax
mov    -0x24(%rbp),%ecx
and    $0x2,%ecx
xor    %ecx,%eax
cmp    $0x0,%eax
setne  %al
mov    %al,-0x55(%rbp)
mov    -0x55(%rbp),%al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0x3c(%rbp)
mov    -0x20(%rbp),%eax
sar    $0x1,%eax
mov    %eax,-0x40(%rbp)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
sub    -0x3c(%rbp),%eax
sar    $0x1,%eax
mov    %eax,-0x44(%rbp)
mov    -0x40(%rbp),%eax
and    $0x1,%eax
mov    -0x44(%rbp),%ecx
and    $0x1,%ecx
shl    $0x1,%ecx
add    %ecx,%eax
mov    %eax,-0x48(%rbp)
mov    -0x8(%rbp),%rax
movslq -0x48(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x44(%rbp),%ecx
sar    $0x1,%ecx
imul   -0xc(%rbp),%ecx
movslq %ecx,%rcx
shl    $0x2,%rcx
add    %rcx,%rax
mov    -0x40(%rbp),%ecx
sar    $0x1,%ecx
movslq %ecx,%rcx
shl    $0x2,%rcx
add    %rcx,%rax
mov    %rax,-0x30(%rbp)
mov    -0x20(%rbp),%eax
or     -0x24(%rbp),%eax
and    $0x1,%eax
cmp    $0x0,%eax
je     1349 <mc_luma_mmx+0x1e9>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
sar    %eax
mov    %eax,-0x4c(%rbp)
mov    -0x24(%rbp),%eax
mov    -0x3c(%rbp),%ecx
add    %ecx,%eax
sar    %eax
mov    %eax,-0x50(%rbp)
mov    -0x4c(%rbp),%edx
and    $0x1,%edx
mov    -0x50(%rbp),%eax
and    $0x1,%eax
mov    %eax,%ecx
mov    %edx,%eax
lea    (%rax,%rcx,2),%eax
mov    %eax,-0x54(%rbp)
mov    -0x8(%rbp),%rax
movslq -0x54(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x50(%rbp),%ecx
sar    %ecx
mov    -0xc(%rbp),%edx
imul   %edx,%ecx
movslq %ecx,%rcx
lea    (%rax,%rcx,4),%rax
mov    -0x4c(%rbp),%ecx
sar    %ecx
movslq %ecx,%rcx
lea    (%rax,%rcx,4),%rax
mov    %rax,-0x38(%rbp)
mov    0x10(%rbp),%eax
mov    %eax,-0x5c(%rbp)
sub    $0x4,%eax
je     12d2 <mc_luma_mmx+0x172>
jmp    12b0 <mc_luma_mmx+0x150>
mov    -0x5c(%rbp),%eax
sub    $0x8,%eax
je     12f8 <mc_luma_mmx+0x198>
jmp    12c1 <mc_luma_mmx+0x161>
mov    -0x5c(%rbp),%eax
sub    $0x10,%eax
je     131e <mc_luma_mmx+0x1be>
jmp    1323 <mc_luma_mmx+0x1c3>
mov    -0x18(%rbp),%rdi
mov    -0x1c(%rbp),%esi
mov    -0x30(%rbp),%rdx
mov    -0xc(%rbp),%ecx
mov    -0x38(%rbp),%r8
mov    -0xc(%rbp),%r9d
mov    0x18(%rbp),%eax
mov    %eax,(%rsp)
call   1050 <p264_pixel_avg_w4_mmxext@plt>
jmp    1344 <mc_luma_mmx+0x1e4>
mov    -0x18(%rbp),%rdi
mov    -0x1c(%rbp),%esi
mov    -0x30(%rbp),%rdx
mov    -0xc(%rbp),%ecx
mov    -0x38(%rbp),%r8
mov    -0xc(%rbp),%r9d
mov    0x18(%rbp),%eax
mov    %eax,(%rsp)
call   1070 <p264_pixel_avg_w8_mmxext@plt>
jmp    1344 <mc_luma_mmx+0x1e4>
jmp    1323 <mc_luma_mmx+0x1c3>
mov    -0x18(%rbp),%rdi
mov    -0x1c(%rbp),%esi
mov    -0x30(%rbp),%rdx
mov    -0xc(%rbp),%ecx
mov    -0x38(%rbp),%r8
mov    -0xc(%rbp),%r9d
mov    0x18(%rbp),%eax
mov    %eax,(%rsp)
call   1080 <p264_pixel_avg_w16_mmxext@plt>
jmp    13d3 <mc_luma_mmx+0x273>
mov    0x10(%rbp),%eax
mov    %eax,-0x60(%rbp)
sub    $0x4,%eax
je     137f <mc_luma_mmx+0x21f>
jmp    135d <mc_luma_mmx+0x1fd>
mov    -0x60(%rbp),%eax
sub    $0x8,%eax
je     139b <mc_luma_mmx+0x23b>
jmp    136e <mc_luma_mmx+0x20e>
mov    -0x60(%rbp),%eax
sub    $0x10,%eax
je     13b7 <mc_luma_mmx+0x257>
jmp    13ce <mc_luma_mmx+0x26e>
mov    -0x30(%rbp),%rdi
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rdx
mov    -0x1c(%rbp),%ecx
mov    0x18(%rbp),%r8d
call   1030 <p264_mc_copy_w4_mmxext@plt>
jmp    13ce <mc_luma_mmx+0x26e>
mov    -0x30(%rbp),%rdi
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rdx
mov    -0x1c(%rbp),%ecx
mov    0x18(%rbp),%r8d
call   1040 <p264_mc_copy_w8_mmxext@plt>
jmp    13ce <mc_luma_mmx+0x26e>
mov    -0x30(%rbp),%rdi
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rdx
mov    -0x1c(%rbp),%ecx
mov    0x18(%rbp),%r8d
call   1060 <p264_mc_copy_w16_mmxext@plt>
jmp    13d3 <mc_luma_mmx+0x273>
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<mc_luma_mmx>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
mov    %r8d,%r15d
mov    %esi,%r11d
mov    0x38(%rsp),%r8d
mov    0x30(%rsp),%r14d
mov    %r15d,%eax
and    %r9d,%eax
mov    %r9d,%ebx
xor    %r15d,%ebx
shr    %ebx
and    %eax,%ebx
and    $0x1,%ebx
mov    %r15d,%eax
shr    %eax
mov    %r9d,%esi
sub    %ebx,%esi
add    $0x1,%esi
and    $0x1,%eax
mov    %esi,%ebp
and    $0x2,%ebp
or     %eax,%ebp
sar    $0x2,%esi
imul   %r11d,%esi
movslq %esi,%rax
shl    $0x2,%rax
add    (%rdi,%rbp,8),%rax
mov    %r15d,%esi
sar    $0x2,%esi
movslq %esi,%rsi
lea    (%rax,%rsi,4),%r10
mov    %r9d,%eax
or     %r15d,%eax
test   $0x1,%al
jne    11fd <mc_luma_mmx+0x9d>
cmp    $0x10,%r14d
je     1299 <mc_luma_mmx+0x139>
cmp    $0x8,%r14d
je     12ae <mc_luma_mmx+0x14e>
cmp    $0x4,%r14d
jne    128e <mc_luma_mmx+0x12e>
mov    %r10,%rdi
mov    %r11d,%esi
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <p264_mc_copy_w4_mmxext@plt>
add    $0x1,%r15d
mov    %r15d,%eax
shr    %eax
add    %r9d,%ebx
and    $0x1,%eax
mov    %ebx,%esi
and    $0x2,%esi
or     %eax,%esi
sar    $0x2,%ebx
imul   %r11d,%ebx
movslq %ebx,%rax
shl    $0x2,%rax
add    (%rdi,%rsi,8),%rax
sar    $0x2,%r15d
movslq %r15d,%rsi
lea    (%rax,%rsi,4),%rax
cmp    $0x8,%r14d
je     1258 <mc_luma_mmx+0xf8>
cmp    $0x4,%r14d
jne    1274 <mc_luma_mmx+0x114>
mov    %r8d,(%rsp)
mov    %rdx,%rdi
mov    %ecx,%esi
mov    %r10,%rdx
mov    %r11d,%ecx
mov    %rax,%r8
mov    %r11d,%r9d
call   1050 <p264_pixel_avg_w4_mmxext@plt>
jmp    128e <mc_luma_mmx+0x12e>
mov    %r8d,(%rsp)
mov    %rdx,%rdi
mov    %ecx,%esi
mov    %r10,%rdx
mov    %r11d,%ecx
mov    %rax,%r8
mov    %r11d,%r9d
call   1070 <p264_pixel_avg_w8_mmxext@plt>
jmp    128e <mc_luma_mmx+0x12e>
mov    %r8d,(%rsp)
mov    %rdx,%rdi
mov    %ecx,%esi
mov    %r10,%rdx
mov    %r11d,%ecx
mov    %rax,%r8
mov    %r11d,%r9d
call   1080 <p264_pixel_avg_w16_mmxext@plt>
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret
mov    %r10,%rdi
mov    %r11d,%esi
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
jmp    1060 <p264_mc_copy_w16_mmxext@plt>
mov    %r10,%rdi
mov    %r11d,%esi
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <p264_mc_copy_w8_mmxext@plt>

LLVM IR (-O0):
define void @mc_luma_mmx(i32** %0, i32 %1, i32* %2, i32 %3, i32 %4, i32 %5, i32 %6, i32 %7) {
%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*
%18 = alloca i32*
%19 = alloca i32
%20 = alloca i32
%21 = alloca i32
%22 = alloca i32
%23 = alloca i32
%24 = alloca i32
%25 = alloca i32
store i32** %0, i32*** %9
store i32 %1, i32* %10
store i32* %2, i32** %11
store i32 %3, i32* %12
store i32 %4, i32* %13
store i32 %5, i32* %14
store i32 %6, i32* %15
store i32 %7, i32* %16
%26 = load i32, i32* %13
%27 = and i32 %26, 1
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %40
29: ; preds = %8
%30 = load i32, i32* %14
%31 = and i32 %30, 1
%32 = icmp ne i32 %31, 0
br i1 %32, label %33, label %40
33: ; preds = %29
%34 = load i32, i32* %13
%35 = and i32 %34, 2
%36 = load i32, i32* %14
%37 = and i32 %36, 2
%38 = xor i32 %35, %37
%39 = icmp ne i32 %38, 0
br label %40
40: ; preds = %33, %29, %8
%41 = phi i1 [ false, %29 ], [ false, %8 ], [ %39, %33 ]
%42 = zext i1 %41 to i32
store i32 %42, i32* %19
%43 = load i32, i32* %13
%44 = ashr i32 %43, 1
store i32 %44, i32* %20
%45 = load i32, i32* %14
%46 = add nsw i32 %45, 1
%47 = load i32, i32* %19
%48 = sub nsw i32 %46, %47
%49 = ashr i32 %48, 1
store i32 %49, i32* %21
%50 = load i32, i32* %20
%51 = and i32 %50, 1
%52 = load i32, i32* %21
%53 = and i32 %52, 1
%54 = shl i32 %53, 1
%55 = add nsw i32 %51, %54
store i32 %55, i32* %22
%56 = load i32**, i32*** %9
%57 = load i32, i32* %22
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i32*, i32** %56, i64 %58
%60 = load i32*, i32** %59
%61 = load i32, i32* %21
%62 = ashr i32 %61, 1
%63 = load i32, i32* %10
%64 = mul nsw i32 %62, %63
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i32, i32* %60, i64 %65
%67 = load i32, i32* %20
%68 = ashr i32 %67, 1
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i32, i32* %66, i64 %69
store i32* %70, i32** %17
%71 = load i32, i32* %13
%72 = load i32, i32* %14
%73 = or i32 %71, %72
%74 = and i32 %73, 1
%75 = icmp ne i32 %74, 0
br i1 %75, label %76, label %135
76: ; preds = %40
%77 = load i32, i32* %13
%78 = add nsw i32 %77, 1
%79 = ashr i32 %78, 1
store i32 %79, i32* %23
%80 = load i32, i32* %14
%81 = load i32, i32* %19
%82 = add nsw i32 %80, %81
%83 = ashr i32 %82, 1
store i32 %83, i32* %24
%84 = load i32, i32* %23
%85 = and i32 %84, 1
%86 = load i32, i32* %24
%87 = and i32 %86, 1
%88 = shl i32 %87, 1
%89 = add nsw i32 %85, %88
store i32 %89, i32* %25
%90 = load i32**, i32*** %9
%91 = load i32, i32* %25
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i32*, i32** %90, i64 %92
%94 = load i32*, i32** %93
%95 = load i32, i32* %24
%96 = ashr i32 %95, 1
%97 = load i32, i32* %10
%98 = mul nsw i32 %96, %97
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i32, i32* %94, i64 %99
%101 = load i32, i32* %23
%102 = ashr i32 %101, 1
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i32, i32* %100, i64 %103
store i32* %104, i32** %18
%105 = load i32, i32* %15
switch i32 %105, label %125 [
i32 4, label %106
i32 8, label %115
i32 16, label %124
]
106: ; preds = %76
%107 = load i32*, i32** %11
%108 = load i32, i32* %12
%109 = load i32*, i32** %17
%110 = load i32, i32* %10
%111 = load i32*, i32** %18
%112 = load i32, i32* %10
%113 = load i32, i32* %16
%114 = call i32 @p264_pixel_avg_w4_mmxext(i32* %107, i32 %108, i32* %109, i32 %110, i32* %111, i32 %112, i32 %113)
br label %134
115: ; preds = %76
%116 = load i32*, i32** %11
%117 = load i32, i32* %12
%118 = load i32*, i32** %17
%119 = load i32, i32* %10
%120 = load i32*, i32** %18
%121 = load i32, i32* %10
%122 = load i32, i32* %16
%123 = call i32 @p264_pixel_avg_w8_mmxext(i32* %116, i32 %117, i32* %118, i32 %119, i32* %120, i32 %121, i32 %122)
br label %134
124: ; preds = %76
br label %125
125: ; preds = %76, %124
%126 = load i32*, i32** %11
%127 = load i32, i32* %12
%128 = load i32*, i32** %17
%129 = load i32, i32* %10
%130 = load i32*, i32** %18
%131 = load i32, i32* %10
%132 = load i32, i32* %16
%133 = call i32 @p264_pixel_avg_w16_mmxext(i32* %126, i32 %127, i32* %128, i32 %129, i32* %130, i32 %131, i32 %132)
br label %134
134: ; preds = %125, %115, %106
br label %159
135: ; preds = %40
%136 = load i32, i32* %15
switch i32 %136, label %158 [
i32 4, label %137
i32 8, label %144
i32 16, label %151
]
137: ; preds = %135
%138 = load i32*, i32** %17
%139 = load i32, i32* %10
%140 = load i32*, i32** %11
%141 = load i32, i32* %12
%142 = load i32, i32* %16
%143 = call i32 @p264_mc_copy_w4_mmxext(i32* %138, i32 %139, i32* %140, i32 %141, i32 %142)
br label %158
144: ; preds = %135
%145 = load i32*, i32** %17
%146 = load i32, i32* %10
%147 = load i32*, i32** %11
%148 = load i32, i32* %12
%149 = load i32, i32* %16
%150 = call i32 @p264_mc_copy_w8_mmxext(i32* %145, i32 %146, i32* %147, i32 %148, i32 %149)
br label %158
151: ; preds = %135
%152 = load i32*, i32** %17
%153 = load i32, i32* %10
%154 = load i32*, i32** %11
%155 = load i32, i32* %12
%156 = load i32, i32* %16
%157 = call i32 @p264_mc_copy_w16_mmxext(i32* %152, i32 %153, i32* %154, i32 %155, i32 %156)
br label %158
158: ; preds = %135, %151, %144, %137
br label %159
159: ; preds = %158, %134
ret void
}

LLVM IR (-O2):
define void @mc_luma_mmx(i32** nocapture %0, i32 %1, i32* %2, i32 %3, i32 %4, i32 %5, i32 %6, i32 %7) {
%9 = and i32 %4, 1
%10 = and i32 %9, %5
%11 = icmp eq i32 %10, 0
%12 = xor i32 %5, %4
%13 = lshr i32 %12, 1
%14 = and i32 %13, 1
%15 = select i1 %11, i32 0, i32 %14
%16 = lshr i32 %4, 1
%17 = add nsw i32 %5, 1
%18 = sub nsw i32 %17, %15
%19 = and i32 %16, 1
%20 = and i32 %18, 2
%21 = or i32 %20, %19
%22 = zext i32 %21 to i64
%23 = getelementptr inbounds i32*, i32** %0, i64 %22
%24 = load i32*, i32** %23
%25 = ashr i32 %18, 2
%26 = mul nsw i32 %25, %1
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, i32* %24, i64 %27
%29 = ashr i32 %4, 2
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, i32* %28, i64 %30
%32 = or i32 %5, %4
%33 = and i32 %32, 1
%34 = icmp eq i32 %33, 0
br i1 %34, label %58, label %35
35: ; preds = %8
%36 = add nsw i32 %4, 1
%37 = lshr i32 %36, 1
%38 = add nsw i32 %15, %5
%39 = and i32 %37, 1
%40 = and i32 %38, 2
%41 = or i32 %40, %39
%42 = zext i32 %41 to i64
%43 = getelementptr inbounds i32*, i32** %0, i64 %42
%44 = load i32*, i32** %43
%45 = ashr i32 %38, 2
%46 = mul nsw i32 %45, %1
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i32, i32* %44, i64 %47
%49 = ashr i32 %36, 2
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, i32* %48, i64 %50
switch i32 %6, label %56 [
i32 4, label %52
i32 8, label %54
]
52: ; preds = %35
%53 = tail call i32 @p264_pixel_avg_w4_mmxext(i32* %2, i32 %3, i32* %31, i32 %1, i32* %51, i32 %1, i32 %7)
br label %65
54: ; preds = %35
%55 = tail call i32 @p264_pixel_avg_w8_mmxext(i32* %2, i32 %3, i32* %31, i32 %1, i32* %51, i32 %1, i32 %7)
br label %65
56: ; preds = %35
%57 = tail call i32 @p264_pixel_avg_w16_mmxext(i32* %2, i32 %3, i32* %31, i32 %1, i32* %51, i32 %1, i32 %7)
br label %65
58: ; preds = %8
switch i32 %6, label %65 [
i32 4, label %59
i32 8, label %61
i32 16, label %63
]
59: ; preds = %58
%60 = tail call i32 @p264_mc_copy_w4_mmxext(i32* %31, i32 %1, i32* %2, i32 %3, i32 %7)
br label %65
61: ; preds = %58
%62 = tail call i32 @p264_mc_copy_w8_mmxext(i32* %31, i32 %1, i32* %2, i32 %3, i32 %7)
br label %65
63: ; preds = %58
%64 = tail call i32 @p264_mc_copy_w16_mmxext(i32* %31, i32 %1, i32* %2, i32 %3, i32 %7)
br label %65
65: ; preds = %52, %54, %56, %59, %61, %63, %58
ret void
}