static void gmc_mmx(uint8_t *dst, uint8_t *src,

                    int stride, int h, int ox, int oy,

                    int dxx, int dxy, int dyx, int dyy,

                    int shift, int r, int width, int height)

{

    const int w    = 8;

    const int ix   = ox  >> (16 + shift);

    const int iy   = oy  >> (16 + shift);

    const int oxs  = ox  >> 4;

    const int oys  = oy  >> 4;

    const int dxxs = dxx >> 4;

    const int dxys = dxy >> 4;

    const int dyxs = dyx >> 4;

    const int dyys = dyy >> 4;

    const uint16_t r4[4]   = { r, r, r, r };

    const uint16_t dxy4[4] = { dxys, dxys, dxys, dxys };

    const uint16_t dyy4[4] = { dyys, dyys, dyys, dyys };

    const uint64_t shift2  = 2 * shift;

#define MAX_STRIDE 4096U

#define MAX_H 8U

    uint8_t edge_buf[(MAX_H + 1) * MAX_STRIDE];

    int x, y;



    const int dxw = (dxx - (1 << (16 + shift))) * (w - 1);

    const int dyh = (dyy - (1 << (16 + shift))) * (h - 1);

    const int dxh = dxy * (h - 1);

    const int dyw = dyx * (w - 1);

    int need_emu  =  (unsigned) ix >= width  - w ||

                     (unsigned) iy >= height - h;



    if ( // non-constant fullpel offset (3% of blocks)

        ((ox ^ (ox + dxw)) | (ox ^ (ox + dxh)) | (ox ^ (ox + dxw + dxh)) |

         (oy ^ (oy + dyw)) | (oy ^ (oy + dyh)) | (oy ^ (oy + dyw + dyh))) >> (16 + shift) ||

        // uses more than 16 bits of subpel mv (only at huge resolution)

        (dxx | dxy | dyx | dyy) & 15 ||

        (need_emu && (h > MAX_H || stride > MAX_STRIDE))) {

        // FIXME could still use mmx for some of the rows

        ff_gmc_c(dst, src, stride, h, ox, oy, dxx, dxy, dyx, dyy,

                 shift, r, width, height);

        return;

    }



    src += ix + iy * stride;

    if (need_emu) {

        ff_emulated_edge_mc_8(edge_buf, src, stride, stride, w + 1, h + 1, ix, iy, width, height);

        src = edge_buf;

    }



    __asm__ volatile (

        "movd         %0, %%mm6         \n\t"

        "pxor      %%mm7, %%mm7         \n\t"

        "punpcklwd %%mm6, %%mm6         \n\t"

        "punpcklwd %%mm6, %%mm6         \n\t"

        :: "r" (1 << shift));



    for (x = 0; x < w; x += 4) {

        uint16_t dx4[4] = { oxs - dxys + dxxs * (x + 0),

                            oxs - dxys + dxxs * (x + 1),

                            oxs - dxys + dxxs * (x + 2),

                            oxs - dxys + dxxs * (x + 3) };

        uint16_t dy4[4] = { oys - dyys + dyxs * (x + 0),

                            oys - dyys + dyxs * (x + 1),

                            oys - dyys + dyxs * (x + 2),

                            oys - dyys + dyxs * (x + 3) };



        for (y = 0; y < h; y++) {

            __asm__ volatile (

                "movq      %0, %%mm4    \n\t"

                "movq      %1, %%mm5    \n\t"

                "paddw     %2, %%mm4    \n\t"

                "paddw     %3, %%mm5    \n\t"

                "movq   %%mm4, %0       \n\t"

                "movq   %%mm5, %1       \n\t"

                "psrlw    $12, %%mm4    \n\t"

                "psrlw    $12, %%mm5    \n\t"

                : "+m" (*dx4), "+m" (*dy4)

                : "m" (*dxy4), "m" (*dyy4));



            __asm__ volatile (

                "movq      %%mm6, %%mm2 \n\t"

                "movq      %%mm6, %%mm1 \n\t"

                "psubw     %%mm4, %%mm2 \n\t"

                "psubw     %%mm5, %%mm1 \n\t"

                "movq      %%mm2, %%mm0 \n\t"

                "movq      %%mm4, %%mm3 \n\t"

                "pmullw    %%mm1, %%mm0 \n\t" // (s - dx) * (s - dy)

                "pmullw    %%mm5, %%mm3 \n\t" // dx * dy

                "pmullw    %%mm5, %%mm2 \n\t" // (s - dx) * dy

                "pmullw    %%mm4, %%mm1 \n\t" // dx * (s - dy)



                "movd         %4, %%mm5 \n\t"

                "movd         %3, %%mm4 \n\t"

                "punpcklbw %%mm7, %%mm5 \n\t"

                "punpcklbw %%mm7, %%mm4 \n\t"

                "pmullw    %%mm5, %%mm3 \n\t" // src[1, 1] * dx * dy

                "pmullw    %%mm4, %%mm2 \n\t" // src[0, 1] * (s - dx) * dy



                "movd         %2, %%mm5 \n\t"

                "movd         %1, %%mm4 \n\t"

                "punpcklbw %%mm7, %%mm5 \n\t"

                "punpcklbw %%mm7, %%mm4 \n\t"

                "pmullw    %%mm5, %%mm1 \n\t" // src[1, 0] * dx * (s - dy)

                "pmullw    %%mm4, %%mm0 \n\t" // src[0, 0] * (s - dx) * (s - dy)

                "paddw        %5, %%mm1 \n\t"

                "paddw     %%mm3, %%mm2 \n\t"

                "paddw     %%mm1, %%mm0 \n\t"

                "paddw     %%mm2, %%mm0 \n\t"



                "psrlw        %6, %%mm0 \n\t"

                "packuswb  %%mm0, %%mm0 \n\t"

                "movd      %%mm0, %0    \n\t"



                : "=m" (dst[x + y * stride])

                : "m" (src[0]), "m" (src[1]),

                  "m" (src[stride]), "m" (src[stride + 1]),

                  "m" (*r4), "m" (shift2));

            src += stride;

        }

        src += 4 - h * stride;

    }

}

