#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 tabRow {
  int dummy;
};
struct slName {
  int dummy;
};
struct slInt {
  int dummy;
};

/* Variables and functions */
int /*<<< orphan*/ slFreeList(struct slInt **);
struct tabRow *tabRowByFixedOffsets(struct slName *, struct slInt *, char *);
struct slInt *tabRowGuessFixedOffsets(struct slName *, char *);
struct tabRow *tabRowByFixedGuess(struct slName *lineList, char *fileName) {
  struct slInt *offList = tabRowGuessFixedOffsets(lineList, fileName);
  struct tabRow *rowList = tabRowByFixedOffsets(lineList, offList, fileName);
  slFreeList(&offList);
  return rowList;
}


x86 assembly (clang, -O0):
<tabRowByFixedGuess>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
call   1030 <tabRowGuessFixedOffsets@plt>
mov    %rax,-0x18(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    -0x10(%rbp),%rdx
call   1040 <tabRowByFixedOffsets@plt>
mov    %rax,-0x20(%rbp)
lea    -0x18(%rbp),%rdi
call   1050 <slFreeList@plt>
mov    -0x20(%rbp),%rax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<tabRowByFixedGuess>:
push   %r14
push   %rbx
push   %rax
mov    %rsi,%r14
mov    %rdi,%rbx
call   1030 <tabRowGuessFixedOffsets@plt>
mov    %rax,(%rsp)
mov    %rbx,%rdi
mov    %rax,%rsi
mov    %r14,%rdx
call   1040 <tabRowByFixedOffsets@plt>
mov    %rax,%rbx
mov    %rsp,%rdi
call   1050 <slFreeList@plt>
mov    %rbx,%rax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
%struct.tabRow = type { i32 }
%struct.slName = type { i32 }
%struct.slInt = type { i32 }
define %struct.tabRow* @tabRowByFixedGuess(%struct.slName* %0, i8* %1) {
%3 = alloca %struct.slName*
%4 = alloca i8*
%5 = alloca %struct.slInt*
%6 = alloca %struct.tabRow*
store %struct.slName* %0, %struct.slName** %3
store i8* %1, i8** %4
%7 = load %struct.slName*, %struct.slName** %3
%8 = load i8*, i8** %4
%9 = call %struct.slInt* @tabRowGuessFixedOffsets(%struct.slName* %7, i8* %8)
store %struct.slInt* %9, %struct.slInt** %5
%10 = load %struct.slName*, %struct.slName** %3
%11 = load %struct.slInt*, %struct.slInt** %5
%12 = load i8*, i8** %4
%13 = call %struct.tabRow* @tabRowByFixedOffsets(%struct.slName* %10, %struct.slInt* %11, i8* %12)
store %struct.tabRow* %13, %struct.tabRow** %6
%14 = call i32 @slFreeList(%struct.slInt** %5)
%15 = load %struct.tabRow*, %struct.tabRow** %6
ret %struct.tabRow* %15
}

LLVM IR (-O2):
%struct.tabRow = type { i32 }
%struct.slName = type { i32 }
%struct.slInt = type { i32 }
define %struct.tabRow* @tabRowByFixedGuess(%struct.slName* %0, i8* %1) {
%3 = alloca %struct.slInt*
%4 = bitcast %struct.slInt** %3 to i8*
%5 = tail call %struct.slInt* @tabRowGuessFixedOffsets(%struct.slName* %0, i8* %1)
store %struct.slInt* %5, %struct.slInt** %3
%6 = tail call %struct.tabRow* @tabRowByFixedOffsets(%struct.slName* %0, %struct.slInt* %5, i8* %1)
%7 = call i32 @slFreeList(%struct.slInt** %3)
ret %struct.tabRow* %6
}