#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*/ LC_ALL;
int /*<<< orphan*/ bindtextdomain(char *, char *);
char *dgettext(char *, char *);
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ setlocale(int /*<<< orphan*/, char *);
int /*<<< orphan*/ textdomain(char *);
int main(int argc, char *argv[]) {
  setlocale(LC_ALL, "");
  bindtextdomain("GMCA", "/usr/lib/fm/dict");
  textdomain("GMCA");
  printf(dgettext("GMCA", "ereport.cpu.intel.l0cache\n"));
  printf(dgettext("GMCA", "GMCA-CACHE-01.class\n"));
  setlocale(LC_ALL, "");
  bindtextdomain("DISK", "/usr/lib/fm/dict");
  textdomain("DISK");
  printf(dgettext("DISK", "ereport.io.scsi.disk.predictive-failure\n"));
  printf(dgettext("DISK", "DISK-SCSI-01.class\n"));
  setlocale(LC_ALL, "");
  bindtextdomain("IPMI", "/usr/lib/fm/dict");
  textdomain("IPMI");
  printf(dgettext("IPMI", "ereport.ipmi.cpu.temp-warn\n"));
  printf(dgettext("IPMI", "IPMI-CPU-01.class\n"));
  setlocale(LC_ALL, "");
  bindtextdomain("MPIO", "/usr/lib/fm/dict");
  textdomain("MPIO");
  printf(dgettext("MPIO", "ereport.io.mpio.failpath\n"));
  printf(dgettext("MPIO", "MPIO-DM-01.class\n"));
  setlocale(LC_ALL, "");
  bindtextdomain("NETWORK", "/usr/lib/fm/dict");
  textdomain("NETWORK");
  printf(dgettext("NETWORK", "ereport.io.network.init-pcidev-fail\n"));
  printf(dgettext("NETWORK", "NETWORK-NIC-01.class\n"));
  setlocale(LC_ALL, "");
  bindtextdomain("PCIE", "/usr/lib/fm/dict");
  textdomain("PCIE");
  printf(dgettext("PCIE", "ereport.io.pcie.\n"));
  printf(dgettext("PCIE", "PCIE-AER-01.class\n"));
  setlocale(LC_ALL, "");
  bindtextdomain("SERVICE", "/usr/lib/fm/dict");
  textdomain("SERVICE");
  printf(dgettext("SERVICE",
                  "ereport.service.network.apache.http.network-unreachable\n"));
  printf(dgettext("SERVICE", "SERVICE-APACHE-01.class\n"));
  setlocale(LC_ALL, "");
  bindtextdomain("TOPO", "/usr/lib/fm/dict");
  textdomain("TOPO");
  printf(dgettext("TOPO", "ereport.topo.cpu.hotadd\n"));
  printf(dgettext("TOPO", "TOPO-CPU-01.class\n"));
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    0x2e73(%rip),%rax
mov    (%rax),%edi
lea    0xfd0(%rip),%rsi
call   1070 <setlocale@plt>
lea    0xe7e(%rip),%rdi
lea    0xe7c(%rip),%rsi
call   1040 <bindtextdomain@plt>
lea    0xe6b(%rip),%rdi
call   1030 <textdomain@plt>
lea    0xe5f(%rip),%rdi
lea    0xe6e(%rip),%rsi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0xe44(%rip),%rdi
lea    0xe6e(%rip),%rsi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
mov    0x2e09(%rip),%rax
mov    (%rax),%edi
lea    0xf66(%rip),%rsi
call   1070 <setlocale@plt>
lea    0xe5a(%rip),%rdi
lea    0xe12(%rip),%rsi
call   1040 <bindtextdomain@plt>
lea    0xe47(%rip),%rdi
call   1030 <textdomain@plt>
lea    0xe3b(%rip),%rdi
lea    0xe39(%rip),%rsi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0xe20(%rip),%rdi
lea    0xe47(%rip),%rsi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
mov    0x2d9f(%rip),%rax
mov    (%rax),%edi
lea    0xefc(%rip),%rsi
call   1070 <setlocale@plt>
lea    0xe32(%rip),%rdi
lea    0xda8(%rip),%rsi
call   1040 <bindtextdomain@plt>
lea    0xe1f(%rip),%rdi
call   1030 <textdomain@plt>
lea    0xe13(%rip),%rdi
lea    0xe11(%rip),%rsi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0xdf8(%rip),%rdi
lea    0xe12(%rip),%rsi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
mov    0x2d35(%rip),%rax
mov    (%rax),%edi
lea    0xe92(%rip),%rsi
call   1070 <setlocale@plt>
lea    0xdfc(%rip),%rdi
lea    0xd3e(%rip),%rsi
call   1040 <bindtextdomain@plt>
lea    0xde9(%rip),%rdi
call   1030 <textdomain@plt>
lea    0xddd(%rip),%rdi
lea    0xddb(%rip),%rsi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0xdc2(%rip),%rdi
lea    0xdda(%rip),%rsi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
mov    0x2ccb(%rip),%rax
mov    (%rax),%edi
lea    0xe28(%rip),%rsi
call   1070 <setlocale@plt>
lea    0xdc3(%rip),%rdi
lea    0xcd4(%rip),%rsi
call   1040 <bindtextdomain@plt>
lea    0xdb0(%rip),%rdi
call   1030 <textdomain@plt>
lea    0xda4(%rip),%rdi
lea    0xda5(%rip),%rsi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0xd89(%rip),%rdi
lea    0xdaf(%rip),%rsi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
mov    0x2c61(%rip),%rax
mov    (%rax),%edi
lea    0xdbe(%rip),%rsi
call   1070 <setlocale@plt>
lea    0xd9c(%rip),%rdi
lea    0xc6a(%rip),%rsi
call   1040 <bindtextdomain@plt>
lea    0xd89(%rip),%rdi
call   1030 <textdomain@plt>
lea    0xd7d(%rip),%rdi
lea    0xd7b(%rip),%rsi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0xd62(%rip),%rdi
lea    0xd72(%rip),%rsi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
mov    0x2bf7(%rip),%rax
mov    (%rax),%edi
lea    0xd54(%rip),%rsi
call   1070 <setlocale@plt>
lea    0xd5c(%rip),%rdi
lea    0xc00(%rip),%rsi
call   1040 <bindtextdomain@plt>
lea    0xd49(%rip),%rdi
call   1030 <textdomain@plt>
lea    0xd3d(%rip),%rdi
lea    0xd3e(%rip),%rsi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0xd22(%rip),%rdi
lea    0xd5c(%rip),%rsi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
mov    0x2b8d(%rip),%rax
mov    (%rax),%edi
lea    0xcea(%rip),%rsi
call   1070 <setlocale@plt>
lea    0xd4c(%rip),%rdi
lea    0xb96(%rip),%rsi
call   1040 <bindtextdomain@plt>
lea    0xd39(%rip),%rdi
call   1030 <textdomain@plt>
lea    0xd2d(%rip),%rdi
lea    0xd2b(%rip),%rsi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0xd12(%rip),%rdi
lea    0xd29(%rip),%rsi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
mov    0x2e81(%rip),%r12
mov    (%r12),%edi
lea    0xfdc(%rip),%r14
mov    %r14,%rsi
call   1070 <setlocale@plt>
lea    0xe87(%rip),%rbx
lea    0xe85(%rip),%r15
mov    %rbx,%rdi
mov    %r15,%rsi
call   1040 <bindtextdomain@plt>
mov    %rbx,%rdi
call   1030 <textdomain@plt>
lea    0xe7c(%rip),%rsi
mov    %rbx,%rdi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0xe80(%rip),%rsi
mov    %rbx,%rdi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
mov    (%r12),%edi
mov    %r14,%rsi
call   1070 <setlocale@plt>
lea    0xe72(%rip),%rbx
mov    %rbx,%rdi
mov    %r15,%rsi
call   1040 <bindtextdomain@plt>
mov    %rbx,%rdi
call   1030 <textdomain@plt>
lea    0xe5d(%rip),%rsi
mov    %rbx,%rdi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0xe6f(%rip),%rsi
mov    %rbx,%rdi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
mov    (%r12),%edi
mov    %r14,%rsi
call   1070 <setlocale@plt>
lea    0xe60(%rip),%rbx
mov    %rbx,%rdi
mov    %r15,%rsi
call   1040 <bindtextdomain@plt>
mov    %rbx,%rdi
call   1030 <textdomain@plt>
lea    0xe4b(%rip),%rsi
mov    %rbx,%rdi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0xe50(%rip),%rsi
mov    %rbx,%rdi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
mov    (%r12),%edi
mov    %r14,%rsi
call   1070 <setlocale@plt>
lea    0xe40(%rip),%rbx
mov    %rbx,%rdi
mov    %r15,%rsi
call   1040 <bindtextdomain@plt>
mov    %rbx,%rdi
call   1030 <textdomain@plt>
lea    0xe2b(%rip),%rsi
mov    %rbx,%rdi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0xe2e(%rip),%rsi
mov    %rbx,%rdi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
mov    (%r12),%edi
mov    %r14,%rsi
call   1070 <setlocale@plt>
lea    0xe1d(%rip),%rbx
mov    %rbx,%rdi
mov    %r15,%rsi
call   1040 <bindtextdomain@plt>
mov    %rbx,%rdi
call   1030 <textdomain@plt>
lea    0xe0b(%rip),%rsi
mov    %rbx,%rdi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0xe19(%rip),%rsi
mov    %rbx,%rdi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
mov    (%r12),%edi
mov    %r14,%rsi
call   1070 <setlocale@plt>
lea    0xe0c(%rip),%rbx
mov    %rbx,%rdi
mov    %r15,%rsi
call   1040 <bindtextdomain@plt>
mov    %rbx,%rdi
call   1030 <textdomain@plt>
lea    0xdf7(%rip),%rsi
mov    %rbx,%rdi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0xdf2(%rip),%rsi
mov    %rbx,%rdi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
mov    (%r12),%edi
mov    %r14,%rsi
call   1070 <setlocale@plt>
lea    0xde2(%rip),%rbx
mov    %rbx,%rdi
mov    %r15,%rsi
call   1040 <bindtextdomain@plt>
mov    %rbx,%rdi
call   1030 <textdomain@plt>
lea    0xdd0(%rip),%rsi
mov    %rbx,%rdi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0xdf2(%rip),%rsi
mov    %rbx,%rdi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
mov    (%r12),%edi
mov    %r14,%rsi
call   1070 <setlocale@plt>
lea    0xde8(%rip),%rbx
mov    %rbx,%rdi
mov    %r15,%rsi
call   1040 <bindtextdomain@plt>
mov    %rbx,%rdi
call   1030 <textdomain@plt>
lea    0xdd3(%rip),%rsi
mov    %rbx,%rdi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
lea    0xdd5(%rip),%rsi
mov    %rbx,%rdi
call   1060 <dgettext@plt>
mov    %rax,%rdi
call   1050 <printf@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@LC_ALL = global i32 0
@.str = [1 x i8] zeroinitializer
@.str.1 = [5 x i8] c"GMCA\00"
@.str.2 = [17 x i8] c"/usr/lib/fm/dict\00"
@.str.3 = [27 x i8] c"ereport.cpu.intel.l0cache\0A\00"
@.str.4 = [21 x i8] c"GMCA-CACHE-01.class\0A\00"
@.str.5 = [5 x i8] c"DISK\00"
@.str.6 = [41 x i8] c"ereport.io.scsi.disk.predictive-failure\0A\00"
@.str.7 = [20 x i8] c"DISK-SCSI-01.class\0A\00"
@.str.8 = [5 x i8] c"IPMI\00"
@.str.9 = [28 x i8] c"ereport.ipmi.cpu.temp-warn\0A\00"
@.str.10 = [19 x i8] c"IPMI-CPU-01.class\0A\00"
@.str.11 = [5 x i8] c"MPIO\00"
@.str.12 = [26 x i8] c"ereport.io.mpio.failpath\0A\00"
@.str.13 = [18 x i8] c"MPIO-DM-01.class\0A\00"
@.str.14 = [8 x i8] c"NETWORK\00"
@.str.15 = [37 x i8] c"ereport.io.network.init-pcidev-fail\0A\00"
@.str.16 = [22 x i8] c"NETWORK-NIC-01.class\0A\00"
@.str.17 = [5 x i8] c"PCIE\00"
@.str.18 = [18 x i8] c"ereport.io.pcie.\0A\00"
@.str.19 = [19 x i8] c"PCIE-AER-01.class\0A\00"
@.str.20 = [8 x i8] c"SERVICE\00"
@.str.21 = [57 x i8] c"ereport.service.network.apache.http.network-unreachable\0A\00"
@.str.22 = [25 x i8] c"SERVICE-APACHE-01.class\0A\00"
@.str.23 = [5 x i8] c"TOPO\00"
@.str.24 = [25 x i8] c"ereport.topo.cpu.hotadd\0A\00"
@.str.25 = [19 x i8] c"TOPO-CPU-01.class\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%6 = load i32, i32* @LC_ALL
%7 = call i32 @setlocale(i32 %6, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%8 = call i32 @bindtextdomain(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0))
%9 = call i32 @textdomain(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%10 = call i8* @dgettext(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0))
%11 = call i32 @printf(i8* %10)
%12 = call i8* @dgettext(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.4, i64 0, i64 0))
%13 = call i32 @printf(i8* %12)
%14 = load i32, i32* @LC_ALL
%15 = call i32 @setlocale(i32 %14, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%16 = call i32 @bindtextdomain(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0))
%17 = call i32 @textdomain(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%18 = call i8* @dgettext(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.6, i64 0, i64 0))
%19 = call i32 @printf(i8* %18)
%20 = call i8* @dgettext(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.7, i64 0, i64 0))
%21 = call i32 @printf(i8* %20)
%22 = load i32, i32* @LC_ALL
%23 = call i32 @setlocale(i32 %22, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%24 = call i32 @bindtextdomain(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0))
%25 = call i32 @textdomain(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
%26 = call i8* @dgettext(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.9, i64 0, i64 0))
%27 = call i32 @printf(i8* %26)
%28 = call i8* @dgettext(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.10, i64 0, i64 0))
%29 = call i32 @printf(i8* %28)
%30 = load i32, i32* @LC_ALL
%31 = call i32 @setlocale(i32 %30, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%32 = call i32 @bindtextdomain(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0))
%33 = call i32 @textdomain(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0))
%34 = call i8* @dgettext(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.12, i64 0, i64 0))
%35 = call i32 @printf(i8* %34)
%36 = call i8* @dgettext(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.13, i64 0, i64 0))
%37 = call i32 @printf(i8* %36)
%38 = load i32, i32* @LC_ALL
%39 = call i32 @setlocale(i32 %38, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%40 = call i32 @bindtextdomain(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0))
%41 = call i32 @textdomain(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i64 0, i64 0))
%42 = call i8* @dgettext(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.15, i64 0, i64 0))
%43 = call i32 @printf(i8* %42)
%44 = call i8* @dgettext(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.16, i64 0, i64 0))
%45 = call i32 @printf(i8* %44)
%46 = load i32, i32* @LC_ALL
%47 = call i32 @setlocale(i32 %46, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%48 = call i32 @bindtextdomain(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0))
%49 = call i32 @textdomain(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.17, i64 0, i64 0))
%50 = call i8* @dgettext(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.18, i64 0, i64 0))
%51 = call i32 @printf(i8* %50)
%52 = call i8* @dgettext(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.19, i64 0, i64 0))
%53 = call i32 @printf(i8* %52)
%54 = load i32, i32* @LC_ALL
%55 = call i32 @setlocale(i32 %54, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%56 = call i32 @bindtextdomain(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.20, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0))
%57 = call i32 @textdomain(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.20, i64 0, i64 0))
%58 = call i8* @dgettext(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.20, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.21, i64 0, i64 0))
%59 = call i32 @printf(i8* %58)
%60 = call i8* @dgettext(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.20, i64 0, i64 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.22, i64 0, i64 0))
%61 = call i32 @printf(i8* %60)
%62 = load i32, i32* @LC_ALL
%63 = call i32 @setlocale(i32 %62, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%64 = call i32 @bindtextdomain(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.23, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0))
%65 = call i32 @textdomain(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.23, i64 0, i64 0))
%66 = call i8* @dgettext(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.23, i64 0, i64 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.24, i64 0, i64 0))
%67 = call i32 @printf(i8* %66)
%68 = call i8* @dgettext(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.23, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.25, i64 0, i64 0))
%69 = call i32 @printf(i8* %68)
ret i32 0
}

