#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 */
typedef int /*<<< orphan*/ fbuf;
typedef int /*<<< orphan*/ cmd;
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ EXIT_FAILURE;
int atoi(char *);
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ *fgets(char *, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ pclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *popen(char *, char *);
int /*<<< orphan*/ snprintf(char *, int, char *, ...);
int /*<<< orphan*/ stderr;
int system(char *);
void kill_server(char *name) {
  do {
    char fbuf[1024] = {0};
    snprintf(fbuf, sizeof(fbuf), "\033[32m[MSG]\033[0m  %s\n",
             "kill <%s> server...");
    fprintf(stderr, fbuf, name);
  } while (0);
  FILE *f = NULL;
  int processid = 0;
  char cmd[128] = {0};
  snprintf(cmd, sizeof(cmd), "cat logs/%s.pid", name);
  if ((f = popen(cmd, "r")) == NULL)
    do {
      char fbuf[1024] = {0};
      snprintf(fbuf, sizeof(fbuf), "\033[31m[ERR]\033[0m  %s\n",
               "not found logs/%s.pid file,stop fail.");
      fprintf(stderr, fbuf, name);
      exit(EXIT_FAILURE);
    } while (0);
  if (fgets(cmd, sizeof(cmd), f) == NULL) {
    pclose(f);
    do {
      char fbuf[1024] = {0};
      snprintf(fbuf, sizeof(fbuf), "\033[31m[ERR]\033[0m  %s\n",
               "get pid error,stop fail.");
      fprintf(stderr, fbuf);
      exit(EXIT_FAILURE);
    } while (0);
  } else
    processid = atoi(cmd);
  snprintf(cmd, sizeof(cmd), "kill -1 %d", processid);
  if (system(cmd) == -1)
    do {
      char fbuf[1024] = {0};
      snprintf(fbuf, sizeof(fbuf), "\033[31m[ERR]\033[0m  %s\n",
               "kill %s fail");
      fprintf(stderr, fbuf, name);
      exit(EXIT_FAILURE);
    } while (0);
  do {
    char fbuf[1024] = {0};
    snprintf(fbuf, sizeof(fbuf), "\033[32m[MSG]\033[0m  %s\n", "kill <%s> ok");
    fprintf(stderr, fbuf, name);
  } while (0);
}


x86 assembly (clang, -O0):
<kill_server>:
push   %rbp
mov    %rsp,%rbp
sub    $0x14a0,%rsp
mov    %rdi,-0x8(%rbp)
lea    -0x410(%rbp),%rdi
xor    %esi,%esi
mov    $0x400,%edx
call   1060 <memset@plt>
lea    -0x410(%rbp),%rdi
mov    $0x400,%esi
lea    0xe3b(%rip),%rdx
lea    0xe48(%rip),%rcx
mov    $0x0,%al
call   1050 <snprintf@plt>
mov    0x2e06(%rip),%rax
mov    (%rax),%edi
lea    -0x410(%rbp),%rsi
mov    -0x8(%rbp),%rdx
mov    $0x0,%al
call   1080 <fprintf@plt>
movq   $0x0,-0x418(%rbp)
movl   $0x0,-0x41c(%rbp)
lea    -0x4a0(%rbp),%rdi
xor    %esi,%esi
mov    $0x80,%edx
call   1060 <memset@plt>
lea    -0x4a0(%rbp),%rdi
mov    -0x8(%rbp),%rcx
mov    $0x80,%esi
lea    0xdfb(%rip),%rdx
mov    $0x0,%al
call   1050 <snprintf@plt>
lea    -0x4a0(%rbp),%rdi
lea    0xdf6(%rip),%rsi
call   1090 <popen@plt>
mov    %rax,-0x418(%rbp)
cmp    $0x0,%rax
jne    12ba <kill_server+0x12a>
jmp    125d <kill_server+0xcd>
lea    -0x8a0(%rbp),%rdi
xor    %esi,%esi
mov    $0x400,%edx
call   1060 <memset@plt>
lea    -0x8a0(%rbp),%rdi
mov    $0x400,%esi
lea    0xdb7(%rip),%rdx
lea    0xdc4(%rip),%rcx
mov    $0x0,%al
call   1050 <snprintf@plt>
mov    0x2d48(%rip),%rax
mov    (%rax),%edi
lea    -0x8a0(%rbp),%rsi
mov    -0x8(%rbp),%rdx
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    0x2d25(%rip),%rax
mov    (%rax),%edi
call   10b0 <exit@plt>
lea    -0x4a0(%rbp),%rdi
mov    -0x418(%rbp),%rdx
mov    $0x80,%esi
call   1070 <fgets@plt>
cmp    $0x0,%rax
jne    1341 <kill_server+0x1b1>
mov    -0x418(%rbp),%rdi
call   1040 <pclose@plt>
lea    -0xca0(%rbp),%rdi
xor    %esi,%esi
mov    $0x400,%edx
call   1060 <memset@plt>
lea    -0xca0(%rbp),%rdi
mov    $0x400,%esi
lea    0xd2c(%rip),%rdx
lea    0xd5f(%rip),%rcx
mov    $0x0,%al
call   1050 <snprintf@plt>
mov    0x2cbd(%rip),%rax
mov    (%rax),%edi
lea    -0xca0(%rbp),%rsi
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    0x2c9e(%rip),%rax
mov    (%rax),%edi
call   10b0 <exit@plt>
lea    -0x4a0(%rbp),%rdi
call   10a0 <atoi@plt>
mov    %eax,-0x41c(%rbp)
lea    -0x4a0(%rbp),%rdi
mov    -0x41c(%rbp),%ecx
mov    $0x80,%esi
lea    0xd21(%rip),%rdx
mov    $0x0,%al
call   1050 <snprintf@plt>
lea    -0x4a0(%rbp),%rdi
call   1030 <system@plt>
cmp    $0xffffffff,%eax
jne    13ea <kill_server+0x25a>
jmp    138d <kill_server+0x1fd>
lea    -0x10a0(%rbp),%rdi
xor    %esi,%esi
mov    $0x400,%edx
call   1060 <memset@plt>
lea    -0x10a0(%rbp),%rdi
mov    $0x400,%esi
lea    0xc87(%rip),%rdx
lea    0xcde(%rip),%rcx
mov    $0x0,%al
call   1050 <snprintf@plt>
mov    0x2c18(%rip),%rax
mov    (%rax),%edi
lea    -0x10a0(%rbp),%rsi
mov    -0x8(%rbp),%rdx
mov    $0x0,%al
call   1080 <fprintf@plt>
mov    0x2bf5(%rip),%rax
mov    (%rax),%edi
call   10b0 <exit@plt>
jmp    13ef <kill_server+0x25f>
lea    -0x14a0(%rbp),%rdi
xor    %esi,%esi
mov    $0x400,%edx
call   1060 <memset@plt>
lea    -0x14a0(%rbp),%rdi
mov    $0x400,%esi
lea    0xbeb(%rip),%rdx
lea    0xc89(%rip),%rcx
mov    $0x0,%al
call   1050 <snprintf@plt>
mov    0x2bb6(%rip),%rax
mov    (%rax),%edi
lea    -0x14a0(%rbp),%rsi
mov    -0x8(%rbp),%rdx
mov    $0x0,%al
call   1080 <fprintf@plt>
add    $0x14a0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<kill_server>:
push   %r15
push   %r14
push   %rbx
sub    $0x480,%rsp
mov    %rdi,%r14
lea    0x80(%rsp),%rbx
mov    $0x400,%edx
mov    %rbx,%rdi
xor    %esi,%esi
call   1060 <memset@plt>
lea    0xe43(%rip),%rdx
lea    0xe50(%rip),%rcx
mov    %rbx,%rdi
mov    $0x400,%esi
xor    %eax,%eax
call   1050 <snprintf@plt>
mov    0x2e06(%rip),%r15
mov    (%r15),%edi
mov    %rbx,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1080 <fprintf@plt>
xorps  %xmm0,%xmm0
movaps %xmm0,0x70(%rsp)
movaps %xmm0,0x60(%rsp)
movaps %xmm0,0x50(%rsp)
movaps %xmm0,0x40(%rsp)
movaps %xmm0,0x30(%rsp)
movaps %xmm0,0x20(%rsp)
movaps %xmm0,0x10(%rsp)
movaps %xmm0,(%rsp)
lea    0xe0d(%rip),%rdx
mov    %rsp,%rbx
mov    %rbx,%rdi
mov    $0x80,%esi
mov    %r14,%rcx
xor    %eax,%eax
call   1050 <snprintf@plt>
lea    0xe01(%rip),%rsi
mov    %rbx,%rdi
call   1090 <popen@plt>
test   %rax,%rax
je     12e9 <kill_server+0x159>
mov    %rax,%rbx
mov    %rsp,%rdi
mov    $0x80,%esi
mov    %rax,%rdx
call   1070 <fgets@plt>
test   %rax,%rax
je     1310 <kill_server+0x180>
mov    %rsp,%rbx
mov    %rbx,%rdi
call   10a0 <atoi@plt>
lea    0xe17(%rip),%rdx
mov    %rbx,%rdi
mov    $0x80,%esi
mov    %eax,%ecx
xor    %eax,%eax
call   1050 <snprintf@plt>
mov    %rbx,%rdi
call   1030 <system@plt>
lea    0x80(%rsp),%rbx
mov    $0x400,%edx
mov    %rbx,%rdi
xor    %esi,%esi
cmp    $0xffffffff,%eax
je     135b <kill_server+0x1cb>
call   1060 <memset@plt>
lea    0xd4a(%rip),%rdx
lea    0xde8(%rip),%rcx
mov    %rbx,%rdi
mov    $0x400,%esi
xor    %eax,%eax
call   1050 <snprintf@plt>
mov    (%r15),%edi
mov    %rbx,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1080 <fprintf@plt>
add    $0x480,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret
lea    0x80(%rsp),%rbx
mov    $0x400,%edx
mov    %rbx,%rdi
xor    %esi,%esi
call   1060 <memset@plt>
lea    0xd33(%rip),%rdx
lea    0xd40(%rip),%rcx
jmp    136e <kill_server+0x1de>
mov    %rbx,%rdi
call   1040 <pclose@plt>
lea    0x80(%rsp),%rbx
mov    $0x400,%edx
mov    %rbx,%rdi
xor    %esi,%esi
call   1060 <memset@plt>
lea    0xd04(%rip),%rdx
lea    0xd37(%rip),%rcx
mov    %rbx,%rdi
mov    $0x400,%esi
xor    %eax,%eax
call   1050 <snprintf@plt>
mov    (%r15),%edi
mov    %rbx,%rsi
xor    %eax,%eax
call   1080 <fprintf@plt>
jmp    138d <kill_server+0x1fd>
call   1060 <memset@plt>
lea    0xcd3(%rip),%rdx
lea    0xd2a(%rip),%rcx
mov    %rbx,%rdi
mov    $0x400,%esi
xor    %eax,%eax
call   1050 <snprintf@plt>
mov    (%r15),%edi
mov    %rbx,%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   1080 <fprintf@plt>
mov    0x2c44(%rip),%rax
mov    (%rax),%edi
call   10b0 <exit@plt>

LLVM IR (-O0):
@.str = [20 x i8] c"\1B[32m[MSG]\1B[0m %s\0A\00"
@.str.1 = [20 x i8] c"kill <%s> server...\00"
@stderr = global i32 0
@.str.2 = [16 x i8] c"cat logs/%s.pid\00"
@.str.3 = [2 x i8] c"r\00"
@.str.4 = [20 x i8] c"\1B[31m[ERR]\1B[0m %s\0A\00"
@.str.5 = [38 x i8] c"not found logs/%s.pid file,stop fail.\00"
@EXIT_FAILURE = global i32 0
@.str.6 = [25 x i8] c"get pid error,stop fail.\00"
@.str.7 = [11 x i8] c"kill -1 %d\00"
@.str.8 = [13 x i8] c"kill %s fail\00"
@.str.9 = [13 x i8] c"kill <%s> ok\00"
define void @kill_server(i8* %0) {
%2 = alloca i8*
%3 = alloca [1024 x i8]
%4 = alloca i32*
%5 = alloca i32
%6 = alloca [128 x i8]
%7 = alloca [1024 x i8]
%8 = alloca [1024 x i8]
%9 = alloca [1024 x i8]
%10 = alloca [1024 x i8]
store i8* %0, i8** %2
br label %11
11: ; preds = %1
%12 = bitcast [1024 x i8]* %3 to i8*
%13 = getelementptr inbounds [1024 x i8], [1024 x i8]* %3, i64 0, i64 0
%14 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %13, i32 1024, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0))
%15 = load i32, i32* @stderr
%16 = getelementptr inbounds [1024 x i8], [1024 x i8]* %3, i64 0, i64 0
%17 = load i8*, i8** %2
%18 = call i32 (i32, i8*, ...) @fprintf(i32 %15, i8* %16, i8* %17)
br label %19
19: ; preds = %11
store i32* null, i32** %4
store i32 0, i32* %5
%20 = bitcast [128 x i8]* %6 to i8*
%21 = getelementptr inbounds [128 x i8], [128 x i8]* %6, i64 0, i64 0
%22 = load i8*, i8** %2
%23 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %21, i32 128, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i64 0, i64 0), i8* %22)
%24 = getelementptr inbounds [128 x i8], [128 x i8]* %6, i64 0, i64 0
%25 = call i32* @popen(i8* %24, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
store i32* %25, i32** %4
%26 = icmp eq i32* %25, null
br i1 %26, label %27, label %39
27: ; preds = %19
br label %28
28: ; preds = %27
%29 = bitcast [1024 x i8]* %7 to i8*
%30 = getelementptr inbounds [1024 x i8], [1024 x i8]* %7, i64 0, i64 0
%31 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %30, i32 1024, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.5, i64 0, i64 0))
%32 = load i32, i32* @stderr
%33 = getelementptr inbounds [1024 x i8], [1024 x i8]* %7, i64 0, i64 0
%34 = load i8*, i8** %2
%35 = call i32 (i32, i8*, ...) @fprintf(i32 %32, i8* %33, i8* %34)
%36 = load i32, i32* @EXIT_FAILURE
%37 = call i32 @exit(i32 %36)
unreachable
38: ; No predecessors!
br label %39
39: ; preds = %38, %19
%40 = getelementptr inbounds [128 x i8], [128 x i8]* %6, i64 0, i64 0
%41 = load i32*, i32** %4
%42 = call i32* @fgets(i8* %40, i32 128, i32* %41)
%43 = icmp eq i32* %42, null
br i1 %43, label %44, label %57
44: ; preds = %39
%45 = load i32*, i32** %4
%46 = call i32 @pclose(i32* %45)
br label %47
47: ; preds = %44
%48 = bitcast [1024 x i8]* %8 to i8*
%49 = getelementptr inbounds [1024 x i8], [1024 x i8]* %8, i64 0, i64 0
%50 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %49, i32 1024, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0))
%51 = load i32, i32* @stderr
%52 = getelementptr inbounds [1024 x i8], [1024 x i8]* %8, i64 0, i64 0
%53 = call i32 (i32, i8*, ...) @fprintf(i32 %51, i8* %52)
%54 = load i32, i32* @EXIT_FAILURE
%55 = call i32 @exit(i32 %54)
unreachable
56: ; No predecessors!
br label %60
57: ; preds = %39
%58 = getelementptr inbounds [128 x i8], [128 x i8]* %6, i64 0, i64 0
%59 = call i32 @atoi(i8* %58)
store i32 %59, i32* %5
br label %60
60: ; preds = %57, %56
%61 = getelementptr inbounds [128 x i8], [128 x i8]* %6, i64 0, i64 0
%62 = load i32, i32* %5
%63 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %61, i32 128, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), i32 %62)
%64 = getelementptr inbounds [128 x i8], [128 x i8]* %6, i64 0, i64 0
%65 = call i32 @system(i8* %64)
%66 = icmp eq i32 %65, -1
br i1 %66, label %67, label %79
67: ; preds = %60
br label %68
68: ; preds = %67
%69 = bitcast [1024 x i8]* %9 to i8*
%70 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%71 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %70, i32 1024, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i64 0, i64 0))
%72 = load i32, i32* @stderr
%73 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%74 = load i8*, i8** %2
%75 = call i32 (i32, i8*, ...) @fprintf(i32 %72, i8* %73, i8* %74)
%76 = load i32, i32* @EXIT_FAILURE
%77 = call i32 @exit(i32 %76)
unreachable
78: ; No predecessors!
br label %79
79: ; preds = %78, %60
br label %80
80: ; preds = %79
%81 = bitcast [1024 x i8]* %10 to i8*
%82 = getelementptr inbounds [1024 x i8], [1024 x i8]* %10, i64 0, i64 0
%83 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %82, i32 1024, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.9, i64 0, i64 0))
%84 = load i32, i32* @stderr
%85 = getelementptr inbounds [1024 x i8], [1024 x i8]* %10, i64 0, i64 0
%86 = load i8*, i8** %2
%87 = call i32 (i32, i8*, ...) @fprintf(i32 %84, i8* %85, i8* %86)
br label %88
88: ; preds = %80
ret void
}

