#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*/ __ESBMC_check_stability(float *, float *);
int /*<<< orphan*/ assert(int /*<<< orphan*/);
int main() {
  float a[] = {1.000000000000000,
               -2.000000000000000,
               1.968750000000000,
               -2.000000000000000,
               1.968750000000000,
               -2.000000000000000,
               1.968750000000000,
               -1.968750000000000,
               0.656250000000000,
               -0.156250000000000,
               0.031250000000000,
               0,
               0};
  float b[] = {0,
               0,
               0,
               0.031250000000000,
               0.031250000000000,
               0.031250000000000,
               0.031250000000000,
               0.031250000000000,
               0.031250000000000,
               0.031250000000000,
               0,
               0,
               0};
  assert(__ESBMC_check_stability(a, b));
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x40(%rbp),%rdi
lea    0xeb3(%rip),%rsi
mov    $0x34,%edx
call   1050 <memcpy@plt>
lea    -0x80(%rbp),%rdi
lea    0xede(%rip),%rsi
mov    $0x34,%edx
call   1050 <memcpy@plt>
lea    -0x40(%rbp),%rdi
lea    -0x80(%rbp),%rsi
call   1030 <__ESBMC_check_stability@plt>
mov    %eax,%edi
call   1040 <assert@plt>
xor    %eax,%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
sub    $0x78,%rsp
mov    0xf06(%rip),%eax
mov    %eax,0x70(%rsp)
movaps 0xeeb(%rip),%xmm0
movaps %xmm0,0x60(%rsp)
movaps 0xecf(%rip),%xmm0
movaps %xmm0,0x50(%rsp)
movaps 0xeb3(%rip),%xmm0
movaps %xmm0,0x40(%rsp)
mov    0xf18(%rip),%eax
mov    %eax,0x30(%rsp)
movaps 0xefd(%rip),%xmm0
movaps %xmm0,0x20(%rsp)
movaps 0xee1(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
movaps 0xec5(%rip),%xmm0
movaps %xmm0,(%rsp)
lea    0x40(%rsp),%rdi
mov    %rsp,%rsi
call   1030 <__ESBMC_check_stability@plt>
mov    %eax,%edi
call   1040 <assert@plt>
xor    %eax,%eax
add    $0x78,%rsp
ret

LLVM IR (-O0):
@__const.main.a = [13 x float] [float 1.000000e+00, float -2.000000e+00, float 1.968750e+00, float -2.000000e+00, float 1.968750e+00, float -2.000000e+00, float 1.968750e+00, float -1.968750e+00, float 6.562500e-01, float -1.562500e-01, float 3.125000e-02, float 0.000000e+00, float 0.000000e+00]
@__const.main.b = [13 x float] [float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 3.125000e-02, float 3.125000e-02, float 3.125000e-02, float 3.125000e-02, float 3.125000e-02, float 3.125000e-02, float 3.125000e-02, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00]
define i32 @main() {
%1 = alloca i32
%2 = alloca [13 x float]
%3 = alloca [13 x float]
store i32 0, i32* %1
%4 = bitcast [13 x float]* %2 to i8*
%5 = bitcast [13 x float]* %3 to i8*
%6 = getelementptr inbounds [13 x float], [13 x float]* %2, i64 0, i64 0
%7 = getelementptr inbounds [13 x float], [13 x float]* %3, i64 0, i64 0
%8 = call i32 @__ESBMC_check_stability(float* %6, float* %7)
%9 = call i32 @assert(i32 %8)
ret i32 0
}

LLVM IR (-O2):
@__const.main.a = [13 x float] [float 1.000000e+00, float -2.000000e+00, float 1.968750e+00, float -2.000000e+00, float 1.968750e+00, float -2.000000e+00, float 1.968750e+00, float -1.968750e+00, float 6.562500e-01, float -1.562500e-01, float 3.125000e-02, float 0.000000e+00, float 0.000000e+00]
@__const.main.b = [13 x float] [float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 3.125000e-02, float 3.125000e-02, float 3.125000e-02, float 3.125000e-02, float 3.125000e-02, float 3.125000e-02, float 3.125000e-02, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00]
define i32 @main() {
%1 = alloca [13 x float]
%2 = alloca [13 x float]
%3 = bitcast [13 x float]* %1 to i8*
%4 = bitcast [13 x float]* %2 to i8*
%5 = getelementptr inbounds [13 x float], [13 x float]* %1, i64 0, i64 0
%6 = getelementptr inbounds [13 x float], [13 x float]* %2, i64 0, i64 0
%7 = call i32 @__ESBMC_check_stability(float* %5, float* %6)
%8 = call i32 @assert(i32 %7)
ret i32 0
}