; LLVM IR from openvinotoolkit/model_server :: src (main_capi)

; 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 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [35 x i8], align 1
@stderr = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [28 x i8], align 1
@__const.main.SHAPE = external hidden unnamed_addr constant [2 x i64], align 16
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [13 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca [2 x i64], align 16
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca float, align 4
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca ptr, align 8
  %26 = alloca i64, align 8
  %27 = alloca ptr, align 8
  %28 = alloca i64, align 8
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  store i32 0, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  store i32 0, ptr %3, align 4, !tbaa !5
  %32 = call ptr @OVMS_ApiVersion(ptr noundef %2, ptr noundef %3)
  %33 = load i32, ptr %2, align 4, !tbaa !5
  %34 = load i32, ptr %3, align 4, !tbaa !5
  %35 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %33, i32 noundef %34)
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  store ptr null, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  store ptr null, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  %36 = call ptr @OVMS_ServerSettingsNew(ptr noundef %4)
  %37 = call ptr @OVMS_ModelsSettingsNew(ptr noundef %5)
  %38 = call ptr @OVMS_ServerNew(ptr noundef %6)
  %39 = load ptr, ptr %4, align 8, !tbaa !9
  %40 = call ptr @OVMS_ServerSettingsSetGrpcPort(ptr noundef %39, i32 noundef 11337)
  %41 = load ptr, ptr %4, align 8, !tbaa !9
  %42 = call ptr @OVMS_ServerSettingsSetRestPort(ptr noundef %41, i32 noundef 11338)
  %43 = load ptr, ptr %4, align 8, !tbaa !9
  %44 = call ptr @OVMS_ServerSettingsSetLogLevel(ptr noundef %43, i32 noundef 1)
  %45 = load ptr, ptr %5, align 8, !tbaa !9
  %46 = call ptr @OVMS_ModelsSettingsSetConfigPath(ptr noundef %45, ptr noundef @.str.1)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %47 = load ptr, ptr %6, align 8, !tbaa !9
  %48 = load ptr, ptr %4, align 8, !tbaa !9
  %49 = load ptr, ptr %5, align 8, !tbaa !9
  %50 = call ptr @OVMS_ServerStartFromConfigurationFile(ptr noundef %47, ptr noundef %48, ptr noundef %49)
  store ptr %50, ptr %7, align 8, !tbaa !9
  %51 = load ptr, ptr %7, align 8, !tbaa !9
  %52 = icmp ne ptr %51, null
  br i1 %52, label %53, label %66

53:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store i32 0, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  store ptr null, ptr %9, align 8, !tbaa !9
  %54 = load ptr, ptr %7, align 8, !tbaa !9
  %55 = call ptr @OVMS_StatusCode(ptr noundef %54, ptr noundef %8)
  %56 = load ptr, ptr %7, align 8, !tbaa !9
  %57 = call ptr @OVMS_StatusDetails(ptr noundef %56, ptr noundef %9)
  %58 = load ptr, ptr @stderr, align 8, !tbaa !9
  %59 = load i32, ptr %8, align 4, !tbaa !5
  %60 = load ptr, ptr %9, align 8, !tbaa !9
  %61 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %58, ptr noundef @.str.2, i32 noundef %59, ptr noundef %60) #7
  %62 = load ptr, ptr %7, align 8, !tbaa !9
  call void @OVMS_StatusDelete(ptr noundef %62)
  %63 = load ptr, ptr %6, align 8, !tbaa !9
  call void @OVMS_ServerDelete(ptr noundef %63)
  %64 = load ptr, ptr %5, align 8, !tbaa !9
  call void @OVMS_ModelsSettingsDelete(ptr noundef %64)
  %65 = load ptr, ptr %4, align 8, !tbaa !9
  call void @OVMS_ServerSettingsDelete(ptr noundef %65)
  store i32 1, ptr %1, align 4
  store i32 1, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %150

66:                                               ; preds = %0
  %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  store i64 30, ptr %11, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  store i64 20, ptr %12, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %13, ptr align 16 @__const.main.SHAPE, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  store i64 600, ptr %14, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  store i64 2400, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  store float 0x40099999A0000000, ptr %16, align 4, !tbaa !13
  %68 = call ptr @llvm.stacksave.p0()
  store ptr %68, ptr %17, align 8
  %69 = alloca float, i64 2400, align 16
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %70

