#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
char fgetc(int /*<<< orphan*/ *);
size_t fpack(int /*<<< orphan*/ *, char *, char *, ...);
int /*<<< orphan*/ fputc(char, int /*<<< orphan*/ *);
int /*<<< orphan*/ fputs(char *, int /*<<< orphan*/ *);
size_t funpack(int /*<<< orphan*/ *, char *, char *, ...);
int /*<<< orphan*/ int_ok(char, char);
int /*<<< orphan*/ rewind(int /*<<< orphan*/ *);
int /*<<< orphan*/ size_ok(size_t, int);
int /*<<< orphan*/ test(char *);
int /*<<< orphan*/ title(char *);
int /*<<< orphan*/ *tmpfile();
int main(void) {
  FILE *file = tmpfile();
  size_t len;
  title("fpack()");
  test("c[5]");
  rewind(file);
  len = fpack(file, "c[5]", "Hello");
  size_ok(len, 5);
  rewind(file);
  int_ok(fgetc(file), 'H');
  int_ok(fgetc(file), 'e');
  int_ok(fgetc(file), 'l');
  int_ok(fgetc(file), 'l');
  int_ok(fgetc(file), 'o');
  test("c[] with 3");
  rewind(file);
  len = fpack(file, "c[]", "Hi", 3);
  size_ok(len, 3);
  rewind(file);
  test("c[c] with 0");
  rewind(file);
  len = fpack(file, "c[c]", "", 0);
  size_ok(len, 1);
  rewind(file);
  int_ok(fgetc(file), 0);
  test("c[c] with 4");
  rewind(file);
  len = fpack(file, "c[c]", "1234", 4);
  size_ok(len, 5);
  rewind(file);
  int_ok(fgetc(file), 4);
  int_ok(fgetc(file), '1');
  int_ok(fgetc(file), '2');
  int_ok(fgetc(file), '3');
  int_ok(fgetc(file), '4');
  title("funpack()");
  char c[5];
  test("c[5]");
  rewind(file);
  fputs("Bye!!", file);
  rewind(file);
  len = funpack(file, "c[5]", c);
  size_ok(len, 5);
  int_ok(c[0], 'B');
  int_ok(c[1], 'y');
  int_ok(c[2], 'e');
  int_ok(c[3], '!');
  int_ok(c[4], '!');
  test("c[] with 3");
  rewind(file);
  fputs("gon", file);
  rewind(file);
  len = funpack(file, "c[]", c, 3);
  size_ok(len, 3);
  int_ok(c[0], 'g');
  int_ok(c[1], 'o');
  int_ok(c[2], 'n');
  char count;
  test("c[c] with 0");
  rewind(file);
  fputc('\0', file);
  count = 5;
  rewind(file);
  len = funpack(file, "c[c]", c, &count);
  size_ok(len, 1);
  int_ok(count, 0);
  test("c[c] with 4");
  rewind(file);
  fputs("\0045678", file);
  count = 5;
  rewind(file);
  len = funpack(file, "c[c]", c, &count);
  size_ok(len, 5);
  int_ok(count, 4);
  int_ok(c[0], '5');
  int_ok(c[1], '6');
  int_ok(c[2], '7');
  int_ok(c[3], '8');
  test("c[c] limit");
  rewind(file);
  fputs("\0069abcde", file);
  c[1] = 0;
  count = 1;
  rewind(file);
  len = funpack(file, "c[c]", c, &count);
  size_ok(len, 7);
  int_ok(count, 1);
  int_ok(c[0], '9');
  int_ok(c[1], 0);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x0,%al
call   1090 <tmpfile@plt>
mov    %rax,-0x10(%rbp)
lea    0xe2f(%rip),%rdi
call   1080 <title@plt>
lea    0xe2b(%rip),%rdi
call   10d0 <test@plt>
mov    -0x10(%rbp),%rdi
call   1040 <rewind@plt>
mov    -0x10(%rbp),%rdi
lea    0xe12(%rip),%rsi
lea    0xe10(%rip),%rdx
mov    $0x0,%al
call   10b0 <fpack@plt>
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
mov    $0x5,%esi
call   10a0 <size_ok@plt>
mov    -0x10(%rbp),%rdi
call   1040 <rewind@plt>
mov    -0x10(%rbp),%rdi
call   1060 <fgetc@plt>
mov    $0x48,%esi
movsbl %al,%edi
call   1030 <int_ok@plt>
mov    -0x10(%rbp),%rdi
call   1060 <fgetc@plt>
mov    $0x65,%esi
movsbl %al,%edi
call   1030 <int_ok@plt>
mov    -0x10(%rbp),%rdi
call   1060 <fgetc@plt>
mov    $0x6c,%esi
movsbl %al,%edi
call   1030 <int_ok@plt>
mov    -0x10(%rbp),%rdi
call   1060 <fgetc@plt>
mov    $0x6c,%esi
movsbl %al,%edi
call   1030 <int_ok@plt>
mov    -0x10(%rbp),%rdi
call   1060 <fgetc@plt>
mov    $0x6f,%esi
movsbl %al,%edi
call   1030 <int_ok@plt>
lea    0xd7f(%rip),%rdi
call   10d0 <test@plt>
mov    -0x10(%rbp),%rdi
call   1040 <rewind@plt>
mov    -0x10(%rbp),%rdi
lea    0xd71(%rip),%rsi
lea    0xd6e(%rip),%rdx
mov    $0x3,%ecx
mov    $0x0,%al
call   10b0 <fpack@plt>
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
mov    $0x3,%esi
call   10a0 <size_ok@plt>
mov    -0x10(%rbp),%rdi
call   1040 <rewind@plt>
lea    0xd43(%rip),%rdi
call   10d0 <test@plt>
mov    -0x10(%rbp),%rdi
call   1040 <rewind@plt>
mov    -0x10(%rbp),%rdi
lea    0xd36(%rip),%rsi
lea    0xd54(%rip),%rdx
xor    %ecx,%ecx
mov    $0x0,%al
call   10b0 <fpack@plt>
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
mov    $0x1,%esi
call   10a0 <size_ok@plt>
mov    -0x10(%rbp),%rdi
call   1040 <rewind@plt>
mov    -0x10(%rbp),%rdi
call   1060 <fgetc@plt>
xor    %esi,%esi
movsbl %al,%edi
call   1030 <int_ok@plt>
lea    0xcf6(%rip),%rdi
call   10d0 <test@plt>
mov    -0x10(%rbp),%rdi
call   1040 <rewind@plt>
mov    -0x10(%rbp),%rdi
lea    0xcd8(%rip),%rsi
lea    0xce2(%rip),%rdx
mov    $0x4,%ecx
mov    $0x0,%al
call   10b0 <fpack@plt>
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
mov    $0x5,%esi
call   10a0 <size_ok@plt>
mov    -0x10(%rbp),%rdi
call   1040 <rewind@plt>
mov    -0x10(%rbp),%rdi
call   1060 <fgetc@plt>
mov    $0x4,%esi
movsbl %al,%edi
call   1030 <int_ok@plt>
mov    -0x10(%rbp),%rdi
call   1060 <fgetc@plt>
mov    $0x31,%esi
movsbl %al,%edi
call   1030 <int_ok@plt>
mov    -0x10(%rbp),%rdi
call   1060 <fgetc@plt>
mov    $0x32,%esi
movsbl %al,%edi
call   1030 <int_ok@plt>
mov    -0x10(%rbp),%rdi
call   1060 <fgetc@plt>
mov    $0x33,%esi
movsbl %al,%edi
call   1030 <int_ok@plt>
mov    -0x10(%rbp),%rdi
call   1060 <fgetc@plt>
mov    $0x34,%esi
movsbl %al,%edi
call   1030 <int_ok@plt>
lea    0xc4b(%rip),%rdi
call   1080 <title@plt>
lea    0xc00(%rip),%rdi
call   10d0 <test@plt>
mov    -0x10(%rbp),%rdi
call   1040 <rewind@plt>
mov    -0x10(%rbp),%rsi
lea    0xc30(%rip),%rdi
call   1050 <fputs@plt>
mov    -0x10(%rbp),%rdi
call   1040 <rewind@plt>
mov    -0x10(%rbp),%rdi
lea    -0x1d(%rbp),%rdx
lea    0xbca(%rip),%rsi
mov    $0x0,%al
call   10c0 <funpack@plt>
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
mov    $0x5,%esi
call   10a0 <size_ok@plt>
mov    $0x42,%esi
movsbl -0x1d(%rbp),%edi
call   1030 <int_ok@plt>
mov    $0x79,%esi
movsbl -0x1c(%rbp),%edi
call   1030 <int_ok@plt>
mov    $0x65,%esi
movsbl -0x1b(%rbp),%edi
call   1030 <int_ok@plt>
mov    $0x21,%esi
movsbl -0x1a(%rbp),%edi
call   1030 <int_ok@plt>
mov    $0x21,%esi
movsbl -0x19(%rbp),%edi
call   1030 <int_ok@plt>
lea    0xb6f(%rip),%rdi
call   10d0 <test@plt>
mov    -0x10(%rbp),%rdi
call   1040 <rewind@plt>
mov    -0x10(%rbp),%rsi
lea    0xb9a(%rip),%rdi
call   1050 <fputs@plt>
mov    -0x10(%rbp),%rdi
call   1040 <rewind@plt>
mov    -0x10(%rbp),%rdi
lea    -0x1d(%rbp),%rdx
lea    0xb44(%rip),%rsi
mov    $0x3,%ecx
mov    $0x0,%al
call   10c0 <funpack@plt>
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
mov    $0x3,%esi
call   10a0 <size_ok@plt>
mov    $0x67,%esi
movsbl -0x1d(%rbp),%edi
call   1030 <int_ok@plt>
mov    $0x6f,%esi
movsbl -0x1c(%rbp),%edi
call   1030 <int_ok@plt>
mov    $0x6e,%esi
movsbl -0x1b(%rbp),%edi
call   1030 <int_ok@plt>
lea    0xafc(%rip),%rdi
call   10d0 <test@plt>
mov    -0x10(%rbp),%rdi
call   1040 <rewind@plt>
mov    -0x10(%rbp),%rsi
xor    %edi,%edi
call   1070 <fputc@plt>
movb   $0x5,-0x1e(%rbp)
mov    -0x10(%rbp),%rdi
call   1040 <rewind@plt>
mov    -0x10(%rbp),%rdi
lea    -0x1d(%rbp),%rdx
lea    0xad3(%rip),%rsi
lea    -0x1e(%rbp),%rcx
mov    $0x0,%al
call   10c0 <funpack@plt>
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
mov    $0x1,%esi
call   10a0 <size_ok@plt>
xor    %esi,%esi
movsbl -0x1e(%rbp),%edi
call   1030 <int_ok@plt>
lea    0xaa9(%rip),%rdi
call   10d0 <test@plt>
mov    -0x10(%rbp),%rdi
call   1040 <rewind@plt>
mov    -0x10(%rbp),%rsi
lea    0xab5(%rip),%rdi
call   1050 <fputs@plt>
movb   $0x5,-0x1e(%rbp)
mov    -0x10(%rbp),%rdi
call   1040 <rewind@plt>
mov    -0x10(%rbp),%rdi
lea    -0x1d(%rbp),%rdx
lea    0xa6a(%rip),%rsi
lea    -0x1e(%rbp),%rcx
mov    $0x0,%al
call   10c0 <funpack@plt>
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
mov    $0x5,%esi
call   10a0 <size_ok@plt>
mov    $0x4,%esi
movsbl -0x1e(%rbp),%edi
call   1030 <int_ok@plt>
mov    $0x35,%esi
movsbl -0x1d(%rbp),%edi
call   1030 <int_ok@plt>
mov    $0x36,%esi
movsbl -0x1c(%rbp),%edi
call   1030 <int_ok@plt>
mov    $0x37,%esi
movsbl -0x1b(%rbp),%edi
call   1030 <int_ok@plt>
mov    $0x38,%esi
movsbl -0x1a(%rbp),%edi
call   1030 <int_ok@plt>
lea    0xa30(%rip),%rdi
call   10d0 <test@plt>
mov    -0x10(%rbp),%rdi
call   1040 <rewind@plt>
mov    -0x10(%rbp),%rsi
lea    0xa22(%rip),%rdi
call   1050 <fputs@plt>
movb   $0x0,-0x1c(%rbp)
movb   $0x1,-0x1e(%rbp)
mov    -0x10(%rbp),%rdi
call   1040 <rewind@plt>
mov    -0x10(%rbp),%rdi
lea    -0x1d(%rbp),%rdx
lea    0x9c2(%rip),%rsi
lea    -0x1e(%rbp),%rcx
mov    $0x0,%al
call   10c0 <funpack@plt>
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
mov    $0x7,%esi
call   10a0 <size_ok@plt>
mov    $0x1,%esi
movsbl -0x1e(%rbp),%edi
call   1030 <int_ok@plt>
mov    $0x39,%esi
movsbl -0x1d(%rbp),%edi
call   1030 <int_ok@plt>
xor    %esi,%esi
movsbl -0x1c(%rbp),%edi
call   1030 <int_ok@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
xor    %eax,%eax
call   1080 <tmpfile@plt>
mov    %rax,%rbx
lea    0xe34(%rip),%rdi
call   1070 <title@plt>
lea    0xe30(%rip),%r15
mov    %r15,%rdi
call   10d0 <test@plt>
mov    %rbx,%rdi
call   1040 <rewind@plt>
lea    0xe1e(%rip),%rdx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   10a0 <fpack@plt>
mov    %rax,%rdi
mov    $0x5,%esi
call   1090 <size_ok@plt>
mov    %rbx,%rdi
call   1040 <rewind@plt>
mov    %rbx,%rdi
call   1050 <fgetc@plt>
movsbl %al,%edi
mov    $0x48,%esi
call   1030 <int_ok@plt>
mov    %rbx,%rdi
call   1050 <fgetc@plt>
movsbl %al,%edi
mov    $0x65,%esi
call   1030 <int_ok@plt>
mov    %rbx,%rdi
call   1050 <fgetc@plt>
movsbl %al,%edi
mov    $0x6c,%esi
call   1030 <int_ok@plt>
mov    %rbx,%rdi
call   1050 <fgetc@plt>
movsbl %al,%edi
mov    $0x6c,%esi
call   1030 <int_ok@plt>
mov    %rbx,%rdi
call   1050 <fgetc@plt>
movsbl %al,%edi
mov    $0x6f,%esi
call   1030 <int_ok@plt>
lea    0xd92(%rip),%r13
mov    %r13,%rdi
call   10d0 <test@plt>
mov    %rbx,%rdi
call   1040 <rewind@plt>
lea    0xd86(%rip),%rbp
lea    0xd83(%rip),%rdx
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    $0x3,%ecx
xor    %eax,%eax
call   10a0 <fpack@plt>
mov    %rax,%rdi
mov    $0x3,%esi
call   1090 <size_ok@plt>
mov    %rbx,%rdi
call   1040 <rewind@plt>
lea    0xd58(%rip),%rdi
call   10d0 <test@plt>
mov    %rbx,%rdi
call   1040 <rewind@plt>
lea    0xd50(%rip),%r14
lea    0xd6e(%rip),%rdx
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %ecx,%ecx
xor    %eax,%eax
call   10a0 <fpack@plt>
mov    %rax,%rdi
mov    $0x1,%esi
call   1090 <size_ok@plt>
mov    %rbx,%rdi
call   1040 <rewind@plt>
mov    %rbx,%rdi
call   1050 <fgetc@plt>
movsbl %al,%edi
xor    %esi,%esi
call   1030 <int_ok@plt>
lea    0xd11(%rip),%rdi
call   10d0 <test@plt>
mov    %rbx,%rdi
call   1040 <rewind@plt>
lea    0xd09(%rip),%rdx
mov    %rbx,%rdi
mov    %r14,%rsi
mov    $0x4,%ecx
xor    %eax,%eax
call   10a0 <fpack@plt>
mov    %rax,%rdi
mov    $0x5,%esi
call   1090 <size_ok@plt>
mov    %rbx,%rdi
call   1040 <rewind@plt>
mov    %rbx,%rdi
call   1050 <fgetc@plt>
movsbl %al,%edi
mov    $0x4,%esi
call   1030 <int_ok@plt>
mov    %rbx,%rdi
call   1050 <fgetc@plt>
movsbl %al,%edi
mov    $0x31,%esi
call   1030 <int_ok@plt>
mov    %rbx,%rdi
call   1050 <fgetc@plt>
movsbl %al,%edi
mov    $0x32,%esi
call   1030 <int_ok@plt>
mov    %rbx,%rdi
call   1050 <fgetc@plt>
movsbl %al,%edi
mov    $0x33,%esi
call   1030 <int_ok@plt>
mov    %rbx,%rdi
call   1050 <fgetc@plt>
movsbl %al,%edi
mov    $0x34,%esi
call   1030 <int_ok@plt>
lea    0xc77(%rip),%rdi
call   1070 <title@plt>
mov    %r15,%rdi
call   10d0 <test@plt>
mov    %rbx,%rdi
call   1040 <rewind@plt>
lea    0xc65(%rip),%rdi
mov    $0x5,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   10c0 <fwrite@plt>
mov    %rbx,%rdi
call   1040 <rewind@plt>
lea    0x3(%rsp),%r12
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r12,%rdx
xor    %eax,%eax
call   10b0 <funpack@plt>
mov    %rax,%rdi
mov    $0x5,%esi
call   1090 <size_ok@plt>
movsbl 0x3(%rsp),%edi
mov    $0x42,%esi
call   1030 <int_ok@plt>
movsbl 0x4(%rsp),%edi
mov    $0x79,%esi
call   1030 <int_ok@plt>
movsbl 0x5(%rsp),%edi
mov    $0x65,%esi
call   1030 <int_ok@plt>
movsbl 0x6(%rsp),%edi
mov    $0x21,%esi
call   1030 <int_ok@plt>
movsbl 0x7(%rsp),%edi
mov    $0x21,%esi
call   1030 <int_ok@plt>
mov    %r13,%rdi
call   10d0 <test@plt>
mov    %rbx,%rdi
call   1040 <rewind@plt>
lea    0xbcd(%rip),%rdi
mov    $0x3,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   10c0 <fwrite@plt>
mov    %rbx,%rdi
call   1040 <rewind@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    %r12,%rdx
mov    $0x3,%ecx
xor    %eax,%eax
call   10b0 <funpack@plt>
mov    %rax,%rdi
mov    $0x3,%esi
call   1090 <size_ok@plt>
movsbl 0x3(%rsp),%edi
mov    $0x67,%esi
call   1030 <int_ok@plt>
movsbl 0x4(%rsp),%edi
mov    $0x6f,%esi
call   1030 <int_ok@plt>
movsbl 0x5(%rsp),%edi
mov    $0x6e,%esi
call   1030 <int_ok@plt>
lea    0xb2b(%rip),%rdi
call   10d0 <test@plt>
mov    %rbx,%rdi
call   1040 <rewind@plt>
xor    %edi,%edi
mov    %rbx,%rsi
call   1060 <fputc@plt>
movb   $0x5,0x2(%rsp)
mov    %rbx,%rdi
call   1040 <rewind@plt>
lea    0x2(%rsp),%rbp
mov    %rbx,%rdi
mov    %r14,%rsi
mov    %r12,%rdx
mov    %rbp,%rcx
xor    %eax,%eax
call   10b0 <funpack@plt>
mov    %rax,%rdi
mov    $0x1,%esi
call   1090 <size_ok@plt>
movsbl 0x2(%rsp),%edi
xor    %esi,%esi
call   1030 <int_ok@plt>
lea    0xae0(%rip),%rdi
call   10d0 <test@plt>
mov    %rbx,%rdi
call   1040 <rewind@plt>
lea    0xaf1(%rip),%rdi
mov    $0x5,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   10c0 <fwrite@plt>
movb   $0x5,0x2(%rsp)
mov    %rbx,%rdi
call   1040 <rewind@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    %r12,%rdx
mov    %rbp,%rcx
xor    %eax,%eax
call   10b0 <funpack@plt>
mov    %rax,%rdi
mov    $0x5,%esi
call   1090 <size_ok@plt>
movsbl 0x2(%rsp),%edi
mov    $0x4,%esi
call   1030 <int_ok@plt>
movsbl 0x3(%rsp),%edi
mov    $0x35,%esi
call   1030 <int_ok@plt>
movsbl 0x4(%rsp),%edi
mov    $0x36,%esi
call   1030 <int_ok@plt>
movsbl 0x5(%rsp),%edi
mov    $0x37,%esi
call   1030 <int_ok@plt>
movsbl 0x6(%rsp),%edi
mov    $0x38,%esi
call   1030 <int_ok@plt>
lea    0xa66(%rip),%rdi
call   10d0 <test@plt>
mov    %rbx,%rdi
call   1040 <rewind@plt>
lea    0xa5d(%rip),%rdi
mov    $0x7,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   10c0 <fwrite@plt>
movb   $0x0,0x4(%rsp)
movb   $0x1,0x2(%rsp)
mov    %rbx,%rdi
call   1040 <rewind@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    %r12,%rdx
mov    %rbp,%rcx
xor    %eax,%eax
call   10b0 <funpack@plt>
mov    %rax,%rdi
mov    $0x7,%esi
call   1090 <size_ok@plt>
movsbl 0x2(%rsp),%edi
mov    $0x1,%esi
call   1030 <int_ok@plt>
movsbl 0x3(%rsp),%edi
mov    $0x39,%esi
call   1030 <int_ok@plt>
movsbl 0x4(%rsp),%edi
xor    %esi,%esi
call   1030 <int_ok@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [8 x i8] c"fpack()\00"
@.str.1 = [5 x i8] c"c[5]\00"
@.str.2 = [6 x i8] c"Hello\00"
@.str.3 = [11 x i8] c"c[] with 3\00"
@.str.4 = [4 x i8] c"c[]\00"
@.str.5 = [3 x i8] c"Hi\00"
@.str.6 = [12 x i8] c"c[c] with 0\00"
@.str.7 = [5 x i8] c"c[c]\00"
@.str.8 = [1 x i8] zeroinitializer
@.str.9 = [12 x i8] c"c[c] with 4\00"
@.str.10 = [5 x i8] c"1234\00"
@.str.11 = [10 x i8] c"funpack()\00"
@.str.12 = [6 x i8] c"Bye!!\00"
@.str.13 = [4 x i8] c"gon\00"
@.str.14 = [6 x i8] c"\045678\00"
@.str.15 = [11 x i8] c"c[c] limit\00"
@.str.16 = [8 x i8] c"\069abcde\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32*
%3 = alloca i64
%4 = alloca [5 x i8]
%5 = alloca i8
store i32 0, i32* %1
%6 = call i32* (...) @tmpfile()
store i32* %6, i32** %2
%7 = call i32 @title(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%8 = call i32 @test(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%9 = load i32*, i32** %2
%10 = call i32 @rewind(i32* %9)
%11 = load i32*, i32** %2
%12 = call i64 (i32*, i8*, i8*, ...) @fpack(i32* %11, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
store i64 %12, i64* %3
%13 = load i64, i64* %3
%14 = call i32 @size_ok(i64 %13, i32 5)
%15 = load i32*, i32** %2
%16 = call i32 @rewind(i32* %15)
%17 = load i32*, i32** %2
%18 = call signext i8 @fgetc(i32* %17)
%19 = call i32 @int_ok(i8 signext %18, i8 signext 72)
%20 = load i32*, i32** %2
%21 = call signext i8 @fgetc(i32* %20)
%22 = call i32 @int_ok(i8 signext %21, i8 signext 101)
%23 = load i32*, i32** %2
%24 = call signext i8 @fgetc(i32* %23)
%25 = call i32 @int_ok(i8 signext %24, i8 signext 108)
%26 = load i32*, i32** %2
%27 = call signext i8 @fgetc(i32* %26)
%28 = call i32 @int_ok(i8 signext %27, i8 signext 108)
%29 = load i32*, i32** %2
%30 = call signext i8 @fgetc(i32* %29)
%31 = call i32 @int_ok(i8 signext %30, i8 signext 111)
%32 = call i32 @test(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%33 = load i32*, i32** %2
%34 = call i32 @rewind(i32* %33)
%35 = load i32*, i32** %2
%36 = call i64 (i32*, i8*, i8*, ...) @fpack(i32* %35, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i32 3)
store i64 %36, i64* %3
%37 = load i64, i64* %3
%38 = call i32 @size_ok(i64 %37, i32 3)
%39 = load i32*, i32** %2
%40 = call i32 @rewind(i32* %39)
%41 = call i32 @test(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0))
%42 = load i32*, i32** %2
%43 = call i32 @rewind(i32* %42)
%44 = load i32*, i32** %2
%45 = call i64 (i32*, i8*, i8*, ...) @fpack(i32* %44, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.8, i64 0, i64 0), i32 0)
store i64 %45, i64* %3
%46 = load i64, i64* %3
%47 = call i32 @size_ok(i64 %46, i32 1)
%48 = load i32*, i32** %2
%49 = call i32 @rewind(i32* %48)
%50 = load i32*, i32** %2
%51 = call signext i8 @fgetc(i32* %50)
%52 = call i32 @int_ok(i8 signext %51, i8 signext 0)
%53 = call i32 @test(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.9, i64 0, i64 0))
%54 = load i32*, i32** %2
%55 = call i32 @rewind(i32* %54)
%56 = load i32*, i32** %2
%57 = call i64 (i32*, i8*, i8*, ...) @fpack(i32* %56, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i32 4)
store i64 %57, i64* %3
%58 = load i64, i64* %3
%59 = call i32 @size_ok(i64 %58, i32 5)
%60 = load i32*, i32** %2
%61 = call i32 @rewind(i32* %60)
%62 = load i32*, i32** %2
%63 = call signext i8 @fgetc(i32* %62)
%64 = call i32 @int_ok(i8 signext %63, i8 signext 4)
%65 = load i32*, i32** %2
%66 = call signext i8 @fgetc(i32* %65)
%67 = call i32 @int_ok(i8 signext %66, i8 signext 49)
%68 = load i32*, i32** %2
%69 = call signext i8 @fgetc(i32* %68)
%70 = call i32 @int_ok(i8 signext %69, i8 signext 50)
%71 = load i32*, i32** %2
%72 = call signext i8 @fgetc(i32* %71)
%73 = call i32 @int_ok(i8 signext %72, i8 signext 51)
%74 = load i32*, i32** %2
%75 = call signext i8 @fgetc(i32* %74)
%76 = call i32 @int_ok(i8 signext %75, i8 signext 52)
%77 = call i32 @title(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
%78 = call i32 @test(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%79 = load i32*, i32** %2
%80 = call i32 @rewind(i32* %79)
%81 = load i32*, i32** %2
%82 = call i32 @fputs(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.12, i64 0, i64 0), i32* %81)
%83 = load i32*, i32** %2
%84 = call i32 @rewind(i32* %83)
%85 = load i32*, i32** %2
%86 = getelementptr inbounds [5 x i8], [5 x i8]* %4, i64 0, i64 0
%87 = call i64 (i32*, i8*, i8*, ...) @funpack(i32* %85, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* %86)
store i64 %87, i64* %3
%88 = load i64, i64* %3
%89 = call i32 @size_ok(i64 %88, i32 5)
%90 = getelementptr inbounds [5 x i8], [5 x i8]* %4, i64 0, i64 0
%91 = load i8, i8* %90
%92 = call i32 @int_ok(i8 signext %91, i8 signext 66)
%93 = getelementptr inbounds [5 x i8], [5 x i8]* %4, i64 0, i64 1
%94 = load i8, i8* %93
%95 = call i32 @int_ok(i8 signext %94, i8 signext 121)
%96 = getelementptr inbounds [5 x i8], [5 x i8]* %4, i64 0, i64 2
%97 = load i8, i8* %96
%98 = call i32 @int_ok(i8 signext %97, i8 signext 101)
%99 = getelementptr inbounds [5 x i8], [5 x i8]* %4, i64 0, i64 3
%100 = load i8, i8* %99
%101 = call i32 @int_ok(i8 signext %100, i8 signext 33)
%102 = getelementptr inbounds [5 x i8], [5 x i8]* %4, i64 0, i64 4
%103 = load i8, i8* %102
%104 = call i32 @int_ok(i8 signext %103, i8 signext 33)
%105 = call i32 @test(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%106 = load i32*, i32** %2
%107 = call i32 @rewind(i32* %106)
%108 = load i32*, i32** %2
%109 = call i32 @fputs(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i32* %108)
%110 = load i32*, i32** %2
%111 = call i32 @rewind(i32* %110)
%112 = load i32*, i32** %2
%113 = getelementptr inbounds [5 x i8], [5 x i8]* %4, i64 0, i64 0
%114 = call i64 (i32*, i8*, i8*, ...) @funpack(i32* %112, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i8* %113, i32 3)
store i64 %114, i64* %3
%115 = load i64, i64* %3
%116 = call i32 @size_ok(i64 %115, i32 3)
%117 = getelementptr inbounds [5 x i8], [5 x i8]* %4, i64 0, i64 0
%118 = load i8, i8* %117
%119 = call i32 @int_ok(i8 signext %118, i8 signext 103)
%120 = getelementptr inbounds [5 x i8], [5 x i8]* %4, i64 0, i64 1
%121 = load i8, i8* %120
%122 = call i32 @int_ok(i8 signext %121, i8 signext 111)
%123 = getelementptr inbounds [5 x i8], [5 x i8]* %4, i64 0, i64 2
%124 = load i8, i8* %123
%125 = call i32 @int_ok(i8 signext %124, i8 signext 110)
%126 = call i32 @test(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0))
%127 = load i32*, i32** %2
%128 = call i32 @rewind(i32* %127)
%129 = load i32*, i32** %2
%130 = call i32 @fputc(i8 signext 0, i32* %129)
store i8 5, i8* %5
%131 = load i32*, i32** %2
%132 = call i32 @rewind(i32* %131)
%133 = load i32*, i32** %2
%134 = getelementptr inbounds [5 x i8], [5 x i8]* %4, i64 0, i64 0
%135 = call i64 (i32*, i8*, i8*, ...) @funpack(i32* %133, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i8* %134, i8* %5)
store i64 %135, i64* %3
%136 = load i64, i64* %3
%137 = call i32 @size_ok(i64 %136, i32 1)
%138 = load i8, i8* %5
%139 = call i32 @int_ok(i8 signext %138, i8 signext 0)
%140 = call i32 @test(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.9, i64 0, i64 0))
%141 = load i32*, i32** %2
%142 = call i32 @rewind(i32* %141)
%143 = load i32*, i32** %2
%144 = call i32 @fputs(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.14, i64 0, i64 0), i32* %143)
store i8 5, i8* %5
%145 = load i32*, i32** %2
%146 = call i32 @rewind(i32* %145)
%147 = load i32*, i32** %2
%148 = getelementptr inbounds [5 x i8], [5 x i8]* %4, i64 0, i64 0
%149 = call i64 (i32*, i8*, i8*, ...) @funpack(i32* %147, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i8* %148, i8* %5)
store i64 %149, i64* %3
%150 = load i64, i64* %3
%151 = call i32 @size_ok(i64 %150, i32 5)
%152 = load i8, i8* %5
%153 = call i32 @int_ok(i8 signext %152, i8 signext 4)
%154 = getelementptr inbounds [5 x i8], [5 x i8]* %4, i64 0, i64 0
%155 = load i8, i8* %154
%156 = call i32 @int_ok(i8 signext %155, i8 signext 53)
%157 = getelementptr inbounds [5 x i8], [5 x i8]* %4, i64 0, i64 1
%158 = load i8, i8* %157
%159 = call i32 @int_ok(i8 signext %158, i8 signext 54)
%160 = getelementptr inbounds [5 x i8], [5 x i8]* %4, i64 0, i64 2
%161 = load i8, i8* %160
%162 = call i32 @int_ok(i8 signext %161, i8 signext 55)
%163 = getelementptr inbounds [5 x i8], [5 x i8]* %4, i64 0, i64 3
%164 = load i8, i8* %163
%165 = call i32 @int_ok(i8 signext %164, i8 signext 56)
%166 = call i32 @test(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.15, i64 0, i64 0))
%167 = load i32*, i32** %2
%168 = call i32 @rewind(i32* %167)
%169 = load i32*, i32** %2
%170 = call i32 @fputs(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.16, i64 0, i64 0), i32* %169)
%171 = getelementptr inbounds [5 x i8], [5 x i8]* %4, i64 0, i64 1
store i8 0, i8* %171
store i8 1, i8* %5
%172 = load i32*, i32** %2
%173 = call i32 @rewind(i32* %172)
%174 = load i32*, i32** %2
%175 = getelementptr inbounds [5 x i8], [5 x i8]* %4, i64 0, i64 0
%176 = call i64 (i32*, i8*, i8*, ...) @funpack(i32* %174, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i8* %175, i8* %5)
store i64 %176, i64* %3
%177 = load i64, i64* %3
%178 = call i32 @size_ok(i64 %177, i32 7)
%179 = load i8, i8* %5
%180 = call i32 @int_ok(i8 signext %179, i8 signext 1)
%181 = getelementptr inbounds [5 x i8], [5 x i8]* %4, i64 0, i64 0
%182 = load i8, i8* %181
%183 = call i32 @int_ok(i8 signext %182, i8 signext 57)
%184 = getelementptr inbounds [5 x i8], [5 x i8]* %4, i64 0, i64 1
%185 = load i8, i8* %184
%186 = call i32 @int_ok(i8 signext %185, i8 signext 0)
ret i32 0
}

