; LLVM IR from Devaniti/BoolkaEngine :: ThirdParty/tinyobjloader (tiny_obj_loader)

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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%"struct.tinyobj::texture_option_t" = type { i32, float, float, float, [3 x float], [3 x float], [3 x float], i32, i8, i8, i8, i8, float, %"class.std::__cxx11::basic_string" }

@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [12 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN7tinyobj25ParseTextureNameAndOptionEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_16texture_option_tEPKc(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::allocator", align 1
  %17 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #6
  store i8 0, ptr %8, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %18 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %18, ptr %10, align 8, !tbaa !5
  br label %19

19:                                               ; preds = %410, %3
  %20 = load ptr, ptr %10, align 8, !tbaa !5
  %21 = load i8, ptr %20, align 1, !tbaa !11
  %22 = sext i8 %21 to i32
  %23 = icmp eq i32 %22, 13
  br i1 %23, label %34, label %24

24:                                               ; preds = %19
  %25 = load ptr, ptr %10, align 8, !tbaa !5
  %26 = load i8, ptr %25, align 1, !tbaa !11
  %27 = sext i8 %26 to i32
  %28 = icmp eq i32 %27, 10
  br i1 %28, label %34, label %29

29:                                               ; preds = %24
  %30 = load ptr, ptr %10, align 8, !tbaa !5
  %31 = load i8, ptr %30, align 1, !tbaa !11
  %32 = sext i8 %31 to i32
  %33 = icmp eq i32 %32, 0
  br label %34

34:                                               ; preds = %29, %24, %19
  %35 = phi i1 [ true, %24 ], [ true, %19 ], [ %33, %29 ]
  %36 = xor i1 %35, true
  br i1 %36, label %37, label %411

37:                                               ; preds = %34
  %38 = load ptr, ptr %10, align 8, !tbaa !5
  %39 = call i64 @strspn(ptr noundef %38, ptr noundef @.str) #7
  %40 = load ptr, ptr %10, align 8, !tbaa !5
  %41 = getelementptr inbounds i8, ptr %40, i64 %39
  store ptr %41, ptr %10, align 8, !tbaa !5
  %42 = load ptr, ptr %10, align 8, !tbaa !5
  %43 = call i32 @strncmp(ptr noundef %42, ptr noundef @.str.1, i64 noundef 7) #7
  %44 = icmp eq i32 0, %43
  br i1 %44, label %45, label %69

45:                                               ; preds = %37
  %46 = load ptr, ptr %10, align 8, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %46, i64 7
  %48 = load i8, ptr %47, align 1, !tbaa !11
  %49 = sext i8 %48 to i32
  %50 = icmp eq i32 %49, 32
  br i1 %50, label %57, label %51

51:                                               ; preds = %45
  %52 = load ptr, ptr %10, align 8, !tbaa !5
  %53 = getelementptr inbounds i8, ptr %52, i64 7
  %54 = load i8, ptr %53, align 1, !tbaa !11
  %55 = sext i8 %54 to i32
  %56 = icmp eq i32 %55, 9
  br i1 %56, label %57, label %69

57:                                               ; preds = %51, %45
  %58 = load ptr, ptr %10, align 8, !tbaa !5
  %59 = getelementptr inbounds i8, ptr %58, i64 8
  store ptr %59, ptr %10, align 8, !tbaa !5
  %60 = invoke noundef zeroext i1 @_ZN7tinyobjL10parseOnOffEPPKcb(ptr noundef %10, i1 noundef zeroext true)
          to label %61 unwind label %65

61:                                               ; preds = %57
  %62 = load ptr, ptr %6, align 8, !tbaa !5
  %63 = getelementptr inbounds %"struct.tinyobj::texture_option_t", ptr %62, i32 0, i32 10
  %64 = zext i1 %60 to i8
  store i8 %64, ptr %63, align 2, !tbaa !12
  br label %410

65:                                               ; preds = %414, %352, %289, %266, %237, %208, %179, %156, %133, %109, %85, %57
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %11, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %12, align 4
  br label %421

69:                                               ; preds = %51, %37
  %70 = load ptr, ptr %10, align 8, !tbaa !5
  %71 = call i32 @strncmp(ptr noundef %70, ptr noundef @.str.2, i64 noundef 7) #7
  %72 = icmp eq i32 0, %71
  br i1 %72, label %73, label %93

73:                                               ; preds = %69
  %74 = load ptr, ptr %10, align 8, !tbaa !5
  %75 = getelementptr inbounds i8, ptr %74, i64 7
  %76 = load i8, ptr %75, align 1, !tbaa !11
  %77 = sext i8 %76 to i32
  %78 = icmp eq i32 %77, 32
  br i1 %78, label %85, label %79

79:                                               ; preds = %73
  %80 = load ptr, ptr %10, align 8, !tbaa !5
  %81 = getelementptr inbounds i8, ptr %80, i64 7
  %82 = load i8, ptr %81, align 1, !tbaa !11
  %83 = sext i8 %82 to i32
  %84 = icmp eq i32 %83, 9
  br i1 %84, label %85, label %93

85:                                               ; preds = %79, %73
  %86 = load ptr, ptr %10, align 8, !tbaa !5
  %87 = getelementptr inbounds i8, ptr %86, i64 8
  store ptr %87, ptr %10, align 8, !tbaa !5
  %88 = invoke noundef zeroext i1 @_ZN7tinyobjL10parseOnOffEPPKcb(ptr noundef %10, i1 noundef zeroext true)
          to label %89 unwind label %65

89:                                               ; preds = %85
  %90 = load ptr, ptr %6, align 8, !tbaa !5
  %91 = getelementptr inbounds %"struct.tinyobj::texture_option_t", ptr %90, i32 0, i32 11
  %92 = zext i1 %88 to i8
  store i8 %92, ptr %91, align 1, !tbaa !20
  br label %409

93:                                               ; preds = %79, %69
  %94 = load ptr, ptr %10, align 8, !tbaa !5
  %95 = call i32 @strncmp(ptr noundef %94, ptr noundef @.str.3, i64 noundef 6) #7
  %96 = icmp eq i32 0, %95
  br i1 %96, label %97, label %117

97:                                               ; preds = %93
  %98 = load ptr, ptr %10, align 8, !tbaa !5
  %99 = getelementptr inbounds i8, ptr %98, i64 6
  %100 = load i8, ptr %99, align 1, !tbaa !11
  %101 = sext i8 %100 to i32
  %102 = icmp eq i32 %101, 32
  br i1 %102, label %109, label %103

103:                                              ; preds = %97
  %104 = load ptr, ptr %10, align 8, !tbaa !5
  %105 = getelementptr inbounds i8, ptr %104, i64 6
  %106 = load i8, ptr %105, align 1, !tbaa !11
  %107 = sext i8 %106 to i32
  %108 = icmp eq i32 %107, 9
  br i1 %108, label %109, label %117

109:                                              ; preds = %103, %97
  %110 = load ptr, ptr %10, align 8, !tbaa !5
  %111 = getelementptr inbounds i8, ptr %110, i64 7
  store ptr %111, ptr %10, align 8, !tbaa !5
  %112 = invoke noundef zeroext i1 @_ZN7tinyobjL10parseOnOffEPPKcb(ptr noundef %10, i1 noundef zeroext true)
          to label %113 unwind label %65

113:                                              ; preds = %109
  %114 = load ptr, ptr %6, align 8, !tbaa !5
  %115 = getelementptr inbounds %"struct.tinyobj::texture_option_t", ptr %114, i32 0, i32 8
  %116 = zext i1 %112 to i8
  store i8 %116, ptr %115, align 8, !tbaa !21
  br label %408

117:                                              ; preds = %103, %93
  %118 = load ptr, ptr %10, align 8, !tbaa !5
  %119 = call i32 @strncmp(ptr noundef %118, ptr noundef @.str.4, i64 noundef 6) #7
  %120 = icmp eq i32 0, %119
  br i1 %120, label %121, label %140

121:                                              ; preds = %117
  %122 = load ptr, ptr %10, align 8, !tbaa !5
  %123 = getelementptr inbounds i8, ptr %122, i64 6
  %124 = load i8, ptr %123, align 1, !tbaa !11
  %125 = sext i8 %124 to i32
  %126 = icmp eq i32 %125, 32
  br i1 %126, label %133, label %127

127:                                              ; preds = %121
  %128 = load ptr, ptr %10, align 8, !tbaa !5
  %129 = getelementptr inbounds i8, ptr %128, i64 6
  %130 = load i8, ptr %129, align 1, !tbaa !11
  %131 = sext i8 %130 to i32
  %132 = icmp eq i32 %131, 9
  br i1 %132, label %133, label %140

133:                                              ; preds = %127, %121
  %134 = load ptr, ptr %10, align 8, !tbaa !5
  %135 = getelementptr inbounds i8, ptr %134, i64 7
  store ptr %135, ptr %10, align 8, !tbaa !5
  %136 = invoke noundef float @_ZN7tinyobjL9parseRealEPPKcd(ptr noundef %10, double noundef 1.000000e+00)
          to label %137 unwind label %65

137:                                              ; preds = %133
  %138 = load ptr, ptr %6, align 8, !tbaa !5
  %139 = getelementptr inbounds %"struct.tinyobj::texture_option_t", ptr %138, i32 0, i32 1
  store float %136, ptr %139, align 4, !tbaa !22
  br label %407

140:                                              ; preds = %127, %117
  %141 = load ptr, ptr %10, align 8, !tbaa !5
  %142 = call i32 @strncmp(ptr noundef %141, ptr noundef @.str.5, i64 noundef 3) #7
  %143 = icmp eq i32 0, %142
  br i1 %143, label %144, label %163

144:                                              ; preds = %140
  %145 = load ptr, ptr %10, align 8, !tbaa !5
  %146 = getelementptr inbounds i8, ptr %145, i64 3
  %147 = load i8, ptr %146, align 1, !tbaa !11
  %148 = sext i8 %147 to i32
  %149 = icmp eq i32 %148, 32
  br i1 %149, label %156, label %150

150:                                              ; preds = %144
  %151 = load ptr, ptr %10, align 8, !tbaa !5
  %152 = getelementptr inbounds i8, ptr %151, i64 3
  %153 = load i8, ptr %152, align 1, !tbaa !11
  %154 = sext i8 %153 to i32
  %155 = icmp eq i32 %154, 9
  br i1 %155, label %156, label %163

156:                                              ; preds = %150, %144
  %157 = load ptr, ptr %10, align 8, !tbaa !5
  %158 = getelementptr inbounds i8, ptr %157, i64 4
  store ptr %158, ptr %10, align 8, !tbaa !5
  %159 = invoke noundef float @_ZN7tinyobjL9parseRealEPPKcd(ptr noundef %10, double noundef 1.000000e+00)
          to label %160 unwind label %65

160:                                              ; preds = %156
  %161 = load ptr, ptr %6, align 8, !tbaa !5
  %162 = getelementptr inbounds %"struct.tinyobj::texture_option_t", ptr %161, i32 0, i32 12
  store float %159, ptr %162, align 4, !tbaa !23
  br label %406

163:                                              ; preds = %150, %140
  %164 = load ptr, ptr %10, align 8, !tbaa !5
  %165 = call i32 @strncmp(ptr noundef %164, ptr noundef @.str.6, i64 noundef 2) #7
  %166 = icmp eq i32 0, %165
  br i1 %166, label %167, label %192

167:                                              ; preds = %163
  %168 = load ptr, ptr %10, align 8, !tbaa !5
  %169 = getelementptr inbounds i8, ptr %168, i64 2
  %170 = load i8, ptr %169, align 1, !tbaa !11
  %171 = sext i8 %170 to i32
  %172 = icmp eq i32 %171, 32
  br i1 %172, label %179, label %173

173:                                              ; preds = %167
  %174 = load ptr, ptr %10, align 8, !tbaa !5
  %175 = getelementptr inbounds i8, ptr %174, i64 2
  %176 = load i8, ptr %175, align 1, !tbaa !11
  %177 = sext i8 %176 to i32
  %178 = icmp eq i32 %177, 9
  br i1 %178, label %179, label %192

179:                                              ; preds = %173, %167
  %180 = load ptr, ptr %10, align 8, !tbaa !5
  %181 = getelementptr inbounds i8, ptr %180, i64 3
  store ptr %181, ptr %10, align 8, !tbaa !5
  %182 = load ptr, ptr %6, align 8, !tbaa !5
  %183 = getelementptr inbounds %"struct.tinyobj::texture_option_t", ptr %182, i32 0, i32 4
  %184 = getelementptr inbounds [3 x float], ptr %183, i64 0, i64 0
  %185 = load ptr, ptr %6, align 8, !tbaa !5
  %186 = getelementptr inbounds %"struct.tinyobj::texture_option_t", ptr %185, i32 0, i32 4
  %187 = getelementptr inbounds [3 x float], ptr %186, i64 0, i64 1
  %188 = load ptr, ptr %6, align 8, !tbaa !5
  %189 = getelementptr inbounds %"struct.tinyobj::texture_option_t", ptr %188, i32 0, i32 4
  %190 = getelementptr inbounds [3 x float], ptr %189, i64 0, i64 2
  invoke void @_ZN7tinyobjL10parseReal3EPfS0_S0_PPKcddd(ptr noundef %184, ptr noundef %187, ptr noundef %190, ptr noundef %10, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
          to label %191 unwind label %65

191:                                              ; preds = %179
  br label %405

192:                                              ; preds = %173, %163
  %193 = load ptr, ptr %10, align 8, !tbaa !5
  %194 = call i32 @strncmp(ptr noundef %193, ptr noundef @.str.7, i64 noundef 2) #7
  %195 = icmp eq i32 0, %194
  br i1 %195, label %196, label %221

196:                                              ; preds = %192
  %197 = load ptr, ptr %10, align 8, !tbaa !5
  %198 = getelementptr inbounds i8, ptr %197, i64 2
  %199 = load i8, ptr %198, align 1, !tbaa !11
  %200 = sext i8 %199 to i32
  %201 = icmp eq i32 %200, 32
  br i1 %201, label %208, label %202

202:                                              ; preds = %196
  %203 = load ptr, ptr %10, align 8, !tbaa !5
  %204 = getelementptr inbounds i8, ptr %203, i64 2
  %205 = load i8, ptr %204, align 1, !tbaa !11
  %206 = sext i8 %205 to i32
  %207 = icmp eq i32 %206, 9
  br i1 %207, label %208, label %221

208:                                              ; preds = %202, %196
  %209 = load ptr, ptr %10, align 8, !tbaa !5
  %210 = getelementptr inbounds i8, ptr %209, i64 3
  store ptr %210, ptr %10, align 8, !tbaa !5
  %211 = load ptr, ptr %6, align 8, !tbaa !5
  %212 = getelementptr inbounds %"struct.tinyobj::texture_option_t", ptr %211, i32 0, i32 5
  %213 = getelementptr inbounds [3 x float], ptr %212, i64 0, i64 0
  %214 = load ptr, ptr %6, align 8, !tbaa !5
  %215 = getelementptr inbounds %"struct.tinyobj::texture_option_t", ptr %214, i32 0, i32 5
  %216 = getelementptr inbounds [3 x float], ptr %215, i64 0, i64 1
  %217 = load ptr, ptr %6, align 8, !tbaa !5
  %218 = getelementptr inbounds %"struct.tinyobj::texture_option_t", ptr %217, i32 0, i32 5
  %219 = getelementptr inbounds [3 x float], ptr %218, i64 0, i64 2
  invoke void @_ZN7tinyobjL10parseReal3EPfS0_S0_PPKcddd(ptr noundef %213, ptr noundef %216, ptr noundef %219, ptr noundef %10, double noundef 1.000000e+00, double noundef 1.000000e+00, double noundef 1.000000e+00)
          to label %220 unwind label %65

220:                                              ; preds = %208
  br label %404

221:                                              ; preds = %202, %192
  %222 = load ptr, ptr %10, align 8, !tbaa !5
  %223 = call i32 @strncmp(ptr noundef %222, ptr noundef @.str.8, i64 noundef 2) #7
  %224 = icmp eq i32 0, %223
  br i1 %224, label %225, label %250

225:                                              ; preds = %221
  %226 = load ptr, ptr %10, align 8, !tbaa !5
  %227 = getelementptr inbounds i8, ptr %226, i64 2
  %228 = load i8, ptr %227, align 1, !tbaa !11
  %229 = sext i8 %228 to i32
  %230 = icmp eq i32 %229, 32
  br i1 %230, label %237, label %231

231:                                              ; preds = %225
  %232 = load ptr, ptr %10, align 8, !tbaa !5
  %233 = getelementptr inbounds i8, ptr %232, i64 2
  %234 = load i8, ptr %233, align 1, !tbaa !11
  %235 = sext i8 %234 to i32
  %236 = icmp eq i32 %235, 9
  br i1 %236, label %237, label %250

237:                                              ; preds = %231, %225
  %238 = load ptr, ptr %10, align 8, !tbaa !5
  %239 = getelementptr inbounds i8, ptr %238, i64 3
  store ptr %239, ptr %10, align 8, !tbaa !5
  %240 = load ptr, ptr %6, align 8, !tbaa !5
  %241 = getelementptr inbounds %"struct.tinyobj::texture_option_t", ptr %240, i32 0, i32 6
  %242 = getelementptr inbounds [3 x float], ptr %241, i64 0, i64 0
  %243 = load ptr, ptr %6, align 8, !tbaa !5
  %244 = getelementptr inbounds %"struct.tinyobj::texture_option_t", ptr %243, i32 0, i32 6
  %245 = getelementptr inbounds [3 x float], ptr %244, i64 0, i64 1
  %246 = load ptr, ptr %6, align 8, !tbaa !5
  %247 = getelementptr inbounds %"struct.tinyobj::texture_option_t", ptr %246, i32 0, i32 6
  %248 = getelementptr inbounds [3 x float], ptr %247, i64 0, i64 2
  invoke void @_ZN7tinyobjL10parseReal3EPfS0_S0_PPKcddd(ptr noundef %242, ptr noundef %245, ptr noundef %248, ptr noundef %10, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
          to label %249 unwind label %65

249:                                              ; preds = %237
  br label %403

250:                                              ; preds = %231, %221
  %251 = load ptr, ptr %10, align 8, !tbaa !5
  %252 = call i32 @strncmp(ptr noundef %251, ptr noundef @.str.9, i64 noundef 5) #7
  %253 = icmp eq i32 0, %252
  br i1 %253, label %254, label %273

254:                                              ; preds = %250
  %255 = load ptr, ptr %10, align 8, !tbaa !5
  %256 = getelementptr inbounds i8, ptr %255, i64 5
  %257 = load i8, ptr %256, align 1, !tbaa !11
  %258 = sext i8 %257 to i32
  %259 = icmp eq i32 %258, 32
  br i1 %259, label %266, label %260

260:                                              ; preds = %254
  %261 = load ptr, ptr %10, align 8, !tbaa !5
  %262 = getelementptr inbounds i8, ptr %261, i64 5
  %263 = load i8, ptr %262, align 1, !tbaa !11
  %264 = sext i8 %263 to i32
  %265 = icmp eq i32 %264, 9
  br i1 %265, label %266, label %273

266:                                              ; preds = %260, %254
  %267 = load ptr, ptr %10, align 8, !tbaa !5
  %268 = getelementptr inbounds i8, ptr %267, i64 5
  store ptr %268, ptr %10, align 8, !tbaa !5
  %269 = invoke noundef i32 @_ZN7tinyobjL16parseTextureTypeEPPKcNS_14texture_type_tE(ptr noundef %10, i32 noundef 0)
          to label %270 unwind label %65

270:                                              ; preds = %266
  %271 = load ptr, ptr %6, align 8, !tbaa !5
  %272 = getelementptr inbounds %"struct.tinyobj::texture_option_t", ptr %271, i32 0, i32 0
  store i32 %269, ptr %272, align 8, !tbaa !24
  br label %402

273:                                              ; preds = %260, %250
  %274 = load ptr, ptr %10, align 8, !tbaa !5
  %275 = call i32 @strncmp(ptr noundef %274, ptr noundef @.str.10, i64 noundef 7) #7
  %276 = icmp eq i32 0, %275
  br i1 %276, label %277, label %296

277:                                              ; preds = %273
  %278 = load ptr, ptr %10, align 8, !tbaa !5
  %279 = getelementptr inbounds i8, ptr %278, i64 7
  %280 = load i8, ptr %279, align 1, !tbaa !11
  %281 = sext i8 %280 to i32
  %282 = icmp eq i32 %281, 32
  br i1 %282, label %289, label %283

283:                                              ; preds = %277
  %284 = load ptr, ptr %10, align 8, !tbaa !5
  %285 = getelementptr inbounds i8, ptr %284, i64 7
  %286 = load i8, ptr %285, align 1, !tbaa !11
  %287 = sext i8 %286 to i32
  %288 = icmp eq i32 %287, 9
  br i1 %288, label %289, label %296

289:                                              ; preds = %283, %277
  %290 = load ptr, ptr %10, align 8, !tbaa !5
  %291 = getelementptr inbounds i8, ptr %290, i64 7
  store ptr %291, ptr %10, align 8, !tbaa !5
  %292 = invoke noundef i32 @_ZN7tinyobjL8parseIntEPPKc(ptr noundef %10)
          to label %293 unwind label %65

293:                                              ; preds = %289
  %294 = load ptr, ptr %6, align 8, !tbaa !5
  %295 = getelementptr inbounds %"struct.tinyobj::texture_option_t", ptr %294, i32 0, i32 7
  store i32 %292, ptr %295, align 4, !tbaa !25
  br label %401

296:                                              ; preds = %283, %273
  %297 = load ptr, ptr %10, align 8, !tbaa !5
  %298 = call i32 @strncmp(ptr noundef %297, ptr noundef @.str.11, i64 noundef 8) #7
  %299 = icmp eq i32 0, %298
  br i1 %299, label %300, label %336

300:                                              ; preds = %296
  %301 = load ptr, ptr %10, align 8, !tbaa !5
  %302 = getelementptr inbounds i8, ptr %301, i64 8
  %303 = load i8, ptr %302, align 1, !tbaa !11
  %304 = sext i8 %303 to i32
  %305 = icmp eq i32 %304, 32
  br i1 %305, label %312, label %306

306:                                              ; preds = %300
  %307 = load ptr, ptr %10, align 8, !tbaa !5
  %308 = getelementptr inbounds i8, ptr %307, i64 8
  %309 = load i8, ptr %308, align 1, !tbaa !11
  %310 = sext i8 %309 to i32
  %311 = icmp eq i32 %310, 9
  br i1 %311, label %312, label %336

312:                                              ; preds = %306, %300
  %313 = load ptr, ptr %10, align 8, !tbaa !5
  %314 = getelementptr inbounds i8, ptr %313, i64 9
  store ptr %314, ptr %10, align 8, !tbaa !5
  %315 = load ptr, ptr %10, align 8, !tbaa !5
  %316 = call i64 @strspn(ptr noundef %315, ptr noundef @.str) #7
  %317 = load ptr, ptr %10, align 8, !tbaa !5
  %318 = getelementptr inbounds i8, ptr %317, i64 %316
  store ptr %318, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %319 = load ptr, ptr %10, align 8, !tbaa !5
  %320 = load ptr, ptr %10, align 8, !tbaa !5
  %321 = call i64 @strcspn(ptr noundef %320, ptr noundef @.str.12) #7
  %322 = getelementptr inbounds i8, ptr %319, i64 %321
  store ptr %322, ptr %13, align 8, !tbaa !5
  %323 = load ptr, ptr %13, align 8, !tbaa !5
  %324 = load ptr, ptr %10, align 8, !tbaa !5
  %325 = ptrtoint ptr %323 to i64
  %326 = ptrtoint ptr %324 to i64
  %327 = sub i64 %325, %326
  %328 = icmp eq i64 %327, 1
  br i1 %328, label %329, label %334

329:                                              ; preds = %312
  %330 = load ptr, ptr %10, align 8, !tbaa !5
  %331 = load i8, ptr %330, align 1, !tbaa !11
  %332 = load ptr, ptr %6, align 8, !tbaa !5
  %333 = getelementptr inbounds %"struct.tinyobj::texture_option_t", ptr %332, i32 0, i32 9
  store i8 %331, ptr %333, align 1, !tbaa !26
  br label %334

334:                                              ; preds = %329, %312
  %335 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %335, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %400

336:                                              ; preds = %306, %296
  %337 = load ptr, ptr %10, align 8, !tbaa !5
  %338 = call i32 @strncmp(ptr noundef %337, ptr noundef @.str.13, i64 noundef 3) #7
  %339 = icmp eq i32 0, %338
  br i1 %339, label %340, label %360

340:                                              ; preds = %336
  %341 = load ptr, ptr %10, align 8, !tbaa !5
  %342 = getelementptr inbounds i8, ptr %341, i64 3
  %343 = load i8, ptr %342, align 1, !tbaa !11
  %344 = sext i8 %343 to i32
  %345 = icmp eq i32 %344, 32
  br i1 %345, label %352, label %346

346:                                              ; preds = %340
  %347 = load ptr, ptr %10, align 8, !tbaa !5
  %348 = getelementptr inbounds i8, ptr %347, i64 3
  %349 = load i8, ptr %348, align 1, !tbaa !11
  %350 = sext i8 %349 to i32
  %351 = icmp eq i32 %350, 9
  br i1 %351, label %352, label %360

352:                                              ; preds = %346, %340
  %353 = load ptr, ptr %10, align 8, !tbaa !5
  %354 = getelementptr inbounds i8, ptr %353, i64 4
  store ptr %354, ptr %10, align 8, !tbaa !5
  %355 = load ptr, ptr %6, align 8, !tbaa !5
  %356 = getelementptr inbounds %"struct.tinyobj::texture_option_t", ptr %355, i32 0, i32 2
  %357 = load ptr, ptr %6, align 8, !tbaa !5
  %358 = getelementptr inbounds %"struct.tinyobj::texture_option_t", ptr %357, i32 0, i32 3
  invoke void @_ZN7tinyobjL10parseReal2EPfS0_PPKcdd(ptr noundef %356, ptr noundef %358, ptr noundef %10, double noundef 0.000000e+00, double noundef 1.000000e+00)
          to label %359 unwind label %65

359:                                              ; preds = %352
  br label %399

360:                                              ; preds = %346, %336
  %361 = load ptr, ptr %10, align 8, !tbaa !5
  %362 = call i32 @strncmp(ptr noundef %361, ptr noundef @.str.14, i64 noundef 11) #7
  %363 = icmp eq i32 0, %362
  br i1 %363, label %364, label %387

364:                                              ; preds = %360
  %365 = load ptr, ptr %10, align 8, !tbaa !5
  %366 = getelementptr inbounds i8, ptr %365, i64 11
  %367 = load i8, ptr %366, align 1, !tbaa !11
  %368 = sext i8 %367 to i32
  %369 = icmp eq i32 %368, 32
  br i1 %369, label %376, label %370

370:                                              ; preds = %364
  %371 = load ptr, ptr %10, align 8, !tbaa !5
  %372 = getelementptr inbounds i8, ptr %371, i64 11
  %373 = load i8, ptr %372, align 1, !tbaa !11
  %374 = sext i8 %373 to i32
  %375 = icmp eq i32 %374, 9
  br i1 %375, label %376, label %387

376:                                              ; preds = %370, %364
  %377 = load ptr, ptr %10, align 8, !tbaa !5
  %378 = getelementptr inbounds i8, ptr %377, i64 12
  store ptr %378, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #6
  invoke void @_ZN7tinyobjL11parseStringB5cxx11EPPKc(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %14, ptr noundef %10)
          to label %379 unwind label %383

379:                                              ; preds = %376
  %380 = load ptr, ptr %6, align 8, !tbaa !5
  %381 = getelementptr inbounds %"struct.tinyobj::texture_option_t", ptr %380, i32 0, i32 13
  %382 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %381, ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #6
  br label %398

383:                                              ; preds = %376
  %384 = landingpad { ptr, i32 }
          cleanup
  %385 = extractvalue { ptr, i32 } %384, 0
  store ptr %385, ptr %11, align 8
  %386 = extractvalue { ptr, i32 } %384, 1
  store i32 %386, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #6
  br label %421

387:                                              ; preds = %370, %360
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #6
  %388 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef %388, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %389 unwind label %394

389:                                              ; preds = %387
  %390 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #6
  %391 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  %392 = load ptr, ptr %10, align 8, !tbaa !5
  %393 = getelementptr inbounds i8, ptr %392, i64 %391
  store ptr %393, ptr %10, align 8, !tbaa !5
  store i8 1, ptr %8, align 1, !tbaa !9
  br label %398

394:                                              ; preds = %387
  %395 = landingpad { ptr, i32 }
          cleanup
  %396 = extractvalue { ptr, i32 } %395, 0
  store ptr %396, ptr %11, align 8
  %397 = extractvalue { ptr, i32 } %395, 1
  store i32 %397, ptr %12, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #6
  br label %421

398:                                              ; preds = %389, %379
  br label %399

399:                                              ; preds = %398, %359
  br label %400

400:                                              ; preds = %399, %334
  br label %401

401:                                              ; preds = %400, %293
  br label %402

402:                                              ; preds = %401, %270
  br label %403

403:                                              ; preds = %402, %249
  br label %404

404:                                              ; preds = %403, %220
  br label %405

405:                                              ; preds = %404, %191
  br label %406

406:                                              ; preds = %405, %160
  br label %407

407:                                              ; preds = %406, %137
  br label %408

408:                                              ; preds = %407, %113
  br label %409

409:                                              ; preds = %408, %89
  br label %410

410:                                              ; preds = %409, %61
  br label %19, !llvm.loop !27

411:                                              ; preds = %34
  %412 = load i8, ptr %8, align 1, !tbaa !9, !range !29, !noundef !30
  %413 = trunc i8 %412 to i1
  br i1 %413, label %414, label %418

414:                                              ; preds = %411
  %415 = load ptr, ptr %5, align 8, !tbaa !5
  %416 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %415, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %417 unwind label %65

417:                                              ; preds = %414
  store i1 true, ptr %4, align 1
  store i32 1, ptr %17, align 4
  br label %419

418:                                              ; preds = %411
  store i1 false, ptr %4, align 1
  store i32 1, ptr %17, align 4
  br label %419

419:                                              ; preds = %418, %417
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #6
  %420 = load i1, ptr %4, align 1
  ret i1 %420

421:                                              ; preds = %394, %383, %65
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #6
  br label %422

422:                                              ; preds = %421
  %423 = load ptr, ptr %11, align 8
  %424 = load i32, ptr %12, align 4
  %425 = insertvalue { ptr, i32 } poison, ptr %423, 0
  %426 = insertvalue { ptr, i32 } %425, i32 %424, 1
  resume { ptr, i32 } %426
}

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strspn(ptr noundef, ptr noundef) #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN7tinyobjL10parseOnOffEPPKcb(ptr noundef, i1 noundef zeroext) #4

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef float @_ZN7tinyobjL9parseRealEPPKcd(ptr noundef, double noundef) #5

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN7tinyobjL10parseReal3EPfS0_S0_PPKcddd(ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef, double noundef) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN7tinyobjL16parseTextureTypeEPPKcNS_14texture_type_tE(ptr noundef, i32 noundef) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN7tinyobjL8parseIntEPPKc(ptr noundef) #4

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strcspn(ptr noundef, ptr noundef) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN7tinyobjL10parseReal2EPfS0_PPKcdd(ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef) #5

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN7tinyobjL11parseStringB5cxx11EPPKc(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #0 align 2

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind 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 #4 = { inlinehint mustprogress 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 #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !10, i64 58}
!13 = !{!"_ZTSN7tinyobj16texture_option_tE", !14, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !7, i64 16, !7, i64 28, !7, i64 40, !16, i64 52, !10, i64 56, !7, i64 57, !10, i64 58, !10, i64 59, !15, i64 60, !17, i64 64}
!14 = !{!"_ZTSN7tinyobj14texture_type_tE", !7, i64 0}
!15 = !{!"float", !7, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !18, i64 0, !19, i64 8, !7, i64 16}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!13, !10, i64 59}
!21 = !{!13, !10, i64 56}
!22 = !{!13, !15, i64 4}
!23 = !{!13, !15, i64 60}
!24 = !{!13, !14, i64 0}
!25 = !{!13, !16, i64 52}
!26 = !{!13, !7, i64 57}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{i8 0, i8 2}
!30 = !{}


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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }

@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [12 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN7tinyobj25ParseTextureNameAndOptionEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_16texture_option_tEPKc(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::allocator", align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  store ptr %2, ptr %5, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %1, i64 58
  %10 = getelementptr inbounds i8, ptr %1, i64 59
  %11 = getelementptr inbounds i8, ptr %1, i64 56
  %12 = getelementptr inbounds i8, ptr %1, i64 4
  %13 = getelementptr inbounds i8, ptr %1, i64 60
  %14 = getelementptr inbounds i8, ptr %1, i64 16
  %15 = getelementptr inbounds i8, ptr %1, i64 20
  %16 = getelementptr inbounds i8, ptr %1, i64 24
  %17 = getelementptr inbounds i8, ptr %1, i64 28
  %18 = getelementptr inbounds i8, ptr %1, i64 32
  %19 = getelementptr inbounds i8, ptr %1, i64 36
  %20 = getelementptr inbounds i8, ptr %1, i64 40
  %21 = getelementptr inbounds i8, ptr %1, i64 44
  %22 = getelementptr inbounds i8, ptr %1, i64 48
  %23 = getelementptr inbounds i8, ptr %1, i64 52
  %24 = getelementptr inbounds i8, ptr %1, i64 57
  %25 = getelementptr inbounds i8, ptr %1, i64 8
  %26 = getelementptr inbounds i8, ptr %1, i64 12
  %27 = getelementptr inbounds i8, ptr %1, i64 64
  br label %28

28:                                               ; preds = %171, %3
  %29 = phi ptr [ %2, %3 ], [ %.pre, %171 ]
  %.029 = phi i1 [ false, %3 ], [ %.1, %171 ]
  %30 = load i8, ptr %29, align 1, !tbaa !9
  switch i8 %30, label %31 [
    i8 13, label %.critedge
    i8 10, label %.critedge
    i8 0, label %.critedge
  ]

31:                                               ; preds = %28
  %32 = call i64 @strspn(ptr noundef nonnull %29, ptr noundef nonnull @.str) #7
  %33 = getelementptr inbounds i8, ptr %29, i64 %32
  store ptr %33, ptr %5, align 8, !tbaa !5
  %34 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %33, ptr noundef nonnull dereferenceable(1) @.str.1, i64 noundef 7) #7
  %35 = icmp eq i32 %34, 0
  br i1 %35, label %36, label %43

36:                                               ; preds = %31
  %37 = getelementptr inbounds i8, ptr %33, i64 7
  %38 = load i8, ptr %37, align 1, !tbaa !9
  switch i8 %38, label %43 [
    i8 32, label %39
    i8 9, label %39
  ]

39:                                               ; preds = %36, %36
  %40 = getelementptr inbounds i8, ptr %33, i64 8
  store ptr %40, ptr %5, align 8, !tbaa !5
  %41 = call noundef zeroext i1 @_ZN7tinyobjL10parseOnOffEPPKcb(ptr noundef nonnull %5, i1 noundef zeroext true)
  %42 = zext i1 %41 to i8
  store i8 %42, ptr %9, align 2, !tbaa !10
  br label %171

.loopexit:                                        ; preds = %.invoke, %69, %79, %149
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %175

.loopexit.split-lp:                               ; preds = %172
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %175

43:                                               ; preds = %36, %31
  %44 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %33, ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef 7) #7
  %45 = icmp eq i32 %44, 0
  br i1 %45, label %46, label %53

46:                                               ; preds = %43
  %47 = getelementptr inbounds i8, ptr %33, i64 7
  %48 = load i8, ptr %47, align 1, !tbaa !9
  switch i8 %48, label %53 [
    i8 32, label %49
    i8 9, label %49
  ]

49:                                               ; preds = %46, %46
  %50 = getelementptr inbounds i8, ptr %33, i64 8
  store ptr %50, ptr %5, align 8, !tbaa !5
  %51 = call noundef zeroext i1 @_ZN7tinyobjL10parseOnOffEPPKcb(ptr noundef nonnull %5, i1 noundef zeroext true)
  %52 = zext i1 %51 to i8
  store i8 %52, ptr %10, align 1, !tbaa !19
  br label %171

53:                                               ; preds = %46, %43
  %54 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %33, ptr noundef nonnull dereferenceable(1) @.str.3, i64 noundef 6) #7
  %55 = icmp eq i32 %54, 0
  br i1 %55, label %56, label %63

56:                                               ; preds = %53
  %57 = getelementptr inbounds i8, ptr %33, i64 6
  %58 = load i8, ptr %57, align 1, !tbaa !9
  switch i8 %58, label %63 [
    i8 32, label %59
    i8 9, label %59
  ]

59:                                               ; preds = %56, %56
  %60 = getelementptr inbounds i8, ptr %33, i64 7
  store ptr %60, ptr %5, align 8, !tbaa !5
  %61 = call noundef zeroext i1 @_ZN7tinyobjL10parseOnOffEPPKcb(ptr noundef nonnull %5, i1 noundef zeroext true)
  %62 = zext i1 %61 to i8
  store i8 %62, ptr %11, align 8, !tbaa !20
  br label %171

63:                                               ; preds = %56, %53
  %64 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %33, ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef 6) #7
  %65 = icmp eq i32 %64, 0
  br i1 %65, label %66, label %73

