int test_copy_value(void) {
  int *int_ptr;
  float *float_ptr;
  double *double_ptr;
  char *str_ptr;
  int int_value = 0;
  float float_value = 10.0;
  double doule_value = 100.0;
  const char *str_value = "test";
  int_ptr = copy_value(0, &int_value);
  do {
    if (!(intcmp(*int_ptr, int_value) == 0)) {
      printf("%sERROR!%s [%s:%d] %s %sFAILED!%s\n", "\x1B[1;31m", "\x1B[1;0m",
             __func__, 187, "intcmp(*int_ptr, int_value) == 0", "\x1B[1;31m",
             "\x1B[1;0m");
      return -1;
    }
  } while (0);
  float_ptr = copy_value(1, &float_value);
  do {
    if (!(fltcmp(*float_ptr, float_value) == 0)) {
      printf("%sERROR!%s [%s:%d] %s %sFAILED!%s\n", "\x1B[1;31m", "\x1B[1;0m",
             __func__, 190, "fltcmp(*float_ptr, float_value) == 0",
             "\x1B[1;31m", "\x1B[1;0m");
      return -1;
    }
  } while (0);
  double_ptr = copy_value(2, &doule_value);
  do {
    if (!(fltcmp(*double_ptr, doule_value) == 0)) {
      printf("%sERROR!%s [%s:%d] %s %sFAILED!%s\n", "\x1B[1;31m", "\x1B[1;0m",
             __func__, 193, "fltcmp(*double_ptr, doule_value) == 0",
             "\x1B[1;31m", "\x1B[1;0m");
      return -1;
    }
  } while (0);
  str_ptr = copy_value(3, (void *)str_value);
  do {
    if (!(strcmp(str_ptr, str_value) == 0)) {
      printf("%sERROR!%s [%s:%d] %s %sFAILED!%s\n", "\x1B[1;31m", "\x1B[1;0m",
             __func__, 196, "strcmp(str_ptr, str_value) == 0", "\x1B[1;31m",
             "\x1B[1;0m");
      return -1;
    }
  } while (0);
  free(int_ptr);
  free(float_ptr);
  free(double_ptr);
  free(str_ptr);
  return 0;
}