static void gmc_mmx(uint8_t *dst, uint8_t *src,

                    int stride, int h, int ox, int oy,

                    int dxx, int dxy, int dyx, int dyy,

                    int shift, int r, int width, int height)

{

    const int w    = 8;

    const int ix   = ox  >> (16 + shift);

    const int iy   = oy  >> (16 + shift);

    const int oxs  = ox  >> 4;

    const int oys  = oy  >> 4;

    const int dxxs = dxx >> 4;

    const int dxys = dxy >> 4;

    const int dyxs = dyx >> 4;

    const int dyys = dyy >> 4;

    const uint16_t r4[4]   = { r, r, r, r };

    const uint16_t dxy4[4] = { dxys, dxys, dxys, dxys };

    const uint16_t dyy4[4] = { dyys, dyys, dyys, dyys };

    const uint64_t shift2  = 2 * shift;

#define MAX_STRIDE 4096U

#define MAX_H 8U

    uint8_t edge_buf[(MAX_H + 1) * MAX_STRIDE];

    int x, y;



    const int dxw = (dxx - (1 << (16 + shift))) * (w - 1);

    const int dyh = (dyy - (1 << (16 + shift))) * (h - 1);

    const int dxh = dxy * (h - 1);

    const int dyw = dyx * (w - 1);

    int need_emu  =  (unsigned) ix >= width  - w ||

                     (unsigned) iy >= height - h;



    if ( 

        ((ox ^ (ox + dxw)) | (ox ^ (ox + dxh)) | (ox ^ (ox + dxw + dxh)) |

         (oy ^ (oy + dyw)) | (oy ^ (oy + dyh)) | (oy ^ (oy + dyw + dyh))) >> (16 + shift) ||

        

        (dxx | dxy | dyx | dyy) & 15 ||

        (need_emu && (h > MAX_H || stride > MAX_STRIDE))) {

        

        ff_gmc_c(dst, src, stride, h, ox, oy, dxx, dxy, dyx, dyy,

                 shift, r, width, height);

        return;

    }



    src += ix + iy * stride;

    if (need_emu) {

        ff_emulated_edge_mc_8(edge_buf, src, stride, stride, w + 1, h + 1, ix, iy, width, height);

        src = edge_buf;

    }



    __asm__ volatile (

        "movd         %0, %%mm6         \n\t"

        "pxor      %%mm7, %%mm7         \n\t"

        "punpcklwd %%mm6, %%mm6         \n\t"

        "punpcklwd %%mm6, %%mm6         \n\t"

        :: "r" (1 << shift));



    for (x = 0; x < w; x += 4) {

        uint16_t dx4[4] = { oxs - dxys + dxxs * (x + 0),

                            oxs - dxys + dxxs * (x + 1),

                            oxs - dxys + dxxs * (x + 2),

                            oxs - dxys + dxxs * (x + 3) };

        uint16_t dy4[4] = { oys - dyys + dyxs * (x + 0),

                            oys - dyys + dyxs * (x + 1),

                            oys - dyys + dyxs * (x + 2),

                            oys - dyys + dyxs * (x + 3) };



        for (y = 0; y < h; y++) {

            __asm__ volatile (

                "movq      %0, %%mm4    \n\t"

                "movq      %1, %%mm5    \n\t"

                "paddw     %2, %%mm4    \n\t"

                "paddw     %3, %%mm5    \n\t"

                "movq   %%mm4, %0       \n\t"

                "movq   %%mm5, %1       \n\t"

                "psrlw    $12, %%mm4    \n\t"

                "psrlw    $12, %%mm5    \n\t"

                : "+m" (*dx4), "+m" (*dy4)

                : "m" (*dxy4), "m" (*dyy4));



            __asm__ volatile (

                "movq      %%mm6, %%mm2 \n\t"

                "movq      %%mm6, %%mm1 \n\t"

                "psubw     %%mm4, %%mm2 \n\t"

                "psubw     %%mm5, %%mm1 \n\t"

                "movq      %%mm2, %%mm0 \n\t"

                "movq      %%mm4, %%mm3 \n\t"

                "pmullw    %%mm1, %%mm0 \n\t" 

                "pmullw    %%mm5, %%mm3 \n\t" 

                "pmullw    %%mm5, %%mm2 \n\t" 

                "pmullw    %%mm4, %%mm1 \n\t" 



                "movd         %4, %%mm5 \n\t"

                "movd         %3, %%mm4 \n\t"

                "punpcklbw %%mm7, %%mm5 \n\t"

                "punpcklbw %%mm7, %%mm4 \n\t"

                "pmullw    %%mm5, %%mm3 \n\t" 

                "pmullw    %%mm4, %%mm2 \n\t" 



                "movd         %2, %%mm5 \n\t"

                "movd         %1, %%mm4 \n\t"

                "punpcklbw %%mm7, %%mm5 \n\t"

                "punpcklbw %%mm7, %%mm4 \n\t"

                "pmullw    %%mm5, %%mm1 \n\t" 

                "pmullw    %%mm4, %%mm0 \n\t" 

                "paddw        %5, %%mm1 \n\t"

                "paddw     %%mm3, %%mm2 \n\t"

                "paddw     %%mm1, %%mm0 \n\t"

                "paddw     %%mm2, %%mm0 \n\t"



                "psrlw        %6, %%mm0 \n\t"

                "packuswb  %%mm0, %%mm0 \n\t"

                "movd      %%mm0, %0    \n\t"



                : "=m" (dst[x + y * stride])

                : "m" (src[0]), "m" (src[1]),

                  "m" (src[stride]), "m" (src[stride + 1]),

                  "m" (*r4), "m" (shift2));

            src += stride;

        }

        src += 4 - h * stride;

    }

}

    int need_emu  =  (unsigned) ix >= width  - w ||                      (unsigned) iy >= height - h;
