#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*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, int *);
double sqrt(int);
int /*<<< orphan*/ sscanf(char *, char *, ...);
int main() {
  int x = 255;
  double rootx = sqrt(x);
  char bang = '!';
  printf("The square root of %d = %f %c%c\n", x, rootx, bang, bang);
  printf("The square root of %f = %f %c%c\n", x, rootx, '?', '?');
  printf("The square root of %05d = %.3f = %10.4f\n", x, rootx, rootx);
  x = 123456;
  rootx = sqrt(x);
  printf("The square root of %3d = %.3f = %10.4f\n", x, rootx, rootx);
  int xx[2] = {3, 5};
  printf("xx: %d, %d\n", xx[0], xx[1]);
  char hello[6] = {'h', 'e', 'l', 'l', 'o', '\0'};
  printf("hello: %s\n", hello);
  printf("%s again\n", "hello");
  char empty_string[1] = {'\0'};
  printf("empty string: [%s]\n", empty_string);
  printf("\n");
  char hello2[6] = "hello";
  char empty_string2[1] = "";
  printf("hello2: %s\n", hello2);
  printf("Another empty string: <%s>\n\n", empty_string2);
  char hello3[] = "hello!!?  hi?";
  printf("hello3: %s\n", hello3);
  int y;
  printf("Enter an fairly small integer >= 0 (and then return): ");
  scanf("%d", &y);
  printf("We read in %d\n\n", y);
  char buffer[] = "-25.70 junk";
  float h;
  sscanf(buffer, "%d%f", &y, &h);
  printf("Using sscanf %%d%%f, we read in %d and %f from %s\n", y, h, buffer);
  sscanf(buffer, "%f", &h);
  printf("Using sscanf %%f, we read in %f from %s\n\n", h, buffer);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0xff,-0x8(%rbp)
mov    -0x8(%rbp),%edi
call   1070 <sqrt@plt>
movsd  %xmm0,-0x10(%rbp)
movb   $0x21,-0x11(%rbp)
mov    -0x8(%rbp),%esi
movsd  -0x10(%rbp),%xmm0
movsbl -0x11(%rbp),%edx
movsbl -0x11(%rbp),%ecx
lea    0xe72(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
movsd  -0x10(%rbp),%xmm0
lea    0xe7d(%rip),%rdi
mov    $0x3f,%ecx
mov    %ecx,%edx
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
movsd  -0x10(%rbp),%xmm0
movsd  -0x10(%rbp),%xmm1
lea    0xe7c(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
movl   $0x1e240,-0x8(%rbp)
mov    -0x8(%rbp),%edi
call   1070 <sqrt@plt>
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%esi
movsd  -0x10(%rbp),%xmm0
movsd  -0x10(%rbp),%xmm1
lea    0xe76(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
mov    0xfc9(%rip),%rax
mov    %rax,-0x1c(%rbp)
mov    -0x1c(%rbp),%esi
mov    -0x18(%rbp),%edx
lea    0xe7f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0xe7e(%rip),%eax
mov    %eax,-0x22(%rbp)
mov    0xe78(%rip),%ax
mov    %ax,-0x1e(%rbp)
lea    -0x22(%rbp),%rsi
lea    0xe6b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe68(%rip),%rdi
lea    0xe50(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x23(%rbp),%rdi
xor    %esi,%esi
mov    $0x1,%edx
call   1040 <memset@plt>
lea    -0x23(%rbp),%rsi
lea    0xe49(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe76(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0xe13(%rip),%eax
mov    %eax,-0x29(%rbp)
mov    0xe0d(%rip),%ax
mov    %ax,-0x25(%rbp)
lea    -0x2a(%rbp),%rdi
xor    %esi,%esi
mov    $0x1,%edx
call   1040 <memset@plt>
lea    -0x29(%rbp),%rsi
lea    0xe19(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x2a(%rbp),%rsi
lea    0xe13(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0xe22(%rip),%rax
mov    %rax,-0x38(%rbp)
mov    0xe20(%rip),%eax
mov    %eax,-0x30(%rbp)
mov    0xe1a(%rip),%ax
mov    %ax,-0x2c(%rbp)
lea    -0x38(%rbp),%rsi
lea    0xe0d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe0b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe34(%rip),%rdi
lea    -0x3c(%rbp),%rsi
call   1060 <scanf@plt>
mov    -0x3c(%rbp),%esi
lea    0xe24(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0xe26(%rip),%rax
mov    %rax,-0x48(%rbp)
mov    0xe24(%rip),%eax
mov    %eax,-0x40(%rbp)
lea    -0x48(%rbp),%rdi
lea    0xe1a(%rip),%rsi
lea    -0x3c(%rbp),%rdx
lea    -0x4c(%rbp),%rcx
mov    $0x0,%al
call   1050 <sscanf@plt>
mov    -0x3c(%rbp),%esi
movss  -0x4c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    -0x48(%rbp),%rdx
lea    0xdf9(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
lea    -0x48(%rbp),%rdi
lea    0xde4(%rip),%rsi
lea    -0x4c(%rbp),%rdx
mov    $0x0,%al
call   1050 <sscanf@plt>
movss  -0x4c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    -0x48(%rbp),%rsi
lea    0xdfb(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
sub    $0x50,%rsp
mov    $0xff,%edi
call   1070 <sqrt@plt>
movsd  %xmm0,0x28(%rsp)
lea    0xe90(%rip),%rdi
mov    $0xff,%esi
mov    $0x21,%edx
mov    $0x21,%ecx
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xe94(%rip),%rdi
mov    $0xff,%esi
movsd  0x28(%rsp),%xmm0
mov    $0x3f,%edx
mov    $0x3f,%ecx
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xe92(%rip),%rdi
mov    $0xff,%esi
movsd  0x28(%rsp),%xmm0
movaps %xmm0,%xmm1
mov    $0x2,%al
call   1040 <printf@plt>
mov    $0x1e240,%edi
call   1070 <sqrt@plt>
lea    0xe95(%rip),%rdi
mov    $0x1e240,%esi
movaps %xmm0,%xmm1
mov    $0x2,%al
call   1040 <printf@plt>
lea    0xea7(%rip),%rdi
mov    $0x3,%esi
mov    $0x5,%edx
xor    %eax,%eax
call   1040 <printf@plt>
movw   $0x6f,0x24(%rsp)
movl   $0x6c6c6568,0x20(%rsp)
6c
lea    0xeb5(%rip),%rbx
lea    0xe85(%rip),%rdi
lea    0x20(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe7d(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
movb   $0x0,0xf(%rsp)
lea    0xe71(%rip),%rdi
lea    0xf(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
movw   $0x6f,0x1c(%rsp)
movl   $0x6c6c6568,0x18(%rsp)
6c
movb   $0x0,0xe(%rsp)
lea    0xe5a(%rip),%rdi
lea    0x18(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe53(%rip),%rdi
lea    0xe(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
movabs $0x3f696820203f21,%rax
mov    %rax,0x46(%rsp)
movabs $0x3f21216f6c6c6568,%rax
21 21 3f
mov    %rax,0x40(%rsp)
lea    0xe4d(%rip),%rdi
lea    0x40(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe46(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe6f(%rip),%rdi
lea    0x14(%rsp),%r14
mov    %r14,%rsi
call   1060 <scanf@plt>
mov    0x14(%rsp),%esi
lea    0xe5a(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movabs $0x6a2030372e35322d,%rax
30 20 6a
mov    %rax,0x30(%rsp)
movl   $0x6b6e75,0x38(%rsp)
lea    0xe51(%rip),%rsi
lea    0x30(%rsp),%rbx
lea    0x10(%rsp),%r15
mov    %rbx,%rdi
mov    %r14,%rdx
mov    %r15,%rcx
xor    %eax,%eax
call   1050 <sscanf@plt>
mov    0x14(%rsp),%esi
movss  0x10(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe27(%rip),%rdi
mov    %rbx,%rdx
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xe13(%rip),%rsi
mov    %rbx,%rdi
mov    %r15,%rdx
xor    %eax,%eax
call   1050 <sscanf@plt>
movss  0x10(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe2b(%rip),%rdi
mov    %rbx,%rsi
mov    $0x1,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [33 x i8] c"The square root of %d = %f %c%c\0A\00"
@.str.1 = [33 x i8] c"The square root of %f = %f %c%c\0A\00"
@.str.2 = [41 x i8] c"The square root of %05d = %.3f = %10.4f\0A\00"
@.str.3 = [40 x i8] c"The square root of %3d = %.3f = %10.4f\0A\00"
@__const.main.xx = [2 x i32] [i32 3, i32 5]
@.str.4 = [12 x i8] c"xx: %d, %d\0A\00"
@__const.main.hello = [6 x i8] c"hello\00"
@.str.5 = [11 x i8] c"hello: %s\0A\00"
@.str.6 = [10 x i8] c"%s again\0A\00"
@.str.7 = [6 x i8] c"hello\00"
@.str.8 = [20 x i8] c"empty string: [%s]\0A\00"
@.str.9 = [2 x i8] c"\0A\00"
@__const.main.hello2 = [6 x i8] c"hello\00"
@.str.10 = [12 x i8] c"hello2: %s\0A\00"
@.str.11 = [29 x i8] c"Another empty string: <%s>\0A\0A\00"
@__const.main.hello3 = [14 x i8] c"hello!!? hi?\00"
@.str.12 = [12 x i8] c"hello3: %s\0A\00"
@.str.13 = [55 x i8] c"Enter an fairly small integer >= 0 (and then return): \00"
@.str.14 = [3 x i8] c"%d\00"
@.str.15 = [16 x i8] c"We read in %d\0A\0A\00"
@__const.main.buffer = [12 x i8] c"-25.70 junk\00"
@.str.16 = [5 x i8] c"%d%f\00"
@.str.17 = [51 x i8] c"Using sscanf %%d%%f, we read in %d and %f from %s\0A\00"
@.str.18 = [3 x i8] c"%f\00"
@.str.19 = [42 x i8] c"Using sscanf %%f, we read in %f from %s\0A\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca double
%4 = alloca i8
%5 = alloca [2 x i32]
%6 = alloca [6 x i8]
%7 = alloca [1 x i8]
%8 = alloca [6 x i8]
%9 = alloca [1 x i8]
%10 = alloca [14 x i8]
%11 = alloca i32
%12 = alloca [12 x i8]
%13 = alloca float
store i32 0, i32* %1
store i32 255, i32* %2
%14 = load i32, i32* %2
%15 = call double @sqrt(i32 %14)
store double %15, double* %3
store i8 33, i8* %4
%16 = load i32, i32* %2
%17 = load double, double* %3
%18 = load i8, i8* %4
%19 = sext i8 %18 to i32
%20 = load i8, i8* %4
%21 = sext i8 %20 to i32
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0), i32 %16, double %17, i32 %19, i32 %21)
%23 = load i32, i32* %2
%24 = load double, double* %3
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.1, i64 0, i64 0), i32 %23, double %24, i32 63, i32 63)
%26 = load i32, i32* %2
%27 = load double, double* %3
%28 = load double, double* %3
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.2, i64 0, i64 0), i32 %26, double %27, double %28)
store i32 123456, i32* %2
%30 = load i32, i32* %2
%31 = call double @sqrt(i32 %30)
store double %31, double* %3
%32 = load i32, i32* %2
%33 = load double, double* %3
%34 = load double, double* %3
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.3, i64 0, i64 0), i32 %32, double %33, double %34)
%36 = bitcast [2 x i32]* %5 to i8*
%37 = getelementptr inbounds [2 x i32], [2 x i32]* %5, i64 0, i64 0
%38 = load i32, i32* %37
%39 = getelementptr inbounds [2 x i32], [2 x i32]* %5, i64 0, i64 1
%40 = load i32, i32* %39
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0), i32 %38, i32 %40)
%42 = bitcast [6 x i8]* %6 to i8*
%43 = getelementptr inbounds [6 x i8], [6 x i8]* %6, i64 0, i64 0
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i8* %43)
%45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%46 = bitcast [1 x i8]* %7 to i8*
%47 = getelementptr inbounds [1 x i8], [1 x i8]* %7, i64 0, i64 0
%48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.8, i64 0, i64 0), i8* %47)
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
%50 = bitcast [6 x i8]* %8 to i8*
%51 = bitcast [1 x i8]* %9 to i8*
%52 = getelementptr inbounds [6 x i8], [6 x i8]* %8, i64 0, i64 0
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.10, i64 0, i64 0), i8* %52)
%54 = getelementptr inbounds [1 x i8], [1 x i8]* %9, i64 0, i64 0
%55 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.11, i64 0, i64 0), i8* %54)
%56 = bitcast [14 x i8]* %10 to i8*
%57 = getelementptr inbounds [14 x i8], [14 x i8]* %10, i64 0, i64 0
%58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i8* %57)
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.13, i64 0, i64 0))
%60 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.14, i64 0, i64 0), i32* %11)
%61 = load i32, i32* %11
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.15, i64 0, i64 0), i32 %61)
%63 = bitcast [12 x i8]* %12 to i8*
%64 = getelementptr inbounds [12 x i8], [12 x i8]* %12, i64 0, i64 0
%65 = call i32 (i8*, i8*, ...) @sscanf(i8* %64, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0), i32* %11, float* %13)
%66 = load i32, i32* %11
%67 = load float, float* %13
%68 = fpext float %67 to double
%69 = getelementptr inbounds [12 x i8], [12 x i8]* %12, i64 0, i64 0
%70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.17, i64 0, i64 0), i32 %66, double %68, i8* %69)
%71 = getelementptr inbounds [12 x i8], [12 x i8]* %12, i64 0, i64 0
%72 = call i32 (i8*, i8*, ...) @sscanf(i8* %71, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.18, i64 0, i64 0), float* %13)
%73 = load float, float* %13
%74 = fpext float %73 to double
%75 = getelementptr inbounds [12 x i8], [12 x i8]* %12, i64 0, i64 0
%76 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.19, i64 0, i64 0), double %74, i8* %75)
ret i32 0
}