70:                                               ; preds = %79, %66
  %71 = load i32, ptr %18, align 4, !tbaa !5
  %72 = sext i32 %71 to i64
  %73 = icmp ult i64 %72, 600
  br i1 %73, label %75, label %74

74:                                               ; preds = %70
  store i32 2, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %82

75:                                               ; preds = %70
  %76 = load i32, ptr %18, align 4, !tbaa !5
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds float, ptr %69, i64 %77
  store float 0x40099999A0000000, ptr %78, align 4, !tbaa !13
  br label %79

79:                                               ; preds = %75
  %80 = load i32, ptr %18, align 4, !tbaa !5
  %81 = add nsw i32 %80, 1
  store i32 %81, ptr %18, align 4, !tbaa !5
  br label %70, !llvm.loop !15

82:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  store ptr null, ptr %19, align 8, !tbaa !9
  %83 = load ptr, ptr %6, align 8, !tbaa !9
  %84 = call ptr @OVMS_InferenceRequestNew(ptr noundef %19, ptr noundef %83, ptr noundef @.str.4, i64 noundef 1)
  %85 = load ptr, ptr %19, align 8, !tbaa !9
  %86 = getelementptr inbounds [2 x i64], ptr %13, i64 0, i64 0
  %87 = call ptr @OVMS_InferenceRequestAddInput(ptr noundef %85, ptr noundef @.str.5, i32 noundef 2, ptr noundef %86, i64 noundef 2)
  %88 = load ptr, ptr %19, align 8, !tbaa !9
  %89 = call ptr @OVMS_InferenceRequestInputSetData(ptr noundef %88, ptr noundef @.str.5, ptr noundef %69, i64 noundef 2400, i32 noundef 0, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  store ptr null, ptr %20, align 8, !tbaa !9
  %90 = load ptr, ptr %6, align 8, !tbaa !9
  %91 = load ptr, ptr %19, align 8, !tbaa !9
  %92 = call ptr @OVMS_Inference(ptr noundef %90, ptr noundef %91, ptr noundef %20)
  store ptr %92, ptr %7, align 8, !tbaa !9
  %93 = load ptr, ptr %7, align 8, !tbaa !9
  %94 = icmp ne ptr %93, null
  br i1 %94, label %95, label %109

95:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  store i32 0, ptr %21, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  store ptr null, ptr %22, align 8, !tbaa !9
  %96 = load ptr, ptr %7, align 8, !tbaa !9
  %97 = call ptr @OVMS_StatusCode(ptr noundef %96, ptr noundef %21)
  %98 = load ptr, ptr %7, align 8, !tbaa !9
  %99 = call ptr @OVMS_StatusDetails(ptr noundef %98, ptr noundef %22)
  %100 = load ptr, ptr @stderr, align 8, !tbaa !9
  %101 = load i32, ptr %21, align 4, !tbaa !5
  %102 = load ptr, ptr %22, align 8, !tbaa !9
  %103 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef @.str.6, i32 noundef %101, ptr noundef %102) #7
  %104 = load ptr, ptr %7, align 8, !tbaa !9
  call void @OVMS_StatusDelete(ptr noundef %104)
  %105 = load ptr, ptr %19, align 8, !tbaa !9
  call void @OVMS_InferenceRequestDelete(ptr noundef %105)
  %106 = load ptr, ptr %6, align 8, !tbaa !9
  call void @OVMS_ServerDelete(ptr noundef %106)
  %107 = load ptr, ptr %5, align 8, !tbaa !9
  call void @OVMS_ModelsSettingsDelete(ptr noundef %107)
  %108 = load ptr, ptr %4, align 8, !tbaa !9
  call void @OVMS_ServerSettingsDelete(ptr noundef %108)
  store i32 1, ptr %1, align 4
  store i32 1, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %148

