; LLVM IR from stan-dev/math :: lib/sundials_6.1.1/src/idas (idas_io)

; 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.103 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.110 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.113 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.114 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.115 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.116 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.117 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.118 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.119 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.120 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.121 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.122 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.123 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.125 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.126 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.127 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.128 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.129 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.130 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.131 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.132 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.133 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.134 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.135 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.136 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.137 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.138 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.139 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.140 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.141 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.142 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.143 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.144 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.145 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.146 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.147 = external hidden unnamed_addr constant [5 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

; Function Attrs: nounwind uwtable
define dso_local ptr @IDAGetReturnFlagName(i64 noundef %0) #1 {
  %2 = alloca i64, align 8
  %3 = alloca ptr, align 8
  store i64 %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  %4 = call noalias ptr @malloc(i64 noundef 24) #5
  store ptr %4, ptr %3, align 8, !tbaa !9
  %5 = load i64, ptr %2, align 8, !tbaa !5
  switch i64 %5, label %138 [
    i64 0, label %6
    i64 1, label %9
    i64 2, label %12
    i64 -1, label %15
    i64 -2, label %18
    i64 -3, label %21
    i64 -4, label %24
    i64 -5, label %27
    i64 -6, label %30
    i64 -7, label %33
    i64 -11, label %36
    i64 -8, label %39
    i64 -12, label %42
    i64 -9, label %45
    i64 -10, label %48
    i64 -21, label %51
    i64 -20, label %54
    i64 -22, label %57
    i64 -23, label %60
    i64 -26, label %63
    i64 -25, label %66
    i64 -27, label %69
    i64 -24, label %72
    i64 -14, label %75
    i64 -13, label %78
    i64 -40, label %81
    i64 -41, label %84
    i64 -42, label %87
    i64 -43, label %90
    i64 -30, label %93
    i64 -50, label %96
    i64 -31, label %99
    i64 -33, label %102
    i64 -51, label %105
    i64 -53, label %108
    i64 -101, label %111
    i64 -104, label %114
    i64 -105, label %117
    i64 -106, label %120
    i64 -107, label %123
    i64 -103, label %126
    i64 -102, label %129
    i64 -16, label %132
    i64 -17, label %135
  ]

6:                                                ; preds = %1
  %7 = load ptr, ptr %3, align 8, !tbaa !9
  %8 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %7, ptr noundef @.str.103) #4
  br label %141

9:                                                ; preds = %1
  %10 = load ptr, ptr %3, align 8, !tbaa !9
  %11 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %10, ptr noundef @.str.104) #4
  br label %141

12:                                               ; preds = %1
  %13 = load ptr, ptr %3, align 8, !tbaa !9
  %14 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %13, ptr noundef @.str.105) #4
  br label %141

15:                                               ; preds = %1
  %16 = load ptr, ptr %3, align 8, !tbaa !9
  %17 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %16, ptr noundef @.str.106) #4
  br label %141

18:                                               ; preds = %1
  %19 = load ptr, ptr %3, align 8, !tbaa !9
  %20 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %19, ptr noundef @.str.107) #4
  br label %141

21:                                               ; preds = %1
  %22 = load ptr, ptr %3, align 8, !tbaa !9
  %23 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %22, ptr noundef @.str.108) #4
  br label %141

24:                                               ; preds = %1
  %25 = load ptr, ptr %3, align 8, !tbaa !9
  %26 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %25, ptr noundef @.str.109) #4
  br label %141

27:                                               ; preds = %1
  %28 = load ptr, ptr %3, align 8, !tbaa !9
  %29 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %28, ptr noundef @.str.110) #4
  br label %141

30:                                               ; preds = %1
  %31 = load ptr, ptr %3, align 8, !tbaa !9
  %32 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %31, ptr noundef @.str.111) #4
  br label %141

33:                                               ; preds = %1
  %34 = load ptr, ptr %3, align 8, !tbaa !9
  %35 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %34, ptr noundef @.str.112) #4
  br label %141

36:                                               ; preds = %1
  %37 = load ptr, ptr %3, align 8, !tbaa !9
  %38 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %37, ptr noundef @.str.113) #4
  br label %141

39:                                               ; preds = %1
  %40 = load ptr, ptr %3, align 8, !tbaa !9
  %41 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %40, ptr noundef @.str.114) #4
  br label %141

42:                                               ; preds = %1
  %43 = load ptr, ptr %3, align 8, !tbaa !9
  %44 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %43, ptr noundef @.str.115) #4
  br label %141

