#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 splitter(int betrag) {
  switch (betrag / 500) {
  case 0:
    break;
  default:
    printf("%d mal 500\n", betrag / 500);
    betrag = betrag - ((betrag / 500) * 500);
  }
  switch (betrag / 200) {
  case 0:
    break;
  default:
    printf("%d mal 200\n", betrag / 200);
    betrag = betrag - ((betrag / 200) * 200);
  }
  switch (betrag / 100) {
  case 0:
    break;
  default:
    printf("%d mal 100\n", betrag / 100);
    betrag = betrag - ((betrag / 100) * 100);
  }
  switch (betrag / 50) {
  case 0:
    break;
  default:
    printf("%d mal 50\n", betrag / 50);
    betrag = betrag - ((betrag / 50) * 50);
  }
  switch (betrag / 20) {
  case 0:
    break;
  default:
    printf("%d mal 20\n", betrag / 20);
    betrag = betrag - ((betrag / 20) * 20);
  }
  switch (betrag / 10) {
  case 0:
    break;
  default:
    printf("%d mal 10\n", betrag / 10);
    betrag = betrag - ((betrag / 10) * 10);
  }
  switch (betrag / 5) {
  case 0:
    break;
  default:
    printf("%d mal 5\n", betrag / 5);
    betrag = betrag - ((betrag / 5) * 5);
  }
  switch (betrag / 2) {
  case 0:
    break;
  default:
    printf("%d mal 2\n", betrag / 2);
    betrag = betrag - ((betrag / 2) * 2);
  }
  switch (betrag / 1) {
  case 0:
    break;
  default:
    printf("%d mal 1\n", betrag / 1);
    betrag = betrag - ((betrag / 1) * 1);
  }
}