109:                                              ; preds = %82
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  store ptr null, ptr %23, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  store ptr null, ptr %27, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  store i64 0, ptr %28, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #7
  %110 = load ptr, ptr %20, align 8, !tbaa !9
  %111 = call ptr @OVMS_InferenceResponseOutput(ptr noundef %110, i32 noundef 0, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30)
  %112 = alloca float, i64 2400, align 16
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #7
  store i32 0, ptr %31, align 4, !tbaa !5
  br label %113

113:                                              ; preds = %122, %109
  %114 = load i32, ptr %31, align 4, !tbaa !5
  %115 = sext i32 %114 to i64
  %116 = icmp ult i64 %115, 600
  br i1 %116, label %118, label %117

117:                                              ; preds = %113
  store i32 5, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  br label %125

118:                                              ; preds = %113
  %119 = load i32, ptr %31, align 4, !tbaa !5
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds float, ptr %112, i64 %120
  store float 0x4010CCCCC0000000, ptr %121, align 4, !tbaa !13
  br label %122

122:                                              ; preds = %118
  %123 = load i32, ptr %31, align 4, !tbaa !5
  %124 = add nsw i32 %123, 1
  store i32 %124, ptr %31, align 4, !tbaa !5
  br label %113, !llvm.loop !17

125:                                              ; preds = %117
  %126 = load ptr, ptr %27, align 8, !tbaa !9
  %127 = call i32 @memcmp(ptr noundef %126, ptr noundef %112, i64 noundef 2400) #8
  %128 = icmp ne i32 %127, 0
  br i1 %128, label %129, label %137

129:                                              ; preds = %125
  %130 = load ptr, ptr @stderr, align 8, !tbaa !9
  %131 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %130, ptr noundef @.str.7) #7
  %132 = load ptr, ptr %20, align 8, !tbaa !9
  call void @OVMS_InferenceResponseDelete(ptr noundef %132)
  %133 = load ptr, ptr %19, align 8, !tbaa !9
  call void @OVMS_InferenceRequestDelete(ptr noundef %133)
  %134 = load ptr, ptr %6, align 8, !tbaa !9
  call void @OVMS_ServerDelete(ptr noundef %134)
  %135 = load ptr, ptr %5, align 8, !tbaa !9
  call void @OVMS_ModelsSettingsDelete(ptr noundef %135)
  %136 = load ptr, ptr %4, align 8, !tbaa !9
  call void @OVMS_ServerSettingsDelete(ptr noundef %136)
  store i32 1, ptr %1, align 4
  store i32 1, ptr %10, align 4
  br label %147

137:                                              ; preds = %125
  %138 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  br label %139

139:                                              ; preds = %137
  %140 = load ptr, ptr %20, align 8, !tbaa !9
  call void @OVMS_InferenceResponseDelete(ptr noundef %140)
  %141 = load ptr, ptr %19, align 8, !tbaa !9
  call void @OVMS_InferenceRequestDelete(ptr noundef %141)
  %142 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  %143 = load ptr, ptr %6, align 8, !tbaa !9
  call void @OVMS_ServerDelete(ptr noundef %143)
  %144 = load ptr, ptr %5, align 8, !tbaa !9
  call void @OVMS_ModelsSettingsDelete(ptr noundef %144)
  %145 = load ptr, ptr %4, align 8, !tbaa !9
  call void @OVMS_ServerSettingsDelete(ptr noundef %145)
  %146 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %10, align 4
  br label %147

147:                                              ; preds = %139, %129
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  br label %148

148:                                              ; preds = %147, %95
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  %149 = load ptr, ptr %17, align 8
  call void @llvm.stackrestore.p0(ptr %149)
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %150

150:                                              ; preds = %148, %53
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  %151 = load i32, ptr %1, align 4
  ret i32 %151
}

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

declare ptr @OVMS_ApiVersion(ptr noundef, ptr noundef) #2

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

declare ptr @OVMS_ServerSettingsNew(ptr noundef) #2

declare ptr @OVMS_ModelsSettingsNew(ptr noundef) #2

declare ptr @OVMS_ServerNew(ptr noundef) #2

declare ptr @OVMS_ServerSettingsSetGrpcPort(ptr noundef, i32 noundef) #2

declare ptr @OVMS_ServerSettingsSetRestPort(ptr noundef, i32 noundef) #2

