#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 */

/* Variables and functions */
int /*<<< orphan*/ fexpect(char *, int, int, int);
void many_ints(int v1, int v2, int v3, int v4, int v5, int v6, int v7, int v8,
               int v9) {
  fexpect("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
          "2022-01-22/02-19-57/repos/8l/8cc/refs/heads/master/test/funcargs.c",
          6, 1, v1);
  ;
  fexpect("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
          "2022-01-22/02-19-57/repos/8l/8cc/refs/heads/master/test/funcargs.c",
          6, 2, v2);
  ;
  fexpect("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
          "2022-01-22/02-19-57/repos/8l/8cc/refs/heads/master/test/funcargs.c",
          6, 3, v3);
  ;
  fexpect("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
          "2022-01-22/02-19-57/repos/8l/8cc/refs/heads/master/test/funcargs.c",
          6, 4, v4);
  ;
  fexpect("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
          "2022-01-22/02-19-57/repos/8l/8cc/refs/heads/master/test/funcargs.c",
          7, 5, v5);
  ;
  fexpect("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
          "2022-01-22/02-19-57/repos/8l/8cc/refs/heads/master/test/funcargs.c",
          7, 6, v6);
  ;
  fexpect("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
          "2022-01-22/02-19-57/repos/8l/8cc/refs/heads/master/test/funcargs.c",
          7, 7, v7);
  ;
  fexpect("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
          "2022-01-22/02-19-57/repos/8l/8cc/refs/heads/master/test/funcargs.c",
          7, 8, v8);
  ;
  fexpect("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
          "2022-01-22/02-19-57/repos/8l/8cc/refs/heads/master/test/funcargs.c",
          8, 9, v9);
  ;
}


x86 assembly (clang, -O0):
<many_ints>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    0x20(%rbp),%eax
mov    0x18(%rbp),%eax
mov    0x10(%rbp),%eax
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %edx,-0xc(%rbp)
mov    %ecx,-0x10(%rbp)
mov    %r8d,-0x14(%rbp)
mov    %r9d,-0x18(%rbp)
mov    -0x4(%rbp),%ecx
lea    0xec1(%rip),%rdi
mov    $0x6,%esi
mov    $0x1,%edx
call   1030 <fexpect@plt>
mov    -0x8(%rbp),%ecx
lea    0xea8(%rip),%rdi
mov    $0x6,%esi
mov    $0x2,%edx
call   1030 <fexpect@plt>
mov    -0xc(%rbp),%ecx
lea    0xe8f(%rip),%rdi
mov    $0x6,%esi
mov    $0x3,%edx
call   1030 <fexpect@plt>
mov    -0x10(%rbp),%ecx
lea    0xe76(%rip),%rdi
mov    $0x6,%esi
mov    $0x4,%edx
call   1030 <fexpect@plt>
mov    -0x14(%rbp),%ecx
lea    0xe5d(%rip),%rdi
mov    $0x7,%esi
mov    $0x5,%edx
call   1030 <fexpect@plt>
mov    -0x18(%rbp),%ecx
lea    0xe44(%rip),%rdi
mov    $0x7,%esi
mov    $0x6,%edx
call   1030 <fexpect@plt>
mov    0x10(%rbp),%ecx
lea    0xe2b(%rip),%rdi
mov    $0x7,%edx
mov    %edx,%esi
call   1030 <fexpect@plt>
mov    0x18(%rbp),%ecx
lea    0xe15(%rip),%rdi
mov    $0x7,%esi
mov    $0x8,%edx
call   1030 <fexpect@plt>
mov    0x20(%rbp),%ecx
lea    0xdfc(%rip),%rdi
mov    $0x8,%esi
mov    $0x9,%edx
call   1030 <fexpect@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<many_ints>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %r9d,0xc(%rsp)
mov    %r8d,%ebp
mov    %ecx,%r14d
mov    %edx,%r15d
mov    %esi,%r12d
mov    %edi,%ecx
mov    0x60(%rsp),%eax
mov    %eax,0x14(%rsp)
mov    0x58(%rsp),%eax
mov    %eax,0x10(%rsp)
mov    0x50(%rsp),%r13d
lea    0xeb3(%rip),%rbx
mov    %rbx,%rdi
mov    $0x6,%esi
mov    $0x1,%edx
call   1030 <fexpect@plt>
mov    %rbx,%rdi
mov    $0x6,%esi
mov    $0x2,%edx
mov    %r12d,%ecx
call   1030 <fexpect@plt>
mov    %rbx,%rdi
mov    $0x6,%esi
mov    $0x3,%edx
mov    %r15d,%ecx
call   1030 <fexpect@plt>
mov    %rbx,%rdi
mov    $0x6,%esi
mov    $0x4,%edx
mov    %r14d,%ecx
call   1030 <fexpect@plt>
mov    %rbx,%rdi
mov    $0x7,%esi
mov    $0x5,%edx
mov    %ebp,%ecx
call   1030 <fexpect@plt>
mov    %rbx,%rdi
mov    $0x7,%esi
mov    $0x6,%edx
mov    0xc(%rsp),%ecx
call   1030 <fexpect@plt>
mov    %rbx,%rdi
mov    $0x7,%esi
mov    $0x7,%edx
mov    %r13d,%ecx
call   1030 <fexpect@plt>
mov    %rbx,%rdi
mov    $0x7,%esi
mov    $0x8,%edx
mov    0x10(%rsp),%ecx
call   1030 <fexpect@plt>
mov    %rbx,%rdi
mov    $0x8,%esi
mov    $0x9,%edx
mov    0x14(%rsp),%ecx
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <fexpect@plt>