LLVM IR (-O2):
@.str = [33 x i8] c"The square root of %d = %f %c%c\0A\00"
@.str.1 = [33 x i8] c"The square root of %f = %f %c%c\0A\00"
@.str.2 = [41 x i8] c"The square root of %05d = %.3f = %10.4f\0A\00"
@.str.3 = [40 x i8] c"The square root of %3d = %.3f = %10.4f\0A\00"
@.str.4 = [12 x i8] c"xx: %d, %d\0A\00"
@.str.5 = [11 x i8] c"hello: %s\0A\00"
@.str.6 = [10 x i8] c"%s again\0A\00"
@.str.8 = [20 x i8] c"empty string: [%s]\0A\00"
@__const.main.hello2 = [6 x i8] c"hello\00"
@.str.10 = [12 x i8] c"hello2: %s\0A\00"
@.str.11 = [29 x i8] c"Another empty string: <%s>\0A\0A\00"
@__const.main.hello3 = [14 x i8] c"hello!!? hi?\00"
@.str.12 = [12 x i8] c"hello3: %s\0A\00"
@.str.13 = [55 x i8] c"Enter an fairly small integer >= 0 (and then return): \00"
@.str.14 = [3 x i8] c"%d\00"
@.str.15 = [16 x i8] c"We read in %d\0A\0A\00"
@__const.main.buffer = [12 x i8] c"-25.70 junk\00"
@.str.16 = [5 x i8] c"%d%f\00"
@.str.17 = [51 x i8] c"Using sscanf %%d%%f, we read in %d and %f from %s\0A\00"
@.str.18 = [3 x i8] c"%f\00"
@.str.19 = [42 x i8] c"Using sscanf %%f, we read in %f from %s\0A\0A\00"
define i32 @main() {
%1 = alloca [6 x i8]
%2 = alloca [1 x i8]
%3 = alloca [6 x i8]
%4 = alloca [1 x i8]
%5 = alloca [14 x i8]
%6 = alloca i32
%7 = alloca [12 x i8]
%8 = alloca float
%9 = tail call double @sqrt(i32 255)
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0), i32 255, double %9, i32 33, i32 33)
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.1, i64 0, i64 0), i32 255, double %9, i32 63, i32 63)
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.2, i64 0, i64 0), i32 255, double %9, double %9)
%13 = tail call double @sqrt(i32 123456)
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str.3, i64 0, i64 0), i32 123456, double %13, double %13)
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0), i32 3, i32 5)
%16 = getelementptr inbounds [6 x i8], [6 x i8]* %1, i64 0, i64 0
%17 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i8* %16)
%18 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @__const.main.hello2, i64 0, i64 0))
%19 = getelementptr inbounds [1 x i8], [1 x i8]* %2, i64 0, i64 0
store i8 0, i8* %19
%20 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.8, i64 0, i64 0), i8* %19)
%21 = call i32 @putchar(i32 10)
%22 = getelementptr inbounds [6 x i8], [6 x i8]* %3, i64 0, i64 0
%23 = getelementptr inbounds [1 x i8], [1 x i8]* %4, i64 0, i64 0
store i8 0, i8* %23
%24 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.10, i64 0, i64 0), i8* %22)
%25 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.11, i64 0, i64 0), i8* %23)
%26 = getelementptr inbounds [14 x i8], [14 x i8]* %5, i64 0, i64 0
%27 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i8* %26)
%28 = bitcast i32* %6 to i8*
%29 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @.str.13, i64 0, i64 0))
%30 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.14, i64 0, i64 0), i32* %6)
%31 = load i32, i32* %6
%32 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.15, i64 0, i64 0), i32 %31)
%33 = getelementptr inbounds [12 x i8], [12 x i8]* %7, i64 0, i64 0
%34 = bitcast float* %8 to i8*
%35 = call i32 (i8*, i8*, ...) @sscanf(i8* %33, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0), i32* %6, float* %8)
%36 = load i32, i32* %6
%37 = load float, float* %8
%38 = fpext float %37 to double
%39 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @.str.17, i64 0, i64 0), i32 %36, double %38, i8* %33)
%40 = call i32 (i8*, i8*, ...) @sscanf(i8* %33, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.18, i64 0, i64 0), float* %8)
%41 = load float, float* %8
%42 = fpext float %41 to double
%43 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str.19, i64 0, i64 0), double %42, i8* %33)
ret i32 0
}