static void FUNC_0(uint8_t *VAR_0, uint8_t *VAR_1,

                    int VAR_2, int VAR_3, int VAR_4, int VAR_5,

                    int VAR_6, int VAR_7, int VAR_8, int VAR_9,

                    int VAR_10, int VAR_11, int VAR_12, int VAR_13)

{

    const int VAR_14    = 8;

    const int VAR_15   = VAR_4  >> (16 + VAR_10);

    const int VAR_16   = VAR_5  >> (16 + VAR_10);

    const int VAR_17  = VAR_4  >> 4;

    const int VAR_18  = VAR_5  >> 4;

    const int VAR_19 = VAR_6 >> 4;

    const int VAR_20 = VAR_7 >> 4;

    const int VAR_21 = VAR_8 >> 4;

    const int VAR_22 = VAR_9 >> 4;

    const uint16_t VAR_23[4]   = { VAR_11, VAR_11, VAR_11, VAR_11 };

    const uint16_t VAR_24[4] = { VAR_20, VAR_20, VAR_20, VAR_20 };

    const uint16_t VAR_25[4] = { VAR_22, VAR_22, VAR_22, VAR_22 };

    const uint64_t VAR_26  = 2 * VAR_10;

#define MAX_STRIDE 4096U

#define MAX_H 8U

    uint8_t edge_buf[(MAX_H + 1) * MAX_STRIDE];

    int VAR_27, VAR_28;



    const int VAR_29 = (VAR_6 - (1 << (16 + VAR_10))) * (VAR_14 - 1);

    const int VAR_30 = (VAR_9 - (1 << (16 + VAR_10))) * (VAR_3 - 1);

    const int VAR_31 = VAR_7 * (VAR_3 - 1);

    const int VAR_32 = VAR_8 * (VAR_14 - 1);

    int VAR_33  =  (unsigned) VAR_15 >= VAR_12  - VAR_14 ||

                     (unsigned) VAR_16 >= VAR_13 - VAR_3;



    if ( 

        ((VAR_4 ^ (VAR_4 + VAR_29)) | (VAR_4 ^ (VAR_4 + VAR_31)) | (VAR_4 ^ (VAR_4 + VAR_29 + VAR_31)) |

         (VAR_5 ^ (VAR_5 + VAR_32)) | (VAR_5 ^ (VAR_5 + VAR_30)) | (VAR_5 ^ (VAR_5 + VAR_32 + VAR_30))) >> (16 + VAR_10) ||

        

        (VAR_6 | VAR_7 | VAR_8 | VAR_9) & 15 ||

        (VAR_33 && (VAR_3 > MAX_H || VAR_2 > MAX_STRIDE))) {

        

        ff_gmc_c(VAR_0, VAR_1, VAR_2, VAR_3, VAR_4, VAR_5, VAR_6, VAR_7, VAR_8, VAR_9,

                 VAR_10, VAR_11, VAR_12, VAR_13);

        return;

    }



    VAR_1 += VAR_15 + VAR_16 * VAR_2;

    if (VAR_33) {

        ff_emulated_edge_mc_8(edge_buf, VAR_1, VAR_2, VAR_2, VAR_14 + 1, VAR_3 + 1, VAR_15, VAR_16, VAR_12, VAR_13);

        VAR_1 = edge_buf;

    }



    __asm__ volatile (

        "movd         %0, %%mm6         \n\t"

        "pxor      %%mm7, %%mm7         \n\t"

        "punpcklwd %%mm6, %%mm6         \n\t"

        "punpcklwd %%mm6, %%mm6         \n\t"

        :: "VAR_11" (1 << VAR_10));



    for (VAR_27 = 0; VAR_27 < VAR_14; VAR_27 += 4) {

        uint16_t dx4[4] = { VAR_17 - VAR_20 + VAR_19 * (VAR_27 + 0),

                            VAR_17 - VAR_20 + VAR_19 * (VAR_27 + 1),

                            VAR_17 - VAR_20 + VAR_19 * (VAR_27 + 2),

                            VAR_17 - VAR_20 + VAR_19 * (VAR_27 + 3) };

        uint16_t dy4[4] = { VAR_18 - VAR_22 + VAR_21 * (VAR_27 + 0),

                            VAR_18 - VAR_22 + VAR_21 * (VAR_27 + 1),

                            VAR_18 - VAR_22 + VAR_21 * (VAR_27 + 2),

                            VAR_18 - VAR_22 + VAR_21 * (VAR_27 + 3) };



        for (VAR_28 = 0; VAR_28 < VAR_3; VAR_28++) {

            __asm__ volatile (

                "movq      %0, %%mm4    \n\t"

                "movq      %1, %%mm5    \n\t"

                "paddw     %2, %%mm4    \n\t"

                "paddw     %3, %%mm5    \n\t"

                "movq   %%mm4, %0       \n\t"

                "movq   %%mm5, %1       \n\t"

                "psrlw    $12, %%mm4    \n\t"

                "psrlw    $12, %%mm5    \n\t"

                : "+m" (*dx4), "+m" (*dy4)

                : "m" (*VAR_24), "m" (*VAR_25));



            __asm__ volatile (

                "movq      %%mm6, %%mm2 \n\t"

                "movq      %%mm6, %%mm1 \n\t"

                "psubw     %%mm4, %%mm2 \n\t"

                "psubw     %%mm5, %%mm1 \n\t"

                "movq      %%mm2, %%mm0 \n\t"

                "movq      %%mm4, %%mm3 \n\t"

                "pmullw    %%mm1, %%mm0 \n\t" 

                "pmullw    %%mm5, %%mm3 \n\t" 

                "pmullw    %%mm5, %%mm2 \n\t" 

                "pmullw    %%mm4, %%mm1 \n\t" 



                "movd         %4, %%mm5 \n\t"

                "movd         %3, %%mm4 \n\t"

                "punpcklbw %%mm7, %%mm5 \n\t"

                "punpcklbw %%mm7, %%mm4 \n\t"

                "pmullw    %%mm5, %%mm3 \n\t" 

                "pmullw    %%mm4, %%mm2 \n\t" 



                "movd         %2, %%mm5 \n\t"

                "movd         %1, %%mm4 \n\t"

                "punpcklbw %%mm7, %%mm5 \n\t"

                "punpcklbw %%mm7, %%mm4 \n\t"

                "pmullw    %%mm5, %%mm1 \n\t" 

                "pmullw    %%mm4, %%mm0 \n\t" 

                "paddw        %5, %%mm1 \n\t"

                "paddw     %%mm3, %%mm2 \n\t"

                "paddw     %%mm1, %%mm0 \n\t"

                "paddw     %%mm2, %%mm0 \n\t"



                "psrlw        %6, %%mm0 \n\t"

                "packuswb  %%mm0, %%mm0 \n\t"

                "movd      %%mm0, %0    \n\t"



                : "=m" (VAR_0[VAR_27 + VAR_28 * VAR_2])

                : "m" (VAR_1[0]), "m" (VAR_1[1]),

                  "m" (VAR_1[VAR_2]), "m" (VAR_1[VAR_2 + 1]),

                  "m" (*VAR_23), "m" (VAR_26));

            VAR_1 += VAR_2;

        }

        VAR_1 += 4 - VAR_3 * VAR_2;

    }

}

