#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*/ tc_fixedmath_b16atan2();
int /*<<< orphan*/ tc_fixedmath_b16cos();
int /*<<< orphan*/ tc_fixedmath_b16divb16();
int /*<<< orphan*/ tc_fixedmath_b16mulb16();
int /*<<< orphan*/ tc_fixedmath_b16sin();
int /*<<< orphan*/ tc_fixedmath_b16sqr();
int /*<<< orphan*/ tc_fixedmath_ub16divub16();
int /*<<< orphan*/ tc_fixedmath_ub16mulub16();
int /*<<< orphan*/ tc_fixedmath_ub16sqr();
int libc_fixedmath_main(void) {
  tc_fixedmath_b16atan2();
  tc_fixedmath_b16cos();
  tc_fixedmath_b16divb16();
  tc_fixedmath_b16mulb16();
  tc_fixedmath_b16sin();
  tc_fixedmath_b16sqr();
  tc_fixedmath_ub16divub16();
  tc_fixedmath_ub16mulub16();
  tc_fixedmath_ub16sqr();
  return 0;
}


x86 assembly (clang, -O0):
<libc_fixedmath_main>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1070 <tc_fixedmath_b16atan2@plt>
mov    $0x0,%al
call   1060 <tc_fixedmath_b16cos@plt>
mov    $0x0,%al
call   10a0 <tc_fixedmath_b16divb16@plt>
mov    $0x0,%al
call   1090 <tc_fixedmath_b16mulb16@plt>
mov    $0x0,%al
call   1040 <tc_fixedmath_b16sin@plt>
mov    $0x0,%al
call   1050 <tc_fixedmath_b16sqr@plt>
mov    $0x0,%al
call   10b0 <tc_fixedmath_ub16divub16@plt>
mov    $0x0,%al
call   1080 <tc_fixedmath_ub16mulub16@plt>
mov    $0x0,%al
call   1030 <tc_fixedmath_ub16sqr@plt>
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<libc_fixedmath_main>:
push   %rax
xor    %eax,%eax
call   1070 <tc_fixedmath_b16atan2@plt>
xor    %eax,%eax
call   1060 <tc_fixedmath_b16cos@plt>
xor    %eax,%eax
call   10a0 <tc_fixedmath_b16divb16@plt>
xor    %eax,%eax
call   1090 <tc_fixedmath_b16mulb16@plt>
xor    %eax,%eax
call   1040 <tc_fixedmath_b16sin@plt>
xor    %eax,%eax
call   1050 <tc_fixedmath_b16sqr@plt>
xor    %eax,%eax
call   10b0 <tc_fixedmath_ub16divub16@plt>
xor    %eax,%eax
call   1080 <tc_fixedmath_ub16mulub16@plt>
xor    %eax,%eax
call   1030 <tc_fixedmath_ub16sqr@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @libc_fixedmath_main() {
%1 = call i32 (...) @tc_fixedmath_b16atan2()
%2 = call i32 (...) @tc_fixedmath_b16cos()
%3 = call i32 (...) @tc_fixedmath_b16divb16()
%4 = call i32 (...) @tc_fixedmath_b16mulb16()
%5 = call i32 (...) @tc_fixedmath_b16sin()
%6 = call i32 (...) @tc_fixedmath_b16sqr()
%7 = call i32 (...) @tc_fixedmath_ub16divub16()
%8 = call i32 (...) @tc_fixedmath_ub16mulub16()
%9 = call i32 (...) @tc_fixedmath_ub16sqr()
ret i32 0
}

LLVM IR (-O2):
define i32 @libc_fixedmath_main() {
%1 = tail call i32 (...) @tc_fixedmath_b16atan2()
%2 = tail call i32 (...) @tc_fixedmath_b16cos()
%3 = tail call i32 (...) @tc_fixedmath_b16divb16()
%4 = tail call i32 (...) @tc_fixedmath_b16mulb16()
%5 = tail call i32 (...) @tc_fixedmath_b16sin()
%6 = tail call i32 (...) @tc_fixedmath_b16sqr()
%7 = tail call i32 (...) @tc_fixedmath_ub16divub16()
%8 = tail call i32 (...) @tc_fixedmath_ub16mulub16()
%9 = tail call i32 (...) @tc_fixedmath_ub16sqr()
ret i32 0
}