; LLVM IR from MRPT/mrpt :: 3rdparty/xspublic/xstypes (xsdeviceid)

; 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.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [8 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMti6X0(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtw2(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtx2(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isBodyPack(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isAwinda2Station(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isAwinda2Dongle(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isAwinda2Oem(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isSyncStation2(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isImu(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isVru(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isAhrs(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isGnss(ptr noundef) #0

; Function Attrs: nounwind uwtable
define dso_local void @XsDeviceId_typeName(ptr noundef %0, ptr noundef %1) #0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %5 = load ptr, ptr %4, align 8, !tbaa !5
  %6 = icmp ne ptr %5, null
  br i1 %6, label %8, label %7

7:                                                ; preds = %2
  br label %208

8:                                                ; preds = %2
  %9 = load ptr, ptr %3, align 8, !tbaa !5
  %10 = icmp ne ptr %9, null
  br i1 %10, label %13, label %11

11:                                               ; preds = %8
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  call void @XsString_assignCharArray(ptr noundef %12, ptr noundef @.str.16)
  br label %208

13:                                               ; preds = %8
  %14 = load ptr, ptr %3, align 8, !tbaa !5
  %15 = call i32 @XsDeviceId_isAwinda2Station(ptr noundef %14)
  %16 = icmp ne i32 %15, 0
  br i1 %16, label %17, label %19

17:                                               ; preds = %13
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  call void @XsString_assignCharArray(ptr noundef %18, ptr noundef @.str.17)
  br label %208

19:                                               ; preds = %13
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = call i32 @XsDeviceId_isAwinda2Dongle(ptr noundef %20)
  %22 = icmp ne i32 %21, 0
  br i1 %22, label %23, label %25

23:                                               ; preds = %19
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  call void @XsString_assignCharArray(ptr noundef %24, ptr noundef @.str.18)
  br label %207

25:                                               ; preds = %19
  %26 = load ptr, ptr %3, align 8, !tbaa !5
  %27 = call i32 @XsDeviceId_isAwinda2Oem(ptr noundef %26)
  %28 = icmp ne i32 %27, 0
  br i1 %28, label %29, label %31

29:                                               ; preds = %25
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  call void @XsString_assignCharArray(ptr noundef %30, ptr noundef @.str.19)
  br label %206

31:                                               ; preds = %25
  %32 = load ptr, ptr %3, align 8, !tbaa !5
  %33 = call i32 @XsDeviceId_isMtw2(ptr noundef %32)
  %34 = icmp ne i32 %33, 0
  br i1 %34, label %35, label %37

35:                                               ; preds = %31
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  call void @XsString_assignCharArray(ptr noundef %36, ptr noundef @.str.3)
  br label %205

37:                                               ; preds = %31
  %38 = load ptr, ptr %3, align 8, !tbaa !5
  %39 = call i32 @XsDeviceId_isMtx2(ptr noundef %38)
  %40 = icmp ne i32 %39, 0
  br i1 %40, label %41, label %43

41:                                               ; preds = %37
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  call void @XsString_assignCharArray(ptr noundef %42, ptr noundef @.str.4)
  br label %204

43:                                               ; preds = %37
  %44 = load ptr, ptr %3, align 8, !tbaa !5
  %45 = call i32 @XsDeviceId_isBodyPack(ptr noundef %44)
  %46 = icmp ne i32 %45, 0
  br i1 %46, label %47, label %49

47:                                               ; preds = %43
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  call void @XsString_assignCharArray(ptr noundef %48, ptr noundef @.str.20)
  br label %203

49:                                               ; preds = %43
  %50 = load ptr, ptr %3, align 8, !tbaa !5
  %51 = call i32 @XsDeviceId_isSyncStation2(ptr noundef %50)
  %52 = icmp ne i32 %51, 0
  br i1 %52, label %53, label %55

53:                                               ; preds = %49
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  call void @XsString_assignCharArray(ptr noundef %54, ptr noundef @.str.21)
  br label %202

55:                                               ; preds = %49
  %56 = load ptr, ptr %3, align 8, !tbaa !5
  %57 = call i32 @XsDeviceId_isMti6X0(ptr noundef %56)
  %58 = icmp ne i32 %57, 0
  br i1 %58, label %59, label %87

59:                                               ; preds = %55
  %60 = load ptr, ptr %3, align 8, !tbaa !5
  %61 = call i32 @XsDeviceId_isImu(ptr noundef %60)
  %62 = icmp ne i32 %61, 0
  br i1 %62, label %63, label %65

63:                                               ; preds = %59
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  call void @XsString_assignCharArray(ptr noundef %64, ptr noundef @.str.22)
  br label %86

65:                                               ; preds = %59
  %66 = load ptr, ptr %3, align 8, !tbaa !5
  %67 = call i32 @XsDeviceId_isVru(ptr noundef %66)
  %68 = icmp ne i32 %67, 0
  br i1 %68, label %69, label %71

69:                                               ; preds = %65
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  call void @XsString_assignCharArray(ptr noundef %70, ptr noundef @.str.23)
  br label %85

71:                                               ; preds = %65
  %72 = load ptr, ptr %3, align 8, !tbaa !5
  %73 = call i32 @XsDeviceId_isAhrs(ptr noundef %72)
  %74 = icmp ne i32 %73, 0
  br i1 %74, label %75, label %77

75:                                               ; preds = %71
  %76 = load ptr, ptr %4, align 8, !tbaa !5
  call void @XsString_assignCharArray(ptr noundef %76, ptr noundef @.str.24)
  br label %84

77:                                               ; preds = %71
  %78 = load ptr, ptr %3, align 8, !tbaa !5
  %79 = call i32 @XsDeviceId_isGnss(ptr noundef %78)
  %80 = icmp ne i32 %79, 0
  br i1 %80, label %81, label %83

81:                                               ; preds = %77
  %82 = load ptr, ptr %4, align 8, !tbaa !5
  call void @XsString_assignCharArray(ptr noundef %82, ptr noundef @.str.25)
  br label %83

83:                                               ; preds = %81, %77
  br label %84

84:                                               ; preds = %83, %75
  br label %85

85:                                               ; preds = %84, %69
  br label %86

86:                                               ; preds = %85, %63
  br label %201

87:                                               ; preds = %55
  %88 = load ptr, ptr %3, align 8, !tbaa !5
  %89 = call i32 @XsDeviceId_isMtMk4_1(ptr noundef %88)
  %90 = icmp ne i32 %89, 0
  br i1 %90, label %91, label %93

91:                                               ; preds = %87
  %92 = load ptr, ptr %4, align 8, !tbaa !5
  call void @XsString_assignCharArray(ptr noundef %92, ptr noundef @.str.26)
  br label %200

93:                                               ; preds = %87
  %94 = load ptr, ptr %3, align 8, !tbaa !5
  %95 = call i32 @XsDeviceId_isMtMk4_2(ptr noundef %94)
  %96 = icmp ne i32 %95, 0
  br i1 %96, label %97, label %99

97:                                               ; preds = %93
  %98 = load ptr, ptr %4, align 8, !tbaa !5
  call void @XsString_assignCharArray(ptr noundef %98, ptr noundef @.str.27)
  br label %199

99:                                               ; preds = %93
  %100 = load ptr, ptr %3, align 8, !tbaa !5
  %101 = call i32 @XsDeviceId_isMtMk4_3(ptr noundef %100)
  %102 = icmp ne i32 %101, 0
  br i1 %102, label %103, label %105

103:                                              ; preds = %99
  %104 = load ptr, ptr %4, align 8, !tbaa !5
  call void @XsString_assignCharArray(ptr noundef %104, ptr noundef @.str.28)
  br label %198

105:                                              ; preds = %99
  %106 = load ptr, ptr %3, align 8, !tbaa !5
  %107 = call i32 @XsDeviceId_isMtMk4_7(ptr noundef %106)
  %108 = icmp ne i32 %107, 0
  br i1 %108, label %109, label %111

109:                                              ; preds = %105
  %110 = load ptr, ptr %4, align 8, !tbaa !5
  call void @XsString_assignCharArray(ptr noundef %110, ptr noundef @.str.29)
  br label %197

111:                                              ; preds = %105
  %112 = load ptr, ptr %3, align 8, !tbaa !5
  %113 = call i32 @XsDeviceId_isMtMk4_10(ptr noundef %112)
  %114 = icmp ne i32 %113, 0
  br i1 %114, label %115, label %117

115:                                              ; preds = %111
  %116 = load ptr, ptr %4, align 8, !tbaa !5
  call void @XsString_assignCharArray(ptr noundef %116, ptr noundef @.str.30)
  br label %196

117:                                              ; preds = %111
  %118 = load ptr, ptr %3, align 8, !tbaa !5
  %119 = call i32 @XsDeviceId_isMtMk4_20(ptr noundef %118)
  %120 = icmp ne i32 %119, 0
  br i1 %120, label %121, label %123

121:                                              ; preds = %117
  %122 = load ptr, ptr %4, align 8, !tbaa !5
  call void @XsString_assignCharArray(ptr noundef %122, ptr noundef @.str.31)
  br label %195

123:                                              ; preds = %117
  %124 = load ptr, ptr %3, align 8, !tbaa !5
  %125 = call i32 @XsDeviceId_isMtMk4_30(ptr noundef %124)
  %126 = icmp ne i32 %125, 0
  br i1 %126, label %127, label %129

127:                                              ; preds = %123
  %128 = load ptr, ptr %4, align 8, !tbaa !5
  call void @XsString_assignCharArray(ptr noundef %128, ptr noundef @.str.32)
  br label %194

129:                                              ; preds = %123
  %130 = load ptr, ptr %3, align 8, !tbaa !5
  %131 = call i32 @XsDeviceId_isMtMk4_100(ptr noundef %130)
  %132 = icmp ne i32 %131, 0
  br i1 %132, label %133, label %135

133:                                              ; preds = %129
  %134 = load ptr, ptr %4, align 8, !tbaa !5
  call void @XsString_assignCharArray(ptr noundef %134, ptr noundef @.str.33)
  br label %193

135:                                              ; preds = %129
  %136 = load ptr, ptr %3, align 8, !tbaa !5
  %137 = call i32 @XsDeviceId_isMtMk4_200(ptr noundef %136)
  %138 = icmp ne i32 %137, 0
  br i1 %138, label %139, label %141

139:                                              ; preds = %135
  %140 = load ptr, ptr %4, align 8, !tbaa !5
  call void @XsString_assignCharArray(ptr noundef %140, ptr noundef @.str.34)
  br label %192

141:                                              ; preds = %135
  %142 = load ptr, ptr %3, align 8, !tbaa !5
  %143 = call i32 @XsDeviceId_isMtMk4_300(ptr noundef %142)
  %144 = icmp ne i32 %143, 0
  br i1 %144, label %145, label %147

145:                                              ; preds = %141
  %146 = load ptr, ptr %4, align 8, !tbaa !5
  call void @XsString_assignCharArray(ptr noundef %146, ptr noundef @.str.35)
  br label %191

147:                                              ; preds = %141
  %148 = load ptr, ptr %3, align 8, !tbaa !5
  %149 = call i32 @XsDeviceId_isMtMk4_400(ptr noundef %148)
  %150 = icmp ne i32 %149, 0
  br i1 %150, label %151, label %153

151:                                              ; preds = %147
  %152 = load ptr, ptr %4, align 8, !tbaa !5
  call void @XsString_assignCharArray(ptr noundef %152, ptr noundef @.str.36)
  br label %190

153:                                              ; preds = %147
  %154 = load ptr, ptr %3, align 8, !tbaa !5
  %155 = call i32 @XsDeviceId_isMtMk4_500(ptr noundef %154)
  %156 = icmp ne i32 %155, 0
  br i1 %156, label %157, label %159

157:                                              ; preds = %153
  %158 = load ptr, ptr %4, align 8, !tbaa !5
  call void @XsString_assignCharArray(ptr noundef %158, ptr noundef @.str.37)
  br label %189

159:                                              ; preds = %153
  %160 = load ptr, ptr %3, align 8, !tbaa !5
  %161 = call i32 @XsDeviceId_isMtMk4_710(ptr noundef %160)
  %162 = icmp ne i32 %161, 0
  br i1 %162, label %163, label %165

163:                                              ; preds = %159
  %164 = load ptr, ptr %4, align 8, !tbaa !5
  call void @XsString_assignCharArray(ptr noundef %164, ptr noundef @.str.38)
  br label %188

165:                                              ; preds = %159
  %166 = load ptr, ptr %3, align 8, !tbaa !5
  %167 = call i32 @XsDeviceId_isMtMk4_700(ptr noundef %166)
  %168 = icmp ne i32 %167, 0
  br i1 %168, label %169, label %171

169:                                              ; preds = %165
  %170 = load ptr, ptr %4, align 8, !tbaa !5
  call void @XsString_assignCharArray(ptr noundef %170, ptr noundef @.str.39)
  br label %187

171:                                              ; preds = %165
  %172 = load ptr, ptr %3, align 8, !tbaa !5
  %173 = call i32 @XsDeviceId_isMtMk4_800(ptr noundef %172)
  %174 = icmp ne i32 %173, 0
  br i1 %174, label %175, label %177

175:                                              ; preds = %171
  %176 = load ptr, ptr %4, align 8, !tbaa !5
  call void @XsString_assignCharArray(ptr noundef %176, ptr noundef @.str.40)
  br label %186

177:                                              ; preds = %171
  %178 = load ptr, ptr %3, align 8, !tbaa !5
  %179 = call i32 @XsDeviceId_isMtMk4_900(ptr noundef %178)
  %180 = icmp ne i32 %179, 0
  br i1 %180, label %181, label %183

181:                                              ; preds = %177
  %182 = load ptr, ptr %4, align 8, !tbaa !5
  call void @XsString_assignCharArray(ptr noundef %182, ptr noundef @.str.41)
  br label %185

183:                                              ; preds = %177
  %184 = load ptr, ptr %4, align 8, !tbaa !5
  call void @XsString_assignCharArray(ptr noundef %184, ptr noundef @.str.42)
  br label %185

185:                                              ; preds = %183, %181
  br label %186

186:                                              ; preds = %185, %175
  br label %187

187:                                              ; preds = %186, %169
  br label %188

188:                                              ; preds = %187, %163
  br label %189

189:                                              ; preds = %188, %157
  br label %190

190:                                              ; preds = %189, %151
  br label %191

191:                                              ; preds = %190, %145
  br label %192

192:                                              ; preds = %191, %139
  br label %193

193:                                              ; preds = %192, %133
  br label %194

194:                                              ; preds = %193, %127
  br label %195

195:                                              ; preds = %194, %121
  br label %196

196:                                              ; preds = %195, %115
  br label %197

197:                                              ; preds = %196, %109
  br label %198

198:                                              ; preds = %197, %103
  br label %199

199:                                              ; preds = %198, %97
  br label %200

200:                                              ; preds = %199, %91
  br label %201

201:                                              ; preds = %200, %86
  br label %202

202:                                              ; preds = %201, %53
  br label %203

203:                                              ; preds = %202, %47
  br label %204

204:                                              ; preds = %203, %41
  br label %205

205:                                              ; preds = %204, %35
  br label %206

206:                                              ; preds = %205, %29
  br label %207

207:                                              ; preds = %206, %23
  br label %208

208:                                              ; preds = %207, %17, %11, %7
  ret void
}

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_1(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_2(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_3(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_7(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_10(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_20(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_30(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_100(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_200(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_300(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_400(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_500(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_710(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_700(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_800(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_900(ptr noundef) #0

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

!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"}


; 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.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [8 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMti6X0(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtw2(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtx2(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isBodyPack(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isAwinda2Station(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isAwinda2Dongle(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isAwinda2Oem(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isSyncStation2(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isImu(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isVru(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isAhrs(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isGnss(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @XsDeviceId_typeName(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %60, label %3

3:                                                ; preds = %2
  %.not60 = icmp eq ptr %0, null
  br i1 %.not60, label %.sink.split, label %4

4:                                                ; preds = %3
  %5 = tail call i32 @XsDeviceId_isAwinda2Station(ptr noundef nonnull %0)
  %.not61 = icmp eq i32 %5, 0
  br i1 %.not61, label %6, label %.sink.split

6:                                                ; preds = %4
  %7 = tail call i32 @XsDeviceId_isAwinda2Dongle(ptr noundef nonnull %0)
  %.not62 = icmp eq i32 %7, 0
  br i1 %.not62, label %8, label %.sink.split

8:                                                ; preds = %6
  %9 = tail call i32 @XsDeviceId_isAwinda2Oem(ptr noundef nonnull %0)
  %.not63 = icmp eq i32 %9, 0
  br i1 %.not63, label %10, label %.sink.split

10:                                               ; preds = %8
  %11 = tail call i32 @XsDeviceId_isMtw2(ptr noundef nonnull %0)
  %.not64 = icmp eq i32 %11, 0
  br i1 %.not64, label %12, label %.sink.split

12:                                               ; preds = %10
  %13 = tail call i32 @XsDeviceId_isMtx2(ptr noundef nonnull %0)
  %.not65 = icmp eq i32 %13, 0
  br i1 %.not65, label %14, label %.sink.split

14:                                               ; preds = %12
  %15 = tail call i32 @XsDeviceId_isBodyPack(ptr noundef nonnull %0)
  %.not66 = icmp eq i32 %15, 0
  br i1 %.not66, label %16, label %.sink.split

16:                                               ; preds = %14
  %17 = tail call i32 @XsDeviceId_isSyncStation2(ptr noundef nonnull %0)
  %.not67 = icmp eq i32 %17, 0
  br i1 %.not67, label %18, label %.sink.split

18:                                               ; preds = %16
  %19 = tail call i32 @XsDeviceId_isMti6X0(ptr noundef nonnull %0)
  %.not68 = icmp eq i32 %19, 0
  br i1 %.not68, label %28, label %20

20:                                               ; preds = %18
  %21 = tail call i32 @XsDeviceId_isImu(ptr noundef nonnull %0)
  %.not85 = icmp eq i32 %21, 0
  br i1 %.not85, label %22, label %.sink.split

22:                                               ; preds = %20
  %23 = tail call i32 @XsDeviceId_isVru(ptr noundef nonnull %0)
  %.not86 = icmp eq i32 %23, 0
  br i1 %.not86, label %24, label %.sink.split

24:                                               ; preds = %22
  %25 = tail call i32 @XsDeviceId_isAhrs(ptr noundef nonnull %0)
  %.not87 = icmp eq i32 %25, 0
  br i1 %.not87, label %26, label %.sink.split

26:                                               ; preds = %24
  %27 = tail call i32 @XsDeviceId_isGnss(ptr noundef nonnull %0)
  %.not88 = icmp eq i32 %27, 0
  br i1 %.not88, label %60, label %.sink.split

28:                                               ; preds = %18
  %29 = tail call i32 @XsDeviceId_isMtMk4_1(ptr noundef nonnull %0)
  %.not69 = icmp eq i32 %29, 0
  br i1 %.not69, label %30, label %.sink.split

30:                                               ; preds = %28
  %31 = tail call i32 @XsDeviceId_isMtMk4_2(ptr noundef nonnull %0)
  %.not70 = icmp eq i32 %31, 0
  br i1 %.not70, label %32, label %.sink.split

32:                                               ; preds = %30
  %33 = tail call i32 @XsDeviceId_isMtMk4_3(ptr noundef nonnull %0)
  %.not71 = icmp eq i32 %33, 0
  br i1 %.not71, label %34, label %.sink.split

34:                                               ; preds = %32
  %35 = tail call i32 @XsDeviceId_isMtMk4_7(ptr noundef nonnull %0)
  %.not72 = icmp eq i32 %35, 0
  br i1 %.not72, label %36, label %.sink.split

36:                                               ; preds = %34
  %37 = tail call i32 @XsDeviceId_isMtMk4_10(ptr noundef nonnull %0)
  %.not73 = icmp eq i32 %37, 0
  br i1 %.not73, label %38, label %.sink.split

38:                                               ; preds = %36
  %39 = tail call i32 @XsDeviceId_isMtMk4_20(ptr noundef nonnull %0)
  %.not74 = icmp eq i32 %39, 0
  br i1 %.not74, label %40, label %.sink.split

40:                                               ; preds = %38
  %41 = tail call i32 @XsDeviceId_isMtMk4_30(ptr noundef nonnull %0)
  %.not75 = icmp eq i32 %41, 0
  br i1 %.not75, label %42, label %.sink.split

42:                                               ; preds = %40
  %43 = tail call i32 @XsDeviceId_isMtMk4_100(ptr noundef nonnull %0)
  %.not76 = icmp eq i32 %43, 0
  br i1 %.not76, label %44, label %.sink.split

44:                                               ; preds = %42
  %45 = tail call i32 @XsDeviceId_isMtMk4_200(ptr noundef nonnull %0)
  %.not77 = icmp eq i32 %45, 0
  br i1 %.not77, label %46, label %.sink.split

46:                                               ; preds = %44
  %47 = tail call i32 @XsDeviceId_isMtMk4_300(ptr noundef nonnull %0)
  %.not78 = icmp eq i32 %47, 0
  br i1 %.not78, label %48, label %.sink.split

48:                                               ; preds = %46
  %49 = tail call i32 @XsDeviceId_isMtMk4_400(ptr noundef nonnull %0)
  %.not79 = icmp eq i32 %49, 0
  br i1 %.not79, label %50, label %.sink.split

50:                                               ; preds = %48
  %51 = tail call i32 @XsDeviceId_isMtMk4_500(ptr noundef nonnull %0)
  %.not80 = icmp eq i32 %51, 0
  br i1 %.not80, label %52, label %.sink.split

52:                                               ; preds = %50
  %53 = tail call i32 @XsDeviceId_isMtMk4_710(ptr noundef nonnull %0)
  %.not81 = icmp eq i32 %53, 0
  br i1 %.not81, label %54, label %.sink.split

54:                                               ; preds = %52
  %55 = tail call i32 @XsDeviceId_isMtMk4_700(ptr noundef nonnull %0)
  %.not82 = icmp eq i32 %55, 0
  br i1 %.not82, label %56, label %.sink.split

56:                                               ; preds = %54
  %57 = tail call i32 @XsDeviceId_isMtMk4_800(ptr noundef nonnull %0)
  %.not83 = icmp eq i32 %57, 0
  br i1 %.not83, label %58, label %.sink.split

58:                                               ; preds = %56
  %59 = tail call i32 @XsDeviceId_isMtMk4_900(ptr noundef nonnull %0)
  %.not84 = icmp eq i32 %59, 0
  %.str.42..str.41 = select i1 %.not84, ptr @.str.42, ptr @.str.41
  br label %.sink.split

.sink.split:                                      ; preds = %58, %56, %54, %52, %50, %48, %46, %44, %42, %40, %38, %36, %34, %32, %30, %28, %26, %24, %22, %20, %16, %14, %12, %10, %8, %6, %4, %3
  %.str.18.sink = phi ptr [ @.str.16, %3 ], [ @.str.17, %4 ], [ @.str.18, %6 ], [ @.str.19, %8 ], [ @.str.3, %10 ], [ @.str.4, %12 ], [ @.str.20, %14 ], [ @.str.21, %16 ], [ @.str.22, %20 ], [ @.str.23, %22 ], [ @.str.24, %24 ], [ @.str.25, %26 ], [ @.str.26, %28 ], [ @.str.27, %30 ], [ @.str.28, %32 ], [ @.str.29, %34 ], [ @.str.30, %36 ], [ @.str.31, %38 ], [ @.str.32, %40 ], [ @.str.33, %42 ], [ @.str.34, %44 ], [ @.str.35, %46 ], [ @.str.36, %48 ], [ @.str.37, %50 ], [ @.str.38, %52 ], [ @.str.39, %54 ], [ @.str.40, %56 ], [ %.str.42..str.41, %58 ]
  tail call void @XsString_assignCharArray(ptr noundef nonnull %1, ptr noundef nonnull %.str.18.sink) #2
  br label %60

60:                                               ; preds = %.sink.split, %26, %2
  ret void
}

declare void @XsString_assignCharArray(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_1(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_2(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_3(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_7(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_10(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_20(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_30(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_100(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_200(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_300(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_400(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_500(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_710(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_700(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_800(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @XsDeviceId_isMtMk4_900(ptr noundef) local_unnamed_addr #0

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

!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: CorrelatedValuePropagationPass,GlobalOptPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass