#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */
struct statx {
  int stx_mask;
  int stx_mode;
  int stx_dev_major;
  int stx_dev_minor;
  int stx_nlink;
  int stx_rdev_major;
  int stx_rdev_minor;
  int stx_uid;
  int stx_gid;
  int stx_attributes_mask;
  int stx_attributes;
  int /*<<< orphan*/ stx_btime;
  int /*<<< orphan*/ stx_ctime;
  int /*<<< orphan*/ stx_mtime;
  int /*<<< orphan*/ stx_atime;
  scalar_t__ stx_ino;
  scalar_t__ stx_blksize;
  scalar_t__ stx_blocks;
  scalar_t__ stx_size;
};

/* Variables and functions */
int STATX_ATIME;
int STATX_BLOCKS;
int STATX_BTIME;
int STATX_CTIME;
int STATX_GID;
int STATX_INO;
int STATX_MODE;
int STATX_MTIME;
int STATX_NLINK;
int STATX_SIZE;
int STATX_TYPE;
int STATX_UID;
#define S_IFBLK 134
#define S_IFCHR 133
#define S_IFDIR 132
#define S_IFIFO 131
#define S_IFLNK 130
int S_IFMT;
#define S_IFREG 129
#define S_IFSOCK 128
int S_IRGRP;
int S_IROTH;
int S_IRUSR;
int S_IWGRP;
int S_IWOTH;
int S_IWUSR;
int S_IXGRP;
int S_IXOTH;
int S_IXUSR;
int /*<<< orphan*/ print_time(char *, int /*<<< orphan*/ *);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ putchar(char);
int /*<<< orphan*/ sprintf(char *, char *, int, int);
void dump_statx(struct statx *stx) {
  char buffer[256], ft = '?';
  printf("results=%x\n", stx->stx_mask);
  printf(" ");
  if (stx->stx_mask & STATX_SIZE)
    printf(" Size: %-15llu", (unsigned long long)stx->stx_size);
  if (stx->stx_mask & STATX_BLOCKS)
    printf(" Blocks: %-10llu", (unsigned long long)stx->stx_blocks);
  printf(" IO Block: %-6llu", (unsigned long long)stx->stx_blksize);
  if (stx->stx_mask & STATX_TYPE) {
    switch (stx->stx_mode & S_IFMT) {
    case S_IFIFO:
      printf("  FIFO\n");
      ft = 'p';
      break;
    case S_IFCHR:
      printf("  character special file\n");
      ft = 'c';
      break;
    case S_IFDIR:
      printf("  directory\n");
      ft = 'd';
      break;
    case S_IFBLK:
      printf("  block special file\n");
      ft = 'b';
      break;
    case S_IFREG:
      printf("  regular file\n");
      ft = '-';
      break;
    case S_IFLNK:
      printf("  symbolic link\n");
      ft = 'l';
      break;
    case S_IFSOCK:
      printf("  socket\n");
      ft = 's';
      break;
    default:
      printf(" unknown type (%o)\n", stx->stx_mode & S_IFMT);
      break;
    }
  } else {
    printf(" no type\n");
  }
  sprintf(buffer, "%02x:%02x", stx->stx_dev_major, stx->stx_dev_minor);
  printf("Device: %-15s", buffer);
  if (stx->stx_mask & STATX_INO)
    printf(" Inode: %-11llu", (unsigned long long)stx->stx_ino);
  if (stx->stx_mask & STATX_NLINK)
    printf(" Links: %-5u", stx->stx_nlink);
  if (stx->stx_mask & STATX_TYPE) {
    switch (stx->stx_mode & S_IFMT) {
    case S_IFBLK:
    case S_IFCHR:
      printf(" Device type: %u,%u", stx->stx_rdev_major, stx->stx_rdev_minor);
      break;
    }
  }
  printf("\n");
  if (stx->stx_mask & STATX_MODE)
    printf("Access: (%04o/%c%c%c%c%c%c%c%c%c%c)  ", stx->stx_mode & 07777, ft,
           stx->stx_mode & S_IRUSR ? 'r' : '-',
           stx->stx_mode & S_IWUSR ? 'w' : '-',
           stx->stx_mode & S_IXUSR ? 'x' : '-',
           stx->stx_mode & S_IRGRP ? 'r' : '-',
           stx->stx_mode & S_IWGRP ? 'w' : '-',
           stx->stx_mode & S_IXGRP ? 'x' : '-',
           stx->stx_mode & S_IROTH ? 'r' : '-',
           stx->stx_mode & S_IWOTH ? 'w' : '-',
           stx->stx_mode & S_IXOTH ? 'x' : '-');
  if (stx->stx_mask & STATX_UID)
    printf("Uid: %5d   ", stx->stx_uid);
  if (stx->stx_mask & STATX_GID)
    printf("Gid: %5d\n", stx->stx_gid);
  if (stx->stx_mask & STATX_ATIME)
    print_time("Access: ", &stx->stx_atime);
  if (stx->stx_mask & STATX_MTIME)
    print_time("Modify: ", &stx->stx_mtime);
  if (stx->stx_mask & STATX_CTIME)
    print_time("Change: ", &stx->stx_ctime);
  if (stx->stx_mask & STATX_BTIME)
    print_time(" Birth: ", &stx->stx_btime);
  if (stx->stx_attributes_mask) {
    unsigned char bits, mbits;
    int loop, byte;
    static char attr_representation[64 + 1] = "????????"
                                              "????????"
                                              "????????"
                                              "????????"
                                              "????????"
                                              "????????"
                                              "???me???"
                                              "?dai?c??";
    printf("Attributes: %016llx (", stx->stx_attributes);
    for (byte = 64 - 8; byte >= 0; byte -= 8) {
      bits = stx->stx_attributes >> byte;
      mbits = stx->stx_attributes_mask >> byte;
      for (loop = 7; loop >= 0; loop--) {
        int bit = byte + loop;
        if (!(mbits & 0x80))
          putchar('.');
        else if (bits & 0x80)
          putchar(attr_representation[63 - bit]);
        else
          putchar('-');
        bits <<= 1;
        mbits <<= 1;
      }
      if (byte)
        putchar(' ');
    }
    printf(")\n");
  }
}