declare ptr @OVMS_ServerSettingsSetLogLevel(ptr noundef, i32 noundef) #2

declare ptr @OVMS_ModelsSettingsSetConfigPath(ptr noundef, ptr noundef) #2

declare ptr @OVMS_ServerStartFromConfigurationFile(ptr noundef, ptr noundef, ptr noundef) #2

declare ptr @OVMS_StatusCode(ptr noundef, ptr noundef) #2

declare ptr @OVMS_StatusDetails(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #3

declare void @OVMS_StatusDelete(ptr noundef) #2

declare void @OVMS_ServerDelete(ptr noundef) #2

declare void @OVMS_ModelsSettingsDelete(ptr noundef) #2

declare void @OVMS_ServerSettingsDelete(ptr noundef) #2

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #5

declare ptr @OVMS_InferenceRequestNew(ptr noundef, ptr noundef, ptr noundef, i64 noundef) #2

declare ptr @OVMS_InferenceRequestAddInput(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i64 noundef) #2

declare ptr @OVMS_InferenceRequestInputSetData(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef) #2

declare ptr @OVMS_Inference(ptr noundef, ptr noundef, ptr noundef) #2

declare void @OVMS_InferenceRequestDelete(ptr noundef) #2

declare ptr @OVMS_InferenceResponseOutput(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind willreturn memory(read)
declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #6

declare void @OVMS_InferenceResponseDelete(ptr noundef) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #5

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { nocallback nofree nosync nounwind willreturn }
attributes #6 = { nounwind willreturn memory(read) "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 #7 = { nounwind }
attributes #8 = { nounwind willreturn memory(read) }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}


; 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 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [35 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [28 x i8], align 1
@__const.main.SHAPE = external hidden unnamed_addr constant [2 x i64], align 16
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [13 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @main() local_unnamed_addr #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca [2 x i64], align 16
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i64, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i64, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #7
  store i32 0, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #7
  store i32 0, ptr %2, align 4, !tbaa !5
  %21 = call ptr @OVMS_ApiVersion(ptr noundef nonnull %1, ptr noundef nonnull %2) #7
  %22 = load i32, ptr %1, align 4, !tbaa !5
  %23 = load i32, ptr %2, align 4, !tbaa !5
  %24 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %22, i32 noundef %23)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  store ptr null, ptr %3, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  store ptr null, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %25 = call ptr @OVMS_ServerSettingsNew(ptr noundef nonnull %3) #7
  %26 = call ptr @OVMS_ModelsSettingsNew(ptr noundef nonnull %4) #7
  %27 = call ptr @OVMS_ServerNew(ptr noundef nonnull %5) #7
  %28 = load ptr, ptr %3, align 8, !tbaa !9
  %29 = call ptr @OVMS_ServerSettingsSetGrpcPort(ptr noundef %28, i32 noundef 11337) #7
  %30 = load ptr, ptr %3, align 8, !tbaa !9
  %31 = call ptr @OVMS_ServerSettingsSetRestPort(ptr noundef %30, i32 noundef 11338) #7
  %32 = load ptr, ptr %3, align 8, !tbaa !9
  %33 = call ptr @OVMS_ServerSettingsSetLogLevel(ptr noundef %32, i32 noundef 1) #7
  %34 = load ptr, ptr %4, align 8, !tbaa !9
  %35 = call ptr @OVMS_ModelsSettingsSetConfigPath(ptr noundef %34, ptr noundef nonnull @.str.1) #7
  %36 = load ptr, ptr %5, align 8, !tbaa !9
  %37 = load ptr, ptr %3, align 8, !tbaa !9
  %38 = load ptr, ptr %4, align 8, !tbaa !9
  %39 = call ptr @OVMS_ServerStartFromConfigurationFile(ptr noundef %36, ptr noundef %37, ptr noundef %38) #7
  %.not = icmp eq ptr %39, null
  br i1 %.not, label %vector.ph, label %40

40:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #7
  store i32 0, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  store ptr null, ptr %7, align 8, !tbaa !9
  %41 = call ptr @OVMS_StatusCode(ptr noundef nonnull %39, ptr noundef nonnull %6) #7
  %42 = call ptr @OVMS_StatusDetails(ptr noundef nonnull %39, ptr noundef nonnull %7) #7
  %43 = load ptr, ptr @stderr, align 8, !tbaa !9
  %44 = load i32, ptr %6, align 4, !tbaa !5
  %45 = load ptr, ptr %7, align 8, !tbaa !9
  %46 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %43, ptr noundef nonnull @.str.2, i32 noundef %44, ptr noundef %45) #8
  call void @OVMS_StatusDelete(ptr noundef nonnull %39) #7
  %47 = load ptr, ptr %5, align 8, !tbaa !9
  call void @OVMS_ServerDelete(ptr noundef %47) #7
  %48 = load ptr, ptr %4, align 8, !tbaa !9
  call void @OVMS_ModelsSettingsDelete(ptr noundef %48) #7
  %49 = load ptr, ptr %3, align 8, !tbaa !9
  call void @OVMS_ServerSettingsDelete(ptr noundef %49) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  br label %126

vector.ph:                                        ; preds = %0
  %50 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %8, ptr noundef nonnull align 16 dereferenceable(16) @__const.main.SHAPE, i64 16, i1 false)
  %51 = call ptr @llvm.stacksave.p0()
  %52 = alloca [2400 x float], align 16
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next.4, %vector.body ]
  %53 = getelementptr inbounds float, ptr %52, i64 %index
  %54 = getelementptr inbounds i8, ptr %53, i64 16
  store <4 x float> <float 0x40099999A0000000, float 0x40099999A0000000, float 0x40099999A0000000, float 0x40099999A0000000>, ptr %53, align 16, !tbaa !11
  store <4 x float> <float 0x40099999A0000000, float 0x40099999A0000000, float 0x40099999A0000000, float 0x40099999A0000000>, ptr %54, align 16, !tbaa !11
  %55 = getelementptr inbounds float, ptr %52, i64 %index
  %56 = getelementptr inbounds i8, ptr %55, i64 32
  %57 = getelementptr inbounds i8, ptr %55, i64 48
  store <4 x float> <float 0x40099999A0000000, float 0x40099999A0000000, float 0x40099999A0000000, float 0x40099999A0000000>, ptr %56, align 16, !tbaa !11
  store <4 x float> <float 0x40099999A0000000, float 0x40099999A0000000, float 0x40099999A0000000, float 0x40099999A0000000>, ptr %57, align 16, !tbaa !11
  %58 = getelementptr inbounds float, ptr %52, i64 %index
  %59 = getelementptr inbounds i8, ptr %58, i64 64
  %60 = getelementptr inbounds i8, ptr %58, i64 80
  store <4 x float> <float 0x40099999A0000000, float 0x40099999A0000000, float 0x40099999A0000000, float 0x40099999A0000000>, ptr %59, align 16, !tbaa !11
  store <4 x float> <float 0x40099999A0000000, float 0x40099999A0000000, float 0x40099999A0000000, float 0x40099999A0000000>, ptr %60, align 16, !tbaa !11
  %61 = getelementptr inbounds float, ptr %52, i64 %index
  %62 = getelementptr inbounds i8, ptr %61, i64 96
  %63 = getelementptr inbounds i8, ptr %61, i64 112
  store <4 x float> <float 0x40099999A0000000, float 0x40099999A0000000, float 0x40099999A0000000, float 0x40099999A0000000>, ptr %62, align 16, !tbaa !11
  store <4 x float> <float 0x40099999A0000000, float 0x40099999A0000000, float 0x40099999A0000000, float 0x40099999A0000000>, ptr %63, align 16, !tbaa !11
  %64 = getelementptr inbounds float, ptr %52, i64 %index
  %65 = getelementptr inbounds i8, ptr %64, i64 128
  %66 = getelementptr inbounds i8, ptr %64, i64 144
  store <4 x float> <float 0x40099999A0000000, float 0x40099999A0000000, float 0x40099999A0000000, float 0x40099999A0000000>, ptr %65, align 16, !tbaa !11
  store <4 x float> <float 0x40099999A0000000, float 0x40099999A0000000, float 0x40099999A0000000, float 0x40099999A0000000>, ptr %66, align 16, !tbaa !11
  %index.next.4 = add nuw nsw i64 %index, 40
  %67 = icmp eq i64 %index.next.4, 600
  br i1 %67, label %middle.block, label %vector.body, !llvm.loop !13

