#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 */
int tlsmod17a0();
int tlsmod17a1();
int tlsmod17a10();
int tlsmod17a12();
int tlsmod17a13();
int tlsmod17a14();
int tlsmod17a15();
int tlsmod17a16();
int tlsmod17a17();
int tlsmod17a18();
int tlsmod17a19();
int tlsmod17a2();
int tlsmod17a3();
int tlsmod17a4();
int tlsmod17a5();
int tlsmod17a6();
int tlsmod17a7();
int tlsmod17a8();
int tlsmod17a9();
int tlsmod17b(void) {
  int res = 0;
  res |= tlsmod17a0();
  res |= tlsmod17a1();
  res |= tlsmod17a2();
  res |= tlsmod17a3();
  res |= tlsmod17a4();
  res |= tlsmod17a5();
  res |= tlsmod17a6();
  res |= tlsmod17a7();
  res |= tlsmod17a8();
  res |= tlsmod17a9();
  res |= tlsmod17a10();
  res |= tlsmod17a12();
  res |= tlsmod17a13();
  res |= tlsmod17a14();
  res |= tlsmod17a15();
  res |= tlsmod17a16();
  res |= tlsmod17a17();
  res |= tlsmod17a18();
  res |= tlsmod17a19();
  return res;
}


x86 assembly (clang, -O0):
<tlsmod17b>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x0,%al
call   10d0 <tlsmod17a0@plt>
or     -0x4(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   1030 <tlsmod17a1@plt>
or     -0x4(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   10b0 <tlsmod17a2@plt>
or     -0x4(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   1140 <tlsmod17a3@plt>
or     -0x4(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   10e0 <tlsmod17a4@plt>
or     -0x4(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   1040 <tlsmod17a5@plt>
or     -0x4(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   10f0 <tlsmod17a6@plt>
or     -0x4(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   1050 <tlsmod17a7@plt>
or     -0x4(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   10c0 <tlsmod17a8@plt>
or     -0x4(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   1150 <tlsmod17a9@plt>
or     -0x4(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   10a0 <tlsmod17a10@plt>
or     -0x4(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   1070 <tlsmod17a12@plt>
or     -0x4(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   1130 <tlsmod17a13@plt>
or     -0x4(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   1090 <tlsmod17a14@plt>
or     -0x4(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   1100 <tlsmod17a15@plt>
or     -0x4(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   1080 <tlsmod17a16@plt>
or     -0x4(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   1110 <tlsmod17a17@plt>
or     -0x4(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   1060 <tlsmod17a18@plt>
or     -0x4(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   1120 <tlsmod17a19@plt>
or     -0x4(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<tlsmod17b>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
xor    %eax,%eax
call   10d0 <tlsmod17a0@plt>
mov    %eax,%ebx
xor    %eax,%eax
call   1030 <tlsmod17a1@plt>
mov    %eax,%ebp
or     %ebx,%ebp
xor    %eax,%eax
call   10b0 <tlsmod17a2@plt>
mov    %eax,%r14d
xor    %eax,%eax
call   1140 <tlsmod17a3@plt>
mov    %eax,%ebx
or     %r14d,%ebx
or     %ebp,%ebx
xor    %eax,%eax
call   10e0 <tlsmod17a4@plt>
mov    %eax,%r14d
xor    %eax,%eax
call   1040 <tlsmod17a5@plt>
mov    %eax,%ebp
or     %r14d,%ebp
xor    %eax,%eax
call   10f0 <tlsmod17a6@plt>
mov    %eax,%r14d
or     %ebp,%r14d
or     %ebx,%r14d
xor    %eax,%eax
call   1050 <tlsmod17a7@plt>
mov    %eax,%ebx
xor    %eax,%eax
call   10c0 <tlsmod17a8@plt>
mov    %eax,%ebp
or     %ebx,%ebp
xor    %eax,%eax
call   1150 <tlsmod17a9@plt>
mov    %eax,%ebx
or     %ebp,%ebx
xor    %eax,%eax
call   10a0 <tlsmod17a10@plt>
mov    %eax,%r15d
or     %ebx,%r15d
or     %r14d,%r15d
xor    %eax,%eax
call   1070 <tlsmod17a12@plt>
mov    %eax,%r14d
xor    %eax,%eax
call   1130 <tlsmod17a13@plt>
mov    %eax,%ebx
or     %r14d,%ebx
xor    %eax,%eax
call   1090 <tlsmod17a14@plt>
mov    %eax,%ebp
or     %ebx,%ebp
xor    %eax,%eax
call   1100 <tlsmod17a15@plt>
mov    %eax,%ebx
or     %ebp,%ebx
xor    %eax,%eax
call   1080 <tlsmod17a16@plt>
mov    %eax,%ebp
or     %ebx,%ebp
or     %r15d,%ebp
xor    %eax,%eax
call   1110 <tlsmod17a17@plt>
mov    %eax,%r14d
xor    %eax,%eax
call   1060 <tlsmod17a18@plt>
mov    %eax,%ebx
or     %r14d,%ebx
xor    %eax,%eax
call   1120 <tlsmod17a19@plt>
or     %ebx,%eax
or     %ebp,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define i32 @tlsmod17b() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 (...) @tlsmod17a0()
%3 = load i32, i32* %1
%4 = or i32 %3, %2
store i32 %4, i32* %1
%5 = call i32 (...) @tlsmod17a1()
%6 = load i32, i32* %1
%7 = or i32 %6, %5
store i32 %7, i32* %1
%8 = call i32 (...) @tlsmod17a2()
%9 = load i32, i32* %1
%10 = or i32 %9, %8
store i32 %10, i32* %1
%11 = call i32 (...) @tlsmod17a3()
%12 = load i32, i32* %1
%13 = or i32 %12, %11
store i32 %13, i32* %1
%14 = call i32 (...) @tlsmod17a4()
%15 = load i32, i32* %1
%16 = or i32 %15, %14
store i32 %16, i32* %1
%17 = call i32 (...) @tlsmod17a5()
%18 = load i32, i32* %1
%19 = or i32 %18, %17
store i32 %19, i32* %1
%20 = call i32 (...) @tlsmod17a6()
%21 = load i32, i32* %1
%22 = or i32 %21, %20
store i32 %22, i32* %1
%23 = call i32 (...) @tlsmod17a7()
%24 = load i32, i32* %1
%25 = or i32 %24, %23
store i32 %25, i32* %1
%26 = call i32 (...) @tlsmod17a8()
%27 = load i32, i32* %1
%28 = or i32 %27, %26
store i32 %28, i32* %1
%29 = call i32 (...) @tlsmod17a9()
%30 = load i32, i32* %1
%31 = or i32 %30, %29
store i32 %31, i32* %1
%32 = call i32 (...) @tlsmod17a10()
%33 = load i32, i32* %1
%34 = or i32 %33, %32
store i32 %34, i32* %1
%35 = call i32 (...) @tlsmod17a12()
%36 = load i32, i32* %1
%37 = or i32 %36, %35
store i32 %37, i32* %1
%38 = call i32 (...) @tlsmod17a13()
%39 = load i32, i32* %1
%40 = or i32 %39, %38
store i32 %40, i32* %1
%41 = call i32 (...) @tlsmod17a14()
%42 = load i32, i32* %1
%43 = or i32 %42, %41
store i32 %43, i32* %1
%44 = call i32 (...) @tlsmod17a15()
%45 = load i32, i32* %1
%46 = or i32 %45, %44
store i32 %46, i32* %1
%47 = call i32 (...) @tlsmod17a16()
%48 = load i32, i32* %1
%49 = or i32 %48, %47
store i32 %49, i32* %1
%50 = call i32 (...) @tlsmod17a17()
%51 = load i32, i32* %1
%52 = or i32 %51, %50
store i32 %52, i32* %1
%53 = call i32 (...) @tlsmod17a18()
%54 = load i32, i32* %1
%55 = or i32 %54, %53
store i32 %55, i32* %1
%56 = call i32 (...) @tlsmod17a19()
%57 = load i32, i32* %1
%58 = or i32 %57, %56
store i32 %58, i32* %1
%59 = load i32, i32* %1
ret i32 %59
}

LLVM IR (-O2):
define i32 @tlsmod17b() {
%1 = tail call i32 (...) @tlsmod17a0()
%2 = tail call i32 (...) @tlsmod17a1()
%3 = or i32 %2, %1
%4 = tail call i32 (...) @tlsmod17a2()
%5 = or i32 %3, %4
%6 = tail call i32 (...) @tlsmod17a3()
%7 = or i32 %5, %6
%8 = tail call i32 (...) @tlsmod17a4()
%9 = or i32 %7, %8
%10 = tail call i32 (...) @tlsmod17a5()
%11 = or i32 %9, %10
%12 = tail call i32 (...) @tlsmod17a6()
%13 = or i32 %11, %12
%14 = tail call i32 (...) @tlsmod17a7()
%15 = or i32 %13, %14
%16 = tail call i32 (...) @tlsmod17a8()
%17 = or i32 %15, %16
%18 = tail call i32 (...) @tlsmod17a9()
%19 = or i32 %17, %18
%20 = tail call i32 (...) @tlsmod17a10()
%21 = or i32 %19, %20
%22 = tail call i32 (...) @tlsmod17a12()
%23 = or i32 %21, %22
%24 = tail call i32 (...) @tlsmod17a13()
%25 = or i32 %23, %24
%26 = tail call i32 (...) @tlsmod17a14()
%27 = or i32 %25, %26
%28 = tail call i32 (...) @tlsmod17a15()
%29 = or i32 %27, %28
%30 = tail call i32 (...) @tlsmod17a16()
%31 = or i32 %29, %30
%32 = tail call i32 (...) @tlsmod17a17()
%33 = or i32 %31, %32
%34 = tail call i32 (...) @tlsmod17a18()
%35 = or i32 %33, %34
%36 = tail call i32 (...) @tlsmod17a19()
%37 = or i32 %35, %36
ret i32 %37
}