#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 */
typedef struct TYPE_7__ TYPE_3__;
typedef struct TYPE_6__ TYPE_2__;
typedef struct TYPE_5__ TYPE_1__;

/* Type definitions */
typedef size_t u_int;
typedef int /*<<< orphan*/ nis_result;
typedef int /*<<< orphan*/ leafbuf;
typedef int /*<<< orphan*/ domainbuf;
typedef char *const_nis_name;
struct TYPE_5__ {
  size_t gr_members_len;
  char **gr_members_val;
};
struct TYPE_6__ {
  TYPE_1__ gr_members;
};
struct TYPE_7__ {
  char *zo_domain;
  char *zo_name;
  TYPE_2__ GR_data;
};

/* Variables and functions */
int EXPAND_NAME;
int FOLLOW_LINKS;
scalar_t__ NIS_GROUP_OBJ;
int NIS_RES_NUMOBJ(int /*<<< orphan*/ *);
TYPE_3__ *NIS_RES_OBJECT(int /*<<< orphan*/ *);
scalar_t__ NIS_RES_STATUS(int /*<<< orphan*/ *);
scalar_t__ NIS_SUCCESS;
char *_(char *);
scalar_t__ __type_of(TYPE_3__ *);
int /*<<< orphan*/ fputs(char *, int /*<<< orphan*/);
char *nis_domain_of_r(char *, char *, int);
int /*<<< orphan*/ nis_freeresult(int /*<<< orphan*/ *);
char *nis_leaf_of_r(char *, char *, int);
int /*<<< orphan*/ *nis_lookup(char *, int);
int /*<<< orphan*/ printf(char *, char *, ...);
int /*<<< orphan*/ stdout;
char *stpcpy(char *, char *);
int strlen(char *);
void nis_print_group_entry(const_nis_name group) {
  if (group != NULL && group[0] != '\0') {
    size_t grouplen = strlen(group);
    char buf[grouplen + 50];
    char leafbuf[grouplen + 3];
    char domainbuf[grouplen + 3];
    nis_result *res;
    char *cp, *cp2;
    u_int i;
    cp = stpcpy(buf, nis_leaf_of_r(group, leafbuf, sizeof(leafbuf) - 1));
    cp = stpcpy(cp, ".groups_dir");
    cp2 = nis_domain_of_r(group, domainbuf, sizeof(domainbuf) - 1);
    if (cp2 != NULL && cp2[0] != '\0') {
      *cp++ = '.';
      stpcpy(cp, cp2);
    }
    res = nis_lookup(buf, FOLLOW_LINKS | EXPAND_NAME);
    if (res == NULL)
      return;
    if (NIS_RES_STATUS(res) != NIS_SUCCESS || NIS_RES_NUMOBJ(res) != 1 ||
        __type_of(NIS_RES_OBJECT(res)) != NIS_GROUP_OBJ) {
      nis_freeresult(res);
      return;
    }
    char *mem_exp[NIS_RES_NUMOBJ(res)];
    char *mem_imp[NIS_RES_NUMOBJ(res)];
    char *mem_rec[NIS_RES_NUMOBJ(res)];
    char *nomem_exp[NIS_RES_NUMOBJ(res)];
    char *nomem_imp[NIS_RES_NUMOBJ(res)];
    char *nomem_rec[NIS_RES_NUMOBJ(res)];
    unsigned long mem_exp_cnt = 0, mem_imp_cnt = 0, mem_rec_cnt = 0;
    unsigned long nomem_exp_cnt = 0, nomem_imp_cnt = 0, nomem_rec_cnt = 0;
    for (i = 0; i < NIS_RES_OBJECT(res)->GR_data.gr_members.gr_members_len;
         ++i) {
      char *grmem = NIS_RES_OBJECT(res)->GR_data.gr_members.gr_members_val[i];
      int neg = grmem[0] == '-';
      switch (grmem[neg]) {
      case '*':
        if (neg) {
          nomem_imp[nomem_imp_cnt] = grmem;
          ++nomem_imp_cnt;
        } else {
          mem_imp[mem_imp_cnt] = grmem;
          ++mem_imp_cnt;
        }
        break;
      case '@':
        if (neg) {
          nomem_rec[nomem_rec_cnt] = grmem;
          ++nomem_rec_cnt;
        } else {
          mem_rec[mem_rec_cnt] = grmem;
          ++mem_rec_cnt;
        }
        break;
      default:
        if (neg) {
          nomem_exp[nomem_exp_cnt] = grmem;
          ++nomem_exp_cnt;
        } else {
          mem_exp[mem_exp_cnt] = grmem;
          ++mem_exp_cnt;
        }
        break;
      }
    }
    {
      char buf[strlen(NIS_RES_OBJECT(res)->zo_domain) + 10];
      printf(_("Group entry for \"%s.%s\" group:\n"),
             NIS_RES_OBJECT(res)->zo_name,
             nis_domain_of_r(NIS_RES_OBJECT(res)->zo_domain, buf,
                             strlen(NIS_RES_OBJECT(res)->zo_domain) + 10));
    }
    if (mem_exp_cnt) {
      fputs(_("    Explicit members:\n"), stdout);
      for (i = 0; i < mem_exp_cnt; ++i)
        printf("\t%s\n", mem_exp[i]);
    } else
      fputs(_("    No explicit members\n"), stdout);
    if (mem_imp_cnt) {
      fputs(_("    Implicit members:\n"), stdout);
      for (i = 0; i < mem_imp_cnt; ++i)
        printf("\t%s\n", &mem_imp[i][2]);
    } else
      fputs(_("    No implicit members\n"), stdout);
    if (mem_rec_cnt) {
      fputs(_("    Recursive members:\n"), stdout);
      for (i = 0; i < mem_rec_cnt; ++i)
        printf("\t%s\n", &mem_rec[i][1]);
    } else
      fputs(_("    No recursive members\n"), stdout);
    if (nomem_exp_cnt) {
      fputs(_("    Explicit nonmembers:\n"), stdout);
      for (i = 0; i < nomem_exp_cnt; ++i)
        printf("\t%s\n", &nomem_exp[i][1]);
    } else
      fputs(_("    No explicit nonmembers\n"), stdout);
    if (nomem_imp_cnt) {
      fputs(_("    Implicit nonmembers:\n"), stdout);
      for (i = 0; i < nomem_imp_cnt; ++i)
        printf("\t%s\n", &nomem_imp[i][3]);
    } else
      fputs(_("    No implicit nonmembers\n"), stdout);
    if (nomem_rec_cnt) {
      fputs(_("    Recursive nonmembers:\n"), stdout);
      for (i = 0; i < nomem_rec_cnt; ++i)
        printf("\t%s=n", &nomem_rec[i][2]);
    } else
      fputs(_("    No recursive nonmembers\n"), stdout);
    nis_freeresult(res);
  }
}


