#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*/ fgets(char *, int, int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ sscanf(char *, char *, int *);
int /*<<< orphan*/ stdin;
int main(int argc, char *argv[]) {
  int n1 = 0, n2 = 0, n3 = 0;
  char linea[180];
  printf("Intruduce el primer numero entero: ");
  fgets(linea, 180, stdin);
  sscanf(linea, "%d", &n1);
  printf("Intruduce el segundo numero entero: ");
  fgets(linea, 180, stdin);
  sscanf(linea, "%d", &n2);
  printf("Intruduce el tercedo numero entero: ");
  fgets(linea, 180, stdin);
  sscanf(linea, "%d", &n3);
  if (n1 < n2 && n2 < n3 && n1 < n3) {
    printf("%d ", n1);
    printf("%d ", n2);
    printf("%d ", n3);
    printf("\n");
  } else if (n2 < n1 && n2 < n3 && n1 < n3) {
    printf("%d ", n2);
    printf("%d ", n1);
    printf("%d ", n3);
    printf("\n");
  } else if (n3 < n2 && n3 < n1 && n2 < n1) {
    printf("%d ", n3);
    printf("%d ", n2);
    printf("%d ", n1);
    printf("\n");
  } else if (n1 < n2 && n3 < n2 && n1 < n3) {
    printf("%d ", n1);
    printf("%d ", n3);
    printf("%d ", n2);
    printf("\n");
  } else if (n3 < n1 && n1 < n2) {
    printf("%d ", n3);
    printf("%d ", n1);
    printf("%d ", n2);
    printf("\n");
  } else if (n2 < n3 && n3 < n1 && n3 < n1) {
    printf("%d ", n2);
    printf("%d ", n3);
    printf("%d ", n1);
    printf("\n");
  }
  printf("Pulsa Cuanquier tecla para terminal: ");
  fgets(linea, 180, stdin);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xd0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
lea    0xe9b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0xd0(%rbp),%rdi
mov    0x2e6e(%rip),%rax
mov    (%rax),%edx
mov    $0xb4,%esi
call   1040 <fgets@plt>
lea    -0xd0(%rbp),%rdi
lea    0xe90(%rip),%rsi
lea    -0x14(%rbp),%rdx
call   1050 <sscanf@plt>
lea    0xe83(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0xd0(%rbp),%rdi
mov    0x2e2f(%rip),%rax
mov    (%rax),%edx
mov    $0xb4,%esi
call   1040 <fgets@plt>
lea    -0xd0(%rbp),%rdi
lea    0xe51(%rip),%rsi
lea    -0x18(%rbp),%rdx
call   1050 <sscanf@plt>
lea    0xe69(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0xd0(%rbp),%rdi
mov    0x2df0(%rip),%rax
mov    (%rax),%edx
mov    $0xb4,%esi
call   1040 <fgets@plt>
lea    -0xd0(%rbp),%rdi
lea    0xe12(%rip),%rsi
lea    -0x1c(%rbp),%rdx
call   1050 <sscanf@plt>
mov    -0x14(%rbp),%eax
cmp    -0x18(%rbp),%eax
jge    1285 <main+0x155>
mov    -0x18(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    1285 <main+0x155>
mov    -0x14(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    1285 <main+0x155>
mov    -0x14(%rbp),%esi
lea    0xe28(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%esi
lea    0xe17(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%esi
lea    0xe06(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdfc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    149f <main+0x36f>
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    12ef <main+0x1bf>
mov    -0x18(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    12ef <main+0x1bf>
mov    -0x14(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    12ef <main+0x1bf>
mov    -0x18(%rbp),%esi
lea    0xdbe(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%esi
lea    0xdad(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%esi
lea    0xd9c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd92(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    149a <main+0x36a>
mov    -0x1c(%rbp),%eax
cmp    -0x18(%rbp),%eax
jge    1359 <main+0x229>
mov    -0x1c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1359 <main+0x229>
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1359 <main+0x229>
mov    -0x1c(%rbp),%esi
lea    0xd54(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%esi
lea    0xd43(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%esi
lea    0xd32(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd28(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1495 <main+0x365>
mov    -0x14(%rbp),%eax
cmp    -0x18(%rbp),%eax
jge    13c3 <main+0x293>
mov    -0x1c(%rbp),%eax
cmp    -0x18(%rbp),%eax
jge    13c3 <main+0x293>
mov    -0x14(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    13c3 <main+0x293>
mov    -0x14(%rbp),%esi
lea    0xcea(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%esi
lea    0xcd9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%esi
lea    0xcc8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xcbe(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1490 <main+0x360>
mov    -0x1c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1421 <main+0x2f1>
mov    -0x14(%rbp),%eax
cmp    -0x18(%rbp),%eax
jge    1421 <main+0x2f1>
mov    -0x1c(%rbp),%esi
lea    0xc8c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%esi
lea    0xc7b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%esi
lea    0xc6a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xc60(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    148b <main+0x35b>
mov    -0x18(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    1486 <main+0x356>
mov    -0x1c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1486 <main+0x356>
mov    -0x1c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1486 <main+0x356>
mov    -0x18(%rbp),%esi
lea    0xc22(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%esi
lea    0xc11(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%esi
lea    0xc00(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xbf6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    148b <main+0x35b>
jmp    1490 <main+0x360>
jmp    1495 <main+0x365>
jmp    149a <main+0x36a>
jmp    149f <main+0x36f>
lea    0xbd1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0xd0(%rbp),%rdi
mov    0x2b2d(%rip),%rax
mov    (%rax),%edx
mov    $0xb4,%esi
call   1040 <fgets@plt>
mov    -0x4(%rbp),%eax
add    $0xd0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xc8,%rsp
movl   $0x0,0xc(%rsp)
movl   $0x0,0x8(%rsp)
movl   $0x0,0x4(%rsp)
lea    0xe90(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x2e6a(%rip),%rbp
mov    0x0(%rbp),%edx
lea    0x10(%rsp),%rbx
mov    %rbx,%rdi
mov    $0xb4,%esi
call   1050 <fgets@plt>
lea    0xe8a(%rip),%r13
lea    0xc(%rsp),%r14
mov    %rbx,%rdi
mov    %r13,%rsi
mov    %r14,%rdx
call   1060 <sscanf@plt>
lea    0xe73(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x0(%rbp),%edx
mov    %rbx,%rdi
mov    $0xb4,%esi
call   1050 <fgets@plt>
lea    0x8(%rsp),%r15
mov    %rbx,%rdi
mov    %r13,%rsi
mov    %r15,%rdx
call   1060 <sscanf@plt>
lea    0xe67(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x0(%rbp),%edx
mov    %rbx,%rdi
mov    $0xb4,%esi
call   1050 <fgets@plt>
lea    0x4(%rsp),%r12
mov    %rbx,%rdi
mov    %r13,%rsi
mov    %r12,%rdx
call   1060 <sscanf@plt>
mov    0xc(%rsp),%esi
mov    0x8(%rsp),%eax
cmp    %eax,%esi
jge    1244 <main+0x104>
mov    0x4(%rsp),%ecx
cmp    %ecx,%eax
jge    1244 <main+0x104>
cmp    %ecx,%esi
jge    1244 <main+0x104>
lea    0xe43(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x4(%rsp),%r14
lea    0x8(%rsp),%r12
jmp    12e5 <main+0x1a5>
mov    0x4(%rsp),%ecx
cmp    %esi,%eax
jge    1270 <main+0x130>
cmp    %ecx,%eax
jge    1270 <main+0x130>
cmp    %ecx,%esi
jge    1270 <main+0x130>
lea    0xe16(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x4(%rsp),%r14
lea    0xc(%rsp),%r12
jmp    12e5 <main+0x1a5>
cmp    %eax,%ecx
jge    1293 <main+0x153>
cmp    %esi,%ecx
jge    1293 <main+0x153>
cmp    %esi,%eax
jge    1293 <main+0x153>
lea    0xdee(%rip),%rdi
mov    %ecx,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x8(%rsp),%r12
jmp    12e5 <main+0x1a5>
cmp    %eax,%esi
jge    12af <main+0x16f>
cmp    %eax,%ecx
jge    12c9 <main+0x189>
cmp    %ecx,%esi
jge    12c9 <main+0x189>
lea    0xdcb(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    12e2 <main+0x1a2>
cmp    %ecx,%eax
jge    1311 <main+0x1d1>
cmp    %esi,%ecx
jge    1311 <main+0x1d1>
lea    0xdb3(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    12e5 <main+0x1a5>
cmp    %esi,%ecx
jge    1311 <main+0x1d1>
lea    0xd9d(%rip),%rdi
mov    %ecx,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xc(%rsp),%r12
mov    %r15,%r14
mov    (%r12),%esi
lea    0xd81(%rip),%rbx
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%r14),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xd5d(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x0(%rbp),%edx
lea    0x10(%rsp),%rdi
mov    $0xb4,%esi
call   1050 <fgets@plt>
xor    %eax,%eax
add    $0xc8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [36 x i8] c"Intruduce el primer numero entero: \00"
@stdin = global i32 0
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [37 x i8] c"Intruduce el segundo numero entero: \00"
@.str.3 = [37 x i8] c"Intruduce el tercedo numero entero: \00"
@.str.4 = [4 x i8] c"%d \00"
@.str.5 = [2 x i8] c"\0A\00"
@.str.6 = [38 x i8] c"Pulsa Cuanquier tecla para terminal: \00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca [180 x i8]
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %6
store i32 0, i32* %7
store i32 0, i32* %8
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0))
%11 = getelementptr inbounds [180 x i8], [180 x i8]* %9, i64 0, i64 0
%12 = load i32, i32* @stdin
%13 = call i32 @fgets(i8* %11, i32 180, i32 %12)
%14 = getelementptr inbounds [180 x i8], [180 x i8]* %9, i64 0, i64 0
%15 = call i32 @sscanf(i8* %14, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %6)
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.2, i64 0, i64 0))
%17 = getelementptr inbounds [180 x i8], [180 x i8]* %9, i64 0, i64 0
%18 = load i32, i32* @stdin
%19 = call i32 @fgets(i8* %17, i32 180, i32 %18)
%20 = getelementptr inbounds [180 x i8], [180 x i8]* %9, i64 0, i64 0
%21 = call i32 @sscanf(i8* %20, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %7)
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.3, i64 0, i64 0))
%23 = getelementptr inbounds [180 x i8], [180 x i8]* %9, i64 0, i64 0
%24 = load i32, i32* @stdin
%25 = call i32 @fgets(i8* %23, i32 180, i32 %24)
%26 = getelementptr inbounds [180 x i8], [180 x i8]* %9, i64 0, i64 0
%27 = call i32 @sscanf(i8* %26, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %8)
%28 = load i32, i32* %6
%29 = load i32, i32* %7
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %47
31: ; preds = %2
%32 = load i32, i32* %7
%33 = load i32, i32* %8
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %47
35: ; preds = %31
%36 = load i32, i32* %6
%37 = load i32, i32* %8
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %47
39: ; preds = %35
%40 = load i32, i32* %6
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %40)
%42 = load i32, i32* %7
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %42)
%44 = load i32, i32* %8
%45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %44)
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
br label %148
47: ; preds = %35, %31, %2
%48 = load i32, i32* %7
%49 = load i32, i32* %6
%50 = icmp slt i32 %48, %49
br i1 %50, label %51, label %67
51: ; preds = %47
%52 = load i32, i32* %7
%53 = load i32, i32* %8
%54 = icmp slt i32 %52, %53
br i1 %54, label %55, label %67
55: ; preds = %51
%56 = load i32, i32* %6
%57 = load i32, i32* %8
%58 = icmp slt i32 %56, %57
br i1 %58, label %59, label %67
59: ; preds = %55
%60 = load i32, i32* %7
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %60)
%62 = load i32, i32* %6
%63 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %62)
%64 = load i32, i32* %8
%65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %64)
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
br label %147
67: ; preds = %55, %51, %47
%68 = load i32, i32* %8
%69 = load i32, i32* %7
%70 = icmp slt i32 %68, %69
br i1 %70, label %71, label %87
71: ; preds = %67
%72 = load i32, i32* %8
%73 = load i32, i32* %6
%74 = icmp slt i32 %72, %73
br i1 %74, label %75, label %87
75: ; preds = %71
%76 = load i32, i32* %7
%77 = load i32, i32* %6
%78 = icmp slt i32 %76, %77
br i1 %78, label %79, label %87
79: ; preds = %75
%80 = load i32, i32* %8
%81 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %80)
%82 = load i32, i32* %7
%83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %82)
%84 = load i32, i32* %6
%85 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %84)
%86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
br label %146
87: ; preds = %75, %71, %67
%88 = load i32, i32* %6
%89 = load i32, i32* %7
%90 = icmp slt i32 %88, %89
br i1 %90, label %91, label %107
91: ; preds = %87
%92 = load i32, i32* %8
%93 = load i32, i32* %7
%94 = icmp slt i32 %92, %93
br i1 %94, label %95, label %107
95: ; preds = %91
%96 = load i32, i32* %6
%97 = load i32, i32* %8
%98 = icmp slt i32 %96, %97
br i1 %98, label %99, label %107
99: ; preds = %95
%100 = load i32, i32* %6
%101 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %100)
%102 = load i32, i32* %8
%103 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %102)
%104 = load i32, i32* %7
%105 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %104)
%106 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
br label %145
107: ; preds = %95, %91, %87
%108 = load i32, i32* %8
%109 = load i32, i32* %6
%110 = icmp slt i32 %108, %109
br i1 %110, label %111, label %123
111: ; preds = %107
%112 = load i32, i32* %6
%113 = load i32, i32* %7
%114 = icmp slt i32 %112, %113
br i1 %114, label %115, label %123
115: ; preds = %111
%116 = load i32, i32* %8
%117 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %116)
%118 = load i32, i32* %6
%119 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %118)
%120 = load i32, i32* %7
%121 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %120)
%122 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
br label %144
123: ; preds = %111, %107
%124 = load i32, i32* %7
%125 = load i32, i32* %8
%126 = icmp slt i32 %124, %125
br i1 %126, label %127, label %143
127: ; preds = %123
%128 = load i32, i32* %8
%129 = load i32, i32* %6
%130 = icmp slt i32 %128, %129
br i1 %130, label %131, label %143
131: ; preds = %127
%132 = load i32, i32* %8
%133 = load i32, i32* %6
%134 = icmp slt i32 %132, %133
br i1 %134, label %135, label %143
135: ; preds = %131
%136 = load i32, i32* %7
%137 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %136)
%138 = load i32, i32* %8
%139 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %138)
%140 = load i32, i32* %6
%141 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %140)
%142 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
br label %143
143: ; preds = %135, %131, %127, %123
br label %144
144: ; preds = %143, %115
br label %145
145: ; preds = %144, %99
br label %146
146: ; preds = %145, %79
br label %147
147: ; preds = %146, %59
br label %148
148: ; preds = %147, %39
%149 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.6, i64 0, i64 0))
%150 = getelementptr inbounds [180 x i8], [180 x i8]* %9, i64 0, i64 0
%151 = load i32, i32* @stdin
%152 = call i32 @fgets(i8* %150, i32 180, i32 %151)
%153 = load i32, i32* %3
ret i32 %153
}

LLVM IR (-O2):
@.str = [36 x i8] c"Intruduce el primer numero entero: \00"
@stdin = global i32 0
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [37 x i8] c"Intruduce el segundo numero entero: \00"
@.str.3 = [37 x i8] c"Intruduce el tercedo numero entero: \00"
@.str.4 = [4 x i8] c"%d \00"
@.str.6 = [38 x i8] c"Pulsa Cuanquier tecla para terminal: \00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca [180 x i8]
%7 = bitcast i32* %3 to i8*
store i32 0, i32* %3
%8 = bitcast i32* %4 to i8*
store i32 0, i32* %4
%9 = bitcast i32* %5 to i8*
store i32 0, i32* %5
%10 = getelementptr inbounds [180 x i8], [180 x i8]* %6, i64 0, i64 0
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0))
%12 = load i32, i32* @stdin
%13 = call i32 @fgets(i8* %10, i32 180, i32 %12)
%14 = call i32 @sscanf(i8* %10, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %3)
%15 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.2, i64 0, i64 0))
%16 = load i32, i32* @stdin
%17 = call i32 @fgets(i8* %10, i32 180, i32 %16)
%18 = call i32 @sscanf(i8* %10, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %4)
%19 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.3, i64 0, i64 0))
%20 = load i32, i32* @stdin
%21 = call i32 @fgets(i8* %10, i32 180, i32 %20)
%22 = call i32 @sscanf(i8* %10, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %5)
%23 = load i32, i32* %3
%24 = load i32, i32* %4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %33
26: ; preds = %2
%27 = load i32, i32* %5
%28 = icmp slt i32 %24, %27
%29 = icmp slt i32 %23, %27
%30 = select i1 %28, i1 %29, i1 false
br i1 %30, label %31, label %33
31: ; preds = %26
%32 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %23)
br label %65
33: ; preds = %26, %2
%34 = icmp slt i32 %24, %23
%35 = load i32, i32* %5
br i1 %34, label %36, label %42
36: ; preds = %33
%37 = icmp slt i32 %24, %35
%38 = icmp slt i32 %23, %35
%39 = select i1 %37, i1 %38, i1 false
br i1 %39, label %40, label %42
40: ; preds = %36
%41 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %24)
br label %65
42: ; preds = %33, %36
%43 = icmp slt i32 %35, %24
br i1 %43, label %44, label %49
44: ; preds = %42
%45 = icmp slt i32 %35, %23
%46 = select i1 %45, i1 %34, i1 false
br i1 %46, label %47, label %49
47: ; preds = %44
%48 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %35)
br label %65
49: ; preds = %44, %42
br i1 %25, label %50, label %59
50: ; preds = %49
%51 = icmp slt i32 %23, %35
%52 = select i1 %43, i1 %51, i1 false
br i1 %52, label %53, label %55
53: ; preds = %50
%54 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %23)
br label %65
55: ; preds = %50
%56 = icmp slt i32 %35, %23
br i1 %56, label %57, label %73
57: ; preds = %55
%58 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %35)
br label %65
59: ; preds = %49
%60 = icmp slt i32 %35, %23
%61 = icmp slt i32 %24, %35
%62 = select i1 %61, i1 %60, i1 false
br i1 %62, label %63, label %73
63: ; preds = %59
%64 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %24)
br label %65
65: ; preds = %31, %47, %57, %63, %53, %40
%66 = phi i32* [ %4, %31 ], [ %4, %47 ], [ %3, %57 ], [ %5, %63 ], [ %5, %53 ], [ %3, %40 ]
%67 = phi i32* [ %5, %31 ], [ %3, %47 ], [ %4, %57 ], [ %3, %63 ], [ %4, %53 ], [ %5, %40 ]
%68 = load i32, i32* %66
%69 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %68)
%70 = load i32, i32* %67
%71 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %70)
%72 = call i32 @putchar(i32 10)
br label %73
73: ; preds = %65, %55, %59
%74 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.6, i64 0, i64 0))
%75 = load i32, i32* @stdin
%76 = call i32 @fgets(i8* %10, i32 180, i32 %75)
ret i32 0
}