#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*/ putchar(char);
void print_seperator_line() {
  int i;
  for (i = 0; i < 40; i++) {
    putchar('-');
  }
  putchar('\n');
}


x86 assembly (clang, -O0):
<print_seperator_line>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
cmpl   $0x28,-0x4(%rbp)
jge    1141 <print_seperator_line+0x31>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    111f <print_seperator_line+0xf>
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_seperator_line>:
push   %rax
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0x2d,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
pop    %rax
jmp    1030 <putchar@plt>

LLVM IR (-O0):
define void @print_seperator_line() {
%1 = alloca i32
store i32 0, i32* %1
br label %2
2: ; preds = %7, %0
%3 = load i32, i32* %1
%4 = icmp slt i32 %3, 40
br i1 %4, label %5, label %10
5: ; preds = %2
%6 = call i32 @putchar(i8 signext 45)
br label %7
7: ; preds = %5
%8 = load i32, i32* %1
%9 = add nsw i32 %8, 1
store i32 %9, i32* %1
br label %2
10: ; preds = %2
%11 = call i32 @putchar(i8 signext 10)
ret void
}

LLVM IR (-O2):
define void @print_seperator_line() {
%1 = tail call i32 @putchar(i8 signext 45)
%2 = tail call i32 @putchar(i8 signext 45)
%3 = tail call i32 @putchar(i8 signext 45)
%4 = tail call i32 @putchar(i8 signext 45)
%5 = tail call i32 @putchar(i8 signext 45)
%6 = tail call i32 @putchar(i8 signext 45)
%7 = tail call i32 @putchar(i8 signext 45)
%8 = tail call i32 @putchar(i8 signext 45)
%9 = tail call i32 @putchar(i8 signext 45)
%10 = tail call i32 @putchar(i8 signext 45)
%11 = tail call i32 @putchar(i8 signext 45)
%12 = tail call i32 @putchar(i8 signext 45)
%13 = tail call i32 @putchar(i8 signext 45)
%14 = tail call i32 @putchar(i8 signext 45)
%15 = tail call i32 @putchar(i8 signext 45)
%16 = tail call i32 @putchar(i8 signext 45)
%17 = tail call i32 @putchar(i8 signext 45)
%18 = tail call i32 @putchar(i8 signext 45)
%19 = tail call i32 @putchar(i8 signext 45)
%20 = tail call i32 @putchar(i8 signext 45)
%21 = tail call i32 @putchar(i8 signext 45)
%22 = tail call i32 @putchar(i8 signext 45)
%23 = tail call i32 @putchar(i8 signext 45)
%24 = tail call i32 @putchar(i8 signext 45)
%25 = tail call i32 @putchar(i8 signext 45)
%26 = tail call i32 @putchar(i8 signext 45)
%27 = tail call i32 @putchar(i8 signext 45)
%28 = tail call i32 @putchar(i8 signext 45)
%29 = tail call i32 @putchar(i8 signext 45)
%30 = tail call i32 @putchar(i8 signext 45)
%31 = tail call i32 @putchar(i8 signext 45)
%32 = tail call i32 @putchar(i8 signext 45)
%33 = tail call i32 @putchar(i8 signext 45)
%34 = tail call i32 @putchar(i8 signext 45)
%35 = tail call i32 @putchar(i8 signext 45)
%36 = tail call i32 @putchar(i8 signext 45)
%37 = tail call i32 @putchar(i8 signext 45)
%38 = tail call i32 @putchar(i8 signext 45)
%39 = tail call i32 @putchar(i8 signext 45)
%40 = tail call i32 @putchar(i8 signext 45)
%41 = tail call i32 @putchar(i8 signext 10)
ret void
}