middle.block:                                     ; preds = %vector.body
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  store ptr null, ptr %9, align 8, !tbaa !9
  %68 = load ptr, ptr %5, align 8, !tbaa !9
  %69 = call ptr @OVMS_InferenceRequestNew(ptr noundef nonnull %9, ptr noundef %68, ptr noundef nonnull @.str.4, i64 noundef 1) #7
  %70 = load ptr, ptr %9, align 8, !tbaa !9
  %71 = call ptr @OVMS_InferenceRequestAddInput(ptr noundef %70, ptr noundef nonnull @.str.5, i32 noundef 2, ptr noundef nonnull %8, i64 noundef 2) #7
  %72 = load ptr, ptr %9, align 8, !tbaa !9
  %73 = call ptr @OVMS_InferenceRequestInputSetData(ptr noundef %72, ptr noundef nonnull @.str.5, ptr noundef nonnull %52, i64 noundef 2400, i32 noundef 0, i32 noundef 0) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  store ptr null, ptr %10, align 8, !tbaa !9
  %74 = load ptr, ptr %5, align 8, !tbaa !9
  %75 = load ptr, ptr %9, align 8, !tbaa !9
  %76 = call ptr @OVMS_Inference(ptr noundef %74, ptr noundef %75, ptr noundef nonnull %10) #7
  %.not21 = icmp eq ptr %76, null
  br i1 %.not21, label %vector.ph32, label %77