x86 assembly (clang, -O0):
<nis_print_group_entry>:
push   %rbp
mov    %rsp,%rbp
sub    $0x150,%rsp
mov    %rdi,-0x8(%rbp)
cmpq   $0x0,-0x8(%rbp)
je     1b76 <nis_print_group_entry+0x9a6>
mov    -0x8(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     1b76 <nis_print_group_entry+0x9a6>
mov    -0x8(%rbp),%rdi
call   1060 <strlen@plt>
cltq
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rdx
mov    %rdx,%rax
add    $0x32,%rax
mov    %rsp,%rcx
mov    %rcx,-0x18(%rbp)
add    $0x41,%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0xf0(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x20(%rbp)
mov    -0x10(%rbp),%rcx
mov    %rcx,%rax
add    $0x3,%rax
add    $0x12,%rcx
and    $0xfffffffffffffff0,%rcx
mov    %rsp,%rsi
sub    %rcx,%rsi
mov    %rsi,%rsp
mov    %rax,-0x28(%rbp)
mov    -0x10(%rbp),%rdi
mov    %rdi,%rcx
add    $0x3,%rcx
mov    %rcx,-0xe0(%rbp)
add    $0x12,%rdi
and    $0xfffffffffffffff0,%rdi
mov    %rsp,%rdx
sub    %rdi,%rdx
mov    %rdx,-0xe8(%rbp)
mov    %rdx,%rsp
mov    %rcx,-0x30(%rbp)
mov    -0x8(%rbp),%rdi
sub    $0x1,%rax
mov    %eax,%edx
call   1090 <nis_leaf_of_r@plt>
mov    -0xf0(%rbp),%rdi
mov    %rax,%rsi
call   1050 <stpcpy@plt>
mov    %rax,-0x40(%rbp)
mov    -0x40(%rbp),%rdi
lea    0xd4e(%rip),%rsi
call   1050 <stpcpy@plt>
mov    -0xe8(%rbp),%rsi
mov    %rax,%rcx
mov    -0xe0(%rbp),%rax
mov    %rcx,-0x40(%rbp)
mov    -0x8(%rbp),%rdi
sub    $0x1,%rax
mov    %eax,%edx
call   1040 <nis_domain_of_r@plt>
mov    %rax,-0x48(%rbp)
cmpq   $0x0,-0x48(%rbp)
je     1319 <nis_print_group_entry+0x149>
mov    -0x48(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
je     1319 <nis_print_group_entry+0x149>
mov    -0x40(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x40(%rbp)
movb   $0x2e,(%rax)
mov    -0x40(%rbp),%rdi
mov    -0x48(%rbp),%rsi
call   1050 <stpcpy@plt>
mov    -0xf0(%rbp),%rdi
mov    0x2cb1(%rip),%rax
mov    (%rax),%esi
mov    0x2cb0(%rip),%rax
or     (%rax),%esi
call   10e0 <nis_lookup@plt>
mov    %rax,-0x38(%rbp)
cmpq   $0x0,-0x38(%rbp)
jne    1352 <nis_print_group_entry+0x182>
movl   $0x1,-0x54(%rbp)
jmp    1b55 <nis_print_group_entry+0x985>
mov    -0x38(%rbp),%rdi
call   10d0 <NIS_RES_STATUS@plt>
mov    0x2c86(%rip),%rcx
cmp    (%rcx),%rax
jne    139e <nis_print_group_entry+0x1ce>
mov    -0x38(%rbp),%rdi
call   10a0 <NIS_RES_NUMOBJ@plt>
cmp    $0x1,%eax
jne    139e <nis_print_group_entry+0x1ce>
mov    -0x38(%rbp),%rdi
call   10c0 <NIS_RES_OBJECT@plt>
mov    %rax,%rdi
call   1030 <__type_of@plt>
mov    0x2c2b(%rip),%rcx
cmp    (%rcx),%rax
je     13b3 <nis_print_group_entry+0x1e3>
mov    -0x38(%rbp),%rdi
call   10f0 <nis_freeresult@plt>
movl   $0x1,-0x54(%rbp)
jmp    1b55 <nis_print_group_entry+0x985>
mov    -0x38(%rbp),%rdi
call   10a0 <NIS_RES_NUMOBJ@plt>
mov    %eax,%eax
lea    0xf(,%rax,8),%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x120(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x60(%rbp)
mov    -0x38(%rbp),%rdi
call   10a0 <NIS_RES_NUMOBJ@plt>
mov    %eax,%eax
lea    0xf(,%rax,8),%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x118(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x68(%rbp)
mov    -0x38(%rbp),%rdi
call   10a0 <NIS_RES_NUMOBJ@plt>
mov    %eax,%eax
lea    0xf(,%rax,8),%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x110(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x70(%rbp)
mov    -0x38(%rbp),%rdi
call   10a0 <NIS_RES_NUMOBJ@plt>
mov    %eax,%eax
lea    0xf(,%rax,8),%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x108(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x78(%rbp)
mov    -0x38(%rbp),%rdi
call   10a0 <NIS_RES_NUMOBJ@plt>
mov    %eax,%eax
lea    0xf(,%rax,8),%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x100(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x80(%rbp)
mov    -0x38(%rbp),%rdi
call   10a0 <NIS_RES_NUMOBJ@plt>
mov    %eax,%eax
lea    0xf(,%rax,8),%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0xf8(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x88(%rbp)
movq   $0x0,-0x90(%rbp)
movq   $0x0,-0x98(%rbp)
movq   $0x0,-0xa0(%rbp)
movq   $0x0,-0xa8(%rbp)
movq   $0x0,-0xb0(%rbp)
movq   $0x0,-0xb8(%rbp)
movq   $0x0,-0x50(%rbp)
mov    -0x50(%rbp),%rax
mov    %rax,-0x128(%rbp)
mov    -0x38(%rbp),%rdi
call   10c0 <NIS_RES_OBJECT@plt>
mov    %rax,%rcx
mov    -0x128(%rbp),%rax
cmp    0x10(%rcx),%rax
jae    16f4 <nis_print_group_entry+0x524>
mov    -0x38(%rbp),%rdi
call   10c0 <NIS_RES_OBJECT@plt>
mov    0x18(%rax),%rax
mov    -0x50(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    %rax,-0xc0(%rbp)
mov    -0xc0(%rbp),%rax
mov    (%rax),%al
sub    $0x2d,%al
sete   %al
movzbl %al,%eax
mov    %eax,-0xc4(%rbp)
mov    -0xc0(%rbp),%rax
movslq -0xc4(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
mov    %eax,-0x12c(%rbp)
sub    $0x2a,%eax
je     1597 <nis_print_group_entry+0x3c7>
jmp    1583 <nis_print_group_entry+0x3b3>
mov    -0x12c(%rbp),%eax
sub    $0x40,%eax
je     1604 <nis_print_group_entry+0x434>
jmp    1671 <nis_print_group_entry+0x4a1>
cmpl   $0x0,-0xc4(%rbp)
je     15d4 <nis_print_group_entry+0x404>
mov    -0x100(%rbp),%rax
mov    -0xc0(%rbp),%rdx
mov    -0xb0(%rbp),%rcx
mov    %rdx,(%rax,%rcx,8)
mov    -0xb0(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0xb0(%rbp)
jmp    15ff <nis_print_group_entry+0x42f>
mov    -0x118(%rbp),%rax
mov    -0xc0(%rbp),%rdx
mov    -0x98(%rbp),%rcx
mov    %rdx,(%rax,%rcx,8)
mov    -0x98(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x98(%rbp)
jmp    16de <nis_print_group_entry+0x50e>
cmpl   $0x0,-0xc4(%rbp)
je     1641 <nis_print_group_entry+0x471>
mov    -0xf8(%rbp),%rax
mov    -0xc0(%rbp),%rdx
mov    -0xb8(%rbp),%rcx
mov    %rdx,(%rax,%rcx,8)
mov    -0xb8(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0xb8(%rbp)
jmp    166c <nis_print_group_entry+0x49c>
mov    -0x110(%rbp),%rax
mov    -0xc0(%rbp),%rdx
mov    -0xa0(%rbp),%rcx
mov    %rdx,(%rax,%rcx,8)
mov    -0xa0(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0xa0(%rbp)
jmp    16de <nis_print_group_entry+0x50e>
cmpl   $0x0,-0xc4(%rbp)
je     16ae <nis_print_group_entry+0x4de>
mov    -0x108(%rbp),%rax
mov    -0xc0(%rbp),%rdx
mov    -0xa8(%rbp),%rcx
mov    %rdx,(%rax,%rcx,8)
mov    -0xa8(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0xa8(%rbp)
jmp    16d9 <nis_print_group_entry+0x509>
mov    -0x120(%rbp),%rax
mov    -0xc0(%rbp),%rdx
mov    -0x90(%rbp),%rcx
mov    %rdx,(%rax,%rcx,8)
mov    -0x90(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x90(%rbp)
jmp    16de <nis_print_group_entry+0x50e>
jmp    16e3 <nis_print_group_entry+0x513>
mov    -0x50(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x50(%rbp)
jmp    1502 <nis_print_group_entry+0x332>
mov    -0x38(%rbp),%rdi
call   10c0 <NIS_RES_OBJECT@plt>
mov    (%rax),%rdi
call   1060 <strlen@plt>
add    $0xa,%eax
mov    %rsp,%rcx
mov    %rcx,-0xd0(%rbp)
mov    %rax,%rdx
add    $0xf,%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x148(%rbp)
mov    %rcx,%rsp
mov    %rax,-0xd8(%rbp)
lea    0x8d1(%rip),%rdi
call   10b0 <_@plt>
mov    %rax,-0x140(%rbp)
mov    -0x38(%rbp),%rdi
call   10c0 <NIS_RES_OBJECT@plt>
mov    0x8(%rax),%rax
mov    %rax,-0x138(%rbp)
mov    -0x38(%rbp),%rdi
call   10c0 <NIS_RES_OBJECT@plt>
mov    (%rax),%rax
mov    %rax,-0x150(%rbp)
mov    -0x38(%rbp),%rdi
call   10c0 <NIS_RES_OBJECT@plt>
mov    (%rax),%rdi
call   1060 <strlen@plt>
mov    -0x150(%rbp),%rdi
mov    -0x148(%rbp),%rsi
mov    %eax,%edx
add    $0xa,%edx
call   1040 <nis_domain_of_r@plt>
mov    -0x140(%rbp),%rdi
mov    -0x138(%rbp),%rsi
mov    %rax,%rdx
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0xd0(%rbp),%rax
mov    %rax,%rsp
cmpq   $0x0,-0x90(%rbp)
je     1830 <nis_print_group_entry+0x660>
lea    0x85e(%rip),%rdi
call   10b0 <_@plt>
mov    %rax,%rdi
mov    0x27eb(%rip),%rax
mov    (%rax),%esi
call   1080 <fputs@plt>
movq   $0x0,-0x50(%rbp)
mov    -0x50(%rbp),%rax
cmp    -0x90(%rbp),%rax
jae    182b <nis_print_group_entry+0x65b>
mov    -0x120(%rbp),%rax
mov    -0x50(%rbp),%rcx
mov    (%rax,%rcx,8),%rsi
lea    0x830(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x50(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x50(%rbp)
jmp    17ec <nis_print_group_entry+0x61c>
jmp    184d <nis_print_group_entry+0x67d>
lea    0x811(%rip),%rdi
call   10b0 <_@plt>
mov    %rax,%rdi
mov    0x2782(%rip),%rax
mov    (%rax),%esi
call   1080 <fputs@plt>
cmpq   $0x0,-0x98(%rbp)
je     18c8 <nis_print_group_entry+0x6f8>
lea    0x7ff(%rip),%rdi
call   10b0 <_@plt>
mov    %rax,%rdi
mov    0x2757(%rip),%rax
mov    (%rax),%esi
call   1080 <fputs@plt>
movq   $0x0,-0x50(%rbp)
mov    -0x50(%rbp),%rax
cmp    -0x98(%rbp),%rax
jae    18c3 <nis_print_group_entry+0x6f3>
mov    -0x118(%rbp),%rax
mov    -0x50(%rbp),%rcx
mov    (%rax,%rcx,8),%rsi
add    $0x2,%rsi
lea    0x798(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x50(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x50(%rbp)
jmp    1880 <nis_print_group_entry+0x6b0>
jmp    18e5 <nis_print_group_entry+0x715>
lea    0x7a9(%rip),%rdi
call   10b0 <_@plt>
mov    %rax,%rdi
mov    0x26ea(%rip),%rax
mov    (%rax),%esi
call   1080 <fputs@plt>
cmpq   $0x0,-0xa0(%rbp)
je     1960 <nis_print_group_entry+0x790>
lea    0x797(%rip),%rdi
call   10b0 <_@plt>
mov    %rax,%rdi
mov    0x26bf(%rip),%rax
mov    (%rax),%esi
call   1080 <fputs@plt>
movq   $0x0,-0x50(%rbp)
mov    -0x50(%rbp),%rax
cmp    -0xa0(%rbp),%rax
jae    195b <nis_print_group_entry+0x78b>
mov    -0x110(%rbp),%rax
mov    -0x50(%rbp),%rcx
mov    (%rax,%rcx,8),%rsi
add    $0x1,%rsi
lea    0x700(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x50(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x50(%rbp)
jmp    1918 <nis_print_group_entry+0x748>
jmp    197d <nis_print_group_entry+0x7ad>
lea    0x742(%rip),%rdi
call   10b0 <_@plt>
mov    %rax,%rdi
mov    0x2652(%rip),%rax
mov    (%rax),%esi
call   1080 <fputs@plt>
cmpq   $0x0,-0xa8(%rbp)
je     19f8 <nis_print_group_entry+0x828>
lea    0x731(%rip),%rdi
call   10b0 <_@plt>
mov    %rax,%rdi
mov    0x2627(%rip),%rax
mov    (%rax),%esi
call   1080 <fputs@plt>
movq   $0x0,-0x50(%rbp)
mov    -0x50(%rbp),%rax
cmp    -0xa8(%rbp),%rax
jae    19f3 <nis_print_group_entry+0x823>
mov    -0x108(%rbp),%rax
mov    -0x50(%rbp),%rcx
mov    (%rax,%rcx,8),%rsi
add    $0x1,%rsi
lea    0x668(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x50(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x50(%rbp)
jmp    19b0 <nis_print_group_entry+0x7e0>
jmp    1a15 <nis_print_group_entry+0x845>
lea    0x6de(%rip),%rdi
call   10b0 <_@plt>
mov    %rax,%rdi
mov    0x25ba(%rip),%rax
mov    (%rax),%esi
call   1080 <fputs@plt>
cmpq   $0x0,-0xb0(%rbp)
je     1a90 <nis_print_group_entry+0x8c0>
lea    0x6cf(%rip),%rdi
call   10b0 <_@plt>
mov    %rax,%rdi
mov    0x258f(%rip),%rax
mov    (%rax),%esi
call   1080 <fputs@plt>
movq   $0x0,-0x50(%rbp)
mov    -0x50(%rbp),%rax
cmp    -0xb0(%rbp),%rax
jae    1a8b <nis_print_group_entry+0x8bb>
mov    -0x100(%rbp),%rax
mov    -0x50(%rbp),%rcx
mov    (%rax,%rcx,8),%rsi
add    $0x3,%rsi
lea    0x5d0(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x50(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x50(%rbp)
jmp    1a48 <nis_print_group_entry+0x878>
jmp    1aad <nis_print_group_entry+0x8dd>
lea    0x67c(%rip),%rdi
call   10b0 <_@plt>
mov    %rax,%rdi
mov    0x2522(%rip),%rax
mov    (%rax),%esi
call   1080 <fputs@plt>
cmpq   $0x0,-0xb8(%rbp)
je     1b28 <nis_print_group_entry+0x958>
lea    0x66d(%rip),%rdi
call   10b0 <_@plt>
mov    %rax,%rdi
mov    0x24f7(%rip),%rax
mov    (%rax),%esi
call   1080 <fputs@plt>
movq   $0x0,-0x50(%rbp)
mov    -0x50(%rbp),%rax
cmp    -0xb8(%rbp),%rax
jae    1b23 <nis_print_group_entry+0x953>
mov    -0xf8(%rbp),%rax
mov    -0x50(%rbp),%rcx
mov    (%rax,%rcx,8),%rsi
add    $0x2,%rsi
lea    0x63f(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x50(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x50(%rbp)
jmp    1ae0 <nis_print_group_entry+0x910>
jmp    1b45 <nis_print_group_entry+0x975>
lea    0x621(%rip),%rdi
call   10b0 <_@plt>
mov    %rax,%rdi
mov    0x248a(%rip),%rax
mov    (%rax),%esi
call   1080 <fputs@plt>
mov    -0x38(%rbp),%rdi
call   10f0 <nis_freeresult@plt>
movl   $0x0,-0x54(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,%rsp
mov    -0x54(%rbp),%eax
test   %eax,%eax
je     1b71 <nis_print_group_entry+0x9a1>
jmp    1b6c <nis_print_group_entry+0x99c>
jmp    1b76 <nis_print_group_entry+0x9a6>
jmp    1b76 <nis_print_group_entry+0x9a6>
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<nis_print_group_entry>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x78,%rsp
test   %rdi,%rdi
je     1889 <nis_print_group_entry+0x6a9>
mov    %rdi,%rbx
cmpb   $0x0,(%rdi)
je     1889 <nis_print_group_entry+0x6a9>
mov    %rbx,%rdi
call   1070 <strlen@plt>
mov    %rsp,-0x98(%rbp)
movslq %eax,%r15
mov    %rsp,%r14
lea    0x41(%r15),%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%r14
mov    %r14,%rsp
mov    %rsp,%rsi
lea    0x12(%r15),%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%rsi
mov    %rsi,%rsp
mov    %rsp,%r13
sub    %rax,%r13
mov    %r13,%rsp
add    $0x2,%r15d
mov    %rbx,%rdi
mov    %r15d,%edx
call   10a0 <nis_leaf_of_r@plt>
mov    %r14,%rdi
mov    %rax,%rsi
call   1060 <stpcpy@plt>
mov    %rax,%r12
movabs $0x5f7370756f72672e,%rax
70 73 5f
mov    %rax,(%r12)
movl   $0x726964,0x8(%r12)
mov    %rbx,%rdi
mov    %r13,%rsi
mov    %r15d,%edx
call   1050 <nis_domain_of_r@plt>
test   %rax,%rax
je     12a4 <nis_print_group_entry+0xc4>
cmpb   $0x0,(%rax)
je     12a4 <nis_print_group_entry+0xc4>
mov    %r12,%rdi
add    $0xc,%rdi
movb   $0x2e,0xb(%r12)
mov    %rax,%rsi
call   1040 <strcpy@plt>
mov    0x2d2d(%rip),%rax
mov    0x2d2e(%rip),%rcx
mov    (%rcx),%esi
or     (%rax),%esi
mov    %r14,%rdi
call   10f0 <nis_lookup@plt>
test   %rax,%rax
je     1882 <nis_print_group_entry+0x6a2>
mov    %rax,%r13
mov    %rax,%rdi
call   10e0 <NIS_RES_STATUS@plt>
mov    0x2d0f(%rip),%rcx
cmp    (%rcx),%rax
jne    187a <nis_print_group_entry+0x69a>
mov    %r13,%rdi
call   10b0 <NIS_RES_NUMOBJ@plt>
cmp    $0x1,%eax
jne    187a <nis_print_group_entry+0x69a>
mov    %r13,%rdi
call   10d0 <NIS_RES_OBJECT@plt>
mov    %rax,%rdi
call   1030 <__type_of@plt>
mov    0x2cb6(%rip),%rcx
cmp    (%rcx),%rax
jne    187a <nis_print_group_entry+0x69a>
mov    %r13,%rdi
call   10b0 <NIS_RES_NUMOBJ@plt>
mov    %eax,%eax
mov    %rsp,%rcx
lea    0xf(,%rax,8),%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%rcx
mov    %rcx,-0x60(%rbp)
mov    %rcx,%rsp
mov    %r13,%rdi
call   10b0 <NIS_RES_NUMOBJ@plt>
mov    %eax,%eax
mov    %rsp,%rcx
lea    0xf(,%rax,8),%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%rcx
mov    %rcx,-0x30(%rbp)
mov    %rcx,%rsp
mov    %r13,%rdi
call   10b0 <NIS_RES_NUMOBJ@plt>
mov    %eax,%eax
mov    %rsp,%rcx
lea    0xf(,%rax,8),%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%rcx
mov    %rcx,-0x68(%rbp)
mov    %rcx,%rsp
mov    %r13,%rdi
call   10b0 <NIS_RES_NUMOBJ@plt>
mov    %eax,%eax
mov    %rsp,%rcx
lea    0xf(,%rax,8),%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%rcx
mov    %rcx,-0x58(%rbp)
mov    %rcx,%rsp
mov    %r13,%rdi
call   10b0 <NIS_RES_NUMOBJ@plt>
mov    %eax,%eax
mov    %rsp,%rcx
lea    0xf(,%rax,8),%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%rcx
mov    %rcx,-0x70(%rbp)
mov    %rcx,%rsp
mov    %r13,%rdi
call   10b0 <NIS_RES_NUMOBJ@plt>
mov    %eax,%eax
mov    %rsp,%r15
lea    0xf(,%rax,8),%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%r15
mov    %r15,%rsp
mov    %r13,%rdi
call   10d0 <NIS_RES_OBJECT@plt>
cmpq   $0x0,0x10(%rax)
je     14f8 <nis_print_group_entry+0x318>
xor    %ebx,%ebx
xor    %r14d,%r14d
xor    %eax,%eax
mov    %rax,-0x50(%rbp)
xor    %eax,%eax
mov    %rax,-0x48(%rbp)
xor    %eax,%eax
mov    %rax,-0x40(%rbp)
xor    %eax,%eax
mov    %rax,-0x38(%rbp)
xor    %r12d,%r12d
jmp    1446 <nis_print_group_entry+0x266>
mov    -0x60(%rbp),%rcx
mov    %rax,(%rcx,%r14,8)
add    $0x1,%r14
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
add    $0x1,%rbx
mov    %r13,%rdi
call   10d0 <NIS_RES_OBJECT@plt>
cmp    0x10(%rax),%rbx
jae    1516 <nis_print_group_entry+0x336>
mov    %r13,%rdi
call   10d0 <NIS_RES_OBJECT@plt>
mov    0x18(%rax),%rax
mov    (%rax,%rbx,8),%rax
movzbl (%rax),%ecx
xor    %edx,%edx
cmp    $0x2d,%cl
sete   %dl
movsbl (%rax,%rdx,1),%edx
cmp    $0x40,%edx
je     1490 <nis_print_group_entry+0x2b0>
cmp    $0x2a,%edx
mov    -0x70(%rbp),%rdx
mov    -0x30(%rbp),%rsi
jne    14b0 <nis_print_group_entry+0x2d0>
cmp    $0x2d,%cl
jne    14d2 <nis_print_group_entry+0x2f2>
mov    -0x48(%rbp),%rcx
mov    %rax,(%rdx,%rcx,8)
add    $0x1,%rcx
mov    %rcx,-0x48(%rbp)
jmp    1430 <nis_print_group_entry+0x250>
xchg   %ax,%ax
cmp    $0x2d,%cl
jne    14df <nis_print_group_entry+0x2ff>
mov    -0x50(%rbp),%rcx
mov    %rax,(%r15,%rcx,8)
add    $0x1,%rcx
mov    %rcx,-0x50(%rbp)
jmp    1430 <nis_print_group_entry+0x250>
nopw   0x0(%rax,%rax,1)
cmp    $0x2d,%cl
jne    1416 <nis_print_group_entry+0x236>
mov    -0x58(%rbp),%rcx
mov    -0x40(%rbp),%rdx
mov    %rax,(%rcx,%rdx,8)
add    $0x1,%rdx
mov    %rdx,-0x40(%rbp)
jmp    1430 <nis_print_group_entry+0x250>
mov    %rax,(%rsi,%r12,8)
add    $0x1,%r12
jmp    1430 <nis_print_group_entry+0x250>
mov    -0x68(%rbp),%rcx
mov    -0x38(%rbp),%rdx
mov    %rax,(%rcx,%rdx,8)
add    $0x1,%rdx
mov    %rdx,-0x38(%rbp)
jmp    1430 <nis_print_group_entry+0x250>
xor    %r12d,%r12d
xor    %eax,%eax
mov    %rax,-0x38(%rbp)
xor    %eax,%eax
mov    %rax,-0x40(%rbp)
xor    %eax,%eax
mov    %rax,-0x48(%rbp)
xor    %eax,%eax
mov    %rax,-0x50(%rbp)
xor    %r14d,%r14d
mov    %r12,-0x90(%rbp)
mov    %r15,-0x78(%rbp)
mov    %r13,%rdi
call   10d0 <NIS_RES_OBJECT@plt>
mov    (%rax),%rdi
call   1070 <strlen@plt>
mov    %rsp,%r15
add    $0xa,%eax
mov    %rsp,%rbx
add    $0xf,%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%rbx
mov    %rbx,%rsp
lea    0xabd(%rip),%rdi
call   10c0 <_@plt>
mov    %rax,%r12
mov    %r13,%rdi
call   10d0 <NIS_RES_OBJECT@plt>
mov    0x8(%rax),%rax
mov    %rax,-0x88(%rbp)
mov    %r13,%rdi
call   10d0 <NIS_RES_OBJECT@plt>
mov    (%rax),%rax
mov    %rax,-0x80(%rbp)
mov    %r13,%rdi
call   10d0 <NIS_RES_OBJECT@plt>
mov    (%rax),%rdi
call   1070 <strlen@plt>
lea    0xa(%rax),%edx
mov    -0x80(%rbp),%rdi
mov    %rbx,%rsi
call   1050 <nis_domain_of_r@plt>
mov    %r12,%rdi
mov    -0x88(%rbp),%rsi
mov    %rax,%rdx
xor    %eax,%eax
call   1080 <printf@plt>
mov    %r15,%rsp
test   %r14,%r14
je     15f9 <nis_print_group_entry+0x419>
lea    0xa71(%rip),%rdi
call   10c0 <_@plt>
mov    0x2a01(%rip),%rcx
mov    (%rcx),%esi
mov    %rax,%rdi
call   1090 <fputs@plt>
lea    0xa6b(%rip),%rbx
xor    %r15d,%r15d
mov    -0x60(%rbp),%r12
nop
mov    (%r12,%r15,8),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
add    $0x1,%r15
cmp    %r15,%r14
jne    15e0 <nis_print_group_entry+0x400>
jmp    1616 <nis_print_group_entry+0x436>
lea    0xa48(%rip),%rdi
call   10c0 <_@plt>
mov    0x29bc(%rip),%rcx
mov    (%rcx),%esi
mov    %rax,%rdi
call   1090 <fputs@plt>
mov    -0x90(%rbp),%r15
test   %r15,%r15
je     166d <nis_print_group_entry+0x48d>
lea    0xa38(%rip),%rdi
call   10c0 <_@plt>
mov    0x2993(%rip),%rcx
mov    (%rcx),%esi
mov    %rax,%rdi
call   1090 <fputs@plt>
lea    0x9fd(%rip),%r14
xor    %ebx,%ebx
mov    -0x30(%rbp),%r12
nopl   0x0(%rax)
mov    (%r12,%rbx,8),%rsi
add    $0x2,%rsi
mov    %r14,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
add    $0x1,%rbx
cmp    %rbx,%r15
jne    1650 <nis_print_group_entry+0x470>
jmp    168a <nis_print_group_entry+0x4aa>
lea    0xa04(%rip),%rdi
call   10c0 <_@plt>
mov    0x2948(%rip),%rcx
mov    (%rcx),%esi
mov    %rax,%rdi
call   1090 <fputs@plt>
mov    %r13,-0x30(%rbp)
mov    -0x38(%rbp),%r13
test   %r13,%r13
je     16ed <nis_print_group_entry+0x50d>
lea    0x9f3(%rip),%rdi
call   10c0 <_@plt>
mov    0x291e(%rip),%rcx
mov    (%rcx),%esi
mov    %rax,%rdi
call   1090 <fputs@plt>
lea    0x988(%rip),%r14
xor    %ebx,%ebx
mov    -0x68(%rbp),%r12
mov    -0x58(%rbp),%r15
cs nopw 0x0(%rax,%rax,1)
nop
mov    (%r12,%rbx,8),%rsi
add    $0x1,%rsi
mov    %r14,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
add    $0x1,%rbx
cmp    %rbx,%r13
jne    16d0 <nis_print_group_entry+0x4f0>
jmp    170e <nis_print_group_entry+0x52e>
lea    0x9b5(%rip),%rdi
call   10c0 <_@plt>
mov    0x28c8(%rip),%rcx
mov    (%rcx),%esi
mov    %rax,%rdi
call   1090 <fputs@plt>
mov    -0x58(%rbp),%r15
mov    -0x40(%rbp),%r12
test   %r12,%r12
je     176d <nis_print_group_entry+0x58d>
lea    0x9a5(%rip),%rdi
call   10c0 <_@plt>
mov    0x289e(%rip),%rcx
mov    (%rcx),%esi
mov    %rax,%rdi
call   1090 <fputs@plt>
lea    0x908(%rip),%r14
xor    %ebx,%ebx
mov    -0x30(%rbp),%r13
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    (%r15,%rbx,8),%rsi
add    $0x1,%rsi
mov    %r14,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
add    $0x1,%rbx
cmp    %rbx,%r12
jne    1750 <nis_print_group_entry+0x570>
jmp    178e <nis_print_group_entry+0x5ae>
lea    0x969(%rip),%rdi
call   10c0 <_@plt>
mov    0x2848(%rip),%rcx
mov    (%rcx),%esi
mov    %rax,%rdi
call   1090 <fputs@plt>
mov    -0x30(%rbp),%r13
mov    -0x48(%rbp),%r12
test   %r12,%r12
je     17ed <nis_print_group_entry+0x60d>
lea    0x95b(%rip),%rdi
call   10c0 <_@plt>
mov    0x281e(%rip),%rcx
mov    (%rcx),%esi
mov    %rax,%rdi
call   1090 <fputs@plt>
lea    0x888(%rip),%r14
xor    %ebx,%ebx
mov    -0x70(%rbp),%r15
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    (%r15,%rbx,8),%rsi
add    $0x3,%rsi
mov    %r14,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
add    $0x1,%rbx
cmp    %rbx,%r12
jne    17d0 <nis_print_group_entry+0x5f0>
jmp    180a <nis_print_group_entry+0x62a>
lea    0x91f(%rip),%rdi
call   10c0 <_@plt>
mov    0x27c8(%rip),%rcx
mov    (%rcx),%esi
mov    %rax,%rdi
call   1090 <fputs@plt>
mov    -0x50(%rbp),%r12
test   %r12,%r12
je     185d <nis_print_group_entry+0x67d>
lea    0x915(%rip),%rdi
call   10c0 <_@plt>
mov    0x27a2(%rip),%rcx
mov    (%rcx),%esi
mov    %rax,%rdi
call   1090 <fputs@plt>
lea    0x913(%rip),%r14
xor    %ebx,%ebx
mov    -0x78(%rbp),%r15
nopl   (%rax)
mov    (%r15,%rbx,8),%rsi
add    $0x2,%rsi
mov    %r14,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
add    $0x1,%rbx
cmp    %rbx,%r12
jne    1840 <nis_print_group_entry+0x660>
jmp    187a <nis_print_group_entry+0x69a>
lea    0x8ec(%rip),%rdi
call   10c0 <_@plt>
mov    0x2758(%rip),%rcx
mov    (%rcx),%esi
mov    %rax,%rdi
call   1090 <fputs@plt>
mov    %r13,%rdi
call   1100 <nis_freeresult@plt>
mov    -0x98(%rbp),%rsp
lea    -0x28(%rbp),%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
%struct.TYPE_7__ = type { i8*, i8*, %struct.TYPE_6__ }
%struct.TYPE_6__ = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i64, i8** }
@.str = [12 x i8] c".groups_dir\00"
@FOLLOW_LINKS = global i32 0
@EXPAND_NAME = global i32 0
@NIS_SUCCESS = global i64 0
@NIS_GROUP_OBJ = global i64 0
@.str.1 = [32 x i8] c"Group entry for \22%s.%s\22 group:\0A\00"
@.str.2 = [23 x i8] c" Explicit members:\0A\00"
@stdout = global i32 0
@.str.3 = [5 x i8] c"\09%s\0A\00"
@.str.4 = [25 x i8] c" No explicit members\0A\00"
@.str.5 = [23 x i8] c" Implicit members:\0A\00"
@.str.6 = [25 x i8] c" No implicit members\0A\00"
@.str.7 = [24 x i8] c" Recursive members:\0A\00"
@.str.8 = [26 x i8] c" No recursive members\0A\00"
@.str.9 = [26 x i8] c" Explicit nonmembers:\0A\00"
@.str.10 = [28 x i8] c" No explicit nonmembers\0A\00"
@.str.11 = [26 x i8] c" Implicit nonmembers:\0A\00"
@.str.12 = [28 x i8] c" No implicit nonmembers\0A\00"
@.str.13 = [27 x i8] c" Recursive nonmembers:\0A\00"
@.str.14 = [6 x i8] c"\09%s=n\00"
@.str.15 = [29 x i8] c" No recursive nonmembers\0A\00"
define void @nis_print_group_entry(i8* %0) {
%2 = alloca i8*
%3 = alloca i64
%4 = alloca i8*
%5 = alloca i64
%6 = alloca i64
%7 = alloca i64
%8 = alloca i32*
%9 = alloca i8*
%10 = alloca i8*
%11 = alloca i64
%12 = alloca i32
%13 = alloca i64
%14 = alloca i64
%15 = alloca i64
%16 = alloca i64
%17 = alloca i64
%18 = alloca i64
%19 = alloca i64
%20 = alloca i64
%21 = alloca i64
%22 = alloca i64
%23 = alloca i64
%24 = alloca i64
%25 = alloca i8*
%26 = alloca i32
%27 = alloca i8*
%28 = alloca i64
store i8* %0, i8** %2
%29 = load i8*, i8** %2
%30 = icmp ne i8* %29, null
br i1 %30, label %31, label %393
31: ; preds = %1
%32 = load i8*, i8** %2
%33 = getelementptr inbounds i8, i8* %32, i64 0
%34 = load i8, i8* %33
%35 = sext i8 %34 to i32
%36 = icmp ne i32 %35, 0
br i1 %36, label %37, label %393
37: ; preds = %31
%38 = load i8*, i8** %2
%39 = call i32 @strlen(i8* %38)
%40 = sext i32 %39 to i64
store i64 %40, i64* %3
%41 = load i64, i64* %3
%42 = add i64 %41, 50
%43 = call i8* @llvm.stacksave()
store i8* %43, i8** %4
%44 = alloca i8, i64 %42
store i64 %42, i64* %5
%45 = load i64, i64* %3
%46 = add i64 %45, 3
%47 = alloca i8, i64 %46
store i64 %46, i64* %6
%48 = load i64, i64* %3
%49 = add i64 %48, 3
%50 = alloca i8, i64 %49
store i64 %49, i64* %7
%51 = load i8*, i8** %2
%52 = sub i64 %46, 1
%53 = trunc i64 %52 to i32
%54 = call i8* @nis_leaf_of_r(i8* %51, i8* %47, i32 %53)
%55 = call i8* @stpcpy(i8* %44, i8* %54)
store i8* %55, i8** %9
%56 = load i8*, i8** %9
%57 = call i8* @stpcpy(i8* %56, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0))
store i8* %57, i8** %9
%58 = load i8*, i8** %2
%59 = sub i64 %49, 1
%60 = trunc i64 %59 to i32
%61 = call i8* @nis_domain_of_r(i8* %58, i8* %50, i32 %60)
store i8* %61, i8** %10
%62 = load i8*, i8** %10
%63 = icmp ne i8* %62, null
br i1 %63, label %64, label %76
64: ; preds = %37
%65 = load i8*, i8** %10
%66 = getelementptr inbounds i8, i8* %65, i64 0
%67 = load i8, i8* %66
%68 = sext i8 %67 to i32
%69 = icmp ne i32 %68, 0
br i1 %69, label %70, label %76
70: ; preds = %64
%71 = load i8*, i8** %9
%72 = getelementptr inbounds i8, i8* %71, i32 1
store i8* %72, i8** %9
store i8 46, i8* %71
%73 = load i8*, i8** %9
%74 = load i8*, i8** %10
%75 = call i8* @stpcpy(i8* %73, i8* %74)
br label %76
76: ; preds = %70, %64, %37
%77 = load i32, i32* @FOLLOW_LINKS
%78 = load i32, i32* @EXPAND_NAME
%79 = or i32 %77, %78
%80 = call i32* @nis_lookup(i8* %44, i32 %79)
store i32* %80, i32** %8
%81 = load i32*, i32** %8
%82 = icmp eq i32* %81, null
br i1 %82, label %83, label %84
83: ; preds = %76
store i32 1, i32* %12
br label %389
84: ; preds = %76
%85 = load i32*, i32** %8
%86 = call i64 @NIS_RES_STATUS(i32* %85)
%87 = load i64, i64* @NIS_SUCCESS
%88 = icmp ne i64 %86, %87
br i1 %88, label %99, label %89
89: ; preds = %84
%90 = load i32*, i32** %8
%91 = call i32 @NIS_RES_NUMOBJ(i32* %90)
%92 = icmp ne i32 %91, 1
br i1 %92, label %99, label %93
93: ; preds = %89
%94 = load i32*, i32** %8
%95 = call %struct.TYPE_7__* @NIS_RES_OBJECT(i32* %94)
%96 = call i64 @__type_of(%struct.TYPE_7__* %95)
%97 = load i64, i64* @NIS_GROUP_OBJ
%98 = icmp ne i64 %96, %97
br i1 %98, label %99, label %102
99: ; preds = %93, %89, %84
%100 = load i32*, i32** %8
%101 = call i32 @nis_freeresult(i32* %100)
store i32 1, i32* %12
br label %389
102: ; preds = %93
%103 = load i32*, i32** %8
%104 = call i32 @NIS_RES_NUMOBJ(i32* %103)
%105 = zext i32 %104 to i64
%106 = alloca i8*, i64 %105
store i64 %105, i64* %13
%107 = load i32*, i32** %8
%108 = call i32 @NIS_RES_NUMOBJ(i32* %107)
%109 = zext i32 %108 to i64
%110 = alloca i8*, i64 %109
store i64 %109, i64* %14
%111 = load i32*, i32** %8
%112 = call i32 @NIS_RES_NUMOBJ(i32* %111)
%113 = zext i32 %112 to i64
%114 = alloca i8*, i64 %113
store i64 %113, i64* %15
%115 = load i32*, i32** %8
%116 = call i32 @NIS_RES_NUMOBJ(i32* %115)
%117 = zext i32 %116 to i64
%118 = alloca i8*, i64 %117
store i64 %117, i64* %16
%119 = load i32*, i32** %8
%120 = call i32 @NIS_RES_NUMOBJ(i32* %119)
%121 = zext i32 %120 to i64
%122 = alloca i8*, i64 %121
store i64 %121, i64* %17
%123 = load i32*, i32** %8
%124 = call i32 @NIS_RES_NUMOBJ(i32* %123)
%125 = zext i32 %124 to i64
%126 = alloca i8*, i64 %125
store i64 %125, i64* %18
store i64 0, i64* %19
store i64 0, i64* %20
store i64 0, i64* %21
store i64 0, i64* %22
store i64 0, i64* %23
store i64 0, i64* %24
store i64 0, i64* %11
br label %127
127: ; preds = %207, %102
%128 = load i64, i64* %11
%129 = load i32*, i32** %8
%130 = call %struct.TYPE_7__* @NIS_RES_OBJECT(i32* %129)
%131 = getelementptr inbounds %struct.TYPE_7__, %struct.TYPE_7__* %130, i32 0, i32 2
%132 = getelementptr inbounds %struct.TYPE_6__, %struct.TYPE_6__* %131, i32 0, i32 0
%133 = getelementptr inbounds %struct.TYPE_5__, %struct.TYPE_5__* %132, i32 0, i32 0
%134 = load i64, i64* %133
%135 = icmp ult i64 %128, %134
br i1 %135, label %136, label %210
136: ; preds = %127
%137 = load i32*, i32** %8
%138 = call %struct.TYPE_7__* @NIS_RES_OBJECT(i32* %137)
%139 = getelementptr inbounds %struct.TYPE_7__, %struct.TYPE_7__* %138, i32 0, i32 2
%140 = getelementptr inbounds %struct.TYPE_6__, %struct.TYPE_6__* %139, i32 0, i32 0
%141 = getelementptr inbounds %struct.TYPE_5__, %struct.TYPE_5__* %140, i32 0, i32 1
%142 = load i8**, i8*** %141
%143 = load i64, i64* %11
%144 = getelementptr inbounds i8*, i8** %142, i64 %143
%145 = load i8*, i8** %144
store i8* %145, i8** %25
%146 = load i8*, i8** %25
%147 = getelementptr inbounds i8, i8* %146, i64 0
%148 = load i8, i8* %147
%149 = sext i8 %148 to i32
%150 = icmp eq i32 %149, 45
%151 = zext i1 %150 to i32
store i32 %151, i32* %26
%152 = load i8*, i8** %25
%153 = load i32, i32* %26
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds i8, i8* %152, i64 %154
%156 = load i8, i8* %155
%157 = sext i8 %156 to i32
switch i32 %157, label %190 [
i32 42, label %158
i32 64, label %174
]
158: ; preds = %136
%159 = load i32, i32* %26
%160 = icmp ne i32 %159, 0
br i1 %160, label %161, label %167
161: ; preds = %158
%162 = load i8*, i8** %25
%163 = load i64, i64* %23
%164 = getelementptr inbounds i8*, i8** %122, i64 %163
store i8* %162, i8** %164
%165 = load i64, i64* %23
%166 = add i64 %165, 1
store i64 %166, i64* %23
br label %173
167: ; preds = %158
%168 = load i8*, i8** %25
%169 = load i64, i64* %20
%170 = getelementptr inbounds i8*, i8** %110, i64 %169
store i8* %168, i8** %170
%171 = load i64, i64* %20
%172 = add i64 %171, 1
store i64 %172, i64* %20
br label %173
173: ; preds = %167, %161
br label %206
174: ; preds = %136
%175 = load i32, i32* %26
%176 = icmp ne i32 %175, 0
br i1 %176, label %177, label %183
177: ; preds = %174
%178 = load i8*, i8** %25
%179 = load i64, i64* %24
%180 = getelementptr inbounds i8*, i8** %126, i64 %179
store i8* %178, i8** %180
%181 = load i64, i64* %24
%182 = add i64 %181, 1
store i64 %182, i64* %24
br label %189
183: ; preds = %174
%184 = load i8*, i8** %25
%185 = load i64, i64* %21
%186 = getelementptr inbounds i8*, i8** %114, i64 %185
store i8* %184, i8** %186
%187 = load i64, i64* %21
%188 = add i64 %187, 1
store i64 %188, i64* %21
br label %189
189: ; preds = %183, %177
br label %206
190: ; preds = %136
%191 = load i32, i32* %26
%192 = icmp ne i32 %191, 0
br i1 %192, label %193, label %199
193: ; preds = %190
%194 = load i8*, i8** %25
%195 = load i64, i64* %22
%196 = getelementptr inbounds i8*, i8** %118, i64 %195
store i8* %194, i8** %196
%197 = load i64, i64* %22
%198 = add i64 %197, 1
store i64 %198, i64* %22
br label %205
199: ; preds = %190
%200 = load i8*, i8** %25
%201 = load i64, i64* %19
%202 = getelementptr inbounds i8*, i8** %106, i64 %201
store i8* %200, i8** %202
%203 = load i64, i64* %19
%204 = add i64 %203, 1
store i64 %204, i64* %19
br label %205
205: ; preds = %199, %193
br label %206
206: ; preds = %205, %189, %173
br label %207
207: ; preds = %206
%208 = load i64, i64* %11
%209 = add i64 %208, 1
store i64 %209, i64* %11
br label %127
210: ; preds = %127
%211 = load i32*, i32** %8
%212 = call %struct.TYPE_7__* @NIS_RES_OBJECT(i32* %211)
%213 = getelementptr inbounds %struct.TYPE_7__, %struct.TYPE_7__* %212, i32 0, i32 0
%214 = load i8*, i8** %213
%215 = call i32 @strlen(i8* %214)
%216 = add nsw i32 %215, 10
%217 = zext i32 %216 to i64
%218 = call i8* @llvm.stacksave()
store i8* %218, i8** %27
%219 = alloca i8, i64 %217
store i64 %217, i64* %28
%220 = call i8* @_(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.1, i64 0, i64 0))
%221 = load i32*, i32** %8
%222 = call %struct.TYPE_7__* @NIS_RES_OBJECT(i32* %221)
%223 = getelementptr inbounds %struct.TYPE_7__, %struct.TYPE_7__* %222, i32 0, i32 1
%224 = load i8*, i8** %223
%225 = load i32*, i32** %8
%226 = call %struct.TYPE_7__* @NIS_RES_OBJECT(i32* %225)
%227 = getelementptr inbounds %struct.TYPE_7__, %struct.TYPE_7__* %226, i32 0, i32 0
%228 = load i8*, i8** %227
%229 = load i32*, i32** %8
%230 = call %struct.TYPE_7__* @NIS_RES_OBJECT(i32* %229)
%231 = getelementptr inbounds %struct.TYPE_7__, %struct.TYPE_7__* %230, i32 0, i32 0
%232 = load i8*, i8** %231
%233 = call i32 @strlen(i8* %232)
%234 = add nsw i32 %233, 10
%235 = call i8* @nis_domain_of_r(i8* %228, i8* %219, i32 %234)
%236 = call i32 (i8*, i8*, ...) @printf(i8* %220, i8* %224, i8* %235)
%237 = load i8*, i8** %27
%238 = load i64, i64* %19
%239 = icmp ne i64 %238, 0
br i1 %239, label %240, label %257
240: ; preds = %210
%241 = call i8* @_(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0))
%242 = load i32, i32* @stdout
%243 = call i32 @fputs(i8* %241, i32 %242)
store i64 0, i64* %11
br label %244
244: ; preds = %253, %240
%245 = load i64, i64* %11
%246 = load i64, i64* %19
%247 = icmp ult i64 %245, %246
br i1 %247, label %248, label %256
248: ; preds = %244
%249 = load i64, i64* %11
%250 = getelementptr inbounds i8*, i8** %106, i64 %249
%251 = load i8*, i8** %250
%252 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8* %251)
br label %253
253: ; preds = %248
%254 = load i64, i64* %11
%255 = add i64 %254, 1
store i64 %255, i64* %11
br label %244
256: ; preds = %244
br label %261
257: ; preds = %210
%258 = call i8* @_(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.4, i64 0, i64 0))
%259 = load i32, i32* @stdout
%260 = call i32 @fputs(i8* %258, i32 %259)
br label %261
261: ; preds = %257, %256
%262 = load i64, i64* %20
%263 = icmp ne i64 %262, 0
br i1 %263, label %264, label %282
264: ; preds = %261
%265 = call i8* @_(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.5, i64 0, i64 0))
%266 = load i32, i32* @stdout
%267 = call i32 @fputs(i8* %265, i32 %266)
store i64 0, i64* %11
br label %268
268: ; preds = %278, %264
%269 = load i64, i64* %11
%270 = load i64, i64* %20
%271 = icmp ult i64 %269, %270
br i1 %271, label %272, label %281
272: ; preds = %268
%273 = load i64, i64* %11
%274 = getelementptr inbounds i8*, i8** %110, i64 %273
%275 = load i8*, i8** %274
%276 = getelementptr inbounds i8, i8* %275, i64 2
%277 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8* %276)
br label %278
278: ; preds = %272
%279 = load i64, i64* %11
%280 = add i64 %279, 1
store i64 %280, i64* %11
br label %268
281: ; preds = %268
br label %286
282: ; preds = %261
%283 = call i8* @_(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0))
%284 = load i32, i32* @stdout
%285 = call i32 @fputs(i8* %283, i32 %284)
br label %286
286: ; preds = %282, %281
%287 = load i64, i64* %21
%288 = icmp ne i64 %287, 0
br i1 %288, label %289, label %307
289: ; preds = %286
%290 = call i8* @_(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0))
%291 = load i32, i32* @stdout
%292 = call i32 @fputs(i8* %290, i32 %291)
store i64 0, i64* %11
br label %293
293: ; preds = %303, %289
%294 = load i64, i64* %11
%295 = load i64, i64* %21
%296 = icmp ult i64 %294, %295
br i1 %296, label %297, label %306
297: ; preds = %293
%298 = load i64, i64* %11
%299 = getelementptr inbounds i8*, i8** %114, i64 %298
%300 = load i8*, i8** %299
%301 = getelementptr inbounds i8, i8* %300, i64 1
%302 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8* %301)
br label %303
303: ; preds = %297
%304 = load i64, i64* %11
%305 = add i64 %304, 1
store i64 %305, i64* %11
br label %293
306: ; preds = %293
br label %311
307: ; preds = %286
%308 = call i8* @_(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.8, i64 0, i64 0))
%309 = load i32, i32* @stdout
%310 = call i32 @fputs(i8* %308, i32 %309)
br label %311
311: ; preds = %307, %306
%312 = load i64, i64* %22
%313 = icmp ne i64 %312, 0
br i1 %313, label %314, label %332
314: ; preds = %311
%315 = call i8* @_(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.9, i64 0, i64 0))
%316 = load i32, i32* @stdout
%317 = call i32 @fputs(i8* %315, i32 %316)
store i64 0, i64* %11
br label %318
318: ; preds = %328, %314
%319 = load i64, i64* %11
%320 = load i64, i64* %22
%321 = icmp ult i64 %319, %320
br i1 %321, label %322, label %331
322: ; preds = %318
%323 = load i64, i64* %11
%324 = getelementptr inbounds i8*, i8** %118, i64 %323
%325 = load i8*, i8** %324
%326 = getelementptr inbounds i8, i8* %325, i64 1
%327 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8* %326)
br label %328
328: ; preds = %322
%329 = load i64, i64* %11
%330 = add i64 %329, 1
store i64 %330, i64* %11
br label %318
331: ; preds = %318
br label %336
332: ; preds = %311
%333 = call i8* @_(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.10, i64 0, i64 0))
%334 = load i32, i32* @stdout
%335 = call i32 @fputs(i8* %333, i32 %334)
br label %336
336: ; preds = %332, %331
%337 = load i64, i64* %23
%338 = icmp ne i64 %337, 0
br i1 %338, label %339, label %357
339: ; preds = %336
%340 = call i8* @_(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.11, i64 0, i64 0))
%341 = load i32, i32* @stdout
%342 = call i32 @fputs(i8* %340, i32 %341)
store i64 0, i64* %11
br label %343
343: ; preds = %353, %339
%344 = load i64, i64* %11
%345 = load i64, i64* %23
%346 = icmp ult i64 %344, %345
br i1 %346, label %347, label %356
347: ; preds = %343
%348 = load i64, i64* %11
%349 = getelementptr inbounds i8*, i8** %122, i64 %348
%350 = load i8*, i8** %349
%351 = getelementptr inbounds i8, i8* %350, i64 3
%352 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8* %351)
br label %353
353: ; preds = %347
%354 = load i64, i64* %11
%355 = add i64 %354, 1
store i64 %355, i64* %11
br label %343
356: ; preds = %343
br label %361
357: ; preds = %336
%358 = call i8* @_(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.12, i64 0, i64 0))
%359 = load i32, i32* @stdout
%360 = call i32 @fputs(i8* %358, i32 %359)
br label %361
361: ; preds = %357, %356
%362 = load i64, i64* %24
%363 = icmp ne i64 %362, 0
br i1 %363, label %364, label %382
364: ; preds = %361
%365 = call i8* @_(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.13, i64 0, i64 0))
%366 = load i32, i32* @stdout
%367 = call i32 @fputs(i8* %365, i32 %366)
store i64 0, i64* %11
br label %368
368: ; preds = %378, %364
%369 = load i64, i64* %11
%370 = load i64, i64* %24
%371 = icmp ult i64 %369, %370
br i1 %371, label %372, label %381
372: ; preds = %368
%373 = load i64, i64* %11
%374 = getelementptr inbounds i8*, i8** %126, i64 %373
%375 = load i8*, i8** %374
%376 = getelementptr inbounds i8, i8* %375, i64 2
%377 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.14, i64 0, i64 0), i8* %376)
br label %378
378: ; preds = %372
%379 = load i64, i64* %11
%380 = add i64 %379, 1
store i64 %380, i64* %11
br label %368
381: ; preds = %368
br label %386
382: ; preds = %361
%383 = call i8* @_(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.15, i64 0, i64 0))
%384 = load i32, i32* @stdout
%385 = call i32 @fputs(i8* %383, i32 %384)
br label %386
386: ; preds = %382, %381
%387 = load i32*, i32** %8
%388 = call i32 @nis_freeresult(i32* %387)
store i32 0, i32* %12
br label %389
389: ; preds = %386, %99, %83
%390 = load i8*, i8** %4
%391 = load i32, i32* %12
switch i32 %391, label %394 [
i32 0, label %392
i32 1, label %393
]
392: ; preds = %389
br label %393
393: ; preds = %389, %392, %31, %1
ret void
394: ; preds = %389
unreachable
}

LLVM IR (-O2):
%struct.TYPE_7__ = type { i8*, i8*, %struct.TYPE_6__ }
%struct.TYPE_6__ = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i64, i8** }
@.str = [12 x i8] c".groups_dir\00"
@FOLLOW_LINKS = global i32 0
@EXPAND_NAME = global i32 0
@NIS_SUCCESS = global i64 0
@NIS_GROUP_OBJ = global i64 0
@.str.1 = [32 x i8] c"Group entry for \22%s.%s\22 group:\0A\00"
@.str.2 = [23 x i8] c" Explicit members:\0A\00"
@stdout = global i32 0
@.str.3 = [5 x i8] c"\09%s\0A\00"
@.str.4 = [25 x i8] c" No explicit members\0A\00"
@.str.5 = [23 x i8] c" Implicit members:\0A\00"
@.str.6 = [25 x i8] c" No implicit members\0A\00"
@.str.7 = [24 x i8] c" Recursive members:\0A\00"
@.str.8 = [26 x i8] c" No recursive members\0A\00"
@.str.9 = [26 x i8] c" Explicit nonmembers:\0A\00"
@.str.10 = [28 x i8] c" No explicit nonmembers\0A\00"
@.str.11 = [26 x i8] c" Implicit nonmembers:\0A\00"
@.str.12 = [28 x i8] c" No implicit nonmembers\0A\00"
@.str.13 = [27 x i8] c" Recursive nonmembers:\0A\00"
@.str.14 = [6 x i8] c"\09%s=n\00"
@.str.15 = [29 x i8] c" No recursive nonmembers\0A\00"
define void @nis_print_group_entry(i8* %0) {
%2 = icmp eq i8* %0, null
br i1 %2, label %258, label %3
3: ; preds = %1
%4 = load i8, i8* %0
%5 = icmp eq i8 %4, 0
br i1 %5, label %258, label %6
6: ; preds = %3
%7 = tail call i32 @strlen(i8* %0)
%8 = sext i32 %7 to i64
%9 = add nsw i64 %8, 50
%10 = tail call i8* @llvm.stacksave()
%11 = alloca i8, i64 %9
%12 = add nsw i64 %8, 3
%13 = alloca i8, i64 %12
%14 = alloca i8, i64 %12
%15 = add i32 %7, 2
%16 = call i8* @nis_leaf_of_r(i8* %0, i8* %13, i32 %15)
%17 = call i8* @stpcpy(i8* %11, i8* %16)
%18 = getelementptr i8, i8* %17, i64 11
%19 = call i8* @nis_domain_of_r(i8* %0, i8* %14, i32 %15)
%20 = icmp eq i8* %19, null
br i1 %20, label %27, label %21
21: ; preds = %6
%22 = load i8, i8* %19
%23 = icmp eq i8 %22, 0
br i1 %23, label %27, label %24
24: ; preds = %21
%25 = getelementptr i8, i8* %17, i64 12
store i8 46, i8* %18
%26 = call i8* @strcpy(i8* dereferenceable(1) %25, i8* %19)
br label %27
27: ; preds = %24, %21, %6
%28 = load i32, i32* @FOLLOW_LINKS
%29 = load i32, i32* @EXPAND_NAME
%30 = or i32 %29, %28
%31 = call i32* @nis_lookup(i8* %11, i32 %30)
%32 = icmp eq i32* %31, null
br i1 %32, label %257, label %33
33: ; preds = %27
%34 = call i64 @NIS_RES_STATUS(i32* %31)
%35 = load i64, i64* @NIS_SUCCESS
%36 = icmp eq i64 %34, %35
br i1 %36, label %37, label %255
37: ; preds = %33
%38 = call i32 @NIS_RES_NUMOBJ(i32* %31)
%39 = icmp eq i32 %38, 1
br i1 %39, label %40, label %255
40: ; preds = %37
%41 = call %struct.TYPE_7__* @NIS_RES_OBJECT(i32* %31)
%42 = call i64 @__type_of(%struct.TYPE_7__* %41)
%43 = load i64, i64* @NIS_GROUP_OBJ
%44 = icmp eq i64 %42, %43
br i1 %44, label %45, label %255
45: ; preds = %40
%46 = call i32 @NIS_RES_NUMOBJ(i32* %31)
%47 = zext i32 %46 to i64
%48 = alloca i8*, i64 %47
%49 = call i32 @NIS_RES_NUMOBJ(i32* %31)
%50 = zext i32 %49 to i64
%51 = alloca i8*, i64 %50
%52 = call i32 @NIS_RES_NUMOBJ(i32* %31)
%53 = zext i32 %52 to i64
%54 = alloca i8*, i64 %53
%55 = call i32 @NIS_RES_NUMOBJ(i32* %31)
%56 = zext i32 %55 to i64
%57 = alloca i8*, i64 %56
%58 = call i32 @NIS_RES_NUMOBJ(i32* %31)
%59 = zext i32 %58 to i64
%60 = alloca i8*, i64 %59
%61 = call i32 @NIS_RES_NUMOBJ(i32* %31)
%62 = zext i32 %61 to i64
%63 = alloca i8*, i64 %62
%64 = call %struct.TYPE_7__* @NIS_RES_OBJECT(i32* %31)
%65 = getelementptr inbounds %struct.TYPE_7__, %struct.TYPE_7__* %64, i64 0, i32 2, i32 0, i32 0
%66 = load i64, i64* %65
%67 = icmp eq i64 %66, 0
br i1 %67, label %120, label %68
68: ; preds = %45, %108
%69 = phi i64 [ %115, %108 ], [ 0, %45 ]
%70 = phi i64 [ %114, %108 ], [ 0, %45 ]
%71 = phi i64 [ %113, %108 ], [ 0, %45 ]
%72 = phi i64 [ %112, %108 ], [ 0, %45 ]
%73 = phi i64 [ %111, %108 ], [ 0, %45 ]
%74 = phi i64 [ %110, %108 ], [ 0, %45 ]
%75 = phi i64 [ %109, %108 ], [ 0, %45 ]
%76 = call %struct.TYPE_7__* @NIS_RES_OBJECT(i32* %31)
%77 = getelementptr inbounds %struct.TYPE_7__, %struct.TYPE_7__* %76, i64 0, i32 2, i32 0, i32 1
%78 = load i8**, i8*** %77
%79 = getelementptr inbounds i8*, i8** %78, i64 %69
%80 = load i8*, i8** %79
%81 = load i8, i8* %80
%82 = icmp eq i8 %81, 45
%83 = zext i1 %82 to i64
%84 = getelementptr inbounds i8, i8* %80, i64 %83
%85 = load i8, i8* %84
%86 = sext i8 %85 to i32
switch i32 %86, label %101 [
i32 42, label %87
i32 64, label %94
]
87: ; preds = %68
br i1 %82, label %88, label %91
88: ; preds = %87
%89 = getelementptr inbounds i8*, i8** %60, i64 %72
store i8* %80, i8** %89
%90 = add i64 %72, 1
br label %108
91: ; preds = %87
%92 = getelementptr inbounds i8*, i8** %51, i64 %75
store i8* %80, i8** %92
%93 = add i64 %75, 1
br label %108
94: ; preds = %68
br i1 %82, label %95, label %98
95: ; preds = %94
%96 = getelementptr inbounds i8*, i8** %63, i64 %71
store i8* %80, i8** %96
%97 = add i64 %71, 1
br label %108
98: ; preds = %94
%99 = getelementptr inbounds i8*, i8** %54, i64 %74
store i8* %80, i8** %99
%100 = add i64 %74, 1
br label %108
101: ; preds = %68
br i1 %82, label %102, label %105
102: ; preds = %101
%103 = getelementptr inbounds i8*, i8** %57, i64 %73
store i8* %80, i8** %103
%104 = add i64 %73, 1
br label %108
105: ; preds = %101
%106 = getelementptr inbounds i8*, i8** %48, i64 %70
store i8* %80, i8** %106
%107 = add i64 %70, 1
br label %108
108: ; preds = %102, %105, %95, %98, %88, %91
%109 = phi i64 [ %75, %102 ], [ %75, %105 ], [ %75, %95 ], [ %75, %98 ], [ %75, %88 ], [ %93, %91 ]
%110 = phi i64 [ %74, %102 ], [ %74, %105 ], [ %74, %95 ], [ %100, %98 ], [ %74, %88 ], [ %74, %91 ]
%111 = phi i64 [ %104, %102 ], [ %73, %105 ], [ %73, %95 ], [ %73, %98 ], [ %73, %88 ], [ %73, %91 ]
%112 = phi i64 [ %72, %102 ], [ %72, %105 ], [ %72, %95 ], [ %72, %98 ], [ %90, %88 ], [ %72, %91 ]
%113 = phi i64 [ %71, %102 ], [ %71, %105 ], [ %97, %95 ], [ %71, %98 ], [ %71, %88 ], [ %71, %91 ]
%114 = phi i64 [ %70, %102 ], [ %107, %105 ], [ %70, %95 ], [ %70, %98 ], [ %70, %88 ], [ %70, %91 ]
%115 = add nuw i64 %69, 1
%116 = call %struct.TYPE_7__* @NIS_RES_OBJECT(i32* %31)
%117 = getelementptr inbounds %struct.TYPE_7__, %struct.TYPE_7__* %116, i64 0, i32 2, i32 0, i32 0
%118 = load i64, i64* %117
%119 = icmp ult i64 %115, %118
br i1 %119, label %68, label %120
120: ; preds = %108, %45
%121 = phi i64 [ 0, %45 ], [ %109, %108 ]
%122 = phi i64 [ 0, %45 ], [ %110, %108 ]
%123 = phi i64 [ 0, %45 ], [ %111, %108 ]
%124 = phi i64 [ 0, %45 ], [ %112, %108 ]
%125 = phi i64 [ 0, %45 ], [ %113, %108 ]
%126 = phi i64 [ 0, %45 ], [ %114, %108 ]
%127 = call %struct.TYPE_7__* @NIS_RES_OBJECT(i32* %31)
%128 = getelementptr inbounds %struct.TYPE_7__, %struct.TYPE_7__* %127, i64 0, i32 0
%129 = load i8*, i8** %128
%130 = call i32 @strlen(i8* %129)
%131 = add nsw i32 %130, 10
%132 = zext i32 %131 to i64
%133 = call i8* @llvm.stacksave()
%134 = alloca i8, i64 %132
%135 = call i8* @_(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.1, i64 0, i64 0))
%136 = call %struct.TYPE_7__* @NIS_RES_OBJECT(i32* %31)
%137 = getelementptr inbounds %struct.TYPE_7__, %struct.TYPE_7__* %136, i64 0, i32 1
%138 = load i8*, i8** %137
%139 = call %struct.TYPE_7__* @NIS_RES_OBJECT(i32* %31)
%140 = getelementptr inbounds %struct.TYPE_7__, %struct.TYPE_7__* %139, i64 0, i32 0
%141 = load i8*, i8** %140
%142 = call %struct.TYPE_7__* @NIS_RES_OBJECT(i32* %31)
%143 = getelementptr inbounds %struct.TYPE_7__, %struct.TYPE_7__* %142, i64 0, i32 0
%144 = load i8*, i8** %143
%145 = call i32 @strlen(i8* %144)
%146 = add nsw i32 %145, 10
%147 = call i8* @nis_domain_of_r(i8* %141, i8* %134, i32 %146)
%148 = call i32 (i8*, i8*, ...) @printf(i8* %135, i8* %138, i8* %147)
%149 = icmp eq i64 %126, 0
br i1 %149, label %161, label %150
150: ; preds = %120
%151 = call i8* @_(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0))
%152 = load i32, i32* @stdout
%153 = call i32 @fputs(i8* %151, i32 %152)
br label %154
154: ; preds = %150, %154
%155 = phi i64 [ %159, %154 ], [ 0, %150 ]
%156 = getelementptr inbounds i8*, i8** %48, i64 %155
%157 = load i8*, i8** %156
%158 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8* %157)
%159 = add nuw i64 %155, 1
%160 = icmp eq i64 %159, %126
br i1 %160, label %165, label %154
161: ; preds = %120
%162 = call i8* @_(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.4, i64 0, i64 0))
%163 = load i32, i32* @stdout
%164 = call i32 @fputs(i8* %162, i32 %163)
br label %165
165: ; preds = %154, %161
%166 = icmp eq i64 %121, 0
br i1 %166, label %179, label %167
167: ; preds = %165
%168 = call i8* @_(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.5, i64 0, i64 0))
%169 = load i32, i32* @stdout
%170 = call i32 @fputs(i8* %168, i32 %169)
br label %171
171: ; preds = %167, %171
%172 = phi i64 [ %177, %171 ], [ 0, %167 ]
%173 = getelementptr inbounds i8*, i8** %51, i64 %172
%174 = load i8*, i8** %173
%175 = getelementptr inbounds i8, i8* %174, i64 2
%176 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8* %175)
%177 = add nuw i64 %172, 1
%178 = icmp eq i64 %177, %121
br i1 %178, label %183, label %171
179: ; preds = %165
%180 = call i8* @_(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0))
%181 = load i32, i32* @stdout
%182 = call i32 @fputs(i8* %180, i32 %181)
br label %183
183: ; preds = %171, %179
%184 = icmp eq i64 %122, 0
br i1 %184, label %197, label %185
185: ; preds = %183
%186 = call i8* @_(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0))
%187 = load i32, i32* @stdout
%188 = call i32 @fputs(i8* %186, i32 %187)
br label %189
189: ; preds = %185, %189
%190 = phi i64 [ %195, %189 ], [ 0, %185 ]
%191 = getelementptr inbounds i8*, i8** %54, i64 %190
%192 = load i8*, i8** %191
%193 = getelementptr inbounds i8, i8* %192, i64 1
%194 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8* %193)
%195 = add nuw i64 %190, 1
%196 = icmp eq i64 %195, %122
br i1 %196, label %201, label %189
197: ; preds = %183
%198 = call i8* @_(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.8, i64 0, i64 0))
%199 = load i32, i32* @stdout
%200 = call i32 @fputs(i8* %198, i32 %199)
br label %201
201: ; preds = %189, %197
%202 = icmp eq i64 %123, 0
br i1 %202, label %215, label %203
203: ; preds = %201
%204 = call i8* @_(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.9, i64 0, i64 0))
%205 = load i32, i32* @stdout
%206 = call i32 @fputs(i8* %204, i32 %205)
br label %207
207: ; preds = %203, %207
%208 = phi i64 [ %213, %207 ], [ 0, %203 ]
%209 = getelementptr inbounds i8*, i8** %57, i64 %208
%210 = load i8*, i8** %209
%211 = getelementptr inbounds i8, i8* %210, i64 1
%212 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8* %211)
%213 = add nuw i64 %208, 1
%214 = icmp eq i64 %213, %123
br i1 %214, label %219, label %207
215: ; preds = %201
%216 = call i8* @_(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.10, i64 0, i64 0))
%217 = load i32, i32* @stdout
%218 = call i32 @fputs(i8* %216, i32 %217)
br label %219
219: ; preds = %207, %215
%220 = icmp eq i64 %124, 0
br i1 %220, label %233, label %221
221: ; preds = %219
%222 = call i8* @_(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.11, i64 0, i64 0))
%223 = load i32, i32* @stdout
%224 = call i32 @fputs(i8* %222, i32 %223)
br label %225
225: ; preds = %221, %225
%226 = phi i64 [ %231, %225 ], [ 0, %221 ]
%227 = getelementptr inbounds i8*, i8** %60, i64 %226
%228 = load i8*, i8** %227
%229 = getelementptr inbounds i8, i8* %228, i64 3
%230 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8* %229)
%231 = add nuw i64 %226, 1
%232 = icmp eq i64 %231, %124
br i1 %232, label %237, label %225
233: ; preds = %219
%234 = call i8* @_(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.12, i64 0, i64 0))
%235 = load i32, i32* @stdout
%236 = call i32 @fputs(i8* %234, i32 %235)
br label %237
237: ; preds = %225, %233
%238 = icmp eq i64 %125, 0
br i1 %238, label %251, label %239
239: ; preds = %237
%240 = call i8* @_(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.13, i64 0, i64 0))
%241 = load i32, i32* @stdout
%242 = call i32 @fputs(i8* %240, i32 %241)
br label %243
243: ; preds = %239, %243
%244 = phi i64 [ %249, %243 ], [ 0, %239 ]
%245 = getelementptr inbounds i8*, i8** %63, i64 %244
%246 = load i8*, i8** %245
%247 = getelementptr inbounds i8, i8* %246, i64 2
%248 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.14, i64 0, i64 0), i8* %247)
%249 = add nuw i64 %244, 1
%250 = icmp eq i64 %249, %125
br i1 %250, label %255, label %243
251: ; preds = %237
%252 = call i8* @_(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.15, i64 0, i64 0))
%253 = load i32, i32* @stdout
%254 = call i32 @fputs(i8* %252, i32 %253)
br label %255
255: ; preds = %243, %251, %33, %37, %40
%256 = call i32 @nis_freeresult(i32* %31)
br label %257
257: ; preds = %255, %27
br label %258
258: ; preds = %257, %3, %1
ret void
}