LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/libraries/libwebp/src/dsp/lossless_sse2.c
// Function: ClampedAddSubtractFull_SSE2
static WEBP_INLINE uint32_t ClampedAddSubtractFull_SSE2(uint32_t c0,
                                                        uint32_t c1,
                                                        uint32_t c2) {
  const __m128i zero = _mm_setzero_si128();
  const __m128i C0 = _mm_unpacklo_epi8(_mm_cvtsi32_si128((int)c0), zero);
  const __m128i C1 = _mm_unpacklo_epi8(_mm_cvtsi32_si128((int)c1), zero);
  const __m128i C2 = _mm_unpacklo_epi8(_mm_cvtsi32_si128((int)c2), zero);
  const __m128i V1 = _mm_add_epi16(C0, C1);
  const __m128i V2 = _mm_sub_epi16(V1, C2);
  const __m128i b = _mm_packus_epi16(V2, V2);
  return (uint32_t)_mm_cvtsi128_si32(b);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x150, %rsp            # imm = 0x150
movl %edi, -0x154(%rbp)
movl %esi, -0x158(%rbp)
movl %edx, -0x15c(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -0x150(%rbp)
movaps -0x150(%rbp), %xmm0
movaps %xmm0, -0x170(%rbp)
movl -0x154(%rbp), %eax
movl %eax, -0x84(%rbp)
movd -0x84(%rbp), %xmm0
movaps %xmm0, -0xa0(%rbp)
movaps -0xa0(%rbp), %xmm1
movaps -0x170(%rbp), %xmm0
movaps %xmm1, -0xf0(%rbp)
movaps %xmm0, -0x100(%rbp)
movaps -0xf0(%rbp), %xmm0
movaps -0x100(%rbp), %xmm1
punpcklbw %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3],xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
movaps %xmm0, -0x180(%rbp)
movl -0x158(%rbp), %eax
movl %eax, -0xa4(%rbp)
movd -0xa4(%rbp), %xmm0
movaps %xmm0, -0xc0(%rbp)
movaps -0xc0(%rbp), %xmm1
movaps -0x170(%rbp), %xmm0
movaps %xmm1, -0x110(%rbp)
movaps %xmm0, -0x120(%rbp)
movaps -0x110(%rbp), %xmm0
movaps -0x120(%rbp), %xmm1
punpcklbw %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3],xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
movaps %xmm0, -0x190(%rbp)
movl -0x15c(%rbp), %eax
movl %eax, -0xc4(%rbp)
movd -0xc4(%rbp), %xmm0
movaps %xmm0, -0xe0(%rbp)
movaps -0xe0(%rbp), %xmm1
movaps -0x170(%rbp), %xmm0
movaps %xmm1, -0x130(%rbp)
movaps %xmm0, -0x140(%rbp)
movaps -0x130(%rbp), %xmm0
movaps -0x140(%rbp), %xmm1
punpcklbw %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3],xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
movaps %xmm0, -0x1a0(%rbp)
movaps -0x180(%rbp), %xmm1
movaps -0x190(%rbp), %xmm0
movaps %xmm1, -0x70(%rbp)
movaps %xmm0, -0x80(%rbp)
movaps -0x70(%rbp), %xmm0
movaps -0x80(%rbp), %xmm1
paddw %xmm1, %xmm0
movaps %xmm0, -0x1b0(%rbp)
movaps -0x1b0(%rbp), %xmm1
movaps -0x1a0(%rbp), %xmm0
movaps %xmm1, -0x10(%rbp)
movaps %xmm0, -0x20(%rbp)
movaps -0x10(%rbp), %xmm0
movaps -0x20(%rbp), %xmm1
psubw %xmm1, %xmm0
movaps %xmm0, -0x1c0(%rbp)
movaps -0x1c0(%rbp), %xmm0
movaps %xmm0, -0x50(%rbp)
movaps %xmm0, -0x60(%rbp)
movaps -0x50(%rbp), %xmm0
movaps -0x60(%rbp), %xmm1
packuswb %xmm1, %xmm0
movaps %xmm0, -0x1d0(%rbp)
movaps -0x1d0(%rbp), %xmm0
movaps %xmm0, -0x30(%rbp)
movaps -0x30(%rbp), %xmm0
movaps %xmm0, -0x40(%rbp)
movl -0x40(%rbp), %eax
addq $0x150, %rsp            # imm = 0x150
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/libraries/libwebp/src/dsp/rescaler_sse2.c
// Function: WebPRescalerDspInitSSE2
WEBP_TSAN_IGNORE_FUNCTION void WebPRescalerDspInitSSE2(void) {
  WebPRescalerImportRowExpand = RescalerImportRowExpand_SSE2;
  WebPRescalerImportRowShrink = RescalerImportRowShrink_SSE2;
  WebPRescalerExportRowExpand = RescalerExportRowExpand_SSE2;
  WebPRescalerExportRowShrink = RescalerExportRowShrink_SSE2;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0xad02d(%rip), %rax     # 0x219238
leaq 0x3e(%rip), %rcx        # 0x16c250
movq %rcx, (%rax)
leaq 0xad014(%rip), %rax     # 0x219230
leaq 0x4dd(%rip), %rcx       # 0x16c700
movq %rcx, (%rax)
leaq 0xad013(%rip), %rax     # 0x219240
leaq 0xcbc(%rip), %rcx       # 0x16cef0
movq %rcx, (%rax)
leaq 0xad00a(%rip), %rax     # 0x219248
leaq 0x154b(%rip), %rcx      # 0x16d790
movq %rcx, (%rax)
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/libraries/libwebp/src/dsp/rescaler_sse2.c
// Function: LoadTwoPixels_SSE2
static void LoadTwoPixels_SSE2(const uint8_t* const src, __m128i* out) {
  const __m128i zero = _mm_setzero_si128();
  const __m128i A = _mm_loadl_epi64((const __m128i*)(src));  // ABCDEFGH
  const __m128i B = _mm_unpacklo_epi8(A, zero);              // A0B0C0D0E0F0G0H0
  const __m128i C = _mm_srli_si128(B, 8);                    // E0F0G0H0
  *out = _mm_unpacklo_epi16(B, C);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x78(%rbp)
movq %rsi, -0x80(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -0x70(%rbp)
movaps -0x70(%rbp), %xmm0
movaps %xmm0, -0x90(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rax
movq (%rax), %xmm0
movaps %xmm0, -0x60(%rbp)
movaps -0x60(%rbp), %xmm0
movaps %xmm0, -0xa0(%rbp)
movaps -0xa0(%rbp), %xmm1
movaps -0x90(%rbp), %xmm0
movaps %xmm1, -0x30(%rbp)
movaps %xmm0, -0x40(%rbp)
movaps -0x30(%rbp), %xmm0
movaps -0x40(%rbp), %xmm1
punpcklbw %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3],xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
movaps %xmm0, -0xb0(%rbp)
movaps -0xb0(%rbp), %xmm0
psrldq $0x8, %xmm0             # xmm0 = xmm0[8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero
movaps %xmm0, -0xc0(%rbp)
movaps -0xb0(%rbp), %xmm1
movaps -0xc0(%rbp), %xmm0
movaps %xmm1, -0x10(%rbp)
movaps %xmm0, -0x20(%rbp)
movaps -0x10(%rbp), %xmm0
movaps -0x20(%rbp), %xmm1
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
movq -0x80(%rbp), %rax
movdqa %xmm0, (%rax)
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/libraries/libwebp/src/dsp/upsampling_sse2.c
// Function: WebPInitUpsamplersSSE2
WEBP_TSAN_IGNORE_FUNCTION void WebPInitUpsamplersSSE2(void) {
  WebPUpsamplers[MODE_RGBA] = UpsampleRgbaLinePair_SSE2;
  WebPUpsamplers[MODE_BGRA] = UpsampleBgraLinePair_SSE2;
  WebPUpsamplers[MODE_rgbA] = UpsampleRgbaLinePair_SSE2;
  WebPUpsamplers[MODE_bgrA] = UpsampleBgraLinePair_SSE2;
#if !defined(WEBP_REDUCE_CSP)
  WebPUpsamplers[MODE_RGB]  = UpsampleRgbLinePair_SSE2;
  WebPUpsamplers[MODE_BGR]  = UpsampleBgrLinePair_SSE2;
  WebPUpsamplers[MODE_ARGB] = UpsampleArgbLinePair_SSE2;
  WebPUpsamplers[MODE_Argb] = UpsampleArgbLinePair_SSE2;
  WebPUpsamplers[MODE_RGB_565] = UpsampleRgb565LinePair_SSE2;
  WebPUpsamplers[MODE_RGBA_4444] = UpsampleRgba4444LinePair_SSE2;
  WebPUpsamplers[MODE_rgbA_4444] = UpsampleRgba4444LinePair_SSE2;
#endif   // WEBP_REDUCE_CSP
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0xaa915(%rip), %rax     # 0x219250
leaq 0xbe(%rip), %rcx        # 0x16ea00
movq %rcx, 0x8(%rax)
leaq 0xaa903(%rip), %rax     # 0x219250
leaq 0x191c(%rip), %rcx      # 0x170270
movq %rcx, 0x18(%rax)
leaq 0xaa8f1(%rip), %rax     # 0x219250
leaq 0x9a(%rip), %rcx        # 0x16ea00
movq %rcx, 0x38(%rax)
leaq 0xaa8df(%rip), %rax     # 0x219250
leaq 0x18f8(%rip), %rcx      # 0x170270
movq %rcx, 0x40(%rax)
leaq 0xaa8cd(%rip), %rax     # 0x219250
leaq 0x3156(%rip), %rcx      # 0x171ae0
movq %rcx, (%rax)
leaq 0xaa8bc(%rip), %rax     # 0x219250
leaq 0x4995(%rip), %rcx      # 0x173330
movq %rcx, 0x10(%rax)
leaq 0xaa8aa(%rip), %rax     # 0x219250
leaq 0x61d3(%rip), %rcx      # 0x174b80
movq %rcx, 0x20(%rax)
leaq 0xaa898(%rip), %rax     # 0x219250
leaq 0x61c1(%rip), %rcx      # 0x174b80
movq %rcx, 0x48(%rax)
leaq 0xaa886(%rip), %rax     # 0x219250
leaq 0x7a1f(%rip), %rcx      # 0x1763f0
movq %rcx, 0x30(%rax)
leaq 0xaa874(%rip), %rax     # 0x219250
leaq 0x925d(%rip), %rcx      # 0x177c40
movq %rcx, 0x28(%rax)
leaq 0xaa862(%rip), %rax     # 0x219250
leaq 0x924b(%rip), %rcx      # 0x177c40
movq %rcx, 0x50(%rax)
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/libraries/libwebp/src/dsp/upsampling_sse2.c
// Function: WebPInitYUV444ConvertersSSE2
WEBP_TSAN_IGNORE_FUNCTION void WebPInitYUV444ConvertersSSE2(void) {
  WebPYUV444Converters[MODE_RGBA]      = Yuv444ToRgba_SSE2;
  WebPYUV444Converters[MODE_BGRA]      = Yuv444ToBgra_SSE2;
  WebPYUV444Converters[MODE_rgbA]      = Yuv444ToRgba_SSE2;
  WebPYUV444Converters[MODE_bgrA]      = Yuv444ToBgra_SSE2;
#if !defined(WEBP_REDUCE_CSP)
  WebPYUV444Converters[MODE_RGB]       = Yuv444ToRgb_SSE2;
  WebPYUV444Converters[MODE_BGR]       = Yuv444ToBgr_SSE2;
  WebPYUV444Converters[MODE_ARGB]      = Yuv444ToArgb_SSE2;
  WebPYUV444Converters[MODE_RGBA_4444] = Yuv444ToRgba4444_SSE2;
  WebPYUV444Converters[MODE_RGB_565]   = Yuv444ToRgb565_SSE2;
  WebPYUV444Converters[MODE_Argb]      = Yuv444ToArgb_SSE2;
  WebPYUV444Converters[MODE_rgbA_4444] = Yuv444ToRgba4444_SSE2;
#endif   // WEBP_REDUCE_CSP
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0x9fe25(%rip), %rax     # 0x2192c0
leaq 0xbe(%rip), %rcx        # 0x179560
movq %rcx, 0x8(%rax)
leaq 0x9fe13(%rip), %rax     # 0x2192c0
leaq 0x16c(%rip), %rcx       # 0x179620
movq %rcx, 0x18(%rax)
leaq 0x9fe01(%rip), %rax     # 0x2192c0
leaq 0x9a(%rip), %rcx        # 0x179560
movq %rcx, 0x38(%rax)
leaq 0x9fdef(%rip), %rax     # 0x2192c0
leaq 0x148(%rip), %rcx       # 0x179620
movq %rcx, 0x40(%rax)
leaq 0x9fddd(%rip), %rax     # 0x2192c0
leaq 0x1f6(%rip), %rcx       # 0x1796e0
movq %rcx, (%rax)
leaq 0x9fdcc(%rip), %rax     # 0x2192c0
leaq 0x2a5(%rip), %rcx       # 0x1797a0
movq %rcx, 0x10(%rax)
leaq 0x9fdba(%rip), %rax     # 0x2192c0
leaq 0x353(%rip), %rcx       # 0x179860
movq %rcx, 0x20(%rax)
leaq 0x9fda8(%rip), %rax     # 0x2192c0
leaq 0x401(%rip), %rcx       # 0x179920
movq %rcx, 0x28(%rax)
leaq 0x9fd96(%rip), %rax     # 0x2192c0
leaq 0x4af(%rip), %rcx       # 0x1799e0
movq %rcx, 0x30(%rax)
leaq 0x9fd84(%rip), %rax     # 0x2192c0
leaq 0x31d(%rip), %rcx       # 0x179860
movq %rcx, 0x48(%rax)
leaq 0x9fd72(%rip), %rax     # 0x2192c0
leaq 0x3cb(%rip), %rcx       # 0x179920
movq %rcx, 0x50(%rax)
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/libraries/libwebp/src/dsp/yuv_sse2.c
// Function: VP8YuvToRgba32_SSE2
void VP8YuvToRgba32_SSE2(const uint8_t* y, const uint8_t* u, const uint8_t* v,
                         uint8_t* dst) {
  const __m128i kAlpha = _mm_set1_epi16(255);
  int n;
  for (n = 0; n < 32; n += 8, dst += 32) {
    __m128i R, G, B;
    YUV444ToRGB_SSE2(y + n, u + n, v + n, &R, &G, &B);
    PackAndStore4_SSE2(&R, &G, &B, &kAlpha, dst);
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x30(%rbp)
movq %rsi, -0x38(%rbp)
movq %rdx, -0x40(%rbp)
movq %rcx, -0x48(%rbp)
movw $0xff, -0x22(%rbp)
movw -0x22(%rbp), %ax
movw %ax, -0xa2(%rbp)
movw %ax, -0x2(%rbp)
movw %ax, -0x4(%rbp)
movw %ax, -0x6(%rbp)
movw %ax, -0x8(%rbp)
movw %ax, -0xa(%rbp)
movw %ax, -0xc(%rbp)
movw %ax, -0xe(%rbp)
movw %ax, -0x10(%rbp)
movzwl -0x2(%rbp), %eax
movd %eax, %xmm1
movzwl -0x4(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
movzwl -0x6(%rbp), %eax
movd %eax, %xmm2
movzwl -0x8(%rbp), %eax
movd %eax, %xmm1
punpcklwd %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movzwl -0xa(%rbp), %eax
movd %eax, %xmm0
movzwl -0xc(%rbp), %eax
movd %eax, %xmm2
punpcklwd %xmm0, %xmm2    # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
movzwl -0xe(%rbp), %eax
movd %eax, %xmm3
movzwl -0x10(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movdqa %xmm0, -0x20(%rbp)
movdqa -0x20(%rbp), %xmm0
movdqa %xmm0, -0x60(%rbp)
movl $0x0, -0x64(%rbp)
cmpl $0x20, -0x64(%rbp)
jge 0x17a912
movq -0x30(%rbp), %rdi
movslq -0x64(%rbp), %rax
addq %rax, %rdi
movq -0x38(%rbp), %rsi
movslq -0x64(%rbp), %rax
addq %rax, %rsi
movq -0x40(%rbp), %rdx
movslq -0x64(%rbp), %rax
addq %rax, %rdx
leaq -0x80(%rbp), %rcx
leaq -0x90(%rbp), %r8
leaq -0xa0(%rbp), %r9
callq 0x17a920
movq -0x48(%rbp), %r8
leaq -0x80(%rbp), %rdi
leaq -0x90(%rbp), %rsi
leaq -0xa0(%rbp), %rdx
leaq -0x60(%rbp), %rcx
callq 0x17a990
movl -0x64(%rbp), %eax
addl $0x8, %eax
movl %eax, -0x64(%rbp)
movq -0x48(%rbp), %rax
addq $0x20, %rax
movq %rax, -0x48(%rbp)
jmp 0x17a89e
addq $0xb0, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/libraries/libwebp/src/dsp/yuv_sse2.c
// Function: VP8YuvToRgba444432_SSE2
void VP8YuvToRgba444432_SSE2(const uint8_t* y, const uint8_t* u,
                             const uint8_t* v, uint8_t* dst) {
  const __m128i kAlpha = _mm_set1_epi16(255);
  int n;
  for (n = 0; n < 32; n += 8, dst += 16) {
    __m128i R, G, B;
    YUV444ToRGB_SSE2(y + n, u + n, v + n, &R, &G, &B);
    PackAndStore4444_SSE2(&R, &G, &B, &kAlpha, dst);
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x30(%rbp)
movq %rsi, -0x38(%rbp)
movq %rdx, -0x40(%rbp)
movq %rcx, -0x48(%rbp)
movw $0xff, -0x22(%rbp)
movw -0x22(%rbp), %ax
movw %ax, -0xa2(%rbp)
movw %ax, -0x2(%rbp)
movw %ax, -0x4(%rbp)
movw %ax, -0x6(%rbp)
movw %ax, -0x8(%rbp)
movw %ax, -0xa(%rbp)
movw %ax, -0xc(%rbp)
movw %ax, -0xe(%rbp)
movw %ax, -0x10(%rbp)
movzwl -0x2(%rbp), %eax
movd %eax, %xmm1
movzwl -0x4(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
movzwl -0x6(%rbp), %eax
movd %eax, %xmm2
movzwl -0x8(%rbp), %eax
movd %eax, %xmm1
punpcklwd %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movzwl -0xa(%rbp), %eax
movd %eax, %xmm0
movzwl -0xc(%rbp), %eax
movd %eax, %xmm2
punpcklwd %xmm0, %xmm2    # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
movzwl -0xe(%rbp), %eax
movd %eax, %xmm3
movzwl -0x10(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movdqa %xmm0, -0x20(%rbp)
movdqa -0x20(%rbp), %xmm0
movdqa %xmm0, -0x60(%rbp)
movl $0x0, -0x64(%rbp)
cmpl $0x20, -0x64(%rbp)
jge 0x17af02
movq -0x30(%rbp), %rdi
movslq -0x64(%rbp), %rax
addq %rax, %rdi
movq -0x38(%rbp), %rsi
movslq -0x64(%rbp), %rax
addq %rax, %rsi
movq -0x40(%rbp), %rdx
movslq -0x64(%rbp), %rax
addq %rax, %rdx
leaq -0x80(%rbp), %rcx
leaq -0x90(%rbp), %r8
leaq -0xa0(%rbp), %r9
callq 0x17a920
movq -0x48(%rbp), %r8
leaq -0x80(%rbp), %rdi
leaq -0x90(%rbp), %rsi
leaq -0xa0(%rbp), %rdx
leaq -0x60(%rbp), %rcx
callq 0x17af10
movl -0x64(%rbp), %eax
addl $0x8, %eax
movl %eax, -0x64(%rbp)
movq -0x48(%rbp), %rax
addq $0x10, %rax
movq %rax, -0x48(%rbp)
jmp 0x17ae8e
addq $0xb0, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/libraries/libwebp/src/dsp/yuv_sse2.c
// Function: VP8YuvToRgb56532_SSE2
void VP8YuvToRgb56532_SSE2(const uint8_t* y, const uint8_t* u, const uint8_t* v,
                           uint8_t* dst) {
  int n;
  for (n = 0; n < 32; n += 8, dst += 16) {
    __m128i R, G, B;
    YUV444ToRGB_SSE2(y + n, u + n, v + n, &R, &G, &B);
    PackAndStore565_SSE2(&R, &G, &B, dst);
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movl $0x0, -0x24(%rbp)
cmpl $0x20, -0x24(%rbp)
jge 0x17b293
movq -0x8(%rbp), %rdi
movslq -0x24(%rbp), %rax
addq %rax, %rdi
movq -0x10(%rbp), %rsi
movslq -0x24(%rbp), %rax
addq %rax, %rsi
movq -0x18(%rbp), %rdx
movslq -0x24(%rbp), %rax
addq %rax, %rdx
leaq -0x40(%rbp), %rcx
leaq -0x50(%rbp), %r8
leaq -0x60(%rbp), %r9
callq 0x17a920
movq -0x20(%rbp), %rcx
leaq -0x40(%rbp), %rdi
leaq -0x50(%rbp), %rsi
leaq -0x60(%rbp), %rdx
callq 0x17b2a0
movl -0x24(%rbp), %eax
addl $0x8, %eax
movl %eax, -0x24(%rbp)
movq -0x20(%rbp), %rax
addq $0x10, %rax
movq %rax, -0x20(%rbp)
jmp 0x17b22f
addq $0x60, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/libraries/libwebp/src/dsp/yuv_sse2.c
// Function: PlanarTo24b_SSE2
static WEBP_INLINE void PlanarTo24b_SSE2(__m128i* const in0, __m128i* const in1,
                                         __m128i* const in2, __m128i* const in3,
                                         __m128i* const in4, __m128i* const in5,
                                         uint8_t* const rgb) {
  // The input is 6 registers of sixteen 8b but for the sake of explanation,
  // let's take 6 registers of four 8b values.
  // To pack, we will keep taking one every two 8b integer and move it
  // around as follows:
  // Input:
  //   r0r1r2r3 | r4r5r6r7 | g0g1g2g3 | g4g5g6g7 | b0b1b2b3 | b4b5b6b7
  // Split the 6 registers in two sets of 3 registers: the first set as the even
  // 8b bytes, the second the odd ones:
  //   r0r2r4r6 | g0g2g4g6 | b0b2b4b6 | r1r3r5r7 | g1g3g5g7 | b1b3b5b7
  // Repeat the same permutations twice more:
  //   r0r4g0g4 | b0b4r1r5 | g1g5b1b5 | r2r6g2g6 | b2b6r3r7 | g3g7b3b7
  //   r0g0b0r1 | g1b1r2g2 | b2r3g3b3 | r4g4b4r5 | g5b5r6g6 | b6r7g7b7
  VP8PlanarTo24b_SSE2(in0, in1, in2, in3, in4, in5);

  _mm_storeu_si128((__m128i*)(rgb +  0), *in0);
  _mm_storeu_si128((__m128i*)(rgb + 16), *in1);
  _mm_storeu_si128((__m128i*)(rgb + 32), *in2);
  _mm_storeu_si128((__m128i*)(rgb + 48), *in3);
  _mm_storeu_si128((__m128i*)(rgb + 64), *in4);
  _mm_storeu_si128((__m128i*)(rgb + 80), *in5);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xf0, %rsp
movq 0x10(%rbp), %rax
movq %rdi, -0xc8(%rbp)
movq %rsi, -0xd0(%rbp)
movq %rdx, -0xd8(%rbp)
movq %rcx, -0xe0(%rbp)
movq %r8, -0xe8(%rbp)
movq %r9, -0xf0(%rbp)
movq -0xc8(%rbp), %rdi
movq -0xd0(%rbp), %rsi
movq -0xd8(%rbp), %rdx
movq -0xe0(%rbp), %rcx
movq -0xe8(%rbp), %r8
movq -0xf0(%rbp), %r9
callq 0x17e6b0
movq 0x10(%rbp), %rax
movq -0xc8(%rbp), %rcx
movdqa (%rcx), %xmm0
movq %rax, -0x8(%rbp)
movdqa %xmm0, -0x20(%rbp)
movdqa -0x20(%rbp), %xmm0
movq -0x8(%rbp), %rax
movdqu %xmm0, (%rax)
movq 0x10(%rbp), %rax
addq $0x10, %rax
movq -0xd0(%rbp), %rcx
movdqa (%rcx), %xmm0
movq %rax, -0x28(%rbp)
movdqa %xmm0, -0x40(%rbp)
movdqa -0x40(%rbp), %xmm0
movq -0x28(%rbp), %rax
movdqu %xmm0, (%rax)
movq 0x10(%rbp), %rax
addq $0x20, %rax
movq -0xd8(%rbp), %rcx
movdqa (%rcx), %xmm0
movq %rax, -0x48(%rbp)
movdqa %xmm0, -0x60(%rbp)
movdqa -0x60(%rbp), %xmm0
movq -0x48(%rbp), %rax
movdqu %xmm0, (%rax)
movq 0x10(%rbp), %rax
addq $0x30, %rax
movq -0xe0(%rbp), %rcx
movdqa (%rcx), %xmm0
movq %rax, -0x68(%rbp)
movdqa %xmm0, -0x80(%rbp)
movdqa -0x80(%rbp), %xmm0
movq -0x68(%rbp), %rax
movdqu %xmm0, (%rax)
movq 0x10(%rbp), %rax
addq $0x40, %rax
movq -0xe8(%rbp), %rcx
movdqa (%rcx), %xmm0
movq %rax, -0x88(%rbp)
movdqa %xmm0, -0xa0(%rbp)
movdqa -0xa0(%rbp), %xmm0
movq -0x88(%rbp), %rax
movdqu %xmm0, (%rax)
movq 0x10(%rbp), %rax
addq $0x50, %rax
movq -0xf0(%rbp), %rcx
movdqa (%rcx), %xmm0
movq %rax, -0xa8(%rbp)
movdqa %xmm0, -0xc0(%rbp)
movdqa -0xc0(%rbp), %xmm0
movq -0xa8(%rbp), %rax
movdqu %xmm0, (%rax)
addq $0xf0, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/libraries/libwebp/src/dsp/yuv_sse2.c
// Function: WebPInitSamplersSSE2
WEBP_TSAN_IGNORE_FUNCTION void WebPInitSamplersSSE2(void) {
  WebPSamplers[MODE_RGB]  = YuvToRgbRow_SSE2;
  WebPSamplers[MODE_RGBA] = YuvToRgbaRow_SSE2;
  WebPSamplers[MODE_BGR]  = YuvToBgrRow_SSE2;
  WebPSamplers[MODE_BGRA] = YuvToBgraRow_SSE2;
  WebPSamplers[MODE_ARGB] = YuvToArgbRow_SSE2;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0x9d2c5(%rip), %rax     # 0x219330
leaq 0x4e(%rip), %rcx        # 0x17c0c0
movq %rcx, (%rax)
leaq 0x9d2b4(%rip), %rax     # 0x219330
leaq 0x3fd(%rip), %rcx       # 0x17c480
movq %rcx, 0x8(%rax)
leaq 0x9d2a2(%rip), %rax     # 0x219330
leaq 0x5cb(%rip), %rcx       # 0x17c660
movq %rcx, 0x10(%rax)
leaq 0x9d290(%rip), %rax     # 0x219330
leaq 0x979(%rip), %rcx       # 0x17ca20
movq %rcx, 0x18(%rax)
leaq 0x9d27e(%rip), %rax     # 0x219330
leaq 0xb47(%rip), %rcx       # 0x17cc00
movq %rcx, 0x20(%rax)
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/libraries/libwebp/src/dsp/yuv_sse2.c
// Function: WebPInitConvertARGBToYUVSSE2
WEBP_TSAN_IGNORE_FUNCTION void WebPInitConvertARGBToYUVSSE2(void) {
  WebPConvertARGBToY = ConvertARGBToY_SSE2;
  WebPConvertARGBToUV = ConvertARGBToUV_SSE2;

  WebPConvertRGB24ToY = ConvertRGB24ToY_SSE2;
  WebPConvertBGR24ToY = ConvertBGR24ToY_SSE2;

  WebPConvertRGBA32ToUV = ConvertRGBA32ToUV_SSE2;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0x9c5c5(%rip), %rax     # 0x2193b0
leaq 0x4e(%rip), %rcx        # 0x17ce40
movq %rcx, (%rax)
leaq 0x9c5bc(%rip), %rax     # 0x2193b8
leaq 0x1ad(%rip), %rcx       # 0x17cfb0
movq %rcx, (%rax)
leaq 0x9c58b(%rip), %rax     # 0x219398
leaq 0x56c(%rip), %rcx       # 0x17d380
movq %rcx, (%rax)
leaq 0x9c582(%rip), %rax     # 0x2193a0
leaq 0x8ab(%rip), %rcx       # 0x17d6d0
movq %rcx, (%rax)
leaq 0x9c579(%rip), %rax     # 0x2193a8
leaq 0xbea(%rip), %rcx       # 0x17da20
movq %rcx, (%rax)
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/libraries/libwebp/src/dsp/yuv_sse2.c
// Function: ConvertARGBToY_SSE2
static void ConvertARGBToY_SSE2(const uint32_t* argb, uint8_t* y, int width) {
  const int max_width = width & ~15;
  int i;
  for (i = 0; i < max_width; i += 16) {
    __m128i Y0, Y1, rgb[6];
    RGB32PackedToPlanar_SSE2(&argb[i], rgb);
    ConvertRGBToY_SSE2(&rgb[0], &rgb[2], &rgb[4], &Y0);
    ConvertRGBToY_SSE2(&rgb[1], &rgb[3], &rgb[5], &Y1);
    STORE_16(_mm_packus_epi16(Y0, Y1), y + i);
  }
  for (; i < width; ++i) {   // left-over
    const uint32_t p = argb[i];
    y[i] = VP8RGBToY((p >> 16) & 0xff, (p >> 8) & 0xff, (p >>  0) & 0xff,
                     YUV_HALF);
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xf0, %rsp
movq %rdi, -0x48(%rbp)
movq %rsi, -0x50(%rbp)
movl %edx, -0x54(%rbp)
movl -0x54(%rbp), %eax
andl $-0x10, %eax
movl %eax, -0x58(%rbp)
movl $0x0, -0x5c(%rbp)
movl -0x5c(%rbp), %eax
cmpl -0x58(%rbp), %eax
jge 0x17cf2e
movq -0x48(%rbp), %rdi
movslq -0x5c(%rbp), %rax
shlq $0x2, %rax
addq %rax, %rdi
leaq -0xe0(%rbp), %rsi
callq 0x180040
leaq -0xe0(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
addq $0x20, %rsi
leaq -0xe0(%rbp), %rdx
addq $0x40, %rdx
leaq -0x70(%rbp), %rcx
callq 0x180240
leaq -0xe0(%rbp), %rdi
addq $0x10, %rdi
leaq -0xe0(%rbp), %rsi
addq $0x30, %rsi
leaq -0xe0(%rbp), %rdx
addq $0x50, %rdx
leaq -0x80(%rbp), %rcx
callq 0x180240
movq -0x50(%rbp), %rax
movslq -0x5c(%rbp), %rcx
addq %rcx, %rax
movdqa -0x70(%rbp), %xmm1
movdqa -0x80(%rbp), %xmm0
movdqa %xmm1, -0x30(%rbp)
movdqa %xmm0, -0x40(%rbp)
movdqa -0x30(%rbp), %xmm0
movdqa -0x40(%rbp), %xmm1
packuswb %xmm1, %xmm0
movq %rax, -0x8(%rbp)
movdqa %xmm0, -0x20(%rbp)
movdqa -0x20(%rbp), %xmm0
movq -0x8(%rbp), %rax
movdqu %xmm0, (%rax)
movl -0x5c(%rbp), %eax
addl $0x10, %eax
movl %eax, -0x5c(%rbp)
jmp 0x17ce66
jmp 0x17cf30
movl -0x5c(%rbp), %eax
cmpl -0x54(%rbp), %eax
jge 0x17cf98
movq -0x48(%rbp), %rax
movslq -0x5c(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0xe4(%rbp)
movl -0xe4(%rbp), %edi
shrl $0x10, %edi
andl $0xff, %edi
movl -0xe4(%rbp), %esi
shrl $0x8, %esi
andl $0xff, %esi
movl -0xe4(%rbp), %edx
shrl $0x0, %edx
andl $0xff, %edx
movl $0x8000, %ecx           # imm = 0x8000
callq 0x1807c0
movb %al, %dl
movq -0x50(%rbp), %rax
movslq -0x5c(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -0x5c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5c(%rbp)
jmp 0x17cf30
addq $0xf0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/libraries/libwebp/src/dsp/yuv_sse2.c
// Function: ConvertRGBA32ToUV_SSE2
static void ConvertRGBA32ToUV_SSE2(const uint16_t* rgb,
                                   uint8_t* u, uint8_t* v, int width) {
  const int max_width = width & ~15;
  const uint16_t* const last_rgb = rgb + 4 * max_width;
  while (rgb < last_rgb) {
    __m128i r, g, b, U0, V0, U1, V1;
    RGBA32PackedToPlanar_16b_SSE2(rgb +  0, &r, &g, &b);
    ConvertRGBToUV_SSE2(&r, &g, &b, &U0, &V0);
    RGBA32PackedToPlanar_16b_SSE2(rgb + 32, &r, &g, &b);
    ConvertRGBToUV_SSE2(&r, &g, &b, &U1, &V1);
    STORE_16(_mm_packus_epi16(U0, U1), u);
    STORE_16(_mm_packus_epi16(V0, V1), v);
    u += 16;
    v += 16;
    rgb += 2 * 32;
  }
  if (max_width < width) {  // left-over
    WebPConvertRGBA32ToUV_C(rgb, u, v, width - max_width);
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x120, %rsp            # imm = 0x120
movq %rdi, -0x88(%rbp)
movq %rsi, -0x90(%rbp)
movq %rdx, -0x98(%rbp)
movl %ecx, -0x9c(%rbp)
movl -0x9c(%rbp), %eax
andl $-0x10, %eax
movl %eax, -0xa0(%rbp)
movq -0x88(%rbp), %rax
movl -0xa0(%rbp), %ecx
shll $0x2, %ecx
movslq %ecx, %rcx
shlq %rcx
addq %rcx, %rax
movq %rax, -0xa8(%rbp)
movq -0x88(%rbp), %rax
cmpq -0xa8(%rbp), %rax
jae 0x17dbe6
movq -0x88(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
leaq -0xd0(%rbp), %rdx
leaq -0xe0(%rbp), %rcx
callq 0x1818f0
leaq -0xc0(%rbp), %rdi
leaq -0xd0(%rbp), %rsi
leaq -0xe0(%rbp), %rdx
leaq -0xf0(%rbp), %rcx
leaq -0x100(%rbp), %r8
callq 0x180ce0
movq -0x88(%rbp), %rdi
addq $0x40, %rdi
leaq -0xc0(%rbp), %rsi
leaq -0xd0(%rbp), %rdx
leaq -0xe0(%rbp), %rcx
callq 0x1818f0
leaq -0xc0(%rbp), %rdi
leaq -0xd0(%rbp), %rsi
leaq -0xe0(%rbp), %rdx
leaq -0x110(%rbp), %rcx
leaq -0x120(%rbp), %r8
callq 0x180ce0
movq -0x90(%rbp), %rax
movdqa -0xf0(%rbp), %xmm1
movdqa -0x110(%rbp), %xmm0
movdqa %xmm1, -0x50(%rbp)
movdqa %xmm0, -0x60(%rbp)
movdqa -0x50(%rbp), %xmm0
movdqa -0x60(%rbp), %xmm1
packuswb %xmm1, %xmm0
movq %rax, -0x8(%rbp)
movdqa %xmm0, -0x20(%rbp)
movdqa -0x20(%rbp), %xmm0
movq -0x8(%rbp), %rax
movdqu %xmm0, (%rax)
movq -0x98(%rbp), %rax
movdqa -0x100(%rbp), %xmm1
movdqa -0x120(%rbp), %xmm0
movdqa %xmm1, -0x70(%rbp)
movdqa %xmm0, -0x80(%rbp)
movdqa -0x70(%rbp), %xmm0
movdqa -0x80(%rbp), %xmm1
packuswb %xmm1, %xmm0
movq %rax, -0x28(%rbp)
movdqa %xmm0, -0x40(%rbp)
movdqa -0x40(%rbp), %xmm0
movq -0x28(%rbp), %rax
movdqu %xmm0, (%rax)
movq -0x90(%rbp), %rax
addq $0x10, %rax
movq %rax, -0x90(%rbp)
movq -0x98(%rbp), %rax
addq $0x10, %rax
movq %rax, -0x98(%rbp)
movq -0x88(%rbp), %rax
addq $0x80, %rax
movq %rax, -0x88(%rbp)
jmp 0x17da75
movl -0xa0(%rbp), %eax
cmpl -0x9c(%rbp), %eax
jge 0x17dc1a
movq -0x88(%rbp), %rdi
movq -0x90(%rbp), %rsi
movq -0x98(%rbp), %rdx
movl -0x9c(%rbp), %ecx
subl -0xa0(%rbp), %ecx
callq 0x153ea0
addq $0x120, %rsp            # imm = 0x120
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/libraries/libwebp/src/dsp/yuv_sse2.c
// Function: Load_UV_HI_8_SSE2
static WEBP_INLINE __m128i Load_UV_HI_8_SSE2(const uint8_t* src) {
  const __m128i zero = _mm_setzero_si128();
  const __m128i tmp0 = _mm_cvtsi32_si128(WebPMemToInt32(src));
  const __m128i tmp1 = _mm_unpacklo_epi8(zero, tmp0);
  return _mm_unpacklo_epi16(tmp1, tmp1);   // replicate samples
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x78(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -0x70(%rbp)
movaps -0x70(%rbp), %xmm0
movaps %xmm0, -0x90(%rbp)
movq -0x78(%rbp), %rdi
callq 0x17fd50
movl %eax, -0x4(%rbp)
movd -0x4(%rbp), %xmm0
movaps %xmm0, -0x20(%rbp)
movaps -0x20(%rbp), %xmm0
movaps %xmm0, -0xa0(%rbp)
movaps -0x90(%rbp), %xmm1
movaps -0xa0(%rbp), %xmm0
movaps %xmm1, -0x50(%rbp)
movaps %xmm0, -0x60(%rbp)
movaps -0x50(%rbp), %xmm0
movaps -0x60(%rbp), %xmm1
punpcklbw %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3],xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
movaps %xmm0, -0xb0(%rbp)
movaps -0xb0(%rbp), %xmm0
movaps %xmm0, -0x30(%rbp)
movaps %xmm0, -0x40(%rbp)
movaps -0x30(%rbp), %xmm0
movaps -0x40(%rbp), %xmm1
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
addq $0xb0, %rsp
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/libraries/libwebp/src/dsp/yuv_sse2.c
// Function: HorizontalAddPack_SSE2
static void HorizontalAddPack_SSE2(const __m128i* const A,
                                   const __m128i* const B,
                                   __m128i* const out) {
  const __m128i k2 = _mm_set1_epi16(2);
  const __m128i C = _mm_madd_epi16(*A, k2);
  const __m128i D = _mm_madd_epi16(*B, k2);
  *out = _mm_packs_epi32(C, D);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x90(%rbp)
movq %rsi, -0x98(%rbp)
movq %rdx, -0xa0(%rbp)
movw $0x2, -0x82(%rbp)
movw -0x82(%rbp), %ax
movw %ax, -0x62(%rbp)
movw %ax, -0x64(%rbp)
movw %ax, -0x66(%rbp)
movw %ax, -0x68(%rbp)
movw %ax, -0x6a(%rbp)
movw %ax, -0x6c(%rbp)
movw %ax, -0x6e(%rbp)
movw %ax, -0x70(%rbp)
movzwl -0x62(%rbp), %eax
movd %eax, %xmm1
movzwl -0x64(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
movzwl -0x66(%rbp), %eax
movd %eax, %xmm2
movzwl -0x68(%rbp), %eax
movd %eax, %xmm1
punpcklwd %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movzwl -0x6a(%rbp), %eax
movd %eax, %xmm0
movzwl -0x6c(%rbp), %eax
movd %eax, %xmm2
punpcklwd %xmm0, %xmm2    # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
movzwl -0x6e(%rbp), %eax
movd %eax, %xmm3
movzwl -0x70(%rbp), %eax
movd %eax, %xmm0
punpcklwd %xmm3, %xmm0    # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
punpckldq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movdqa %xmm0, -0x80(%rbp)
movdqa -0x80(%rbp), %xmm0
movdqa %xmm0, -0xb0(%rbp)
movq -0x90(%rbp), %rax
movdqa (%rax), %xmm1
movdqa -0xb0(%rbp), %xmm0
movdqa %xmm1, -0x30(%rbp)
movdqa %xmm0, -0x40(%rbp)
movdqa -0x30(%rbp), %xmm0
movdqa -0x40(%rbp), %xmm1
pmaddwd %xmm1, %xmm0
movdqa %xmm0, -0xc0(%rbp)
movq -0x98(%rbp), %rax
movdqa (%rax), %xmm1
movdqa -0xb0(%rbp), %xmm0
movdqa %xmm1, -0x50(%rbp)
movdqa %xmm0, -0x60(%rbp)
movdqa -0x50(%rbp), %xmm0
movdqa -0x60(%rbp), %xmm1
pmaddwd %xmm1, %xmm0
movdqa %xmm0, -0xd0(%rbp)
movdqa -0xc0(%rbp), %xmm1
movdqa -0xd0(%rbp), %xmm0
movdqa %xmm1, -0x10(%rbp)
movdqa %xmm0, -0x20(%rbp)
movdqa -0x10(%rbp), %xmm0
movdqa -0x20(%rbp), %xmm1
packssdw %xmm1, %xmm0
movq -0xa0(%rbp), %rax
movdqa %xmm0, (%rax)
addq $0x50, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/libraries/libwebp/src/dsp/yuv_sse2.c
// Function: RGB24PackedToPlanar_SSE2
static WEBP_INLINE void RGB24PackedToPlanar_SSE2(
    const uint8_t* const rgb, __m128i* const out /*out[6]*/) {
  __m128i tmp[6];
  tmp[0] = _mm_loadu_si128((const __m128i*)(rgb +  0));
  tmp[1] = _mm_loadu_si128((const __m128i*)(rgb + 16));
  tmp[2] = _mm_loadu_si128((const __m128i*)(rgb + 32));
  tmp[3] = _mm_loadu_si128((const __m128i*)(rgb + 48));
  tmp[4] = _mm_loadu_si128((const __m128i*)(rgb + 64));
  tmp[5] = _mm_loadu_si128((const __m128i*)(rgb + 80));

  RGB24PackedToPlanarHelper_SSE2(tmp, out);
  RGB24PackedToPlanarHelper_SSE2(out, tmp);
  RGB24PackedToPlanarHelper_SSE2(tmp, out);
  RGB24PackedToPlanarHelper_SSE2(out, tmp);
  RGB24PackedToPlanarHelper_SSE2(tmp, out);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x38(%rbp)
movq %rsi, -0x40(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
movdqu (%rax), %xmm0
movdqa %xmm0, -0xa0(%rbp)
movq -0x38(%rbp), %rax
addq $0x10, %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movdqu (%rax), %xmm0
movdqa %xmm0, -0x90(%rbp)
movq -0x38(%rbp), %rax
addq $0x20, %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
movdqu (%rax), %xmm0
movdqa %xmm0, -0x80(%rbp)
movq -0x38(%rbp), %rax
addq $0x30, %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movdqu (%rax), %xmm0
movdqa %xmm0, -0x70(%rbp)
movq -0x38(%rbp), %rax
addq $0x40, %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movdqu (%rax), %xmm0
movdqa %xmm0, -0x60(%rbp)
movq -0x38(%rbp), %rax
addq $0x50, %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movdqu (%rax), %xmm0
movdqa %xmm0, -0x50(%rbp)
leaq -0xa0(%rbp), %rdi
movq -0x40(%rbp), %rsi
callq 0x1817a0
movq -0x40(%rbp), %rdi
leaq -0xa0(%rbp), %rsi
callq 0x1817a0
leaq -0xa0(%rbp), %rdi
movq -0x40(%rbp), %rsi
callq 0x1817a0
movq -0x40(%rbp), %rdi
leaq -0xa0(%rbp), %rsi
callq 0x1817a0
leaq -0xa0(%rbp), %rdi
movq -0x40(%rbp), %rsi
callq 0x1817a0
addq $0xa0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/libraries/libwebp/src/dsp/yuv_sse2.c
// Function: RGB24PackedToPlanarHelper_SSE2
static WEBP_INLINE void RGB24PackedToPlanarHelper_SSE2(
    const __m128i* const in /*in[6]*/, __m128i* const out /*out[6]*/) {
  out[0] = _mm_unpacklo_epi8(in[0], in[3]);
  out[1] = _mm_unpackhi_epi8(in[0], in[3]);
  out[2] = _mm_unpacklo_epi8(in[1], in[4]);
  out[3] = _mm_unpackhi_epi8(in[1], in[4]);
  out[4] = _mm_unpacklo_epi8(in[2], in[5]);
  out[5] = _mm_unpackhi_epi8(in[2], in[5]);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0xc8(%rbp)
movq %rsi, -0xd0(%rbp)
movq -0xc8(%rbp), %rax
movaps (%rax), %xmm1
movaps 0x30(%rax), %xmm0
movaps %xmm1, -0x70(%rbp)
movaps %xmm0, -0x80(%rbp)
movaps -0x70(%rbp), %xmm0
movaps -0x80(%rbp), %xmm1
punpcklbw %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3],xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
movq -0xd0(%rbp), %rax
movaps %xmm0, (%rax)
movq -0xc8(%rbp), %rax
movaps (%rax), %xmm1
movaps 0x30(%rax), %xmm0
movaps %xmm1, -0x10(%rbp)
movaps %xmm0, -0x20(%rbp)
movaps -0x10(%rbp), %xmm0
movaps -0x20(%rbp), %xmm1
punpckhbw %xmm1, %xmm0    # xmm0 = xmm0[8],xmm1[8],xmm0[9],xmm1[9],xmm0[10],xmm1[10],xmm0[11],xmm1[11],xmm0[12],xmm1[12],xmm0[13],xmm1[13],xmm0[14],xmm1[14],xmm0[15],xmm1[15]
movq -0xd0(%rbp), %rax
movaps %xmm0, 0x10(%rax)
movq -0xc8(%rbp), %rax
movaps 0x10(%rax), %xmm1
movaps 0x40(%rax), %xmm0
movaps %xmm1, -0x90(%rbp)
movaps %xmm0, -0xa0(%rbp)
movaps -0x90(%rbp), %xmm0
movaps -0xa0(%rbp), %xmm1
punpcklbw %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3],xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
movq -0xd0(%rbp), %rax
movaps %xmm0, 0x20(%rax)
movq -0xc8(%rbp), %rax
movaps 0x10(%rax), %xmm1
movaps 0x40(%rax), %xmm0
movaps %xmm1, -0x30(%rbp)
movaps %xmm0, -0x40(%rbp)
movaps -0x30(%rbp), %xmm0
movaps -0x40(%rbp), %xmm1
punpckhbw %xmm1, %xmm0    # xmm0 = xmm0[8],xmm1[8],xmm0[9],xmm1[9],xmm0[10],xmm1[10],xmm0[11],xmm1[11],xmm0[12],xmm1[12],xmm0[13],xmm1[13],xmm0[14],xmm1[14],xmm0[15],xmm1[15]
movq -0xd0(%rbp), %rax
movaps %xmm0, 0x30(%rax)
movq -0xc8(%rbp), %rax
movaps 0x20(%rax), %xmm1
movaps 0x50(%rax), %xmm0
movaps %xmm1, -0xb0(%rbp)
movaps %xmm0, -0xc0(%rbp)
movaps -0xb0(%rbp), %xmm0
movaps -0xc0(%rbp), %xmm1
punpcklbw %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3],xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
movq -0xd0(%rbp), %rax
movaps %xmm0, 0x40(%rax)
movq -0xc8(%rbp), %rax
movaps 0x20(%rax), %xmm1
movaps 0x50(%rax), %xmm0
movaps %xmm1, -0x50(%rbp)
movaps %xmm0, -0x60(%rbp)
movaps -0x50(%rbp), %xmm0
movaps -0x60(%rbp), %xmm1
punpckhbw %xmm1, %xmm0    # xmm0 = xmm0[8],xmm1[8],xmm0[9],xmm1[9],xmm0[10],xmm1[10],xmm0[11],xmm1[11],xmm0[12],xmm1[12],xmm0[13],xmm1[13],xmm0[14],xmm1[14],xmm0[15],xmm1[15]
movq -0xd0(%rbp), %rax
movdqa %xmm0, 0x50(%rax)
addq $0x50, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/libraries/libwebp/src/utils/bit_reader_utils.c
// Function: VP8BitReaderSetBuffer
void VP8BitReaderSetBuffer(VP8BitReader* const br,
                           const uint8_t* const start,
                           size_t size) {
  br->buf_     = start;
  br->buf_end_ = start + size;
  br->buf_max_ =
      (size >= sizeof(lbit_t)) ? start + size - sizeof(lbit_t) + 1
                               : start;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x10(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x10(%rbp), %rcx
addq -0x18(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x18(%rax)
cmpq $0x8, -0x18(%rbp)
jb 0x181c09
movq -0x10(%rbp), %rax
addq -0x18(%rbp), %rax
addq $-0x8, %rax
addq $0x1, %rax
movq %rax, -0x20(%rbp)
jmp 0x181c11
movq -0x10(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x20(%rax)
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/libraries/libwebp/src/utils/bit_reader_utils.c
// Function: VP8InitBitReader
void VP8InitBitReader(VP8BitReader* const br,
                      const uint8_t* const start, size_t size) {
  assert(br != NULL);
  assert(start != NULL);
  assert(size < (1u << 31));   // limit ensured by format and upstream checks
  br->range_   = 255 - 1;
  br->value_   = 0;
  br->bits_    = -8;   // to load the very first 8bits
  br->eof_     = 0;
  VP8BitReaderSetBuffer(br, start, size);
  VP8LoadNewBytes(br);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
cmpq $0x0, -0x8(%rbp)
je 0x181c3d
jmp 0x181c5c
leaq 0x3b625(%rip), %rdi     # 0x1bd269
leaq 0x3f54b(%rip), %rsi     # 0x1c1196
movl $0x25, %edx
leaq 0x3f55c(%rip), %rcx     # 0x1c11b3
callq 0x598a0
cmpq $0x0, -0x10(%rbp)
je 0x181c65
jmp 0x181c84
leaq 0x3b9a1(%rip), %rdi     # 0x1bd60d
leaq 0x3f523(%rip), %rsi     # 0x1c1196
movl $0x26, %edx
leaq 0x3f534(%rip), %rcx     # 0x1c11b3
callq 0x598a0
movl $0x80000000, %eax       # imm = 0x80000000
cmpq %rax, -0x18(%rbp)
jae 0x181c91
jmp 0x181cb0
leaq 0x3f564(%rip), %rdi     # 0x1c11fc
leaq 0x3f4f7(%rip), %rsi     # 0x1c1196
movl $0x27, %edx
leaq 0x3f508(%rip), %rcx     # 0x1c11b3
callq 0x598a0
movq -0x8(%rbp), %rax
movl $0xfe, 0x8(%rax)
movq -0x8(%rbp), %rax
movq $0x0, (%rax)
movq -0x8(%rbp), %rax
movl $0xfffffff8, 0xc(%rax)  # imm = 0xFFFFFFF8
movq -0x8(%rbp), %rax
movl $0x0, 0x28(%rax)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x181bc0
movq -0x8(%rbp), %rdi
callq 0x181d00
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/libraries/libwebp/src/utils/bit_reader_utils.c
// Function: VP8RemapBitReader
void VP8RemapBitReader(VP8BitReader* const br, ptrdiff_t offset) {
  if (br->buf_ != NULL) {
    br->buf_ += offset;
    br->buf_end_ += offset;
    br->buf_max_ += offset;
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
cmpq $0x0, 0x10(%rax)
je 0x181e07
movq -0x10(%rbp), %rcx
movq -0x8(%rbp), %rax
addq 0x10(%rax), %rcx
movq %rcx, 0x10(%rax)
movq -0x10(%rbp), %rcx
movq -0x8(%rbp), %rax
addq 0x18(%rax), %rcx
movq %rcx, 0x18(%rax)
movq -0x10(%rbp), %rcx
movq -0x8(%rbp), %rax
addq 0x20(%rax), %rcx
movq %rcx, 0x20(%rax)
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/libraries/libwebp/src/utils/bit_reader_utils.c
// Function: VP8LoadFinalBytes
void VP8LoadFinalBytes(VP8BitReader* const br) {
  assert(br != NULL && br->buf_ != NULL);
  // Only read 8bits at a time
  if (br->buf_ < br->buf_end_) {
    br->bits_ += 8;
    br->value_ = (bit_t)(*br->buf_++) | (br->value_ << 8);
  } else if (!br->eof_) {
    br->value_ <<= 8;
    br->bits_ += 8;
    br->eof_ = 1;
  } else {
    br->bits_ = 0;  // This is to avoid undefined behaviour with shifts.
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
cmpq $0x0, -0x8(%rbp)
je 0x181e30
movq -0x8(%rbp), %rax
cmpq $0x0, 0x10(%rax)
je 0x181e30
jmp 0x181e4f
leaq 0x3b484(%rip), %rdi     # 0x1bd2bb
leaq 0x3f358(%rip), %rsi     # 0x1c1196
movl $0x59, %edx
leaq 0x3f3c4(%rip), %rcx     # 0x1c120e
callq 0x598a0
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x8(%rbp), %rcx
cmpq 0x18(%rcx), %rax
jae 0x181e9d
movq -0x8(%rbp), %rax
movl 0xc(%rax), %ecx
addl $0x8, %ecx
movl %ecx, 0xc(%rax)
movq -0x8(%rbp), %rcx
movq 0x10(%rcx), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0x10(%rcx)
movzbl (%rax), %eax
movl %eax, %ecx
movq -0x8(%rbp), %rax
movq (%rax), %rax
shlq $0x8, %rax
orq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, (%rax)
jmp 0x181edc
movq -0x8(%rbp), %rax
cmpl $0x0, 0x28(%rax)
jne 0x181ecf
movq -0x8(%rbp), %rax
movq (%rax), %rcx
shlq $0x8, %rcx
movq %rcx, (%rax)
movq -0x8(%rbp), %rax
movl 0xc(%rax), %ecx
addl $0x8, %ecx
movl %ecx, 0xc(%rax)
movq -0x8(%rbp), %rax
movl $0x1, 0x28(%rax)
jmp 0x181eda
movq -0x8(%rbp), %rax
movl $0x0, 0xc(%rax)
jmp 0x181edc
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/libraries/libwebp/src/utils/bit_reader_utils.c
// Function: VP8GetValue
uint32_t VP8GetValue(VP8BitReader* const br, int bits, const char label[]) {
  uint32_t v = 0;
  while (bits-- > 0) {
    v |= VP8GetBit(br, 0x80, label) << bits;
  }
  return v;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl $0x0, -0x10(%rbp)
movl -0xc(%rbp), %eax
movl %eax, %ecx
addl $-0x1, %ecx
movl %ecx, -0xc(%rbp)
cmpl $0x0, %eax
jle 0x181f31
movq -0x8(%rbp), %rdi
movl $0x80, %esi
callq 0x181f40
movl -0xc(%rbp), %ecx
shll %cl, %eax
orl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x181f06
movl -0x10(%rbp), %eax
addq $0x10, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/libraries/libwebp/src/utils/bit_reader_utils.c
// Function: VP8LInitBitReader
void VP8LInitBitReader(VP8LBitReader* const br, const uint8_t* const start,
                       size_t length) {
  size_t i;
  vp8l_val_t value = 0;
  assert(br != NULL);
  assert(start != NULL);
  assert(length < 0xfffffff8u);   // can't happen with a RIFF chunk.

  br->len_ = length;
  br->val_ = 0;
  br->bit_pos_ = 0;
  br->eos_ = 0;

  if (length > sizeof(br->val_)) {
    length = sizeof(br->val_);
  }
  for (i = 0; i < length; ++i) {
    value |= (vp8l_val_t)start[i] << (8 * i);
  }
  br->val_ = value;
  br->pos_ = length;
  br->buf_ = start;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq $0x0, -0x28(%rbp)
cmpq $0x0, -0x8(%rbp)
je 0x182095
jmp 0x1820b4
leaq 0x3b1cd(%rip), %rdi     # 0x1bd269
leaq 0x3f0f3(%rip), %rsi     # 0x1c1196
movl $0x91, %edx
leaq 0x3f18b(%rip), %rcx     # 0x1c123a
callq 0x598a0
cmpq $0x0, -0x10(%rbp)
je 0x1820bd
jmp 0x1820dc
leaq 0x3b549(%rip), %rdi     # 0x1bd60d
leaq 0x3f0cb(%rip), %rsi     # 0x1c1196
movl $0x92, %edx
leaq 0x3f163(%rip), %rcx     # 0x1c123a
callq 0x598a0
movl $0xfffffff8, %eax       # imm = 0xFFFFFFF8
cmpq %rax, -0x18(%rbp)
jae 0x1820e9
jmp 0x182108
leaq 0x3f195(%rip), %rdi     # 0x1c1285
leaq 0x3f09f(%rip), %rsi     # 0x1c1196
movl $0x93, %edx
leaq 0x3f137(%rip), %rcx     # 0x1c123a
callq 0x598a0
movq -0x18(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x8(%rbp), %rax
movq $0x0, (%rax)
movq -0x8(%rbp), %rax
movl $0x0, 0x20(%rax)
movq -0x8(%rbp), %rax
movl $0x0, 0x24(%rax)
cmpq $0x8, -0x18(%rbp)
jbe 0x182144
movq $0x8, -0x18(%rbp)
movq $0x0, -0x20(%rbp)
movq -0x20(%rbp), %rax
cmpq -0x18(%rbp), %rax
jae 0x182183
movq -0x10(%rbp), %rax
movq -0x20(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movq -0x20(%rbp), %rcx
shlq $0x3, %rcx
shlq %cl, %rax
orq -0x28(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x20(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x20(%rbp)
jmp 0x18214c
movq -0x28(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, (%rax)
movq -0x18(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x18(%rax)
movq -0x10(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x8(%rax)
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/libraries/libwebp/src/utils/bit_reader_utils.c
// Function: VP8LBitReaderSetBuffer
void VP8LBitReaderSetBuffer(VP8LBitReader* const br,
                            const uint8_t* const buf, size_t len) {
  assert(br != NULL);
  assert(buf != NULL);
  assert(len < 0xfffffff8u);   // can't happen with a RIFF chunk.
  br->buf_ = buf;
  br->len_ = len;
  // pos_ > len_ should be considered a param error.
  br->eos_ = (br->pos_ > br->len_) || VP8LIsEndOfStream(br);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
cmpq $0x0, -0x8(%rbp)
je 0x1821cd
jmp 0x1821ec
leaq 0x3b095(%rip), %rdi     # 0x1bd269
leaq 0x3efbb(%rip), %rsi     # 0x1c1196
movl $0xa7, %edx
leaq 0x3f0b3(%rip), %rcx     # 0x1c129a
callq 0x598a0
cmpq $0x0, -0x10(%rbp)
je 0x1821f5
jmp 0x182214
leaq 0x39f2f(%rip), %rdi     # 0x1bc12b
leaq 0x3ef93(%rip), %rsi     # 0x1c1196
movl $0xa8, %edx
leaq 0x3f08b(%rip), %rcx     # 0x1c129a
callq 0x598a0
movl $0xfffffff8, %eax       # imm = 0xFFFFFFF8
cmpq %rax, -0x18(%rbp)
jae 0x182221
jmp 0x182240
leaq 0x3f0c2(%rip), %rdi     # 0x1c12ea
leaq 0x3ef67(%rip), %rsi     # 0x1c1196
movl $0xa9, %edx
leaq 0x3f05f(%rip), %rcx     # 0x1c129a
callq 0x598a0
movq -0x10(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x18(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rcx
movq -0x8(%rbp), %rdx
movb $0x1, %al
cmpq 0x10(%rdx), %rcx
movb %al, -0x19(%rbp)
ja 0x182281
movq -0x8(%rbp), %rdi
callq 0x1822a0
cmpl $0x0, %eax
setne %al
movb %al, -0x19(%rbp)
movb -0x19(%rbp), %al
andb $0x1, %al
movzbl %al, %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x24(%rax)
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/libraries/libwebp/src/utils/bit_reader_utils.c
// Function: VP8LDoFillBitWindow
void VP8LDoFillBitWindow(VP8LBitReader* const br) {
  assert(br->bit_pos_ >= VP8L_WBITS);
#if defined(VP8L_USE_FAST_LOAD)
  if (br->pos_ + sizeof(br->val_) < br->len_) {
    br->val_ >>= VP8L_WBITS;
    br->bit_pos_ -= VP8L_WBITS;
    br->val_ |= (vp8l_val_t)HToLE32(WebPMemToUint32(br->buf_ + br->pos_)) <<
                (VP8L_LBITS - VP8L_WBITS);
    br->pos_ += VP8L_LOG8_WBITS;
    return;
  }
#endif
  ShiftBytes(br);       // Slow path.
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
cmpl $0x20, 0x20(%rax)
jl 0x182348
jmp 0x182367
leaq 0x3efad(%rip), %rdi     # 0x1c12fc
leaq 0x3ee40(%rip), %rsi     # 0x1c1196
movl $0xc3, %edx
leaq 0x3efb5(%rip), %rcx     # 0x1c1317
callq 0x598a0
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rax
addq $0x8, %rax
movq -0x8(%rbp), %rcx
cmpq 0x10(%rcx), %rax
jae 0x1823d1
movq -0x8(%rbp), %rax
movq (%rax), %rcx
shrq $0x20, %rcx
movq %rcx, (%rax)
movq -0x8(%rbp), %rax
movl 0x20(%rax), %ecx
subl $0x20, %ecx
movl %ecx, 0x20(%rax)
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x8(%rbp), %rax
addq 0x18(%rax), %rdi
callq 0x1823e0
movl %eax, %eax
movl %eax, %ecx
shlq $0x20, %rcx
movq -0x8(%rbp), %rax
orq (%rax), %rcx
movq %rcx, (%rax)
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rcx
addq $0x4, %rcx
movq %rcx, 0x18(%rax)
jmp 0x1823da
movq -0x8(%rbp), %rdi
callq 0x182400
addq $0x10, %rsp
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/libraries/libwebp/src/utils/bit_reader_utils.c
// Function: ShiftBytes
static void ShiftBytes(VP8LBitReader* const br) {
  while (br->bit_pos_ >= 8 && br->pos_ < br->len_) {
    br->val_ >>= 8;
    br->val_ |= ((vp8l_val_t)br->buf_[br->pos_]) << (VP8L_LBITS - 8);
    ++br->pos_;
    br->bit_pos_ -= 8;
  }
  if (VP8LIsEndOfStream(br)) {
    VP8LSetEndOfStream(br);
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rcx
xorl %eax, %eax
cmpl $0x8, 0x20(%rcx)
movb %al, -0x9(%rbp)
jl 0x182431
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rax
movq -0x8(%rbp), %rcx
cmpq 0x10(%rcx), %rax
setb %al
movb %al, -0x9(%rbp)
movb -0x9(%rbp), %al
testb $0x1, %al
jne 0x18243a
jmp 0x18248b
movq -0x8(%rbp), %rax
movq (%rax), %rcx
shrq $0x8, %rcx
movq %rcx, (%rax)
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movq -0x8(%rbp), %rcx
movq 0x18(%rcx), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, %ecx
shlq $0x38, %rcx
movq -0x8(%rbp), %rax
orq (%rax), %rcx
movq %rcx, (%rax)
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x18(%rax)
movq -0x8(%rbp), %rax
movl 0x20(%rax), %ecx
subl $0x8, %ecx
movl %ecx, 0x20(%rax)
jmp 0x18240c
movq -0x8(%rbp), %rdi
callq 0x1822a0
cmpl $0x0, %eax
je 0x1824a2
movq -0x8(%rbp), %rdi
callq 0x182580
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax,%rax)