#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*/ fgets(char *, int, int /*<<< orphan*/);
char getchar();
scalar_t__ lib_mysql_connect(char *, int, char *, char *, char *);
int /*<<< orphan*/ lib_mysql_deluser(char *);
int /*<<< orphan*/ lib_mysql_insuser(char *, char *);
int /*<<< orphan*/ lib_mysql_searchuser(char *);
int /*<<< orphan*/ lib_mysql_showuser();
int /*<<< orphan*/ memset(char *, int /*<<< orphan*/, int);
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ scanf(char *, char *);
int /*<<< orphan*/ stdin;
int main(int argc, char *argv[]) {
  int ret = 0;
  char function;
  int loop = 1;
  char userbuff[50];
  char passbuff[50];
  char bufftmp[50];
  if (lib_mysql_connect("127.0.0.1", 3306, "root", "", "test") != 0) {
    printf("Connect to server failed..\n");
    return -1;
  }
  while (loop) {
    memset(userbuff, 0, 50);
    memset(passbuff, 0, 50);
    printf("-------------------------------------------------------------------"
           "\n");
    printf("-------------------------------------------------------------------"
           "\n");
    printf("---Please select function.--\n");
    printf("i:Insert user..\n");
    printf("s:Search user..\n");
    printf("d:Delete user..\n");
    printf("a:Show all user..\n");
    printf("q:Quit..\n");
    printf("-------------------------------------------------------------------"
           "\n");
    printf("-------------------------------------------------------------------"
           "\n");
    function = getchar();
    fgets(bufftmp, 50, stdin);
    switch (function) {
    case 'i':
      printf("Please input user:");
      scanf("%s", userbuff);
      printf("Please input password:");
      scanf("%s", passbuff);
      lib_mysql_insuser(userbuff, passbuff);
      break;
    case 's':
      printf("Please input user:");
      scanf("%s", userbuff);
      lib_mysql_searchuser(userbuff);
      break;
    case 'd':
      printf("Please input user:");
      scanf("%s", userbuff);
      lib_mysql_deluser(userbuff);
      break;
    case 'a':
      lib_mysql_showuser();
      break;
    case 'q':
      loop = 0;
      break;
    default:
      break;
    }
    fgets(bufftmp, 50, stdin);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xf0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
movl   $0x1,-0x1c(%rbp)
lea    0xe7e(%rip),%rdi
mov    $0xcea,%esi
lea    0xe7c(%rip),%rdx
lea    0xedf(%rip),%rcx
lea    0xe73(%rip),%r8
call   1080 <lib_mysql_connect@plt>
cmp    $0x0,%rax
je     120f <main+0x6f>
lea    0xe62(%rip),%rdi
call   1040 <printf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    1411 <main+0x271>
jmp    1214 <main+0x74>
cmpl   $0x0,-0x1c(%rbp)
je     140a <main+0x26a>
lea    -0x50(%rbp),%rdi
xor    %esi,%esi
mov    %esi,-0xe0(%rbp)
mov    $0x32,%edx
mov    %edx,-0xdc(%rbp)
call   1050 <memset@plt>
mov    -0xe0(%rbp),%esi
mov    -0xdc(%rbp),%edx
lea    -0x90(%rbp),%rdi
call   1050 <memset@plt>
lea    0xe23(%rip),%rdi
mov    %rdi,-0xe8(%rbp)
call   1040 <printf@plt>
mov    -0xe8(%rbp),%rdi
call   1040 <printf@plt>
lea    0xe49(%rip),%rdi
call   1040 <printf@plt>
lea    0xe5b(%rip),%rdi
call   1040 <printf@plt>
lea    0xe60(%rip),%rdi
call   1040 <printf@plt>
lea    0xe65(%rip),%rdi
call   1040 <printf@plt>
lea    0xe6a(%rip),%rdi
call   1040 <printf@plt>
lea    0xe71(%rip),%rdi
call   1040 <printf@plt>
mov    -0xe8(%rbp),%rdi
call   1040 <printf@plt>
mov    -0xe8(%rbp),%rdi
call   1040 <printf@plt>
mov    -0xe0(%rbp),%eax
call   1070 <getchar@plt>
mov    -0xdc(%rbp),%esi
mov    %al,-0x15(%rbp)
mov    0x2cfc(%rip),%rax
mov    (%rax),%edx
lea    -0xd0(%rbp),%rdi
call   1060 <fgets@plt>
movsbl -0x15(%rbp),%eax
add    $0xffffff9f,%eax
mov    %eax,%ecx
mov    %rcx,-0xd8(%rbp)
sub    $0x12,%eax
ja     13e6 <main+0x246>
mov    -0xd8(%rbp),%rax
lea    0xcdf(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xdfe(%rip),%rdi
call   1040 <printf@plt>
lea    -0x50(%rbp),%rsi
lea    0xe01(%rip),%rdi
call   1090 <scanf@plt>
lea    0xdf8(%rip),%rdi
call   1040 <printf@plt>
lea    -0x90(%rbp),%rsi
lea    0xde2(%rip),%rdi
call   1090 <scanf@plt>
lea    -0x50(%rbp),%rdi
lea    -0x90(%rbp),%rsi
call   10a0 <lib_mysql_insuser@plt>
jmp    13eb <main+0x24b>
lea    0xdae(%rip),%rdi
call   1040 <printf@plt>
lea    -0x50(%rbp),%rsi
lea    0xdb1(%rip),%rdi
call   1090 <scanf@plt>
lea    -0x50(%rbp),%rdi
call   10c0 <lib_mysql_searchuser@plt>
jmp    13eb <main+0x24b>
lea    0xd84(%rip),%rdi
call   1040 <printf@plt>
lea    -0x50(%rbp),%rsi
lea    0xd87(%rip),%rdi
call   1090 <scanf@plt>
lea    -0x50(%rbp),%rdi
call   10b0 <lib_mysql_deluser@plt>
jmp    13eb <main+0x24b>
mov    $0x0,%al
call   1030 <lib_mysql_showuser@plt>
jmp    13eb <main+0x24b>
movl   $0x0,-0x1c(%rbp)
jmp    13eb <main+0x24b>
jmp    13eb <main+0x24b>
lea    -0xd0(%rbp),%rdi
mov    0x2bef(%rip),%rax
mov    (%rax),%edx
mov    $0x32,%esi
call   1060 <fgets@plt>
jmp    1214 <main+0x74>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0xf0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xb8,%rsp
lea    0xe84(%rip),%rdi
lea    0xe87(%rip),%rdx
lea    0xf62(%rip),%rcx
lea    0xe7e(%rip),%r8
mov    $0xcea,%esi
call   1090 <lib_mysql_connect@plt>
test   %rax,%rax
je     1202 <main+0x52>
lea    0xf46(%rip),%rdi
call   1040 <puts@plt>
mov    $0xffffffff,%eax
jmp    13d1 <main+0x221>
lea    0xeec(%rip),%r14
lea    0xe9a(%rip),%rbx
mov    0x2dd1(%rip),%r12
mov    %rsp,%rbp
jmp    1243 <main+0x93>
xor    %eax,%eax
call   1030 <lib_mysql_showuser@plt>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %r15,%r12
mov    (%r15),%edx
mov    %rbp,%rdi
mov    $0x32,%esi
call   1070 <fgets@plt>
lea    0x40(%rsp),%rdi
xor    %esi,%esi
mov    $0x32,%edx
call   1060 <memset@plt>
lea    0x80(%rsp),%rdi
xor    %esi,%esi
mov    $0x32,%edx
call   1060 <memset@plt>
mov    %r14,%rdi
call   1040 <puts@plt>
mov    %r14,%rdi
call   1040 <puts@plt>
lea    0xe0e(%rip),%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
lea    0xe27(%rip),%rdi
call   1040 <puts@plt>
lea    0xe2b(%rip),%rdi
call   1040 <puts@plt>
lea    0xe2f(%rip),%rdi
call   1040 <puts@plt>
lea    0xe35(%rip),%rdi
call   1040 <puts@plt>
mov    %r14,%rdi
call   1040 <puts@plt>
mov    %r14,%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   1080 <getchar@plt>
mov    %eax,%r13d
mov    %r12,%r15
mov    (%r12),%edx
mov    %rbp,%rdi
mov    $0x32,%esi
call   1070 <fgets@plt>
movsbl %r13b,%eax
add    $0xffffff9f,%eax
cmp    $0x12,%eax
ja     1230 <main+0x80>
lea    0xcff(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xd4f(%rip),%rdi
call   1050 <printf@plt>
lea    0xd56(%rip),%rdi
lea    0x40(%rsp),%rbp
mov    %rbp,%rsi
call   10a0 <scanf@plt>
mov    %rbp,%rdi
mov    %rsp,%rbp
call   10c0 <lib_mysql_deluser@plt>
jmp    1230 <main+0x80>
lea    0xd1f(%rip),%rdi
call   1050 <printf@plt>
lea    0xd26(%rip),%rbp
mov    %rbp,%rdi
lea    0x40(%rsp),%r12
mov    %r12,%rsi
call   10a0 <scanf@plt>
lea    0xd12(%rip),%rdi
call   1050 <printf@plt>
mov    %rbp,%rdi
lea    0x80(%rsp),%rbp
mov    %rbp,%rsi
call   10a0 <scanf@plt>
mov    %r12,%rdi
mov    %rbp,%rsi
mov    %rsp,%rbp
call   10b0 <lib_mysql_insuser@plt>
jmp    1230 <main+0x80>
lea    0xcca(%rip),%rdi
call   1050 <printf@plt>
lea    0xcd1(%rip),%rdi
lea    0x40(%rsp),%rbp
mov    %rbp,%rsi
call   10a0 <scanf@plt>
mov    %rbp,%rdi
mov    %rsp,%rbp
call   10d0 <lib_mysql_searchuser@plt>
jmp    1230 <main+0x80>
mov    (%r15),%edx
mov    %rsp,%rdi
mov    $0x32,%esi
call   1070 <fgets@plt>
xor    %eax,%eax
add    $0xb8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [10 x i8] c"127.0.0.1\00"
@.str.1 = [5 x i8] c"root\00"
@.str.2 = [1 x i8] zeroinitializer
@.str.3 = [5 x i8] c"test\00"
@.str.4 = [28 x i8] c"Connect to server failed..\0A\00"
@.str.5 = [69 x i8] c"-------------------------------------------------------------------\0A\00"
@.str.6 = [30 x i8] c"---Please select function.--\0A\00"
@.str.7 = [17 x i8] c"i:Insert user..\0A\00"
@.str.8 = [17 x i8] c"s:Search user..\0A\00"
@.str.9 = [17 x i8] c"d:Delete user..\0A\00"
@.str.10 = [19 x i8] c"a:Show all user..\0A\00"
@.str.11 = [10 x i8] c"q:Quit..\0A\00"
@stdin = global i32 0
@.str.12 = [19 x i8] c"Please input user:\00"
@.str.13 = [3 x i8] c"%s\00"
@.str.14 = [23 x i8] c"Please input password:\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i8
%8 = alloca i32
%9 = alloca [50 x i8]
%10 = alloca [50 x i8]
%11 = alloca [50 x i8]
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %6
store i32 1, i32* %8
%12 = call i64 @lib_mysql_connect(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i32 3306, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %2
%15 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.4, i64 0, i64 0))
store i32 -1, i32* %3
br label %72
16: ; preds = %2
br label %17
17: ; preds = %67, %16
%18 = load i32, i32* %8
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %71
20: ; preds = %17
%21 = getelementptr inbounds [50 x i8], [50 x i8]* %9, i64 0, i64 0
%22 = call i32 @memset(i8* %21, i32 0, i32 50)
%23 = getelementptr inbounds [50 x i8], [50 x i8]* %10, i64 0, i64 0
%24 = call i32 @memset(i8* %23, i32 0, i32 50)
%25 = call i32 @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.5, i64 0, i64 0))
%26 = call i32 @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.5, i64 0, i64 0))
%27 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.6, i64 0, i64 0))
%28 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.7, i64 0, i64 0))
%29 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.8, i64 0, i64 0))
%30 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.9, i64 0, i64 0))
%31 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.10, i64 0, i64 0))
%32 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
%33 = call i32 @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.5, i64 0, i64 0))
%34 = call i32 @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.5, i64 0, i64 0))
%35 = call signext i8 (...) @getchar()
store i8 %35, i8* %7
%36 = getelementptr inbounds [50 x i8], [50 x i8]* %11, i64 0, i64 0
%37 = load i32, i32* @stdin
%38 = call i32 @fgets(i8* %36, i32 50, i32 %37)
%39 = load i8, i8* %7
%40 = sext i8 %39 to i32
switch i32 %40, label %66 [
i32 105, label %41
i32 115, label %51
i32 100, label %57
i32 97, label %63
i32 113, label %65
]
41: ; preds = %20
%42 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.12, i64 0, i64 0))
%43 = getelementptr inbounds [50 x i8], [50 x i8]* %9, i64 0, i64 0
%44 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.13, i64 0, i64 0), i8* %43)
%45 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.14, i64 0, i64 0))
%46 = getelementptr inbounds [50 x i8], [50 x i8]* %10, i64 0, i64 0
%47 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.13, i64 0, i64 0), i8* %46)
%48 = getelementptr inbounds [50 x i8], [50 x i8]* %9, i64 0, i64 0
%49 = getelementptr inbounds [50 x i8], [50 x i8]* %10, i64 0, i64 0
%50 = call i32 @lib_mysql_insuser(i8* %48, i8* %49)
br label %67
51: ; preds = %20
%52 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.12, i64 0, i64 0))
%53 = getelementptr inbounds [50 x i8], [50 x i8]* %9, i64 0, i64 0
%54 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.13, i64 0, i64 0), i8* %53)
%55 = getelementptr inbounds [50 x i8], [50 x i8]* %9, i64 0, i64 0
%56 = call i32 @lib_mysql_searchuser(i8* %55)
br label %67
57: ; preds = %20
%58 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.12, i64 0, i64 0))
%59 = getelementptr inbounds [50 x i8], [50 x i8]* %9, i64 0, i64 0
%60 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.13, i64 0, i64 0), i8* %59)
%61 = getelementptr inbounds [50 x i8], [50 x i8]* %9, i64 0, i64 0
%62 = call i32 @lib_mysql_deluser(i8* %61)
br label %67
63: ; preds = %20
%64 = call i32 (...) @lib_mysql_showuser()
br label %67
65: ; preds = %20
store i32 0, i32* %8
br label %67
66: ; preds = %20
br label %67
67: ; preds = %66, %65, %63, %57, %51, %41
%68 = getelementptr inbounds [50 x i8], [50 x i8]* %11, i64 0, i64 0
%69 = load i32, i32* @stdin
%70 = call i32 @fgets(i8* %68, i32 50, i32 %69)
br label %17
71: ; preds = %17
store i32 0, i32* %3
br label %72
72: ; preds = %71, %14
%73 = load i32, i32* %3
ret i32 %73
}

