#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", &mem_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    -0x118(%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     1869 <nis_print_group_entry+0x689>
mov    %rdi,%rbx
cmpb   $0x0,(%rdi)
je     1869 <nis_print_group_entry+0x689>
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     1862 <nis_print_group_entry+0x682>
mov    %rax,%r13
mov    %rax,%rdi
call   10e0 <NIS_RES_STATUS@plt>
mov    0x2d0f(%rip),%rcx
cmp    (%rcx),%rax
jne    185a <nis_print_group_entry+0x67a>
mov    %r13,%rdi
call   10b0 <NIS_RES_NUMOBJ@plt>
cmp    $0x1,%eax
jne    185a <nis_print_group_entry+0x67a>
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    185a <nis_print_group_entry+0x67a>
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,-0x50(%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,-0x70(%rbp)
mov    %rcx,%rsp
mov    %r13,%rdi
call   10b0 <NIS_RES_NUMOBJ@plt>
mov    %r13,%rdi
call   10b0 <NIS_RES_NUMOBJ@plt>
mov    %eax,%eax
mov    %rsp,%r12
lea    0xf(,%rax,8),%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%r12
mov    %r12,%rsp
mov    %r13,%rdi
call   10d0 <NIS_RES_OBJECT@plt>
cmpq   $0x0,0x10(%rax)
je     14cc <nis_print_group_entry+0x2ec>
xor    %ebx,%ebx
xor    %r15d,%r15d
xor    %eax,%eax
mov    %rax,-0x48(%rbp)
xor    %eax,%eax
mov    %rax,-0x30(%rbp)
xor    %eax,%eax
mov    %rax,-0x40(%rbp)
xor    %eax,%eax
mov    %rax,-0x38(%rbp)
xor    %r14d,%r14d
jmp    1426 <nis_print_group_entry+0x246>
mov    -0x60(%rbp),%rcx
mov    %rax,(%rcx,%r15,8)
add    $0x1,%r15
nopw   0x0(%rax,%rax,1)
add    $0x1,%rbx
mov    %r13,%rdi
call   10d0 <NIS_RES_OBJECT@plt>
cmp    0x10(%rax),%rbx
jae    14ea <nis_print_group_entry+0x30a>
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     1460 <nis_print_group_entry+0x280>
cmp    $0x2a,%edx
jne    1480 <nis_print_group_entry+0x2a0>
cmp    $0x2d,%cl
jne    14a2 <nis_print_group_entry+0x2c2>
addq   $0x1,-0x30(%rbp)
jmp    1410 <nis_print_group_entry+0x230>
nopl   0x0(%rax,%rax,1)
cmp    $0x2d,%cl
jne    14b3 <nis_print_group_entry+0x2d3>
mov    -0x48(%rbp),%rcx
mov    %rax,(%r12,%rcx,8)
add    $0x1,%rcx
mov    %rcx,-0x48(%rbp)
jmp    1410 <nis_print_group_entry+0x230>
nopw   0x0(%rax,%rax,1)
cmp    $0x2d,%cl
jne    13fb <nis_print_group_entry+0x21b>
mov    -0x70(%rbp),%rcx
mov    -0x40(%rbp),%rdx
mov    %rax,(%rcx,%rdx,8)
add    $0x1,%rdx
mov    %rdx,-0x40(%rbp)
jmp    1410 <nis_print_group_entry+0x230>
mov    -0x50(%rbp),%rcx
mov    %rax,(%rcx,%r14,8)
add    $0x1,%r14
jmp    1410 <nis_print_group_entry+0x230>
mov    -0x68(%rbp),%rcx
mov    -0x38(%rbp),%rdx
mov    %rax,(%rcx,%rdx,8)
add    $0x1,%rdx
mov    %rdx,-0x38(%rbp)
jmp    1410 <nis_print_group_entry+0x230>
xor    %r14d,%r14d
xor    %eax,%eax
mov    %rax,-0x38(%rbp)
xor    %eax,%eax
mov    %rax,-0x40(%rbp)
xor    %eax,%eax
mov    %rax,-0x30(%rbp)
xor    %eax,%eax
mov    %rax,-0x48(%rbp)
xor    %r15d,%r15d
mov    %r14,-0x90(%rbp)
mov    %r12,-0x78(%rbp)
mov    %r13,%rdi
call   10d0 <NIS_RES_OBJECT@plt>
mov    (%rax),%rdi
call   1070 <strlen@plt>
mov    %rsp,%r14
add    $0xa,%eax
mov    %rsp,%rbx
add    $0xf,%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%rbx
mov    %rbx,%rsp
lea    0xae9(%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    %r14,%rsp
test   %r15,%r15
je     15d9 <nis_print_group_entry+0x3f9>
lea    0xa9d(%rip),%rdi
call   10c0 <_@plt>
mov    0x2a2d(%rip),%rcx
mov    (%rcx),%esi
mov    %rax,%rdi
call   1090 <fputs@plt>
lea    0xa97(%rip),%rbx
xor    %r12d,%r12d
mov    -0x60(%rbp),%r14
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    (%r14,%r12,8),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
add    $0x1,%r12
cmp    %r12,%r15
jne    15c0 <nis_print_group_entry+0x3e0>
jmp    15f6 <nis_print_group_entry+0x416>
lea    0xa68(%rip),%rdi
call   10c0 <_@plt>
mov    0x29dc(%rip),%rcx
mov    (%rcx),%esi
mov    %rax,%rdi
call   1090 <fputs@plt>
mov    -0x90(%rbp),%r14
test   %r14,%r14
mov    %r13,-0x58(%rbp)
je     164d <nis_print_group_entry+0x46d>
lea    0xa54(%rip),%rdi
call   10c0 <_@plt>
mov    0x29af(%rip),%rcx
mov    (%rcx),%esi
mov    %rax,%rdi
call   1090 <fputs@plt>
lea    0xa19(%rip),%r15
xor    %ebx,%ebx
mov    -0x50(%rbp),%r12
mov    (%r12,%rbx,8),%rsi
add    $0x2,%rsi
mov    %r15,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
add    $0x1,%rbx
cmp    %rbx,%r14
jne    1630 <nis_print_group_entry+0x450>
jmp    166a <nis_print_group_entry+0x48a>
lea    0xa24(%rip),%rdi
call   10c0 <_@plt>
mov    0x2968(%rip),%rcx
mov    (%rcx),%esi
mov    %rax,%rdi
call   1090 <fputs@plt>
mov    -0x38(%rbp),%r13
test   %r13,%r13
je     16cd <nis_print_group_entry+0x4ed>
lea    0xa17(%rip),%rdi
call   10c0 <_@plt>
mov    0x2942(%rip),%rcx
mov    (%rcx),%esi
mov    %rax,%rdi
call   1090 <fputs@plt>
lea    0x9ac(%rip),%r14
xor    %ebx,%ebx
mov    -0x30(%rbp),%r12
mov    -0x68(%rbp),%r15
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,%r13
jne    16b0 <nis_print_group_entry+0x4d0>
jmp    16ee <nis_print_group_entry+0x50e>
lea    0x9d5(%rip),%rdi
call   10c0 <_@plt>
mov    0x28e8(%rip),%rcx
mov    (%rcx),%esi
mov    %rax,%rdi
call   1090 <fputs@plt>
mov    -0x30(%rbp),%r12
mov    -0x40(%rbp),%r15
test   %r15,%r15
je     174e <nis_print_group_entry+0x56e>
lea    0x9c5(%rip),%rdi
call   10c0 <_@plt>
mov    0x28be(%rip),%rcx
mov    (%rcx),%esi
mov    %rax,%rdi
call   1090 <fputs@plt>
lea    0x928(%rip),%r14
xor    %ebx,%ebx
mov    -0x70(%rbp),%r13
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    0x0(%r13,%rbx,8),%rsi
add    $0x1,%rsi
mov    %r14,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
add    $0x1,%rbx
cmp    %rbx,%r15
jne    1730 <nis_print_group_entry+0x550>
jmp    176b <nis_print_group_entry+0x58b>
lea    0x988(%rip),%rdi
call   10c0 <_@plt>
mov    0x2867(%rip),%rcx
mov    (%rcx),%esi
mov    %rax,%rdi
call   1090 <fputs@plt>
test   %r12,%r12
je     17bd <nis_print_group_entry+0x5dd>
lea    0x982(%rip),%rdi
call   10c0 <_@plt>
mov    0x2845(%rip),%rcx
mov    (%rcx),%esi
mov    %rax,%rdi
call   1090 <fputs@plt>
lea    0x8af(%rip),%r14
xor    %ebx,%ebx
mov    -0x58(%rbp),%r13
mov    -0x50(%rbp),%r15
xchg   %ax,%ax
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    17a0 <nis_print_group_entry+0x5c0>
jmp    17de <nis_print_group_entry+0x5fe>
lea    0x94f(%rip),%rdi
call   10c0 <_@plt>
mov    0x27f8(%rip),%rcx
mov    (%rcx),%esi
mov    %rax,%rdi
call   1090 <fputs@plt>
mov    -0x58(%rbp),%r13
mov    -0x48(%rbp),%r15
test   %r15,%r15
je     183d <nis_print_group_entry+0x65d>
lea    0x941(%rip),%rdi
call   10c0 <_@plt>
mov    0x27ce(%rip),%rcx
mov    (%rcx),%esi
mov    %rax,%rdi
call   1090 <fputs@plt>
lea    0x93f(%rip),%r14
xor    %ebx,%ebx
mov    -0x78(%rbp),%r12
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
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    1820 <nis_print_group_entry+0x640>
jmp    185a <nis_print_group_entry+0x67a>
lea    0x90c(%rip),%rdi
call   10c0 <_@plt>
mov    0x2778(%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** %110, 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 %255, label %3
3: ; preds = %1
%4 = load i8, i8* %0
%5 = icmp eq i8 %4, 0
br i1 %5, label %255, 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 %254, 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 %252
37: ; preds = %33
%38 = call i32 @NIS_RES_NUMOBJ(i32* %31)
%39 = icmp eq i32 %38, 1
br i1 %39, label %40, label %252
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 %252
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 = call i32 @NIS_RES_NUMOBJ(i32* %31)
%60 = zext i32 %59 to i64
%61 = alloca i8*, i64 %60
%62 = call %struct.TYPE_7__* @NIS_RES_OBJECT(i32* %31)
%63 = getelementptr inbounds %struct.TYPE_7__, %struct.TYPE_7__* %62, i64 0, i32 2, i32 0, i32 0
%64 = load i64, i64* %63
%65 = icmp eq i64 %64, 0
br i1 %65, label %117, label %66
66: ; preds = %45, %105
%67 = phi i64 [ %112, %105 ], [ 0, %45 ]
%68 = phi i64 [ %111, %105 ], [ 0, %45 ]
%69 = phi i64 [ %110, %105 ], [ 0, %45 ]
%70 = phi i64 [ %109, %105 ], [ 0, %45 ]
%71 = phi i64 [ %108, %105 ], [ 0, %45 ]
%72 = phi i64 [ %107, %105 ], [ 0, %45 ]
%73 = phi i64 [ %106, %105 ], [ 0, %45 ]
%74 = call %struct.TYPE_7__* @NIS_RES_OBJECT(i32* %31)
%75 = getelementptr inbounds %struct.TYPE_7__, %struct.TYPE_7__* %74, i64 0, i32 2, i32 0, i32 1
%76 = load i8**, i8*** %75
%77 = getelementptr inbounds i8*, i8** %76, i64 %67
%78 = load i8*, i8** %77
%79 = load i8, i8* %78
%80 = icmp eq i8 %79, 45
%81 = zext i1 %80 to i64
%82 = getelementptr inbounds i8, i8* %78, i64 %81
%83 = load i8, i8* %82
%84 = sext i8 %83 to i32
switch i32 %84, label %98 [
i32 42, label %85
i32 64, label %91
]
85: ; preds = %66
br i1 %80, label %86, label %88
86: ; preds = %85
%87 = add i64 %70, 1
br label %105
88: ; preds = %85
%89 = getelementptr inbounds i8*, i8** %51, i64 %73
store i8* %78, i8** %89
%90 = add i64 %73, 1
br label %105
91: ; preds = %66
br i1 %80, label %92, label %95
92: ; preds = %91
%93 = getelementptr inbounds i8*, i8** %61, i64 %69
store i8* %78, i8** %93
%94 = add i64 %69, 1
br label %105
95: ; preds = %91
%96 = getelementptr inbounds i8*, i8** %54, i64 %72
store i8* %78, i8** %96
%97 = add i64 %72, 1
br label %105
98: ; preds = %66
br i1 %80, label %99, label %102
99: ; preds = %98
%100 = getelementptr inbounds i8*, i8** %57, i64 %71
store i8* %78, i8** %100
%101 = add i64 %71, 1
br label %105
102: ; preds = %98
%103 = getelementptr inbounds i8*, i8** %48, i64 %68
store i8* %78, i8** %103
%104 = add i64 %68, 1
br label %105
105: ; preds = %99, %102, %92, %95, %86, %88
%106 = phi i64 [ %73, %99 ], [ %73, %102 ], [ %73, %92 ], [ %73, %95 ], [ %73, %86 ], [ %90, %88 ]
%107 = phi i64 [ %72, %99 ], [ %72, %102 ], [ %72, %92 ], [ %97, %95 ], [ %72, %86 ], [ %72, %88 ]
%108 = phi i64 [ %101, %99 ], [ %71, %102 ], [ %71, %92 ], [ %71, %95 ], [ %71, %86 ], [ %71, %88 ]
%109 = phi i64 [ %70, %99 ], [ %70, %102 ], [ %70, %92 ], [ %70, %95 ], [ %87, %86 ], [ %70, %88 ]
%110 = phi i64 [ %69, %99 ], [ %69, %102 ], [ %94, %92 ], [ %69, %95 ], [ %69, %86 ], [ %69, %88 ]
%111 = phi i64 [ %68, %99 ], [ %104, %102 ], [ %68, %92 ], [ %68, %95 ], [ %68, %86 ], [ %68, %88 ]
%112 = add nuw i64 %67, 1
%113 = call %struct.TYPE_7__* @NIS_RES_OBJECT(i32* %31)
%114 = getelementptr inbounds %struct.TYPE_7__, %struct.TYPE_7__* %113, i64 0, i32 2, i32 0, i32 0
%115 = load i64, i64* %114
%116 = icmp ult i64 %112, %115
br i1 %116, label %66, label %117
117: ; preds = %105, %45
%118 = phi i64 [ 0, %45 ], [ %106, %105 ]
%119 = phi i64 [ 0, %45 ], [ %107, %105 ]
%120 = phi i64 [ 0, %45 ], [ %108, %105 ]
%121 = phi i64 [ 0, %45 ], [ %109, %105 ]
%122 = phi i64 [ 0, %45 ], [ %110, %105 ]
%123 = phi i64 [ 0, %45 ], [ %111, %105 ]
%124 = call %struct.TYPE_7__* @NIS_RES_OBJECT(i32* %31)
%125 = getelementptr inbounds %struct.TYPE_7__, %struct.TYPE_7__* %124, i64 0, i32 0
%126 = load i8*, i8** %125
%127 = call i32 @strlen(i8* %126)
%128 = add nsw i32 %127, 10
%129 = zext i32 %128 to i64
%130 = call i8* @llvm.stacksave()
%131 = alloca i8, i64 %129
%132 = call i8* @_(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.1, i64 0, i64 0))
%133 = call %struct.TYPE_7__* @NIS_RES_OBJECT(i32* %31)
%134 = getelementptr inbounds %struct.TYPE_7__, %struct.TYPE_7__* %133, i64 0, i32 1
%135 = load i8*, i8** %134
%136 = call %struct.TYPE_7__* @NIS_RES_OBJECT(i32* %31)
%137 = getelementptr inbounds %struct.TYPE_7__, %struct.TYPE_7__* %136, i64 0, i32 0
%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 i32 @strlen(i8* %141)
%143 = add nsw i32 %142, 10
%144 = call i8* @nis_domain_of_r(i8* %138, i8* %131, i32 %143)
%145 = call i32 (i8*, i8*, ...) @printf(i8* %132, i8* %135, i8* %144)
%146 = icmp eq i64 %123, 0
br i1 %146, label %158, label %147
147: ; preds = %117
%148 = call i8* @_(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0))
%149 = load i32, i32* @stdout
%150 = call i32 @fputs(i8* %148, i32 %149)
br label %151
151: ; preds = %147, %151
%152 = phi i64 [ %156, %151 ], [ 0, %147 ]
%153 = getelementptr inbounds i8*, i8** %48, i64 %152
%154 = load i8*, i8** %153
%155 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8* %154)
%156 = add nuw i64 %152, 1
%157 = icmp eq i64 %156, %123
br i1 %157, label %162, label %151
158: ; preds = %117
%159 = call i8* @_(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.4, i64 0, i64 0))
%160 = load i32, i32* @stdout
%161 = call i32 @fputs(i8* %159, i32 %160)
br label %162
162: ; preds = %151, %158
%163 = icmp eq i64 %118, 0
br i1 %163, label %176, label %164
164: ; preds = %162
%165 = call i8* @_(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.5, i64 0, i64 0))
%166 = load i32, i32* @stdout
%167 = call i32 @fputs(i8* %165, i32 %166)
br label %168
168: ; preds = %164, %168
%169 = phi i64 [ %174, %168 ], [ 0, %164 ]
%170 = getelementptr inbounds i8*, i8** %51, i64 %169
%171 = load i8*, i8** %170
%172 = getelementptr inbounds i8, i8* %171, i64 2
%173 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8* %172)
%174 = add nuw i64 %169, 1
%175 = icmp eq i64 %174, %118
br i1 %175, label %180, label %168
176: ; preds = %162
%177 = call i8* @_(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0))
%178 = load i32, i32* @stdout
%179 = call i32 @fputs(i8* %177, i32 %178)
br label %180
180: ; preds = %168, %176
%181 = icmp eq i64 %119, 0
br i1 %181, label %194, label %182
182: ; preds = %180
%183 = call i8* @_(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0))
%184 = load i32, i32* @stdout
%185 = call i32 @fputs(i8* %183, i32 %184)
br label %186
186: ; preds = %182, %186
%187 = phi i64 [ %192, %186 ], [ 0, %182 ]
%188 = getelementptr inbounds i8*, i8** %54, i64 %187
%189 = load i8*, i8** %188
%190 = getelementptr inbounds i8, i8* %189, i64 1
%191 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8* %190)
%192 = add nuw i64 %187, 1
%193 = icmp eq i64 %192, %119
br i1 %193, label %198, label %186
194: ; preds = %180
%195 = call i8* @_(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.8, i64 0, i64 0))
%196 = load i32, i32* @stdout
%197 = call i32 @fputs(i8* %195, i32 %196)
br label %198
198: ; preds = %186, %194
%199 = icmp eq i64 %120, 0
br i1 %199, label %212, label %200
200: ; preds = %198
%201 = call i8* @_(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.9, i64 0, i64 0))
%202 = load i32, i32* @stdout
%203 = call i32 @fputs(i8* %201, i32 %202)
br label %204
204: ; preds = %200, %204
%205 = phi i64 [ %210, %204 ], [ 0, %200 ]
%206 = getelementptr inbounds i8*, i8** %57, i64 %205
%207 = load i8*, i8** %206
%208 = getelementptr inbounds i8, i8* %207, i64 1
%209 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8* %208)
%210 = add nuw i64 %205, 1
%211 = icmp eq i64 %210, %120
br i1 %211, label %216, label %204
212: ; preds = %198
%213 = call i8* @_(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.10, i64 0, i64 0))
%214 = load i32, i32* @stdout
%215 = call i32 @fputs(i8* %213, i32 %214)
br label %216
216: ; preds = %204, %212
%217 = icmp eq i64 %121, 0
br i1 %217, label %230, label %218
218: ; preds = %216
%219 = call i8* @_(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.11, i64 0, i64 0))
%220 = load i32, i32* @stdout
%221 = call i32 @fputs(i8* %219, i32 %220)
br label %222
222: ; preds = %218, %222
%223 = phi i64 [ %228, %222 ], [ 0, %218 ]
%224 = getelementptr inbounds i8*, i8** %51, i64 %223
%225 = load i8*, i8** %224
%226 = getelementptr inbounds i8, i8* %225, i64 3
%227 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8* %226)
%228 = add nuw i64 %223, 1
%229 = icmp eq i64 %228, %121
br i1 %229, label %234, label %222
230: ; preds = %216
%231 = call i8* @_(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.12, i64 0, i64 0))
%232 = load i32, i32* @stdout
%233 = call i32 @fputs(i8* %231, i32 %232)
br label %234
234: ; preds = %222, %230
%235 = icmp eq i64 %122, 0
br i1 %235, label %248, label %236
236: ; preds = %234
%237 = call i8* @_(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.13, i64 0, i64 0))
%238 = load i32, i32* @stdout
%239 = call i32 @fputs(i8* %237, i32 %238)
br label %240
240: ; preds = %236, %240
%241 = phi i64 [ %246, %240 ], [ 0, %236 ]
%242 = getelementptr inbounds i8*, i8** %61, i64 %241
%243 = load i8*, i8** %242
%244 = getelementptr inbounds i8, i8* %243, i64 2
%245 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.14, i64 0, i64 0), i8* %244)
%246 = add nuw i64 %241, 1
%247 = icmp eq i64 %246, %122
br i1 %247, label %252, label %240
248: ; preds = %234
%249 = call i8* @_(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.15, i64 0, i64 0))
%250 = load i32, i32* @stdout
%251 = call i32 @fputs(i8* %249, i32 %250)
br label %252
252: ; preds = %240, %248, %33, %37, %40
%253 = call i32 @nis_freeresult(i32* %31)
br label %254
254: ; preds = %252, %27
br label %255
255: ; preds = %254, %3, %1
ret void
}