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

/* Variables and functions */
int /*<<< orphan*/ check_equals(int, int);
int get_next();
int /*<<< orphan*/ longjmp(int /*<<< orphan*/, int);
scalar_t__ setjmp(int /*<<< orphan*/);
int main(void) {
  int a1 = get_next();
  int a2 = get_next();
  int a3 = get_next();
  int a4 = get_next();
  int a5 = get_next();
  int a6 = get_next();
  int a7 = get_next();
  int a8 = get_next();
  int a9 = get_next();
  int a10 = get_next();
  int a11 = get_next();
  int a12 = get_next();
  int a13 = get_next();
  int a14 = get_next();
  int a15 = get_next();
  int a16 = get_next();
  jmp_buf buf;
  if (setjmp(buf)) {
    check_equals(a1, 1);
    check_equals(a2, 2);
    check_equals(a3, 3);
    check_equals(a4, 4);
    check_equals(a5, 5);
    check_equals(a6, 6);
    check_equals(a7, 7);
    check_equals(a8, 8);
    check_equals(a9, 9);
    check_equals(a10, 10);
    check_equals(a11, 11);
    check_equals(a12, 12);
    check_equals(a13, 13);
    check_equals(a14, 14);
    check_equals(a15, 15);
    check_equals(a16, 16);
    return 0;
  }
  int b1 = get_next();
  int b2 = get_next();
  int b3 = get_next();
  int b4 = get_next();
  int b5 = get_next();
  int b6 = get_next();
  int b7 = get_next();
  int b8 = get_next();
  int b9 = get_next();
  int b10 = get_next();
  int b11 = get_next();
  int b12 = get_next();
  int b13 = get_next();
  int b14 = get_next();
  int b15 = get_next();
  int b16 = get_next();
  int start = 16;
  check_equals(b1, start + 1);
  check_equals(b2, start + 2);
  check_equals(b3, start + 3);
  check_equals(b4, start + 4);
  check_equals(b5, start + 5);
  check_equals(b6, start + 6);
  check_equals(b7, start + 7);
  check_equals(b8, start + 8);
  check_equals(b9, start + 9);
  check_equals(b10, start + 10);
  check_equals(b11, start + 11);
  check_equals(b12, start + 12);
  check_equals(b13, start + 13);
  check_equals(b14, start + 14);
  check_equals(b15, start + 15);
  check_equals(b16, start + 16);
  longjmp(buf, 1);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0x8(%rbp)
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0xc(%rbp)
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0x10(%rbp)
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0x14(%rbp)
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0x18(%rbp)
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0x1c(%rbp)
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0x20(%rbp)
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0x24(%rbp)
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0x28(%rbp)
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0x2c(%rbp)
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0x30(%rbp)
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0x34(%rbp)
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0x38(%rbp)
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0x3c(%rbp)
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0x40(%rbp)
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0x44(%rbp)
mov    -0x48(%rbp),%edi
call   1050 <setjmp@plt>
cmp    $0x0,%rax
je     12df <main+0x19f>
mov    -0x8(%rbp),%edi
mov    $0x1,%esi
call   1030 <check_equals@plt>
mov    -0xc(%rbp),%edi
mov    $0x2,%esi
call   1030 <check_equals@plt>
mov    -0x10(%rbp),%edi
mov    $0x3,%esi
call   1030 <check_equals@plt>
mov    -0x14(%rbp),%edi
mov    $0x4,%esi
call   1030 <check_equals@plt>
mov    -0x18(%rbp),%edi
mov    $0x5,%esi
call   1030 <check_equals@plt>
mov    -0x1c(%rbp),%edi
mov    $0x6,%esi
call   1030 <check_equals@plt>
mov    -0x20(%rbp),%edi
mov    $0x7,%esi
call   1030 <check_equals@plt>
mov    -0x24(%rbp),%edi
mov    $0x8,%esi
call   1030 <check_equals@plt>
mov    -0x28(%rbp),%edi
mov    $0x9,%esi
call   1030 <check_equals@plt>
mov    -0x2c(%rbp),%edi
mov    $0xa,%esi
call   1030 <check_equals@plt>
mov    -0x30(%rbp),%edi
mov    $0xb,%esi
call   1030 <check_equals@plt>
mov    -0x34(%rbp),%edi
mov    $0xc,%esi
call   1030 <check_equals@plt>
mov    -0x38(%rbp),%edi
mov    $0xd,%esi
call   1030 <check_equals@plt>
mov    -0x3c(%rbp),%edi
mov    $0xe,%esi
call   1030 <check_equals@plt>
mov    -0x40(%rbp),%edi
mov    $0xf,%esi
call   1030 <check_equals@plt>
mov    -0x44(%rbp),%edi
mov    $0x10,%esi
call   1030 <check_equals@plt>
xor    %eax,%eax
add    $0x90,%rsp
pop    %rbp
ret
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0x4c(%rbp)
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0x50(%rbp)
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0x54(%rbp)
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0x58(%rbp)
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0x5c(%rbp)
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0x60(%rbp)
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0x64(%rbp)
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0x68(%rbp)
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0x6c(%rbp)
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0x70(%rbp)
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0x74(%rbp)
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0x78(%rbp)
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0x7c(%rbp)
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0x80(%rbp)
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0x84(%rbp)
mov    $0x0,%al
call   1040 <get_next@plt>
mov    %eax,-0x88(%rbp)
movl   $0x10,-0x8c(%rbp)
mov    -0x4c(%rbp),%edi
mov    -0x8c(%rbp),%esi
add    $0x1,%esi
call   1030 <check_equals@plt>
mov    -0x50(%rbp),%edi
mov    -0x8c(%rbp),%esi
add    $0x2,%esi
call   1030 <check_equals@plt>
mov    -0x54(%rbp),%edi
mov    -0x8c(%rbp),%esi
add    $0x3,%esi
call   1030 <check_equals@plt>
mov    -0x58(%rbp),%edi
mov    -0x8c(%rbp),%esi
add    $0x4,%esi
call   1030 <check_equals@plt>
mov    -0x5c(%rbp),%edi
mov    -0x8c(%rbp),%esi
add    $0x5,%esi
call   1030 <check_equals@plt>
mov    -0x60(%rbp),%edi
mov    -0x8c(%rbp),%esi
add    $0x6,%esi
call   1030 <check_equals@plt>
mov    -0x64(%rbp),%edi
mov    -0x8c(%rbp),%esi
add    $0x7,%esi
call   1030 <check_equals@plt>
mov    -0x68(%rbp),%edi
mov    -0x8c(%rbp),%esi
add    $0x8,%esi
call   1030 <check_equals@plt>
mov    -0x6c(%rbp),%edi
mov    -0x8c(%rbp),%esi
add    $0x9,%esi
call   1030 <check_equals@plt>
mov    -0x70(%rbp),%edi
mov    -0x8c(%rbp),%esi
add    $0xa,%esi
call   1030 <check_equals@plt>
mov    -0x74(%rbp),%edi
mov    -0x8c(%rbp),%esi
add    $0xb,%esi
call   1030 <check_equals@plt>
mov    -0x78(%rbp),%edi
mov    -0x8c(%rbp),%esi
add    $0xc,%esi
call   1030 <check_equals@plt>
mov    -0x7c(%rbp),%edi
mov    -0x8c(%rbp),%esi
add    $0xd,%esi
call   1030 <check_equals@plt>
mov    -0x80(%rbp),%edi
mov    -0x8c(%rbp),%esi
add    $0xe,%esi
call   1030 <check_equals@plt>
mov    -0x84(%rbp),%edi
mov    -0x8c(%rbp),%esi
add    $0xf,%esi
call   1030 <check_equals@plt>
mov    -0x88(%rbp),%edi
mov    -0x8c(%rbp),%esi
add    $0x10,%esi
call   1030 <check_equals@plt>
mov    -0x48(%rbp),%edi
mov    $0x1,%esi
call   1060 <longjmp@plt>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,%r13d
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,%r12d
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,%r15d
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,%r14d
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,%ebp
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,%ebx
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,(%rsp)
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,0x4(%rsp)
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,0x8(%rsp)
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,0xc(%rsp)
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,0x10(%rsp)
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,0x14(%rsp)
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,0x18(%rsp)
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,0x1c(%rsp)
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,0x20(%rsp)
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,0x24(%rsp)
call   1050 <setjmp@plt>
test   %rax,%rax
je     12eb <main+0x1ab>
mov    %r13d,%edi
mov    $0x1,%esi
call   1030 <check_equals@plt>
mov    %r12d,%edi
mov    $0x2,%esi
call   1030 <check_equals@plt>
mov    %r15d,%edi
mov    $0x3,%esi
call   1030 <check_equals@plt>
mov    %r14d,%edi
mov    $0x4,%esi
call   1030 <check_equals@plt>
mov    %ebp,%edi
mov    $0x5,%esi
call   1030 <check_equals@plt>
mov    %ebx,%edi
mov    $0x6,%esi
call   1030 <check_equals@plt>
mov    (%rsp),%edi
mov    $0x7,%esi
call   1030 <check_equals@plt>
mov    0x4(%rsp),%edi
mov    $0x8,%esi
call   1030 <check_equals@plt>
mov    0x8(%rsp),%edi
mov    $0x9,%esi
call   1030 <check_equals@plt>
mov    0xc(%rsp),%edi
mov    $0xa,%esi
call   1030 <check_equals@plt>
mov    0x10(%rsp),%edi
mov    $0xb,%esi
call   1030 <check_equals@plt>
mov    0x14(%rsp),%edi
mov    $0xc,%esi
call   1030 <check_equals@plt>
mov    0x18(%rsp),%edi
mov    $0xd,%esi
call   1030 <check_equals@plt>
mov    0x1c(%rsp),%edi
mov    $0xe,%esi
call   1030 <check_equals@plt>
mov    0x20(%rsp),%edi
mov    $0xf,%esi
call   1030 <check_equals@plt>
mov    0x24(%rsp),%edi
mov    $0x10,%esi
call   1030 <check_equals@plt>
xor    %eax,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,%r13d
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,%r12d
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,%r15d
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,%r14d
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,%ebp
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,%ebx
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,(%rsp)
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,0x4(%rsp)
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,0x8(%rsp)
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,0xc(%rsp)
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,0x10(%rsp)
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,0x14(%rsp)
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,0x18(%rsp)
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,0x1c(%rsp)
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,0x20(%rsp)
xor    %eax,%eax
call   1040 <get_next@plt>
mov    %eax,0x24(%rsp)
mov    %r13d,%edi
mov    $0x11,%esi
call   1030 <check_equals@plt>
mov    %r12d,%edi
mov    $0x12,%esi
call   1030 <check_equals@plt>
mov    %r15d,%edi
mov    $0x13,%esi
call   1030 <check_equals@plt>
mov    %r14d,%edi
mov    $0x14,%esi
call   1030 <check_equals@plt>
mov    %ebp,%edi
mov    $0x15,%esi
call   1030 <check_equals@plt>
mov    %ebx,%edi
mov    $0x16,%esi
call   1030 <check_equals@plt>
mov    (%rsp),%edi
mov    $0x17,%esi
call   1030 <check_equals@plt>
mov    0x4(%rsp),%edi
mov    $0x18,%esi
call   1030 <check_equals@plt>
mov    0x8(%rsp),%edi
mov    $0x19,%esi
call   1030 <check_equals@plt>
mov    0xc(%rsp),%edi
mov    $0x1a,%esi
call   1030 <check_equals@plt>
mov    0x10(%rsp),%edi
mov    $0x1b,%esi
call   1030 <check_equals@plt>
mov    0x14(%rsp),%edi
mov    $0x1c,%esi
call   1030 <check_equals@plt>
mov    0x18(%rsp),%edi
mov    $0x1d,%esi
call   1030 <check_equals@plt>
mov    0x1c(%rsp),%edi
mov    $0x1e,%esi
call   1030 <check_equals@plt>
mov    0x20(%rsp),%edi
mov    $0x1f,%esi
call   1030 <check_equals@plt>
mov    0x24(%rsp),%edi
mov    $0x20,%esi
call   1030 <check_equals@plt>
mov    $0x1,%esi
call   1060 <longjmp@plt>

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

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 (...) @get_next()
%2 = tail call i32 (...) @get_next()
%3 = tail call i32 (...) @get_next()
%4 = tail call i32 (...) @get_next()
%5 = tail call i32 (...) @get_next()
%6 = tail call i32 (...) @get_next()
%7 = tail call i32 (...) @get_next()
%8 = tail call i32 (...) @get_next()
%9 = tail call i32 (...) @get_next()
%10 = tail call i32 (...) @get_next()
%11 = tail call i32 (...) @get_next()
%12 = tail call i32 (...) @get_next()
%13 = tail call i32 (...) @get_next()
%14 = tail call i32 (...) @get_next()
%15 = tail call i32 (...) @get_next()
%16 = tail call i32 (...) @get_next()
%17 = tail call i64 @setjmp(i32 undef)
%18 = icmp eq i64 %17, 0
br i1 %18, label %36, label %19
19: ; preds = %0
%20 = tail call i32 @check_equals(i32 %1, i32 1)
%21 = tail call i32 @check_equals(i32 %2, i32 2)
%22 = tail call i32 @check_equals(i32 %3, i32 3)
%23 = tail call i32 @check_equals(i32 %4, i32 4)
%24 = tail call i32 @check_equals(i32 %5, i32 5)
%25 = tail call i32 @check_equals(i32 %6, i32 6)
%26 = tail call i32 @check_equals(i32 %7, i32 7)
%27 = tail call i32 @check_equals(i32 %8, i32 8)
%28 = tail call i32 @check_equals(i32 %9, i32 9)
%29 = tail call i32 @check_equals(i32 %10, i32 10)
%30 = tail call i32 @check_equals(i32 %11, i32 11)
%31 = tail call i32 @check_equals(i32 %12, i32 12)
%32 = tail call i32 @check_equals(i32 %13, i32 13)
%33 = tail call i32 @check_equals(i32 %14, i32 14)
%34 = tail call i32 @check_equals(i32 %15, i32 15)
%35 = tail call i32 @check_equals(i32 %16, i32 16)
ret i32 0
36: ; preds = %0
%37 = tail call i32 (...) @get_next()
%38 = tail call i32 (...) @get_next()
%39 = tail call i32 (...) @get_next()
%40 = tail call i32 (...) @get_next()
%41 = tail call i32 (...) @get_next()
%42 = tail call i32 (...) @get_next()
%43 = tail call i32 (...) @get_next()
%44 = tail call i32 (...) @get_next()
%45 = tail call i32 (...) @get_next()
%46 = tail call i32 (...) @get_next()
%47 = tail call i32 (...) @get_next()
%48 = tail call i32 (...) @get_next()
%49 = tail call i32 (...) @get_next()
%50 = tail call i32 (...) @get_next()
%51 = tail call i32 (...) @get_next()
%52 = tail call i32 (...) @get_next()
%53 = tail call i32 @check_equals(i32 %37, i32 17)
%54 = tail call i32 @check_equals(i32 %38, i32 18)
%55 = tail call i32 @check_equals(i32 %39, i32 19)
%56 = tail call i32 @check_equals(i32 %40, i32 20)
%57 = tail call i32 @check_equals(i32 %41, i32 21)
%58 = tail call i32 @check_equals(i32 %42, i32 22)
%59 = tail call i32 @check_equals(i32 %43, i32 23)
%60 = tail call i32 @check_equals(i32 %44, i32 24)
%61 = tail call i32 @check_equals(i32 %45, i32 25)
%62 = tail call i32 @check_equals(i32 %46, i32 26)
%63 = tail call i32 @check_equals(i32 %47, i32 27)
%64 = tail call i32 @check_equals(i32 %48, i32 28)
%65 = tail call i32 @check_equals(i32 %49, i32 29)
%66 = tail call i32 @check_equals(i32 %50, i32 30)
%67 = tail call i32 @check_equals(i32 %51, i32 31)
%68 = tail call i32 @check_equals(i32 %52, i32 32)
%69 = tail call i32 @longjmp(i32 undef, i32 1)
unreachable
}