#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */
typedef int /*<<< orphan*/ buf;

/* Variables and functions */
int EXIT_SUCCESS;
int /*<<< orphan*/ assert(int);
int /*<<< orphan*/ chunk_path(int, int, int, char *, int);
scalar_t__ strcmp(char *, char *);
int main(int argc, char *argv[]) {
  char buf[1024];
  chunk_path(0, 10, 9, buf, sizeof(buf));
  assert(strcmp(buf, "chunks/0") == 0);
  chunk_path(1, 10, 9, buf, sizeof(buf));
  assert(strcmp(buf, "chunks/1") == 0);
  chunk_path(9, 10, 9, buf, sizeof(buf));
  assert(strcmp(buf, "chunks/9") == 0);
  chunk_path(0, 10, 99, buf, sizeof(buf));
  assert(strcmp(buf, "chunks/0/00") == 0);
  chunk_path(123, 10, 999, buf, sizeof(buf));
  assert(strcmp(buf, "chunks/1/2/123") == 0);
  chunk_path(12, 10, 99, buf, sizeof(buf));
  assert(strcmp(buf, "chunks/1/12") == 0);
  chunk_path(98, 10, 99, buf, sizeof(buf));
  assert(strcmp(buf, "chunks/9/98") == 0);
  chunk_path(99, 10, 99, buf, sizeof(buf));
  assert(strcmp(buf, "chunks/9/99") == 0);
  chunk_path(100, 10, 999, buf, sizeof(buf));
  assert(strcmp(buf, "chunks/1/0/100") == 0);
  chunk_path(102, 10, 999, buf, sizeof(buf));
  assert(strcmp(buf, "chunks/1/0/102") == 0);
  chunk_path(0, 10, 999, buf, sizeof(buf));
  assert(strcmp(buf, "chunks/0/0/000") == 0);
  chunk_path(1, 10, 999, buf, sizeof(buf));
  assert(strcmp(buf, "chunks/0/0/001") == 0);
  chunk_path(992, 10, 999, buf, sizeof(buf));
  assert(strcmp(buf, "chunks/9/9/992") == 0);
  chunk_path(1234, 10, 9999, buf, sizeof(buf));
  assert(strcmp(buf, "chunks/1/2/3/1234") == 0);
  chunk_path(0, 100, 999, buf, sizeof(buf));
  assert(strcmp(buf, "chunks/00/0000") == 0);
  chunk_path(99, 100, 999, buf, sizeof(buf));
  assert(strcmp(buf, "chunks/00/0099") == 0);
  chunk_path(100, 100, 999, buf, sizeof(buf));
  assert(strcmp(buf, "chunks/01/0100") == 0);
  chunk_path(999, 100, 999, buf, sizeof(buf));
  assert(strcmp(buf, "chunks/09/0999") == 0);
  chunk_path(1234, 100, 9999, buf, sizeof(buf));
  assert(strcmp(buf, "chunks/12/1234") == 0);
  chunk_path(9876, 100, 9999, buf, sizeof(buf));
  assert(strcmp(buf, "chunks/98/9876") == 0);
  chunk_path(9999, 100, 9999, buf, sizeof(buf));
  assert(strcmp(buf, "chunks/99/9999") == 0);
  chunk_path(10000, 100, 99999, buf, sizeof(buf));
  assert(strcmp(buf, "chunks/01/00/010000") == 0);
  chunk_path(123456, 100, 999999, buf, sizeof(buf));
  assert(strcmp(buf, "chunks/12/34/123456") == 0);
  chunk_path(123456, 100, 9999999, buf, sizeof(buf));
  assert(strcmp(buf, "chunks/00/12/34/00123456") == 0);
  chunk_path(123456, 100, 99999999, buf, sizeof(buf));
  assert(strcmp(buf, "chunks/00/12/34/00123456") == 0);
  return EXIT_SUCCESS;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x410,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    -0x410(%rbp),%rcx
xor    %edi,%edi
mov    $0xa,%esi
mov    $0x9,%edx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    -0x410(%rbp),%rdi
lea    0xe8b(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    -0x410(%rbp),%rcx
mov    $0x1,%edi
mov    $0xa,%esi
mov    $0x9,%edx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    -0x410(%rbp),%rdi
lea    0xe4f(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    -0x410(%rbp),%rcx
mov    $0x9,%edx
mov    $0xa,%esi
mov    $0x400,%r8d
mov    %edx,%edi
call   1050 <chunk_path@plt>
lea    -0x410(%rbp),%rdi
lea    0xe16(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    -0x410(%rbp),%rcx
xor    %edi,%edi
mov    $0xa,%esi
mov    $0x63,%edx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    -0x410(%rbp),%rdi
lea    0xddd(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    -0x410(%rbp),%rcx
mov    $0x7b,%edi
mov    $0xa,%esi
mov    $0x3e7,%edx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    -0x410(%rbp),%rdi
lea    0xda4(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    -0x410(%rbp),%rcx
mov    $0xc,%edi
mov    $0xa,%esi
mov    $0x63,%edx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    -0x410(%rbp),%rdi
lea    0xd6e(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    -0x410(%rbp),%rcx
mov    $0x62,%edi
mov    $0xa,%esi
mov    $0x63,%edx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    -0x410(%rbp),%rdi
lea    0xd35(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    -0x410(%rbp),%rcx
mov    $0x63,%edx
mov    $0xa,%esi
mov    $0x400,%r8d
mov    %edx,%edi
call   1050 <chunk_path@plt>
lea    -0x410(%rbp),%rdi
lea    0xcff(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    -0x410(%rbp),%rcx
mov    $0x64,%edi
mov    $0xa,%esi
mov    $0x3e7,%edx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    -0x410(%rbp),%rdi
lea    0xcc6(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    -0x410(%rbp),%rcx
mov    $0x66,%edi
mov    $0xa,%esi
mov    $0x3e7,%edx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    -0x410(%rbp),%rdi
lea    0xc90(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    -0x410(%rbp),%rcx
xor    %edi,%edi
mov    $0xa,%esi
mov    $0x3e7,%edx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    -0x410(%rbp),%rdi
lea    0xc5d(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    -0x410(%rbp),%rcx
mov    $0x1,%edi
mov    $0xa,%esi
mov    $0x3e7,%edx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    -0x410(%rbp),%rdi
lea    0xc27(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    -0x410(%rbp),%rcx
mov    $0x3e0,%edi
mov    $0xa,%esi
mov    $0x3e7,%edx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    -0x410(%rbp),%rdi
lea    0xbf1(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    -0x410(%rbp),%rcx
mov    $0x4d2,%edi
mov    $0xa,%esi
mov    $0x270f,%edx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    -0x410(%rbp),%rdi
lea    0xbbb(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    -0x410(%rbp),%rcx
xor    %edi,%edi
mov    $0x64,%esi
mov    $0x3e7,%edx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    -0x410(%rbp),%rdi
lea    0xb8b(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    -0x410(%rbp),%rcx
mov    $0x63,%edi
mov    $0x64,%esi
mov    $0x3e7,%edx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    -0x410(%rbp),%rdi
lea    0xb55(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    -0x410(%rbp),%rcx
mov    $0x64,%esi
mov    $0x3e7,%edx
mov    $0x400,%r8d
mov    %esi,%edi
call   1050 <chunk_path@plt>
lea    -0x410(%rbp),%rdi
lea    0xb22(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    -0x410(%rbp),%rcx
mov    $0x3e7,%edx
mov    $0x64,%esi
mov    $0x400,%r8d
mov    %edx,%edi
call   1050 <chunk_path@plt>
lea    -0x410(%rbp),%rdi
lea    0xaef(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    -0x410(%rbp),%rcx
mov    $0x4d2,%edi
mov    $0x64,%esi
mov    $0x270f,%edx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    -0x410(%rbp),%rdi
lea    0xab9(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    -0x410(%rbp),%rcx
mov    $0x2694,%edi
mov    $0x64,%esi
mov    $0x270f,%edx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    -0x410(%rbp),%rdi
lea    0xa83(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    -0x410(%rbp),%rcx
mov    $0x270f,%edx
mov    $0x64,%esi
mov    $0x400,%r8d
mov    %edx,%edi
call   1050 <chunk_path@plt>
lea    -0x410(%rbp),%rdi
lea    0xa50(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    -0x410(%rbp),%rcx
mov    $0x2710,%edi
mov    $0x64,%esi
mov    $0x1869f,%edx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    -0x410(%rbp),%rdi
lea    0xa1a(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    -0x410(%rbp),%rcx
mov    $0x1e240,%edi
mov    $0x64,%esi
mov    $0xf423f,%edx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    -0x410(%rbp),%rdi
lea    0x9e9(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    -0x410(%rbp),%rcx
mov    $0x1e240,%edi
mov    $0x64,%esi
mov    $0x98967f,%edx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    -0x410(%rbp),%rdi
lea    0x9b8(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    -0x410(%rbp),%rcx
mov    $0x1e240,%edi
mov    $0x64,%esi
mov    $0x5f5e0ff,%edx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    -0x410(%rbp),%rdi
lea    0x973(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
mov    0x27ee(%rip),%rax
mov    (%rax),%eax
add    $0x410,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
sub    $0x408,%rsp
mov    %rsp,%rbx
xor    %edi,%edi
mov    $0xa,%esi
mov    $0x9,%edx
mov    %rbx,%rcx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    0xea2(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1040 <assert@plt>
mov    $0x1,%edi
mov    $0xa,%esi
mov    $0x9,%edx
mov    %rbx,%rcx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    0xe71(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1040 <assert@plt>
mov    $0x9,%edi
mov    $0xa,%esi
mov    $0x9,%edx
mov    %rbx,%rcx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    0xe40(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1040 <assert@plt>
xor    %edi,%edi
mov    $0xa,%esi
mov    $0x63,%edx
mov    %rbx,%rcx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    0xe12(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1040 <assert@plt>
mov    $0x7b,%edi
mov    $0xa,%esi
mov    $0x3e7,%edx
mov    %rbx,%rcx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    0xde4(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1040 <assert@plt>
mov    $0xc,%edi
mov    $0xa,%esi
mov    $0x63,%edx
mov    %rbx,%rcx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    0xdb9(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1040 <assert@plt>
mov    $0x62,%edi
mov    $0xa,%esi
mov    $0x63,%edx
mov    %rbx,%rcx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    0xd8b(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1040 <assert@plt>
mov    $0x63,%edi
mov    $0xa,%esi
mov    $0x63,%edx
mov    %rbx,%rcx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    0xd5d(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1040 <assert@plt>
mov    $0x64,%edi
mov    $0xa,%esi
mov    $0x3e7,%edx
mov    %rbx,%rcx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    0xd2f(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1040 <assert@plt>
mov    $0x66,%edi
mov    $0xa,%esi
mov    $0x3e7,%edx
mov    %rbx,%rcx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    0xd04(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1040 <assert@plt>
xor    %edi,%edi
mov    $0xa,%esi
mov    $0x3e7,%edx
mov    %rbx,%rcx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    0xcdc(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1040 <assert@plt>
mov    $0x1,%edi
mov    $0xa,%esi
mov    $0x3e7,%edx
mov    %rbx,%rcx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    0xcb1(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1040 <assert@plt>
mov    $0x3e0,%edi
mov    $0xa,%esi
mov    $0x3e7,%edx
mov    %rbx,%rcx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    0xc86(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1040 <assert@plt>
mov    $0x4d2,%edi
mov    $0xa,%esi
mov    $0x270f,%edx
mov    %rbx,%rcx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    0xc5b(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1040 <assert@plt>
xor    %edi,%edi
mov    $0x64,%esi
mov    $0x3e7,%edx
mov    %rbx,%rcx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    0xc36(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1040 <assert@plt>
mov    $0x63,%edi
mov    $0x64,%esi
mov    $0x3e7,%edx
mov    %rbx,%rcx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    0xc0b(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1040 <assert@plt>
mov    $0x64,%edi
mov    $0x64,%esi
mov    $0x3e7,%edx
mov    %rbx,%rcx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    0xbe0(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1040 <assert@plt>
mov    $0x3e7,%edi
mov    $0x64,%esi
mov    $0x3e7,%edx
mov    %rbx,%rcx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    0xbb5(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1040 <assert@plt>
mov    $0x4d2,%edi
mov    $0x64,%esi
mov    $0x270f,%edx
mov    %rbx,%rcx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    0xb8a(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1040 <assert@plt>
mov    $0x2694,%edi
mov    $0x64,%esi
mov    $0x270f,%edx
mov    %rbx,%rcx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    0xb5f(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1040 <assert@plt>
mov    $0x270f,%edi
mov    $0x64,%esi
mov    $0x270f,%edx
mov    %rbx,%rcx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    0xb34(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1040 <assert@plt>
mov    $0x2710,%edi
mov    $0x64,%esi
mov    $0x1869f,%edx
mov    %rbx,%rcx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    0xb09(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1040 <assert@plt>
mov    $0x1e240,%edi
mov    $0x64,%esi
mov    $0xf423f,%edx
mov    %rbx,%rcx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    0xae3(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1040 <assert@plt>
mov    $0x1e240,%edi
mov    $0x64,%esi
mov    $0x98967f,%edx
mov    %rbx,%rcx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
lea    0xabd(%rip),%r14
mov    %rbx,%rdi
mov    %r14,%rsi
call   1030 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1040 <assert@plt>
mov    $0x1e240,%edi
mov    $0x64,%esi
mov    $0x5f5e0ff,%edx
mov    %rbx,%rcx
mov    $0x400,%r8d
call   1050 <chunk_path@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1030 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1040 <assert@plt>
mov    0x28ff(%rip),%rax
mov    (%rax),%eax
add    $0x408,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [9 x i8] c"chunks/0\00"
@.str.1 = [9 x i8] c"chunks/1\00"
@.str.2 = [9 x i8] c"chunks/9\00"
@.str.3 = [12 x i8] c"chunks/0/00\00"
@.str.4 = [15 x i8] c"chunks/1/2/123\00"
@.str.5 = [12 x i8] c"chunks/1/12\00"
@.str.6 = [12 x i8] c"chunks/9/98\00"
@.str.7 = [12 x i8] c"chunks/9/99\00"
@.str.8 = [15 x i8] c"chunks/1/0/100\00"
@.str.9 = [15 x i8] c"chunks/1/0/102\00"
@.str.10 = [15 x i8] c"chunks/0/0/000\00"
@.str.11 = [15 x i8] c"chunks/0/0/001\00"
@.str.12 = [15 x i8] c"chunks/9/9/992\00"
@.str.13 = [18 x i8] c"chunks/1/2/3/1234\00"
@.str.14 = [15 x i8] c"chunks/00/0000\00"
@.str.15 = [15 x i8] c"chunks/00/0099\00"
@.str.16 = [15 x i8] c"chunks/01/0100\00"
@.str.17 = [15 x i8] c"chunks/09/0999\00"
@.str.18 = [15 x i8] c"chunks/12/1234\00"
@.str.19 = [15 x i8] c"chunks/98/9876\00"
@.str.20 = [15 x i8] c"chunks/99/9999\00"
@.str.21 = [20 x i8] c"chunks/01/00/010000\00"
@.str.22 = [20 x i8] c"chunks/12/34/123456\00"
@.str.23 = [25 x i8] c"chunks/00/12/34/00123456\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [1024 x i8]
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%7 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%8 = call i32 @chunk_path(i32 0, i32 10, i32 9, i8* %7, i32 1024)
%9 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%10 = call i64 @strcmp(i8* %9, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
%11 = icmp eq i64 %10, 0
%12 = zext i1 %11 to i32
%13 = call i32 @assert(i32 %12)
%14 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%15 = call i32 @chunk_path(i32 1, i32 10, i32 9, i8* %14, i32 1024)
%16 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%17 = call i64 @strcmp(i8* %16, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0))
%18 = icmp eq i64 %17, 0
%19 = zext i1 %18 to i32
%20 = call i32 @assert(i32 %19)
%21 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%22 = call i32 @chunk_path(i32 9, i32 10, i32 9, i8* %21, i32 1024)
%23 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%24 = call i64 @strcmp(i8* %23, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
%25 = icmp eq i64 %24, 0
%26 = zext i1 %25 to i32
%27 = call i32 @assert(i32 %26)
%28 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%29 = call i32 @chunk_path(i32 0, i32 10, i32 99, i8* %28, i32 1024)
%30 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%31 = call i64 @strcmp(i8* %30, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0))
%32 = icmp eq i64 %31, 0
%33 = zext i1 %32 to i32
%34 = call i32 @assert(i32 %33)
%35 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%36 = call i32 @chunk_path(i32 123, i32 10, i32 999, i8* %35, i32 1024)
%37 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%38 = call i64 @strcmp(i8* %37, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0))
%39 = icmp eq i64 %38, 0
%40 = zext i1 %39 to i32
%41 = call i32 @assert(i32 %40)
%42 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%43 = call i32 @chunk_path(i32 12, i32 10, i32 99, i8* %42, i32 1024)
%44 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%45 = call i64 @strcmp(i8* %44, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0))
%46 = icmp eq i64 %45, 0
%47 = zext i1 %46 to i32
%48 = call i32 @assert(i32 %47)
%49 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%50 = call i32 @chunk_path(i32 98, i32 10, i32 99, i8* %49, i32 1024)
%51 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%52 = call i64 @strcmp(i8* %51, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0))
%53 = icmp eq i64 %52, 0
%54 = zext i1 %53 to i32
%55 = call i32 @assert(i32 %54)
%56 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%57 = call i32 @chunk_path(i32 99, i32 10, i32 99, i8* %56, i32 1024)
%58 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%59 = call i64 @strcmp(i8* %58, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.7, i64 0, i64 0))
%60 = icmp eq i64 %59, 0
%61 = zext i1 %60 to i32
%62 = call i32 @assert(i32 %61)
%63 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%64 = call i32 @chunk_path(i32 100, i32 10, i32 999, i8* %63, i32 1024)
%65 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%66 = call i64 @strcmp(i8* %65, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0))
%67 = icmp eq i64 %66, 0
%68 = zext i1 %67 to i32
%69 = call i32 @assert(i32 %68)
%70 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%71 = call i32 @chunk_path(i32 102, i32 10, i32 999, i8* %70, i32 1024)
%72 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%73 = call i64 @strcmp(i8* %72, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0))
%74 = icmp eq i64 %73, 0
%75 = zext i1 %74 to i32
%76 = call i32 @assert(i32 %75)
%77 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%78 = call i32 @chunk_path(i32 0, i32 10, i32 999, i8* %77, i32 1024)
%79 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%80 = call i64 @strcmp(i8* %79, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.10, i64 0, i64 0))
%81 = icmp eq i64 %80, 0
%82 = zext i1 %81 to i32
%83 = call i32 @assert(i32 %82)
%84 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%85 = call i32 @chunk_path(i32 1, i32 10, i32 999, i8* %84, i32 1024)
%86 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%87 = call i64 @strcmp(i8* %86, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.11, i64 0, i64 0))
%88 = icmp eq i64 %87, 0
%89 = zext i1 %88 to i32
%90 = call i32 @assert(i32 %89)
%91 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%92 = call i32 @chunk_path(i32 992, i32 10, i32 999, i8* %91, i32 1024)
%93 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%94 = call i64 @strcmp(i8* %93, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.12, i64 0, i64 0))
%95 = icmp eq i64 %94, 0
%96 = zext i1 %95 to i32
%97 = call i32 @assert(i32 %96)
%98 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%99 = call i32 @chunk_path(i32 1234, i32 10, i32 9999, i8* %98, i32 1024)
%100 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%101 = call i64 @strcmp(i8* %100, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.13, i64 0, i64 0))
%102 = icmp eq i64 %101, 0
%103 = zext i1 %102 to i32
%104 = call i32 @assert(i32 %103)
%105 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%106 = call i32 @chunk_path(i32 0, i32 100, i32 999, i8* %105, i32 1024)
%107 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%108 = call i64 @strcmp(i8* %107, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.14, i64 0, i64 0))
%109 = icmp eq i64 %108, 0
%110 = zext i1 %109 to i32
%111 = call i32 @assert(i32 %110)
%112 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%113 = call i32 @chunk_path(i32 99, i32 100, i32 999, i8* %112, i32 1024)
%114 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%115 = call i64 @strcmp(i8* %114, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.15, i64 0, i64 0))
%116 = icmp eq i64 %115, 0
%117 = zext i1 %116 to i32
%118 = call i32 @assert(i32 %117)
%119 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%120 = call i32 @chunk_path(i32 100, i32 100, i32 999, i8* %119, i32 1024)
%121 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%122 = call i64 @strcmp(i8* %121, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.16, i64 0, i64 0))
%123 = icmp eq i64 %122, 0
%124 = zext i1 %123 to i32
%125 = call i32 @assert(i32 %124)
%126 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%127 = call i32 @chunk_path(i32 999, i32 100, i32 999, i8* %126, i32 1024)
%128 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%129 = call i64 @strcmp(i8* %128, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.17, i64 0, i64 0))
%130 = icmp eq i64 %129, 0
%131 = zext i1 %130 to i32
%132 = call i32 @assert(i32 %131)
%133 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%134 = call i32 @chunk_path(i32 1234, i32 100, i32 9999, i8* %133, i32 1024)
%135 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%136 = call i64 @strcmp(i8* %135, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.18, i64 0, i64 0))
%137 = icmp eq i64 %136, 0
%138 = zext i1 %137 to i32
%139 = call i32 @assert(i32 %138)
%140 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%141 = call i32 @chunk_path(i32 9876, i32 100, i32 9999, i8* %140, i32 1024)
%142 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%143 = call i64 @strcmp(i8* %142, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.19, i64 0, i64 0))
%144 = icmp eq i64 %143, 0
%145 = zext i1 %144 to i32
%146 = call i32 @assert(i32 %145)
%147 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%148 = call i32 @chunk_path(i32 9999, i32 100, i32 9999, i8* %147, i32 1024)
%149 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%150 = call i64 @strcmp(i8* %149, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.20, i64 0, i64 0))
%151 = icmp eq i64 %150, 0
%152 = zext i1 %151 to i32
%153 = call i32 @assert(i32 %152)
%154 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%155 = call i32 @chunk_path(i32 10000, i32 100, i32 99999, i8* %154, i32 1024)
%156 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%157 = call i64 @strcmp(i8* %156, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.21, i64 0, i64 0))
%158 = icmp eq i64 %157, 0
%159 = zext i1 %158 to i32
%160 = call i32 @assert(i32 %159)
%161 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%162 = call i32 @chunk_path(i32 123456, i32 100, i32 999999, i8* %161, i32 1024)
%163 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%164 = call i64 @strcmp(i8* %163, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.22, i64 0, i64 0))
%165 = icmp eq i64 %164, 0
%166 = zext i1 %165 to i32
%167 = call i32 @assert(i32 %166)
%168 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%169 = call i32 @chunk_path(i32 123456, i32 100, i32 9999999, i8* %168, i32 1024)
%170 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%171 = call i64 @strcmp(i8* %170, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.23, i64 0, i64 0))
%172 = icmp eq i64 %171, 0
%173 = zext i1 %172 to i32
%174 = call i32 @assert(i32 %173)
%175 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%176 = call i32 @chunk_path(i32 123456, i32 100, i32 99999999, i8* %175, i32 1024)
%177 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%178 = call i64 @strcmp(i8* %177, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.23, i64 0, i64 0))
%179 = icmp eq i64 %178, 0
%180 = zext i1 %179 to i32
%181 = call i32 @assert(i32 %180)
%182 = load i32, i32* @EXIT_SUCCESS
ret i32 %182
}

LLVM IR (-O2):
@.str = [9 x i8] c"chunks/0\00"
@.str.1 = [9 x i8] c"chunks/1\00"
@.str.2 = [9 x i8] c"chunks/9\00"
@.str.3 = [12 x i8] c"chunks/0/00\00"
@.str.4 = [15 x i8] c"chunks/1/2/123\00"
@.str.5 = [12 x i8] c"chunks/1/12\00"
@.str.6 = [12 x i8] c"chunks/9/98\00"
@.str.7 = [12 x i8] c"chunks/9/99\00"
@.str.8 = [15 x i8] c"chunks/1/0/100\00"
@.str.9 = [15 x i8] c"chunks/1/0/102\00"
@.str.10 = [15 x i8] c"chunks/0/0/000\00"
@.str.11 = [15 x i8] c"chunks/0/0/001\00"
@.str.12 = [15 x i8] c"chunks/9/9/992\00"
@.str.13 = [18 x i8] c"chunks/1/2/3/1234\00"
@.str.14 = [15 x i8] c"chunks/00/0000\00"
@.str.15 = [15 x i8] c"chunks/00/0099\00"
@.str.16 = [15 x i8] c"chunks/01/0100\00"
@.str.17 = [15 x i8] c"chunks/09/0999\00"
@.str.18 = [15 x i8] c"chunks/12/1234\00"
@.str.19 = [15 x i8] c"chunks/98/9876\00"
@.str.20 = [15 x i8] c"chunks/99/9999\00"
@.str.21 = [20 x i8] c"chunks/01/00/010000\00"
@.str.22 = [20 x i8] c"chunks/12/34/123456\00"
@.str.23 = [25 x i8] c"chunks/00/12/34/00123456\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [1024 x i8]
%4 = getelementptr inbounds [1024 x i8], [1024 x i8]* %3, i64 0, i64 0
%5 = call i32 @chunk_path(i32 0, i32 10, i32 9, i8* %4, i32 1024)
%6 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
%7 = icmp eq i64 %6, 0
%8 = zext i1 %7 to i32
%9 = call i32 @assert(i32 %8)
%10 = call i32 @chunk_path(i32 1, i32 10, i32 9, i8* %4, i32 1024)
%11 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0))
%12 = icmp eq i64 %11, 0
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 %13)
%15 = call i32 @chunk_path(i32 9, i32 10, i32 9, i8* %4, i32 1024)
%16 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
%17 = icmp eq i64 %16, 0
%18 = zext i1 %17 to i32
%19 = call i32 @assert(i32 %18)
%20 = call i32 @chunk_path(i32 0, i32 10, i32 99, i8* %4, i32 1024)
%21 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0))
%22 = icmp eq i64 %21, 0
%23 = zext i1 %22 to i32
%24 = call i32 @assert(i32 %23)
%25 = call i32 @chunk_path(i32 123, i32 10, i32 999, i8* %4, i32 1024)
%26 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0))
%27 = icmp eq i64 %26, 0
%28 = zext i1 %27 to i32
%29 = call i32 @assert(i32 %28)
%30 = call i32 @chunk_path(i32 12, i32 10, i32 99, i8* %4, i32 1024)
%31 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0))
%32 = icmp eq i64 %31, 0
%33 = zext i1 %32 to i32
%34 = call i32 @assert(i32 %33)
%35 = call i32 @chunk_path(i32 98, i32 10, i32 99, i8* %4, i32 1024)
%36 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0))
%37 = icmp eq i64 %36, 0
%38 = zext i1 %37 to i32
%39 = call i32 @assert(i32 %38)
%40 = call i32 @chunk_path(i32 99, i32 10, i32 99, i8* %4, i32 1024)
%41 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.7, i64 0, i64 0))
%42 = icmp eq i64 %41, 0
%43 = zext i1 %42 to i32
%44 = call i32 @assert(i32 %43)
%45 = call i32 @chunk_path(i32 100, i32 10, i32 999, i8* %4, i32 1024)
%46 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0))
%47 = icmp eq i64 %46, 0
%48 = zext i1 %47 to i32
%49 = call i32 @assert(i32 %48)
%50 = call i32 @chunk_path(i32 102, i32 10, i32 999, i8* %4, i32 1024)
%51 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0))
%52 = icmp eq i64 %51, 0
%53 = zext i1 %52 to i32
%54 = call i32 @assert(i32 %53)
%55 = call i32 @chunk_path(i32 0, i32 10, i32 999, i8* %4, i32 1024)
%56 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.10, i64 0, i64 0))
%57 = icmp eq i64 %56, 0
%58 = zext i1 %57 to i32
%59 = call i32 @assert(i32 %58)
%60 = call i32 @chunk_path(i32 1, i32 10, i32 999, i8* %4, i32 1024)
%61 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.11, i64 0, i64 0))
%62 = icmp eq i64 %61, 0
%63 = zext i1 %62 to i32
%64 = call i32 @assert(i32 %63)
%65 = call i32 @chunk_path(i32 992, i32 10, i32 999, i8* %4, i32 1024)
%66 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.12, i64 0, i64 0))
%67 = icmp eq i64 %66, 0
%68 = zext i1 %67 to i32
%69 = call i32 @assert(i32 %68)
%70 = call i32 @chunk_path(i32 1234, i32 10, i32 9999, i8* %4, i32 1024)
%71 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.13, i64 0, i64 0))
%72 = icmp eq i64 %71, 0
%73 = zext i1 %72 to i32
%74 = call i32 @assert(i32 %73)
%75 = call i32 @chunk_path(i32 0, i32 100, i32 999, i8* %4, i32 1024)
%76 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.14, i64 0, i64 0))
%77 = icmp eq i64 %76, 0
%78 = zext i1 %77 to i32
%79 = call i32 @assert(i32 %78)
%80 = call i32 @chunk_path(i32 99, i32 100, i32 999, i8* %4, i32 1024)
%81 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.15, i64 0, i64 0))
%82 = icmp eq i64 %81, 0
%83 = zext i1 %82 to i32
%84 = call i32 @assert(i32 %83)
%85 = call i32 @chunk_path(i32 100, i32 100, i32 999, i8* %4, i32 1024)
%86 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.16, i64 0, i64 0))
%87 = icmp eq i64 %86, 0
%88 = zext i1 %87 to i32
%89 = call i32 @assert(i32 %88)
%90 = call i32 @chunk_path(i32 999, i32 100, i32 999, i8* %4, i32 1024)
%91 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.17, i64 0, i64 0))
%92 = icmp eq i64 %91, 0
%93 = zext i1 %92 to i32
%94 = call i32 @assert(i32 %93)
%95 = call i32 @chunk_path(i32 1234, i32 100, i32 9999, i8* %4, i32 1024)
%96 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.18, i64 0, i64 0))
%97 = icmp eq i64 %96, 0
%98 = zext i1 %97 to i32
%99 = call i32 @assert(i32 %98)
%100 = call i32 @chunk_path(i32 9876, i32 100, i32 9999, i8* %4, i32 1024)
%101 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.19, i64 0, i64 0))
%102 = icmp eq i64 %101, 0
%103 = zext i1 %102 to i32
%104 = call i32 @assert(i32 %103)
%105 = call i32 @chunk_path(i32 9999, i32 100, i32 9999, i8* %4, i32 1024)
%106 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.20, i64 0, i64 0))
%107 = icmp eq i64 %106, 0
%108 = zext i1 %107 to i32
%109 = call i32 @assert(i32 %108)
%110 = call i32 @chunk_path(i32 10000, i32 100, i32 99999, i8* %4, i32 1024)
%111 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.21, i64 0, i64 0))
%112 = icmp eq i64 %111, 0
%113 = zext i1 %112 to i32
%114 = call i32 @assert(i32 %113)
%115 = call i32 @chunk_path(i32 123456, i32 100, i32 999999, i8* %4, i32 1024)
%116 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.22, i64 0, i64 0))
%117 = icmp eq i64 %116, 0
%118 = zext i1 %117 to i32
%119 = call i32 @assert(i32 %118)
%120 = call i32 @chunk_path(i32 123456, i32 100, i32 9999999, i8* %4, i32 1024)
%121 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.23, i64 0, i64 0))
%122 = icmp eq i64 %121, 0
%123 = zext i1 %122 to i32
%124 = call i32 @assert(i32 %123)
%125 = call i32 @chunk_path(i32 123456, i32 100, i32 99999999, i8* %4, i32 1024)
%126 = call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.23, i64 0, i64 0))
%127 = icmp eq i64 %126, 0
%128 = zext i1 %127 to i32
%129 = call i32 @assert(i32 %128)
%130 = load i32, i32* @EXIT_SUCCESS
ret i32 %130
}