// File: /workspace/github_c_makefile_star2_O0/madler[P]pigz/zopfli/src/zopfli/blocksplitter.c
// Function: PrintBlockSplitPoints
static void PrintBlockSplitPoints(const ZopfliLZ77Store* lz77,
                                  const size_t* lz77splitpoints,
                                  size_t nlz77points) {
  size_t* splitpoints = 0;
  size_t npoints = 0;
  size_t i;
  /* The input is given as lz77 indices, but we want to see the uncompressed
  index values. */
  size_t pos = 0;
  if (nlz77points > 0) {
    for (i = 0; i < lz77->size; i++) {
      size_t length = lz77->dists[i] == 0 ? 1 : lz77->litlens[i];
      if (lz77splitpoints[npoints] == i) {
        ZOPFLI_APPEND_DATA(pos, &splitpoints, &npoints);
        if (npoints == nlz77points) break;
      }
      pos += length;
    }
  }
  assert(npoints == nlz77points);

  fprintf(stderr, "block split points: ");
  for (i = 0; i < npoints; i++) {
    fprintf(stderr, "%d ", (int)splitpoints[i]);
  }
  fprintf(stderr, "(hex:");
  for (i = 0; i < npoints; i++) {
    fprintf(stderr, " %x", (int)splitpoints[i]);
  }
  fprintf(stderr, ")\n");

  free(splitpoints);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq $0x0, -0x20(%rbp)
movq $0x0, -0x28(%rbp)
movq $0x0, -0x38(%rbp)
cmpq $0x0, -0x18(%rbp)
jbe 0x162c2
movq $0x0, -0x30(%rbp)
movq -0x30(%rbp), %rax
movq -0x8(%rbp), %rcx
cmpq 0x10(%rcx), %rax
jae 0x162c0
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movq -0x30(%rbp), %rcx
movzwl (%rax,%rcx,2), %eax
cmpl $0x0, %eax
jne 0x16200
movl $0x1, %eax
movl %eax, -0x44(%rbp)
jmp 0x16212
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq -0x30(%rbp), %rcx
movzwl (%rax,%rcx,2), %eax
movl %eax, -0x44(%rbp)
movl -0x44(%rbp), %eax
cltq
movq %rax, -0x40(%rbp)
movq -0x10(%rbp), %rax
movq -0x28(%rbp), %rcx
movq (%rax,%rcx,8), %rax
cmpq -0x30(%rbp), %rax
jne 0x162a3
movq -0x28(%rbp), %rax
movq -0x28(%rbp), %rcx
subq $0x1, %rcx
andq %rcx, %rax
cmpq $0x0, %rax
jne 0x16279
cmpq $0x0, -0x28(%rbp)
jne 0x16259
movl $0x8, %edi
callq 0x33d0
movq %rax, -0x50(%rbp)
jmp 0x16271
movq -0x20(%rbp), %rdi
movq -0x28(%rbp), %rsi
shlq %rsi
shlq $0x3, %rsi
callq 0x3430
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x38(%rbp), %rdx
movq -0x20(%rbp), %rax
movq -0x28(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq -0x28(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
cmpq -0x18(%rbp), %rax
jne 0x162a1
jmp 0x162c0
jmp 0x162a3
movq -0x40(%rbp), %rax
addq -0x38(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
jmp 0x161cf
jmp 0x162c2
movq -0x28(%rbp), %rax
cmpq -0x18(%rbp), %rax
jne 0x162ce
jmp 0x162ed
leaq 0x7f37(%rip), %rdi      # 0x1e20c
leaq 0x7e8a(%rip), %rsi      # 0x1e166
movl $0xa7, %edx
leaq 0x7fac(%rip), %rcx      # 0x1e294
callq 0x3220
movq 0xcd04(%rip), %rax      # 0x22ff8
movq (%rax), %rdi
leaq 0x7fe2(%rip), %rsi      # 0x1e2e0
movb $0x0, %al
callq 0x3340
movq $0x0, -0x30(%rbp)
movq -0x30(%rbp), %rax
cmpq -0x28(%rbp), %rax
jae 0x1634b
movq 0xccda(%rip), %rax      # 0x22ff8
movq (%rax), %rdi
movq -0x20(%rbp), %rax
movq -0x30(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl %eax, %edx
leaq 0x7fbf(%rip), %rsi      # 0x1e2f5
movb $0x0, %al
callq 0x3340
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
jmp 0x1630d
movq 0xcca6(%rip), %rax      # 0x22ff8
movq (%rax), %rdi
leaq 0x7f9d(%rip), %rsi      # 0x1e2f9
movb $0x0, %al
callq 0x3340
movq $0x0, -0x30(%rbp)
movq -0x30(%rbp), %rax
cmpq -0x28(%rbp), %rax
jae 0x163a9
movq 0xcc7c(%rip), %rax      # 0x22ff8
movq (%rax), %rdi
movq -0x20(%rbp), %rax
movq -0x30(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl %eax, %edx
leaq 0x7f6b(%rip), %rsi      # 0x1e2ff
movb $0x0, %al
callq 0x3340
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
jmp 0x1636b
movq 0xcc48(%rip), %rax      # 0x22ff8
movq (%rax), %rdi
leaq 0x7bd9(%rip), %rsi      # 0x1df93
movb $0x0, %al
callq 0x3340
movq -0x20(%rbp), %rdi
callq 0x3050
addq $0x50, %rsp
popq %rbp
retq