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

/* Variables and functions */
int RawSeek(int /*<<< orphan*/, int, int, int, int, int, int, double *,
            struct RawIndex *);
int /*<<< orphan*/ fileno(int /*<<< orphan*/ *);
int RawFseek(FILE *fp, int yr, int mo, int dy, int hr, int mt, int sc,
             double *atme, struct RawIndex *inx) {
  return RawSeek(fileno(fp), yr, mo, dy, hr, mt, sc, atme, inx);
}


x86 assembly (clang, -O0):
<RawFseek>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%eax
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %edx,-0x10(%rbp)
mov    %ecx,-0x14(%rbp)
mov    %r8d,-0x18(%rbp)
mov    %r9d,-0x1c(%rbp)
mov    -0x8(%rbp),%rdi
call   1040 <fileno@plt>
mov    %eax,%edi
mov    -0xc(%rbp),%esi
mov    -0x10(%rbp),%edx
mov    -0x14(%rbp),%ecx
mov    -0x18(%rbp),%r8d
mov    -0x1c(%rbp),%r9d
mov    0x10(%rbp),%r11d
mov    0x18(%rbp),%r10
mov    0x20(%rbp),%rax
mov    %r11d,(%rsp)
mov    %r10,0x8(%rsp)
mov    %rax,0x10(%rsp)
call   1030 <RawSeek@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<RawFseek>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
mov    %r9d,%r14d
mov    %r8d,%r15d
mov    %ecx,%r12d
mov    %edx,%ebp
mov    %esi,%ebx
call   1040 <fileno@plt>
mov    %eax,%edi
mov    %ebx,%esi
mov    %ebp,%edx
mov    %r12d,%ecx
mov    %r15d,%r8d
mov    %r14d,%r9d
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <RawSeek@plt>

LLVM IR (-O0):
%struct.RawIndex = type { i32 }
define i32 @RawFseek(i32* %0, i32 %1, i32 %2, i32 %3, i32 %4, i32 %5, i32 %6, double* %7, %struct.RawIndex* %8) {
%10 = alloca i32*
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca double*
%18 = alloca %struct.RawIndex*
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 double* %7, double** %17
store %struct.RawIndex* %8, %struct.RawIndex** %18
%19 = load i32*, i32** %10
%20 = call i32 @fileno(i32* %19)
%21 = load i32, i32* %11
%22 = load i32, i32* %12
%23 = load i32, i32* %13
%24 = load i32, i32* %14
%25 = load i32, i32* %15
%26 = load i32, i32* %16
%27 = load double*, double** %17
%28 = load %struct.RawIndex*, %struct.RawIndex** %18
%29 = call i32 @RawSeek(i32 %20, i32 %21, i32 %22, i32 %23, i32 %24, i32 %25, i32 %26, double* %27, %struct.RawIndex* %28)
ret i32 %29
}

LLVM IR (-O2):
%struct.RawIndex = type { i32 }
define i32 @RawFseek(i32* nocapture %0, i32 %1, i32 %2, i32 %3, i32 %4, i32 %5, i32 %6, double* %7, %struct.RawIndex* %8) {
%10 = tail call i32 @fileno(i32* %0)
%11 = tail call i32 @RawSeek(i32 %10, i32 %1, i32 %2, i32 %3, i32 %4, i32 %5, i32 %6, double* %7, %struct.RawIndex* %8)
ret i32 %11
}