#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 */
struct passwd {
  char *pw_name;
};
struct group {
  char *gr_name;
};
typedef int gid_t;

/* Variables and functions */
int NGROUPS;
int getegid();
int geteuid();
int getgid();
struct group *getgrgid(int);
int getgroups(int, int *);
struct passwd *getpwuid(int);
int getuid();
int /*<<< orphan*/ printf(char *, ...);
void current() {
  struct group *gr;
  struct passwd *pw;
  int cnt, id, eid, lastid, ngroups;
  gid_t groups[NGROUPS];
  char *fmt;
  id = getuid();
  (void)printf("uid=%u", id);
  if (pw = getpwuid(id))
    (void)printf("(%s)", pw->pw_name);
  if ((eid = geteuid()) != id) {
    (void)printf(" euid=%u", eid);
    if (pw = getpwuid(eid))
      (void)printf("(%s)", pw->pw_name);
  }
  id = getgid();
  (void)printf(" gid=%u", id);
  if (gr = getgrgid(id))
    (void)printf("(%s)", gr->gr_name);
  if ((eid = getegid()) != id) {
    (void)printf(" egid=%u", eid);
    if (gr = getgrgid(eid))
      (void)printf("(%s)", gr->gr_name);
  }
  ngroups = getgroups(NGROUPS, groups);
  if (ngroups > 0)
    for (fmt = " groups=%u", lastid = -1, cnt = 0; cnt < ngroups;
         fmt = ", %u", lastid = id) {
      id = groups[cnt++];
      if (lastid == id)
        continue;
      (void)printf(fmt, id);
      if (gr = getgrgid(id))
        (void)printf("(%s)", gr->gr_name);
    }
  (void)printf("\n");
}