LLVM IR (-O2):
@LC_ALL = global i32 0
@.str = [1 x i8] zeroinitializer
@.str.1 = [5 x i8] c"GMCA\00"
@.str.2 = [17 x i8] c"/usr/lib/fm/dict\00"
@.str.3 = [27 x i8] c"ereport.cpu.intel.l0cache\0A\00"
@.str.4 = [21 x i8] c"GMCA-CACHE-01.class\0A\00"
@.str.5 = [5 x i8] c"DISK\00"
@.str.6 = [41 x i8] c"ereport.io.scsi.disk.predictive-failure\0A\00"
@.str.7 = [20 x i8] c"DISK-SCSI-01.class\0A\00"
@.str.8 = [5 x i8] c"IPMI\00"
@.str.9 = [28 x i8] c"ereport.ipmi.cpu.temp-warn\0A\00"
@.str.10 = [19 x i8] c"IPMI-CPU-01.class\0A\00"
@.str.11 = [5 x i8] c"MPIO\00"
@.str.12 = [26 x i8] c"ereport.io.mpio.failpath\0A\00"
@.str.13 = [18 x i8] c"MPIO-DM-01.class\0A\00"
@.str.14 = [8 x i8] c"NETWORK\00"
@.str.15 = [37 x i8] c"ereport.io.network.init-pcidev-fail\0A\00"
@.str.16 = [22 x i8] c"NETWORK-NIC-01.class\0A\00"
@.str.17 = [5 x i8] c"PCIE\00"
@.str.18 = [18 x i8] c"ereport.io.pcie.\0A\00"
@.str.19 = [19 x i8] c"PCIE-AER-01.class\0A\00"
@.str.20 = [8 x i8] c"SERVICE\00"
@.str.21 = [57 x i8] c"ereport.service.network.apache.http.network-unreachable\0A\00"
@.str.22 = [25 x i8] c"SERVICE-APACHE-01.class\0A\00"
@.str.23 = [5 x i8] c"TOPO\00"
@.str.24 = [25 x i8] c"ereport.topo.cpu.hotadd\0A\00"
@.str.25 = [19 x i8] c"TOPO-CPU-01.class\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = load i32, i32* @LC_ALL
%4 = tail call i32 @setlocale(i32 %3, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%5 = tail call i32 @bindtextdomain(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0))
%6 = tail call i32 @textdomain(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%7 = tail call i8* @dgettext(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0))
%8 = tail call i32 @printf(i8* dereferenceable(1) %7)
%9 = tail call i8* @dgettext(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.4, i64 0, i64 0))
%10 = tail call i32 @printf(i8* dereferenceable(1) %9)
%11 = load i32, i32* @LC_ALL
%12 = tail call i32 @setlocale(i32 %11, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%13 = tail call i32 @bindtextdomain(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0))
%14 = tail call i32 @textdomain(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%15 = tail call i8* @dgettext(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.6, i64 0, i64 0))
%16 = tail call i32 @printf(i8* dereferenceable(1) %15)
%17 = tail call i8* @dgettext(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.7, i64 0, i64 0))
%18 = tail call i32 @printf(i8* dereferenceable(1) %17)
%19 = load i32, i32* @LC_ALL
%20 = tail call i32 @setlocale(i32 %19, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%21 = tail call i32 @bindtextdomain(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0))
%22 = tail call i32 @textdomain(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
%23 = tail call i8* @dgettext(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.9, i64 0, i64 0))
%24 = tail call i32 @printf(i8* dereferenceable(1) %23)
%25 = tail call i8* @dgettext(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.10, i64 0, i64 0))
%26 = tail call i32 @printf(i8* dereferenceable(1) %25)
%27 = load i32, i32* @LC_ALL
%28 = tail call i32 @setlocale(i32 %27, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%29 = tail call i32 @bindtextdomain(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0))
%30 = tail call i32 @textdomain(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0))
%31 = tail call i8* @dgettext(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.12, i64 0, i64 0))
%32 = tail call i32 @printf(i8* dereferenceable(1) %31)
%33 = tail call i8* @dgettext(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.13, i64 0, i64 0))
%34 = tail call i32 @printf(i8* dereferenceable(1) %33)
%35 = load i32, i32* @LC_ALL
%36 = tail call i32 @setlocale(i32 %35, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%37 = tail call i32 @bindtextdomain(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0))
%38 = tail call i32 @textdomain(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i64 0, i64 0))
%39 = tail call i8* @dgettext(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.15, i64 0, i64 0))
%40 = tail call i32 @printf(i8* dereferenceable(1) %39)
%41 = tail call i8* @dgettext(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.16, i64 0, i64 0))
%42 = tail call i32 @printf(i8* dereferenceable(1) %41)
%43 = load i32, i32* @LC_ALL
%44 = tail call i32 @setlocale(i32 %43, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%45 = tail call i32 @bindtextdomain(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0))
%46 = tail call i32 @textdomain(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.17, i64 0, i64 0))
%47 = tail call i8* @dgettext(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.18, i64 0, i64 0))
%48 = tail call i32 @printf(i8* dereferenceable(1) %47)
%49 = tail call i8* @dgettext(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.19, i64 0, i64 0))
%50 = tail call i32 @printf(i8* dereferenceable(1) %49)
%51 = load i32, i32* @LC_ALL
%52 = tail call i32 @setlocale(i32 %51, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%53 = tail call i32 @bindtextdomain(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.20, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0))
%54 = tail call i32 @textdomain(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.20, i64 0, i64 0))
%55 = tail call i8* @dgettext(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.20, i64 0, i64 0), i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.21, i64 0, i64 0))
%56 = tail call i32 @printf(i8* dereferenceable(1) %55)
%57 = tail call i8* @dgettext(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.20, i64 0, i64 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.22, i64 0, i64 0))
%58 = tail call i32 @printf(i8* dereferenceable(1) %57)
%59 = load i32, i32* @LC_ALL
%60 = tail call i32 @setlocale(i32 %59, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%61 = tail call i32 @bindtextdomain(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.23, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0))
%62 = tail call i32 @textdomain(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.23, i64 0, i64 0))
%63 = tail call i8* @dgettext(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.23, i64 0, i64 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.24, i64 0, i64 0))
%64 = tail call i32 @printf(i8* dereferenceable(1) %63)
%65 = tail call i8* @dgettext(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.23, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.25, i64 0, i64 0))
%66 = tail call i32 @printf(i8* dereferenceable(1) %65)
ret i32 0
}