#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 *, ...);
int /*<<< orphan*/ Label_Printf(char *);
void Data_Start(char *initializer_fct) {
  if (initializer_fct == NULL)
    return;
  Label_Printf(".data");
  Label_Printf(".mod_init_func");
  Inst_Printf(".align", "2");
  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    113c <Data_Start+0x1c>
jmp    1182 <Data_Start+0x62>
lea    0xebd(%rip),%rdi
call   1040 <Label_Printf@plt>
lea    0xeb7(%rip),%rdi
call   1040 <Label_Printf@plt>
lea    0xeba(%rip),%rdi
lea    0xeba(%rip),%rsi
mov    $0x0,%al
call   1030 <Inst_Printf@plt>
mov    -0x8(%rbp),%rdx
lea    0xeaa(%rip),%rdi
lea    0xea9(%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     116f <Data_Start+0x4f>
push   %rbx
mov    %rdi,%rbx
lea    0xed0(%rip),%rdi
call   1040 <Label_Printf@plt>
lea    0xeca(%rip),%rdi
call   1040 <Label_Printf@plt>
lea    0xecd(%rip),%rdi
lea    0xecd(%rip),%rsi
xor    %eax,%eax
call   1030 <Inst_Printf@plt>
lea    0xec1(%rip),%rdi
lea    0xec0(%rip),%rsi
mov    %rbx,%rdx
xor    %eax,%eax
pop    %rbx
jmp    1030 <Inst_Printf@plt>
ret

LLVM IR (-O0):
@.str = [6 x i8] c".data\00"
@.str.1 = [15 x i8] c".mod_init_func\00"
@.str.2 = [7 x i8] c".align\00"
@.str.3 = [2 x i8] c"2\00"
@.str.4 = [6 x i8] c".long\00"
@.str.5 = [4 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 %12
6: ; preds = %1
%7 = call i32 @Label_Printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
%8 = call i32 @Label_Printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0))
%9 = 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))
%10 = load i8*, i8** %2
%11 = call i32 (i8*, i8*, ...) @Inst_Printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), i8* %10)
br label %12
12: ; preds = %6, %5
ret void
}

LLVM IR (-O2):
@.str = [6 x i8] c".data\00"
@.str.1 = [15 x i8] c".mod_init_func\00"
@.str.2 = [7 x i8] c".align\00"
@.str.3 = [2 x i8] c"2\00"
@.str.4 = [6 x i8] c".long\00"
@.str.5 = [4 x i8] c"_%s\00"
define void @Data_Start(i8* %0) {
%2 = icmp eq i8* %0, null
br i1 %2, label %8, label %3
3: ; preds = %1
%4 = tail call i32 @Label_Printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
%5 = tail call i32 @Label_Printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0))
%6 = 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))
%7 = 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 ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), i8* %0)
br label %8
8: ; preds = %1, %3
ret void
}