66:                                               ; preds = %63
  %67 = getelementptr inbounds i8, ptr %33, i64 6
  %68 = load i8, ptr %67, align 1, !tbaa !9
  switch i8 %68, label %73 [
    i8 32, label %69
    i8 9, label %69
  ]

69:                                               ; preds = %66, %66
  %70 = getelementptr inbounds i8, ptr %33, i64 7
  store ptr %70, ptr %5, align 8, !tbaa !5
  %71 = invoke noundef float @_ZN7tinyobjL9parseRealEPPKcd(ptr noundef nonnull %5, double noundef 1.000000e+00)
          to label %72 unwind label %.loopexit

72:                                               ; preds = %69
  store float %71, ptr %12, align 4, !tbaa !21
  br label %171

73:                                               ; preds = %66, %63
  %74 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %33, ptr noundef nonnull dereferenceable(1) @.str.5, i64 noundef 3) #7
  %75 = icmp eq i32 %74, 0
  br i1 %75, label %76, label %83

76:                                               ; preds = %73
  %77 = getelementptr inbounds i8, ptr %33, i64 3
  %78 = load i8, ptr %77, align 1, !tbaa !9
  switch i8 %78, label %83 [
    i8 32, label %79
    i8 9, label %79
  ]

79:                                               ; preds = %76, %76
  %80 = getelementptr inbounds i8, ptr %33, i64 4
  store ptr %80, ptr %5, align 8, !tbaa !5
  %81 = invoke noundef float @_ZN7tinyobjL9parseRealEPPKcd(ptr noundef nonnull %5, double noundef 1.000000e+00)
          to label %82 unwind label %.loopexit

