// File: /workspace/github_c_makefile_star2_O0/akumrao[P]videoAnalyzer/core/pixel.c
// Function: x264_pixel_init(int, x264_pixel_function_t*)
void x264_pixel_init( int cpu, x264_pixel_function_t *pixf )
{
    pixf->sad[PIXEL_16x16] = pixel_sad_16x16;
    pixf->sad[PIXEL_16x8]  = pixel_sad_16x8;
    pixf->sad[PIXEL_8x16]  = pixel_sad_8x16;
    pixf->sad[PIXEL_8x8]   = pixel_sad_8x8;
    pixf->sad[PIXEL_8x4]   = pixel_sad_8x4;
    pixf->sad[PIXEL_4x8]   = pixel_sad_4x8;
    pixf->sad[PIXEL_4x4]   = pixel_sad_4x4;

    pixf->satd[PIXEL_16x16]= pixel_satd_16x16;
    pixf->satd[PIXEL_16x8] = pixel_satd_16x8;
    pixf->satd[PIXEL_8x16] = pixel_satd_8x16;
    pixf->satd[PIXEL_8x8]  = pixel_satd_8x8;
    pixf->satd[PIXEL_8x4]  = pixel_satd_8x4;
    pixf->satd[PIXEL_4x8]  = pixel_satd_4x8;
    pixf->satd[PIXEL_4x4]  = pixel_satd_4x4;

    pixf->avg[PIXEL_16x16]= pixel_avg_16x16;
    pixf->avg[PIXEL_16x8] = pixel_avg_16x8;
    pixf->avg[PIXEL_8x16] = pixel_avg_8x16;
    pixf->avg[PIXEL_8x8]  = pixel_avg_8x8;
    pixf->avg[PIXEL_8x4]  = pixel_avg_8x4;
    pixf->avg[PIXEL_4x8]  = pixel_avg_4x8;
    pixf->avg[PIXEL_4x4]  = pixel_avg_4x4;

    pixf->sub4x4   = pixel_sub_4x4;
    pixf->sub8x8   = pixel_sub_8x8;
    pixf->sub16x16 = pixel_sub_16x16;

    pixf->add4x4   = pixel_add_4x4;
    pixf->add8x8   = pixel_add_8x8;
    pixf->add16x16 = pixel_add_16x16;
#ifdef HAVE_MMXEXT
    if( cpu&X264_CPU_MMXEXT )
    {
        x264_pixel_mmxext_init( pixf );
    }
#endif
#ifdef HAVE_ALTIVEC
    if( cpu&X264_CPU_ALTIVEC )
    {
        x264_pixel_altivec_init( pixf );
    }
#endif
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl %edi, -0x4(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
leaq 0x1ba(%rip), %rcx       # 0xbb70
movq %rcx, (%rax)
movq -0x10(%rbp), %rax
leaq 0x24c(%rip), %rcx       # 0xbc10
movq %rcx, 0x8(%rax)
movq -0x10(%rbp), %rax
leaq 0x2dd(%rip), %rcx       # 0xbcb0
movq %rcx, 0x10(%rax)
movq -0x10(%rbp), %rax
leaq 0x36e(%rip), %rcx       # 0xbd50
movq %rcx, 0x18(%rax)
movq -0x10(%rbp), %rax
leaq 0x3ff(%rip), %rcx       # 0xbdf0
movq %rcx, 0x20(%rax)
movq -0x10(%rbp), %rax
leaq 0x490(%rip), %rcx       # 0xbe90
movq %rcx, 0x28(%rax)
movq -0x10(%rbp), %rax
leaq 0x521(%rip), %rcx       # 0xbf30
movq %rcx, 0x30(%rax)
movq -0x10(%rbp), %rax
leaq 0x5b2(%rip), %rcx       # 0xbfd0
movq %rcx, 0x38(%rax)
movq -0x10(%rbp), %rax
leaq 0x5e3(%rip), %rcx       # 0xc010
movq %rcx, 0x40(%rax)
movq -0x10(%rbp), %rax
leaq 0x614(%rip), %rcx       # 0xc050
movq %rcx, 0x48(%rax)
movq -0x10(%rbp), %rax
leaq 0x645(%rip), %rcx       # 0xc090
movq %rcx, 0x50(%rax)
movq -0x10(%rbp), %rax
leaq 0x676(%rip), %rcx       # 0xc0d0
movq %rcx, 0x58(%rax)
movq -0x10(%rbp), %rax
leaq 0x6a7(%rip), %rcx       # 0xc110
movq %rcx, 0x60(%rax)
movq -0x10(%rbp), %rax
leaq 0x6d8(%rip), %rcx       # 0xc150
movq %rcx, 0x68(%rax)
movq -0x10(%rbp), %rax
leaq 0x709(%rip), %rcx       # 0xc190
movq %rcx, 0x70(%rax)
movq -0x10(%rbp), %rax
leaq 0x73a(%rip), %rcx       # 0xc1d0
movq %rcx, 0x78(%rax)
movq -0x10(%rbp), %rax
leaq 0x76b(%rip), %rcx       # 0xc210
movq %rcx, 0x80(%rax)
movq -0x10(%rbp), %rax
leaq 0x799(%rip), %rcx       # 0xc250
movq %rcx, 0x88(%rax)
movq -0x10(%rbp), %rax
leaq 0x7c7(%rip), %rcx       # 0xc290
movq %rcx, 0x90(%rax)
movq -0x10(%rbp), %rax
leaq 0x7f5(%rip), %rcx       # 0xc2d0
movq %rcx, 0x98(%rax)
movq -0x10(%rbp), %rax
leaq 0x823(%rip), %rcx       # 0xc310
movq %rcx, 0xa0(%rax)
movq -0x10(%rbp), %rax
leaq 0x851(%rip), %rcx       # 0xc350
movq %rcx, 0xa8(%rax)
movq -0x10(%rbp), %rax
leaq 0x8df(%rip), %rcx       # 0xc3f0
movq %rcx, 0xb0(%rax)
movq -0x10(%rbp), %rax
leaq 0x99d(%rip), %rcx       # 0xc4c0
movq %rcx, 0xb8(%rax)
movq -0x10(%rbp), %rax
leaq 0xa5b(%rip), %rcx       # 0xc590
movq %rcx, 0xc0(%rax)
movq -0x10(%rbp), %rax
leaq 0xb09(%rip), %rcx       # 0xc650
movq %rcx, 0xc8(%rax)
movq -0x10(%rbp), %rax
leaq 0xb87(%rip), %rcx       # 0xc6e0
movq %rcx, 0xd0(%rax)
popq %rbp
retq
nopw %cs:(%rax,%rax)