LLVM IR (-O2):
@.str = [10 x i8] c"127.0.0.1\00"
@.str.1 = [5 x i8] c"root\00"
@.str.2 = [1 x i8] zeroinitializer
@.str.3 = [5 x i8] c"test\00"
@stdin = global i32 0
@.str.12 = [19 x i8] c"Please input user:\00"
@.str.13 = [3 x i8] c"%s\00"
@.str.14 = [23 x i8] c"Please input password:\00"
@str.16 = [29 x i8] c"---Please select function.--\00"
@str.17 = [16 x i8] c"i:Insert user..\00"
@str.18 = [16 x i8] c"s:Search user..\00"
@str.19 = [16 x i8] c"d:Delete user..\00"
@str.20 = [18 x i8] c"a:Show all user..\00"
@str.21 = [9 x i8] c"q:Quit..\00"
@str.23 = [68 x i8] c"-------------------------------------------------------------------\00"
@str.24 = [27 x i8] c"Connect to server failed..\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [50 x i8]
%4 = alloca [50 x i8]
%5 = alloca [50 x i8]
%6 = getelementptr inbounds [50 x i8], [50 x i8]* %3, i64 0, i64 0
%7 = getelementptr inbounds [50 x i8], [50 x i8]* %4, i64 0, i64 0
%8 = getelementptr inbounds [50 x i8], [50 x i8]* %5, i64 0, i64 0
%9 = tail call i64 @lib_mysql_connect(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i32 3306, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%10 = icmp eq i64 %9, 0
br i1 %10, label %13, label %11
11: ; preds = %2
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.24, i64 0, i64 0))
br label %52
13: ; preds = %2, %46
%14 = call i32 @memset(i8* %6, i32 0, i32 50)
%15 = call i32 @memset(i8* %7, i32 0, i32 50)
%16 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str.23, i64 0, i64 0))
%17 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str.23, i64 0, i64 0))
%18 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.16, i64 0, i64 0))
%19 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @str.17, i64 0, i64 0))
%20 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @str.18, i64 0, i64 0))
%21 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @str.19, i64 0, i64 0))
%22 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.20, i64 0, i64 0))
%23 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str.21, i64 0, i64 0))
%24 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str.23, i64 0, i64 0))
%25 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str.23, i64 0, i64 0))
%26 = call signext i8 (...) @getchar()
%27 = load i32, i32* @stdin
%28 = call i32 @fgets(i8* %8, i32 50, i32 %27)
%29 = sext i8 %26 to i32
switch i32 %29, label %46 [
i32 105, label %30
i32 115, label %36
i32 100, label %40
i32 97, label %44
i32 113, label %49
]
30: ; preds = %13
%31 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.12, i64 0, i64 0))
%32 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.13, i64 0, i64 0), i8* %6)
%33 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.14, i64 0, i64 0))
%34 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.13, i64 0, i64 0), i8* %7)
%35 = call i32 @lib_mysql_insuser(i8* %6, i8* %7)
br label %46
36: ; preds = %13
%37 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.12, i64 0, i64 0))
%38 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.13, i64 0, i64 0), i8* %6)
%39 = call i32 @lib_mysql_searchuser(i8* %6)
br label %46
40: ; preds = %13
%41 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.12, i64 0, i64 0))
%42 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.13, i64 0, i64 0), i8* %6)
%43 = call i32 @lib_mysql_deluser(i8* %6)
br label %46
44: ; preds = %13
%45 = call i32 (...) @lib_mysql_showuser()
br label %46
46: ; preds = %13, %44, %40, %36, %30
%47 = load i32, i32* @stdin
%48 = call i32 @fgets(i8* %8, i32 50, i32 %47)
br label %13
49: ; preds = %13
%50 = load i32, i32* @stdin
%51 = call i32 @fgets(i8* %8, i32 50, i32 %50)
br label %52
52: ; preds = %49, %11
%53 = phi i32 [ -1, %11 ], [ 0, %49 ]
ret i32 %53
}