x86 assembly (clang, -O0):
<dump_statx>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x160,%rsp
mov    %rdi,-0x28(%rbp)
movb   $0x3f,-0x131(%rbp)
mov    -0x28(%rbp),%rax
mov    (%rax),%esi
lea    0xeb2(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xfe9(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x28(%rbp),%rax
mov    (%rax),%eax
mov    0x2e44(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     11ad <dump_statx+0x6d>
mov    -0x28(%rbp),%rax
mov    0x58(%rax),%rsi
lea    0xe82(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x28(%rbp),%rax
mov    (%rax),%eax
mov    0x2d8e(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     11db <dump_statx+0x9b>
mov    -0x28(%rbp),%rax
mov    0x50(%rax),%rsi
lea    0xe63(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x28(%rbp),%rax
mov    0x48(%rax),%rsi
lea    0xe5e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x28(%rbp),%rax
mov    (%rax),%eax
mov    0x2d72(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     1320 <dump_statx+0x1e0>
mov    -0x28(%rbp),%rax
mov    0x4(%rax),%eax
mov    0x2d61(%rip),%rcx
mov    (%rcx),%ecx
and    %ecx,%eax
add    $0xffffff80,%eax
mov    %eax,%ecx
mov    %rcx,-0x148(%rbp)
sub    $0x6,%eax
ja     12fd <dump_statx+0x1bd>
mov    -0x148(%rbp),%rax
lea    0xdc2(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xe0c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movb   $0x70,-0x131(%rbp)
jmp    131b <dump_statx+0x1db>
lea    0xdfa(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movb   $0x63,-0x131(%rbp)
jmp    131b <dump_statx+0x1db>
lea    0xdfa(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movb   $0x64,-0x131(%rbp)
jmp    131b <dump_statx+0x1db>
lea    0xded(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movb   $0x62,-0x131(%rbp)
jmp    131b <dump_statx+0x1db>
lea    0xde9(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movb   $0x2d,-0x131(%rbp)
jmp    131b <dump_statx+0x1db>
lea    0xddf(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movb   $0x6c,-0x131(%rbp)
jmp    131b <dump_statx+0x1db>
lea    0xdd6(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movb   $0x73,-0x131(%rbp)
jmp    131b <dump_statx+0x1db>
mov    -0x28(%rbp),%rax
mov    0x4(%rax),%esi
mov    0x2c6d(%rip),%rax
and    (%rax),%esi
lea    0xdb6(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    132e <dump_statx+0x1ee>
lea    0xdb7(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0x130(%rbp),%rdi
mov    -0x28(%rbp),%rax
mov    0x8(%rax),%edx
mov    -0x28(%rbp),%rax
mov    0xc(%rax),%ecx
lea    0xd9e(%rip),%rsi
call   1060 <sprintf@plt>
lea    -0x130(%rbp),%rsi
lea    0xd95(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x28(%rbp),%rax
mov    (%rax),%eax
mov    0x2c3f(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     1392 <dump_statx+0x252>
mov    -0x28(%rbp),%rax
mov    0x40(%rax),%rsi
lea    0xd75(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x28(%rbp),%rax
mov    (%rax),%eax
mov    0x2c21(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     13bf <dump_statx+0x27f>
mov    -0x28(%rbp),%rax
mov    0x10(%rax),%esi
lea    0xd58(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x28(%rbp),%rax
mov    (%rax),%eax
mov    0x2ba4(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     141d <dump_statx+0x2dd>
mov    -0x28(%rbp),%rax
mov    0x4(%rax),%eax
mov    0x2b93(%rip),%rcx
mov    (%rcx),%ecx
and    %ecx,%eax
add    $0xffffff7b,%eax
sub    $0x1,%eax
ja     1418 <dump_statx+0x2d8>
jmp    13fc <dump_statx+0x2bc>
mov    -0x28(%rbp),%rax
mov    0x14(%rax),%esi
mov    -0x28(%rbp),%rax
mov    0x18(%rax),%edx
lea    0xd0c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    141d <dump_statx+0x2dd>
lea    0xcb8(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x28(%rbp),%rax
mov    (%rax),%eax
mov    0x2b58(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     15af <dump_statx+0x46f>
mov    -0x28(%rbp),%rax
mov    0x4(%rax),%esi
and    $0xfff,%esi
movsbl -0x131(%rbp),%edx
mov    -0x28(%rbp),%rax
mov    0x4(%rax),%edi
mov    0x2aeb(%rip),%rax
and    (%rax),%edi
mov    $0x2d,%ecx
mov    $0x72,%eax
cmp    $0x0,%edi
cmovne %eax,%ecx
mov    -0x28(%rbp),%rax
mov    0x4(%rax),%edi
mov    0x2b1b(%rip),%rax
and    (%rax),%edi
mov    $0x2d,%r8d
mov    $0x77,%eax
cmp    $0x0,%edi
cmovne %eax,%r8d
mov    -0x28(%rbp),%rax
mov    0x4(%rax),%edi
mov    0x2b21(%rip),%rax
and    (%rax),%edi
mov    $0x2d,%r9d
mov    $0x78,%eax
cmp    $0x0,%edi
cmovne %eax,%r9d
mov    -0x28(%rbp),%rax
mov    0x4(%rax),%edi
mov    0x2a97(%rip),%rax
and    (%rax),%edi
mov    $0x2d,%r15d
mov    $0x72,%eax
cmp    $0x0,%edi
cmovne %eax,%r15d
mov    -0x28(%rbp),%rax
mov    0x4(%rax),%edi
mov    0x2abd(%rip),%rax
and    (%rax),%edi
mov    $0x2d,%r14d
mov    $0x77,%eax
cmp    $0x0,%edi
cmovne %eax,%r14d
mov    -0x28(%rbp),%rax
mov    0x4(%rax),%edi
mov    0x2a8b(%rip),%rax
and    (%rax),%edi
mov    $0x2d,%ebx
mov    $0x78,%eax
cmp    $0x0,%edi
cmovne %eax,%ebx
mov    -0x28(%rbp),%rax
mov    0x4(%rax),%edi
mov    0x2a2b(%rip),%rax
and    (%rax),%edi
mov    $0x2d,%r11d
mov    $0x72,%eax
cmp    $0x0,%edi
cmovne %eax,%r11d
mov    -0x28(%rbp),%rax
mov    0x4(%rax),%edi
mov    0x29e9(%rip),%rax
and    (%rax),%edi
mov    $0x2d,%r10d
mov    $0x77,%eax
cmp    $0x0,%edi
cmovne %eax,%r10d
mov    -0x28(%rbp),%rax
mov    0x4(%rax),%r12d
mov    0x2a6e(%rip),%rax
and    (%rax),%r12d
mov    $0x2d,%eax
mov    $0x78,%edi
cmp    $0x0,%r12d
cmovne %edi,%eax
lea    0xba4(%rip),%rdi
mov    %r15d,(%rsp)
mov    %r14d,0x8(%rsp)
mov    %ebx,0x10(%rsp)
mov    %r11d,0x18(%rsp)
mov    %r10d,0x20(%rsp)
mov    %eax,0x28(%rsp)
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x28(%rbp),%rax
mov    (%rax),%eax
mov    0x29ac(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     15dc <dump_statx+0x49c>
mov    -0x28(%rbp),%rax
mov    0x1c(%rax),%esi
lea    0xb82(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x28(%rbp),%rax
mov    (%rax),%eax
mov    0x29cf(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     1609 <dump_statx+0x4c9>
mov    -0x28(%rbp),%rax
mov    0x20(%rax),%esi
lea    0xb61(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x28(%rbp),%rax
mov    (%rax),%eax
mov    0x291a(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     1635 <dump_statx+0x4f5>
mov    -0x28(%rbp),%rsi
add    $0x38,%rsi
lea    0xb3d(%rip),%rdi
call   1050 <print_time@plt>
mov    -0x28(%rbp),%rax
mov    (%rax),%eax
mov    0x293e(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     1661 <dump_statx+0x521>
mov    -0x28(%rbp),%rsi
add    $0x34,%rsi
lea    0xb1a(%rip),%rdi
call   1050 <print_time@plt>
mov    -0x28(%rbp),%rax
mov    (%rax),%eax
mov    0x296a(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     168d <dump_statx+0x54d>
mov    -0x28(%rbp),%rsi
add    $0x30,%rsi
lea    0xaf7(%rip),%rdi
call   1050 <print_time@plt>
mov    -0x28(%rbp),%rax
mov    (%rax),%eax
mov    0x294e(%rip),%rcx
and    (%rcx),%eax
cmp    $0x0,%eax
je     16b9 <dump_statx+0x579>
mov    -0x28(%rbp),%rsi
add    $0x2c,%rsi
lea    0xad4(%rip),%rdi
call   1050 <print_time@plt>
mov    -0x28(%rbp),%rax
cmpl   $0x0,0x24(%rax)
je     1823 <dump_statx+0x6e3>
mov    -0x28(%rbp),%rax
mov    0x28(%rax),%esi
lea    0xabc(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x38,-0x13c(%rbp)
cmpl   $0x0,-0x13c(%rbp)
jl     1815 <dump_statx+0x6d5>
mov    -0x28(%rbp),%rax
mov    0x28(%rax),%eax
mov    -0x13c(%rbp),%ecx
sar    %cl,%eax
mov    %al,-0x132(%rbp)
mov    -0x28(%rbp),%rax
mov    0x24(%rax),%eax
mov    -0x13c(%rbp),%ecx
sar    %cl,%eax
mov    %al,-0x133(%rbp)
movl   $0x7,-0x138(%rbp)
cmpl   $0x0,-0x138(%rbp)
jl     17e5 <dump_statx+0x6a5>
mov    -0x13c(%rbp),%eax
add    -0x138(%rbp),%eax
mov    %eax,-0x140(%rbp)
movzbl -0x133(%rbp),%eax
and    $0x80,%eax
cmp    $0x0,%eax
jne    176a <dump_statx+0x62a>
mov    $0x2e,%edi
call   1030 <putchar@plt>
jmp    17b1 <dump_statx+0x671>
movzbl -0x132(%rbp),%eax
and    $0x80,%eax
cmp    $0x0,%eax
je     17a2 <dump_statx+0x662>
mov    $0x3f,%eax
sub    -0x140(%rbp),%eax
movslq %eax,%rcx
lea    0x28bc(%rip),%rax
movsbl (%rax,%rcx,1),%edi
call   1030 <putchar@plt>
jmp    17ac <dump_statx+0x66c>
mov    $0x2d,%edi
call   1030 <putchar@plt>
jmp    17b1 <dump_statx+0x671>
movzbl -0x132(%rbp),%eax
shl    $0x1,%eax
mov    %al,-0x132(%rbp)
movzbl -0x133(%rbp),%eax
shl    $0x1,%eax
mov    %al,-0x133(%rbp)
mov    -0x138(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x138(%rbp)
jmp    1727 <dump_statx+0x5e7>
cmpl   $0x0,-0x13c(%rbp)
je     17fc <dump_statx+0x6bc>
mov    $0x20,%edi
call   1030 <putchar@plt>
jmp    1801 <dump_statx+0x6c1>
mov    -0x13c(%rbp),%eax
sub    $0x8,%eax
mov    %eax,-0x13c(%rbp)
jmp    16e6 <dump_statx+0x5a6>
lea    0x8bf(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
add    $0x160,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<dump_statx>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x108,%rsp
mov    %rdi,%r14
mov    (%rdi),%esi
lea    0xeaf(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x20,%edi
call   1030 <putchar@plt>
mov    (%r14),%eax
mov    0x2e48(%rip),%rcx
test   %eax,(%rcx)
je     11a1 <dump_statx+0x51>
mov    0x58(%r14),%rsi
lea    0xe91(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%r14),%eax
mov    0x2da0(%rip),%rcx
test   %eax,(%rcx)
je     11be <dump_statx+0x6e>
mov    0x50(%r14),%rsi
lea    0xe80(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x48(%r14),%rsi
lea    0xe7f(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x2d99(%rip),%rbp
mov    0x0(%rbp),%eax
test   %eax,(%r14)
je     121c <dump_statx+0xcc>
mov    0x2d92(%rip),%rax
mov    (%rax),%esi
and    0x4(%r14),%esi
lea    -0x80(%rsi),%eax
cmp    $0x6,%eax
ja     15f4 <dump_statx+0x4a4>
lea    0xe01(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xf29(%rip),%rdi
call   1040 <puts@plt>
mov    $0x73,%r15d
jmp    122e <dump_statx+0xde>
lea    0xf0a(%rip),%rdi
call   1040 <puts@plt>
mov    $0x3f,%r15d
mov    0x8(%r14),%edx
mov    0xc(%r14),%ecx
lea    0xe31(%rip),%rsi
mov    %rsp,%rbx
mov    %rbx,%rdi
call   1070 <sprintf@plt>
lea    0xe29(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%r14),%eax
mov    0x2d4d(%rip),%rcx
test   %eax,(%rcx)
je     127c <dump_statx+0x12c>
mov    0x40(%r14),%rsi
lea    0xe14(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%r14),%eax
mov    0x2d3d(%rip),%rcx
test   %eax,(%rcx)
je     129c <dump_statx+0x14c>
mov    0x10(%r14),%esi
lea    0xe04(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%r14),%eax
test   %eax,0x0(%rbp)
je     12ce <dump_statx+0x17e>
mov    0x2cd0(%rip),%rax
mov    (%rax),%eax
and    0x4(%r14),%eax
add    $0xffffff7b,%eax
cmp    $0x1,%eax
ja     12ce <dump_statx+0x17e>
mov    0x14(%r14),%esi
mov    0x18(%r14),%edx
lea    0xddc(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    (%r14),%eax
mov    0x2cae(%rip),%rcx
test   %eax,(%rcx)
je     13d2 <dump_statx+0x282>
mov    0x4(%r14),%eax
mov    %eax,%esi
and    $0xfff,%esi
mov    0x2c53(%rip),%rcx
mov    (%rcx),%ecx
and    %eax,%ecx
mov    $0x2d,%edx
mov    $0x72,%ecx
cmove  %edx,%ecx
mov    $0x72,%r10d
mov    0x2c85(%rip),%rdi
mov    (%rdi),%edi
and    %eax,%edi
mov    $0x77,%r11d
mov    $0x77,%r8d
cmove  %edx,%r8d
mov    0x2c92(%rip),%rdi
mov    (%rdi),%edi
and    %eax,%edi
mov    $0x78,%r9d
cmove  %edx,%r9d
mov    0x2c15(%rip),%rdi
mov    (%rdi),%edi
and    %eax,%edi
mov    $0x72,%r12d
cmove  %edx,%r12d
mov    0x2c48(%rip),%rdi
mov    (%rdi),%edi
and    %eax,%edi
mov    $0x77,%r13d
cmove  %edx,%r13d
mov    0x2c23(%rip),%rdi
mov    (%rdi),%edi
and    %eax,%edi
mov    $0x78,%ebp
cmove  %edx,%ebp
mov    $0x78,%ebx
mov    0x2bcb(%rip),%rdi
mov    (%rdi),%edi
and    %eax,%edi
cmove  %edx,%r10d
mov    0x2b9c(%rip),%rdi
mov    (%rdi),%edi
and    %eax,%edi
cmove  %edx,%r11d
mov    0x2c35(%rip),%rdi
and    (%rdi),%eax
cmove  %edx,%ebx
lea    0xd00(%rip),%rdi
mov    %r15d,%edx
xor    %eax,%eax
push   %rbx
push   %r11
push   %r10
push   %rbp
push   %r13
push   %r12
call   1050 <printf@plt>
add    $0x30,%rsp
mov    (%r14),%eax
mov    0x2b8f(%rip),%rcx
test   %eax,(%rcx)
je     13f2 <dump_statx+0x2a2>
mov    0x1c(%r14),%esi
lea    0xcf5(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%r14),%eax
mov    0x2bbf(%rip),%rcx
test   %eax,(%rcx)
je     1412 <dump_statx+0x2c2>
mov    0x20(%r14),%esi
lea    0xce1(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%r14),%eax
mov    0x2b17(%rip),%rcx
test   %eax,(%rcx)
je     1430 <dump_statx+0x2e0>
lea    0x38(%r14),%rsi
lea    0xccb(%rip),%rdi
call   1060 <print_time@plt>
mov    (%r14),%eax
mov    0x2b49(%rip),%rcx
test   %eax,(%rcx)
je     144e <dump_statx+0x2fe>
lea    0x34(%r14),%rsi
lea    0xcb6(%rip),%rdi
call   1060 <print_time@plt>
mov    (%r14),%eax
mov    0x2b83(%rip),%rcx
test   %eax,(%rcx)
je     146c <dump_statx+0x31c>
lea    0x30(%r14),%rsi
lea    0xca1(%rip),%rdi
call   1060 <print_time@plt>
mov    (%r14),%eax
mov    0x2b75(%rip),%rcx
test   %eax,(%rcx)
je     1487 <dump_statx+0x337>
lea    0x2c(%r14),%rsi
lea    0xc8c(%rip),%rdi
call   1060 <print_time@plt>
cmpl   $0x0,0x24(%r14)
je     15e2 <dump_statx+0x492>
mov    0x28(%r14),%esi
lea    0xc7a(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x38,%r12d
lea    0xd06(%rip),%r15
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    0x28(%r14),%ebp
mov    %r12d,%ecx
sar    %cl,%ebp
mov    0x24(%r14),%ebx
sar    %cl,%ebx
mov    $0x2e,%r13b
mov    $0x2e,%al
test   $0x80,%bl
je     14e6 <dump_statx+0x396>
mov    $0x2d,%al
test   $0x80,%bpl
je     14e6 <dump_statx+0x396>
movzbl -0x7(%r15),%eax
movsbl %al,%edi
call   1030 <putchar@plt>
test   $0x40,%bl
je     1501 <dump_statx+0x3b1>
mov    $0x2d,%r13b
test   $0x40,%bpl
je     1501 <dump_statx+0x3b1>
movzbl -0x6(%r15),%r13d
movsbl %r13b,%edi
call   1030 <putchar@plt>
mov    $0x2e,%r13b
mov    $0x2e,%al
test   $0x20,%bl
je     1521 <dump_statx+0x3d1>
mov    $0x2d,%al
test   $0x20,%bpl
je     1521 <dump_statx+0x3d1>
movzbl -0x5(%r15),%eax
movsbl %al,%edi
call   1030 <putchar@plt>
test   $0x10,%bl
je     153c <dump_statx+0x3ec>
mov    $0x2d,%r13b
test   $0x10,%bpl
je     153c <dump_statx+0x3ec>
movzbl -0x4(%r15),%r13d
movsbl %r13b,%edi
call   1030 <putchar@plt>
mov    $0x2e,%r13b
mov    $0x2e,%al
test   $0x8,%bl
je     155c <dump_statx+0x40c>
mov    $0x2d,%al
test   $0x8,%bpl
je     155c <dump_statx+0x40c>
movzbl -0x3(%r15),%eax
movsbl %al,%edi
call   1030 <putchar@plt>
test   $0x4,%bl
je     1577 <dump_statx+0x427>
mov    $0x2d,%r13b
test   $0x4,%bpl
je     1577 <dump_statx+0x427>
movzbl -0x2(%r15),%r13d
movsbl %r13b,%edi
call   1030 <putchar@plt>
mov    $0x2e,%r13b
mov    $0x2e,%al
test   $0x2,%bl
je     1597 <dump_statx+0x447>
mov    $0x2d,%al
test   $0x2,%bpl
je     1597 <dump_statx+0x447>
movzbl -0x1(%r15),%eax
movsbl %al,%edi
call   1030 <putchar@plt>
test   $0x1,%bl
je     15b1 <dump_statx+0x461>
mov    $0x2d,%r13b
test   $0x1,%bpl
je     15b1 <dump_statx+0x461>
movzbl (%r15),%r13d
movsbl %r13b,%edi
call   1030 <putchar@plt>
test   %r12,%r12
je     15d6 <dump_statx+0x486>
mov    $0x20,%edi
call   1030 <putchar@plt>
add    $0xfffffffffffffff8,%r12
add    $0x8,%r15
jmp    14c0 <dump_statx+0x370>
lea    0xb59(%rip),%rdi
call   1040 <puts@plt>
add    $0x108,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xa5f(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
jmp    1228 <dump_statx+0xd8>
lea    0xb43(%rip),%rdi
call   1040 <puts@plt>
mov    $0x2d,%r15d
jmp    122e <dump_statx+0xde>
lea    0xb1c(%rip),%rdi
call   1040 <puts@plt>
mov    $0x6c,%r15d
jmp    122e <dump_statx+0xde>
lea    0xb5e(%rip),%rdi
call   1040 <puts@plt>
mov    $0x70,%r15d
jmp    122e <dump_statx+0xde>
lea    0xb22(%rip),%rdi
call   1040 <puts@plt>
mov    $0x64,%r15d
jmp    122e <dump_statx+0xde>
lea    0xb17(%rip),%rdi
call   1040 <puts@plt>
mov    $0x63,%r15d
jmp    122e <dump_statx+0xde>
lea    0xadf(%rip),%rdi
call   1040 <puts@plt>
mov    $0x62,%r15d
jmp    122e <dump_statx+0xde>

LLVM IR (-O0):
%struct.statx = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i64, i64, i64 }
@.str = [12 x i8] c"results=%x\0A\00"
@.str.1 = [2 x i8] c" \00"
@STATX_SIZE = global i32 0
@.str.2 = [15 x i8] c" Size: %-15llu\00"
@STATX_BLOCKS = global i32 0
@.str.3 = [17 x i8] c" Blocks: %-10llu\00"
@.str.4 = [18 x i8] c" IO Block: %-6llu\00"
@STATX_TYPE = global i32 0
@S_IFMT = global i32 0
@.str.5 = [8 x i8] c" FIFO\0A\00"
@.str.6 = [26 x i8] c" character special file\0A\00"
@.str.7 = [13 x i8] c" directory\0A\00"
@.str.8 = [22 x i8] c" block special file\0A\00"
@.str.9 = [16 x i8] c" regular file\0A\00"
@.str.10 = [17 x i8] c" symbolic link\0A\00"
@.str.11 = [10 x i8] c" socket\0A\00"
@.str.12 = [20 x i8] c" unknown type (%o)\0A\00"
@.str.13 = [10 x i8] c" no type\0A\00"
@.str.14 = [10 x i8] c"%02x:%02x\00"
@.str.15 = [14 x i8] c"Device: %-15s\00"
@STATX_INO = global i32 0
@.str.16 = [16 x i8] c" Inode: %-11llu\00"
@STATX_NLINK = global i32 0
@.str.17 = [13 x i8] c" Links: %-5u\00"
@.str.18 = [20 x i8] c" Device type: %u,%u\00"
@.str.19 = [2 x i8] c"\0A\00"
@STATX_MODE = global i32 0
@.str.20 = [38 x i8] c"Access: (%04o/%c%c%c%c%c%c%c%c%c%c) \00"
@S_IRUSR = global i32 0
@S_IWUSR = global i32 0
@S_IXUSR = global i32 0
@S_IRGRP = global i32 0
@S_IWGRP = global i32 0
@S_IXGRP = global i32 0
@S_IROTH = global i32 0
@S_IWOTH = global i32 0
@S_IXOTH = global i32 0
@STATX_UID = global i32 0
@.str.21 = [12 x i8] c"Uid: %5d \00"
@STATX_GID = global i32 0
@.str.22 = [10 x i8] c"Gid: %5d\0A\00"
@STATX_ATIME = global i32 0
@.str.23 = [9 x i8] c"Access: \00"
@STATX_MTIME = global i32 0
@.str.24 = [9 x i8] c"Modify: \00"
@STATX_CTIME = global i32 0
@.str.25 = [9 x i8] c"Change: \00"
@STATX_BTIME = global i32 0
@.str.26 = [9 x i8] c" Birth: \00"
@dump_statx.attr_representation = internal global [65 x i8] c"???????????????????????????????????????????????????me????dai?c??\00"
@.str.27 = [22 x i8] c"Attributes: %016llx (\00"
@.str.28 = [3 x i8] c")\0A\00"
define void @dump_statx(%struct.statx* %0) {
%2 = alloca %struct.statx*
%3 = alloca [256 x i8]
%4 = alloca i8
%5 = alloca i8
%6 = alloca i8
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
store %struct.statx* %0, %struct.statx** %2
store i8 63, i8* %4
%10 = load %struct.statx*, %struct.statx** %2
%11 = getelementptr inbounds %struct.statx, %struct.statx* %10, i32 0, i32 0
%12 = load i32, i32* %11
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 %12)
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%15 = load %struct.statx*, %struct.statx** %2
%16 = getelementptr inbounds %struct.statx, %struct.statx* %15, i32 0, i32 0
%17 = load i32, i32* %16
%18 = load i32, i32* @STATX_SIZE
%19 = and i32 %17, %18
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %26
21: ; preds = %1
%22 = load %struct.statx*, %struct.statx** %2
%23 = getelementptr inbounds %struct.statx, %struct.statx* %22, i32 0, i32 18
%24 = load i64, i64* %23
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0), i64 %24)
br label %26
26: ; preds = %21, %1
%27 = load %struct.statx*, %struct.statx** %2
%28 = getelementptr inbounds %struct.statx, %struct.statx* %27, i32 0, i32 0
%29 = load i32, i32* %28
%30 = load i32, i32* @STATX_BLOCKS
%31 = and i32 %29, %30
%32 = icmp ne i32 %31, 0
br i1 %32, label %33, label %38
33: ; preds = %26
%34 = load %struct.statx*, %struct.statx** %2
%35 = getelementptr inbounds %struct.statx, %struct.statx* %34, i32 0, i32 17
%36 = load i64, i64* %35
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0), i64 %36)
br label %38
38: ; preds = %33, %26
%39 = load %struct.statx*, %struct.statx** %2
%40 = getelementptr inbounds %struct.statx, %struct.statx* %39, i32 0, i32 16
%41 = load i64, i64* %40
%42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.4, i64 0, i64 0), i64 %41)
%43 = load %struct.statx*, %struct.statx** %2
%44 = getelementptr inbounds %struct.statx, %struct.statx* %43, i32 0, i32 0
%45 = load i32, i32* %44
%46 = load i32, i32* @STATX_TYPE
%47 = and i32 %45, %46
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %77
49: ; preds = %38
%50 = load %struct.statx*, %struct.statx** %2
%51 = getelementptr inbounds %struct.statx, %struct.statx* %50, i32 0, i32 1
%52 = load i32, i32* %51
%53 = load i32, i32* @S_IFMT
%54 = and i32 %52, %53
switch i32 %54, label %69 [
i32 131, label %55
i32 133, label %57
i32 132, label %59
i32 134, label %61
i32 129, label %63
i32 130, label %65
i32 128, label %67
]
55: ; preds = %49
%56 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0))
store i8 112, i8* %4
br label %76
57: ; preds = %49
%58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.6, i64 0, i64 0))
store i8 99, i8* %4
br label %76
59: ; preds = %49
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0))
store i8 100, i8* %4
br label %76
61: ; preds = %49
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.8, i64 0, i64 0))
store i8 98, i8* %4
br label %76
63: ; preds = %49
%64 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.9, i64 0, i64 0))
store i8 45, i8* %4
br label %76
65: ; preds = %49
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.10, i64 0, i64 0))
store i8 108, i8* %4
br label %76
67: ; preds = %49
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
store i8 115, i8* %4
br label %76
69: ; preds = %49
%70 = load %struct.statx*, %struct.statx** %2
%71 = getelementptr inbounds %struct.statx, %struct.statx* %70, i32 0, i32 1
%72 = load i32, i32* %71
%73 = load i32, i32* @S_IFMT
%74 = and i32 %72, %73
%75 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.12, i64 0, i64 0), i32 %74)
br label %76
76: ; preds = %69, %67, %65, %63, %61, %59, %57, %55
br label %79
77: ; preds = %38
%78 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.13, i64 0, i64 0))
br label %79
79: ; preds = %77, %76
%80 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%81 = load %struct.statx*, %struct.statx** %2
%82 = getelementptr inbounds %struct.statx, %struct.statx* %81, i32 0, i32 2
%83 = load i32, i32* %82
%84 = load %struct.statx*, %struct.statx** %2
%85 = getelementptr inbounds %struct.statx, %struct.statx* %84, i32 0, i32 3
%86 = load i32, i32* %85
%87 = call i32 @sprintf(i8* %80, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.14, i64 0, i64 0), i32 %83, i32 %86)
%88 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%89 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.15, i64 0, i64 0), i8* %88)
%90 = load %struct.statx*, %struct.statx** %2
%91 = getelementptr inbounds %struct.statx, %struct.statx* %90, i32 0, i32 0
%92 = load i32, i32* %91
%93 = load i32, i32* @STATX_INO
%94 = and i32 %92, %93
%95 = icmp ne i32 %94, 0
br i1 %95, label %96, label %101
96: ; preds = %79
%97 = load %struct.statx*, %struct.statx** %2
%98 = getelementptr inbounds %struct.statx, %struct.statx* %97, i32 0, i32 15
%99 = load i64, i64* %98
%100 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.16, i64 0, i64 0), i64 %99)
br label %101
101: ; preds = %96, %79
%102 = load %struct.statx*, %struct.statx** %2
%103 = getelementptr inbounds %struct.statx, %struct.statx* %102, i32 0, i32 0
%104 = load i32, i32* %103
%105 = load i32, i32* @STATX_NLINK
%106 = and i32 %104, %105
%107 = icmp ne i32 %106, 0
br i1 %107, label %108, label %113
108: ; preds = %101
%109 = load %struct.statx*, %struct.statx** %2
%110 = getelementptr inbounds %struct.statx, %struct.statx* %109, i32 0, i32 4
%111 = load i32, i32* %110
%112 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.17, i64 0, i64 0), i32 %111)
br label %113
113: ; preds = %108, %101
%114 = load %struct.statx*, %struct.statx** %2
%115 = getelementptr inbounds %struct.statx, %struct.statx* %114, i32 0, i32 0
%116 = load i32, i32* %115
%117 = load i32, i32* @STATX_TYPE
%118 = and i32 %116, %117
%119 = icmp ne i32 %118, 0
br i1 %119, label %120, label %135
120: ; preds = %113
%121 = load %struct.statx*, %struct.statx** %2
%122 = getelementptr inbounds %struct.statx, %struct.statx* %121, i32 0, i32 1
%123 = load i32, i32* %122
%124 = load i32, i32* @S_IFMT
%125 = and i32 %123, %124
switch i32 %125, label %134 [
i32 134, label %126
i32 133, label %126
]
126: ; preds = %120, %120
%127 = load %struct.statx*, %struct.statx** %2
%128 = getelementptr inbounds %struct.statx, %struct.statx* %127, i32 0, i32 5
%129 = load i32, i32* %128
%130 = load %struct.statx*, %struct.statx** %2
%131 = getelementptr inbounds %struct.statx, %struct.statx* %130, i32 0, i32 6
%132 = load i32, i32* %131
%133 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.18, i64 0, i64 0), i32 %129, i32 %132)
br label %134
134: ; preds = %120, %126
br label %135
135: ; preds = %134, %113
%136 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.19, i64 0, i64 0))
%137 = load %struct.statx*, %struct.statx** %2
%138 = getelementptr inbounds %struct.statx, %struct.statx* %137, i32 0, i32 0
%139 = load i32, i32* %138
%140 = load i32, i32* @STATX_MODE
%141 = and i32 %139, %140
%142 = icmp ne i32 %141, 0
br i1 %142, label %143, label %223
143: ; preds = %135
%144 = load %struct.statx*, %struct.statx** %2
%145 = getelementptr inbounds %struct.statx, %struct.statx* %144, i32 0, i32 1
%146 = load i32, i32* %145
%147 = and i32 %146, 4095
%148 = load i8, i8* %4
%149 = sext i8 %148 to i32
%150 = load %struct.statx*, %struct.statx** %2
%151 = getelementptr inbounds %struct.statx, %struct.statx* %150, i32 0, i32 1
%152 = load i32, i32* %151
%153 = load i32, i32* @S_IRUSR
%154 = and i32 %152, %153
%155 = icmp ne i32 %154, 0
%156 = zext i1 %155 to i64
%157 = select i1 %155, i32 114, i32 45
%158 = load %struct.statx*, %struct.statx** %2
%159 = getelementptr inbounds %struct.statx, %struct.statx* %158, i32 0, i32 1
%160 = load i32, i32* %159
%161 = load i32, i32* @S_IWUSR
%162 = and i32 %160, %161
%163 = icmp ne i32 %162, 0
%164 = zext i1 %163 to i64
%165 = select i1 %163, i32 119, i32 45
%166 = load %struct.statx*, %struct.statx** %2
%167 = getelementptr inbounds %struct.statx, %struct.statx* %166, i32 0, i32 1
%168 = load i32, i32* %167
%169 = load i32, i32* @S_IXUSR
%170 = and i32 %168, %169
%171 = icmp ne i32 %170, 0
%172 = zext i1 %171 to i64
%173 = select i1 %171, i32 120, i32 45
%174 = load %struct.statx*, %struct.statx** %2
%175 = getelementptr inbounds %struct.statx, %struct.statx* %174, i32 0, i32 1
%176 = load i32, i32* %175
%177 = load i32, i32* @S_IRGRP
%178 = and i32 %176, %177
%179 = icmp ne i32 %178, 0
%180 = zext i1 %179 to i64
%181 = select i1 %179, i32 114, i32 45
%182 = load %struct.statx*, %struct.statx** %2
%183 = getelementptr inbounds %struct.statx, %struct.statx* %182, i32 0, i32 1
%184 = load i32, i32* %183
%185 = load i32, i32* @S_IWGRP
%186 = and i32 %184, %185
%187 = icmp ne i32 %186, 0
%188 = zext i1 %187 to i64
%189 = select i1 %187, i32 119, i32 45
%190 = load %struct.statx*, %struct.statx** %2
%191 = getelementptr inbounds %struct.statx, %struct.statx* %190, i32 0, i32 1
%192 = load i32, i32* %191
%193 = load i32, i32* @S_IXGRP
%194 = and i32 %192, %193
%195 = icmp ne i32 %194, 0
%196 = zext i1 %195 to i64
%197 = select i1 %195, i32 120, i32 45
%198 = load %struct.statx*, %struct.statx** %2
%199 = getelementptr inbounds %struct.statx, %struct.statx* %198, i32 0, i32 1
%200 = load i32, i32* %199
%201 = load i32, i32* @S_IROTH
%202 = and i32 %200, %201
%203 = icmp ne i32 %202, 0
%204 = zext i1 %203 to i64
%205 = select i1 %203, i32 114, i32 45
%206 = load %struct.statx*, %struct.statx** %2
%207 = getelementptr inbounds %struct.statx, %struct.statx* %206, i32 0, i32 1
%208 = load i32, i32* %207
%209 = load i32, i32* @S_IWOTH
%210 = and i32 %208, %209
%211 = icmp ne i32 %210, 0
%212 = zext i1 %211 to i64
%213 = select i1 %211, i32 119, i32 45
%214 = load %struct.statx*, %struct.statx** %2
%215 = getelementptr inbounds %struct.statx, %struct.statx* %214, i32 0, i32 1
%216 = load i32, i32* %215
%217 = load i32, i32* @S_IXOTH
%218 = and i32 %216, %217
%219 = icmp ne i32 %218, 0
%220 = zext i1 %219 to i64
%221 = select i1 %219, i32 120, i32 45
%222 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.20, i64 0, i64 0), i32 %147, i32 %149, i32 %157, i32 %165, i32 %173, i32 %181, i32 %189, i32 %197, i32 %205, i32 %213, i32 %221)
br label %223
223: ; preds = %143, %135
%224 = load %struct.statx*, %struct.statx** %2
%225 = getelementptr inbounds %struct.statx, %struct.statx* %224, i32 0, i32 0
%226 = load i32, i32* %225
%227 = load i32, i32* @STATX_UID
%228 = and i32 %226, %227
%229 = icmp ne i32 %228, 0
br i1 %229, label %230, label %235
230: ; preds = %223
%231 = load %struct.statx*, %struct.statx** %2
%232 = getelementptr inbounds %struct.statx, %struct.statx* %231, i32 0, i32 7
%233 = load i32, i32* %232
%234 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.21, i64 0, i64 0), i32 %233)
br label %235
235: ; preds = %230, %223
%236 = load %struct.statx*, %struct.statx** %2
%237 = getelementptr inbounds %struct.statx, %struct.statx* %236, i32 0, i32 0
%238 = load i32, i32* %237
%239 = load i32, i32* @STATX_GID
%240 = and i32 %238, %239
%241 = icmp ne i32 %240, 0
br i1 %241, label %242, label %247
242: ; preds = %235
%243 = load %struct.statx*, %struct.statx** %2
%244 = getelementptr inbounds %struct.statx, %struct.statx* %243, i32 0, i32 8
%245 = load i32, i32* %244
%246 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.22, i64 0, i64 0), i32 %245)
br label %247
247: ; preds = %242, %235
%248 = load %struct.statx*, %struct.statx** %2
%249 = getelementptr inbounds %struct.statx, %struct.statx* %248, i32 0, i32 0
%250 = load i32, i32* %249
%251 = load i32, i32* @STATX_ATIME
%252 = and i32 %250, %251
%253 = icmp ne i32 %252, 0
br i1 %253, label %254, label %258
254: ; preds = %247
%255 = load %struct.statx*, %struct.statx** %2
%256 = getelementptr inbounds %struct.statx, %struct.statx* %255, i32 0, i32 14
%257 = call i32 @print_time(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.23, i64 0, i64 0), i32* %256)
br label %258
258: ; preds = %254, %247
%259 = load %struct.statx*, %struct.statx** %2
%260 = getelementptr inbounds %struct.statx, %struct.statx* %259, i32 0, i32 0
%261 = load i32, i32* %260
%262 = load i32, i32* @STATX_MTIME
%263 = and i32 %261, %262
%264 = icmp ne i32 %263, 0
br i1 %264, label %265, label %269
265: ; preds = %258
%266 = load %struct.statx*, %struct.statx** %2
%267 = getelementptr inbounds %struct.statx, %struct.statx* %266, i32 0, i32 13
%268 = call i32 @print_time(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.24, i64 0, i64 0), i32* %267)
br label %269
269: ; preds = %265, %258
%270 = load %struct.statx*, %struct.statx** %2
%271 = getelementptr inbounds %struct.statx, %struct.statx* %270, i32 0, i32 0
%272 = load i32, i32* %271
%273 = load i32, i32* @STATX_CTIME
%274 = and i32 %272, %273
%275 = icmp ne i32 %274, 0
br i1 %275, label %276, label %280
276: ; preds = %269
%277 = load %struct.statx*, %struct.statx** %2
%278 = getelementptr inbounds %struct.statx, %struct.statx* %277, i32 0, i32 12
%279 = call i32 @print_time(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.25, i64 0, i64 0), i32* %278)
br label %280
280: ; preds = %276, %269
%281 = load %struct.statx*, %struct.statx** %2
%282 = getelementptr inbounds %struct.statx, %struct.statx* %281, i32 0, i32 0
%283 = load i32, i32* %282
%284 = load i32, i32* @STATX_BTIME
%285 = and i32 %283, %284
%286 = icmp ne i32 %285, 0
br i1 %286, label %287, label %291
287: ; preds = %280
%288 = load %struct.statx*, %struct.statx** %2
%289 = getelementptr inbounds %struct.statx, %struct.statx* %288, i32 0, i32 11
%290 = call i32 @print_time(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.26, i64 0, i64 0), i32* %289)
br label %291
291: ; preds = %287, %280
%292 = load %struct.statx*, %struct.statx** %2
%293 = getelementptr inbounds %struct.statx, %struct.statx* %292, i32 0, i32 9
%294 = load i32, i32* %293
%295 = icmp ne i32 %294, 0
br i1 %295, label %296, label %368
296: ; preds = %291
%297 = load %struct.statx*, %struct.statx** %2
%298 = getelementptr inbounds %struct.statx, %struct.statx* %297, i32 0, i32 10
%299 = load i32, i32* %298
%300 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.27, i64 0, i64 0), i32 %299)
store i32 56, i32* %8
br label %301
301: ; preds = %363, %296
%302 = load i32, i32* %8
%303 = icmp sge i32 %302, 0
br i1 %303, label %304, label %366
304: ; preds = %301
%305 = load %struct.statx*, %struct.statx** %2
%306 = getelementptr inbounds %struct.statx, %struct.statx* %305, i32 0, i32 10
%307 = load i32, i32* %306
%308 = load i32, i32* %8
%309 = ashr i32 %307, %308
%310 = trunc i32 %309 to i8
store i8 %310, i8* %5
%311 = load %struct.statx*, %struct.statx** %2
%312 = getelementptr inbounds %struct.statx, %struct.statx* %311, i32 0, i32 9
%313 = load i32, i32* %312
%314 = load i32, i32* %8
%315 = ashr i32 %313, %314
%316 = trunc i32 %315 to i8
store i8 %316, i8* %6
store i32 7, i32* %7
br label %317
317: ; preds = %354, %304
%318 = load i32, i32* %7
%319 = icmp sge i32 %318, 0
br i1 %319, label %320, label %357
320: ; preds = %317
%321 = load i32, i32* %8
%322 = load i32, i32* %7
%323 = add nsw i32 %321, %322
store i32 %323, i32* %9
%324 = load i8, i8* %6
%325 = zext i8 %324 to i32
%326 = and i32 %325, 128
%327 = icmp ne i32 %326, 0
br i1 %327, label %330, label %328
328: ; preds = %320
%329 = call i32 @putchar(i8 signext 46)
br label %345
330: ; preds = %320
%331 = load i8, i8* %5
%332 = zext i8 %331 to i32
%333 = and i32 %332, 128
%334 = icmp ne i32 %333, 0
br i1 %334, label %335, label %342
335: ; preds = %330
%336 = load i32, i32* %9
%337 = sub nsw i32 63, %336
%338 = sext i32 %337 to i64
%339 = getelementptr inbounds [65 x i8], [65 x i8]* @dump_statx.attr_representation, i64 0, i64 %338
%340 = load i8, i8* %339
%341 = call i32 @putchar(i8 signext %340)
br label %344
342: ; preds = %330
%343 = call i32 @putchar(i8 signext 45)
br label %344
344: ; preds = %342, %335
br label %345
345: ; preds = %344, %328
%346 = load i8, i8* %5
%347 = zext i8 %346 to i32
%348 = shl i32 %347, 1
%349 = trunc i32 %348 to i8
store i8 %349, i8* %5
%350 = load i8, i8* %6
%351 = zext i8 %350 to i32
%352 = shl i32 %351, 1
%353 = trunc i32 %352 to i8
store i8 %353, i8* %6
br label %354
354: ; preds = %345
%355 = load i32, i32* %7
%356 = add nsw i32 %355, -1
store i32 %356, i32* %7
br label %317
357: ; preds = %317
%358 = load i32, i32* %8
%359 = icmp ne i32 %358, 0
br i1 %359, label %360, label %362
360: ; preds = %357
%361 = call i32 @putchar(i8 signext 32)
br label %362
362: ; preds = %360, %357
br label %363
363: ; preds = %362
%364 = load i32, i32* %8
%365 = sub nsw i32 %364, 8
store i32 %365, i32* %8
br label %301
366: ; preds = %301
%367 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.28, i64 0, i64 0))
br label %368
368: ; preds = %366, %291
ret void
}