77:                                               ; preds = %middle.block
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #7
  store i32 0, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  store ptr null, ptr %12, align 8, !tbaa !9
  %78 = call ptr @OVMS_StatusCode(ptr noundef nonnull %76, ptr noundef nonnull %11) #7
  %79 = call ptr @OVMS_StatusDetails(ptr noundef nonnull %76, ptr noundef nonnull %12) #7
  %80 = load ptr, ptr @stderr, align 8, !tbaa !9
  %81 = load i32, ptr %11, align 4, !tbaa !5
  %82 = load ptr, ptr %12, align 8, !tbaa !9
  %83 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %80, ptr noundef nonnull @.str.6, i32 noundef %81, ptr noundef %82) #8
  call void @OVMS_StatusDelete(ptr noundef nonnull %76) #7
  %84 = load ptr, ptr %9, align 8, !tbaa !9
  call void @OVMS_InferenceRequestDelete(ptr noundef %84) #7
  %85 = load ptr, ptr %5, align 8, !tbaa !9
  call void @OVMS_ServerDelete(ptr noundef %85) #7
  %86 = load ptr, ptr %4, align 8, !tbaa !9
  call void @OVMS_ModelsSettingsDelete(ptr noundef %86) #7
  %87 = load ptr, ptr %3, align 8, !tbaa !9
  call void @OVMS_ServerSettingsDelete(ptr noundef %87) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  br label %125

vector.ph32:                                      ; preds = %middle.block
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  store ptr null, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  store ptr null, ptr %17, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  store i64 0, ptr %18, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #7
  %88 = load ptr, ptr %10, align 8, !tbaa !9
  %89 = call ptr @OVMS_InferenceResponseOutput(ptr noundef %88, i32 noundef 0, ptr noundef nonnull %13, ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef nonnull %16, ptr noundef nonnull %17, ptr noundef nonnull %18, ptr noundef nonnull %19, ptr noundef nonnull %20) #7
  %90 = alloca [2400 x float], align 16
  br label %vector.body34

