; LLVM IR from venumb/ZSPACE :: cpp/depends/alglib/cpp/tests/test_c.ll (Z13testgammafuncbPN11alglib_impl8ae_stateE)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str.1 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.530 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.531 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.532 = external hidden unnamed_addr constant [42 x i8], align 1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

declare noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef, double noundef) #1

declare i32 @printf(ptr noundef, ...) #1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

declare noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef, ptr noundef) #1

declare noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef, ptr noundef) #1

declare noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef, double noundef) #1

declare noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z13testgammafuncbPN11alglib_impl8ae_stateE(i1 noundef zeroext %0, ptr noundef %1) #3 {
  %3 = alloca i8, align 1
  %4 = alloca ptr, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca i8, align 1
  %9 = alloca i8, align 1
  %10 = alloca i8, align 1
  %11 = alloca i8, align 1
  %12 = zext i1 %0 to i8
  store i8 %12, ptr %3, align 1, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #4
  store i8 0, ptr %9, align 1, !tbaa !5
  store i8 0, ptr %10, align 1, !tbaa !5
  store i8 0, ptr %8, align 1, !tbaa !5
  store double 5.000000e-14, ptr %5, align 8, !tbaa !11
  %13 = load i8, ptr %9, align 1, !tbaa !5, !range !13, !noundef !14
  %14 = trunc i8 %13 to i1
  br i1 %14, label %25, label %15

15:                                               ; preds = %2
  %16 = load ptr, ptr %4, align 8, !tbaa !9
  %17 = call noundef double @_ZN11alglib_impl13gammafunctionEdPNS_8ae_stateE(double noundef 5.000000e-01, ptr noundef %16)
  %18 = load ptr, ptr %4, align 8, !tbaa !9
  %19 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 0x400921FB54442D18, ptr noundef %18)
  %20 = fsub double %17, %19
  %21 = load ptr, ptr %4, align 8, !tbaa !9
  %22 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %20, ptr noundef %21)
  %23 = load double, ptr %5, align 8, !tbaa !11
  %24 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %22, double noundef %23)
  br label %25

25:                                               ; preds = %15, %2
  %26 = phi i1 [ true, %2 ], [ %24, %15 ]
  %27 = zext i1 %26 to i8
  store i8 %27, ptr %9, align 1, !tbaa !5
  %28 = load i8, ptr %9, align 1, !tbaa !5, !range !13, !noundef !14
  %29 = trunc i8 %28 to i1
  br i1 %29, label %40, label %30

30:                                               ; preds = %25
  %31 = load ptr, ptr %4, align 8, !tbaa !9
  %32 = call noundef double @_ZN11alglib_impl13gammafunctionEdPNS_8ae_stateE(double noundef 1.500000e+00, ptr noundef %31)
  %33 = load ptr, ptr %4, align 8, !tbaa !9
  %34 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 0x400921FB54442D18, ptr noundef %33)
  %35 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %34, double %32)
  %36 = load ptr, ptr %4, align 8, !tbaa !9
  %37 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %35, ptr noundef %36)
  %38 = load double, ptr %5, align 8, !tbaa !11
  %39 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %37, double noundef %38)
  br label %40

40:                                               ; preds = %30, %25
  %41 = phi i1 [ true, %25 ], [ %39, %30 ]
  %42 = zext i1 %41 to i8
  store i8 %42, ptr %9, align 1, !tbaa !5
  %43 = load ptr, ptr %4, align 8, !tbaa !9
  %44 = call noundef double @_ZN11alglib_impl7lngammaEdPdPNS_8ae_stateE(double noundef 5.000000e-01, ptr noundef %7, ptr noundef %43)
  store double %44, ptr %6, align 8, !tbaa !11
  %45 = load i8, ptr %10, align 1, !tbaa !5, !range !13, !noundef !14
  %46 = trunc i8 %45 to i1
  br i1 %46, label %61, label %47

47:                                               ; preds = %40
  %48 = load double, ptr %6, align 8, !tbaa !11
  %49 = load ptr, ptr %4, align 8, !tbaa !9
  %50 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 0x400921FB54442D18, ptr noundef %49)
  %51 = load ptr, ptr %4, align 8, !tbaa !9
  %52 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef %50, ptr noundef %51)
  %53 = fsub double %48, %52
  %54 = load ptr, ptr %4, align 8, !tbaa !9
  %55 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %53, ptr noundef %54)
  %56 = load double, ptr %5, align 8, !tbaa !11
  %57 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %55, double noundef %56)
  br i1 %57, label %61, label %58

58:                                               ; preds = %47
  %59 = load double, ptr %7, align 8, !tbaa !11
  %60 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %59, double noundef 1.000000e+00)
  br label %61