LLVM IR (-O2):
@.str = [20 x i8] c"\1B[32m[MSG]\1B[0m %s\0A\00"
@.str.1 = [20 x i8] c"kill <%s> server...\00"
@stderr = global i32 0
@.str.2 = [16 x i8] c"cat logs/%s.pid\00"
@.str.3 = [2 x i8] c"r\00"
@.str.4 = [20 x i8] c"\1B[31m[ERR]\1B[0m %s\0A\00"
@.str.5 = [38 x i8] c"not found logs/%s.pid file,stop fail.\00"
@EXIT_FAILURE = global i32 0
@.str.6 = [25 x i8] c"get pid error,stop fail.\00"
@.str.7 = [11 x i8] c"kill -1 %d\00"
@.str.8 = [13 x i8] c"kill %s fail\00"
@.str.9 = [13 x i8] c"kill <%s> ok\00"
define void @kill_server(i8* %0) {
%2 = alloca [1024 x i8]
%3 = alloca [128 x i8]
%4 = alloca [1024 x i8]
%5 = alloca [1024 x i8]
%6 = alloca [1024 x i8]
%7 = alloca [1024 x i8]
%8 = getelementptr inbounds [1024 x i8], [1024 x i8]* %2, i64 0, i64 0
%9 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %8, i32 1024, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0))
%10 = load i32, i32* @stderr
%11 = call i32 (i32, i8*, ...) @fprintf(i32 %10, i8* %8, i8* %0)
%12 = getelementptr inbounds [128 x i8], [128 x i8]* %3, i64 0, i64 0
%13 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %12, i32 128, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i64 0, i64 0), i8* %0)
%14 = call i32* @popen(i8* %12, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%15 = icmp eq i32* %14, null
br i1 %15, label %16, label %23
16: ; preds = %1
%17 = getelementptr inbounds [1024 x i8], [1024 x i8]* %4, i64 0, i64 0
%18 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %17, i32 1024, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.5, i64 0, i64 0))
%19 = load i32, i32* @stderr
%20 = call i32 (i32, i8*, ...) @fprintf(i32 %19, i8* %17, i8* %0)
%21 = load i32, i32* @EXIT_FAILURE
%22 = call i32 @exit(i32 %21)
unreachable
23: ; preds = %1
%24 = call i32* @fgets(i8* %12, i32 128, i32* %14)
%25 = icmp eq i32* %24, null
br i1 %25, label %26, label %34
26: ; preds = %23
%27 = call i32 @pclose(i32* %14)
%28 = getelementptr inbounds [1024 x i8], [1024 x i8]* %5, i64 0, i64 0
%29 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %28, i32 1024, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0))
%30 = load i32, i32* @stderr
%31 = call i32 (i32, i8*, ...) @fprintf(i32 %30, i8* %28)
%32 = load i32, i32* @EXIT_FAILURE
%33 = call i32 @exit(i32 %32)
unreachable
34: ; preds = %23
%35 = call i32 @atoi(i8* %12)
%36 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %12, i32 128, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), i32 %35)
%37 = call i32 @system(i8* %12)
%38 = icmp eq i32 %37, -1
br i1 %38, label %39, label %46
39: ; preds = %34
%40 = getelementptr inbounds [1024 x i8], [1024 x i8]* %6, i64 0, i64 0
%41 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %40, i32 1024, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i64 0, i64 0))
%42 = load i32, i32* @stderr
%43 = call i32 (i32, i8*, ...) @fprintf(i32 %42, i8* %40, i8* %0)
%44 = load i32, i32* @EXIT_FAILURE
%45 = call i32 @exit(i32 %44)
unreachable
46: ; preds = %34
%47 = getelementptr inbounds [1024 x i8], [1024 x i8]* %7, i64 0, i64 0
%48 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %47, i32 1024, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.9, i64 0, i64 0))
%49 = load i32, i32* @stderr
%50 = call i32 (i32, i8*, ...) @fprintf(i32 %49, i8* %47, i8* %0)
ret void
}