82:                                               ; preds = %79
  store float %81, ptr %13, align 4, !tbaa !22
  br label %171

83:                                               ; preds = %76, %73
  %84 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %33, ptr noundef nonnull dereferenceable(1) @.str.6, i64 noundef 2) #7
  %85 = icmp eq i32 %84, 0
  br i1 %85, label %86, label %95

86:                                               ; preds = %83
  %87 = getelementptr inbounds i8, ptr %33, i64 2
  %88 = load i8, ptr %87, align 1, !tbaa !9
  switch i8 %88, label %95 [
    i8 32, label %89
    i8 9, label %89
  ]

89:                                               ; preds = %86, %86
  %90 = getelementptr inbounds i8, ptr %33, i64 3
  store ptr %90, ptr %5, align 8, !tbaa !5
  br label %.invoke

.invoke:                                          ; preds = %109, %101, %89
  %91 = phi ptr [ %14, %89 ], [ %17, %101 ], [ %20, %109 ]
  %92 = phi ptr [ %15, %89 ], [ %18, %101 ], [ %21, %109 ]
  %93 = phi ptr [ %16, %89 ], [ %19, %101 ], [ %22, %109 ]
  %94 = phi double [ 0.000000e+00, %89 ], [ 1.000000e+00, %101 ], [ 0.000000e+00, %109 ]
  invoke void @_ZN7tinyobjL10parseReal3EPfS0_S0_PPKcddd(ptr noundef nonnull %91, ptr noundef nonnull %92, ptr noundef nonnull %93, ptr noundef nonnull %5, double noundef %94, double noundef %94, double noundef %94)
          to label %171 unwind label %.loopexit

