; LLVM IR from OpenFAST/openfast :: modules/map/src (mapapi)

; 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"

%struct.MAP_OtherStateType = type { ptr, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32 }
%struct.Domain_t = type { %struct.InnerSolveAttributes_t, %struct.OuterSolveAttributes_t, %struct.DomainOptions_t, ptr, i32, %struct.Vessel_t, %struct.list_t, %struct.list_t, %struct.list_t, %struct.list_t, ptr }
%struct.InnerSolveAttributes_t = type { ptr, double, double, double, [2 x double], [2 x double], [4 x double], [2 x double], [2 x double], [2 x double], [2 x double], [2 x double], [2 x double], double, i32, i32, i32, i32, i32, [2 x i32], i32, i32 }
%struct.OuterSolveAttributes_t = type { i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, double, double, double, double, double, double, i8, i8, i8, i32, i32, i32 }
%struct.DomainOptions_t = type { ptr, double, double, double, i8, i8, i32 }
%struct.Vessel_t = type { %struct.EulerAngle_t, ptr, ptr, ptr, %struct.Point_t, %struct.Point_t, %struct.Force_t }
%struct.EulerAngle_t = type { %struct.VarType_t, %struct.VarType_t, %struct.VarType_t }
%struct.VarType_t = type { ptr, ptr, double, i8, i8, i32, i32 }
%struct.Point_t = type { %struct.VarType_t, %struct.VarType_t, %struct.VarType_t }
%struct.Force_t = type { %struct.VarType_t, %struct.VarType_t, %struct.VarType_t }
%struct.list_t = type { ptr, ptr, ptr, i32, ptr, i32, i32, i32, ptr, %struct.list_attributes_s }
%struct.list_attributes_s = type { ptr, ptr, ptr, i32, ptr, ptr, ptr }
%struct.Line_t = type { ptr, %struct.LineOptions, %struct.VarTypePtr_t, %struct.VarTypePtr_t, %struct.VarType_t, ptr, ptr, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, %struct.list_t, ptr, ptr, i32, i32, i32, i32, i32 }
%struct.LineOptions = type { i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }
%struct.VarTypePtr_t = type { ptr, ptr, ptr, i8, i32, i32 }
%struct.CableLibrary_t = type { double, double, double, double, double, double, double, double, double, double, ptr }