45:                                               ; preds = %1
  %46 = load ptr, ptr %3, align 8, !tbaa !9
  %47 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %46, ptr noundef @.str.116) #4
  br label %141

48:                                               ; preds = %1
  %49 = load ptr, ptr %3, align 8, !tbaa !9
  %50 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %49, ptr noundef @.str.117) #4
  br label %141

51:                                               ; preds = %1
  %52 = load ptr, ptr %3, align 8, !tbaa !9
  %53 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %52, ptr noundef @.str.118) #4
  br label %141

54:                                               ; preds = %1
  %55 = load ptr, ptr %3, align 8, !tbaa !9
  %56 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %55, ptr noundef @.str.119) #4
  br label %141

57:                                               ; preds = %1
  %58 = load ptr, ptr %3, align 8, !tbaa !9
  %59 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %58, ptr noundef @.str.120) #4
  br label %141

60:                                               ; preds = %1
  %61 = load ptr, ptr %3, align 8, !tbaa !9
  %62 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %61, ptr noundef @.str.121) #4
  br label %141

63:                                               ; preds = %1
  %64 = load ptr, ptr %3, align 8, !tbaa !9
  %65 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %64, ptr noundef @.str.122) #4
  br label %141

66:                                               ; preds = %1
  %67 = load ptr, ptr %3, align 8, !tbaa !9
  %68 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %67, ptr noundef @.str.123) #4
  br label %141

69:                                               ; preds = %1
  %70 = load ptr, ptr %3, align 8, !tbaa !9
  %71 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %70, ptr noundef @.str.124) #4
  br label %141

72:                                               ; preds = %1
  %73 = load ptr, ptr %3, align 8, !tbaa !9
  %74 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %73, ptr noundef @.str.125) #4
  br label %141

75:                                               ; preds = %1
  %76 = load ptr, ptr %3, align 8, !tbaa !9
  %77 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %76, ptr noundef @.str.126) #4
  br label %141

78:                                               ; preds = %1
  %79 = load ptr, ptr %3, align 8, !tbaa !9
  %80 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %79, ptr noundef @.str.127) #4
  br label %141

81:                                               ; preds = %1
  %82 = load ptr, ptr %3, align 8, !tbaa !9
  %83 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %82, ptr noundef @.str.128) #4
  br label %141

84:                                               ; preds = %1
  %85 = load ptr, ptr %3, align 8, !tbaa !9
  %86 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %85, ptr noundef @.str.129) #4
  br label %141

87:                                               ; preds = %1
  %88 = load ptr, ptr %3, align 8, !tbaa !9
  %89 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %88, ptr noundef @.str.130) #4
  br label %141

90:                                               ; preds = %1
  %91 = load ptr, ptr %3, align 8, !tbaa !9
  %92 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %91, ptr noundef @.str.131) #4
  br label %141

93:                                               ; preds = %1
  %94 = load ptr, ptr %3, align 8, !tbaa !9
  %95 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %94, ptr noundef @.str.132) #4
  br label %141

96:                                               ; preds = %1
  %97 = load ptr, ptr %3, align 8, !tbaa !9
  %98 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %97, ptr noundef @.str.133) #4
  br label %141

99:                                               ; preds = %1
  %100 = load ptr, ptr %3, align 8, !tbaa !9
  %101 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %100, ptr noundef @.str.134) #4
  br label %141

102:                                              ; preds = %1
  %103 = load ptr, ptr %3, align 8, !tbaa !9
  %104 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %103, ptr noundef @.str.135) #4
  br label %141

105:                                              ; preds = %1
  %106 = load ptr, ptr %3, align 8, !tbaa !9
  %107 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %106, ptr noundef @.str.136) #4
  br label %141

108:                                              ; preds = %1
  %109 = load ptr, ptr %3, align 8, !tbaa !9
  %110 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %109, ptr noundef @.str.137) #4
  br label %141

111:                                              ; preds = %1
  %112 = load ptr, ptr %3, align 8, !tbaa !9
  %113 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %112, ptr noundef @.str.138) #4
  br label %141

114:                                              ; preds = %1
  %115 = load ptr, ptr %3, align 8, !tbaa !9
  %116 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %115, ptr noundef @.str.139) #4
  br label %141

117:                                              ; preds = %1
  %118 = load ptr, ptr %3, align 8, !tbaa !9
  %119 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %118, ptr noundef @.str.140) #4
  br label %141