95:                                               ; preds = %86, %83
  %96 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %33, ptr noundef nonnull dereferenceable(1) @.str.7, i64 noundef 2) #7
  %97 = icmp eq i32 %96, 0
  br i1 %97, label %98, label %103

98:                                               ; preds = %95
  %99 = getelementptr inbounds i8, ptr %33, i64 2
  %100 = load i8, ptr %99, align 1, !tbaa !9
  switch i8 %100, label %103 [
    i8 32, label %101
    i8 9, label %101
  ]

101:                                              ; preds = %98, %98
  %102 = getelementptr inbounds i8, ptr %33, i64 3
  store ptr %102, ptr %5, align 8, !tbaa !5
  br label %.invoke

103:                                              ; preds = %98, %95
  %104 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %33, ptr noundef nonnull dereferenceable(1) @.str.8, i64 noundef 2) #7
  %105 = icmp eq i32 %104, 0
  br i1 %105, label %106, label %111

106:                                              ; preds = %103
  %107 = getelementptr inbounds i8, ptr %33, i64 2
  %108 = load i8, ptr %107, align 1, !tbaa !9
  switch i8 %108, label %111 [
    i8 32, label %109
    i8 9, label %109
  ]

109:                                              ; preds = %106, %106
  %110 = getelementptr inbounds i8, ptr %33, i64 3
  store ptr %110, ptr %5, align 8, !tbaa !5
  br label %.invoke