LLVM IR (-O2):
%struct.statx = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i64, i64, i64 }
@.str = [12 x i8] c"results=%x\0A\00"
@STATX_SIZE = global i32 0
@.str.2 = [15 x i8] c" Size: %-15llu\00"
@STATX_BLOCKS = global i32 0
@.str.3 = [17 x i8] c" Blocks: %-10llu\00"
@.str.4 = [18 x i8] c" IO Block: %-6llu\00"
@STATX_TYPE = global i32 0
@S_IFMT = global i32 0
@.str.12 = [20 x i8] c" unknown type (%o)\0A\00"
@.str.14 = [10 x i8] c"%02x:%02x\00"
@.str.15 = [14 x i8] c"Device: %-15s\00"
@STATX_INO = global i32 0
@.str.16 = [16 x i8] c" Inode: %-11llu\00"
@STATX_NLINK = global i32 0
@.str.17 = [13 x i8] c" Links: %-5u\00"
@.str.18 = [20 x i8] c" Device type: %u,%u\00"
@STATX_MODE = global i32 0
@.str.20 = [38 x i8] c"Access: (%04o/%c%c%c%c%c%c%c%c%c%c) \00"
@S_IRUSR = global i32 0
@S_IWUSR = global i32 0
@S_IXUSR = global i32 0
@S_IRGRP = global i32 0
@S_IWGRP = global i32 0
@S_IXGRP = global i32 0
@S_IROTH = global i32 0
@S_IWOTH = global i32 0
@S_IXOTH = global i32 0
@STATX_UID = global i32 0
@.str.21 = [12 x i8] c"Uid: %5d \00"
@STATX_GID = global i32 0
@.str.22 = [10 x i8] c"Gid: %5d\0A\00"
@STATX_ATIME = global i32 0
@.str.23 = [9 x i8] c"Access: \00"
@STATX_MTIME = global i32 0
@.str.24 = [9 x i8] c"Modify: \00"
@STATX_CTIME = global i32 0
@.str.25 = [9 x i8] c"Change: \00"
@STATX_BTIME = global i32 0
@.str.26 = [9 x i8] c" Birth: \00"
@dump_statx.attr_representation = internal unnamed_addr constant [65 x i8] c"???????????????????????????????????????????????????me????dai?c??\00"
@.str.27 = [22 x i8] c"Attributes: %016llx (\00"
@str = [9 x i8] c" no type\00"
@str.29 = [2 x i8] c")\00"
@str.30 = [9 x i8] c" socket\00"
@str.31 = [16 x i8] c" symbolic link\00"
@str.32 = [15 x i8] c" regular file\00"
@str.33 = [21 x i8] c" block special file\00"
@str.34 = [12 x i8] c" directory\00"
@str.35 = [25 x i8] c" character special file\00"
@str.36 = [7 x i8] c" FIFO\00"
define void @dump_statx(%struct.statx* %0) {
%2 = alloca [256 x i8]
%3 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%4 = getelementptr inbounds %struct.statx, %struct.statx* %0, i64 0, i32 0
%5 = load i32, i32* %4
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 %5)
%7 = tail call i32 bitcast (i32 (i8)* @putchar to i32 (i32)*)(i32 32)
%8 = load i32, i32* %4
%9 = load i32, i32* @STATX_SIZE
%10 = and i32 %9, %8
%11 = icmp eq i32 %10, 0
br i1 %11, label %17, label %12
12: ; preds = %1
%13 = getelementptr inbounds %struct.statx, %struct.statx* %0, i64 0, i32 18
%14 = load i64, i64* %13
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0), i64 %14)
%16 = load i32, i32* %4
br label %17
17: ; preds = %12, %1
%18 = phi i32 [ %16, %12 ], [ %8, %1 ]
%19 = load i32, i32* @STATX_BLOCKS
%20 = and i32 %19, %18
%21 = icmp eq i32 %20, 0
br i1 %21, label %26, label %22
22: ; preds = %17
%23 = getelementptr inbounds %struct.statx, %struct.statx* %0, i64 0, i32 17
%24 = load i64, i64* %23
%25 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0), i64 %24)
br label %26
26: ; preds = %22, %17
%27 = getelementptr inbounds %struct.statx, %struct.statx* %0, i64 0, i32 16
%28 = load i64, i64* %27
%29 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.4, i64 0, i64 0), i64 %28)
%30 = load i32, i32* %4
%31 = load i32, i32* @STATX_TYPE
%32 = and i32 %31, %30
%33 = icmp eq i32 %32, 0
br i1 %33, label %55, label %34
34: ; preds = %26
%35 = getelementptr inbounds %struct.statx, %struct.statx* %0, i64 0, i32 1
%36 = load i32, i32* %35
%37 = load i32, i32* @S_IFMT
%38 = and i32 %37, %36
switch i32 %38, label %53 [
i32 131, label %39
i32 133, label %41
i32 132, label %43
i32 134, label %45
i32 129, label %47
i32 130, label %49
i32 128, label %51
]
39: ; preds = %34
%40 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.36, i64 0, i64 0))
br label %57
41: ; preds = %34
%42 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.35, i64 0, i64 0))
br label %57
43: ; preds = %34
%44 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @str.34, i64 0, i64 0))
br label %57
45: ; preds = %34
%46 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.33, i64 0, i64 0))
br label %57
47: ; preds = %34
%48 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.32, i64 0, i64 0))
br label %57
49: ; preds = %34
%50 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @str.31, i64 0, i64 0))
br label %57
51: ; preds = %34
%52 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str.30, i64 0, i64 0))
br label %57
53: ; preds = %34
%54 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.12, i64 0, i64 0), i32 %38)
br label %57
55: ; preds = %26
%56 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str, i64 0, i64 0))
br label %57
57: ; preds = %39, %41, %43, %45, %47, %49, %51, %53, %55
%58 = phi i32 [ 63, %53 ], [ 115, %51 ], [ 108, %49 ], [ 45, %47 ], [ 98, %45 ], [ 100, %43 ], [ 99, %41 ], [ 112, %39 ], [ 63, %55 ]
%59 = getelementptr inbounds %struct.statx, %struct.statx* %0, i64 0, i32 2
%60 = load i32, i32* %59
%61 = getelementptr inbounds %struct.statx, %struct.statx* %0, i64 0, i32 3
%62 = load i32, i32* %61
%63 = call i32 @sprintf(i8* %3, i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.14, i64 0, i64 0), i32 %60, i32 %62)
%64 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.15, i64 0, i64 0), i8* %3)
%65 = load i32, i32* %4
%66 = load i32, i32* @STATX_INO
%67 = and i32 %66, %65
%68 = icmp eq i32 %67, 0
br i1 %68, label %74, label %69
69: ; preds = %57
%70 = getelementptr inbounds %struct.statx, %struct.statx* %0, i64 0, i32 15
%71 = load i64, i64* %70
%72 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.16, i64 0, i64 0), i64 %71)
%73 = load i32, i32* %4
br label %74
74: ; preds = %69, %57
%75 = phi i32 [ %73, %69 ], [ %65, %57 ]
%76 = load i32, i32* @STATX_NLINK
%77 = and i32 %76, %75
%78 = icmp eq i32 %77, 0
br i1 %78, label %84, label %79
79: ; preds = %74
%80 = getelementptr inbounds %struct.statx, %struct.statx* %0, i64 0, i32 4
%81 = load i32, i32* %80
%82 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.17, i64 0, i64 0), i32 %81)
%83 = load i32, i32* %4
br label %84
84: ; preds = %79, %74
%85 = phi i32 [ %83, %79 ], [ %75, %74 ]
%86 = load i32, i32* @STATX_TYPE
%87 = and i32 %86, %85
%88 = icmp eq i32 %87, 0
br i1 %88, label %102, label %89
89: ; preds = %84
%90 = getelementptr inbounds %struct.statx, %struct.statx* %0, i64 0, i32 1
%91 = load i32, i32* %90
%92 = load i32, i32* @S_IFMT
%93 = and i32 %92, %91
%94 = add i32 %93, -133
%95 = icmp ult i32 %94, 2
br i1 %95, label %96, label %102
96: ; preds = %89
%97 = getelementptr inbounds %struct.statx, %struct.statx* %0, i64 0, i32 5
%98 = load i32, i32* %97
%99 = getelementptr inbounds %struct.statx, %struct.statx* %0, i64 0, i32 6
%100 = load i32, i32* %99
%101 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.18, i64 0, i64 0), i32 %98, i32 %100)
br label %102
102: ; preds = %89, %96, %84
%103 = call i32 bitcast (i32 (i8)* @putchar to i32 (i32)*)(i32 10)
%104 = load i32, i32* %4
%105 = load i32, i32* @STATX_MODE
%106 = and i32 %105, %104
%107 = icmp eq i32 %106, 0
br i1 %107, label %150, label %108
108: ; preds = %102
%109 = getelementptr inbounds %struct.statx, %struct.statx* %0, i64 0, i32 1
%110 = load i32, i32* %109
%111 = and i32 %110, 4095
%112 = load i32, i32* @S_IRUSR
%113 = and i32 %112, %110
%114 = icmp eq i32 %113, 0
%115 = select i1 %114, i32 45, i32 114
%116 = load i32, i32* @S_IWUSR
%117 = and i32 %116, %110
%118 = icmp eq i32 %117, 0
%119 = select i1 %118, i32 45, i32 119
%120 = load i32, i32* @S_IXUSR
%121 = and i32 %120, %110
%122 = icmp eq i32 %121, 0
%123 = select i1 %122, i32 45, i32 120
%124 = load i32, i32* @S_IRGRP
%125 = and i32 %124, %110
%126 = icmp eq i32 %125, 0
%127 = select i1 %126, i32 45, i32 114
%128 = load i32, i32* @S_IWGRP
%129 = and i32 %128, %110
%130 = icmp eq i32 %129, 0
%131 = select i1 %130, i32 45, i32 119
%132 = load i32, i32* @S_IXGRP
%133 = and i32 %132, %110
%134 = icmp eq i32 %133, 0
%135 = select i1 %134, i32 45, i32 120
%136 = load i32, i32* @S_IROTH
%137 = and i32 %136, %110
%138 = icmp eq i32 %137, 0
%139 = select i1 %138, i32 45, i32 114
%140 = load i32, i32* @S_IWOTH
%141 = and i32 %140, %110
%142 = icmp eq i32 %141, 0
%143 = select i1 %142, i32 45, i32 119
%144 = load i32, i32* @S_IXOTH
%145 = and i32 %144, %110
%146 = icmp eq i32 %145, 0
%147 = select i1 %146, i32 45, i32 120
%148 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.20, i64 0, i64 0), i32 %111, i32 %58, i32 %115, i32 %119, i32 %123, i32 %127, i32 %131, i32 %135, i32 %139, i32 %143, i32 %147)
%149 = load i32, i32* %4
br label %150
150: ; preds = %108, %102
%151 = phi i32 [ %149, %108 ], [ %104, %102 ]
%152 = load i32, i32* @STATX_UID
%153 = and i32 %152, %151
%154 = icmp eq i32 %153, 0
br i1 %154, label %160, label %155
155: ; preds = %150
%156 = getelementptr inbounds %struct.statx, %struct.statx* %0, i64 0, i32 7
%157 = load i32, i32* %156
%158 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.21, i64 0, i64 0), i32 %157)
%159 = load i32, i32* %4
br label %160
160: ; preds = %155, %150
%161 = phi i32 [ %159, %155 ], [ %151, %150 ]
%162 = load i32, i32* @STATX_GID
%163 = and i32 %162, %161
%164 = icmp eq i32 %163, 0
br i1 %164, label %170, label %165
165: ; preds = %160
%166 = getelementptr inbounds %struct.statx, %struct.statx* %0, i64 0, i32 8
%167 = load i32, i32* %166
%168 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.22, i64 0, i64 0), i32 %167)
%169 = load i32, i32* %4
br label %170
170: ; preds = %165, %160
%171 = phi i32 [ %169, %165 ], [ %161, %160 ]
%172 = load i32, i32* @STATX_ATIME
%173 = and i32 %172, %171
%174 = icmp eq i32 %173, 0
br i1 %174, label %179, label %175
175: ; preds = %170
%176 = getelementptr inbounds %struct.statx, %struct.statx* %0, i64 0, i32 14
%177 = call i32 @print_time(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.23, i64 0, i64 0), i32* %176)
%178 = load i32, i32* %4
br label %179
179: ; preds = %175, %170
%180 = phi i32 [ %178, %175 ], [ %171, %170 ]
%181 = load i32, i32* @STATX_MTIME
%182 = and i32 %181, %180
%183 = icmp eq i32 %182, 0
br i1 %183, label %188, label %184
184: ; preds = %179
%185 = getelementptr inbounds %struct.statx, %struct.statx* %0, i64 0, i32 13
%186 = call i32 @print_time(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.24, i64 0, i64 0), i32* %185)
%187 = load i32, i32* %4
br label %188
188: ; preds = %184, %179
%189 = phi i32 [ %187, %184 ], [ %180, %179 ]
%190 = load i32, i32* @STATX_CTIME
%191 = and i32 %190, %189
%192 = icmp eq i32 %191, 0
br i1 %192, label %197, label %193
193: ; preds = %188
%194 = getelementptr inbounds %struct.statx, %struct.statx* %0, i64 0, i32 12
%195 = call i32 @print_time(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.25, i64 0, i64 0), i32* %194)
%196 = load i32, i32* %4
br label %197
197: ; preds = %193, %188
%198 = phi i32 [ %196, %193 ], [ %189, %188 ]
%199 = load i32, i32* @STATX_BTIME
%200 = and i32 %199, %198
%201 = icmp eq i32 %200, 0
br i1 %201, label %205, label %202
202: ; preds = %197
%203 = getelementptr inbounds %struct.statx, %struct.statx* %0, i64 0, i32 11
%204 = call i32 @print_time(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.26, i64 0, i64 0), i32* %203)
br label %205
205: ; preds = %202, %197
%206 = getelementptr inbounds %struct.statx, %struct.statx* %0, i64 0, i32 9
%207 = load i32, i32* %206
%208 = icmp eq i32 %207, 0
br i1 %208, label %328, label %209
209: ; preds = %205
%210 = getelementptr inbounds %struct.statx, %struct.statx* %0, i64 0, i32 10
%211 = load i32, i32* %210
%212 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.27, i64 0, i64 0), i32 %211)
br label %213
213: ; preds = %323, %209
%214 = phi i64 [ 56, %209 ], [ %325, %323 ]
%215 = load i32, i32* %210
%216 = trunc i64 %214 to i32
%217 = ashr i32 %215, %216
%218 = load i32, i32* %206
%219 = ashr i32 %218, %216
%220 = and i32 %219, 128
%221 = icmp eq i32 %220, 0
br i1 %221, label %230, label %222
222: ; preds = %213
%223 = and i32 %217, 128
%224 = icmp eq i32 %223, 0
br i1 %224, label %230, label %225
225: ; preds = %222
%226 = or i64 %214, 7
%227 = sub nuw nsw i64 63, %226
%228 = getelementptr inbounds [65 x i8], [65 x i8]* @dump_statx.attr_representation, i64 0, i64 %227
%229 = load i8, i8* %228
br label %230
230: ; preds = %222, %213, %225
%231 = phi i8 [ %229, %225 ], [ 46, %213 ], [ 45, %222 ]
%232 = call i32 @putchar(i8 signext %231)
%233 = and i32 %219, 64
%234 = icmp eq i32 %233, 0
br i1 %234, label %243, label %235
235: ; preds = %230
%236 = and i32 %217, 64
%237 = icmp eq i32 %236, 0
br i1 %237, label %243, label %238
238: ; preds = %235
%239 = or i64 %214, 6
%240 = sub nuw nsw i64 63, %239
%241 = getelementptr inbounds [65 x i8], [65 x i8]* @dump_statx.attr_representation, i64 0, i64 %240
%242 = load i8, i8* %241
br label %243
243: ; preds = %238, %235, %230
%244 = phi i8 [ %242, %238 ], [ 46, %230 ], [ 45, %235 ]
%245 = call i32 @putchar(i8 signext %244)
%246 = and i32 %219, 32
%247 = icmp eq i32 %246, 0
br i1 %247, label %256, label %248
248: ; preds = %243
%249 = and i32 %217, 32
%250 = icmp eq i32 %249, 0
br i1 %250, label %256, label %251
251: ; preds = %248
%252 = or i64 %214, 5
%253 = sub nuw nsw i64 63, %252
%254 = getelementptr inbounds [65 x i8], [65 x i8]* @dump_statx.attr_representation, i64 0, i64 %253
%255 = load i8, i8* %254
br label %256
256: ; preds = %251, %248, %243
%257 = phi i8 [ %255, %251 ], [ 46, %243 ], [ 45, %248 ]
%258 = call i32 @putchar(i8 signext %257)
%259 = and i32 %219, 16
%260 = icmp eq i32 %259, 0
br i1 %260, label %269, label %261
261: ; preds = %256
%262 = and i32 %217, 16
%263 = icmp eq i32 %262, 0
br i1 %263, label %269, label %264
264: ; preds = %261
%265 = or i64 %214, 4
%266 = sub nuw nsw i64 63, %265
%267 = getelementptr inbounds [65 x i8], [65 x i8]* @dump_statx.attr_representation, i64 0, i64 %266
%268 = load i8, i8* %267
br label %269
269: ; preds = %264, %261, %256
%270 = phi i8 [ %268, %264 ], [ 46, %256 ], [ 45, %261 ]
%271 = call i32 @putchar(i8 signext %270)
%272 = and i32 %219, 8
%273 = icmp eq i32 %272, 0
br i1 %273, label %282, label %274
274: ; preds = %269
%275 = and i32 %217, 8
%276 = icmp eq i32 %275, 0
br i1 %276, label %282, label %277
277: ; preds = %274
%278 = or i64 %214, 3
%279 = sub nuw nsw i64 63, %278
%280 = getelementptr inbounds [65 x i8], [65 x i8]* @dump_statx.attr_representation, i64 0, i64 %279
%281 = load i8, i8* %280
br label %282
282: ; preds = %277, %274, %269
%283 = phi i8 [ %281, %277 ], [ 46, %269 ], [ 45, %274 ]
%284 = call i32 @putchar(i8 signext %283)
%285 = and i32 %219, 4
%286 = icmp eq i32 %285, 0
br i1 %286, label %295, label %287
287: ; preds = %282
%288 = and i32 %217, 4
%289 = icmp eq i32 %288, 0
br i1 %289, label %295, label %290
290: ; preds = %287
%291 = or i64 %214, 2
%292 = sub nuw nsw i64 63, %291
%293 = getelementptr inbounds [65 x i8], [65 x i8]* @dump_statx.attr_representation, i64 0, i64 %292
%294 = load i8, i8* %293
br label %295
295: ; preds = %290, %287, %282
%296 = phi i8 [ %294, %290 ], [ 46, %282 ], [ 45, %287 ]
%297 = call i32 @putchar(i8 signext %296)
%298 = and i32 %219, 2
%299 = icmp eq i32 %298, 0
br i1 %299, label %307, label %300
300: ; preds = %295
%301 = and i32 %217, 2
%302 = icmp eq i32 %301, 0
br i1 %302, label %307, label %303
303: ; preds = %300
%304 = sub i64 62, %214
%305 = getelementptr inbounds [65 x i8], [65 x i8]* @dump_statx.attr_representation, i64 0, i64 %304
%306 = load i8, i8* %305
br label %307
307: ; preds = %303, %300, %295
%308 = phi i8 [ %306, %303 ], [ 46, %295 ], [ 45, %300 ]
%309 = call i32 @putchar(i8 signext %308)
%310 = and i32 %219, 1
%311 = icmp eq i32 %310, 0
br i1 %311, label %319, label %312
312: ; preds = %307
%313 = and i32 %217, 1
%314 = icmp eq i32 %313, 0
br i1 %314, label %319, label %315
315: ; preds = %312
%316 = sub nuw nsw i64 63, %214
%317 = getelementptr inbounds [65 x i8], [65 x i8]* @dump_statx.attr_representation, i64 0, i64 %316
%318 = load i8, i8* %317
br label %319
319: ; preds = %315, %312, %307
%320 = phi i8 [ %318, %315 ], [ 46, %307 ], [ 45, %312 ]
%321 = call i32 @putchar(i8 signext %320)
%322 = icmp eq i64 %214, 0
br i1 %322, label %326, label %323
323: ; preds = %319
%324 = call i32 @putchar(i8 signext 32)
%325 = add nsw i64 %214, -8
br label %213
326: ; preds = %319
%327 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.29, i64 0, i64 0))
br label %328
328: ; preds = %326, %205
ret void
}