@.str.9 = external hidden unnamed_addr constant [25 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

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

declare void @map_reset_universal_error(ptr noundef, ptr noundef) #1

declare void @set_universal_error_with_message(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ...) #1

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

declare ptr @list_get_at(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
define dso_local double @map_jacobian_dxdh(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #3 {
  %5 = alloca double, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca i8, align 1
  %19 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.MAP_OtherStateType, ptr %20, i32 0, i32 0
  %22 = load ptr, ptr %21, align 8, !tbaa !11
  store ptr %22, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  store ptr null, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  store double 0.000000e+00, ptr %12, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  store double 0.000000e+00, ptr %13, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  store double 0.000000e+00, ptr %14, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  store double 0.000000e+00, ptr %15, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  store double 0.000000e+00, ptr %16, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  store double 0.000000e+00, ptr %17, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #4
  store i8 0, ptr %18, align 1, !tbaa !15
  %23 = load ptr, ptr %8, align 8, !tbaa !5
  %24 = load ptr, ptr %9, align 8, !tbaa !5
  call void @map_reset_universal_error(ptr noundef %23, ptr noundef %24)
  %25 = load ptr, ptr %10, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.Domain_t, ptr %25, i32 0, i32 7
  %27 = load i32, ptr %7, align 4, !tbaa !9
  %28 = call ptr @list_get_at(ptr noundef %26, i32 noundef %27)
  store ptr %28, ptr %11, align 8, !tbaa !5
  %29 = load ptr, ptr %11, align 8, !tbaa !5
  %30 = icmp eq ptr %29, null
  br i1 %30, label %31, label %35

31:                                               ; preds = %4
  %32 = load ptr, ptr %8, align 8, !tbaa !5
  %33 = load ptr, ptr %9, align 8, !tbaa !5
  %34 = load i32, ptr %7, align 4, !tbaa !9
  call void (ptr, ptr, i32, ptr, ...) @set_universal_error_with_message(ptr noundef %32, ptr noundef %33, i32 noundef 42, ptr noundef @.str.9, i32 noundef %34)
  store double 0xC08F3F3333333333, ptr %5, align 8
  store i32 1, ptr %19, align 4
  br label %100

35:                                               ; preds = %4
  %36 = load ptr, ptr %11, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.Line_t, ptr %36, i32 0, i32 2
  %38 = getelementptr inbounds %struct.VarTypePtr_t, ptr %37, i32 0, i32 2
  %39 = load ptr, ptr %38, align 8, !tbaa !17
  %40 = load double, ptr %39, align 8, !tbaa !13
  store double %40, ptr %12, align 8, !tbaa !13
  %41 = load ptr, ptr %11, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.Line_t, ptr %41, i32 0, i32 3
  %43 = getelementptr inbounds %struct.VarTypePtr_t, ptr %42, i32 0, i32 2
  %44 = load ptr, ptr %43, align 8, !tbaa !24
  %45 = load double, ptr %44, align 8, !tbaa !13
  store double %45, ptr %13, align 8, !tbaa !13
  %46 = load ptr, ptr %11, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.Line_t, ptr %46, i32 0, i32 0
  %48 = load ptr, ptr %47, align 8, !tbaa !25
  %49 = getelementptr inbounds %struct.CableLibrary_t, ptr %48, i32 0, i32 2
  %50 = load double, ptr %49, align 8, !tbaa !26
  store double %50, ptr %14, align 8, !tbaa !13
  %51 = load ptr, ptr %11, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.Line_t, ptr %51, i32 0, i32 4
  %53 = getelementptr inbounds %struct.VarType_t, ptr %52, i32 0, i32 2
  %54 = load double, ptr %53, align 8, !tbaa !28
  store double %54, ptr %15, align 8, !tbaa !13
  %55 = load ptr, ptr %11, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.Line_t, ptr %55, i32 0, i32 0
  %57 = load ptr, ptr %56, align 8, !tbaa !25
  %58 = getelementptr inbounds %struct.CableLibrary_t, ptr %57, i32 0, i32 3
  %59 = load double, ptr %58, align 8, !tbaa !29
  store double %59, ptr %16, align 8, !tbaa !13
  %60 = load ptr, ptr %11, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.Line_t, ptr %60, i32 0, i32 1
  %62 = getelementptr inbounds %struct.LineOptions, ptr %61, i32 0, i32 21
  %63 = load i8, ptr %62, align 1, !tbaa !30, !range !31, !noundef !32
  %64 = trunc i8 %63 to i1
  %65 = zext i1 %64 to i8
  store i8 %65, ptr %18, align 1, !tbaa !15
  %66 = load ptr, ptr %11, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.Line_t, ptr %66, i32 0, i32 0
  %68 = load ptr, ptr %67, align 8, !tbaa !25
  %69 = getelementptr inbounds %struct.CableLibrary_t, ptr %68, i32 0, i32 5
  %70 = load double, ptr %69, align 8, !tbaa !33
  store double %70, ptr %17, align 8, !tbaa !13
  %71 = load i8, ptr %18, align 1, !tbaa !15, !range !31, !noundef !32
  %72 = trunc i8 %71 to i1
  %73 = zext i1 %72 to i32
  %74 = icmp eq i32 %73, 1
  br i1 %74, label %85, label %75

75:                                               ; preds = %35
  %76 = load double, ptr %16, align 8, !tbaa !13
  %77 = fcmp olt double %76, 0.000000e+00
  br i1 %77, label %85, label %78

78:                                               ; preds = %75
  %79 = load double, ptr %13, align 8, !tbaa !13
  %80 = load double, ptr %16, align 8, !tbaa !13
  %81 = load double, ptr %15, align 8, !tbaa !13
  %82 = fneg double %80
  %83 = call double @llvm.fmuladd.f64(double %82, double %81, double %79)
  %84 = fcmp ogt double %83, 0.000000e+00
  br i1 %84, label %85, label %92

85:                                               ; preds = %78, %75, %35
  %86 = load double, ptr %13, align 8, !tbaa !13
  %87 = load double, ptr %12, align 8, !tbaa !13
  %88 = load double, ptr %16, align 8, !tbaa !13
  %89 = load double, ptr %15, align 8, !tbaa !13
  %90 = load double, ptr %14, align 8, !tbaa !13
  %91 = call double @jacobian_dxdh_no_contact(double noundef %86, double noundef %87, double noundef %88, double noundef %89, double noundef %90)
  store double %91, ptr %5, align 8
  store i32 1, ptr %19, align 4
  br label %100

92:                                               ; preds = %78
  %93 = load double, ptr %13, align 8, !tbaa !13
  %94 = load double, ptr %12, align 8, !tbaa !13
  %95 = load double, ptr %16, align 8, !tbaa !13
  %96 = load double, ptr %15, align 8, !tbaa !13
  %97 = load double, ptr %14, align 8, !tbaa !13
  %98 = load double, ptr %17, align 8, !tbaa !13
  %99 = call double @jacobian_dxdh_contact(double noundef %93, double noundef %94, double noundef %95, double noundef %96, double noundef %97, double noundef %98)
  store double %99, ptr %5, align 8
  store i32 1, ptr %19, align 4
  br label %100

100:                                              ; preds = %92, %85, %31
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  %101 = load double, ptr %5, align 8
  ret double %101
}

declare double @jacobian_dxdh_no_contact(double noundef, double noundef, double noundef, double noundef, double noundef) #1

declare double @jacobian_dxdh_contact(double noundef, double noundef, double noundef, double noundef, double noundef, double 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 = { nounwind 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"MAP_OtherStateType", !6, i64 0, !6, i64 8, !10, i64 16, !6, i64 24, !10, i64 32, !6, i64 40, !10, i64 48, !6, i64 56, !10, i64 64, !6, i64 72, !10, i64 80, !6, i64 88, !10, i64 96, !6, i64 104, !10, i64 112, !6, i64 120, !10, i64 128, !6, i64 136, !10, i64 144, !6, i64 152, !10, i64 160, !6, i64 168, !10, i64 176, !6, i64 184, !10, i64 192, !6, i64 200, !10, i64 208, !6, i64 216, !10, i64 224, !6, i64 232, !10, i64 240, !6, i64 248, !10, i64 256}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"_Bool", !7, i64 0}
!17 = !{!18, !6, i64 56}
!18 = !{!"Line_t", !6, i64 0, !19, i64 8, !20, i64 40, !20, i64 80, !21, i64 120, !6, i64 160, !6, i64 168, !14, i64 176, !14, i64 184, !14, i64 192, !14, i64 200, !14, i64 208, !14, i64 216, !14, i64 224, !14, i64 232, !14, i64 240, !14, i64 248, !14, i64 256, !14, i64 264, !14, i64 272, !14, i64 280, !14, i64 288, !14, i64 296, !14, i64 304, !14, i64 312, !22, i64 320, !6, i64 440, !6, i64 448, !10, i64 456, !10, i64 460, !10, i64 464, !10, i64 468, !10, i64 472}
!19 = !{!"", !16, i64 0, !16, i64 1, !16, i64 2, !16, i64 3, !16, i64 4, !16, i64 5, !16, i64 6, !16, i64 7, !16, i64 8, !16, i64 9, !16, i64 10, !16, i64 11, !16, i64 12, !16, i64 13, !16, i64 14, !16, i64 15, !16, i64 16, !16, i64 17, !16, i64 18, !16, i64 19, !16, i64 20, !16, i64 21, !16, i64 22, !16, i64 23, !16, i64 24, !16, i64 25}
!20 = !{!"VarTypePtr_t", !6, i64 0, !6, i64 8, !6, i64 16, !16, i64 24, !10, i64 28, !10, i64 32}
!21 = !{!"VarType_t", !6, i64 0, !6, i64 8, !14, i64 16, !16, i64 24, !16, i64 25, !10, i64 28, !10, i64 32}
!22 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !6, i64 32, !10, i64 40, !10, i64 44, !10, i64 48, !6, i64 56, !23, i64 64}
!23 = !{!"list_attributes_s", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !6, i64 32, !6, i64 40, !6, i64 48}
!24 = !{!18, !6, i64 96}
!25 = !{!18, !6, i64 0}
!26 = !{!27, !14, i64 16}
!27 = !{!"CableLibrary_t", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !14, i64 72, !6, i64 80}
!28 = !{!18, !14, i64 136}
!29 = !{!27, !14, i64 24}
!30 = !{!18, !16, i64 29}
!31 = !{i8 0, i8 2}
!32 = !{}
!33 = !{!27, !14, i64 40}


; 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.9 = external hidden unnamed_addr constant [25 x i8], align 1

declare void @map_reset_universal_error(ptr noundef, ptr noundef) local_unnamed_addr #0

declare void @set_universal_error_with_message(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #0

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

declare ptr @list_get_at(ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local double @map_jacobian_dxdh(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #2 {
  %5 = load ptr, ptr %0, align 8, !tbaa !5
  tail call void @map_reset_universal_error(ptr noundef %2, ptr noundef %3) #3
  %6 = getelementptr inbounds i8, ptr %5, i64 1088
  %7 = tail call ptr @list_get_at(ptr noundef nonnull %6, i32 noundef %1) #3
  %8 = icmp eq ptr %7, null
  br i1 %8, label %9, label %10

9:                                                ; preds = %4
  tail call void (ptr, ptr, i32, ptr, ...) @set_universal_error_with_message(ptr noundef %2, ptr noundef %3, i32 noundef 42, ptr noundef nonnull @.str.9, i32 noundef %1) #3
  br label %38

10:                                               ; preds = %4
  %11 = getelementptr inbounds i8, ptr %7, i64 56
  %12 = load ptr, ptr %11, align 8, !tbaa !11
  %13 = load double, ptr %12, align 8, !tbaa !20
  %14 = getelementptr inbounds i8, ptr %7, i64 96
  %15 = load ptr, ptr %14, align 8, !tbaa !21
  %16 = load double, ptr %15, align 8, !tbaa !20
  %17 = load ptr, ptr %7, align 8, !tbaa !22
  %18 = getelementptr inbounds i8, ptr %17, i64 16
  %19 = load double, ptr %18, align 8, !tbaa !23
  %20 = getelementptr inbounds i8, ptr %7, i64 136
  %21 = load double, ptr %20, align 8, !tbaa !25
  %22 = getelementptr inbounds i8, ptr %17, i64 24
  %23 = load double, ptr %22, align 8, !tbaa !26
  %24 = getelementptr inbounds i8, ptr %7, i64 29
  %25 = load i8, ptr %24, align 1, !tbaa !27, !range !28, !noundef !29
  %26 = trunc nuw i8 %25 to i1
  %27 = getelementptr inbounds i8, ptr %17, i64 40
  %28 = load double, ptr %27, align 8, !tbaa !30
  %29 = fcmp olt double %23, 0.000000e+00
  %or.cond = select i1 %26, i1 true, i1 %29
  br i1 %or.cond, label %34, label %30

30:                                               ; preds = %10
  %31 = fneg double %23
  %32 = tail call double @llvm.fmuladd.f64(double %31, double %21, double %16)
  %33 = fcmp ogt double %32, 0.000000e+00
  br i1 %33, label %34, label %36

34:                                               ; preds = %30, %10
  %35 = tail call double @jacobian_dxdh_no_contact(double noundef %16, double noundef %13, double noundef %23, double noundef %21, double noundef %19) #3
  br label %38

36:                                               ; preds = %30
  %37 = tail call double @jacobian_dxdh_contact(double noundef %16, double noundef %13, double noundef %23, double noundef %21, double noundef %19, double noundef %28) #3
  br label %38

38:                                               ; preds = %36, %34, %9
  %.0 = phi double [ 0xC08F3F3333333333, %9 ], [ %35, %34 ], [ %37, %36 ]
  ret double %.0
}

declare double @jacobian_dxdh_no_contact(double noundef, double noundef, double noundef, double noundef, double noundef) local_unnamed_addr #0

declare double @jacobian_dxdh_contact(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) local_unnamed_addr #0

attributes #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 #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind 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 #3 = { 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, !7, i64 0}
!6 = !{!"MAP_OtherStateType", !7, i64 0, !7, i64 8, !10, i64 16, !7, i64 24, !10, i64 32, !7, i64 40, !10, i64 48, !7, i64 56, !10, i64 64, !7, i64 72, !10, i64 80, !7, i64 88, !10, i64 96, !7, i64 104, !10, i64 112, !7, i64 120, !10, i64 128, !7, i64 136, !10, i64 144, !7, i64 152, !10, i64 160, !7, i64 168, !10, i64 176, !7, i64 184, !10, i64 192, !7, i64 200, !10, i64 208, !7, i64 216, !10, i64 224, !7, i64 232, !10, i64 240, !7, i64 248, !10, i64 256}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !7, i64 56}
!12 = !{!"Line_t", !7, i64 0, !13, i64 8, !15, i64 40, !15, i64 80, !16, i64 120, !7, i64 160, !7, i64 168, !17, i64 176, !17, i64 184, !17, i64 192, !17, i64 200, !17, i64 208, !17, i64 216, !17, i64 224, !17, i64 232, !17, i64 240, !17, i64 248, !17, i64 256, !17, i64 264, !17, i64 272, !17, i64 280, !17, i64 288, !17, i64 296, !17, i64 304, !17, i64 312, !18, i64 320, !7, i64 440, !7, i64 448, !10, i64 456, !10, i64 460, !10, i64 464, !10, i64 468, !10, i64 472}
!13 = !{!"", !14, i64 0, !14, i64 1, !14, i64 2, !14, i64 3, !14, i64 4, !14, i64 5, !14, i64 6, !14, i64 7, !14, i64 8, !14, i64 9, !14, i64 10, !14, i64 11, !14, i64 12, !14, i64 13, !14, i64 14, !14, i64 15, !14, i64 16, !14, i64 17, !14, i64 18, !14, i64 19, !14, i64 20, !14, i64 21, !14, i64 22, !14, i64 23, !14, i64 24, !14, i64 25}
!14 = !{!"_Bool", !8, i64 0}
!15 = !{!"VarTypePtr_t", !7, i64 0, !7, i64 8, !7, i64 16, !14, i64 24, !10, i64 28, !10, i64 32}
!16 = !{!"VarType_t", !7, i64 0, !7, i64 8, !17, i64 16, !14, i64 24, !14, i64 25, !10, i64 28, !10, i64 32}
!17 = !{!"double", !8, i64 0}
!18 = !{!"", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !7, i64 32, !10, i64 40, !10, i64 44, !10, i64 48, !7, i64 56, !19, i64 64}
!19 = !{!"list_attributes_s", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !7, i64 32, !7, i64 40, !7, i64 48}
!20 = !{!17, !17, i64 0}
!21 = !{!12, !7, i64 96}
!22 = !{!12, !7, i64 0}
!23 = !{!24, !17, i64 16}
!24 = !{!"CableLibrary_t", !17, i64 0, !17, i64 8, !17, i64 16, !17, i64 24, !17, i64 32, !17, i64 40, !17, i64 48, !17, i64 56, !17, i64 64, !17, i64 72, !7, i64 80}
!25 = !{!12, !17, i64 136}
!26 = !{!24, !17, i64 24}
!27 = !{!12, !14, i64 29}
!28 = !{i8 0, i8 2}
!29 = !{}
!30 = !{!24, !17, i64 40}


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