#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 */

/* Variables and functions */
scalar_t__ ERANGE;
int /*<<< orphan*/ assert(int);
int atoll(char *);
scalar_t__ errno;
int main(void) {
  assert(0 == atoll(""));
  assert(0 == atoll(" "));
  assert(0 == atoll("\t"));
  assert(0 == atoll("\v"));
  assert(0 == atoll("\f"));
  assert(0 == atoll("\r"));
  assert(0 == atoll("\n"));
  assert(0 == atoll("+"));
  assert(0 == atoll("-"));
  assert(0 == atoll("0"));
  assert(0 == atoll("+0"));
  assert(0 == atoll("+0"));
  assert(0 == atoll("0"));
  assert(0 == atoll("00"));
  assert(0 == atoll("0.42"));
  assert(4 == atoll("4.2"));
  assert(4 == atoll("4,2"));
  assert(4 == atoll("4 2"));
  assert(42 == atoll("42"));
  assert(42 == atoll("+42"));
  assert(-42 == atoll("-42"));
  assert(42 == atoll("42.42"));
  assert(42 == atoll("+42.42"));
  assert(-42 == atoll("-42.42"));
  assert(123 == atoll("0123"));
  assert(123 == atoll("00123"));
  assert(-123 == atoll("-0123"));
  assert(123 == atoll("+0123"));
  errno = 0, assert(0 == atoll("asdf")), assert(errno == 0);
  assert(42 == atoll("  42asdf"));
  assert(42 == atoll("\r\n    +42asdf"));
  assert(-42 == atoll("\v\f-42asdf"));
  assert(42 == atoll("42asdf"));
  assert(42 == atoll("+42asdf"));
  assert(-42 == atoll("-42asdf"));
  assert(42 == atoll("42.42asdf"));
  assert(42 == atoll("+42.42asdf"));
  assert(-42 == atoll("-42.42asdf"));
  assert(2147483645 == atoll("2147483645"));
  assert(2147483646 == atoll("2147483646"));
  assert(2147483647 == atoll("2147483647"));
  assert(2147483648LL == atoll("2147483648"));
  assert(2147483649LL == atoll("2147483649"));
  assert(2147483650LL == atoll("2147483650"));
  assert(4294967295LL == atoll("4294967295"));
  assert(4294967296 == atoll("4294967296"));
  assert(4294967297 == atoll("4294967297"));
  assert(4294967298 == atoll("4294967298"));
  assert(4294967299 == atoll("4294967299"));
  assert(4294967300 == atoll("4294967300"));
  assert(9223372036854775805 == atoll("9223372036854775805"));
  assert(9223372036854775806 == atoll("9223372036854775806"));
  assert(9223372036854775807 == atoll("9223372036854775807"));
  errno = 0, assert(9223372036854775807 == atoll("9223372036854775808")),
  assert(errno == ERANGE);
  assert(9223372036854775807 == atoll("9223372036854775809"));
  assert(9223372036854775807 == atoll("9223372036854775810"));
  assert(9223372036854775807 == atoll("18446744073709551615"));
  assert(9223372036854775807 == atoll("18446744073709551616"));
  assert(9223372036854775807 == atoll("18446744073709551617"));
  assert(9223372036854775807 == atoll("18446744073709551618"));
  assert(9223372036854775807 == atoll("18446744073709551619"));
  assert(9223372036854775807 == atoll("18446744073709551620"));
  assert(-9223372036854775806 == atoll("-9223372036854775806"));
  errno = 0, assert(-9223372036854775807 == atoll("-9223372036854775807")),
  assert(errno == 0);
  errno = 0, assert(-9223372036854775807 - 1 == atoll("-9223372036854775808")),
  assert(errno == 0);
  errno = 0, assert(-9223372036854775807 - 1 == atoll("-9223372036854775809")),
  assert(errno == ERANGE);
  errno = 0, assert(-9223372036854775807 - 1 == atoll("-9223372036854775810")),
  assert(errno == ERANGE);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xecd(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xeab(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xe8e(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xe71(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xe54(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xe37(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xe1a(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xdfd(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xde0(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xdc4(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xda4(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xd85(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xd67(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xe3b(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xd2b(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xd11(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
mov    $0x4,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xcf3(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
mov    $0x4,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xcd5(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
mov    $0x4,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xcb8(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
mov    $0x2a,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xc95(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
mov    $0x2a,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xc77(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
mov    $0xffffffd6,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xc5a(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
mov    $0x2a,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xc37(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
mov    $0x2a,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xc1c(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
mov    $0xffffffd6,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xc0e(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
mov    $0x7b,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xbdf(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
mov    $0x7b,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xbc3(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
mov    $0xffffff85,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xba7(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
mov    $0x7b,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
mov    0x2b17(%rip),%rax
movq   $0x0,(%rax)
lea    0xb81(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
mov    0x2aea(%rip),%rax
cmpq   $0x0,(%rax)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xb46(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
mov    $0x2a,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xb2d(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
mov    $0x2a,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xb19(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
mov    $0xffffffd6,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xae2(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
mov    $0x2a,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xacd(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
mov    $0x2a,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xab5(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
mov    $0xffffffd6,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xa9c(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
mov    $0x2a,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xa79(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
mov    $0x2a,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xa62(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
mov    $0xffffffd6,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xa4b(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
mov    $0x7ffffffd,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xa34(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
mov    $0x7ffffffe,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xa1d(%rip),%rdi
call   1030 <atoll@plt>
mov    %eax,%ecx
mov    $0x7fffffff,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xa06(%rip),%rdi
call   1030 <atoll@plt>
movslq %eax,%rcx
mov    $0x80000000,%eax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0x9ed(%rip),%rdi
call   1030 <atoll@plt>
movslq %eax,%rcx
mov    $0x80000001,%eax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0x9d4(%rip),%rdi
call   1030 <atoll@plt>
movslq %eax,%rcx
mov    $0x80000002,%eax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0x9bb(%rip),%rdi
call   1030 <atoll@plt>
movslq %eax,%rcx
mov    $0xffffffff,%eax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0x9a2(%rip),%rdi
call   1030 <atoll@plt>
movslq %eax,%rcx
movabs $0x100000000,%rax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0x984(%rip),%rdi
call   1030 <atoll@plt>
movslq %eax,%rcx
movabs $0x100000001,%rax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0x966(%rip),%rdi
call   1030 <atoll@plt>
movslq %eax,%rcx
movabs $0x100000002,%rax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0x948(%rip),%rdi
call   1030 <atoll@plt>
movslq %eax,%rcx
movabs $0x100000003,%rax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0x92a(%rip),%rdi
call   1030 <atoll@plt>
movslq %eax,%rcx
movabs $0x100000004,%rax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0x90c(%rip),%rdi
call   1030 <atoll@plt>
movslq %eax,%rcx
movabs $0x7ffffffffffffffd,%rax
ff ff 7f
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0x976(%rip),%rdi
call   1030 <atoll@plt>
movslq %eax,%rcx
movabs $0x7ffffffffffffffe,%rax
ff ff 7f
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0x962(%rip),%rdi
call   1030 <atoll@plt>
movslq %eax,%rcx
movabs $0x7fffffffffffffff,%rax
ff ff 7f
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
mov    0x2762(%rip),%rax
movq   $0x0,(%rax)
lea    0x940(%rip),%rdi
call   1030 <atoll@plt>
movslq %eax,%rcx
movabs $0x7fffffffffffffff,%rax
ff ff 7f
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
mov    0x272b(%rip),%rax
mov    (%rax),%rax
mov    0x2731(%rip),%rcx
cmp    (%rcx),%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0x90b(%rip),%rdi
call   1030 <atoll@plt>
movslq %eax,%rcx
movabs $0x7fffffffffffffff,%rax
ff ff 7f
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0x8f7(%rip),%rdi
call   1030 <atoll@plt>
movslq %eax,%rcx
movabs $0x7fffffffffffffff,%rax
ff ff 7f
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0x7fb(%rip),%rdi
call   1030 <atoll@plt>
movslq %eax,%rcx
movabs $0x7fffffffffffffff,%rax
ff ff 7f
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0x7e7(%rip),%rdi
call   1030 <atoll@plt>
movslq %eax,%rcx
movabs $0x7fffffffffffffff,%rax
ff ff 7f
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0x7d3(%rip),%rdi
call   1030 <atoll@plt>
movslq %eax,%rcx
movabs $0x7fffffffffffffff,%rax
ff ff 7f
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0x7bf(%rip),%rdi
call   1030 <atoll@plt>
movslq %eax,%rcx
movabs $0x7fffffffffffffff,%rax
ff ff 7f
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0x7ab(%rip),%rdi
call   1030 <atoll@plt>
movslq %eax,%rcx
movabs $0x7fffffffffffffff,%rax
ff ff 7f
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0x797(%rip),%rdi
call   1030 <atoll@plt>
movslq %eax,%rcx
movabs $0x7fffffffffffffff,%rax
ff ff 7f
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0x783(%rip),%rdi
call   1030 <atoll@plt>
movslq %eax,%rcx
movabs $0x8000000000000002,%rax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
mov    0x2599(%rip),%rax
movq   $0x0,(%rax)
lea    0x761(%rip),%rdi
call   1030 <atoll@plt>
movslq %eax,%rcx
movabs $0x8000000000000001,%rax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
mov    0x2562(%rip),%rax
cmpq   $0x0,(%rax)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
mov    0x254a(%rip),%rax
movq   $0x0,(%rax)
lea    0x727(%rip),%rdi
call   1030 <atoll@plt>
movslq %eax,%rcx
movabs $0x8000000000000000,%rax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
mov    0x2513(%rip),%rax
cmpq   $0x0,(%rax)
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
mov    0x24fb(%rip),%rax
movq   $0x0,(%rax)
lea    0x6ed(%rip),%rdi
call   1030 <atoll@plt>
movslq %eax,%rcx
movabs $0x8000000000000000,%rax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
mov    0x24c4(%rip),%rax
mov    (%rax),%rax
mov    0x24ca(%rip),%rcx
cmp    (%rcx),%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
mov    0x24a3(%rip),%rax
movq   $0x0,(%rax)
lea    0x6aa(%rip),%rdi
call   1030 <atoll@plt>
movslq %eax,%rcx
movabs $0x8000000000000000,%rax
cmp    %rcx,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
mov    0x246c(%rip),%rax
mov    (%rax),%rax
mov    0x2472(%rip),%rcx
cmp    (%rcx),%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
push   %rax
mov    $0x1,%edi
call   1040 <assert@plt>
lea    0xecb(%rip),%rdi
call   1030 <atoll@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1040 <assert@plt>
lea    0xeb4(%rip),%rdi
call   1030 <atoll@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1040 <assert@plt>
lea    0xe9d(%rip),%rdi
call   1030 <atoll@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1040 <assert@plt>
lea    0xe86(%rip),%rdi
call   1030 <atoll@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1040 <assert@plt>
lea    0xe6f(%rip),%rdi
call   1030 <atoll@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1040 <assert@plt>
lea    0xe58(%rip),%rdi
call   1030 <atoll@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1040 <assert@plt>
lea    0xe41(%rip),%rdi
call   1030 <atoll@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1040 <assert@plt>
lea    0xe2a(%rip),%rdi
call   1030 <atoll@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1040 <assert@plt>
mov    $0x1,%edi
call   1040 <assert@plt>
mov    $0x1,%edi
call   1040 <assert@plt>
mov    $0x1,%edi
call   1040 <assert@plt>
mov    $0x1,%edi
call   1040 <assert@plt>
mov    $0x1,%edi
call   1040 <assert@plt>
lea    0xde1(%rip),%rdi
call   1030 <atoll@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1040 <assert@plt>
lea    0xdcd(%rip),%rdi
call   1030 <atoll@plt>
xor    %edi,%edi
cmp    $0x4,%eax
sete   %dil
call   1040 <assert@plt>
lea    0xdb7(%rip),%rdi
call   1030 <atoll@plt>
xor    %edi,%edi
cmp    $0x4,%eax
sete   %dil
call   1040 <assert@plt>
lea    0xda1(%rip),%rdi
call   1030 <atoll@plt>
xor    %edi,%edi
cmp    $0x4,%eax
sete   %dil
call   1040 <assert@plt>
mov    $0x1,%edi
call   1040 <assert@plt>
mov    $0x1,%edi
call   1040 <assert@plt>
mov    $0x1,%edi
call   1040 <assert@plt>
lea    0xd6e(%rip),%rdi
call   1030 <atoll@plt>
xor    %edi,%edi
cmp    $0x2a,%eax
sete   %dil
call   1040 <assert@plt>
lea    0xd53(%rip),%rdi
call   1030 <atoll@plt>
xor    %edi,%edi
cmp    $0x2a,%eax
sete   %dil
call   1040 <assert@plt>
lea    0xd40(%rip),%rdi
call   1030 <atoll@plt>
xor    %edi,%edi
cmp    $0xffffffd6,%eax
sete   %dil
call   1040 <assert@plt>
mov    $0x1,%edi
call   1040 <assert@plt>
mov    $0x1,%edi
call   1040 <assert@plt>
mov    $0x1,%edi
call   1040 <assert@plt>
mov    $0x1,%edi
call   1040 <assert@plt>
mov    0x2cae(%rip),%rbx
movq   $0x0,(%rbx)
lea    0xcfb(%rip),%rdi
call   1030 <atoll@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1040 <assert@plt>
xor    %edi,%edi
cmpq   $0x0,(%rbx)
sete   %dil
call   1040 <assert@plt>
lea    0xccf(%rip),%rdi
call   1030 <atoll@plt>
xor    %edi,%edi
cmp    $0x2a,%eax
sete   %dil
call   1040 <assert@plt>
lea    0xcbe(%rip),%rdi
call   1030 <atoll@plt>
xor    %edi,%edi
cmp    $0x2a,%eax
sete   %dil
call   1040 <assert@plt>
lea    0xcb2(%rip),%rdi
call   1030 <atoll@plt>
xor    %edi,%edi
cmp    $0xffffffd6,%eax
sete   %dil
call   1040 <assert@plt>
lea    0xc83(%rip),%rdi
call   1030 <atoll@plt>
xor    %edi,%edi
cmp    $0x2a,%eax
sete   %dil
call   1040 <assert@plt>
lea    0xc76(%rip),%rdi
call   1030 <atoll@plt>
xor    %edi,%edi
cmp    $0x2a,%eax
sete   %dil
call   1040 <assert@plt>
lea    0xc66(%rip),%rdi
call   1030 <atoll@plt>
xor    %edi,%edi
cmp    $0xffffffd6,%eax
sete   %dil
call   1040 <assert@plt>
lea    0xc55(%rip),%rdi
call   1030 <atoll@plt>
xor    %edi,%edi
cmp    $0x2a,%eax
sete   %dil
call   1040 <assert@plt>
lea    0xc3a(%rip),%rdi
call   1030 <atoll@plt>
xor    %edi,%edi
cmp    $0x2a,%eax
sete   %dil
call   1040 <assert@plt>
lea    0xc2b(%rip),%rdi
call   1030 <atoll@plt>
xor    %edi,%edi
cmp    $0xffffffd6,%eax
sete   %dil
call   1040 <assert@plt>
mov    $0x1,%edi
call   1040 <assert@plt>
mov    $0x1,%edi
call   1040 <assert@plt>
mov    $0x1,%edi
call   1040 <assert@plt>
xor    %edi,%edi
call   1040 <assert@plt>
xor    %edi,%edi
call   1040 <assert@plt>
xor    %edi,%edi
call   1040 <assert@plt>
xor    %edi,%edi
call   1040 <assert@plt>
xor    %edi,%edi
call   1040 <assert@plt>
xor    %edi,%edi
call   1040 <assert@plt>
xor    %edi,%edi
call   1040 <assert@plt>
xor    %edi,%edi
call   1040 <assert@plt>
xor    %edi,%edi
call   1040 <assert@plt>
xor    %edi,%edi
call   1040 <assert@plt>
xor    %edi,%edi
call   1040 <assert@plt>
xor    %edi,%edi
call   1040 <assert@plt>
movq   $0x0,(%rbx)
xor    %edi,%edi
call   1040 <assert@plt>
mov    (%rbx),%rax
mov    0x2b1b(%rip),%r14
xor    %edi,%edi
cmp    (%r14),%rax
sete   %dil
call   1040 <assert@plt>
xor    %edi,%edi
call   1040 <assert@plt>
xor    %edi,%edi
call   1040 <assert@plt>
xor    %edi,%edi
call   1040 <assert@plt>
xor    %edi,%edi
call   1040 <assert@plt>
xor    %edi,%edi
call   1040 <assert@plt>
xor    %edi,%edi
call   1040 <assert@plt>
xor    %edi,%edi
call   1040 <assert@plt>
xor    %edi,%edi
call   1040 <assert@plt>
xor    %edi,%edi
call   1040 <assert@plt>
movq   $0x0,(%rbx)
xor    %edi,%edi
call   1040 <assert@plt>
xor    %edi,%edi
cmpq   $0x0,(%rbx)
sete   %dil
call   1040 <assert@plt>
movq   $0x0,(%rbx)
xor    %edi,%edi
call   1040 <assert@plt>
xor    %edi,%edi
cmpq   $0x0,(%rbx)
sete   %dil
call   1040 <assert@plt>
movq   $0x0,(%rbx)
xor    %edi,%edi
call   1040 <assert@plt>
mov    (%rbx),%rax
xor    %edi,%edi
cmp    (%r14),%rax
sete   %dil
call   1040 <assert@plt>
movq   $0x0,(%rbx)
xor    %edi,%edi
call   1040 <assert@plt>
mov    (%rbx),%rax
xor    %edi,%edi
cmp    (%r14),%rax
sete   %dil
call   1040 <assert@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [1 x i8] zeroinitializer
@.str.1 = [2 x i8] c" \00"
@.str.2 = [2 x i8] c"\09\00"
@.str.3 = [2 x i8] c"\0B\00"
@.str.4 = [2 x i8] c"\0C\00"
@.str.5 = [2 x i8] c"\0D\00"
@.str.6 = [2 x i8] c"\0A\00"
@.str.7 = [2 x i8] c"+\00"
@.str.8 = [2 x i8] c"-\00"
@.str.9 = [2 x i8] c"0\00"
@.str.10 = [3 x i8] c"+0\00"
@.str.11 = [3 x i8] c"00\00"
@.str.12 = [5 x i8] c"0.42\00"
@.str.13 = [4 x i8] c"4.2\00"
@.str.14 = [4 x i8] c"4,2\00"
@.str.15 = [4 x i8] c"4 2\00"
@.str.16 = [3 x i8] c"42\00"
@.str.17 = [4 x i8] c"+42\00"
@.str.18 = [4 x i8] c"-42\00"
@.str.19 = [6 x i8] c"42.42\00"
@.str.20 = [7 x i8] c"+42.42\00"
@.str.21 = [7 x i8] c"-42.42\00"
@.str.22 = [5 x i8] c"0123\00"
@.str.23 = [6 x i8] c"00123\00"
@.str.24 = [6 x i8] c"-0123\00"
@.str.25 = [6 x i8] c"+0123\00"
@errno = global i64 0
@.str.26 = [5 x i8] c"asdf\00"
@.str.27 = [9 x i8] c" 42asdf\00"
@.str.28 = [14 x i8] c"\0D\0A +42asdf\00"
@.str.29 = [10 x i8] c"\0B\0C-42asdf\00"
@.str.30 = [7 x i8] c"42asdf\00"
@.str.31 = [8 x i8] c"+42asdf\00"
@.str.32 = [8 x i8] c"-42asdf\00"
@.str.33 = [10 x i8] c"42.42asdf\00"
@.str.34 = [11 x i8] c"+42.42asdf\00"
@.str.35 = [11 x i8] c"-42.42asdf\00"
@.str.36 = [11 x i8] c"2147483645\00"
@.str.37 = [11 x i8] c"2147483646\00"
@.str.38 = [11 x i8] c"2147483647\00"
@.str.39 = [11 x i8] c"2147483648\00"
@.str.40 = [11 x i8] c"2147483649\00"
@.str.41 = [11 x i8] c"2147483650\00"
@.str.42 = [11 x i8] c"4294967295\00"
@.str.43 = [11 x i8] c"4294967296\00"
@.str.44 = [11 x i8] c"4294967297\00"
@.str.45 = [11 x i8] c"4294967298\00"
@.str.46 = [11 x i8] c"4294967299\00"
@.str.47 = [11 x i8] c"4294967300\00"
@.str.48 = [20 x i8] c"9223372036854775805\00"
@.str.49 = [20 x i8] c"9223372036854775806\00"
@.str.50 = [20 x i8] c"9223372036854775807\00"
@.str.51 = [20 x i8] c"9223372036854775808\00"
@ERANGE = global i64 0
@.str.52 = [20 x i8] c"9223372036854775809\00"
@.str.53 = [20 x i8] c"9223372036854775810\00"
@.str.54 = [21 x i8] c"18446744073709551615\00"
@.str.55 = [21 x i8] c"18446744073709551616\00"
@.str.56 = [21 x i8] c"18446744073709551617\00"
@.str.57 = [21 x i8] c"18446744073709551618\00"
@.str.58 = [21 x i8] c"18446744073709551619\00"
@.str.59 = [21 x i8] c"18446744073709551620\00"
@.str.60 = [21 x i8] c"-9223372036854775806\00"
@.str.61 = [21 x i8] c"-9223372036854775807\00"
@.str.62 = [21 x i8] c"-9223372036854775808\00"
@.str.63 = [21 x i8] c"-9223372036854775809\00"
@.str.64 = [21 x i8] c"-9223372036854775810\00"
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 @atoll(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%3 = icmp eq i32 0, %2
%4 = zext i1 %3 to i32
%5 = call i32 @assert(i32 %4)
%6 = call i32 @atoll(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%7 = icmp eq i32 0, %6
%8 = zext i1 %7 to i32
%9 = call i32 @assert(i32 %8)
%10 = call i32 @atoll(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%11 = icmp eq i32 0, %10
%12 = zext i1 %11 to i32
%13 = call i32 @assert(i32 %12)
%14 = call i32 @atoll(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%15 = icmp eq i32 0, %14
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 %16)
%18 = call i32 @atoll(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%19 = icmp eq i32 0, %18
%20 = zext i1 %19 to i32
%21 = call i32 @assert(i32 %20)
%22 = call i32 @atoll(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%23 = icmp eq i32 0, %22
%24 = zext i1 %23 to i32
%25 = call i32 @assert(i32 %24)
%26 = call i32 @atoll(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
%27 = icmp eq i32 0, %26
%28 = zext i1 %27 to i32
%29 = call i32 @assert(i32 %28)
%30 = call i32 @atoll(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%31 = icmp eq i32 0, %30
%32 = zext i1 %31 to i32
%33 = call i32 @assert(i32 %32)
%34 = call i32 @atoll(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
%35 = icmp eq i32 0, %34
%36 = zext i1 %35 to i32
%37 = call i32 @assert(i32 %36)
%38 = call i32 @atoll(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
%39 = icmp eq i32 0, %38
%40 = zext i1 %39 to i32
%41 = call i32 @assert(i32 %40)
%42 = call i32 @atoll(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0))
%43 = icmp eq i32 0, %42
%44 = zext i1 %43 to i32
%45 = call i32 @assert(i32 %44)
%46 = call i32 @atoll(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0))
%47 = icmp eq i32 0, %46
%48 = zext i1 %47 to i32
%49 = call i32 @assert(i32 %48)
%50 = call i32 @atoll(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
%51 = icmp eq i32 0, %50
%52 = zext i1 %51 to i32
%53 = call i32 @assert(i32 %52)
%54 = call i32 @atoll(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.11, i64 0, i64 0))
%55 = icmp eq i32 0, %54
%56 = zext i1 %55 to i32
%57 = call i32 @assert(i32 %56)
%58 = call i32 @atoll(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
%59 = icmp eq i32 0, %58
%60 = zext i1 %59 to i32
%61 = call i32 @assert(i32 %60)
%62 = call i32 @atoll(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0))
%63 = icmp eq i32 4, %62
%64 = zext i1 %63 to i32
%65 = call i32 @assert(i32 %64)
%66 = call i32 @atoll(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0))
%67 = icmp eq i32 4, %66
%68 = zext i1 %67 to i32
%69 = call i32 @assert(i32 %68)
%70 = call i32 @atoll(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0))
%71 = icmp eq i32 4, %70
%72 = zext i1 %71 to i32
%73 = call i32 @assert(i32 %72)
%74 = call i32 @atoll(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.16, i64 0, i64 0))
%75 = icmp eq i32 42, %74
%76 = zext i1 %75 to i32
%77 = call i32 @assert(i32 %76)
%78 = call i32 @atoll(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0))
%79 = icmp eq i32 42, %78
%80 = zext i1 %79 to i32
%81 = call i32 @assert(i32 %80)
%82 = call i32 @atoll(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0))
%83 = icmp eq i32 -42, %82
%84 = zext i1 %83 to i32
%85 = call i32 @assert(i32 %84)
%86 = call i32 @atoll(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.19, i64 0, i64 0))
%87 = icmp eq i32 42, %86
%88 = zext i1 %87 to i32
%89 = call i32 @assert(i32 %88)
%90 = call i32 @atoll(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.20, i64 0, i64 0))
%91 = icmp eq i32 42, %90
%92 = zext i1 %91 to i32
%93 = call i32 @assert(i32 %92)
%94 = call i32 @atoll(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.21, i64 0, i64 0))
%95 = icmp eq i32 -42, %94
%96 = zext i1 %95 to i32
%97 = call i32 @assert(i32 %96)
%98 = call i32 @atoll(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.22, i64 0, i64 0))
%99 = icmp eq i32 123, %98
%100 = zext i1 %99 to i32
%101 = call i32 @assert(i32 %100)
%102 = call i32 @atoll(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.23, i64 0, i64 0))
%103 = icmp eq i32 123, %102
%104 = zext i1 %103 to i32
%105 = call i32 @assert(i32 %104)
%106 = call i32 @atoll(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.24, i64 0, i64 0))
%107 = icmp eq i32 -123, %106
%108 = zext i1 %107 to i32
%109 = call i32 @assert(i32 %108)
%110 = call i32 @atoll(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.25, i64 0, i64 0))
%111 = icmp eq i32 123, %110
%112 = zext i1 %111 to i32
%113 = call i32 @assert(i32 %112)
store i64 0, i64* @errno
%114 = call i32 @atoll(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.26, i64 0, i64 0))
%115 = icmp eq i32 0, %114
%116 = zext i1 %115 to i32
%117 = call i32 @assert(i32 %116)
%118 = load i64, i64* @errno
%119 = icmp eq i64 %118, 0
%120 = zext i1 %119 to i32
%121 = call i32 @assert(i32 %120)
%122 = call i32 @atoll(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.27, i64 0, i64 0))
%123 = icmp eq i32 42, %122
%124 = zext i1 %123 to i32
%125 = call i32 @assert(i32 %124)
%126 = call i32 @atoll(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.28, i64 0, i64 0))
%127 = icmp eq i32 42, %126
%128 = zext i1 %127 to i32
%129 = call i32 @assert(i32 %128)
%130 = call i32 @atoll(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.29, i64 0, i64 0))
%131 = icmp eq i32 -42, %130
%132 = zext i1 %131 to i32
%133 = call i32 @assert(i32 %132)
%134 = call i32 @atoll(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.30, i64 0, i64 0))
%135 = icmp eq i32 42, %134
%136 = zext i1 %135 to i32
%137 = call i32 @assert(i32 %136)
%138 = call i32 @atoll(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.31, i64 0, i64 0))
%139 = icmp eq i32 42, %138
%140 = zext i1 %139 to i32
%141 = call i32 @assert(i32 %140)
%142 = call i32 @atoll(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.32, i64 0, i64 0))
%143 = icmp eq i32 -42, %142
%144 = zext i1 %143 to i32
%145 = call i32 @assert(i32 %144)
%146 = call i32 @atoll(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.33, i64 0, i64 0))
%147 = icmp eq i32 42, %146
%148 = zext i1 %147 to i32
%149 = call i32 @assert(i32 %148)
%150 = call i32 @atoll(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.34, i64 0, i64 0))
%151 = icmp eq i32 42, %150
%152 = zext i1 %151 to i32
%153 = call i32 @assert(i32 %152)
%154 = call i32 @atoll(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.35, i64 0, i64 0))
%155 = icmp eq i32 -42, %154
%156 = zext i1 %155 to i32
%157 = call i32 @assert(i32 %156)
%158 = call i32 @atoll(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.36, i64 0, i64 0))
%159 = icmp eq i32 2147483645, %158
%160 = zext i1 %159 to i32
%161 = call i32 @assert(i32 %160)
%162 = call i32 @atoll(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.37, i64 0, i64 0))
%163 = icmp eq i32 2147483646, %162
%164 = zext i1 %163 to i32
%165 = call i32 @assert(i32 %164)
%166 = call i32 @atoll(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.38, i64 0, i64 0))
%167 = icmp eq i32 2147483647, %166
%168 = zext i1 %167 to i32
%169 = call i32 @assert(i32 %168)
%170 = call i32 @atoll(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.39, i64 0, i64 0))
%171 = sext i32 %170 to i64
%172 = icmp eq i64 2147483648, %171
%173 = zext i1 %172 to i32
%174 = call i32 @assert(i32 %173)
%175 = call i32 @atoll(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.40, i64 0, i64 0))
%176 = sext i32 %175 to i64
%177 = icmp eq i64 2147483649, %176
%178 = zext i1 %177 to i32
%179 = call i32 @assert(i32 %178)
%180 = call i32 @atoll(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.41, i64 0, i64 0))
%181 = sext i32 %180 to i64
%182 = icmp eq i64 2147483650, %181
%183 = zext i1 %182 to i32
%184 = call i32 @assert(i32 %183)
%185 = call i32 @atoll(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.42, i64 0, i64 0))
%186 = sext i32 %185 to i64
%187 = icmp eq i64 4294967295, %186
%188 = zext i1 %187 to i32
%189 = call i32 @assert(i32 %188)
%190 = call i32 @atoll(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.43, i64 0, i64 0))
%191 = sext i32 %190 to i64
%192 = icmp eq i64 4294967296, %191
%193 = zext i1 %192 to i32
%194 = call i32 @assert(i32 %193)
%195 = call i32 @atoll(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.44, i64 0, i64 0))
%196 = sext i32 %195 to i64
%197 = icmp eq i64 4294967297, %196
%198 = zext i1 %197 to i32
%199 = call i32 @assert(i32 %198)
%200 = call i32 @atoll(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.45, i64 0, i64 0))
%201 = sext i32 %200 to i64
%202 = icmp eq i64 4294967298, %201
%203 = zext i1 %202 to i32
%204 = call i32 @assert(i32 %203)
%205 = call i32 @atoll(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.46, i64 0, i64 0))
%206 = sext i32 %205 to i64
%207 = icmp eq i64 4294967299, %206
%208 = zext i1 %207 to i32
%209 = call i32 @assert(i32 %208)
%210 = call i32 @atoll(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.47, i64 0, i64 0))
%211 = sext i32 %210 to i64
%212 = icmp eq i64 4294967300, %211
%213 = zext i1 %212 to i32
%214 = call i32 @assert(i32 %213)
%215 = call i32 @atoll(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.48, i64 0, i64 0))
%216 = sext i32 %215 to i64
%217 = icmp eq i64 9223372036854775805, %216
%218 = zext i1 %217 to i32
%219 = call i32 @assert(i32 %218)
%220 = call i32 @atoll(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.49, i64 0, i64 0))
%221 = sext i32 %220 to i64
%222 = icmp eq i64 9223372036854775806, %221
%223 = zext i1 %222 to i32
%224 = call i32 @assert(i32 %223)
%225 = call i32 @atoll(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.50, i64 0, i64 0))
%226 = sext i32 %225 to i64
%227 = icmp eq i64 9223372036854775807, %226
%228 = zext i1 %227 to i32
%229 = call i32 @assert(i32 %228)
store i64 0, i64* @errno
%230 = call i32 @atoll(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.51, i64 0, i64 0))
%231 = sext i32 %230 to i64
%232 = icmp eq i64 9223372036854775807, %231
%233 = zext i1 %232 to i32
%234 = call i32 @assert(i32 %233)
%235 = load i64, i64* @errno
%236 = load i64, i64* @ERANGE
%237 = icmp eq i64 %235, %236
%238 = zext i1 %237 to i32
%239 = call i32 @assert(i32 %238)
%240 = call i32 @atoll(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.52, i64 0, i64 0))
%241 = sext i32 %240 to i64
%242 = icmp eq i64 9223372036854775807, %241
%243 = zext i1 %242 to i32
%244 = call i32 @assert(i32 %243)
%245 = call i32 @atoll(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.53, i64 0, i64 0))
%246 = sext i32 %245 to i64
%247 = icmp eq i64 9223372036854775807, %246
%248 = zext i1 %247 to i32
%249 = call i32 @assert(i32 %248)
%250 = call i32 @atoll(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.54, i64 0, i64 0))
%251 = sext i32 %250 to i64
%252 = icmp eq i64 9223372036854775807, %251
%253 = zext i1 %252 to i32
%254 = call i32 @assert(i32 %253)
%255 = call i32 @atoll(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.55, i64 0, i64 0))
%256 = sext i32 %255 to i64
%257 = icmp eq i64 9223372036854775807, %256
%258 = zext i1 %257 to i32
%259 = call i32 @assert(i32 %258)
%260 = call i32 @atoll(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.56, i64 0, i64 0))
%261 = sext i32 %260 to i64
%262 = icmp eq i64 9223372036854775807, %261
%263 = zext i1 %262 to i32
%264 = call i32 @assert(i32 %263)
%265 = call i32 @atoll(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.57, i64 0, i64 0))
%266 = sext i32 %265 to i64
%267 = icmp eq i64 9223372036854775807, %266
%268 = zext i1 %267 to i32
%269 = call i32 @assert(i32 %268)
%270 = call i32 @atoll(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.58, i64 0, i64 0))
%271 = sext i32 %270 to i64
%272 = icmp eq i64 9223372036854775807, %271
%273 = zext i1 %272 to i32
%274 = call i32 @assert(i32 %273)
%275 = call i32 @atoll(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.59, i64 0, i64 0))
%276 = sext i32 %275 to i64
%277 = icmp eq i64 9223372036854775807, %276
%278 = zext i1 %277 to i32
%279 = call i32 @assert(i32 %278)
%280 = call i32 @atoll(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.60, i64 0, i64 0))
%281 = sext i32 %280 to i64
%282 = icmp eq i64 -9223372036854775806, %281
%283 = zext i1 %282 to i32
%284 = call i32 @assert(i32 %283)
store i64 0, i64* @errno
%285 = call i32 @atoll(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.61, i64 0, i64 0))
%286 = sext i32 %285 to i64
%287 = icmp eq i64 -9223372036854775807, %286
%288 = zext i1 %287 to i32
%289 = call i32 @assert(i32 %288)
%290 = load i64, i64* @errno
%291 = icmp eq i64 %290, 0
%292 = zext i1 %291 to i32
%293 = call i32 @assert(i32 %292)
store i64 0, i64* @errno
%294 = call i32 @atoll(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.62, i64 0, i64 0))
%295 = sext i32 %294 to i64
%296 = icmp eq i64 -9223372036854775808, %295
%297 = zext i1 %296 to i32
%298 = call i32 @assert(i32 %297)
%299 = load i64, i64* @errno
%300 = icmp eq i64 %299, 0
%301 = zext i1 %300 to i32
%302 = call i32 @assert(i32 %301)
store i64 0, i64* @errno
%303 = call i32 @atoll(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.63, i64 0, i64 0))
%304 = sext i32 %303 to i64
%305 = icmp eq i64 -9223372036854775808, %304
%306 = zext i1 %305 to i32
%307 = call i32 @assert(i32 %306)
%308 = load i64, i64* @errno
%309 = load i64, i64* @ERANGE
%310 = icmp eq i64 %308, %309
%311 = zext i1 %310 to i32
%312 = call i32 @assert(i32 %311)
store i64 0, i64* @errno
%313 = call i32 @atoll(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.64, i64 0, i64 0))
%314 = sext i32 %313 to i64
%315 = icmp eq i64 -9223372036854775808, %314
%316 = zext i1 %315 to i32
%317 = call i32 @assert(i32 %316)
%318 = load i64, i64* @errno
%319 = load i64, i64* @ERANGE
%320 = icmp eq i64 %318, %319
%321 = zext i1 %320 to i32
%322 = call i32 @assert(i32 %321)
ret i32 0
}