vector.body34:                                    ; preds = %vector.body34, %vector.ph32
  %index35 = phi i64 [ 0, %vector.ph32 ], [ %index.next36.4, %vector.body34 ]
  %91 = getelementptr inbounds float, ptr %90, i64 %index35
  %92 = getelementptr inbounds i8, ptr %91, i64 16
  store <4 x float> <float 0x4010CCCCC0000000, float 0x4010CCCCC0000000, float 0x4010CCCCC0000000, float 0x4010CCCCC0000000>, ptr %91, align 16, !tbaa !11
  store <4 x float> <float 0x4010CCCCC0000000, float 0x4010CCCCC0000000, float 0x4010CCCCC0000000, float 0x4010CCCCC0000000>, ptr %92, align 16, !tbaa !11
  %93 = getelementptr inbounds float, ptr %90, i64 %index35
  %94 = getelementptr inbounds i8, ptr %93, i64 32
  %95 = getelementptr inbounds i8, ptr %93, i64 48
  store <4 x float> <float 0x4010CCCCC0000000, float 0x4010CCCCC0000000, float 0x4010CCCCC0000000, float 0x4010CCCCC0000000>, ptr %94, align 16, !tbaa !11
  store <4 x float> <float 0x4010CCCCC0000000, float 0x4010CCCCC0000000, float 0x4010CCCCC0000000, float 0x4010CCCCC0000000>, ptr %95, align 16, !tbaa !11
  %96 = getelementptr inbounds float, ptr %90, i64 %index35
  %97 = getelementptr inbounds i8, ptr %96, i64 64
  %98 = getelementptr inbounds i8, ptr %96, i64 80
  store <4 x float> <float 0x4010CCCCC0000000, float 0x4010CCCCC0000000, float 0x4010CCCCC0000000, float 0x4010CCCCC0000000>, ptr %97, align 16, !tbaa !11
  store <4 x float> <float 0x4010CCCCC0000000, float 0x4010CCCCC0000000, float 0x4010CCCCC0000000, float 0x4010CCCCC0000000>, ptr %98, align 16, !tbaa !11
  %99 = getelementptr inbounds float, ptr %90, i64 %index35
  %100 = getelementptr inbounds i8, ptr %99, i64 96
  %101 = getelementptr inbounds i8, ptr %99, i64 112
  store <4 x float> <float 0x4010CCCCC0000000, float 0x4010CCCCC0000000, float 0x4010CCCCC0000000, float 0x4010CCCCC0000000>, ptr %100, align 16, !tbaa !11
  store <4 x float> <float 0x4010CCCCC0000000, float 0x4010CCCCC0000000, float 0x4010CCCCC0000000, float 0x4010CCCCC0000000>, ptr %101, align 16, !tbaa !11
  %102 = getelementptr inbounds float, ptr %90, i64 %index35
  %103 = getelementptr inbounds i8, ptr %102, i64 128
  %104 = getelementptr inbounds i8, ptr %102, i64 144
  store <4 x float> <float 0x4010CCCCC0000000, float 0x4010CCCCC0000000, float 0x4010CCCCC0000000, float 0x4010CCCCC0000000>, ptr %103, align 16, !tbaa !11
  store <4 x float> <float 0x4010CCCCC0000000, float 0x4010CCCCC0000000, float 0x4010CCCCC0000000, float 0x4010CCCCC0000000>, ptr %104, align 16, !tbaa !11
  %index.next36.4 = add nuw nsw i64 %index35, 40
  %105 = icmp eq i64 %index.next36.4, 600
  br i1 %105, label %middle.block30, label %vector.body34, !llvm.loop !19

middle.block30:                                   ; preds = %vector.body34
  %106 = load ptr, ptr %17, align 8, !tbaa !9
  %bcmp = call i32 @bcmp(ptr noundef nonnull dereferenceable(2400) %106, ptr noundef nonnull dereferenceable(2400) %90, i64 2400)
  %.not22 = icmp eq i32 %bcmp, 0
  br i1 %.not22, label %115, label %107

107:                                              ; preds = %middle.block30
  %108 = load ptr, ptr @stderr, align 8, !tbaa !9
  %109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %108, ptr noundef nonnull @.str.7) #8
  %110 = load ptr, ptr %10, align 8, !tbaa !9
  call void @OVMS_InferenceResponseDelete(ptr noundef %110) #7
  %111 = load ptr, ptr %9, align 8, !tbaa !9
  call void @OVMS_InferenceRequestDelete(ptr noundef %111) #7
  %112 = load ptr, ptr %5, align 8, !tbaa !9
  call void @OVMS_ServerDelete(ptr noundef %112) #7
  %113 = load ptr, ptr %4, align 8, !tbaa !9
  call void @OVMS_ModelsSettingsDelete(ptr noundef %113) #7
  %114 = load ptr, ptr %3, align 8, !tbaa !9
  call void @OVMS_ServerSettingsDelete(ptr noundef %114) #7
  br label %124

