// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/libraries/libwebp/src/dec/tree_dec.c
// Function: VP8ParseProba
void VP8ParseProba(VP8BitReader* const br, VP8Decoder* const dec) {
  VP8Proba* const proba = &dec->proba_;
  int t, b, c, p;
  for (t = 0; t < NUM_TYPES; ++t) {
    for (b = 0; b < NUM_BANDS; ++b) {
      for (c = 0; c < NUM_CTX; ++c) {
        for (p = 0; p < NUM_PROBAS; ++p) {
          const int v =
              VP8GetBit(br, CoeffsUpdateProba[t][b][c][p], "global-header") ?
                        VP8GetValue(br, 8, "global-header") :
                        CoeffsProba0[t][b][c][p];
          proba->bands_[t][b].probas_[c][p] = v;
        }
      }
    }
    for (b = 0; b < 16 + 1; ++b) {
      proba->bands_ptr_[t][b] = &proba->bands_[t][kBands[b]];
    }
  }
  dec->use_skip_proba_ = VP8Get(br, "global-header");
  if (dec->use_skip_proba_) {
    dec->skip_p_ = VP8GetValue(br, 8, "global-header");
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
addq $0x4a8, %rax            # imm = 0x4A8
movq %rax, -0x18(%rbp)
movl $0x0, -0x1c(%rbp)
cmpl $0x4, -0x1c(%rbp)
jge 0x1859fc
movl $0x0, -0x20(%rbp)
cmpl $0x8, -0x20(%rbp)
jge 0x185988
movl $0x0, -0x24(%rbp)
cmpl $0x3, -0x24(%rbp)
jge 0x185978
movl $0x0, -0x28(%rbp)
cmpl $0xb, -0x28(%rbp)
jge 0x185968
movq -0x8(%rbp), %rdi
movslq -0x1c(%rbp), %rcx
leaq 0x3c73f(%rip), %rax     # 0x1c1fe0
imulq $0x108, %rcx, %rcx      # imm = 0x108
addq %rcx, %rax
movslq -0x20(%rbp), %rcx
imulq $0x21, %rcx, %rcx
addq %rcx, %rax
movslq -0x24(%rbp), %rcx
imulq $0xb, %rcx, %rcx
addq %rcx, %rax
movslq -0x28(%rbp), %rcx
movzbl (%rax,%rcx), %esi
callq 0x185a50
cmpl $0x0, %eax
je 0x1858e6
movq -0x8(%rbp), %rdi
movl $0x8, %esi
callq 0x181ef0
movl %eax, -0x30(%rbp)
jmp 0x18591c
movslq -0x1c(%rbp), %rcx
leaq 0x3cb0f(%rip), %rax     # 0x1c2400
imulq $0x108, %rcx, %rcx      # imm = 0x108
addq %rcx, %rax
movslq -0x20(%rbp), %rcx
imulq $0x21, %rcx, %rcx
addq %rcx, %rax
movslq -0x24(%rbp), %rcx
imulq $0xb, %rcx, %rcx
addq %rcx, %rax
movslq -0x28(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, -0x30(%rbp)
movl -0x30(%rbp), %eax
movl %eax, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
movb %al, %dl
movq -0x18(%rbp), %rax
addq $0x3, %rax
movslq -0x1c(%rbp), %rcx
imulq $0x108, %rcx, %rcx      # imm = 0x108
addq %rcx, %rax
movslq -0x20(%rbp), %rcx
imulq $0x21, %rcx, %rcx
addq %rcx, %rax
movslq -0x24(%rbp), %rcx
imulq $0xb, %rcx, %rcx
addq %rcx, %rax
movslq -0x28(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -0x28(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x28(%rbp)
jmp 0x185888
jmp 0x18596a
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x185877
jmp 0x18597a
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x20(%rbp)
jmp 0x185866
movl $0x0, -0x20(%rbp)
cmpl $0x11, -0x20(%rbp)
jge 0x1859ec
movq -0x18(%rbp), %rdx
addq $0x3, %rdx
movslq -0x1c(%rbp), %rax
imulq $0x108, %rax, %rax      # imm = 0x108
addq %rax, %rdx
movslq -0x20(%rbp), %rcx
leaq 0x3ce6a(%rip), %rax     # 0x1c2820
movzbl (%rax,%rcx), %eax
imulq $0x21, %rax, %rax
addq %rax, %rdx
movq -0x18(%rbp), %rax
addq $0x428, %rax            # imm = 0x428
movslq -0x1c(%rbp), %rcx
imulq $0x88, %rcx, %rcx
addq %rcx, %rax
movslq -0x20(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x20(%rbp)
jmp 0x18598f
jmp 0x1859ee
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x185855
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x181ef0
movl %eax, %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0xaf0(%rax)
movq -0x10(%rbp), %rax
cmpl $0x0, 0xaf0(%rax)
je 0x185a3d
movq -0x8(%rbp), %rdi
movl $0x8, %esi
callq 0x181ef0
movb %al, %cl
movq -0x10(%rbp), %rax
movb %cl, 0xaf4(%rax)
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)