LLVM IR (-O0):
@.str = [131 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/8l/8cc/refs/heads/master/test/funcargs.c\00"
define void @many_ints(i32 %0, i32 %1, i32 %2, i32 %3, i32 %4, i32 %5, i32 %6, i32 %7, i32 %8) {
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
store i32 %0, i32* %10
store i32 %1, i32* %11
store i32 %2, i32* %12
store i32 %3, i32* %13
store i32 %4, i32* %14
store i32 %5, i32* %15
store i32 %6, i32* %16
store i32 %7, i32* %17
store i32 %8, i32* %18
%19 = load i32, i32* %10
%20 = call i32 @fexpect(i8* getelementptr inbounds ([131 x i8], [131 x i8]* @.str, i64 0, i64 0), i32 6, i32 1, i32 %19)
%21 = load i32, i32* %11
%22 = call i32 @fexpect(i8* getelementptr inbounds ([131 x i8], [131 x i8]* @.str, i64 0, i64 0), i32 6, i32 2, i32 %21)
%23 = load i32, i32* %12
%24 = call i32 @fexpect(i8* getelementptr inbounds ([131 x i8], [131 x i8]* @.str, i64 0, i64 0), i32 6, i32 3, i32 %23)
%25 = load i32, i32* %13
%26 = call i32 @fexpect(i8* getelementptr inbounds ([131 x i8], [131 x i8]* @.str, i64 0, i64 0), i32 6, i32 4, i32 %25)
%27 = load i32, i32* %14
%28 = call i32 @fexpect(i8* getelementptr inbounds ([131 x i8], [131 x i8]* @.str, i64 0, i64 0), i32 7, i32 5, i32 %27)
%29 = load i32, i32* %15
%30 = call i32 @fexpect(i8* getelementptr inbounds ([131 x i8], [131 x i8]* @.str, i64 0, i64 0), i32 7, i32 6, i32 %29)
%31 = load i32, i32* %16
%32 = call i32 @fexpect(i8* getelementptr inbounds ([131 x i8], [131 x i8]* @.str, i64 0, i64 0), i32 7, i32 7, i32 %31)
%33 = load i32, i32* %17
%34 = call i32 @fexpect(i8* getelementptr inbounds ([131 x i8], [131 x i8]* @.str, i64 0, i64 0), i32 7, i32 8, i32 %33)
%35 = load i32, i32* %18
%36 = call i32 @fexpect(i8* getelementptr inbounds ([131 x i8], [131 x i8]* @.str, i64 0, i64 0), i32 8, i32 9, i32 %35)
ret void
}

LLVM IR (-O2):
@.str = [131 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/8l/8cc/refs/heads/master/test/funcargs.c\00"
define void @many_ints(i32 %0, i32 %1, i32 %2, i32 %3, i32 %4, i32 %5, i32 %6, i32 %7, i32 %8) {
%10 = tail call i32 @fexpect(i8* getelementptr inbounds ([131 x i8], [131 x i8]* @.str, i64 0, i64 0), i32 6, i32 1, i32 %0)
%11 = tail call i32 @fexpect(i8* getelementptr inbounds ([131 x i8], [131 x i8]* @.str, i64 0, i64 0), i32 6, i32 2, i32 %1)
%12 = tail call i32 @fexpect(i8* getelementptr inbounds ([131 x i8], [131 x i8]* @.str, i64 0, i64 0), i32 6, i32 3, i32 %2)
%13 = tail call i32 @fexpect(i8* getelementptr inbounds ([131 x i8], [131 x i8]* @.str, i64 0, i64 0), i32 6, i32 4, i32 %3)
%14 = tail call i32 @fexpect(i8* getelementptr inbounds ([131 x i8], [131 x i8]* @.str, i64 0, i64 0), i32 7, i32 5, i32 %4)
%15 = tail call i32 @fexpect(i8* getelementptr inbounds ([131 x i8], [131 x i8]* @.str, i64 0, i64 0), i32 7, i32 6, i32 %5)
%16 = tail call i32 @fexpect(i8* getelementptr inbounds ([131 x i8], [131 x i8]* @.str, i64 0, i64 0), i32 7, i32 7, i32 %6)
%17 = tail call i32 @fexpect(i8* getelementptr inbounds ([131 x i8], [131 x i8]* @.str, i64 0, i64 0), i32 7, i32 8, i32 %7)
%18 = tail call i32 @fexpect(i8* getelementptr inbounds ([131 x i8], [131 x i8]* @.str, i64 0, i64 0), i32 8, i32 9, i32 %8)
ret void
}