115:                                              ; preds = %middle.block30
  %116 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  %117 = load ptr, ptr %10, align 8, !tbaa !9
  call void @OVMS_InferenceResponseDelete(ptr noundef %117) #7
  %118 = load ptr, ptr %9, align 8, !tbaa !9
  call void @OVMS_InferenceRequestDelete(ptr noundef %118) #7
  %119 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9)
  %120 = load ptr, ptr %5, align 8, !tbaa !9
  call void @OVMS_ServerDelete(ptr noundef %120) #7
  %121 = load ptr, ptr %4, align 8, !tbaa !9
  call void @OVMS_ModelsSettingsDelete(ptr noundef %121) #7
  %122 = load ptr, ptr %3, align 8, !tbaa !9
  call void @OVMS_ServerSettingsDelete(ptr noundef %122) #7
  %123 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10)
  br label %124

124:                                              ; preds = %115, %107
  %.016 = phi i32 [ 1, %107 ], [ 0, %115 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  br label %125

125:                                              ; preds = %124, %77
  %.1 = phi i32 [ 1, %77 ], [ %.016, %124 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.stackrestore.p0(ptr %51)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  br label %126

126:                                              ; preds = %125, %40
  %.2 = phi i32 [ 1, %40 ], [ %.1, %125 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  ret i32 %.2
}

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

declare ptr @OVMS_ApiVersion(ptr noundef, ptr noundef) local_unnamed_addr #2

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

declare ptr @OVMS_ServerSettingsNew(ptr noundef) local_unnamed_addr #2

declare ptr @OVMS_ModelsSettingsNew(ptr noundef) local_unnamed_addr #2

declare ptr @OVMS_ServerNew(ptr noundef) local_unnamed_addr #2

declare ptr @OVMS_ServerSettingsSetGrpcPort(ptr noundef, i32 noundef) local_unnamed_addr #2

declare ptr @OVMS_ServerSettingsSetRestPort(ptr noundef, i32 noundef) local_unnamed_addr #2

declare ptr @OVMS_ServerSettingsSetLogLevel(ptr noundef, i32 noundef) local_unnamed_addr #2

declare ptr @OVMS_ModelsSettingsSetConfigPath(ptr noundef, ptr noundef) local_unnamed_addr #2

declare ptr @OVMS_ServerStartFromConfigurationFile(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare ptr @OVMS_StatusCode(ptr noundef, ptr noundef) local_unnamed_addr #2

declare ptr @OVMS_StatusDetails(ptr noundef, ptr noundef) local_unnamed_addr #2

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

declare void @OVMS_StatusDelete(ptr noundef) local_unnamed_addr #2

declare void @OVMS_ServerDelete(ptr noundef) local_unnamed_addr #2

declare void @OVMS_ModelsSettingsDelete(ptr noundef) local_unnamed_addr #2

declare void @OVMS_ServerSettingsDelete(ptr noundef) 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) #1

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #5

declare ptr @OVMS_InferenceRequestNew(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

declare ptr @OVMS_InferenceRequestAddInput(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

declare ptr @OVMS_InferenceRequestInputSetData(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

declare ptr @OVMS_Inference(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @OVMS_InferenceRequestDelete(ptr noundef) local_unnamed_addr #2

declare ptr @OVMS_InferenceResponseOutput(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @OVMS_InferenceResponseDelete(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #5

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #6

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { 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 #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #6 = { nofree nounwind willreturn memory(argmem: read) }
attributes #7 = { nounwind }
attributes #8 = { cold 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14, !15, !16}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!"llvm.loop.isvectorized", i32 1}
!16 = !{!"llvm.loop.unroll.runtime.disable"}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = distinct !{!19, !14, !15, !16}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LoopLoadEliminationPass,LoopRotatePass,LoopUnrollPass,LoopVectorizePass,SROAPass,SimplifyCFGPass