x86 assembly (clang, -O0):
<splitter>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %edi,-0x8(%rbp)
movslq -0x8(%rbp),%rax
imul   $0x10624dd3,%rax,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x25,%rax
add    %ecx,%eax
jne    1143 <splitter+0x33>
jmp    113e <splitter+0x2e>
jmp    117d <splitter+0x6d>
mov    -0x8(%rbp),%eax
mov    $0x1f4,%ecx
cltd
idiv   %ecx
mov    %eax,%esi
lea    0xea9(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x1f4,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
mov    -0xc(%rbp),%eax
imul   $0x1f4,%ecx,%ecx
sub    %ecx,%eax
mov    %eax,-0x8(%rbp)
movslq -0x8(%rbp),%rax
imul   $0x51eb851f,%rax,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
jne    11a5 <splitter+0x95>
jmp    11a0 <splitter+0x90>
jmp    11df <splitter+0xcf>
mov    -0x8(%rbp),%eax
mov    $0xc8,%ecx
cltd
idiv   %ecx
mov    %eax,%esi
lea    0xe53(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
mov    %eax,-0x10(%rbp)
mov    -0x8(%rbp),%eax
mov    $0xc8,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
mov    -0x10(%rbp),%eax
imul   $0xc8,%ecx,%ecx
sub    %ecx,%eax
mov    %eax,-0x8(%rbp)
movslq -0x8(%rbp),%rax
imul   $0x51eb851f,%rax,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x25,%rax
add    %ecx,%eax
jne    1207 <splitter+0xf7>
jmp    1202 <splitter+0xf2>
jmp    123e <splitter+0x12e>
mov    -0x8(%rbp),%eax
mov    $0x64,%ecx
cltd
idiv   %ecx
mov    %eax,%esi
lea    0xdfd(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
mov    %eax,-0x14(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x64,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
mov    -0x14(%rbp),%eax
imul   $0x64,%ecx,%ecx
sub    %ecx,%eax
mov    %eax,-0x8(%rbp)
movslq -0x8(%rbp),%rax
imul   $0x51eb851f,%rax,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x24,%rax
add    %ecx,%eax
jne    1266 <splitter+0x156>
jmp    1261 <splitter+0x151>
jmp    129d <splitter+0x18d>
mov    -0x8(%rbp),%eax
mov    $0x32,%ecx
cltd
idiv   %ecx
mov    %eax,%esi
lea    0xdaa(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
mov    %eax,-0x18(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x32,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
mov    -0x18(%rbp),%eax
imul   $0x32,%ecx,%ecx
sub    %ecx,%eax
mov    %eax,-0x8(%rbp)
movslq -0x8(%rbp),%rax
imul   $0x66666667,%rax,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x23,%rax
add    %ecx,%eax
jne    12c5 <splitter+0x1b5>
jmp    12c0 <splitter+0x1b0>
jmp    12fc <splitter+0x1ec>
mov    -0x8(%rbp),%eax
mov    $0x14,%ecx
cltd
idiv   %ecx
mov    %eax,%esi
lea    0xd56(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x14,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
mov    -0x1c(%rbp),%eax
imul   $0x14,%ecx,%ecx
sub    %ecx,%eax
mov    %eax,-0x8(%rbp)
movslq -0x8(%rbp),%rax
imul   $0x66666667,%rax,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x22,%rax
add    %ecx,%eax
jne    1324 <splitter+0x214>
jmp    131f <splitter+0x20f>
jmp    135b <splitter+0x24b>
mov    -0x8(%rbp),%eax
mov    $0xa,%ecx
cltd
idiv   %ecx
mov    %eax,%esi
lea    0xd02(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
mov    %eax,-0x20(%rbp)
mov    -0x8(%rbp),%eax
mov    $0xa,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
mov    -0x20(%rbp),%eax
imul   $0xa,%ecx,%ecx
sub    %ecx,%eax
mov    %eax,-0x8(%rbp)
movslq -0x8(%rbp),%rax
imul   $0x66666667,%rax,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x21,%rax
add    %ecx,%eax
jne    1383 <splitter+0x273>
jmp    137e <splitter+0x26e>
jmp    13ba <splitter+0x2aa>
mov    -0x8(%rbp),%eax
mov    $0x5,%ecx
cltd
idiv   %ecx
mov    %eax,%esi
lea    0xcae(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
mov    %eax,-0x24(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x5,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
mov    -0x24(%rbp),%eax
imul   $0x5,%ecx,%ecx
sub    %ecx,%eax
mov    %eax,-0x8(%rbp)
mov    -0x8(%rbp),%eax
mov    %eax,%ecx
shr    $0x1f,%ecx
add    %ecx,%eax
sar    %eax
test   %eax,%eax
jne    13d8 <splitter+0x2c8>
jmp    13d3 <splitter+0x2c3>
jmp    140f <splitter+0x2ff>
mov    -0x8(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,%esi
lea    0xc63(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
mov    %eax,-0x28(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
mov    -0x28(%rbp),%eax
shl    $0x1,%ecx
sub    %ecx,%eax
mov    %eax,-0x8(%rbp)
mov    -0x8(%rbp),%eax
test   %eax,%eax
jne    1424 <splitter+0x314>
jmp    141f <splitter+0x30f>
jmp    145b <splitter+0x34b>
mov    -0x8(%rbp),%eax
mov    $0x1,%ecx
cltd
idiv   %ecx
mov    %eax,%esi
lea    0xc21(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
mov    %eax,-0x2c(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x1,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
mov    -0x2c(%rbp),%eax
shl    $0x0,%ecx
sub    %ecx,%eax
mov    %eax,-0x8(%rbp)
mov    -0x4(%rbp),%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<splitter>:
push   %r14
push   %rbx
push   %rax
mov    %edi,%r14d
lea    0x1f3(%r14),%eax
cmp    $0x3e7,%eax
jb     1156 <splitter+0x46>
movslq %r14d,%rax
imul   $0x10624dd3,%rax,%rbx
mov    %rbx,%rax
shr    $0x3f,%rax
sar    $0x25,%rbx
add    %eax,%ebx
lea    0xebd(%rip),%rdi
mov    %ebx,%esi
call   1030 <printf@plt>
imul   $0xfffffe0c,%ebx,%eax
add    %r14d,%eax
mov    %eax,%r14d
lea    0xc7(%r14),%eax
cmp    $0x18f,%eax
jb     1195 <splitter+0x85>
movslq %r14d,%rax
imul   $0x51eb851f,%rax,%rbx
mov    %rbx,%rax
shr    $0x3f,%rax
sar    $0x26,%rbx
add    %eax,%ebx
lea    0xe8a(%rip),%rdi
mov    %ebx,%esi
call   1030 <printf@plt>
imul   $0xffffff38,%ebx,%eax
add    %r14d,%eax
mov    %eax,%r14d
lea    0x63(%r14),%eax
cmp    $0xc7,%eax
jb     11ce <splitter+0xbe>
movslq %r14d,%rax
imul   $0x51eb851f,%rax,%rbx
mov    %rbx,%rax
shr    $0x3f,%rax
sar    $0x25,%rbx
add    %eax,%ebx
lea    0xe5a(%rip),%rdi
mov    %ebx,%esi
call   1030 <printf@plt>
imul   $0xffffff9c,%ebx,%eax
add    %r14d,%eax
mov    %eax,%r14d
lea    0x31(%r14),%eax
cmp    $0x63,%eax
jb     1205 <splitter+0xf5>
movslq %r14d,%rax
imul   $0x51eb851f,%rax,%rbx
mov    %rbx,%rax
shr    $0x3f,%rax
sar    $0x24,%rbx
add    %eax,%ebx
lea    0xe2f(%rip),%rdi
mov    %ebx,%esi
call   1030 <printf@plt>
imul   $0xffffffce,%ebx,%eax
add    %r14d,%eax
mov    %eax,%r14d
lea    0x13(%r14),%eax
cmp    $0x27,%eax
jb     123c <splitter+0x12c>
movslq %r14d,%rax
imul   $0x66666667,%rax,%rbx
mov    %rbx,%rax
shr    $0x3f,%rax
sar    $0x23,%rbx
add    %eax,%ebx
lea    0xe03(%rip),%rdi
mov    %ebx,%esi
call   1030 <printf@plt>
shl    $0x2,%ebx
lea    (%rbx,%rbx,4),%eax
sub    %eax,%r14d
lea    0x9(%r14),%eax
cmp    $0x13,%eax
jb     1272 <splitter+0x162>
movslq %r14d,%rax
imul   $0x66666667,%rax,%rbx
mov    %rbx,%rax
shr    $0x3f,%rax
sar    $0x22,%rbx
add    %eax,%ebx
lea    0xdd7(%rip),%rdi
mov    %ebx,%esi
call   1030 <printf@plt>
add    %ebx,%ebx
lea    (%rbx,%rbx,4),%eax
sub    %eax,%r14d
lea    0x4(%r14),%eax
cmp    $0x9,%eax
jb     12a6 <splitter+0x196>
movslq %r14d,%rax
imul   $0x66666667,%rax,%rbx
mov    %rbx,%rax
shr    $0x3f,%rax
sar    $0x21,%rbx
add    %eax,%ebx
lea    0xdac(%rip),%rdi
mov    %ebx,%esi
call   1030 <printf@plt>
lea    (%rbx,%rbx,4),%eax
sub    %eax,%r14d
lea    0x1(%r14),%eax
cmp    $0x3,%eax
jb     12cd <splitter+0x1bd>
mov    %r14d,%ebx
shr    $0x1f,%ebx
add    %r14d,%ebx
sar    %ebx
lea    0xd8e(%rip),%rdi
mov    %ebx,%esi
call   1030 <printf@plt>
add    %ebx,%ebx
sub    %ebx,%r14d
test   %r14d,%r14d
je     12e1 <splitter+0x1d1>
lea    0xd80(%rip),%rdi
mov    %r14d,%esi
call   1030 <printf@plt>
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [12 x i8] c"%d mal 500\0A\00"
@.str.1 = [12 x i8] c"%d mal 200\0A\00"
@.str.2 = [12 x i8] c"%d mal 100\0A\00"
@.str.3 = [11 x i8] c"%d mal 50\0A\00"
@.str.4 = [11 x i8] c"%d mal 20\0A\00"
@.str.5 = [11 x i8] c"%d mal 10\0A\00"
@.str.6 = [10 x i8] c"%d mal 5\0A\00"
@.str.7 = [10 x i8] c"%d mal 2\0A\00"
@.str.8 = [10 x i8] c"%d mal 1\0A\00"
define i32 @splitter(i32 %0) {
%2 = alloca i32
%3 = alloca i32
store i32 %0, i32* %3
%4 = load i32, i32* %3
%5 = sdiv i32 %4, 500
switch i32 %5, label %7 [
i32 0, label %6
]
6: ; preds = %1
br label %16
7: ; preds = %1
%8 = load i32, i32* %3
%9 = sdiv i32 %8, 500
%10 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 %9)
%11 = load i32, i32* %3
%12 = load i32, i32* %3
%13 = sdiv i32 %12, 500
%14 = mul nsw i32 %13, 500
%15 = sub nsw i32 %11, %14
store i32 %15, i32* %3
br label %16
16: ; preds = %7, %6
%17 = load i32, i32* %3
%18 = sdiv i32 %17, 200
switch i32 %18, label %20 [
i32 0, label %19
]
19: ; preds = %16
br label %29
20: ; preds = %16
%21 = load i32, i32* %3
%22 = sdiv i32 %21, 200
%23 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 %22)
%24 = load i32, i32* %3
%25 = load i32, i32* %3
%26 = sdiv i32 %25, 200
%27 = mul nsw i32 %26, 200
%28 = sub nsw i32 %24, %27
store i32 %28, i32* %3
br label %29
29: ; preds = %20, %19
%30 = load i32, i32* %3
%31 = sdiv i32 %30, 100
switch i32 %31, label %33 [
i32 0, label %32
]
32: ; preds = %29
br label %42
33: ; preds = %29
%34 = load i32, i32* %3
%35 = sdiv i32 %34, 100
%36 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 %35)
%37 = load i32, i32* %3
%38 = load i32, i32* %3
%39 = sdiv i32 %38, 100
%40 = mul nsw i32 %39, 100
%41 = sub nsw i32 %37, %40
store i32 %41, i32* %3
br label %42
42: ; preds = %33, %32
%43 = load i32, i32* %3
%44 = sdiv i32 %43, 50
switch i32 %44, label %46 [
i32 0, label %45
]
45: ; preds = %42
br label %55
46: ; preds = %42
%47 = load i32, i32* %3
%48 = sdiv i32 %47, 50
%49 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i32 %48)
%50 = load i32, i32* %3
%51 = load i32, i32* %3
%52 = sdiv i32 %51, 50
%53 = mul nsw i32 %52, 50
%54 = sub nsw i32 %50, %53
store i32 %54, i32* %3
br label %55
55: ; preds = %46, %45
%56 = load i32, i32* %3
%57 = sdiv i32 %56, 20
switch i32 %57, label %59 [
i32 0, label %58
]
58: ; preds = %55
br label %68
59: ; preds = %55
%60 = load i32, i32* %3
%61 = sdiv i32 %60, 20
%62 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 %61)
%63 = load i32, i32* %3
%64 = load i32, i32* %3
%65 = sdiv i32 %64, 20
%66 = mul nsw i32 %65, 20
%67 = sub nsw i32 %63, %66
store i32 %67, i32* %3
br label %68
68: ; preds = %59, %58
%69 = load i32, i32* %3
%70 = sdiv i32 %69, 10
switch i32 %70, label %72 [
i32 0, label %71
]
71: ; preds = %68
br label %81
72: ; preds = %68
%73 = load i32, i32* %3
%74 = sdiv i32 %73, 10
%75 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i32 %74)
%76 = load i32, i32* %3
%77 = load i32, i32* %3
%78 = sdiv i32 %77, 10
%79 = mul nsw i32 %78, 10
%80 = sub nsw i32 %76, %79
store i32 %80, i32* %3
br label %81
81: ; preds = %72, %71
%82 = load i32, i32* %3
%83 = sdiv i32 %82, 5
switch i32 %83, label %85 [
i32 0, label %84
]
84: ; preds = %81
br label %94
85: ; preds = %81
%86 = load i32, i32* %3
%87 = sdiv i32 %86, 5
%88 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i32 %87)
%89 = load i32, i32* %3
%90 = load i32, i32* %3
%91 = sdiv i32 %90, 5
%92 = mul nsw i32 %91, 5
%93 = sub nsw i32 %89, %92
store i32 %93, i32* %3
br label %94
94: ; preds = %85, %84
%95 = load i32, i32* %3
%96 = sdiv i32 %95, 2
switch i32 %96, label %98 [
i32 0, label %97
]
97: ; preds = %94
br label %107
98: ; preds = %94
%99 = load i32, i32* %3
%100 = sdiv i32 %99, 2
%101 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), i32 %100)
%102 = load i32, i32* %3
%103 = load i32, i32* %3
%104 = sdiv i32 %103, 2
%105 = mul nsw i32 %104, 2
%106 = sub nsw i32 %102, %105
store i32 %106, i32* %3
br label %107
107: ; preds = %98, %97
%108 = load i32, i32* %3
%109 = sdiv i32 %108, 1
switch i32 %109, label %111 [
i32 0, label %110
]
110: ; preds = %107
br label %120
111: ; preds = %107
%112 = load i32, i32* %3
%113 = sdiv i32 %112, 1
%114 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.8, i64 0, i64 0), i32 %113)
%115 = load i32, i32* %3
%116 = load i32, i32* %3
%117 = sdiv i32 %116, 1
%118 = mul nsw i32 %117, 1
%119 = sub nsw i32 %115, %118
store i32 %119, i32* %3
br label %120
120: ; preds = %111, %110
%121 = load i32, i32* %2
ret i32 %121
}

LLVM IR (-O2):
@.str = [12 x i8] c"%d mal 500\0A\00"
@.str.1 = [12 x i8] c"%d mal 200\0A\00"
@.str.2 = [12 x i8] c"%d mal 100\0A\00"
@.str.3 = [11 x i8] c"%d mal 50\0A\00"
@.str.4 = [11 x i8] c"%d mal 20\0A\00"
@.str.5 = [11 x i8] c"%d mal 10\0A\00"
@.str.6 = [10 x i8] c"%d mal 5\0A\00"
@.str.7 = [10 x i8] c"%d mal 2\0A\00"
@.str.8 = [10 x i8] c"%d mal 1\0A\00"
define i32 @splitter(i32 %0) {
%2 = sdiv i32 %0, 500
%3 = add i32 %0, 499
%4 = icmp ult i32 %3, 999
br i1 %4, label %9, label %5
5: ; preds = %1
%6 = tail call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 %2)
%7 = mul nsw i32 %2, -500
%8 = add i32 %7, %0
br label %9
9: ; preds = %1, %5
%10 = phi i32 [ %0, %1 ], [ %8, %5 ]
%11 = sdiv i32 %10, 200
%12 = add i32 %10, 199
%13 = icmp ult i32 %12, 399
br i1 %13, label %18, label %14
14: ; preds = %9
%15 = tail call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 %11)
%16 = mul nsw i32 %11, -200
%17 = add i32 %16, %10
br label %18
18: ; preds = %9, %14
%19 = phi i32 [ %10, %9 ], [ %17, %14 ]
%20 = sdiv i32 %19, 100
%21 = add i32 %19, 99
%22 = icmp ult i32 %21, 199
br i1 %22, label %27, label %23
23: ; preds = %18
%24 = tail call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 %20)
%25 = mul nsw i32 %20, -100
%26 = add i32 %25, %19
br label %27
27: ; preds = %18, %23
%28 = phi i32 [ %19, %18 ], [ %26, %23 ]
%29 = sdiv i32 %28, 50
%30 = add i32 %28, 49
%31 = icmp ult i32 %30, 99
br i1 %31, label %36, label %32
32: ; preds = %27
%33 = tail call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i32 %29)
%34 = mul nsw i32 %29, -50
%35 = add i32 %34, %28
br label %36
36: ; preds = %27, %32
%37 = phi i32 [ %28, %27 ], [ %35, %32 ]
%38 = sdiv i32 %37, 20
%39 = add i32 %37, 19
%40 = icmp ult i32 %39, 39
br i1 %40, label %45, label %41
41: ; preds = %36
%42 = tail call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 %38)
%43 = mul nsw i32 %38, -20
%44 = add i32 %43, %37
br label %45
45: ; preds = %36, %41
%46 = phi i32 [ %37, %36 ], [ %44, %41 ]
%47 = sdiv i32 %46, 10
%48 = add i32 %46, 9
%49 = icmp ult i32 %48, 19
br i1 %49, label %54, label %50
50: ; preds = %45
%51 = tail call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i32 %47)
%52 = mul nsw i32 %47, -10
%53 = add i32 %52, %46
br label %54
54: ; preds = %45, %50
%55 = phi i32 [ %46, %45 ], [ %53, %50 ]
%56 = sdiv i32 %55, 5
%57 = add i32 %55, 4
%58 = icmp ult i32 %57, 9
br i1 %58, label %63, label %59
59: ; preds = %54
%60 = tail call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i32 %56)
%61 = mul nsw i32 %56, -5
%62 = add i32 %61, %55
br label %63
63: ; preds = %54, %59
%64 = phi i32 [ %55, %54 ], [ %62, %59 ]
%65 = sdiv i32 %64, 2
%66 = add i32 %64, 1
%67 = icmp ult i32 %66, 3
br i1 %67, label %72, label %68
68: ; preds = %63
%69 = tail call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), i32 %65)
%70 = mul i32 %65, -2
%71 = add i32 %70, %64
br label %72
72: ; preds = %63, %68
%73 = phi i32 [ %64, %63 ], [ %71, %68 ]
%74 = icmp eq i32 %73, 0
br i1 %74, label %77, label %75
75: ; preds = %72
%76 = tail call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.8, i64 0, i64 0), i32 %73)
br label %77
77: ; preds = %72, %75
ret i32 undef
}