LLVM IR (-O2):
@.str.1 = [2 x i8] c" \00"
@.str.2 = [2 x i8] c"\09\00"
@.str.3 = [2 x i8] c"\0B\00"
@.str.4 = [2 x i8] c"\0C\00"
@.str.5 = [2 x i8] c"\0D\00"
@.str.6 = [2 x i8] c"\0A\00"
@.str.7 = [2 x i8] c"+\00"
@.str.8 = [2 x i8] c"-\00"
@.str.12 = [5 x i8] c"0.42\00"
@.str.13 = [4 x i8] c"4.2\00"
@.str.14 = [4 x i8] c"4,2\00"
@.str.15 = [4 x i8] c"4 2\00"
@.str.19 = [6 x i8] c"42.42\00"
@.str.20 = [7 x i8] c"+42.42\00"
@.str.21 = [7 x i8] c"-42.42\00"
@errno = global i64 0
@.str.26 = [5 x i8] c"asdf\00"
@.str.27 = [9 x i8] c" 42asdf\00"
@.str.28 = [14 x i8] c"\0D\0A +42asdf\00"
@.str.29 = [10 x i8] c"\0B\0C-42asdf\00"
@.str.30 = [7 x i8] c"42asdf\00"
@.str.31 = [8 x i8] c"+42asdf\00"
@.str.32 = [8 x i8] c"-42asdf\00"
@.str.33 = [10 x i8] c"42.42asdf\00"
@.str.34 = [11 x i8] c"+42.42asdf\00"
@.str.35 = [11 x i8] c"-42.42asdf\00"
@ERANGE = global i64 0
define i32 @main() {
%1 = tail call i32 @assert(i32 1)
%2 = tail call i32 @atoll(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%3 = icmp eq i32 %2, 0
%4 = zext i1 %3 to i32
%5 = tail call i32 @assert(i32 %4)
%6 = tail call i32 @atoll(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%7 = icmp eq i32 %6, 0
%8 = zext i1 %7 to i32
%9 = tail call i32 @assert(i32 %8)
%10 = tail call i32 @atoll(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%11 = icmp eq i32 %10, 0
%12 = zext i1 %11 to i32
%13 = tail call i32 @assert(i32 %12)
%14 = tail call i32 @atoll(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%15 = icmp eq i32 %14, 0
%16 = zext i1 %15 to i32
%17 = tail call i32 @assert(i32 %16)
%18 = tail call i32 @atoll(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%19 = icmp eq i32 %18, 0
%20 = zext i1 %19 to i32
%21 = tail call i32 @assert(i32 %20)
%22 = tail call i32 @atoll(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
%23 = icmp eq i32 %22, 0
%24 = zext i1 %23 to i32
%25 = tail call i32 @assert(i32 %24)
%26 = tail call i32 @atoll(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%27 = icmp eq i32 %26, 0
%28 = zext i1 %27 to i32
%29 = tail call i32 @assert(i32 %28)
%30 = tail call i32 @atoll(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
%31 = icmp eq i32 %30, 0
%32 = zext i1 %31 to i32
%33 = tail call i32 @assert(i32 %32)
%34 = tail call i32 @assert(i32 1)
%35 = tail call i32 @assert(i32 1)
%36 = tail call i32 @assert(i32 1)
%37 = tail call i32 @assert(i32 1)
%38 = tail call i32 @assert(i32 1)
%39 = tail call i32 @atoll(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
%40 = icmp eq i32 %39, 0
%41 = zext i1 %40 to i32
%42 = tail call i32 @assert(i32 %41)
%43 = tail call i32 @atoll(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0))
%44 = icmp eq i32 %43, 4
%45 = zext i1 %44 to i32
%46 = tail call i32 @assert(i32 %45)
%47 = tail call i32 @atoll(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0))
%48 = icmp eq i32 %47, 4
%49 = zext i1 %48 to i32
%50 = tail call i32 @assert(i32 %49)
%51 = tail call i32 @atoll(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0))
%52 = icmp eq i32 %51, 4
%53 = zext i1 %52 to i32
%54 = tail call i32 @assert(i32 %53)
%55 = tail call i32 @assert(i32 1)
%56 = tail call i32 @assert(i32 1)
%57 = tail call i32 @assert(i32 1)
%58 = tail call i32 @atoll(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.19, i64 0, i64 0))
%59 = icmp eq i32 %58, 42
%60 = zext i1 %59 to i32
%61 = tail call i32 @assert(i32 %60)
%62 = tail call i32 @atoll(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.20, i64 0, i64 0))
%63 = icmp eq i32 %62, 42
%64 = zext i1 %63 to i32
%65 = tail call i32 @assert(i32 %64)
%66 = tail call i32 @atoll(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.21, i64 0, i64 0))
%67 = icmp eq i32 %66, -42
%68 = zext i1 %67 to i32
%69 = tail call i32 @assert(i32 %68)
%70 = tail call i32 @assert(i32 1)
%71 = tail call i32 @assert(i32 1)
%72 = tail call i32 @assert(i32 1)
%73 = tail call i32 @assert(i32 1)
store i64 0, i64* @errno
%74 = tail call i32 @atoll(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.26, i64 0, i64 0))
%75 = icmp eq i32 %74, 0
%76 = zext i1 %75 to i32
%77 = tail call i32 @assert(i32 %76)
%78 = load i64, i64* @errno
%79 = icmp eq i64 %78, 0
%80 = zext i1 %79 to i32
%81 = tail call i32 @assert(i32 %80)
%82 = tail call i32 @atoll(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.27, i64 0, i64 0))
%83 = icmp eq i32 %82, 42
%84 = zext i1 %83 to i32
%85 = tail call i32 @assert(i32 %84)
%86 = tail call i32 @atoll(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.28, i64 0, i64 0))
%87 = icmp eq i32 %86, 42
%88 = zext i1 %87 to i32
%89 = tail call i32 @assert(i32 %88)
%90 = tail call i32 @atoll(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.29, i64 0, i64 0))
%91 = icmp eq i32 %90, -42
%92 = zext i1 %91 to i32
%93 = tail call i32 @assert(i32 %92)
%94 = tail call i32 @atoll(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.30, i64 0, i64 0))
%95 = icmp eq i32 %94, 42
%96 = zext i1 %95 to i32
%97 = tail call i32 @assert(i32 %96)
%98 = tail call i32 @atoll(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.31, i64 0, i64 0))
%99 = icmp eq i32 %98, 42
%100 = zext i1 %99 to i32
%101 = tail call i32 @assert(i32 %100)
%102 = tail call i32 @atoll(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.32, i64 0, i64 0))
%103 = icmp eq i32 %102, -42
%104 = zext i1 %103 to i32
%105 = tail call i32 @assert(i32 %104)
%106 = tail call i32 @atoll(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.33, i64 0, i64 0))
%107 = icmp eq i32 %106, 42
%108 = zext i1 %107 to i32
%109 = tail call i32 @assert(i32 %108)
%110 = tail call i32 @atoll(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.34, i64 0, i64 0))
%111 = icmp eq i32 %110, 42
%112 = zext i1 %111 to i32
%113 = tail call i32 @assert(i32 %112)
%114 = tail call i32 @atoll(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.35, i64 0, i64 0))
%115 = icmp eq i32 %114, -42
%116 = zext i1 %115 to i32
%117 = tail call i32 @assert(i32 %116)
%118 = tail call i32 @assert(i32 1)
%119 = tail call i32 @assert(i32 1)
%120 = tail call i32 @assert(i32 1)
%121 = tail call i32 @assert(i32 0)
%122 = tail call i32 @assert(i32 0)
%123 = tail call i32 @assert(i32 0)
%124 = tail call i32 @assert(i32 0)
%125 = tail call i32 @assert(i32 0)
%126 = tail call i32 @assert(i32 0)
%127 = tail call i32 @assert(i32 0)
%128 = tail call i32 @assert(i32 0)
%129 = tail call i32 @assert(i32 0)
%130 = tail call i32 @assert(i32 0)
%131 = tail call i32 @assert(i32 0)
%132 = tail call i32 @assert(i32 0)
store i64 0, i64* @errno
%133 = tail call i32 @assert(i32 0)
%134 = load i64, i64* @errno
%135 = load i64, i64* @ERANGE
%136 = icmp eq i64 %134, %135
%137 = zext i1 %136 to i32
%138 = tail call i32 @assert(i32 %137)
%139 = tail call i32 @assert(i32 0)
%140 = tail call i32 @assert(i32 0)
%141 = tail call i32 @assert(i32 0)
%142 = tail call i32 @assert(i32 0)
%143 = tail call i32 @assert(i32 0)
%144 = tail call i32 @assert(i32 0)
%145 = tail call i32 @assert(i32 0)
%146 = tail call i32 @assert(i32 0)
%147 = tail call i32 @assert(i32 0)
store i64 0, i64* @errno
%148 = tail call i32 @assert(i32 0)
%149 = load i64, i64* @errno
%150 = icmp eq i64 %149, 0
%151 = zext i1 %150 to i32
%152 = tail call i32 @assert(i32 %151)
store i64 0, i64* @errno
%153 = tail call i32 @assert(i32 0)
%154 = load i64, i64* @errno
%155 = icmp eq i64 %154, 0
%156 = zext i1 %155 to i32
%157 = tail call i32 @assert(i32 %156)
store i64 0, i64* @errno
%158 = tail call i32 @assert(i32 0)
%159 = load i64, i64* @errno
%160 = load i64, i64* @ERANGE
%161 = icmp eq i64 %159, %160
%162 = zext i1 %161 to i32
%163 = tail call i32 @assert(i32 %162)
store i64 0, i64* @errno
%164 = tail call i32 @assert(i32 0)
%165 = load i64, i64* @errno
%166 = load i64, i64* @ERANGE
%167 = icmp eq i64 %165, %166
%168 = zext i1 %167 to i32
%169 = tail call i32 @assert(i32 %168)
ret i32 0
}