x86 assembly (clang, -O0):
<test_copy_value>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x2c(%rbp)
movss  0xe91(%rip),%xmm0
movss  %xmm0,-0x30(%rbp)
movsd  0xe7c(%rip),%xmm0
movsd  %xmm0,-0x38(%rbp)
lea    0xe7c(%rip),%rax
mov    %rax,-0x40(%rbp)
xor    %edi,%edi
lea    -0x2c(%rbp),%rsi
mov    $0x0,%al
call   1050 <copy_value@plt>
cltq
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    (%rax),%edi
mov    -0x2c(%rbp),%esi
mov    $0x0,%al
call   1040 <intcmp@plt>
cmp    $0x0,%eax
je     120b <test_copy_value+0xab>
lea    0xe4a(%rip),%rdi
lea    0xe66(%rip),%r10
lea    0xe67(%rip),%rax
lea    0xe67(%rip),%rcx
mov    $0xbb,%r8d
lea    0xe6a(%rip),%r9
mov    %r10,%rsi
mov    %rax,%rdx
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
mov    $0x0,%al
call   1060 <printf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    13c5 <test_copy_value+0x265>
jmp    1210 <test_copy_value+0xb0>
mov    $0x1,%edi
lea    -0x30(%rbp),%rsi
mov    $0x0,%al
call   1050 <copy_value@plt>
cltq
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rax
movss  (%rax),%xmm0
cvtss2sd %xmm0,%xmm0
movss  -0x30(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
mov    $0x2,%al
call   1080 <fltcmp@plt>
cmp    $0x0,%eax
je     1296 <test_copy_value+0x136>
lea    0xdbf(%rip),%rdi
lea    0xddb(%rip),%r10
lea    0xddc(%rip),%rax
lea    0xddc(%rip),%rcx
mov    $0xbe,%r8d
lea    0xe00(%rip),%r9
mov    %r10,%rsi
mov    %rax,%rdx
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
mov    $0x0,%al
call   1060 <printf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    13c5 <test_copy_value+0x265>
jmp    129b <test_copy_value+0x13b>
mov    $0x2,%edi
lea    -0x38(%rbp),%rsi
mov    $0x0,%al
call   1050 <copy_value@plt>
cltq
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm0
movsd  -0x38(%rbp),%xmm1
mov    $0x2,%al
call   1080 <fltcmp@plt>
cmp    $0x0,%eax
je     1319 <test_copy_value+0x1b9>
lea    0xd3c(%rip),%rdi
lea    0xd58(%rip),%r10
lea    0xd59(%rip),%rax
lea    0xd59(%rip),%rcx
mov    $0xc1,%r8d
lea    0xda2(%rip),%r9
mov    %r10,%rsi
mov    %rax,%rdx
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
mov    $0x0,%al
call   1060 <printf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    13c5 <test_copy_value+0x265>
jmp    131e <test_copy_value+0x1be>
mov    -0x40(%rbp),%rsi
mov    $0x3,%edi
mov    $0x0,%al
call   1050 <copy_value@plt>
cltq
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rdi
mov    -0x40(%rbp),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
je     1395 <test_copy_value+0x235>
lea    0xcc0(%rip),%rdi
lea    0xcdc(%rip),%r10
lea    0xcdd(%rip),%rax
lea    0xcdd(%rip),%rcx
mov    $0xc4,%r8d
lea    0xd4c(%rip),%r9
mov    %r10,%rsi
mov    %rax,%rdx
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
mov    $0x0,%al
call   1060 <printf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    13c5 <test_copy_value+0x265>
jmp    139a <test_copy_value+0x23a>
mov    -0x10(%rbp),%rdi
call   1030 <free@plt>
mov    -0x18(%rbp),%rdi
call   1030 <free@plt>
mov    -0x20(%rbp),%rdi
call   1030 <free@plt>
mov    -0x28(%rbp),%rdi
call   1030 <free@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_copy_value>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
movl   $0x0,0xc(%rsp)
movl   $0x41200000,0x8(%rsp)
41
movabs $0x4059000000000000,%rax
mov    %rax,0x10(%rsp)
lea    0xc(%rsp),%rsi
xor    %edi,%edi
xor    %eax,%eax
call   1050 <copy_value@plt>
movslq %eax,%rbx
mov    (%rbx),%edi
mov    0xc(%rsp),%esi
xor    %eax,%eax
call   1040 <intcmp@plt>
test   %eax,%eax
je     11dd <test_copy_value+0x7d>
lea    0xe7a(%rip),%rdx
lea    0xe6b(%rip),%rsi
lea    0xe41(%rip),%rdi
lea    0xe6c(%rip),%rcx
lea    0xe75(%rip),%r9
mov    $0xbb,%r8d
jmp    12e5 <test_copy_value+0x185>
lea    0x8(%rsp),%rsi
mov    $0x1,%edi
xor    %eax,%eax
call   1050 <copy_value@plt>
movslq %eax,%r14
movss  (%r14),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x8(%rsp),%xmm1
cvtss2sd %xmm1,%xmm1
mov    $0x2,%al
call   1080 <fltcmp@plt>
test   %eax,%eax
je     123d <test_copy_value+0xdd>
lea    0xe1a(%rip),%rdx
lea    0xe0b(%rip),%rsi
lea    0xde1(%rip),%rdi
lea    0xe0c(%rip),%rcx
lea    0xe36(%rip),%r9
mov    $0xbe,%r8d
jmp    12e5 <test_copy_value+0x185>
lea    0x10(%rsp),%rsi
mov    $0x2,%edi
xor    %eax,%eax
call   1050 <copy_value@plt>
movslq %eax,%r15
movsd  (%r15),%xmm0
movsd  0x10(%rsp),%xmm1
mov    $0x2,%al
call   1080 <fltcmp@plt>
test   %eax,%eax
je     1292 <test_copy_value+0x132>
lea    0xdc2(%rip),%rdx
lea    0xdb3(%rip),%rsi
lea    0xd89(%rip),%rdi
lea    0xdb4(%rip),%rcx
lea    0xe03(%rip),%r9
mov    $0xc1,%r8d
jmp    12e5 <test_copy_value+0x185>
lea    0xd67(%rip),%r13
xor    %ebp,%ebp
mov    $0x3,%edi
mov    %r13,%rsi
xor    %eax,%eax
call   1050 <copy_value@plt>
movslq %eax,%r12
mov    %r12,%rdi
mov    %r13,%rsi
call   1070 <strcmp@plt>
test   %eax,%eax
je     1308 <test_copy_value+0x1a8>
lea    0xd6d(%rip),%rdx
lea    0xd5e(%rip),%rsi
lea    0xd34(%rip),%rdi
lea    0xd5f(%rip),%rcx
lea    0xdd4(%rip),%r9
mov    $0xc4,%r8d
xor    %eax,%eax
push   %rdx
push   %rsi
call   1060 <printf@plt>
add    $0x10,%rsp
mov    $0xffffffff,%ebp
mov    %ebp,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    %rbx,%rdi
call   1030 <free@plt>
mov    %r14,%rdi
call   1030 <free@plt>
mov    %r15,%rdi
call   1030 <free@plt>
mov    %r12,%rdi
call   1030 <free@plt>
jmp    12f7 <test_copy_value+0x197>

LLVM IR (-O0):
@.str = [5 x i8] c"test\00"
@.str.1 = [35 x i8] c"%sERROR!%s [%s:%d] %s %sFAILED!%s\0A\00"
@.str.2 = [8 x i8] c"\1B[1;31m\00"
@.str.3 = [7 x i8] c"\1B[1;0m\00"
@__func__.test_copy_value = [16 x i8] c"test_copy_value\00"
@.str.4 = [33 x i8] c"intcmp(*int_ptr, int_value) == 0\00"
@.str.5 = [37 x i8] c"fltcmp(*float_ptr, float_value) == 0\00"
@.str.6 = [38 x i8] c"fltcmp(*double_ptr, doule_value) == 0\00"
@.str.7 = [32 x i8] c"strcmp(str_ptr, str_value) == 0\00"
define i32 @test_copy_value() {
%1 = alloca i32
%2 = alloca i32*
%3 = alloca float*
%4 = alloca double*
%5 = alloca i8*
%6 = alloca i32
%7 = alloca float
%8 = alloca double
%9 = alloca i8*
store i32 0, i32* %6
store float 1.000000e+01, float* %7
store double 1.000000e+02, double* %8
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8** %9
%10 = call i32 (i32, i32*, ...) bitcast (i32 (...)* @copy_value to i32 (i32, i32*, ...)*)(i32 0, i32* %6)
%11 = sext i32 %10 to i64
%12 = inttoptr i64 %11 to i32*
store i32* %12, i32** %2
br label %13
13: ; preds = %0
%14 = load i32*, i32** %2
%15 = load i32, i32* %14
%16 = load i32, i32* %6
%17 = call i32 (i32, i32, ...) bitcast (i32 (...)* @intcmp to i32 (i32, i32, ...)*)(i32 %15, i32 %16)
%18 = icmp eq i32 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %13
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @__func__.test_copy_value, i64 0, i64 0), i32 187, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0))
store i32 -1, i32* %1
br label %71
21: ; preds = %13
br label %22
22: ; preds = %21
%23 = call i32 (i32, float*, ...) bitcast (i32 (...)* @copy_value to i32 (i32, float*, ...)*)(i32 1, float* %7)
%24 = sext i32 %23 to i64
%25 = inttoptr i64 %24 to float*
store float* %25, float** %3
br label %26
26: ; preds = %22
%27 = load float*, float** %3
%28 = load float, float* %27
%29 = fpext float %28 to double
%30 = load float, float* %7
%31 = fpext float %30 to double
%32 = call i32 (double, double, ...) bitcast (i32 (...)* @fltcmp to i32 (double, double, ...)*)(double %29, double %31)
%33 = icmp eq i32 %32, 0
br i1 %33, label %36, label %34
34: ; preds = %26
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @__func__.test_copy_value, i64 0, i64 0), i32 190, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0))
store i32 -1, i32* %1
br label %71
36: ; preds = %26
br label %37
37: ; preds = %36
%38 = call i32 (i32, double*, ...) bitcast (i32 (...)* @copy_value to i32 (i32, double*, ...)*)(i32 2, double* %8)
%39 = sext i32 %38 to i64
%40 = inttoptr i64 %39 to double*
store double* %40, double** %4
br label %41
41: ; preds = %37
%42 = load double*, double** %4
%43 = load double, double* %42
%44 = load double, double* %8
%45 = call i32 (double, double, ...) bitcast (i32 (...)* @fltcmp to i32 (double, double, ...)*)(double %43, double %44)
%46 = icmp eq i32 %45, 0
br i1 %46, label %49, label %47
47: ; preds = %41
%48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @__func__.test_copy_value, i64 0, i64 0), i32 193, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0))
store i32 -1, i32* %1
br label %71
49: ; preds = %41
br label %50
50: ; preds = %49
%51 = load i8*, i8** %9
%52 = call i32 (i32, i8*, ...) bitcast (i32 (...)* @copy_value to i32 (i32, i8*, ...)*)(i32 3, i8* %51)
%53 = sext i32 %52 to i64
%54 = inttoptr i64 %53 to i8*
store i8* %54, i8** %5
br label %55
55: ; preds = %50
%56 = load i8*, i8** %5
%57 = load i8*, i8** %9
%58 = call i32 @strcmp(i8* %56, i8* %57)
%59 = icmp eq i32 %58, 0
br i1 %59, label %62, label %60
60: ; preds = %55
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @__func__.test_copy_value, i64 0, i64 0), i32 196, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0))
store i32 -1, i32* %1
br label %71
62: ; preds = %55
br label %63
63: ; preds = %62
%64 = load i32*, i32** %2
%65 = bitcast i32* %64 to i8*
%66 = load float*, float** %3
%67 = bitcast float* %66 to i8*
%68 = load double*, double** %4
%69 = bitcast double* %68 to i8*
%70 = load i8*, i8** %5
store i32 0, i32* %1
br label %71
71: ; preds = %63, %60, %47, %34, %19
%72 = load i32, i32* %1
ret i32 %72
}

