#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*/ strcpy(char *, char *);
int get_messages(char h[32][32]) {
  strcpy(h[0], "All signals OK");
  strcpy(h[1], "All signals Weak");
  strcpy(h[2], "All signals Dead");
  strcpy(h[3], "All signals without Data");
  strcpy(h[4], "L1 P signal Weak");
  strcpy(h[5], "L1 P signal Dead");
  strcpy(h[6], "L1 P signal without Data");
  strcpy(h[7], "L2 P signal Weak");
  strcpy(h[8], "L2 P signal Dead");
  strcpy(h[9], "L2 P signal without Data");
  strcpy(h[10], "L1 C signal Weak");
  strcpy(h[11], "L1 C signal Dead");
  strcpy(h[12], "L1 C signal without Data");
  strcpy(h[13], "L2 C signal Weak");
  strcpy(h[14], "L2 C signal Dead");
  strcpy(h[15], "L2 C signal without Data");
  strcpy(h[16], "L1 & L2 P signal Weak");
  strcpy(h[17], "L1 & L2 P signal Dead");
  strcpy(h[18], "L1 & L2 P signal without Data");
  strcpy(h[19], "L1 & L2 C signal Weak");
  strcpy(h[20], "L1 & L2 C signal Dead");
  strcpy(h[21], "L1 & L2 C signal without Data");
  strcpy(h[22], "L1 signal Weak");
  strcpy(h[23], "L1 signal Dead");
  strcpy(h[24], "L1 signal without Data");
  strcpy(h[25], "L2 signal Weak");
  strcpy(h[26], "L2 signal Dead");
  strcpy(h[27], "L2 signal without Data");
  strcpy(h[28], "SV is temporarily OUT");
  strcpy(h[29], "SV will be temporarily OUT");
  strcpy(h[30], "???");
  strcpy(h[31], "Several Anomalies");
  return 1;
}