111:                                              ; preds = %106, %103
  %112 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %33, ptr noundef nonnull dereferenceable(1) @.str.9, i64 noundef 5) #7
  %113 = icmp eq i32 %112, 0
  br i1 %113, label %114, label %119

114:                                              ; preds = %111
  %115 = getelementptr inbounds i8, ptr %33, i64 5
  %116 = load i8, ptr %115, align 1, !tbaa !9
  switch i8 %116, label %119 [
    i8 32, label %117
    i8 9, label %117
  ]

117:                                              ; preds = %114, %114
  store ptr %115, ptr %5, align 8, !tbaa !5
  %118 = call noundef i32 @_ZN7tinyobjL16parseTextureTypeEPPKcNS_14texture_type_tE(ptr noundef nonnull %5, i32 noundef 0)
  store i32 %118, ptr %1, align 8, !tbaa !23
  br label %171

119:                                              ; preds = %114, %111
  %120 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %33, ptr noundef nonnull dereferenceable(1) @.str.10, i64 noundef 7) #7
  %121 = icmp eq i32 %120, 0
  br i1 %121, label %122, label %127

122:                                              ; preds = %119
  %123 = getelementptr inbounds i8, ptr %33, i64 7
  %124 = load i8, ptr %123, align 1, !tbaa !9
  switch i8 %124, label %127 [
    i8 32, label %125
    i8 9, label %125
  ]

