#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,  -2.000000000000000, 1.968750000000000,
               -2.000000000000000, 1.968750000000000,  -2.000000000000000,
               0.312500000000000};
  float b[] = {0,
               0,
               0,
               0,
               0.031250000000000,
               0.031250000000000,
               0.031250000000000,
               0.031250000000000,
               0.031250000000000,
               0,
               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   1060 <memcpy@plt>
lea    -0x80(%rbp),%rdi
xor    %esi,%esi
mov    $0x34,%edx
call   1040 <memset@plt>
movss  0xe81(%rip),%xmm0
movss  %xmm0,-0x70(%rbp)
movss  0xe74(%rip),%xmm0
movss  %xmm0,-0x6c(%rbp)
movss  0xe67(%rip),%xmm0
movss  %xmm0,-0x68(%rbp)
movss  0xe5a(%rip),%xmm0
movss  %xmm0,-0x64(%rbp)
movss  0xe4d(%rip),%xmm0
movss  %xmm0,-0x60(%rbp)
lea    -0x40(%rbp),%rdi
lea    -0x80(%rbp),%rsi
call   1030 <__ESBMC_check_stability@plt>
mov    %eax,%edi
call   1050 <assert@plt>
xor    %eax,%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
sub    $0x78,%rsp
mov    0xf16(%rip),%eax
mov    %eax,0x70(%rsp)
movaps 0xefb(%rip),%xmm0
movaps %xmm0,0x60(%rsp)
movaps 0xedf(%rip),%xmm0
movaps %xmm0,0x50(%rsp)
movaps 0xec3(%rip),%xmm0
movaps %xmm0,0x40(%rsp)
xorps  %xmm0,%xmm0
movaps %xmm0,0x20(%rsp)
movaps %xmm0,(%rsp)
movl   $0x0,0x30(%rsp)
movaps 0xe93(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
movl   $0x3d000000,0x20(%rsp)
3d
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 -2.000000e+00, float 1.968750e+00, float -2.000000e+00, float 1.968750e+00, float -2.000000e+00, float 3.125000e-01]
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 = bitcast i8* %5 to [13 x float]*
%7 = getelementptr inbounds [13 x float], [13 x float]* %6, i32 0, i32 4
store float 3.125000e-02, float* %7
%8 = getelementptr inbounds [13 x float], [13 x float]* %6, i32 0, i32 5
store float 3.125000e-02, float* %8
%9 = getelementptr inbounds [13 x float], [13 x float]* %6, i32 0, i32 6
store float 3.125000e-02, float* %9
%10 = getelementptr inbounds [13 x float], [13 x float]* %6, i32 0, i32 7
store float 3.125000e-02, float* %10
%11 = getelementptr inbounds [13 x float], [13 x float]* %6, i32 0, i32 8
store float 3.125000e-02, float* %11
%12 = getelementptr inbounds [13 x float], [13 x float]* %2, i64 0, i64 0
%13 = getelementptr inbounds [13 x float], [13 x float]* %3, i64 0, i64 0
%14 = call i32 @__ESBMC_check_stability(float* %12, float* %13)
%15 = call i32 @assert(i32 %14)
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 -2.000000e+00, float 1.968750e+00, float -2.000000e+00, float 1.968750e+00, float -2.000000e+00, float 3.125000e-01]
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]* %2, i64 0, i64 4
%6 = bitcast float* %5 to <4 x float>*
store <4 x float> <float 3.125000e-02, float 3.125000e-02, float 3.125000e-02, float 3.125000e-02>, <4 x float>* %6
%7 = getelementptr inbounds [13 x float], [13 x float]* %2, i64 0, i64 8
store float 3.125000e-02, float* %7
%8 = getelementptr inbounds [13 x float], [13 x float]* %1, i64 0, i64 0
%9 = getelementptr inbounds [13 x float], [13 x float]* %2, i64 0, i64 0
%10 = call i32 @__ESBMC_check_stability(float* %8, float* %9)
%11 = call i32 @assert(i32 %10)
ret i32 0
}