#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 pow(int, int);
float Expo__easeOut(float t, float b, float c, float d, float p0, float p1) {
  return (t == d) ? b + c : c * (-pow(2, -10 * t / d) + 1) + b;
}


x86 assembly (clang, -O0):
<Expo__easeOut>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movss  %xmm0,-0x4(%rbp)
movss  %xmm1,-0x8(%rbp)
movss  %xmm2,-0xc(%rbp)
movss  %xmm3,-0x10(%rbp)
movss  %xmm4,-0x14(%rbp)
movss  %xmm5,-0x18(%rbp)
movss  -0x4(%rbp),%xmm0
ucomiss -0x10(%rbp),%xmm0
jne    115f <Expo__easeOut+0x4f>
jp     115f <Expo__easeOut+0x4f>
movss  -0x8(%rbp),%xmm0
addss  -0xc(%rbp),%xmm0
movss  %xmm0,-0x1c(%rbp)
jmp    11ad <Expo__easeOut+0x9d>
movss  -0xc(%rbp),%xmm0
movss  %xmm0,-0x20(%rbp)
movss  0xe8f(%rip),%xmm0
mulss  -0x4(%rbp),%xmm0
divss  -0x10(%rbp),%xmm0
cvttss2si %xmm0,%esi
mov    $0x2,%edi
call   1030 <pow@plt>
movss  -0x20(%rbp),%xmm0
mov    %eax,%ecx
xor    %eax,%eax
sub    %ecx,%eax
add    $0x1,%eax
cvtsi2ss %eax,%xmm2
movss  -0x8(%rbp),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x1c(%rbp)
movss  -0x1c(%rbp),%xmm0
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Expo__easeOut>:
ucomiss %xmm3,%xmm0
jne    111f <Expo__easeOut+0xf>
jp     111f <Expo__easeOut+0xf>
addss  %xmm2,%xmm1
movaps %xmm1,%xmm0
ret
push   %rax
mulss  0xed8(%rip),%xmm0
divss  %xmm3,%xmm0
cvttss2si %xmm0,%esi
mov    $0x2,%edi
movss  %xmm2,(%rsp)
movss  %xmm1,0x4(%rsp)
call   1030 <pow@plt>
mov    $0x1,%ecx
sub    %eax,%ecx
xorps  %xmm1,%xmm1
cvtsi2ss %ecx,%xmm1
movss  (%rsp),%xmm0
mulss  %xmm1,%xmm0
addss  0x4(%rsp),%xmm0
pop    %rax
ret

LLVM IR (-O0):
define float @Expo__easeOut(float %0, float %1, float %2, float %3, float %4, float %5) {
%7 = alloca float
%8 = alloca float
%9 = alloca float
%10 = alloca float
%11 = alloca float
%12 = alloca float
store float %0, float* %7
store float %1, float* %8
store float %2, float* %9
store float %3, float* %10
store float %4, float* %11
store float %5, float* %12
%13 = load float, float* %7
%14 = load float, float* %10
%15 = fcmp oeq float %13, %14
br i1 %15, label %16, label %20
16: ; preds = %6
%17 = load float, float* %8
%18 = load float, float* %9
%19 = fadd float %17, %18
br label %33
20: ; preds = %6
%21 = load float, float* %9
%22 = load float, float* %7
%23 = fmul float -1.000000e+01, %22
%24 = load float, float* %10
%25 = fdiv float %23, %24
%26 = fptosi float %25 to i32
%27 = call i32 @pow(i32 2, i32 %26)
%28 = sub nsw i32 0, %27
%29 = add nsw i32 %28, 1
%30 = sitofp i32 %29 to float
%31 = load float, float* %8
%32 = call float @llvm.fmuladd.f32(float %21, float %30, float %31)
br label %33
33: ; preds = %20, %16
%34 = phi float [ %19, %16 ], [ %32, %20 ]
ret float %34
}

LLVM IR (-O2):
define float @Expo__easeOut(float %0, float %1, float %2, float %3, float %4, float %5) {
%7 = fcmp oeq float %0, %3
br i1 %7, label %8, label %10
8: ; preds = %6
%9 = fadd float %1, %2
br label %18
10: ; preds = %6
%11 = fmul float %0, -1.000000e+01
%12 = fdiv float %11, %3
%13 = fptosi float %12 to i32
%14 = tail call i32 @pow(i32 2, i32 %13)
%15 = sub i32 1, %14
%16 = sitofp i32 %15 to float
%17 = tail call float @llvm.fmuladd.f32(float %2, float %16, float %1)
br label %18
18: ; preds = %10, %8
%19 = phi float [ %9, %8 ], [ %17, %10 ]
ret float %19
}