#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*/ va_list;
struct termios {
  int c_lflag;
};

/* Variables and functions */
int ECHO;
int ICANON;
int /*<<< orphan*/ STDIN_FILENO;
int /*<<< orphan*/ TCSANOW;
int /*<<< orphan*/ die_errno(char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ free(char *);
scalar_t__ getline(char **, size_t *, int /*<<< orphan*/);
scalar_t__ isatty(int /*<<< orphan*/);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ stdin;
char *strrchr(char *, char);
scalar_t__ tcgetattr(int /*<<< orphan*/, struct termios *);
scalar_t__ tcsetattr(int /*<<< orphan*/, int /*<<< orphan*/, struct termios *);
int /*<<< orphan*/ terminal_fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ vfprintf(int /*<<< orphan*/, char const *,
                            int /*<<< orphan*/);
char *password_prompt_fallback(const char *prompt, const char *error,
                               const char *descfmt, va_list params) {
  struct termios old_termios, mask_echo;
  char *password = NULL, *lastlf;
  size_t len = 0;
  terminal_fprintf(stderr, "\x1b[33m"
                           "\x1b[1m");
  vfprintf(stderr, descfmt, params);
  terminal_fprintf(stderr, "\x1b[0m"
                           "\n\n");
  if (error)
    terminal_fprintf(stderr,
                     "\x1b[31m"
                     "\x1b[1m"
                     "%s"
                     "\x1b[0m"
                     "\n",
                     error);
  terminal_fprintf(stderr,
                   "\x1b[1m"
                   "%s"
                   "\x1b[0m"
                   ": ",
                   prompt);
  if (isatty(STDIN_FILENO)) {
    if (tcgetattr(STDIN_FILENO, &old_termios) < 0)
      die_errno("tcgetattr");
    mask_echo = old_termios;
    mask_echo.c_lflag &= ~(ICANON | ECHO);
    if (tcsetattr(STDIN_FILENO, TCSANOW, &mask_echo) < 0)
      die_errno("tcsetattr");
  }
  if (getline(&password, &len, stdin) < 0) {
    free(password);
    password = NULL;
    goto out;
  }
  fprintf(stderr, "\n");
  lastlf = strrchr(password, '\n');
  if (lastlf)
    *lastlf = '\0';
out:
  if (isatty(STDIN_FILENO)) {
    if (tcsetattr(STDIN_FILENO, TCSANOW, &old_termios) < 0)
      die_errno("tcsetattr");
  }
  terminal_fprintf(stderr,
                   "%s"
                   "\x1b[0J",
                   error ? "\x1b["
                           "4"
                           "A"
                         : "\x1b["
                           "3"
                           "A");
  return password;
}


x86 assembly (clang, -O0):
<password_prompt_fallback>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %ecx,-0x1c(%rbp)
movq   $0x0,-0x30(%rbp)
movq   $0x0,-0x40(%rbp)
mov    0x2dfa(%rip),%rax
mov    (%rax),%edi
lea    0xe29(%rip),%rsi
mov    $0x0,%al
call   10c0 <terminal_fprintf@plt>
mov    0x2de3(%rip),%rax
mov    (%rax),%edi
mov    -0x18(%rbp),%rsi
mov    -0x1c(%rbp),%edx
call   10a0 <vfprintf@plt>
mov    0x2dce(%rip),%rax
mov    (%rax),%edi
lea    0xe07(%rip),%rsi
mov    $0x0,%al
call   10c0 <terminal_fprintf@plt>
cmpq   $0x0,-0x10(%rbp)
je     1230 <password_prompt_fallback+0x90>
mov    0x2dac(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rdx
lea    0xde8(%rip),%rsi
mov    $0x0,%al
call   10c0 <terminal_fprintf@plt>
mov    0x2d91(%rip),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rdx
lea    0xdde(%rip),%rsi
mov    $0x0,%al
call   10c0 <terminal_fprintf@plt>
mov    0x2d6e(%rip),%rax
mov    (%rax),%edi
call   1040 <isatty@plt>
cmp    $0x0,%rax
je     12e2 <password_prompt_fallback+0x142>
mov    0x2d56(%rip),%rax
mov    (%rax),%edi
lea    -0x20(%rbp),%rsi
call   1080 <tcgetattr@plt>
cmp    $0x0,%rax
jge    128b <password_prompt_fallback+0xeb>
lea    0xda9(%rip),%rdi
call   1070 <die_errno@plt>
mov    -0x20(%rbp),%eax
mov    %eax,-0x28(%rbp)
mov    0x2d20(%rip),%rax
mov    (%rax),%eax
mov    0x2d37(%rip),%rcx
or     (%rcx),%eax
xor    $0xffffffff,%eax
and    -0x28(%rbp),%eax
mov    %eax,-0x28(%rbp)
mov    0x2d0d(%rip),%rax
mov    (%rax),%edi
mov    0x2d24(%rip),%rax
mov    (%rax),%esi
lea    -0x28(%rbp),%rdx
call   1090 <tcsetattr@plt>
cmp    $0x0,%rax
jge    12dd <password_prompt_fallback+0x13d>
lea    0xd61(%rip),%rdi
call   1070 <die_errno@plt>
jmp    12e2 <password_prompt_fallback+0x142>
mov    0x2cff(%rip),%rax
mov    (%rax),%edx
lea    -0x30(%rbp),%rdi
lea    -0x40(%rbp),%rsi
call   10b0 <getline@plt>
cmp    $0x0,%rax
jge    1318 <password_prompt_fallback+0x178>
mov    -0x30(%rbp),%rdi
call   1030 <free@plt>
movq   $0x0,-0x30(%rbp)
jmp    1356 <password_prompt_fallback+0x1b6>
mov    0x2ca9(%rip),%rax
mov    (%rax),%edi
lea    0xce7(%rip),%rsi
call   1060 <fprintf@plt>
mov    -0x30(%rbp),%rdi
mov    $0xa,%esi
call   1050 <strrchr@plt>
mov    %rax,-0x38(%rbp)
cmpq   $0x0,-0x38(%rbp)
je     1351 <password_prompt_fallback+0x1b1>
mov    -0x38(%rbp),%rax
movb   $0x0,(%rax)
jmp    1356 <password_prompt_fallback+0x1b6>
mov    0x2c63(%rip),%rax
mov    (%rax),%edi
call   1040 <isatty@plt>
cmp    $0x0,%rax
je     13a4 <password_prompt_fallback+0x204>
mov    0x2c4b(%rip),%rax
mov    (%rax),%edi
mov    0x2c62(%rip),%rax
mov    (%rax),%esi
lea    -0x20(%rbp),%rdx
call   1090 <tcsetattr@plt>
cmp    $0x0,%rax
jge    139f <password_prompt_fallback+0x1ff>
lea    0xc9f(%rip),%rdi
call   1070 <die_errno@plt>
jmp    13a4 <password_prompt_fallback+0x204>
mov    0x2c1d(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rcx
lea    0xc97(%rip),%rdx
lea    0xc8b(%rip),%rax
cmp    $0x0,%rcx
cmovne %rax,%rdx
lea    0xc75(%rip),%rsi
mov    $0x0,%al
call   10c0 <terminal_fprintf@plt>
mov    -0x30(%rbp),%rax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<password_prompt_fallback>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x20,%rsp
mov    %ecx,%ebp
mov    %rdx,%rbx
mov    %rsi,%r14
mov    %rdi,%r15
movq   $0x0,(%rsp)
movq   $0x0,0x18(%rsp)
mov    0x2df9(%rip),%r12
mov    (%r12),%edi
lea    0xe26(%rip),%rsi
xor    %eax,%eax
call   10c0 <terminal_fprintf@plt>
mov    (%r12),%edi
mov    %rbx,%rsi
mov    %ebp,%edx
call   10a0 <vfprintf@plt>
mov    (%r12),%edi
lea    0xe10(%rip),%rsi
xor    %eax,%eax
call   10c0 <terminal_fprintf@plt>
test   %r14,%r14
je     121b <password_prompt_fallback+0x7b>
mov    (%r12),%edi
lea    0xe00(%rip),%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   10c0 <terminal_fprintf@plt>
mov    (%r12),%edi
lea    0xdfc(%rip),%rsi
mov    %r15,%rdx
xor    %eax,%eax
call   10c0 <terminal_fprintf@plt>
mov    0x2d89(%rip),%rbx
mov    (%rbx),%edi
call   1040 <isatty@plt>
test   %rax,%rax
je     12a2 <password_prompt_fallback+0x102>
mov    (%rbx),%edi
lea    0x8(%rsp),%rsi
call   1080 <tcgetattr@plt>
test   %rax,%rax
jns    1260 <password_prompt_fallback+0xc0>
lea    0xdd4(%rip),%rdi
call   1070 <die_errno@plt>
mov    0x2d51(%rip),%rax
mov    0x2d6a(%rip),%rcx
mov    (%rcx),%ecx
or     (%rax),%ecx
not    %ecx
and    0x8(%rsp),%ecx
mov    %ecx,0x10(%rsp)
mov    (%rbx),%edi
mov    0x2d5b(%rip),%rax
mov    (%rax),%esi
lea    0x10(%rsp),%rdx
call   1090 <tcsetattr@plt>
test   %rax,%rax
jns    12a2 <password_prompt_fallback+0x102>
lea    0xd9c(%rip),%rdi
call   1070 <die_errno@plt>
mov    0x2d3f(%rip),%rax
mov    (%rax),%edx
mov    %rsp,%rdi
lea    0x18(%rsp),%rsi
call   10b0 <getline@plt>
test   %rax,%rax
js     12e5 <password_prompt_fallback+0x145>
mov    (%r12),%edi
lea    0xd47(%rip),%rsi
call   1060 <fprintf@plt>
mov    (%rsp),%rdi
mov    $0xa,%esi
call   1050 <strrchr@plt>
test   %rax,%rax
je     12f6 <password_prompt_fallback+0x156>
movb   $0x0,(%rax)
jmp    12f6 <password_prompt_fallback+0x156>
mov    (%rsp),%rdi
call   1030 <free@plt>
movq   $0x0,(%rsp)
mov    (%rbx),%edi
call   1040 <isatty@plt>
test   %rax,%rax
je     1328 <password_prompt_fallback+0x188>
mov    (%rbx),%edi
mov    0x2cd5(%rip),%rax
mov    (%rax),%esi
lea    0x8(%rsp),%rdx
call   1090 <tcsetattr@plt>
test   %rax,%rax
jns    1328 <password_prompt_fallback+0x188>
lea    0xd16(%rip),%rdi
call   1070 <die_errno@plt>
test   %r14,%r14
mov    (%r12),%edi
lea    0xd19(%rip),%rax
lea    0xd0d(%rip),%rdx
cmove  %rax,%rdx
lea    0xcfb(%rip),%rsi
xor    %eax,%eax
call   10c0 <terminal_fprintf@plt>
mov    (%rsp),%rax
add    $0x20,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
%struct.termios = type { i32 }
@stderr = global i32 0
@.str = [10 x i8] c"\1B[33m\1B[1m\00"
@.str.1 = [7 x i8] c"\1B[0m\0A\0A\00"
@.str.2 = [17 x i8] c"\1B[31m\1B[1m%s\1B[0m\0A\00"
@.str.3 = [13 x i8] c"\1B[1m%s\1B[0m: \00"
@STDIN_FILENO = global i32 0
@.str.4 = [10 x i8] c"tcgetattr\00"
@ICANON = global i32 0
@ECHO = global i32 0
@TCSANOW = global i32 0
@.str.5 = [10 x i8] c"tcsetattr\00"
@stdin = global i32 0
@.str.6 = [2 x i8] c"\0A\00"
@.str.7 = [7 x i8] c"%s\1B[0J\00"
@.str.8 = [5 x i8] c"\1B[4A\00"
@.str.9 = [5 x i8] c"\1B[3A\00"
define i8* @password_prompt_fallback(i8* %0, i8* %1, i8* %2, i32 %3) {
%5 = alloca i8*
%6 = alloca i8*
%7 = alloca i8*
%8 = alloca i32
%9 = alloca %struct.termios
%10 = alloca %struct.termios
%11 = alloca i8*
%12 = alloca i8*
%13 = alloca i64
store i8* %0, i8** %5
store i8* %1, i8** %6
store i8* %2, i8** %7
store i32 %3, i32* %8
store i8* null, i8** %11
store i64 0, i64* %13
%14 = load i32, i32* @stderr
%15 = call i32 (i32, i8*, ...) @terminal_fprintf(i32 %14, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
%16 = load i32, i32* @stderr
%17 = load i8*, i8** %7
%18 = load i32, i32* %8
%19 = call i32 @vfprintf(i32 %16, i8* %17, i32 %18)
%20 = load i32, i32* @stderr
%21 = call i32 (i32, i8*, ...) @terminal_fprintf(i32 %20, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%22 = load i8*, i8** %6
%23 = icmp ne i8* %22, null
br i1 %23, label %24, label %28
24: ; preds = %4
%25 = load i32, i32* @stderr
%26 = load i8*, i8** %6
%27 = call i32 (i32, i8*, ...) @terminal_fprintf(i32 %25, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i8* %26)
br label %28
28: ; preds = %24, %4
%29 = load i32, i32* @stderr
%30 = load i8*, i8** %5
%31 = call i32 (i32, i8*, ...) @terminal_fprintf(i32 %29, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0), i8* %30)
%32 = load i32, i32* @STDIN_FILENO
%33 = call i64 @isatty(i32 %32)
%34 = icmp ne i64 %33, 0
br i1 %34, label %35, label %58
35: ; preds = %28
%36 = load i32, i32* @STDIN_FILENO
%37 = call i64 @tcgetattr(i32 %36, %struct.termios* %9)
%38 = icmp slt i64 %37, 0
br i1 %38, label %39, label %41
39: ; preds = %35
%40 = call i32 @die_errno(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0))
br label %41
41: ; preds = %39, %35
%42 = bitcast %struct.termios* %10 to i8*
%43 = bitcast %struct.termios* %9 to i8*
%44 = load i32, i32* @ICANON
%45 = load i32, i32* @ECHO
%46 = or i32 %44, %45
%47 = xor i32 %46, -1
%48 = getelementptr inbounds %struct.termios, %struct.termios* %10, i32 0, i32 0
%49 = load i32, i32* %48
%50 = and i32 %49, %47
store i32 %50, i32* %48
%51 = load i32, i32* @STDIN_FILENO
%52 = load i32, i32* @TCSANOW
%53 = call i64 @tcsetattr(i32 %51, i32 %52, %struct.termios* %10)
%54 = icmp slt i64 %53, 0
br i1 %54, label %55, label %57
55: ; preds = %41
%56 = call i32 @die_errno(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
br label %57
57: ; preds = %55, %41
br label %58
58: ; preds = %57, %28
%59 = load i32, i32* @stdin
%60 = call i64 @getline(i8** %11, i64* %13, i32 %59)
%61 = icmp slt i64 %60, 0
br i1 %61, label %62, label %65
62: ; preds = %58
%63 = load i8*, i8** %11
%64 = call i32 @free(i8* %63)
store i8* null, i8** %11
br label %75
65: ; preds = %58
%66 = load i32, i32* @stderr
%67 = call i32 @fprintf(i32 %66, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
%68 = load i8*, i8** %11
%69 = call i8* @strrchr(i8* %68, i8 signext 10)
store i8* %69, i8** %12
%70 = load i8*, i8** %12
%71 = icmp ne i8* %70, null
br i1 %71, label %72, label %74
72: ; preds = %65
%73 = load i8*, i8** %12
store i8 0, i8* %73
br label %74
74: ; preds = %72, %65
br label %75
75: ; preds = %74, %62
%76 = load i32, i32* @STDIN_FILENO
%77 = call i64 @isatty(i32 %76)
%78 = icmp ne i64 %77, 0
br i1 %78, label %79, label %87
79: ; preds = %75
%80 = load i32, i32* @STDIN_FILENO
%81 = load i32, i32* @TCSANOW
%82 = call i64 @tcsetattr(i32 %80, i32 %81, %struct.termios* %9)
%83 = icmp slt i64 %82, 0
br i1 %83, label %84, label %86
84: ; preds = %79
%85 = call i32 @die_errno(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
br label %86
86: ; preds = %84, %79
br label %87
87: ; preds = %86, %75
%88 = load i32, i32* @stderr
%89 = load i8*, i8** %6
%90 = icmp ne i8* %89, null
%91 = zext i1 %90 to i64
%92 = select i1 %90, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0)
%93 = call i32 (i32, i8*, ...) @terminal_fprintf(i32 %88, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0), i8* %92)
%94 = load i8*, i8** %11
ret i8* %94
}

LLVM IR (-O2):
%struct.termios = type { i32 }
@stderr = global i32 0
@.str = [10 x i8] c"\1B[33m\1B[1m\00"
@.str.1 = [7 x i8] c"\1B[0m\0A\0A\00"
@.str.2 = [17 x i8] c"\1B[31m\1B[1m%s\1B[0m\0A\00"
@.str.3 = [13 x i8] c"\1B[1m%s\1B[0m: \00"
@STDIN_FILENO = global i32 0
@.str.4 = [10 x i8] c"tcgetattr\00"
@ICANON = global i32 0
@ECHO = global i32 0
@TCSANOW = global i32 0
@.str.5 = [10 x i8] c"tcsetattr\00"
@stdin = global i32 0
@.str.6 = [2 x i8] c"\0A\00"
@.str.7 = [7 x i8] c"%s\1B[0J\00"
@.str.8 = [5 x i8] c"\1B[4A\00"
@.str.9 = [5 x i8] c"\1B[3A\00"
define i8* @password_prompt_fallback(i8* %0, i8* %1, i8* %2, i32 %3) {
%5 = alloca %struct.termios
%6 = alloca %struct.termios
%7 = alloca i8*
%8 = alloca i64
%9 = bitcast %struct.termios* %5 to i8*
%10 = bitcast %struct.termios* %6 to i8*
%11 = bitcast i8** %7 to i8*
store i8* null, i8** %7
%12 = bitcast i64* %8 to i8*
store i64 0, i64* %8
%13 = load i32, i32* @stderr
%14 = tail call i32 (i32, i8*, ...) @terminal_fprintf(i32 %13, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
%15 = load i32, i32* @stderr
%16 = tail call i32 @vfprintf(i32 %15, i8* %2, i32 %3)
%17 = load i32, i32* @stderr
%18 = tail call i32 (i32, i8*, ...) @terminal_fprintf(i32 %17, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%19 = icmp eq i8* %1, null
br i1 %19, label %23, label %20
20: ; preds = %4
%21 = load i32, i32* @stderr
%22 = tail call i32 (i32, i8*, ...) @terminal_fprintf(i32 %21, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i8* %1)
br label %23
23: ; preds = %20, %4
%24 = load i32, i32* @stderr
%25 = tail call i32 (i32, i8*, ...) @terminal_fprintf(i32 %24, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0), i8* %0)
%26 = load i32, i32* @STDIN_FILENO
%27 = tail call i64 @isatty(i32 %26)
%28 = icmp eq i64 %27, 0
br i1 %28, label %50, label %29
29: ; preds = %23
%30 = load i32, i32* @STDIN_FILENO
%31 = call i64 @tcgetattr(i32 %30, %struct.termios* %5)
%32 = icmp slt i64 %31, 0
br i1 %32, label %33, label %35
33: ; preds = %29
%34 = call i32 @die_errno(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0))
br label %35
35: ; preds = %33, %29
%36 = getelementptr inbounds %struct.termios, %struct.termios* %5, i64 0, i32 0
%37 = getelementptr inbounds %struct.termios, %struct.termios* %6, i64 0, i32 0
%38 = load i32, i32* %36
%39 = load i32, i32* @ICANON
%40 = load i32, i32* @ECHO
%41 = or i32 %40, %39
%42 = xor i32 %41, -1
%43 = and i32 %38, %42
store i32 %43, i32* %37
%44 = load i32, i32* @STDIN_FILENO
%45 = load i32, i32* @TCSANOW
%46 = call i64 @tcsetattr(i32 %44, i32 %45, %struct.termios* %6)
%47 = icmp slt i64 %46, 0
br i1 %47, label %48, label %50
48: ; preds = %35
%49 = call i32 @die_errno(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
br label %50
50: ; preds = %35, %48, %23
%51 = load i32, i32* @stdin
%52 = call i64 @getline(i8** %7, i64* %8, i32 %51)
%53 = icmp slt i64 %52, 0
br i1 %53, label %54, label %57
54: ; preds = %50
%55 = load i8*, i8** %7
%56 = call i32 @free(i8* %55)
store i8* null, i8** %7
br label %64
57: ; preds = %50
%58 = load i32, i32* @stderr
%59 = call i32 @fprintf(i32 %58, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
%60 = load i8*, i8** %7
%61 = call i8* @strrchr(i8* dereferenceable(1) %60, i8 signext 10)
%62 = icmp eq i8* %61, null
br i1 %62, label %64, label %63
63: ; preds = %57
store i8 0, i8* %61
br label %64
64: ; preds = %57, %63, %54
%65 = load i32, i32* @STDIN_FILENO
%66 = call i64 @isatty(i32 %65)
%67 = icmp eq i64 %66, 0
br i1 %67, label %75, label %68
68: ; preds = %64
%69 = load i32, i32* @STDIN_FILENO
%70 = load i32, i32* @TCSANOW
%71 = call i64 @tcsetattr(i32 %69, i32 %70, %struct.termios* %5)
%72 = icmp slt i64 %71, 0
br i1 %72, label %73, label %75
73: ; preds = %68
%74 = call i32 @die_errno(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
br label %75
75: ; preds = %68, %73, %64
%76 = load i32, i32* @stderr
%77 = select i1 %19, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0)
%78 = call i32 (i32, i8*, ...) @terminal_fprintf(i32 %76, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0), i8* %77)
%79 = load i8*, i8** %7
ret i8* %79
}