x86 assembly (clang, -O0):
<get_messages>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xed9(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
add    $0x20,%rdi
lea    0xed4(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
add    $0x40,%rdi
lea    0xed1(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
add    $0x60,%rdi
lea    0xece(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
add    $0x80,%rdi
lea    0xed0(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
add    $0xa0,%rdi
lea    0xeca(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
add    $0xc0,%rdi
lea    0xec4(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
add    $0xe0,%rdi
lea    0xf06(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
add    $0x100,%rdi
lea    0xf05(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
add    $0x120,%rdi
lea    0xf04(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
add    $0x140,%rdi
lea    0xe81(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
add    $0x160,%rdi
lea    0xe7b(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
add    $0x180,%rdi
lea    0xe75(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
add    $0x1a0,%rdi
lea    0xec6(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
add    $0x1c0,%rdi
lea    0xec5(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
add    $0x1e0,%rdi
lea    0xec4(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
add    $0x200,%rdi
lea    0xe32(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
add    $0x220,%rdi
lea    0xe31(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
add    $0x240,%rdi
lea    0xe30(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
add    $0x260,%rdi
lea    0xe37(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
add    $0x280,%rdi
lea    0xe36(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
add    $0x2a0,%rdi
lea    0xe35(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
add    $0x2c0,%rdi
lea    0xe3c(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
add    $0x2e0,%rdi
lea    0xe34(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
add    $0x300,%rdi
lea    0xe2c(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
add    $0x320,%rdi
lea    0xe2c(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
add    $0x340,%rdi
lea    0xe24(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
add    $0x360,%rdi
lea    0xe1c(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
add    $0x380,%rdi
lea    0xe1c(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
add    $0x3a0,%rdi
lea    0xe1b(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
add    $0x3c0,%rdi
lea    0xe1f(%rip),%rsi
call   1030 <strcpy@plt>
mov    -0x8(%rbp),%rdi
add    $0x3e0,%rdi
lea    0xe0c(%rip),%rsi
call   1030 <strcpy@plt>
mov    $0x1,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<get_messages>:
push   %rbx
mov    %rdi,%rbx
lea    0xee5(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x20(%rbx),%rdi
lea    0xee4(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x40(%rbx),%rdi
lea    0xee5(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x60(%rbx),%rdi
lea    0xee6(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x80(%rbx),%rdi
lea    0xeec(%rip),%rsi
call   1030 <strcpy@plt>
lea    0xa0(%rbx),%rdi
lea    0xeea(%rip),%rsi
call   1030 <strcpy@plt>
lea    0xc0(%rbx),%rdi
lea    0xee8(%rip),%rsi
call   1030 <strcpy@plt>
lea    0xe0(%rbx),%rdi
lea    0xf2e(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x100(%rbx),%rdi
lea    0xf31(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x120(%rbx),%rdi
lea    0xf34(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x140(%rbx),%rdi
lea    0xeb5(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x160(%rbx),%rdi
lea    0xeb3(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x180(%rbx),%rdi
lea    0xeb1(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x1a0(%rbx),%rdi
lea    0xf06(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x1c0(%rbx),%rdi
lea    0xf09(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x1e0(%rbx),%rdi
lea    0xf0c(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x200(%rbx),%rdi
lea    0xe7e(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x220(%rbx),%rdi
lea    0xe81(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x240(%rbx),%rdi
lea    0xe84(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x260(%rbx),%rdi
lea    0xe8f(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x280(%rbx),%rdi
lea    0xe92(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x2a0(%rbx),%rdi
lea    0xe95(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x2c0(%rbx),%rdi
lea    0xea0(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x2e0(%rbx),%rdi
lea    0xe9c(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x300(%rbx),%rdi
lea    0xe98(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x320(%rbx),%rdi
lea    0xe9c(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x340(%rbx),%rdi
lea    0xe98(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x360(%rbx),%rdi
lea    0xe94(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x380(%rbx),%rdi
lea    0xe98(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x3a0(%rbx),%rdi
lea    0xe9b(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x3c0(%rbx),%rdi
lea    0xea3(%rip),%rsi
call   1030 <strcpy@plt>
add    $0x3e0,%rbx
lea    0xe94(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    $0x1,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [15 x i8] c"All signals OK\00"
@.str.1 = [17 x i8] c"All signals Weak\00"
@.str.2 = [17 x i8] c"All signals Dead\00"
@.str.3 = [25 x i8] c"All signals without Data\00"
@.str.4 = [17 x i8] c"L1 P signal Weak\00"
@.str.5 = [17 x i8] c"L1 P signal Dead\00"
@.str.6 = [25 x i8] c"L1 P signal without Data\00"
@.str.7 = [17 x i8] c"L2 P signal Weak\00"
@.str.8 = [17 x i8] c"L2 P signal Dead\00"
@.str.9 = [25 x i8] c"L2 P signal without Data\00"
@.str.10 = [17 x i8] c"L1 C signal Weak\00"
@.str.11 = [17 x i8] c"L1 C signal Dead\00"
@.str.12 = [25 x i8] c"L1 C signal without Data\00"
@.str.13 = [17 x i8] c"L2 C signal Weak\00"
@.str.14 = [17 x i8] c"L2 C signal Dead\00"
@.str.15 = [25 x i8] c"L2 C signal without Data\00"
@.str.16 = [22 x i8] c"L1 & L2 P signal Weak\00"
@.str.17 = [22 x i8] c"L1 & L2 P signal Dead\00"
@.str.18 = [30 x i8] c"L1 & L2 P signal without Data\00"
@.str.19 = [22 x i8] c"L1 & L2 C signal Weak\00"
@.str.20 = [22 x i8] c"L1 & L2 C signal Dead\00"
@.str.21 = [30 x i8] c"L1 & L2 C signal without Data\00"
@.str.22 = [15 x i8] c"L1 signal Weak\00"
@.str.23 = [15 x i8] c"L1 signal Dead\00"
@.str.24 = [23 x i8] c"L1 signal without Data\00"
@.str.25 = [15 x i8] c"L2 signal Weak\00"
@.str.26 = [15 x i8] c"L2 signal Dead\00"
@.str.27 = [23 x i8] c"L2 signal without Data\00"
@.str.28 = [22 x i8] c"SV is temporarily OUT\00"
@.str.29 = [27 x i8] c"SV will be temporarily OUT\00"
@.str.30 = [4 x i8] c"???\00"
@.str.31 = [18 x i8] c"Several Anomalies\00"
define i32 @get_messages([32 x i8]* %0) {
%2 = alloca [32 x i8]*
store [32 x i8]* %0, [32 x i8]** %2
%3 = load [32 x i8]*, [32 x i8]** %2
%4 = getelementptr inbounds [32 x i8], [32 x i8]* %3, i64 0
%5 = getelementptr inbounds [32 x i8], [32 x i8]* %4, i64 0, i64 0
%6 = call i32 @strcpy(i8* %5, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0))
%7 = load [32 x i8]*, [32 x i8]** %2
%8 = getelementptr inbounds [32 x i8], [32 x i8]* %7, i64 1
%9 = getelementptr inbounds [32 x i8], [32 x i8]* %8, i64 0, i64 0
%10 = call i32 @strcpy(i8* %9, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0))
%11 = load [32 x i8]*, [32 x i8]** %2
%12 = getelementptr inbounds [32 x i8], [32 x i8]* %11, i64 2
%13 = getelementptr inbounds [32 x i8], [32 x i8]* %12, i64 0, i64 0
%14 = call i32 @strcpy(i8* %13, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0))
%15 = load [32 x i8]*, [32 x i8]** %2
%16 = getelementptr inbounds [32 x i8], [32 x i8]* %15, i64 3
%17 = getelementptr inbounds [32 x i8], [32 x i8]* %16, i64 0, i64 0
%18 = call i32 @strcpy(i8* %17, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.3, i64 0, i64 0))
%19 = load [32 x i8]*, [32 x i8]** %2
%20 = getelementptr inbounds [32 x i8], [32 x i8]* %19, i64 4
%21 = getelementptr inbounds [32 x i8], [32 x i8]* %20, i64 0, i64 0
%22 = call i32 @strcpy(i8* %21, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0))
%23 = load [32 x i8]*, [32 x i8]** %2
%24 = getelementptr inbounds [32 x i8], [32 x i8]* %23, i64 5
%25 = getelementptr inbounds [32 x i8], [32 x i8]* %24, i64 0, i64 0
%26 = call i32 @strcpy(i8* %25, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.5, i64 0, i64 0))
%27 = load [32 x i8]*, [32 x i8]** %2
%28 = getelementptr inbounds [32 x i8], [32 x i8]* %27, i64 6
%29 = getelementptr inbounds [32 x i8], [32 x i8]* %28, i64 0, i64 0
%30 = call i32 @strcpy(i8* %29, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0))
%31 = load [32 x i8]*, [32 x i8]** %2
%32 = getelementptr inbounds [32 x i8], [32 x i8]* %31, i64 7
%33 = getelementptr inbounds [32 x i8], [32 x i8]* %32, i64 0, i64 0
%34 = call i32 @strcpy(i8* %33, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.7, i64 0, i64 0))
%35 = load [32 x i8]*, [32 x i8]** %2
%36 = getelementptr inbounds [32 x i8], [32 x i8]* %35, i64 8
%37 = getelementptr inbounds [32 x i8], [32 x i8]* %36, i64 0, i64 0
%38 = call i32 @strcpy(i8* %37, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.8, i64 0, i64 0))
%39 = load [32 x i8]*, [32 x i8]** %2
%40 = getelementptr inbounds [32 x i8], [32 x i8]* %39, i64 9
%41 = getelementptr inbounds [32 x i8], [32 x i8]* %40, i64 0, i64 0
%42 = call i32 @strcpy(i8* %41, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.9, i64 0, i64 0))
%43 = load [32 x i8]*, [32 x i8]** %2
%44 = getelementptr inbounds [32 x i8], [32 x i8]* %43, i64 10
%45 = getelementptr inbounds [32 x i8], [32 x i8]* %44, i64 0, i64 0
%46 = call i32 @strcpy(i8* %45, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.10, i64 0, i64 0))
%47 = load [32 x i8]*, [32 x i8]** %2
%48 = getelementptr inbounds [32 x i8], [32 x i8]* %47, i64 11
%49 = getelementptr inbounds [32 x i8], [32 x i8]* %48, i64 0, i64 0
%50 = call i32 @strcpy(i8* %49, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.11, i64 0, i64 0))
%51 = load [32 x i8]*, [32 x i8]** %2
%52 = getelementptr inbounds [32 x i8], [32 x i8]* %51, i64 12
%53 = getelementptr inbounds [32 x i8], [32 x i8]* %52, i64 0, i64 0
%54 = call i32 @strcpy(i8* %53, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.12, i64 0, i64 0))
%55 = load [32 x i8]*, [32 x i8]** %2
%56 = getelementptr inbounds [32 x i8], [32 x i8]* %55, i64 13
%57 = getelementptr inbounds [32 x i8], [32 x i8]* %56, i64 0, i64 0
%58 = call i32 @strcpy(i8* %57, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.13, i64 0, i64 0))
%59 = load [32 x i8]*, [32 x i8]** %2
%60 = getelementptr inbounds [32 x i8], [32 x i8]* %59, i64 14
%61 = getelementptr inbounds [32 x i8], [32 x i8]* %60, i64 0, i64 0
%62 = call i32 @strcpy(i8* %61, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.14, i64 0, i64 0))
%63 = load [32 x i8]*, [32 x i8]** %2
%64 = getelementptr inbounds [32 x i8], [32 x i8]* %63, i64 15
%65 = getelementptr inbounds [32 x i8], [32 x i8]* %64, i64 0, i64 0
%66 = call i32 @strcpy(i8* %65, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.15, i64 0, i64 0))
%67 = load [32 x i8]*, [32 x i8]** %2
%68 = getelementptr inbounds [32 x i8], [32 x i8]* %67, i64 16
%69 = getelementptr inbounds [32 x i8], [32 x i8]* %68, i64 0, i64 0
%70 = call i32 @strcpy(i8* %69, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.16, i64 0, i64 0))
%71 = load [32 x i8]*, [32 x i8]** %2
%72 = getelementptr inbounds [32 x i8], [32 x i8]* %71, i64 17
%73 = getelementptr inbounds [32 x i8], [32 x i8]* %72, i64 0, i64 0
%74 = call i32 @strcpy(i8* %73, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.17, i64 0, i64 0))
%75 = load [32 x i8]*, [32 x i8]** %2
%76 = getelementptr inbounds [32 x i8], [32 x i8]* %75, i64 18
%77 = getelementptr inbounds [32 x i8], [32 x i8]* %76, i64 0, i64 0
%78 = call i32 @strcpy(i8* %77, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.18, i64 0, i64 0))
%79 = load [32 x i8]*, [32 x i8]** %2
%80 = getelementptr inbounds [32 x i8], [32 x i8]* %79, i64 19
%81 = getelementptr inbounds [32 x i8], [32 x i8]* %80, i64 0, i64 0
%82 = call i32 @strcpy(i8* %81, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.19, i64 0, i64 0))
%83 = load [32 x i8]*, [32 x i8]** %2
%84 = getelementptr inbounds [32 x i8], [32 x i8]* %83, i64 20
%85 = getelementptr inbounds [32 x i8], [32 x i8]* %84, i64 0, i64 0
%86 = call i32 @strcpy(i8* %85, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.20, i64 0, i64 0))
%87 = load [32 x i8]*, [32 x i8]** %2
%88 = getelementptr inbounds [32 x i8], [32 x i8]* %87, i64 21
%89 = getelementptr inbounds [32 x i8], [32 x i8]* %88, i64 0, i64 0
%90 = call i32 @strcpy(i8* %89, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.21, i64 0, i64 0))
%91 = load [32 x i8]*, [32 x i8]** %2
%92 = getelementptr inbounds [32 x i8], [32 x i8]* %91, i64 22
%93 = getelementptr inbounds [32 x i8], [32 x i8]* %92, i64 0, i64 0
%94 = call i32 @strcpy(i8* %93, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.22, i64 0, i64 0))
%95 = load [32 x i8]*, [32 x i8]** %2
%96 = getelementptr inbounds [32 x i8], [32 x i8]* %95, i64 23
%97 = getelementptr inbounds [32 x i8], [32 x i8]* %96, i64 0, i64 0
%98 = call i32 @strcpy(i8* %97, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.23, i64 0, i64 0))
%99 = load [32 x i8]*, [32 x i8]** %2
%100 = getelementptr inbounds [32 x i8], [32 x i8]* %99, i64 24
%101 = getelementptr inbounds [32 x i8], [32 x i8]* %100, i64 0, i64 0
%102 = call i32 @strcpy(i8* %101, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.24, i64 0, i64 0))
%103 = load [32 x i8]*, [32 x i8]** %2
%104 = getelementptr inbounds [32 x i8], [32 x i8]* %103, i64 25
%105 = getelementptr inbounds [32 x i8], [32 x i8]* %104, i64 0, i64 0
%106 = call i32 @strcpy(i8* %105, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.25, i64 0, i64 0))
%107 = load [32 x i8]*, [32 x i8]** %2
%108 = getelementptr inbounds [32 x i8], [32 x i8]* %107, i64 26
%109 = getelementptr inbounds [32 x i8], [32 x i8]* %108, i64 0, i64 0
%110 = call i32 @strcpy(i8* %109, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.26, i64 0, i64 0))
%111 = load [32 x i8]*, [32 x i8]** %2
%112 = getelementptr inbounds [32 x i8], [32 x i8]* %111, i64 27
%113 = getelementptr inbounds [32 x i8], [32 x i8]* %112, i64 0, i64 0
%114 = call i32 @strcpy(i8* %113, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.27, i64 0, i64 0))
%115 = load [32 x i8]*, [32 x i8]** %2
%116 = getelementptr inbounds [32 x i8], [32 x i8]* %115, i64 28
%117 = getelementptr inbounds [32 x i8], [32 x i8]* %116, i64 0, i64 0
%118 = call i32 @strcpy(i8* %117, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.28, i64 0, i64 0))
%119 = load [32 x i8]*, [32 x i8]** %2
%120 = getelementptr inbounds [32 x i8], [32 x i8]* %119, i64 29
%121 = getelementptr inbounds [32 x i8], [32 x i8]* %120, i64 0, i64 0
%122 = call i32 @strcpy(i8* %121, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.29, i64 0, i64 0))
%123 = load [32 x i8]*, [32 x i8]** %2
%124 = getelementptr inbounds [32 x i8], [32 x i8]* %123, i64 30
%125 = getelementptr inbounds [32 x i8], [32 x i8]* %124, i64 0, i64 0
%126 = call i32 @strcpy(i8* %125, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.30, i64 0, i64 0))
%127 = load [32 x i8]*, [32 x i8]** %2
%128 = getelementptr inbounds [32 x i8], [32 x i8]* %127, i64 31
%129 = getelementptr inbounds [32 x i8], [32 x i8]* %128, i64 0, i64 0
%130 = call i32 @strcpy(i8* %129, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.31, i64 0, i64 0))
ret i32 1
}

LLVM IR (-O2):
@.str = [15 x i8] c"All signals OK\00"
@.str.1 = [17 x i8] c"All signals Weak\00"
@.str.2 = [17 x i8] c"All signals Dead\00"
@.str.3 = [25 x i8] c"All signals without Data\00"
@.str.4 = [17 x i8] c"L1 P signal Weak\00"
@.str.5 = [17 x i8] c"L1 P signal Dead\00"
@.str.6 = [25 x i8] c"L1 P signal without Data\00"
@.str.7 = [17 x i8] c"L2 P signal Weak\00"
@.str.8 = [17 x i8] c"L2 P signal Dead\00"
@.str.9 = [25 x i8] c"L2 P signal without Data\00"
@.str.10 = [17 x i8] c"L1 C signal Weak\00"
@.str.11 = [17 x i8] c"L1 C signal Dead\00"
@.str.12 = [25 x i8] c"L1 C signal without Data\00"
@.str.13 = [17 x i8] c"L2 C signal Weak\00"
@.str.14 = [17 x i8] c"L2 C signal Dead\00"
@.str.15 = [25 x i8] c"L2 C signal without Data\00"
@.str.16 = [22 x i8] c"L1 & L2 P signal Weak\00"
@.str.17 = [22 x i8] c"L1 & L2 P signal Dead\00"
@.str.18 = [30 x i8] c"L1 & L2 P signal without Data\00"
@.str.19 = [22 x i8] c"L1 & L2 C signal Weak\00"
@.str.20 = [22 x i8] c"L1 & L2 C signal Dead\00"
@.str.21 = [30 x i8] c"L1 & L2 C signal without Data\00"
@.str.22 = [15 x i8] c"L1 signal Weak\00"
@.str.23 = [15 x i8] c"L1 signal Dead\00"
@.str.24 = [23 x i8] c"L1 signal without Data\00"
@.str.25 = [15 x i8] c"L2 signal Weak\00"
@.str.26 = [15 x i8] c"L2 signal Dead\00"
@.str.27 = [23 x i8] c"L2 signal without Data\00"
@.str.28 = [22 x i8] c"SV is temporarily OUT\00"
@.str.29 = [27 x i8] c"SV will be temporarily OUT\00"
@.str.30 = [4 x i8] c"???\00"
@.str.31 = [18 x i8] c"Several Anomalies\00"
define i32 @get_messages([32 x i8]* %0) {
%2 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 0, i64 0
%3 = tail call i32 @strcpy(i8* %2, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0))
%4 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 1, i64 0
%5 = tail call i32 @strcpy(i8* %4, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0))
%6 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 2, i64 0
%7 = tail call i32 @strcpy(i8* %6, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0))
%8 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 3, i64 0
%9 = tail call i32 @strcpy(i8* %8, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.3, i64 0, i64 0))
%10 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 4, i64 0
%11 = tail call i32 @strcpy(i8* %10, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0))
%12 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 5, i64 0
%13 = tail call i32 @strcpy(i8* %12, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.5, i64 0, i64 0))
%14 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 6, i64 0
%15 = tail call i32 @strcpy(i8* %14, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0))
%16 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 7, i64 0
%17 = tail call i32 @strcpy(i8* %16, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.7, i64 0, i64 0))
%18 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 8, i64 0
%19 = tail call i32 @strcpy(i8* %18, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.8, i64 0, i64 0))
%20 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 9, i64 0
%21 = tail call i32 @strcpy(i8* %20, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.9, i64 0, i64 0))
%22 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 10, i64 0
%23 = tail call i32 @strcpy(i8* %22, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.10, i64 0, i64 0))
%24 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 11, i64 0
%25 = tail call i32 @strcpy(i8* %24, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.11, i64 0, i64 0))
%26 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 12, i64 0
%27 = tail call i32 @strcpy(i8* %26, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.12, i64 0, i64 0))
%28 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 13, i64 0
%29 = tail call i32 @strcpy(i8* %28, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.13, i64 0, i64 0))
%30 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 14, i64 0
%31 = tail call i32 @strcpy(i8* %30, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.14, i64 0, i64 0))
%32 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 15, i64 0
%33 = tail call i32 @strcpy(i8* %32, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.15, i64 0, i64 0))
%34 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 16, i64 0
%35 = tail call i32 @strcpy(i8* %34, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.16, i64 0, i64 0))
%36 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 17, i64 0
%37 = tail call i32 @strcpy(i8* %36, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.17, i64 0, i64 0))
%38 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 18, i64 0
%39 = tail call i32 @strcpy(i8* %38, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.18, i64 0, i64 0))
%40 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 19, i64 0
%41 = tail call i32 @strcpy(i8* %40, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.19, i64 0, i64 0))
%42 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 20, i64 0
%43 = tail call i32 @strcpy(i8* %42, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.20, i64 0, i64 0))
%44 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 21, i64 0
%45 = tail call i32 @strcpy(i8* %44, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.21, i64 0, i64 0))
%46 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 22, i64 0
%47 = tail call i32 @strcpy(i8* %46, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.22, i64 0, i64 0))
%48 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 23, i64 0
%49 = tail call i32 @strcpy(i8* %48, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.23, i64 0, i64 0))
%50 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 24, i64 0
%51 = tail call i32 @strcpy(i8* %50, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.24, i64 0, i64 0))
%52 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 25, i64 0
%53 = tail call i32 @strcpy(i8* %52, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.25, i64 0, i64 0))
%54 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 26, i64 0
%55 = tail call i32 @strcpy(i8* %54, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.26, i64 0, i64 0))
%56 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 27, i64 0
%57 = tail call i32 @strcpy(i8* %56, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.27, i64 0, i64 0))
%58 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 28, i64 0
%59 = tail call i32 @strcpy(i8* %58, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.28, i64 0, i64 0))
%60 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 29, i64 0
%61 = tail call i32 @strcpy(i8* %60, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.29, i64 0, i64 0))
%62 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 30, i64 0
%63 = tail call i32 @strcpy(i8* %62, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.30, i64 0, i64 0))
%64 = getelementptr inbounds [32 x i8], [32 x i8]* %0, i64 31, i64 0
%65 = tail call i32 @strcpy(i8* %64, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.31, i64 0, i64 0))
ret i32 1
}