#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 t9() {
  struct tag9 {
    int a[3];
    int b[3];
  } x;
  x.a[0] = 73;
  fexpect("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
          "2022-01-22/02-19-57/repos/8l/8cc/refs/heads/master/test/struct.c",
          67, 73, x.a[0]);
  ;
  x.b[1] = 74;
  fexpect("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
          "2022-01-22/02-19-57/repos/8l/8cc/refs/heads/master/test/struct.c",
          69, 74, x.b[1]);
  ;
  fexpect("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
          "2022-01-22/02-19-57/repos/8l/8cc/refs/heads/master/test/struct.c",
          70, 74, x.a[4]);
  ;
}


x86 assembly (clang, -O0):
<t9>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x49,-0x18(%rbp)
mov    -0x18(%rbp),%ecx
lea    0xed7(%rip),%rdi
mov    $0x43,%esi
mov    $0x49,%edx
call   1030 <fexpect@plt>
movl   $0x4a,-0x8(%rbp)
mov    -0x8(%rbp),%ecx
lea    0xeb7(%rip),%rdi
mov    $0x45,%esi
mov    $0x4a,%edx
call   1030 <fexpect@plt>
mov    -0x8(%rbp),%ecx
lea    0xe9e(%rip),%rdi
mov    $0x46,%esi
mov    $0x4a,%edx
call   1030 <fexpect@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<t9>:
push   %rbx
lea    0xee8(%rip),%rbx
mov    %rbx,%rdi
mov    $0x43,%esi
mov    $0x49,%edx
mov    $0x49,%ecx
call   1030 <fexpect@plt>
mov    %rbx,%rdi
mov    $0x45,%esi
mov    $0x4a,%edx
mov    $0x4a,%ecx
call   1030 <fexpect@plt>
mov    %rbx,%rdi
mov    $0x46,%esi
mov    $0x4a,%edx
mov    $0x4a,%ecx
pop    %rbx
jmp    1030 <fexpect@plt>

LLVM IR (-O0):
%struct.tag9 = type { [3 x i32], [3 x i32] }
@.str = [129 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/struct.c\00"
define void @t9() {
%1 = alloca %struct.tag9
%2 = getelementptr inbounds %struct.tag9, %struct.tag9* %1, i32 0, i32 0
%3 = getelementptr inbounds [3 x i32], [3 x i32]* %2, i64 0, i64 0
store i32 73, i32* %3
%4 = getelementptr inbounds %struct.tag9, %struct.tag9* %1, i32 0, i32 0
%5 = getelementptr inbounds [3 x i32], [3 x i32]* %4, i64 0, i64 0
%6 = load i32, i32* %5
%7 = call i32 @fexpect(i8* getelementptr inbounds ([129 x i8], [129 x i8]* @.str, i64 0, i64 0), i32 67, i32 73, i32 %6)
%8 = getelementptr inbounds %struct.tag9, %struct.tag9* %1, i32 0, i32 1
%9 = getelementptr inbounds [3 x i32], [3 x i32]* %8, i64 0, i64 1
store i32 74, i32* %9
%10 = getelementptr inbounds %struct.tag9, %struct.tag9* %1, i32 0, i32 1
%11 = getelementptr inbounds [3 x i32], [3 x i32]* %10, i64 0, i64 1
%12 = load i32, i32* %11
%13 = call i32 @fexpect(i8* getelementptr inbounds ([129 x i8], [129 x i8]* @.str, i64 0, i64 0), i32 69, i32 74, i32 %12)
%14 = getelementptr inbounds %struct.tag9, %struct.tag9* %1, i32 0, i32 0
%15 = getelementptr inbounds [3 x i32], [3 x i32]* %14, i64 0, i64 4
%16 = load i32, i32* %15
%17 = call i32 @fexpect(i8* getelementptr inbounds ([129 x i8], [129 x i8]* @.str, i64 0, i64 0), i32 70, i32 74, i32 %16)
ret void
}

LLVM IR (-O2):
@.str = [129 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/struct.c\00"
define void @t9() {
%1 = tail call i32 @fexpect(i8* getelementptr inbounds ([129 x i8], [129 x i8]* @.str, i64 0, i64 0), i32 67, i32 73, i32 73)
%2 = tail call i32 @fexpect(i8* getelementptr inbounds ([129 x i8], [129 x i8]* @.str, i64 0, i64 0), i32 69, i32 74, i32 74)
%3 = tail call i32 @fexpect(i8* getelementptr inbounds ([129 x i8], [129 x i8]* @.str, i64 0, i64 0), i32 70, i32 74, i32 74)
ret void
}