#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 ValueType {
  int dummy;
};
struct ParseState {
  int dummy;
};

/* Variables and functions */
int /*<<< orphan*/ TypeParseFront(struct ParseState *, struct ValueType **,
                                  int *);
int /*<<< orphan*/ TypeParseIdentPart(struct ParseState *, struct ValueType *,
                                      struct ValueType **, char **);
void TypeParse(struct ParseState *Parser, struct ValueType **Typ,
               char **Identifier, int *IsStatic) {
  struct ValueType *BasicType;
  TypeParseFront(Parser, &BasicType, IsStatic);
  TypeParseIdentPart(Parser, BasicType, Typ, Identifier);
}


x86 assembly (clang, -O0):
<TypeParse>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x20(%rbp),%rdx
lea    -0x28(%rbp),%rsi
call   1030 <TypeParseFront@plt>
mov    -0x8(%rbp),%rdi
mov    -0x28(%rbp),%rsi
mov    -0x10(%rbp),%rdx
mov    -0x18(%rbp),%rcx
call   1040 <TypeParseIdentPart@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<TypeParse>:
push   %r15
push   %r14
push   %rbx
sub    $0x10,%rsp
mov    %rdx,%r14
mov    %rsi,%r15
mov    %rdi,%rbx
lea    0x8(%rsp),%rsi
mov    %rcx,%rdx
call   1030 <TypeParseFront@plt>
mov    0x8(%rsp),%rsi
mov    %rbx,%rdi
mov    %r15,%rdx
mov    %r14,%rcx
call   1040 <TypeParseIdentPart@plt>
add    $0x10,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
%struct.ParseState = type { i32 }
%struct.ValueType = type { i32 }
define void @TypeParse(%struct.ParseState* %0, %struct.ValueType** %1, i8** %2, i32* %3) {
%5 = alloca %struct.ParseState*
%6 = alloca %struct.ValueType**
%7 = alloca i8**
%8 = alloca i32*
%9 = alloca %struct.ValueType*
store %struct.ParseState* %0, %struct.ParseState** %5
store %struct.ValueType** %1, %struct.ValueType*** %6
store i8** %2, i8*** %7
store i32* %3, i32** %8
%10 = load %struct.ParseState*, %struct.ParseState** %5
%11 = load i32*, i32** %8
%12 = call i32 @TypeParseFront(%struct.ParseState* %10, %struct.ValueType** %9, i32* %11)
%13 = load %struct.ParseState*, %struct.ParseState** %5
%14 = load %struct.ValueType*, %struct.ValueType** %9
%15 = load %struct.ValueType**, %struct.ValueType*** %6
%16 = load i8**, i8*** %7
%17 = call i32 @TypeParseIdentPart(%struct.ParseState* %13, %struct.ValueType* %14, %struct.ValueType** %15, i8** %16)
ret void
}

LLVM IR (-O2):
%struct.ParseState = type { i32 }
%struct.ValueType = type { i32 }
define void @TypeParse(%struct.ParseState* %0, %struct.ValueType** %1, i8** %2, i32* %3) {
%5 = alloca %struct.ValueType*
%6 = bitcast %struct.ValueType** %5 to i8*
%7 = call i32 @TypeParseFront(%struct.ParseState* %0, %struct.ValueType** %5, i32* %3)
%8 = load %struct.ValueType*, %struct.ValueType** %5
%9 = call i32 @TypeParseIdentPart(%struct.ParseState* %0, %struct.ValueType* %8, %struct.ValueType** %1, i8** %2)
ret void
}