61:                                               ; preds = %58, %47, %40
  %62 = phi i1 [ true, %47 ], [ true, %40 ], [ %60, %58 ]
  %63 = zext i1 %62 to i8
  store i8 %63, ptr %10, align 1, !tbaa !5
  %64 = load ptr, ptr %4, align 8, !tbaa !9
  %65 = call noundef double @_ZN11alglib_impl7lngammaEdPdPNS_8ae_stateE(double noundef 1.500000e+00, ptr noundef %7, ptr noundef %64)
  store double %65, ptr %6, align 8, !tbaa !11
  %66 = load i8, ptr %10, align 1, !tbaa !5, !range !13, !noundef !14
  %67 = trunc i8 %66 to i1
  br i1 %67, label %83, label %68

68:                                               ; preds = %61
  %69 = load double, ptr %6, align 8, !tbaa !11
  %70 = load ptr, ptr %4, align 8, !tbaa !9
  %71 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 0x400921FB54442D18, ptr noundef %70)
  %72 = fmul double 5.000000e-01, %71
  %73 = load ptr, ptr %4, align 8, !tbaa !9
  %74 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef %72, ptr noundef %73)
  %75 = fsub double %69, %74
  %76 = load ptr, ptr %4, align 8, !tbaa !9
  %77 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %75, ptr noundef %76)
  %78 = load double, ptr %5, align 8, !tbaa !11
  %79 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %77, double noundef %78)
  br i1 %79, label %83, label %80

80:                                               ; preds = %68
  %81 = load double, ptr %7, align 8, !tbaa !11
  %82 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %81, double noundef 1.000000e+00)
  br label %83

83:                                               ; preds = %80, %68, %61
  %84 = phi i1 [ true, %68 ], [ true, %61 ], [ %82, %80 ]
  %85 = zext i1 %84 to i8
  store i8 %85, ptr %10, align 1, !tbaa !5
  %86 = load i8, ptr %9, align 1, !tbaa !5, !range !13, !noundef !14
  %87 = trunc i8 %86 to i1
  br i1 %87, label %91, label %88

88:                                               ; preds = %83
  %89 = load i8, ptr %10, align 1, !tbaa !5, !range !13, !noundef !14
  %90 = trunc i8 %89 to i1
  br label %91

91:                                               ; preds = %88, %83
  %92 = phi i1 [ true, %83 ], [ %90, %88 ]
  %93 = zext i1 %92 to i8
  store i8 %93, ptr %8, align 1, !tbaa !5
  %94 = load i8, ptr %3, align 1, !tbaa !5, !range !13, !noundef !14
  %95 = trunc i8 %94 to i1
  br i1 %95, label %122, label %96

96:                                               ; preds = %91
  %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.530)
  %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.531)
  %99 = load i8, ptr %9, align 1, !tbaa !5, !range !13, !noundef !14
  %100 = trunc i8 %99 to i1
  br i1 %100, label %101, label %103

101:                                              ; preds = %96
  %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %105

103:                                              ; preds = %96
  %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %105

105:                                              ; preds = %103, %101
  %106 = call i32 (ptr, ...) @printf(ptr noundef @.str.532)
  %107 = load i8, ptr %10, align 1, !tbaa !5, !range !13, !noundef !14
  %108 = trunc i8 %107 to i1
  br i1 %108, label %109, label %111

109:                                              ; preds = %105
  %110 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %113

111:                                              ; preds = %105
  %112 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %113

113:                                              ; preds = %111, %109
  %114 = load i8, ptr %8, align 1, !tbaa !5, !range !13, !noundef !14
  %115 = trunc i8 %114 to i1
  br i1 %115, label %116, label %118

116:                                              ; preds = %113
  %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  br label %120

118:                                              ; preds = %113
  %119 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %120

120:                                              ; preds = %118, %116
  %121 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %122

122:                                              ; preds = %120, %91
  %123 = load i8, ptr %8, align 1, !tbaa !5, !range !13, !noundef !14
  %124 = trunc i8 %123 to i1
  %125 = xor i1 %124, true
  %126 = zext i1 %125 to i8
  store i8 %126, ptr %11, align 1, !tbaa !5
  %127 = load i8, ptr %11, align 1, !tbaa !5, !range !13, !noundef !14
  %128 = trunc i8 %127 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  ret i1 %128
}

declare noundef double @_ZN11alglib_impl13gammafunctionEdPNS_8ae_stateE(double noundef, ptr noundef) #1

