#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*/ Inst_Printf(char *, char *, ...);
void Data_Start(char *initializer_fct) {
  if (initializer_fct == NULL)
    return;
  Inst_Printf(".section", "\".ctors\",#alloc,#write");
  Inst_Printf(".align", "4");
  Inst_Printf(".long", "%s", initializer_fct);
}


x86 assembly (clang, -O0):
<Data_Start>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
cmpq   $0x0,-0x8(%rbp)
jne    112c <Data_Start+0x1c>
jmp    116f <Data_Start+0x5f>
lea    0xecd(%rip),%rdi
lea    0xecf(%rip),%rsi
mov    $0x0,%al
call   1030 <Inst_Printf@plt>
lea    0xed8(%rip),%rdi
lea    0xed8(%rip),%rsi
mov    $0x0,%al
call   1030 <Inst_Printf@plt>
mov    -0x8(%rbp),%rdx
lea    0xec8(%rip),%rdi
lea    0xec7(%rip),%rsi
mov    $0x0,%al
call   1030 <Inst_Printf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Data_Start>:
test   %rdi,%rdi
je     115c <Data_Start+0x4c>
push   %rbx
mov    %rdi,%rbx
lea    0xee0(%rip),%rdi
lea    0xee2(%rip),%rsi
xor    %eax,%eax
call   1030 <Inst_Printf@plt>
lea    0xeeb(%rip),%rdi
lea    0xeeb(%rip),%rsi
xor    %eax,%eax
call   1030 <Inst_Printf@plt>
lea    0xedf(%rip),%rdi
lea    0xede(%rip),%rsi
mov    %rbx,%rdx
xor    %eax,%eax
pop    %rbx
jmp    1030 <Inst_Printf@plt>
ret

LLVM IR (-O0):
@.str = [9 x i8] c".section\00"
@.str.1 = [23 x i8] c"\22.ctors\22,#alloc,#write\00"
@.str.2 = [7 x i8] c".align\00"
@.str.3 = [2 x i8] c"4\00"
@.str.4 = [6 x i8] c".long\00"
@.str.5 = [3 x i8] c"%s\00"
define void @Data_Start(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i8*, i8** %2
%4 = icmp eq i8* %3, null
br i1 %4, label %5, label %6
5: ; preds = %1
br label %11
6: ; preds = %1
%7 = call i32 (i8*, i8*, ...) @Inst_Printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.1, i64 0, i64 0))
%8 = call i32 (i8*, i8*, ...) @Inst_Printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%9 = load i8*, i8** %2
%10 = call i32 (i8*, i8*, ...) @Inst_Printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %9)
br label %11
11: ; preds = %6, %5
ret void
}

LLVM IR (-O2):
@.str = [9 x i8] c".section\00"
@.str.1 = [23 x i8] c"\22.ctors\22,#alloc,#write\00"
@.str.2 = [7 x i8] c".align\00"
@.str.3 = [2 x i8] c"4\00"
@.str.4 = [6 x i8] c".long\00"
@.str.5 = [3 x i8] c"%s\00"
define void @Data_Start(i8* %0) {
%2 = icmp eq i8* %0, null
br i1 %2, label %7, label %3
3: ; preds = %1
%4 = tail call i32 (i8*, i8*, ...) @Inst_Printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.1, i64 0, i64 0))
%5 = tail call i32 (i8*, i8*, ...) @Inst_Printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%6 = tail call i32 (i8*, i8*, ...) @Inst_Printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %0)
br label %7
7: ; preds = %1, %3
ret void
}