125:                                              ; preds = %122, %122
  store ptr %123, ptr %5, align 8, !tbaa !5
  %126 = call noundef i32 @_ZN7tinyobjL8parseIntEPPKc(ptr noundef nonnull %5)
  store i32 %126, ptr %23, align 4, !tbaa !24
  br label %171

127:                                              ; preds = %122, %119
  %128 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %33, ptr noundef nonnull dereferenceable(1) @.str.11, i64 noundef 8) #7
  %129 = icmp eq i32 %128, 0
  br i1 %129, label %130, label %143

130:                                              ; preds = %127
  %131 = getelementptr inbounds i8, ptr %33, i64 8
  %132 = load i8, ptr %131, align 1, !tbaa !9
  switch i8 %132, label %143 [
    i8 32, label %133
    i8 9, label %133
  ]

133:                                              ; preds = %130, %130
  %134 = getelementptr inbounds i8, ptr %33, i64 9
  store ptr %134, ptr %5, align 8, !tbaa !5
  %135 = call i64 @strspn(ptr noundef nonnull %134, ptr noundef nonnull @.str) #7
  %136 = getelementptr inbounds i8, ptr %134, i64 %135
  store ptr %136, ptr %5, align 8, !tbaa !5
  %137 = call i64 @strcspn(ptr noundef nonnull %136, ptr noundef nonnull @.str.12) #7
  %138 = getelementptr inbounds i8, ptr %136, i64 %137
  %139 = icmp eq i64 %137, 1
  br i1 %139, label %140, label %142