static void FUNC_0(uint8_t *VAR_0, uint8_t *VAR_1,
int VAR_2, int VAR_3, int VAR_4, int VAR_5,
int VAR_6, int VAR_7, int VAR_8, int VAR_9,
int VAR_10, int VAR_11, int VAR_12, int VAR_13)
{ const int VAR_14    = 8; const int VAR_15   = VAR_4  >> (16 + VAR_10); const int VAR_16   = VAR_5  >> (16 + VAR_10); const int VAR_17  = VAR_4  >> 4; const int VAR_18  = VAR_5  >> 4; const int VAR_19 = VAR_6 >> 4; const int VAR_20 = VAR_7 >> 4; const int VAR_21 = VAR_8 >> 4; const int VAR_22 = VAR_9 >> 4; const uint16_t VAR_23[4]   = { VAR_11, VAR_11, VAR_11, VAR_11 }; const uint16_t VAR_24[4] = { VAR_20, VAR_20, VAR_20, VAR_20 }; const uint16_t VAR_25[4] = { VAR_22, VAR_22, VAR_22, VAR_22 }; const uint64_t VAR_26  = 2 * VAR_10; #define MAX_STRIDE 4096U
#define MAX_H 8U
uint8_t edge_buf[(MAX_H + 1) * MAX_STRIDE]; int VAR_27, VAR_28; const int VAR_29 = (VAR_6 - (1 << (16 + VAR_10))) * (VAR_14 - 1); const int VAR_30 = (VAR_9 - (1 << (16 + VAR_10))) * (VAR_3 - 1); const int VAR_31 = VAR_7 * (VAR_3 - 1); const int VAR_32 = VAR_8 * (VAR_14 - 1); int VAR_33  =  (unsigned) VAR_15 >= VAR_12  - VAR_14 ||
(unsigned) VAR_16 >= VAR_13 - VAR_3; if (
((VAR_4 ^ (VAR_4 + VAR_29)) | (VAR_4 ^ (VAR_4 + VAR_31)) | (VAR_4 ^ (VAR_4 + VAR_29 + VAR_31)) |
(VAR_5 ^ (VAR_5 + VAR_32)) | (VAR_5 ^ (VAR_5 + VAR_30)) | (VAR_5 ^ (VAR_5 + VAR_32 + VAR_30))) >> (16 + VAR_10) ||
(VAR_6 | VAR_7 | VAR_8 | VAR_9) & 15 ||
(VAR_33 && (VAR_3 > MAX_H || VAR_2 > MAX_STRIDE))) { ff_gmc_c(VAR_0, VAR_1, VAR_2, VAR_3, VAR_4, VAR_5, VAR_6, VAR_7, VAR_8, VAR_9,
VAR_10, VAR_11, VAR_12, VAR_13); return; } VAR_1 += VAR_15 + VAR_16 * VAR_2; if (VAR_33) { ff_emulated_edge_mc_8(edge_buf, VAR_1, VAR_2, VAR_2, VAR_14 + 1, VAR_3 + 1, VAR_15, VAR_16, VAR_12, VAR_13); VAR_1 = edge_buf; } __asm__ volatile (
"movd         %0, %%mm6         \n\t"
"pxor      %%mm7, %%mm7         \n\t"
"punpcklwd %%mm6, %%mm6         \n\t"
"punpcklwd %%mm6, %%mm6         \n\t"
:: "VAR_11" (1 << VAR_10)); for (VAR_27 = 0; VAR_27 < VAR_14; VAR_27 += 4) { uint16_t dx4[4] = { VAR_17 - VAR_20 + VAR_19 * (VAR_27 + 0), VAR_17 - VAR_20 + VAR_19 * (VAR_27 + 1),
VAR_17 - VAR_20 + VAR_19 * (VAR_27 + 2),
VAR_17 - VAR_20 + VAR_19 * (VAR_27 + 3) }; uint16_t dy4[4] = { VAR_18 - VAR_22 + VAR_21 * (VAR_27 + 0), VAR_18 - VAR_22 + VAR_21 * (VAR_27 + 1),
VAR_18 - VAR_22 + VAR_21 * (VAR_27 + 2),
VAR_18 - VAR_22 + VAR_21 * (VAR_27 + 3) }; for (VAR_28 = 0; VAR_28 < VAR_3; VAR_28++) { __asm__ volatile (
"movq      %0, %%mm4    \n\t"
"movq      %1, %%mm5    \n\t"
"paddw     %2, %%mm4    \n\t"
"paddw     %3, %%mm5    \n\t"
"movq   %%mm4, %0       \n\t"
"movq   %%mm5, %1       \n\t"
"psrlw    $12, %%mm4    \n\t"
"psrlw    $12, %%mm5    \n\t"
: "+m" (*dx4), "+m" (*dy4)
: "m" (*VAR_24), "m" (*VAR_25)); __asm__ volatile (
"movq      %%mm6, %%mm2 \n\t"
"movq      %%mm6, %%mm1 \n\t"
"psubw     %%mm4, %%mm2 \n\t"
"psubw     %%mm5, %%mm1 \n\t"
"movq      %%mm2, %%mm0 \n\t"
"movq      %%mm4, %%mm3 \n\t"
"pmullw    %%mm1, %%mm0 \n\t"
"pmullw    %%mm5, %%mm3 \n\t"
"pmullw    %%mm5, %%mm2 \n\t"
"pmullw    %%mm4, %%mm1 \n\t"
"movd         %4, %%mm5 \n\t"
"movd         %3, %%mm4 \n\t"
"punpcklbw %%mm7, %%mm5 \n\t"
"punpcklbw %%mm7, %%mm4 \n\t"
"pmullw    %%mm5, %%mm3 \n\t"
"pmullw    %%mm4, %%mm2 \n\t"
"movd         %2, %%mm5 \n\t"
"movd         %1, %%mm4 \n\t"
"punpcklbw %%mm7, %%mm5 \n\t"
"punpcklbw %%mm7, %%mm4 \n\t"
"pmullw    %%mm5, %%mm1 \n\t"
"pmullw    %%mm4, %%mm0 \n\t"
"paddw        %5, %%mm1 \n\t"
"paddw     %%mm3, %%mm2 \n\t"
"paddw     %%mm1, %%mm0 \n\t"
"paddw     %%mm2, %%mm0 \n\t"
"psrlw        %6, %%mm0 \n\t"
"packuswb  %%mm0, %%mm0 \n\t"
"movd      %%mm0, %0    \n\t"
: "=m" (VAR_0[VAR_27 + VAR_28 * VAR_2])
: "m" (VAR_1[0]), "m" (VAR_1[1]),
"m" (VAR_1[VAR_2]), "m" (VAR_1[VAR_2 + 1]),
"m" (*VAR_23), "m" (VAR_26)); VAR_1 += VAR_2; } VAR_1 += 4 - VAR_3 * VAR_2; } }