#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 *, char *, int);
void Dico_String(int str_no, char *asciiz) {
  Inst_Printf(".align", "8");
  Label_Printf("%s%d:", ".LC", str_no);
  Inst_Printf(".asciz", "%s", asciiz);
}


x86 assembly (clang, -O0):
<Dico_String>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xeca(%rip),%rdi
lea    0xeca(%rip),%rsi
mov    $0x0,%al
call   1030 <Inst_Printf@plt>
mov    -0x4(%rbp),%edx
lea    0xebb(%rip),%rdi
lea    0xeba(%rip),%rsi
call   1040 <Label_Printf@plt>
mov    -0x10(%rbp),%rdx
lea    0xeae(%rip),%rdi
lea    0xeae(%rip),%rsi
mov    $0x0,%al
call   1030 <Inst_Printf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Dico_String>:
push   %rbp
push   %rbx
push   %rax
mov    %rsi,%rbx
mov    %edi,%ebp
lea    0xed1(%rip),%rdi
lea    0xed1(%rip),%rsi
xor    %eax,%eax
call   1030 <Inst_Printf@plt>
lea    0xec5(%rip),%rdi
lea    0xec4(%rip),%rsi
mov    %ebp,%edx
call   1040 <Label_Printf@plt>
lea    0xeba(%rip),%rdi
lea    0xeba(%rip),%rsi
mov    %rbx,%rdx
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %rbp
jmp    1030 <Inst_Printf@plt>

LLVM IR (-O0):
@.str = [7 x i8] c".align\00"
@.str.1 = [2 x i8] c"8\00"
@.str.2 = [6 x i8] c"%s%d:\00"
@.str.3 = [4 x i8] c".LC\00"
@.str.4 = [7 x i8] c".asciz\00"
@.str.5 = [3 x i8] c"%s\00"
define void @Dico_String(i32 %0, i8* %1) {
%3 = alloca i32
%4 = alloca i8*
store i32 %0, i32* %3
store i8* %1, i8** %4
%5 = call i32 (i8*, i8*, ...) @Inst_Printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%6 = load i32, i32* %3
%7 = call i32 @Label_Printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %6)
%8 = load i8*, i8** %4
%9 = call i32 (i8*, i8*, ...) @Inst_Printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %8)
ret void
}

LLVM IR (-O2):
@.str = [7 x i8] c".align\00"
@.str.1 = [2 x i8] c"8\00"
@.str.2 = [6 x i8] c"%s%d:\00"
@.str.3 = [4 x i8] c".LC\00"
@.str.4 = [7 x i8] c".asciz\00"
@.str.5 = [3 x i8] c"%s\00"
define void @Dico_String(i32 %0, i8* %1) {
%3 = tail call i32 (i8*, i8*, ...) @Inst_Printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%4 = tail call i32 @Label_Printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %0)
%5 = tail call i32 (i8*, i8*, ...) @Inst_Printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %1)
ret void
}