LLVM IR (-O2):
@.str = [5 x i8] c"test\00"
@.str.1 = [35 x i8] c"%sERROR!%s [%s:%d] %s %sFAILED!%s\0A\00"
@.str.2 = [8 x i8] c"\1B[1;31m\00"
@.str.3 = [7 x i8] c"\1B[1;0m\00"
@__func__.test_copy_value = [16 x i8] c"test_copy_value\00"
@.str.4 = [33 x i8] c"intcmp(*int_ptr, int_value) == 0\00"
@.str.5 = [37 x i8] c"fltcmp(*float_ptr, float_value) == 0\00"
@.str.6 = [38 x i8] c"fltcmp(*double_ptr, doule_value) == 0\00"
@.str.7 = [32 x i8] c"strcmp(str_ptr, str_value) == 0\00"
define i32 @test_copy_value() {
%1 = alloca i32
%2 = alloca float
%3 = alloca double
%4 = bitcast i32* %1 to i8*
store i32 0, i32* %1
%5 = bitcast float* %2 to i8*
store float 1.000000e+01, float* %2
%6 = bitcast double* %3 to i8*
store double 1.000000e+02, double* %3
%7 = call i32 (i32, i32*, ...) bitcast (i32 (...)* @copy_value to i32 (i32, i32*, ...)*)(i32 0, i32* %1)
%8 = sext i32 %7 to i64
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9
%11 = load i32, i32* %1
%12 = call i32 (i32, i32, ...) bitcast (i32 (...)* @intcmp to i32 (i32, i32, ...)*)(i32 %10, i32 %11)
%13 = icmp eq i32 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %0
%15 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @__func__.test_copy_value, i64 0, i64 0), i32 187, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0))
br label %50
16: ; preds = %0
%17 = call i32 (i32, float*, ...) bitcast (i32 (...)* @copy_value to i32 (i32, float*, ...)*)(i32 1, float* %2)
%18 = sext i32 %17 to i64
%19 = inttoptr i64 %18 to float*
%20 = load float, float* %19
%21 = fpext float %20 to double
%22 = load float, float* %2
%23 = fpext float %22 to double
%24 = call i32 (double, double, ...) bitcast (i32 (...)* @fltcmp to i32 (double, double, ...)*)(double %21, double %23)
%25 = icmp eq i32 %24, 0
br i1 %25, label %28, label %26
26: ; preds = %16
%27 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @__func__.test_copy_value, i64 0, i64 0), i32 190, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0))
br label %50
28: ; preds = %16
%29 = call i32 (i32, double*, ...) bitcast (i32 (...)* @copy_value to i32 (i32, double*, ...)*)(i32 2, double* %3)
%30 = sext i32 %29 to i64
%31 = inttoptr i64 %30 to double*
%32 = load double, double* %31
%33 = load double, double* %3
%34 = call i32 (double, double, ...) bitcast (i32 (...)* @fltcmp to i32 (double, double, ...)*)(double %32, double %33)
%35 = icmp eq i32 %34, 0
br i1 %35, label %38, label %36
36: ; preds = %28
%37 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @__func__.test_copy_value, i64 0, i64 0), i32 193, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0))
br label %50
38: ; preds = %28
%39 = call i32 (i32, i8*, ...) bitcast (i32 (...)* @copy_value to i32 (i32, i8*, ...)*)(i32 3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%40 = sext i32 %39 to i64
%41 = inttoptr i64 %40 to i8*
%42 = call i32 @strcmp(i8* dereferenceable(1) %41, i8* dereferenceable(5) getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%43 = icmp eq i32 %42, 0
br i1 %43, label %46, label %44
44: ; preds = %38
%45 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @__func__.test_copy_value, i64 0, i64 0), i32 196, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0))
br label %50
46: ; preds = %38
%47 = inttoptr i64 %8 to i8*
%48 = inttoptr i64 %18 to i8*
%49 = inttoptr i64 %30 to i8*
br label %50
50: ; preds = %46, %44, %36, %26, %14
%51 = phi i32 [ 0, %46 ], [ -1, %44 ], [ -1, %36 ], [ -1, %26 ], [ -1, %14 ]
ret i32 %51
}