#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*/ debug_step_01();
int /*<<< orphan*/ debug_step_02();
int /*<<< orphan*/ debug_step_03(int);
int /*<<< orphan*/ debug_step_04(int, int);
int debug_step() {
  int stop_here_1 = 100;
  int seq_01 = 1;
  seq_01++;
  int seq_02 = 2;
  seq_02++;
  int seq_03 = 3;
  seq_03++;
  seq_03++;
  seq_03++;
  seq_03++;
  seq_03++;
  seq_03++;
  seq_03++;
  seq_03++;
  seq_03++;
  seq_03++;
  seq_03++;
  seq_03++;
  seq_03++;
  seq_03++;
  seq_03++;
  seq_03++;
  seq_03++;
  seq_03++;
  seq_03++;
  seq_03++;
  seq_03++;
  int if_x = 10;
  int if_y = 9;
  if (if_x > if_y) {
    int stop_point = 100;
  }
  if (if_x < if_y) {
    int stop_point = 100;
  }
  if (if_x == if_y) {
    int stop_point = 100;
  } else {
    int stop_point = 100;
  }
  int switch_x = 100;
  int switch_y = 80;
  switch (switch_x) {
  case 1: {
    int stop_point = 100;
    break;
  }
  case 10: {
    int stop_point = 100;
    break;
  }
  case 100: {
    int stop_point = 100;
    break;
  }
  default: {
    int stop_point = 100;
    break;
  }
  }
  switch (switch_y) {
  case 1: {
    int stop_point = 100;
    break;
  }
  case 10: {
    int stop_point = 100;
    break;
  }
  case 100: {
    int stop_point = 100;
    break;
  }
  default: {
    int stop_point = 100;
    break;
  }
  }
  int iloop;
  for (iloop = 0; iloop < 20; iloop++) {
    if (iloop < 5) {
      int stop_point = 100;
    } else if (iloop < 10) {
      int stop_point = 100;
    } else if (iloop < 15) {
      int stop_point = 100;
    } else {
      int stop_point = 100;
    }
  }
  int stop_here_2 = 100;
  debug_step_01();
  debug_step_02();
  debug_step_03(1);
  debug_step_04(1, 2);
  return 0;
}