declare noundef double @_ZN11alglib_impl7lngammaEdPdPNS_8ae_stateE(double noundef, ptr noundef, ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str.1 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.530 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.531 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.532 = external hidden unnamed_addr constant [42 x i8], align 1

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

declare noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef, double noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3

declare noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #1

declare noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #1

declare noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef, double noundef) local_unnamed_addr #1

declare noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z13testgammafuncbPN11alglib_impl8ae_stateE(i1 noundef zeroext %0, ptr noundef %1) local_unnamed_addr #4 {
  %3 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %4 = tail call noundef double @_ZN11alglib_impl13gammafunctionEdPNS_8ae_stateE(double noundef 5.000000e-01, ptr noundef %1)
  %5 = tail call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 0x400921FB54442D18, ptr noundef %1)
  %6 = fsub double %4, %5
  %7 = tail call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %6, ptr noundef %1)
  %8 = tail call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %7, double noundef 5.000000e-14)
  br i1 %8, label %15, label %9

9:                                                ; preds = %2
  %10 = tail call noundef double @_ZN11alglib_impl13gammafunctionEdPNS_8ae_stateE(double noundef 1.500000e+00, ptr noundef %1)
  %11 = tail call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 0x400921FB54442D18, ptr noundef %1)
  %12 = tail call double @llvm.fmuladd.f64(double %11, double -5.000000e-01, double %10)
  %13 = tail call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %12, ptr noundef %1)
  %14 = tail call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %13, double noundef 5.000000e-14)
  br label %15

15:                                               ; preds = %9, %2
  %16 = phi i1 [ true, %2 ], [ %14, %9 ]
  %17 = call noundef double @_ZN11alglib_impl7lngammaEdPdPNS_8ae_stateE(double noundef 5.000000e-01, ptr noundef nonnull %3, ptr noundef %1)
  %18 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 0x400921FB54442D18, ptr noundef %1)
  %19 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef %18, ptr noundef %1)
  %20 = fsub double %17, %19
  %21 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %20, ptr noundef %1)
  %22 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %21, double noundef 5.000000e-14)
  br i1 %22, label %.thread, label %24

.thread:                                          ; preds = %15
  %23 = call noundef double @_ZN11alglib_impl7lngammaEdPdPNS_8ae_stateE(double noundef 1.500000e+00, ptr noundef nonnull %3, ptr noundef %1)
  br label %38

24:                                               ; preds = %15
  %25 = load double, ptr %3, align 8, !tbaa !5
  %26 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %25, double noundef 1.000000e+00)
  %27 = call noundef double @_ZN11alglib_impl7lngammaEdPdPNS_8ae_stateE(double noundef 1.500000e+00, ptr noundef nonnull %3, ptr noundef %1)
  br i1 %26, label %38, label %28

28:                                               ; preds = %24
  %29 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef 0x400921FB54442D18, ptr noundef %1)
  %30 = fmul double %29, 5.000000e-01
  %31 = call noundef double @_ZN11alglib_impl6ae_logEdPNS_8ae_stateE(double noundef %30, ptr noundef %1)
  %32 = fsub double %27, %31
  %33 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %32, ptr noundef %1)
  %34 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %33, double noundef 5.000000e-14)
  br i1 %34, label %38, label %35

35:                                               ; preds = %28
  %36 = load double, ptr %3, align 8, !tbaa !5
  %37 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %36, double noundef 1.000000e+00)
  br label %38

38:                                               ; preds = %.thread, %35, %28, %24
  %39 = phi i1 [ true, %28 ], [ true, %24 ], [ %37, %35 ], [ true, %.thread ]
  br i1 %0, label %51, label %40

40:                                               ; preds = %38
  %41 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.530)
  %42 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.531)
  %.str.7..str.6 = select i1 %16, ptr @.str.7, ptr @.str.6
  %43 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.7..str.6)
  %44 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.532)
  br i1 %39, label %.thread31, label %46

.thread31:                                        ; preds = %40
  %45 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
  br label %48

46:                                               ; preds = %40
  %47 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %spec.select = select i1 %16, ptr @.str.1, ptr @.str.2
  br label %48

48:                                               ; preds = %46, %.thread31
  %.str.2.sink = phi ptr [ @.str.1, %.thread31 ], [ %spec.select, %46 ]
  %49 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.2.sink)
  %50 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  br label %51

51:                                               ; preds = %48, %38
  %52 = or i1 %16, %39
  %53 = xor i1 %52, true
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  ret i1 %53
}

declare noundef double @_ZN11alglib_impl13gammafunctionEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #1

declare noundef double @_ZN11alglib_impl7lngammaEdPdPNS_8ae_stateE(double noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SROAPass,SimplifyCFGPass,TailCallElimPass