120:                                              ; preds = %1
  %121 = load ptr, ptr %3, align 8, !tbaa !9
  %122 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %121, ptr noundef @.str.141) #4
  br label %141

123:                                              ; preds = %1
  %124 = load ptr, ptr %3, align 8, !tbaa !9
  %125 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %124, ptr noundef @.str.142) #4
  br label %141

126:                                              ; preds = %1
  %127 = load ptr, ptr %3, align 8, !tbaa !9
  %128 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %127, ptr noundef @.str.143) #4
  br label %141

129:                                              ; preds = %1
  %130 = load ptr, ptr %3, align 8, !tbaa !9
  %131 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %130, ptr noundef @.str.144) #4
  br label %141

132:                                              ; preds = %1
  %133 = load ptr, ptr %3, align 8, !tbaa !9
  %134 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %133, ptr noundef @.str.145) #4
  br label %141

135:                                              ; preds = %1
  %136 = load ptr, ptr %3, align 8, !tbaa !9
  %137 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %136, ptr noundef @.str.146) #4
  br label %141

138:                                              ; preds = %1
  %139 = load ptr, ptr %3, align 8, !tbaa !9
  %140 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %139, ptr noundef @.str.147) #4
  br label %141

141:                                              ; preds = %138, %135, %132, %129, %126, %123, %120, %117, %114, %111, %108, %105, %102, %99, %96, %93, %90, %87, %84, %81, %78, %75, %72, %69, %66, %63, %60, %57, %54, %51, %48, %45, %42, %39, %36, %33, %30, %27, %24, %21, %18, %15, %12, %9, %6
  %142 = load ptr, ptr %3, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  ret ptr %142
}

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #2

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

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

!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 = !{!"long", !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}


; 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.103 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.110 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.113 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.114 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.115 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.116 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.117 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.118 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.119 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.120 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.121 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.122 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.123 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.125 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.126 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.127 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.128 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.129 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.130 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.131 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.132 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.133 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.134 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.135 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.136 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.137 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.138 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.139 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.140 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.141 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.142 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.143 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.144 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.145 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.146 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.147 = external hidden unnamed_addr constant [5 x i8], align 1
@switch.table.IDAGetReturnFlagName = private unnamed_addr constant [110 x ptr] [ptr @.str.142, ptr @.str.141, ptr @.str.140, ptr @.str.139, ptr @.str.143, ptr @.str.144, ptr @.str.138, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.137, ptr @.str.147, ptr @.str.136, ptr @.str.133, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.131, ptr @.str.130, ptr @.str.129, ptr @.str.128, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.147, ptr @.str.135, ptr @.str.147, ptr @.str.134, ptr @.str.132, ptr @.str.147, ptr @.str.147, ptr @.str.124, ptr @.str.122, ptr @.str.123, ptr @.str.125, ptr @.str.121, ptr @.str.120, ptr @.str.118, ptr @.str.119, ptr @.str.147, ptr @.str.147, ptr @.str.146, ptr @.str.145, ptr @.str.147, ptr @.str.126, ptr @.str.127, ptr @.str.115, ptr @.str.113, ptr @.str.117, ptr @.str.116, ptr @.str.114, ptr @.str.112, ptr @.str.111, ptr @.str.110, ptr @.str.109, ptr @.str.108, ptr @.str.107, ptr @.str.106, ptr @.str.103, ptr @.str.104, ptr @.str.105], align 8

; Function Attrs: nofree nounwind uwtable
define dso_local noalias noundef ptr @IDAGetReturnFlagName(i64 noundef %0) local_unnamed_addr #0 {
  %2 = tail call noalias dereferenceable_or_null(24) ptr @malloc(i64 noundef 24) #3
  %switch.tableidx = add i64 %0, 107
  %3 = icmp ult i64 %switch.tableidx, 110
  br i1 %3, label %switch.lookup, label %4

switch.lookup:                                    ; preds = %1
  %switch.gep = getelementptr inbounds [110 x ptr], ptr @switch.table.IDAGetReturnFlagName, i64 0, i64 %switch.tableidx
  %switch.load = load ptr, ptr %switch.gep, align 8
  br label %4

4:                                                ; preds = %1, %switch.lookup
  %.str.147.sink = phi ptr [ %switch.load, %switch.lookup ], [ @.str.147, %1 ]
  %5 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) %.str.147.sink) #4
  ret ptr %2
}

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1

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

attributes #0 = { nofree 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 nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { nounwind allocsize(0) }
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)"}


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