140:                                              ; preds = %133
  %141 = load i8, ptr %136, align 1, !tbaa !9
  store i8 %141, ptr %24, align 1, !tbaa !25
  br label %142

142:                                              ; preds = %140, %133
  store ptr %138, ptr %5, align 8, !tbaa !5
  br label %171

143:                                              ; preds = %130, %127
  %144 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %33, ptr noundef nonnull dereferenceable(1) @.str.13, i64 noundef 3) #7
  %145 = icmp eq i32 %144, 0
  br i1 %145, label %146, label %151

146:                                              ; preds = %143
  %147 = getelementptr inbounds i8, ptr %33, i64 3
  %148 = load i8, ptr %147, align 1, !tbaa !9
  switch i8 %148, label %151 [
    i8 32, label %149
    i8 9, label %149
  ]

149:                                              ; preds = %146, %146
  %150 = getelementptr inbounds i8, ptr %33, i64 4
  store ptr %150, ptr %5, align 8, !tbaa !5
  invoke void @_ZN7tinyobjL10parseReal2EPfS0_PPKcdd(ptr noundef nonnull %25, ptr noundef nonnull %26, ptr noundef nonnull %5, double noundef 0.000000e+00, double noundef 1.000000e+00)
          to label %171 unwind label %.loopexit