x86 assembly (clang, -O0):
<debug_step>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
movl   $0x64,-0x4(%rbp)
movl   $0x1,-0x8(%rbp)
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
movl   $0x2,-0xc(%rbp)
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
movl   $0x3,-0x10(%rbp)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
movl   $0xa,-0x14(%rbp)
movl   $0x9,-0x18(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x18(%rbp),%eax
jle    1254 <debug_step+0x114>
movl   $0x64,-0x1c(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x18(%rbp),%eax
jge    1267 <debug_step+0x127>
movl   $0x64,-0x20(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x18(%rbp),%eax
jne    127f <debug_step+0x13f>
movl   $0x64,-0x24(%rbp)
jmp    1286 <debug_step+0x146>
movl   $0x64,-0x28(%rbp)
movl   $0x64,-0x2c(%rbp)
movl   $0x50,-0x30(%rbp)
mov    -0x2c(%rbp),%eax
mov    %eax,-0x6c(%rbp)
sub    $0x1,%eax
je     12ca <debug_step+0x18a>
jmp    12a8 <debug_step+0x168>
mov    -0x6c(%rbp),%eax
sub    $0xa,%eax
je     12d6 <debug_step+0x196>
jmp    12b9 <debug_step+0x179>
mov    -0x6c(%rbp),%eax
sub    $0x64,%eax
je     12e2 <debug_step+0x1a2>
jmp    12ee <debug_step+0x1ae>
movl   $0x64,-0x34(%rbp)
jmp    12f5 <debug_step+0x1b5>
movl   $0x64,-0x38(%rbp)
jmp    12f5 <debug_step+0x1b5>
movl   $0x64,-0x3c(%rbp)
jmp    12f5 <debug_step+0x1b5>
movl   $0x64,-0x40(%rbp)
mov    -0x30(%rbp),%eax
mov    %eax,-0x70(%rbp)
sub    $0x1,%eax
je     132b <debug_step+0x1eb>
jmp    1309 <debug_step+0x1c9>
mov    -0x70(%rbp),%eax
sub    $0xa,%eax
je     1337 <debug_step+0x1f7>
jmp    131a <debug_step+0x1da>
mov    -0x70(%rbp),%eax
sub    $0x64,%eax
je     1343 <debug_step+0x203>
jmp    134f <debug_step+0x20f>
movl   $0x64,-0x44(%rbp)
jmp    1356 <debug_step+0x216>
movl   $0x64,-0x48(%rbp)
jmp    1356 <debug_step+0x216>
movl   $0x64,-0x4c(%rbp)
jmp    1356 <debug_step+0x216>
movl   $0x64,-0x50(%rbp)
movl   $0x0,-0x54(%rbp)
cmpl   $0x14,-0x54(%rbp)
jge    13cd <debug_step+0x28d>
cmpl   $0x5,-0x54(%rbp)
jge    137d <debug_step+0x23d>
movl   $0x64,-0x58(%rbp)
jmp    13ba <debug_step+0x27a>
cmpl   $0xa,-0x54(%rbp)
jge    1393 <debug_step+0x253>
movl   $0x64,-0x5c(%rbp)
jmp    13b5 <debug_step+0x275>
cmpl   $0xf,-0x54(%rbp)
jge    13a9 <debug_step+0x269>
movl   $0x64,-0x60(%rbp)
jmp    13b0 <debug_step+0x270>
movl   $0x64,-0x64(%rbp)
jmp    13b5 <debug_step+0x275>
jmp    13ba <debug_step+0x27a>
jmp    13bf <debug_step+0x27f>
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    135d <debug_step+0x21d>
movl   $0x64,-0x68(%rbp)
mov    $0x0,%al
call   1040 <debug_step_01@plt>
mov    $0x0,%al
call   1060 <debug_step_02@plt>
mov    $0x1,%edi
call   1030 <debug_step_03@plt>
mov    $0x1,%edi
mov    $0x2,%esi
call   1050 <debug_step_04@plt>
xor    %eax,%eax
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<debug_step>:
push   %rax
xor    %eax,%eax
call   1040 <debug_step_01@plt>
xor    %eax,%eax
call   1060 <debug_step_02@plt>
mov    $0x1,%edi
call   1030 <debug_step_03@plt>
mov    $0x1,%edi
mov    $0x2,%esi
call   1050 <debug_step_04@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @debug_step() {
%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
store i32 100, i32* %1
store i32 1, i32* %2
%27 = load i32, i32* %2
%28 = add nsw i32 %27, 1
store i32 %28, i32* %2
store i32 2, i32* %3
%29 = load i32, i32* %3
%30 = add nsw i32 %29, 1
store i32 %30, i32* %3
store i32 3, i32* %4
%31 = load i32, i32* %4
%32 = add nsw i32 %31, 1
store i32 %32, i32* %4
%33 = load i32, i32* %4
%34 = add nsw i32 %33, 1
store i32 %34, i32* %4
%35 = load i32, i32* %4
%36 = add nsw i32 %35, 1
store i32 %36, i32* %4
%37 = load i32, i32* %4
%38 = add nsw i32 %37, 1
store i32 %38, i32* %4
%39 = load i32, i32* %4
%40 = add nsw i32 %39, 1
store i32 %40, i32* %4
%41 = load i32, i32* %4
%42 = add nsw i32 %41, 1
store i32 %42, i32* %4
%43 = load i32, i32* %4
%44 = add nsw i32 %43, 1
store i32 %44, i32* %4
%45 = load i32, i32* %4
%46 = add nsw i32 %45, 1
store i32 %46, i32* %4
%47 = load i32, i32* %4
%48 = add nsw i32 %47, 1
store i32 %48, i32* %4
%49 = load i32, i32* %4
%50 = add nsw i32 %49, 1
store i32 %50, i32* %4
%51 = load i32, i32* %4
%52 = add nsw i32 %51, 1
store i32 %52, i32* %4
%53 = load i32, i32* %4
%54 = add nsw i32 %53, 1
store i32 %54, i32* %4
%55 = load i32, i32* %4
%56 = add nsw i32 %55, 1
store i32 %56, i32* %4
%57 = load i32, i32* %4
%58 = add nsw i32 %57, 1
store i32 %58, i32* %4
%59 = load i32, i32* %4
%60 = add nsw i32 %59, 1
store i32 %60, i32* %4
%61 = load i32, i32* %4
%62 = add nsw i32 %61, 1
store i32 %62, i32* %4
%63 = load i32, i32* %4
%64 = add nsw i32 %63, 1
store i32 %64, i32* %4
%65 = load i32, i32* %4
%66 = add nsw i32 %65, 1
store i32 %66, i32* %4
%67 = load i32, i32* %4
%68 = add nsw i32 %67, 1
store i32 %68, i32* %4
%69 = load i32, i32* %4
%70 = add nsw i32 %69, 1
store i32 %70, i32* %4
%71 = load i32, i32* %4
%72 = add nsw i32 %71, 1
store i32 %72, i32* %4
store i32 10, i32* %5
store i32 9, i32* %6
%73 = load i32, i32* %5
%74 = load i32, i32* %6
%75 = icmp sgt i32 %73, %74
br i1 %75, label %76, label %77
76: ; preds = %0
store i32 100, i32* %7
br label %77
77: ; preds = %76, %0
%78 = load i32, i32* %5
%79 = load i32, i32* %6
%80 = icmp slt i32 %78, %79
br i1 %80, label %81, label %82
81: ; preds = %77
store i32 100, i32* %8
br label %82
82: ; preds = %81, %77
%83 = load i32, i32* %5
%84 = load i32, i32* %6
%85 = icmp eq i32 %83, %84
br i1 %85, label %86, label %87
86: ; preds = %82
store i32 100, i32* %9
br label %88
87: ; preds = %82
store i32 100, i32* %10
br label %88
88: ; preds = %87, %86
store i32 100, i32* %11
store i32 80, i32* %12
%89 = load i32, i32* %11
switch i32 %89, label %93 [
i32 1, label %90
i32 10, label %91
i32 100, label %92
]
90: ; preds = %88
store i32 100, i32* %13
br label %94
91: ; preds = %88
store i32 100, i32* %14
br label %94
92: ; preds = %88
store i32 100, i32* %15
br label %94
93: ; preds = %88
store i32 100, i32* %16
br label %94
94: ; preds = %93, %92, %91, %90
%95 = load i32, i32* %12
switch i32 %95, label %99 [
i32 1, label %96
i32 10, label %97
i32 100, label %98
]
96: ; preds = %94
store i32 100, i32* %17
br label %100
97: ; preds = %94
store i32 100, i32* %18
br label %100
98: ; preds = %94
store i32 100, i32* %19
br label %100
99: ; preds = %94
store i32 100, i32* %20
br label %100
100: ; preds = %99, %98, %97, %96
store i32 0, i32* %21
br label %101
101: ; preds = %120, %100
%102 = load i32, i32* %21
%103 = icmp slt i32 %102, 20
br i1 %103, label %104, label %123
104: ; preds = %101
%105 = load i32, i32* %21
%106 = icmp slt i32 %105, 5
br i1 %106, label %107, label %108
107: ; preds = %104
store i32 100, i32* %22
br label %119
108: ; preds = %104
%109 = load i32, i32* %21
%110 = icmp slt i32 %109, 10
br i1 %110, label %111, label %112
111: ; preds = %108
store i32 100, i32* %23
br label %118
112: ; preds = %108
%113 = load i32, i32* %21
%114 = icmp slt i32 %113, 15
br i1 %114, label %115, label %116
115: ; preds = %112
store i32 100, i32* %24
br label %117
116: ; preds = %112
store i32 100, i32* %25
br label %117
117: ; preds = %116, %115
br label %118
118: ; preds = %117, %111
br label %119
119: ; preds = %118, %107
br label %120
120: ; preds = %119
%121 = load i32, i32* %21
%122 = add nsw i32 %121, 1
store i32 %122, i32* %21
br label %101
123: ; preds = %101
store i32 100, i32* %26
%124 = call i32 (...) @debug_step_01()
%125 = call i32 (...) @debug_step_02()
%126 = call i32 @debug_step_03(i32 1)
%127 = call i32 @debug_step_04(i32 1, i32 2)
ret i32 0
}

LLVM IR (-O2):
define i32 @debug_step() {
%1 = tail call i32 (...) @debug_step_01()
%2 = tail call i32 (...) @debug_step_02()
%3 = tail call i32 @debug_step_03(i32 1)
%4 = tail call i32 @debug_step_04(i32 1, i32 2)
ret i32 0
}