#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 Cyc_Absyn_Stmt {
  int dummy;
};
struct Cyc_Absyn_Exp {
  int dummy;
};

/* Variables and functions */
struct Cyc_Absyn_Exp *Cyc_Absyn_assign_exp(struct Cyc_Absyn_Exp *,
                                           struct Cyc_Absyn_Exp *,
                                           unsigned int);
struct Cyc_Absyn_Stmt *Cyc_Absyn_exp_stmt(struct Cyc_Absyn_Exp *, unsigned int);
struct Cyc_Absyn_Stmt *Cyc_Absyn_assign_stmt(struct Cyc_Absyn_Exp *e1,
                                             struct Cyc_Absyn_Exp *e2,
                                             unsigned loc) {
  struct Cyc_Absyn_Exp *_T0;
  unsigned _T1;
  struct Cyc_Absyn_Stmt *_T2;
  _T0 = Cyc_Absyn_assign_exp(e1, e2, loc);
  _T1 = loc;
  _T2 = Cyc_Absyn_exp_stmt(_T0, _T1);
  return _T2;
}


x86 assembly (clang, -O0):
<Cyc_Absyn_assign_stmt>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x14(%rbp),%edx
call   1030 <Cyc_Absyn_assign_exp@plt>
mov    %rax,-0x20(%rbp)
mov    -0x14(%rbp),%eax
mov    %eax,-0x24(%rbp)
mov    -0x20(%rbp),%rdi
mov    -0x24(%rbp),%esi
call   1040 <Cyc_Absyn_exp_stmt@plt>
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Cyc_Absyn_assign_stmt>:
push   %rbx
mov    %edx,%ebx
call   1030 <Cyc_Absyn_assign_exp@plt>
mov    %rax,%rdi
mov    %ebx,%esi
pop    %rbx
jmp    1040 <Cyc_Absyn_exp_stmt@plt>

LLVM IR (-O0):
%struct.Cyc_Absyn_Stmt = type { i32 }
%struct.Cyc_Absyn_Exp = type { i32 }
define %struct.Cyc_Absyn_Stmt* @Cyc_Absyn_assign_stmt(%struct.Cyc_Absyn_Exp* %0, %struct.Cyc_Absyn_Exp* %1, i32 %2) {
%4 = alloca %struct.Cyc_Absyn_Exp*
%5 = alloca %struct.Cyc_Absyn_Exp*
%6 = alloca i32
%7 = alloca %struct.Cyc_Absyn_Exp*
%8 = alloca i32
%9 = alloca %struct.Cyc_Absyn_Stmt*
store %struct.Cyc_Absyn_Exp* %0, %struct.Cyc_Absyn_Exp** %4
store %struct.Cyc_Absyn_Exp* %1, %struct.Cyc_Absyn_Exp** %5
store i32 %2, i32* %6
%10 = load %struct.Cyc_Absyn_Exp*, %struct.Cyc_Absyn_Exp** %4
%11 = load %struct.Cyc_Absyn_Exp*, %struct.Cyc_Absyn_Exp** %5
%12 = load i32, i32* %6
%13 = call %struct.Cyc_Absyn_Exp* @Cyc_Absyn_assign_exp(%struct.Cyc_Absyn_Exp* %10, %struct.Cyc_Absyn_Exp* %11, i32 %12)
store %struct.Cyc_Absyn_Exp* %13, %struct.Cyc_Absyn_Exp** %7
%14 = load i32, i32* %6
store i32 %14, i32* %8
%15 = load %struct.Cyc_Absyn_Exp*, %struct.Cyc_Absyn_Exp** %7
%16 = load i32, i32* %8
%17 = call %struct.Cyc_Absyn_Stmt* @Cyc_Absyn_exp_stmt(%struct.Cyc_Absyn_Exp* %15, i32 %16)
store %struct.Cyc_Absyn_Stmt* %17, %struct.Cyc_Absyn_Stmt** %9
%18 = load %struct.Cyc_Absyn_Stmt*, %struct.Cyc_Absyn_Stmt** %9
ret %struct.Cyc_Absyn_Stmt* %18
}

LLVM IR (-O2):
%struct.Cyc_Absyn_Stmt = type { i32 }
%struct.Cyc_Absyn_Exp = type { i32 }
define %struct.Cyc_Absyn_Stmt* @Cyc_Absyn_assign_stmt(%struct.Cyc_Absyn_Exp* %0, %struct.Cyc_Absyn_Exp* %1, i32 %2) {
%4 = tail call %struct.Cyc_Absyn_Exp* @Cyc_Absyn_assign_exp(%struct.Cyc_Absyn_Exp* %0, %struct.Cyc_Absyn_Exp* %1, i32 %2)
%5 = tail call %struct.Cyc_Absyn_Stmt* @Cyc_Absyn_exp_stmt(%struct.Cyc_Absyn_Exp* %4, i32 %2)
ret %struct.Cyc_Absyn_Stmt* %5
}