151:                                              ; preds = %146, %143
  %152 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %33, ptr noundef nonnull dereferenceable(1) @.str.14, i64 noundef 11) #7
  %153 = icmp eq i32 %152, 0
  br i1 %153, label %154, label %163

154:                                              ; preds = %151
  %155 = getelementptr inbounds i8, ptr %33, i64 11
  %156 = load i8, ptr %155, align 1, !tbaa !9
  switch i8 %156, label %163 [
    i8 32, label %157
    i8 9, label %157
  ]

157:                                              ; preds = %154, %154
  %158 = getelementptr inbounds i8, ptr %33, i64 12
  store ptr %158, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #6
  invoke void @_ZN7tinyobjL11parseStringB5cxx11EPPKc(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %6, ptr noundef nonnull %5)
          to label %159 unwind label %161

159:                                              ; preds = %157
  %160 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  br label %171

161:                                              ; preds = %157
  %162 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  br label %175

163:                                              ; preds = %154, %151
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull %33, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %164 unwind label %169

164:                                              ; preds = %163
  %165 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  %166 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  %167 = load ptr, ptr %5, align 8, !tbaa !5
  %168 = getelementptr inbounds i8, ptr %167, i64 %166
  store ptr %168, ptr %5, align 8, !tbaa !5
  br label %171

169:                                              ; preds = %163
  %170 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  br label %175

171:                                              ; preds = %.invoke, %49, %72, %125, %149, %164, %159, %142, %117, %82, %59, %39
  %.1 = phi i1 [ %.029, %39 ], [ %.029, %49 ], [ %.029, %59 ], [ %.029, %72 ], [ %.029, %82 ], [ %.029, %117 ], [ %.029, %125 ], [ %.029, %142 ], [ %.029, %149 ], [ %.029, %159 ], [ true, %164 ], [ %.029, %.invoke ]
  %.pre = load ptr, ptr %5, align 8, !tbaa !5
  br label %28, !llvm.loop !26

.critedge:                                        ; preds = %28, %28, %28
  br i1 %.029, label %172, label %174

172:                                              ; preds = %.critedge
  %173 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %174 unwind label %.loopexit.split-lp

174:                                              ; preds = %.critedge, %172
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  ret i1 %.029

175:                                              ; preds = %.loopexit, %.loopexit.split-lp, %169, %161
  %.pn = phi { ptr, i32 } [ %162, %161 ], [ %170, %169 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  resume { ptr, i32 } %.pn
}

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strspn(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strncmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN7tinyobjL10parseOnOffEPPKcb(ptr noundef, i1 noundef zeroext) local_unnamed_addr #4

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef float @_ZN7tinyobjL9parseRealEPPKcd(ptr noundef, double noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN7tinyobjL10parseReal3EPfS0_S0_PPKcddd(ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef, double noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN7tinyobjL16parseTextureTypeEPPKcNS_14texture_type_tE(ptr noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN7tinyobjL8parseIntEPPKc(ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strcspn(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN7tinyobjL10parseReal2EPfS0_PPKcdd(ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN7tinyobjL11parseStringB5cxx11EPPKc(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: 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 #4 = { inlinehint mustprogress 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 #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !15, i64 58}
!11 = !{!"_ZTSN7tinyobj16texture_option_tE", !12, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !7, i64 16, !7, i64 28, !7, i64 40, !14, i64 52, !15, i64 56, !7, i64 57, !15, i64 58, !15, i64 59, !13, i64 60, !16, i64 64}
!12 = !{!"_ZTSN7tinyobj14texture_type_tE", !7, i64 0}
!13 = !{!"float", !7, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !17, i64 0, !18, i64 8, !7, i64 16}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!11, !15, i64 59}
!20 = !{!11, !15, i64 56}
!21 = !{!11, !13, i64 4}
!22 = !{!11, !13, i64 60}
!23 = !{!11, !12, i64 0}
!24 = !{!11, !14, i64 52}
!25 = !{!11, !7, i64 57}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LICMPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass