#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 /*<<< orphan*/ printf(char *, int);
int main(int argc, char *argv[]) {
  int i;
  for (i = 1;; i++) {
    if (i % 20 == 0 && i % 19 == 0 && i % 18 == 0 && i % 17 == 0 &&
        i % 16 == 0 && i % 15 == 0 && i % 14 == 0 && i % 13 == 0 && i % 11 == 0)
      break;
  }
  printf("The largest is %d\n", i);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x1,-0x14(%rbp)
mov    -0x14(%rbp),%eax
mov    $0x14,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    11e6 <main+0xd6>
mov    -0x14(%rbp),%eax
mov    $0x13,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    11e6 <main+0xd6>
mov    -0x14(%rbp),%eax
mov    $0x12,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    11e6 <main+0xd6>
mov    -0x14(%rbp),%eax
mov    $0x11,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    11e6 <main+0xd6>
mov    -0x14(%rbp),%eax
mov    $0x10,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    11e6 <main+0xd6>
mov    -0x14(%rbp),%eax
mov    $0xf,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    11e6 <main+0xd6>
mov    -0x14(%rbp),%eax
mov    $0xe,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    11e6 <main+0xd6>
mov    -0x14(%rbp),%eax
mov    $0xd,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    11e6 <main+0xd6>
mov    -0x14(%rbp),%eax
mov    $0xb,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    11e6 <main+0xd6>
jmp    11f9 <main+0xe9>
jmp    11eb <main+0xdb>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    112d <main+0x1d>
mov    -0x14(%rbp),%esi
lea    0xdfd(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    $0x1,%r12d
xor    %esi,%esi
mov    $0x92492493,%r10d
mov    $0x88888889,%r9d
mov    $0xf0f0f0f1,%r11d
mov    $0xaf286bcb,%r14d
mov    $0xcccccccd,%r15d
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    %esi,%r13d
mov    %r12d,%r8d
mov    %r12d,%edi
shr    %edi
imul   %r10,%rdi
lea    0x1(%r13),%esi
mov    %r8,%rbp
imul   %r11,%rbp
shr    $0x24,%rbp
imul   $0x38e38e39,%r8,%rax
shr    $0x22,%rax
mov    %r8,%rcx
imul   %r14,%rcx
shr    $0x20,%rcx
mov    %r12d,%edx
sub    %ecx,%edx
shr    %edx
add    %ecx,%edx
shr    $0x4,%edx
lea    (%rdx,%rdx,8),%ecx
lea    (%rdx,%rcx,2),%ecx
mov    %r8,%rdx
imul   %r15,%rdx
shr    $0x24,%rdx
shl    $0x2,%edx
lea    (%rdx,%rdx,4),%edx
neg    %edx
add    %r13d,%edx
add    $0x1,%edx
neg    %ecx
add    %r13d,%ecx
add    $0x1,%ecx
add    $0x1,%r12d
or     %edx,%ecx
jne    1150 <main+0x40>
shr    $0x22,%rdi
mov    %ebp,%ebx
shl    $0x4,%ebx
lea    (%rax,%rax,8),%eax
add    %eax,%eax
add    $0xffffffff,%eax
cmp    %r13d,%eax
jne    1150 <main+0x40>
mov    %edi,%ecx
shl    $0x4,%ecx
mov    %r8,%rdx
imul   %r9,%rdx
add    %ebp,%ebx
add    $0xffffffff,%ebx
mov    %esi,%eax
and    $0xf,%eax
cmp    %r13d,%ebx
jne    1150 <main+0x40>
sub    %edi,%ecx
shr    $0x23,%rdx
test   %eax,%eax
jne    1150 <main+0x40>
imul   $0x4ec4ec4f,%r8,%rax
not    %edi
add    %ecx,%edi
lea    (%rdx,%rdx,4),%ecx
lea    (%rcx,%rcx,2),%ecx
add    $0xffffffff,%ecx
cmp    %r13d,%ecx
jne    1150 <main+0x40>
mov    $0xba2e8ba3,%ecx
imul   %rcx,%r8
shr    $0x22,%rax
cmp    %r13d,%edi
jne    1150 <main+0x40>
shr    $0x23,%r8
lea    (%rax,%rax,2),%ecx
lea    (%rax,%rcx,4),%eax
add    $0xffffffff,%eax
cmp    %r13d,%eax
jne    1150 <main+0x40>
lea    (%r8,%r8,4),%eax
lea    (%r8,%rax,2),%eax
add    $0xffffffff,%eax
cmp    %r13d,%eax
jne    1150 <main+0x40>
lea    0xd96(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [19 x i8] c"The largest is %d\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 1, i32* %6
br label %7
7: ; preds = %45, %2
%8 = load i32, i32* %6
%9 = srem i32 %8, 20
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %44
11: ; preds = %7
%12 = load i32, i32* %6
%13 = srem i32 %12, 19
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %44
15: ; preds = %11
%16 = load i32, i32* %6
%17 = srem i32 %16, 18
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %44
19: ; preds = %15
%20 = load i32, i32* %6
%21 = srem i32 %20, 17
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %44
23: ; preds = %19
%24 = load i32, i32* %6
%25 = srem i32 %24, 16
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %44
27: ; preds = %23
%28 = load i32, i32* %6
%29 = srem i32 %28, 15
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %44
31: ; preds = %27
%32 = load i32, i32* %6
%33 = srem i32 %32, 14
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %44
35: ; preds = %31
%36 = load i32, i32* %6
%37 = srem i32 %36, 13
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %44
39: ; preds = %35
%40 = load i32, i32* %6
%41 = srem i32 %40, 11
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %44
43: ; preds = %39
br label %48
44: ; preds = %39, %35, %31, %27, %23, %19, %15, %11, %7
br label %45
45: ; preds = %44
%46 = load i32, i32* %6
%47 = add nsw i32 %46, 1
store i32 %47, i32* %6
br label %7
48: ; preds = %43
%49 = load i32, i32* %6
%50 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i32 %49)
ret i32 0
}

LLVM IR (-O2):
@.str = [19 x i8] c"The largest is %d\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
br label %3
3: ; preds = %3, %2
%4 = phi i32 [ 1, %2 ], [ %30, %3 ]
%5 = urem i32 %4, 20
%6 = urem i32 %4, 19
%7 = or i32 %5, %6
%8 = icmp eq i32 %7, 0
%9 = urem i32 %4, 18
%10 = icmp eq i32 %9, 0
%11 = select i1 %8, i1 %10, i1 false
%12 = urem i32 %4, 17
%13 = icmp eq i32 %12, 0
%14 = select i1 %11, i1 %13, i1 false
%15 = and i32 %4, 15
%16 = icmp eq i32 %15, 0
%17 = select i1 %14, i1 %16, i1 false
%18 = urem i32 %4, 15
%19 = icmp eq i32 %18, 0
%20 = select i1 %17, i1 %19, i1 false
%21 = urem i32 %4, 14
%22 = icmp eq i32 %21, 0
%23 = select i1 %20, i1 %22, i1 false
%24 = urem i32 %4, 13
%25 = icmp eq i32 %24, 0
%26 = select i1 %23, i1 %25, i1 false
%27 = urem i32 %4, 11
%28 = icmp eq i32 %27, 0
%29 = select i1 %26, i1 %28, i1 false
%30 = add nuw nsw i32 %4, 1
br i1 %29, label %31, label %3
31: ; preds = %3
%32 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i32 %4)
ret i32 0
}