x86 assembly (clang, -O0):
<current>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    0x2e51(%rip),%rax
mov    (%rax),%eax
mov    %rsp,%rcx
mov    %rcx,-0x30(%rbp)
lea    0xf(,%rax,4),%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x48(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x38(%rbp)
mov    $0x0,%al
call   1040 <getuid@plt>
mov    %eax,-0x18(%rbp)
mov    -0x18(%rbp),%esi
lea    0xe3e(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x18(%rbp),%edi
call   1030 <getpwuid@plt>
mov    %rax,-0x10(%rbp)
cmp    $0x0,%rax
je     11fb <current+0x7b>
mov    -0x10(%rbp),%rax
mov    (%rax),%rsi
lea    0xe0c(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x0,%al
call   1070 <geteuid@plt>
mov    %eax,-0x1c(%rbp)
cmp    -0x18(%rbp),%eax
je     124f <current+0xcf>
mov    -0x1c(%rbp),%esi
lea    0xded(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x1c(%rbp),%edi
call   1030 <getpwuid@plt>
mov    %rax,-0x10(%rbp)
cmp    $0x0,%rax
je     124a <current+0xca>
mov    -0x10(%rbp),%rax
mov    (%rax),%rsi
lea    0xdbd(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    124f <current+0xcf>
mov    $0x0,%al
call   1080 <getgid@plt>
mov    %eax,-0x18(%rbp)
mov    -0x18(%rbp),%esi
lea    0xdab(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x18(%rbp),%edi
call   1060 <getgrgid@plt>
mov    %rax,-0x8(%rbp)
cmp    $0x0,%rax
je     1295 <current+0x115>
mov    -0x8(%rbp),%rax
mov    (%rax),%rsi
lea    0xd72(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x0,%al
call   10a0 <getegid@plt>
mov    %eax,-0x1c(%rbp)
cmp    -0x18(%rbp),%eax
je     12e9 <current+0x169>
mov    -0x1c(%rbp),%esi
lea    0xd64(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x1c(%rbp),%edi
call   1060 <getgrgid@plt>
mov    %rax,-0x8(%rbp)
cmp    $0x0,%rax
je     12e4 <current+0x164>
mov    -0x8(%rbp),%rax
mov    (%rax),%rsi
lea    0xd23(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    12e9 <current+0x169>
mov    -0x48(%rbp),%rsi
mov    0x2cec(%rip),%rax
mov    (%rax),%edi
call   1090 <getgroups@plt>
mov    %eax,-0x24(%rbp)
cmpl   $0x0,-0x24(%rbp)
jle    13af <current+0x22f>
lea    0xd10(%rip),%rax
mov    %rax,-0x40(%rbp)
movl   $0xffffffff,-0x20(%rbp)
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x24(%rbp),%eax
jge    13aa <current+0x22a>
mov    -0x48(%rbp),%rax
mov    -0x14(%rbp),%ecx
mov    %ecx,%edx
add    $0x1,%edx
mov    %edx,-0x14(%rbp)
movslq %ecx,%rcx
mov    (%rax,%rcx,4),%eax
mov    %eax,-0x18(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x18(%rbp),%eax
jne    1356 <current+0x1d6>
jmp    1394 <current+0x214>
mov    -0x40(%rbp),%rdi
mov    -0x18(%rbp),%esi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x18(%rbp),%edi
call   1060 <getgrgid@plt>
mov    %rax,-0x8(%rbp)
cmp    $0x0,%rax
je     138f <current+0x20f>
mov    -0x8(%rbp),%rax
mov    (%rax),%rsi
lea    0xc78(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1394 <current+0x214>
lea    0xc8f(%rip),%rax
mov    %rax,-0x40(%rbp)
mov    -0x18(%rbp),%eax
mov    %eax,-0x20(%rbp)
jmp    1321 <current+0x1a1>
jmp    13af <current+0x22f>
lea    0xc79(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x30(%rbp),%rax
mov    %rax,%rsp
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<current>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    0x2e3b(%rip),%r12
mov    (%r12),%eax
mov    %rsp,%r14
lea    0xf(,%rax,4),%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%r14
mov    %r14,%rsp
xor    %eax,%eax
call   1050 <getuid@plt>
mov    %eax,%r15d
lea    0xe38(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r15d,%edi
call   1040 <getpwuid@plt>
test   %rax,%rax
je     11f6 <current+0x66>
mov    (%rax),%rsi
lea    0xe11(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
xor    %eax,%eax
call   1080 <geteuid@plt>
cmp    %r15d,%eax
je     1231 <current+0xa1>
mov    %eax,%ebx
lea    0xdfa(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebx,%edi
call   1040 <getpwuid@plt>
test   %rax,%rax
je     1231 <current+0xa1>
mov    (%rax),%rsi
lea    0xdd6(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
xor    %eax,%eax
call   1090 <getgid@plt>
mov    %eax,%r15d
lea    0xdcc(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r15d,%edi
call   1070 <getgrgid@plt>
test   %rax,%rax
je     1269 <current+0xd9>
mov    (%rax),%rsi
lea    0xd9e(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
xor    %eax,%eax
call   10b0 <getegid@plt>
cmp    %r15d,%eax
je     12a4 <current+0x114>
mov    %eax,%ebx
lea    0xd98(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebx,%edi
call   1070 <getgrgid@plt>
test   %rax,%rax
je     12a4 <current+0x114>
mov    (%rax),%rsi
lea    0xd63(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    (%r12),%edi
mov    %r14,%rsi
call   10a0 <getgroups@plt>
test   %eax,%eax
jle    12f2 <current+0x162>
mov    %eax,%r15d
mov    (%r14),%ebx
cmp    $0xffffffff,%ebx
je     12ec <current+0x15c>
lea    0xd59(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebx,%edi
call   1070 <getgrgid@plt>
test   %rax,%rax
je     12ec <current+0x15c>
mov    (%rax),%rsi
lea    0xd1b(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
cmp    $0x1,%r15d
jne    130b <current+0x17b>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    -0x28(%rbp),%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    %r15d,%r13d
mov    $0x1,%r12d
lea    0xd0f(%rip),%r15
jmp    1325 <current+0x195>
nopl   (%rax)
cmp    %r12,%r13
je     12f2 <current+0x162>
mov    %ebx,%eax
mov    (%r14,%r12,4),%ebx
add    $0x1,%r12
cmp    %ebx,%eax
je     1320 <current+0x190>
mov    %r15,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebx,%edi
call   1070 <getgrgid@plt>
test   %rax,%rax
je     1320 <current+0x190>
mov    (%rax),%rsi
lea    0xcab(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
jmp    1320 <current+0x190>

LLVM IR (-O0):
%struct.group = type { i8* }
%struct.passwd = type { i8* }
@NGROUPS = global i32 0
@.str = [7 x i8] c"uid=%u\00"
@.str.1 = [5 x i8] c"(%s)\00"
@.str.2 = [9 x i8] c" euid=%u\00"
@.str.3 = [8 x i8] c" gid=%u\00"
@.str.4 = [9 x i8] c" egid=%u\00"
@.str.5 = [11 x i8] c" groups=%u\00"
@.str.6 = [5 x i8] c", %u\00"
@.str.7 = [2 x i8] c"\0A\00"
define void @current() {
%1 = alloca %struct.group*
%2 = alloca %struct.passwd*
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i8*
%9 = alloca i64
%10 = alloca i8*
%11 = load i32, i32* @NGROUPS
%12 = zext i32 %11 to i64
%13 = call i8* @llvm.stacksave()
store i8* %13, i8** %8
%14 = alloca i32, i64 %12
store i64 %12, i64* %9
%15 = call i32 (...) @getuid()
store i32 %15, i32* %4
%16 = load i32, i32* %4
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 %16)
%18 = load i32, i32* %4
%19 = call %struct.passwd* @getpwuid(i32 %18)
store %struct.passwd* %19, %struct.passwd** %2
%20 = icmp ne %struct.passwd* %19, null
br i1 %20, label %21, label %26
21: ; preds = %0
%22 = load %struct.passwd*, %struct.passwd** %2
%23 = getelementptr inbounds %struct.passwd, %struct.passwd* %22, i32 0, i32 0
%24 = load i8*, i8** %23
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* %24)
br label %26
26: ; preds = %21, %0
%27 = call i32 (...) @geteuid()
store i32 %27, i32* %5
%28 = load i32, i32* %4
%29 = icmp ne i32 %27, %28
br i1 %29, label %30, label %42
30: ; preds = %26
%31 = load i32, i32* %5
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i32 %31)
%33 = load i32, i32* %5
%34 = call %struct.passwd* @getpwuid(i32 %33)
store %struct.passwd* %34, %struct.passwd** %2
%35 = icmp ne %struct.passwd* %34, null
br i1 %35, label %36, label %41
36: ; preds = %30
%37 = load %struct.passwd*, %struct.passwd** %2
%38 = getelementptr inbounds %struct.passwd, %struct.passwd* %37, i32 0, i32 0
%39 = load i8*, i8** %38
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* %39)
br label %41
41: ; preds = %36, %30
br label %42
42: ; preds = %41, %26
%43 = call i32 (...) @getgid()
store i32 %43, i32* %4
%44 = load i32, i32* %4
%45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), i32 %44)
%46 = load i32, i32* %4
%47 = call %struct.group* @getgrgid(i32 %46)
store %struct.group* %47, %struct.group** %1
%48 = icmp ne %struct.group* %47, null
br i1 %48, label %49, label %54
49: ; preds = %42
%50 = load %struct.group*, %struct.group** %1
%51 = getelementptr inbounds %struct.group, %struct.group* %50, i32 0, i32 0
%52 = load i8*, i8** %51
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* %52)
br label %54
54: ; preds = %49, %42
%55 = call i32 (...) @getegid()
store i32 %55, i32* %5
%56 = load i32, i32* %4
%57 = icmp ne i32 %55, %56
br i1 %57, label %58, label %70
58: ; preds = %54
%59 = load i32, i32* %5
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %59)
%61 = load i32, i32* %5
%62 = call %struct.group* @getgrgid(i32 %61)
store %struct.group* %62, %struct.group** %1
%63 = icmp ne %struct.group* %62, null
br i1 %63, label %64, label %69
64: ; preds = %58
%65 = load %struct.group*, %struct.group** %1
%66 = getelementptr inbounds %struct.group, %struct.group* %65, i32 0, i32 0
%67 = load i8*, i8** %66
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* %67)
br label %69
69: ; preds = %64, %58
br label %70
70: ; preds = %69, %54
%71 = load i32, i32* @NGROUPS
%72 = call i32 @getgroups(i32 %71, i32* %14)
store i32 %72, i32* %7
%73 = load i32, i32* %7
%74 = icmp sgt i32 %73, 0
br i1 %74, label %75, label %106
75: ; preds = %70
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i8** %10
store i32 -1, i32* %6
store i32 0, i32* %3
br label %76
76: ; preds = %103, %75
%77 = load i32, i32* %3
%78 = load i32, i32* %7
%79 = icmp slt i32 %77, %78
br i1 %79, label %80, label %105
80: ; preds = %76
%81 = load i32, i32* %3
%82 = add nsw i32 %81, 1
store i32 %82, i32* %3
%83 = sext i32 %81 to i64
%84 = getelementptr inbounds i32, i32* %14, i64 %83
%85 = load i32, i32* %84
store i32 %85, i32* %4
%86 = load i32, i32* %6
%87 = load i32, i32* %4
%88 = icmp eq i32 %86, %87
br i1 %88, label %89, label %90
89: ; preds = %80
br label %103
90: ; preds = %80
%91 = load i8*, i8** %10
%92 = load i32, i32* %4
%93 = call i32 (i8*, ...) @printf(i8* %91, i32 %92)
%94 = load i32, i32* %4
%95 = call %struct.group* @getgrgid(i32 %94)
store %struct.group* %95, %struct.group** %1
%96 = icmp ne %struct.group* %95, null
br i1 %96, label %97, label %102
97: ; preds = %90
%98 = load %struct.group*, %struct.group** %1
%99 = getelementptr inbounds %struct.group, %struct.group* %98, i32 0, i32 0
%100 = load i8*, i8** %99
%101 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* %100)
br label %102
102: ; preds = %97, %90
br label %103
103: ; preds = %102, %89
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8** %10
%104 = load i32, i32* %4
store i32 %104, i32* %6
br label %76
105: ; preds = %76
br label %106
106: ; preds = %105, %70
%107 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%108 = load i8*, i8** %8
ret void
}

LLVM IR (-O2):
%struct.passwd = type { i8* }
%struct.group = type { i8* }
@NGROUPS = global i32 0
@.str = [7 x i8] c"uid=%u\00"
@.str.1 = [5 x i8] c"(%s)\00"
@.str.2 = [9 x i8] c" euid=%u\00"
@.str.3 = [8 x i8] c" gid=%u\00"
@.str.4 = [9 x i8] c" egid=%u\00"
@.str.5 = [11 x i8] c" groups=%u\00"
@.str.6 = [5 x i8] c", %u\00"
define void @current() {
%1 = load i32, i32* @NGROUPS
%2 = zext i32 %1 to i64
%3 = alloca i32, i64 %2
%4 = tail call i32 (...) @getuid()
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 %4)
%6 = tail call %struct.passwd* @getpwuid(i32 %4)
%7 = icmp eq %struct.passwd* %6, null
br i1 %7, label %12, label %8
8: ; preds = %0
%9 = getelementptr inbounds %struct.passwd, %struct.passwd* %6, i64 0, i32 0
%10 = load i8*, i8** %9
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* %10)
br label %12
12: ; preds = %8, %0
%13 = tail call i32 (...) @geteuid()
%14 = icmp eq i32 %13, %4
br i1 %14, label %23, label %15
15: ; preds = %12
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i32 %13)
%17 = tail call %struct.passwd* @getpwuid(i32 %13)
%18 = icmp eq %struct.passwd* %17, null
br i1 %18, label %23, label %19
19: ; preds = %15
%20 = getelementptr inbounds %struct.passwd, %struct.passwd* %17, i64 0, i32 0
%21 = load i8*, i8** %20
%22 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* %21)
br label %23
23: ; preds = %15, %19, %12
%24 = tail call i32 (...) @getgid()
%25 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), i32 %24)
%26 = tail call %struct.group* @getgrgid(i32 %24)
%27 = icmp eq %struct.group* %26, null
br i1 %27, label %32, label %28
28: ; preds = %23
%29 = getelementptr inbounds %struct.group, %struct.group* %26, i64 0, i32 0
%30 = load i8*, i8** %29
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* %30)
br label %32
32: ; preds = %28, %23
%33 = tail call i32 (...) @getegid()
%34 = icmp eq i32 %33, %24
br i1 %34, label %43, label %35
35: ; preds = %32
%36 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 %33)
%37 = tail call %struct.group* @getgrgid(i32 %33)
%38 = icmp eq %struct.group* %37, null
br i1 %38, label %43, label %39
39: ; preds = %35
%40 = getelementptr inbounds %struct.group, %struct.group* %37, i64 0, i32 0
%41 = load i8*, i8** %40
%42 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* %41)
br label %43
43: ; preds = %35, %39, %32
%44 = load i32, i32* @NGROUPS
%45 = call i32 @getgroups(i32 %44, i32* %3)
%46 = icmp sgt i32 %45, 0
br i1 %46, label %47, label %78
47: ; preds = %43
%48 = zext i32 %45 to i64
%49 = load i32, i32* %3
%50 = icmp eq i32 %49, -1
br i1 %50, label %59, label %51
51: ; preds = %47
%52 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i32 %49)
%53 = call %struct.group* @getgrgid(i32 %49)
%54 = icmp eq %struct.group* %53, null
br i1 %54, label %59, label %55
55: ; preds = %51
%56 = getelementptr inbounds %struct.group, %struct.group* %53, i64 0, i32 0
%57 = load i8*, i8** %56
%58 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* %57)
br label %59
59: ; preds = %55, %51, %47
%60 = icmp eq i32 %45, 1
br i1 %60, label %78, label %61
61: ; preds = %59, %76
%62 = phi i64 [ %64, %76 ], [ 1, %59 ]
%63 = phi i32 [ %66, %76 ], [ %49, %59 ]
%64 = add nuw nsw i64 %62, 1
%65 = getelementptr inbounds i32, i32* %3, i64 %62
%66 = load i32, i32* %65
%67 = icmp eq i32 %63, %66
br i1 %67, label %76, label %68
68: ; preds = %61
%69 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i32 %66)
%70 = call %struct.group* @getgrgid(i32 %66)
%71 = icmp eq %struct.group* %70, null
br i1 %71, label %76, label %72
72: ; preds = %68
%73 = getelementptr inbounds %struct.group, %struct.group* %70, i64 0, i32 0
%74 = load i8*, i8** %73
%75 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* %74)
br label %76
76: ; preds = %68, %72, %61
%77 = icmp eq i64 %64, %48
br i1 %77, label %78, label %61
78: ; preds = %76, %59, %43
%79 = call i32 @putchar(i32 10)
ret void
}