LLVM IR (-O2):
@.str = [8 x i8] c"fpack()\00"
@.str.1 = [5 x i8] c"c[5]\00"
@.str.2 = [6 x i8] c"Hello\00"
@.str.3 = [11 x i8] c"c[] with 3\00"
@.str.4 = [4 x i8] c"c[]\00"
@.str.5 = [3 x i8] c"Hi\00"
@.str.6 = [12 x i8] c"c[c] with 0\00"
@.str.7 = [5 x i8] c"c[c]\00"
@.str.8 = [1 x i8] zeroinitializer
@.str.9 = [12 x i8] c"c[c] with 4\00"
@.str.10 = [5 x i8] c"1234\00"
@.str.11 = [10 x i8] c"funpack()\00"
@.str.12 = [6 x i8] c"Bye!!\00"
@.str.13 = [4 x i8] c"gon\00"
@.str.14 = [6 x i8] c"\045678\00"
@.str.15 = [11 x i8] c"c[c] limit\00"
@.str.16 = [8 x i8] c"\069abcde\00"
define i32 @main() {
%1 = alloca [5 x i8]
%2 = alloca i8
%3 = tail call i32* (...) @tmpfile()
%4 = tail call i32 @title(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%5 = tail call i32 @test(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%6 = tail call i32 @rewind(i32* %3)
%7 = tail call i64 (i32*, i8*, i8*, ...) @fpack(i32* %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
%8 = tail call i32 @size_ok(i64 %7, i32 5)
%9 = tail call i32 @rewind(i32* %3)
%10 = tail call signext i8 @fgetc(i32* %3)
%11 = tail call i32 @int_ok(i8 signext %10, i8 signext 72)
%12 = tail call signext i8 @fgetc(i32* %3)
%13 = tail call i32 @int_ok(i8 signext %12, i8 signext 101)
%14 = tail call signext i8 @fgetc(i32* %3)
%15 = tail call i32 @int_ok(i8 signext %14, i8 signext 108)
%16 = tail call signext i8 @fgetc(i32* %3)
%17 = tail call i32 @int_ok(i8 signext %16, i8 signext 108)
%18 = tail call signext i8 @fgetc(i32* %3)
%19 = tail call i32 @int_ok(i8 signext %18, i8 signext 111)
%20 = tail call i32 @test(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%21 = tail call i32 @rewind(i32* %3)
%22 = tail call i64 (i32*, i8*, i8*, ...) @fpack(i32* %3, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i32 3)
%23 = tail call i32 @size_ok(i64 %22, i32 3)
%24 = tail call i32 @rewind(i32* %3)
%25 = tail call i32 @test(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0))
%26 = tail call i32 @rewind(i32* %3)
%27 = tail call i64 (i32*, i8*, i8*, ...) @fpack(i32* %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.8, i64 0, i64 0), i32 0)
%28 = tail call i32 @size_ok(i64 %27, i32 1)
%29 = tail call i32 @rewind(i32* %3)
%30 = tail call signext i8 @fgetc(i32* %3)
%31 = tail call i32 @int_ok(i8 signext %30, i8 signext 0)
%32 = tail call i32 @test(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.9, i64 0, i64 0))
%33 = tail call i32 @rewind(i32* %3)
%34 = tail call i64 (i32*, i8*, i8*, ...) @fpack(i32* %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i32 4)
%35 = tail call i32 @size_ok(i64 %34, i32 5)
%36 = tail call i32 @rewind(i32* %3)
%37 = tail call signext i8 @fgetc(i32* %3)
%38 = tail call i32 @int_ok(i8 signext %37, i8 signext 4)
%39 = tail call signext i8 @fgetc(i32* %3)
%40 = tail call i32 @int_ok(i8 signext %39, i8 signext 49)
%41 = tail call signext i8 @fgetc(i32* %3)
%42 = tail call i32 @int_ok(i8 signext %41, i8 signext 50)
%43 = tail call signext i8 @fgetc(i32* %3)
%44 = tail call i32 @int_ok(i8 signext %43, i8 signext 51)
%45 = tail call signext i8 @fgetc(i32* %3)
%46 = tail call i32 @int_ok(i8 signext %45, i8 signext 52)
%47 = tail call i32 @title(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
%48 = getelementptr inbounds [5 x i8], [5 x i8]* %1, i64 0, i64 0
%49 = tail call i32 @test(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%50 = tail call i32 @rewind(i32* %3)
%51 = tail call i64 @fwrite(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.12, i64 0, i64 0), i64 5, i64 1, i32* %3)
%52 = tail call i32 @rewind(i32* %3)
%53 = call i64 (i32*, i8*, i8*, ...) @funpack(i32* %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* %48)
%54 = call i32 @size_ok(i64 %53, i32 5)
%55 = load i8, i8* %48
%56 = call i32 @int_ok(i8 signext %55, i8 signext 66)
%57 = getelementptr inbounds [5 x i8], [5 x i8]* %1, i64 0, i64 1
%58 = load i8, i8* %57
%59 = call i32 @int_ok(i8 signext %58, i8 signext 121)
%60 = getelementptr inbounds [5 x i8], [5 x i8]* %1, i64 0, i64 2
%61 = load i8, i8* %60
%62 = call i32 @int_ok(i8 signext %61, i8 signext 101)
%63 = getelementptr inbounds [5 x i8], [5 x i8]* %1, i64 0, i64 3
%64 = load i8, i8* %63
%65 = call i32 @int_ok(i8 signext %64, i8 signext 33)
%66 = getelementptr inbounds [5 x i8], [5 x i8]* %1, i64 0, i64 4
%67 = load i8, i8* %66
%68 = call i32 @int_ok(i8 signext %67, i8 signext 33)
%69 = call i32 @test(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%70 = call i32 @rewind(i32* %3)
%71 = call i64 @fwrite(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i64 3, i64 1, i32* %3)
%72 = call i32 @rewind(i32* %3)
%73 = call i64 (i32*, i8*, i8*, ...) @funpack(i32* %3, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i8* %48, i32 3)
%74 = call i32 @size_ok(i64 %73, i32 3)
%75 = load i8, i8* %48
%76 = call i32 @int_ok(i8 signext %75, i8 signext 103)
%77 = load i8, i8* %57
%78 = call i32 @int_ok(i8 signext %77, i8 signext 111)
%79 = load i8, i8* %60
%80 = call i32 @int_ok(i8 signext %79, i8 signext 110)
%81 = call i32 @test(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0))
%82 = call i32 @rewind(i32* %3)
%83 = call i32 @fputc(i8 signext 0, i32* %3)
store i8 5, i8* %2
%84 = call i32 @rewind(i32* %3)
%85 = call i64 (i32*, i8*, i8*, ...) @funpack(i32* %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i8* %48, i8* %2)
%86 = call i32 @size_ok(i64 %85, i32 1)
%87 = load i8, i8* %2
%88 = call i32 @int_ok(i8 signext %87, i8 signext 0)
%89 = call i32 @test(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.9, i64 0, i64 0))
%90 = call i32 @rewind(i32* %3)
%91 = call i64 @fwrite(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.14, i64 0, i64 0), i64 5, i64 1, i32* %3)
store i8 5, i8* %2
%92 = call i32 @rewind(i32* %3)
%93 = call i64 (i32*, i8*, i8*, ...) @funpack(i32* %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i8* %48, i8* %2)
%94 = call i32 @size_ok(i64 %93, i32 5)
%95 = load i8, i8* %2
%96 = call i32 @int_ok(i8 signext %95, i8 signext 4)
%97 = load i8, i8* %48
%98 = call i32 @int_ok(i8 signext %97, i8 signext 53)
%99 = load i8, i8* %57
%100 = call i32 @int_ok(i8 signext %99, i8 signext 54)
%101 = load i8, i8* %60
%102 = call i32 @int_ok(i8 signext %101, i8 signext 55)
%103 = load i8, i8* %63
%104 = call i32 @int_ok(i8 signext %103, i8 signext 56)
%105 = call i32 @test(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.15, i64 0, i64 0))
%106 = call i32 @rewind(i32* %3)
%107 = call i64 @fwrite(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.16, i64 0, i64 0), i64 7, i64 1, i32* %3)
store i8 0, i8* %57
store i8 1, i8* %2
%108 = call i32 @rewind(i32* %3)
%109 = call i64 (i32*, i8*, i8*, ...) @funpack(i32* %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i8* %48, i8* %2)
%110 = call i32 @size_ok(i64 %109, i32 7)
%111 = load i8, i8* %2
%112 = call i32 @int_ok(i8 signext %111, i8 signext 1)
%113 = load i8, i8* %48
%114 = call i32 @int_ok(i8 signext %113, i8 signext 57)
%115 = load i8, i8* %57
%116 = call i32 @int_ok(i8 signext %115, i8 signext 0)
ret i32 0
}