; LLVM IR from facebook/hermes :: API/hermes_sandbox/external (hermes_sandbox_impl_compiled_6)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.w2c_hermes = type { ptr, ptr, ptr, i32, i32, i32, %struct.wasm_rt_memory_t, %struct.wasm_rt_funcref_table_t }
%struct.wasm_rt_memory_t = type { ptr, i64, i64, i64, i8 }
%struct.wasm_rt_funcref_table_t = type { ptr, i32, i32 }

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr noundef, i64 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store(ptr noundef, i64 noundef, i32 noundef) #1

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_memcmp(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load8_u(ptr noundef, i64 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @i64_load(ptr noundef, i64 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i64_store(ptr noundef, i64 noundef, i64 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store16(ptr noundef, i64 noundef, i32 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store8(ptr noundef, i64 noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_llvh0x3A0x3Aerrs0x280x29(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_llvh0x3A0x3Acl0x3A0x3AOption0x3A0x3Aerror0x28llvh0x3A0x3ATwine0x20const0x260x2C0x20llvh0x3A0x3AStringRef0x2C0x20llvh0x3A0x3Araw_ostream0x260x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_llvh0x3A0x3Acl0x3A0x3Aparser0x3Cbool0x3E0x3A0x3Aparse0x28llvh0x3A0x3Acl0x3A0x3AOption0x260x2C0x20llvh0x3A0x3AStringRef0x2C0x20llvh0x3A0x3AStringRef0x2C0x20bool0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #2 {
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i64, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i32 %1, ptr %8, align 4, !tbaa !9
  store i32 %2, ptr %9, align 4, !tbaa !9
  store i32 %3, ptr %10, align 4, !tbaa !9
  store i32 %4, ptr %11, align 4, !tbaa !9
  store i32 %5, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  store i64 0, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  %22 = load ptr, ptr %7, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.w2c_hermes, ptr %22, i32 0, i32 3
  %24 = load i32, ptr %23, align 8, !tbaa !13
  store i32 %24, ptr %16, align 4, !tbaa !9
  store i32 -64, ptr %17, align 4, !tbaa !9
  %25 = load i32, ptr %17, align 4, !tbaa !9
  %26 = load i32, ptr %16, align 4, !tbaa !9
  %27 = add i32 %26, %25
  store i32 %27, ptr %16, align 4, !tbaa !9
  %28 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %28, ptr %13, align 4, !tbaa !9
  %29 = load i32, ptr %16, align 4, !tbaa !9
  %30 = load ptr, ptr %7, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.w2c_hermes, ptr %30, i32 0, i32 3
  store i32 %29, ptr %31, align 8, !tbaa !13
  %32 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %32, ptr %16, align 4, !tbaa !9
  %33 = load ptr, ptr %7, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.w2c_hermes, ptr %33, i32 0, i32 6
  %35 = load i32, ptr %16, align 4, !tbaa !9
  %36 = zext i32 %35 to i64
  %37 = call i64 @i64_load(ptr noundef %34, i64 noundef %36)
  store i64 %37, ptr %20, align 8, !tbaa !11
  %38 = load i64, ptr %20, align 8, !tbaa !11
  store i64 %38, ptr %15, align 8, !tbaa !11
  %39 = load i64, ptr %20, align 8, !tbaa !11
  %40 = trunc i64 %39 to i32
  store i32 %40, ptr %16, align 4, !tbaa !9
  %41 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %41, ptr %14, align 4, !tbaa !9
  %42 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %42, ptr %20, align 8, !tbaa !11
  store i64 32, ptr %21, align 8, !tbaa !11
  %43 = load i64, ptr %21, align 8, !tbaa !11
  %44 = and i64 %43, 63
  %45 = load i64, ptr %20, align 8, !tbaa !11
  %46 = lshr i64 %45, %44
  store i64 %46, ptr %20, align 8, !tbaa !11
  %47 = load i64, ptr %20, align 8, !tbaa !11
  %48 = trunc i64 %47 to i32
  store i32 %48, ptr %16, align 4, !tbaa !9
  %49 = load i32, ptr %16, align 4, !tbaa !9
  switch i32 %49, label %56 [
    i32 0, label %50
    i32 1, label %51
    i32 2, label %52
    i32 3, label %53
    i32 4, label %54
    i32 5, label %55
  ]

50:                                               ; preds = %6
  br label %115

51:                                               ; preds = %6
  br label %100

52:                                               ; preds = %6
  br label %187

53:                                               ; preds = %6
  br label %187

54:                                               ; preds = %6
  br label %57

55:                                               ; preds = %6
  br label %122

56:                                               ; preds = %6
  br label %187

57:                                               ; preds = %54
  %58 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %58, ptr %16, align 4, !tbaa !9
  %59 = load ptr, ptr %7, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.w2c_hermes, ptr %59, i32 0, i32 6
  %61 = load i32, ptr %16, align 4, !tbaa !9
  %62 = zext i32 %61 to i64
  %63 = call i32 @i32_load(ptr noundef %60, i64 noundef %62)
  store i32 %63, ptr %16, align 4, !tbaa !9
  store i32 1702195828, ptr %17, align 4, !tbaa !9
  %64 = load i32, ptr %16, align 4, !tbaa !9
  %65 = load i32, ptr %17, align 4, !tbaa !9
  %66 = icmp eq i32 %64, %65
  %67 = zext i1 %66 to i32
  store i32 %67, ptr %16, align 4, !tbaa !9
  %68 = load i32, ptr %16, align 4, !tbaa !9
  %69 = icmp ne i32 %68, 0
  br i1 %69, label %70, label %71

70:                                               ; preds = %57
  br label %115

71:                                               ; preds = %57
  %72 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %72, ptr %16, align 4, !tbaa !9
  %73 = load ptr, ptr %7, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.w2c_hermes, ptr %73, i32 0, i32 6
  %75 = load i32, ptr %16, align 4, !tbaa !9
  %76 = zext i32 %75 to i64
  %77 = call i32 @i32_load(ptr noundef %74, i64 noundef %76)
  store i32 %77, ptr %16, align 4, !tbaa !9
  store i32 1163219540, ptr %17, align 4, !tbaa !9
  %78 = load i32, ptr %16, align 4, !tbaa !9
  %79 = load i32, ptr %17, align 4, !tbaa !9
  %80 = icmp eq i32 %78, %79
  %81 = zext i1 %80 to i32
  store i32 %81, ptr %16, align 4, !tbaa !9
  %82 = load i32, ptr %16, align 4, !tbaa !9
  %83 = icmp ne i32 %82, 0
  br i1 %83, label %84, label %85

84:                                               ; preds = %71
  br label %115

85:                                               ; preds = %71
  %86 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %86, ptr %16, align 4, !tbaa !9
  %87 = load ptr, ptr %7, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.w2c_hermes, ptr %87, i32 0, i32 6
  %89 = load i32, ptr %16, align 4, !tbaa !9
  %90 = zext i32 %89 to i64
  %91 = call i32 @i32_load(ptr noundef %88, i64 noundef %90)
  store i32 %91, ptr %16, align 4, !tbaa !9
  store i32 1702195796, ptr %17, align 4, !tbaa !9
  %92 = load i32, ptr %16, align 4, !tbaa !9
  %93 = load i32, ptr %17, align 4, !tbaa !9
  %94 = icmp eq i32 %92, %93
  %95 = zext i1 %94 to i32
  store i32 %95, ptr %16, align 4, !tbaa !9
  %96 = load i32, ptr %16, align 4, !tbaa !9
  %97 = icmp ne i32 %96, 0
  br i1 %97, label %98, label %99

98:                                               ; preds = %85
  br label %115

99:                                               ; preds = %85
  br label %187

100:                                              ; preds = %51
  %101 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %101, ptr %16, align 4, !tbaa !9
  %102 = load ptr, ptr %7, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.w2c_hermes, ptr %102, i32 0, i32 6
  %104 = load i32, ptr %16, align 4, !tbaa !9
  %105 = zext i32 %104 to i64
  %106 = call i32 @i32_load8_u(ptr noundef %103, i64 noundef %105)
  store i32 %106, ptr %16, align 4, !tbaa !9
  store i32 49, ptr %17, align 4, !tbaa !9
  %107 = load i32, ptr %16, align 4, !tbaa !9
  %108 = load i32, ptr %17, align 4, !tbaa !9
  %109 = icmp ne i32 %107, %108
  %110 = zext i1 %109 to i32
  store i32 %110, ptr %16, align 4, !tbaa !9
  %111 = load i32, ptr %16, align 4, !tbaa !9
  %112 = icmp ne i32 %111, 0
  br i1 %112, label %113, label %114

113:                                              ; preds = %100
  br label %165

114:                                              ; preds = %100
  br label %115

115:                                              ; preds = %114, %98, %84, %70, %50
  %116 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %116, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %117 = load ptr, ptr %7, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.w2c_hermes, ptr %117, i32 0, i32 6
  %119 = load i32, ptr %16, align 4, !tbaa !9
  %120 = zext i32 %119 to i64
  %121 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %118, i64 noundef %120, i32 noundef %121)
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %288

122:                                              ; preds = %55
  %123 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %123, ptr %16, align 4, !tbaa !9
  store i32 92124, ptr %17, align 4, !tbaa !9
  store i32 5, ptr %18, align 4, !tbaa !9
  %124 = load ptr, ptr %7, align 8, !tbaa !5
  %125 = load i32, ptr %16, align 4, !tbaa !9
  %126 = load i32, ptr %17, align 4, !tbaa !9
  %127 = load i32, ptr %18, align 4, !tbaa !9
  %128 = call i32 @w2c_hermes_memcmp(ptr noundef %124, i32 noundef %125, i32 noundef %126, i32 noundef %127)
  store i32 %128, ptr %16, align 4, !tbaa !9
  %129 = load i32, ptr %16, align 4, !tbaa !9
  %130 = icmp ne i32 %129, 0
  %131 = xor i1 %130, true
  %132 = zext i1 %131 to i32
  store i32 %132, ptr %16, align 4, !tbaa !9
  %133 = load i32, ptr %16, align 4, !tbaa !9
  %134 = icmp ne i32 %133, 0
  br i1 %134, label %135, label %136

135:                                              ; preds = %122
  br label %180

136:                                              ; preds = %122
  %137 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %137, ptr %16, align 4, !tbaa !9
  store i32 109435, ptr %17, align 4, !tbaa !9
  store i32 5, ptr %18, align 4, !tbaa !9
  %138 = load ptr, ptr %7, align 8, !tbaa !5
  %139 = load i32, ptr %16, align 4, !tbaa !9
  %140 = load i32, ptr %17, align 4, !tbaa !9
  %141 = load i32, ptr %18, align 4, !tbaa !9
  %142 = call i32 @w2c_hermes_memcmp(ptr noundef %138, i32 noundef %139, i32 noundef %140, i32 noundef %141)
  store i32 %142, ptr %16, align 4, !tbaa !9
  %143 = load i32, ptr %16, align 4, !tbaa !9
  %144 = icmp ne i32 %143, 0
  %145 = xor i1 %144, true
  %146 = zext i1 %145 to i32
  store i32 %146, ptr %16, align 4, !tbaa !9
  %147 = load i32, ptr %16, align 4, !tbaa !9
  %148 = icmp ne i32 %147, 0
  br i1 %148, label %149, label %150

149:                                              ; preds = %136
  br label %180

150:                                              ; preds = %136
  %151 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %151, ptr %16, align 4, !tbaa !9
  store i32 92130, ptr %17, align 4, !tbaa !9
  store i32 5, ptr %18, align 4, !tbaa !9
  %152 = load ptr, ptr %7, align 8, !tbaa !5
  %153 = load i32, ptr %16, align 4, !tbaa !9
  %154 = load i32, ptr %17, align 4, !tbaa !9
  %155 = load i32, ptr %18, align 4, !tbaa !9
  %156 = call i32 @w2c_hermes_memcmp(ptr noundef %152, i32 noundef %153, i32 noundef %154, i32 noundef %155)
  store i32 %156, ptr %16, align 4, !tbaa !9
  %157 = load i32, ptr %16, align 4, !tbaa !9
  %158 = icmp ne i32 %157, 0
  %159 = xor i1 %158, true
  %160 = zext i1 %159 to i32
  store i32 %160, ptr %16, align 4, !tbaa !9
  %161 = load i32, ptr %16, align 4, !tbaa !9
  %162 = icmp ne i32 %161, 0
  br i1 %162, label %163, label %164

163:                                              ; preds = %150
  br label %180

164:                                              ; preds = %150
  br label %187

165:                                              ; preds = %113
  %166 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %166, ptr %16, align 4, !tbaa !9
  %167 = load ptr, ptr %7, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.w2c_hermes, ptr %167, i32 0, i32 6
  %169 = load i32, ptr %16, align 4, !tbaa !9
  %170 = zext i32 %169 to i64
  %171 = call i32 @i32_load8_u(ptr noundef %168, i64 noundef %170)
  store i32 %171, ptr %16, align 4, !tbaa !9
  store i32 48, ptr %17, align 4, !tbaa !9
  %172 = load i32, ptr %16, align 4, !tbaa !9
  %173 = load i32, ptr %17, align 4, !tbaa !9
  %174 = icmp ne i32 %172, %173
  %175 = zext i1 %174 to i32
  store i32 %175, ptr %16, align 4, !tbaa !9
  %176 = load i32, ptr %16, align 4, !tbaa !9
  %177 = icmp ne i32 %176, 0
  br i1 %177, label %178, label %179

178:                                              ; preds = %165
  br label %187

179:                                              ; preds = %165
  br label %180

180:                                              ; preds = %179, %163, %149, %135
  %181 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %181, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %182 = load ptr, ptr %7, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.w2c_hermes, ptr %182, i32 0, i32 6
  %184 = load i32, ptr %16, align 4, !tbaa !9
  %185 = zext i32 %184 to i64
  %186 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %183, i64 noundef %185, i32 noundef %186)
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %288

187:                                              ; preds = %178, %164, %99, %56, %53, %52
  %188 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %188, ptr %16, align 4, !tbaa !9
  %189 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %189, ptr %17, align 4, !tbaa !9
  %190 = load ptr, ptr %7, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.w2c_hermes, ptr %190, i32 0, i32 6
  %192 = load i32, ptr %16, align 4, !tbaa !9
  %193 = zext i32 %192 to i64
  %194 = add i64 %193, 44
  %195 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %191, i64 noundef %194, i32 noundef %195)
  %196 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %196, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %197 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %197, ptr %11, align 4, !tbaa !9
  store i32 121691, ptr %18, align 4, !tbaa !9
  %198 = load i32, ptr %18, align 4, !tbaa !9
  %199 = load i32, ptr %17, align 4, !tbaa !9
  %200 = add i32 %199, %198
  store i32 %200, ptr %17, align 4, !tbaa !9
  %201 = load ptr, ptr %7, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.w2c_hermes, ptr %201, i32 0, i32 6
  %203 = load i32, ptr %16, align 4, !tbaa !9
  %204 = zext i32 %203 to i64
  %205 = add i64 %204, 40
  %206 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %202, i64 noundef %205, i32 noundef %206)
  %207 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %207, ptr %16, align 4, !tbaa !9
  store i32 1283, ptr %17, align 4, !tbaa !9
  %208 = load ptr, ptr %7, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.w2c_hermes, ptr %208, i32 0, i32 6
  %210 = load i32, ptr %16, align 4, !tbaa !9
  %211 = zext i32 %210 to i64
  %212 = add i64 %211, 48
  %213 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %209, i64 noundef %212, i32 noundef %213)
  %214 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %214, ptr %16, align 4, !tbaa !9
  %215 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %215, ptr %17, align 4, !tbaa !9
  store i32 111187, ptr %18, align 4, !tbaa !9
  %216 = load i32, ptr %18, align 4, !tbaa !9
  %217 = load i32, ptr %17, align 4, !tbaa !9
  %218 = add i32 %217, %216
  store i32 %218, ptr %17, align 4, !tbaa !9
  %219 = load ptr, ptr %7, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.w2c_hermes, ptr %219, i32 0, i32 6
  %221 = load i32, ptr %16, align 4, !tbaa !9
  %222 = zext i32 %221 to i64
  %223 = add i64 %222, 28
  %224 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %220, i64 noundef %223, i32 noundef %224)
  %225 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %225, ptr %16, align 4, !tbaa !9
  store i32 259, ptr %17, align 4, !tbaa !9
  %226 = load ptr, ptr %7, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.w2c_hermes, ptr %226, i32 0, i32 6
  %228 = load i32, ptr %16, align 4, !tbaa !9
  %229 = zext i32 %228 to i64
  %230 = add i64 %229, 36
  %231 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %227, i64 noundef %230, i32 noundef %231)
  %232 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %232, ptr %16, align 4, !tbaa !9
  store i32 52, ptr %17, align 4, !tbaa !9
  %233 = load i32, ptr %17, align 4, !tbaa !9
  %234 = load i32, ptr %16, align 4, !tbaa !9
  %235 = add i32 %234, %233
  store i32 %235, ptr %16, align 4, !tbaa !9
  %236 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %236, ptr %17, align 4, !tbaa !9
  store i32 40, ptr %18, align 4, !tbaa !9
  %237 = load i32, ptr %18, align 4, !tbaa !9
  %238 = load i32, ptr %17, align 4, !tbaa !9
  %239 = add i32 %238, %237
  store i32 %239, ptr %17, align 4, !tbaa !9
  %240 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %240, ptr %18, align 4, !tbaa !9
  store i32 28, ptr %19, align 4, !tbaa !9
  %241 = load i32, ptr %19, align 4, !tbaa !9
  %242 = load i32, ptr %18, align 4, !tbaa !9
  %243 = add i32 %242, %241
  store i32 %243, ptr %18, align 4, !tbaa !9
  %244 = load ptr, ptr %7, align 8, !tbaa !5
  %245 = load i32, ptr %16, align 4, !tbaa !9
  %246 = load i32, ptr %17, align 4, !tbaa !9
  %247 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3Aoperator0x2B0x28llvh0x3A0x3ATwine0x20const0x260x2C0x20llvh0x3A0x3ATwine0x20const0x260x29(ptr noundef %244, i32 noundef %245, i32 noundef %246, i32 noundef %247)
  %248 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %248, ptr %16, align 4, !tbaa !9
  store i64 0, ptr %21, align 8, !tbaa !11
  %249 = load ptr, ptr %7, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.w2c_hermes, ptr %249, i32 0, i32 6
  %251 = load i32, ptr %16, align 4, !tbaa !9
  %252 = zext i32 %251 to i64
  %253 = add i64 %252, 16
  %254 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %250, i64 noundef %253, i64 noundef %254)
  %255 = load ptr, ptr %7, align 8, !tbaa !5
  %256 = call i32 @w2c_hermes_llvh0x3A0x3Aerrs0x280x29(ptr noundef %255)
  store i32 %256, ptr %16, align 4, !tbaa !9
  %257 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %257, ptr %11, align 4, !tbaa !9
  %258 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %258, ptr %16, align 4, !tbaa !9
  %259 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %259, ptr %17, align 4, !tbaa !9
  %260 = load ptr, ptr %7, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.w2c_hermes, ptr %260, i32 0, i32 6
  %262 = load i32, ptr %17, align 4, !tbaa !9
  %263 = zext i32 %262 to i64
  %264 = add i64 %263, 16
  %265 = call i64 @i64_load(ptr noundef %261, i64 noundef %264)
  store i64 %265, ptr %21, align 8, !tbaa !11
  %266 = load ptr, ptr %7, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.w2c_hermes, ptr %266, i32 0, i32 6
  %268 = load i32, ptr %16, align 4, !tbaa !9
  %269 = zext i32 %268 to i64
  %270 = add i64 %269, 8
  %271 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %267, i64 noundef %270, i64 noundef %271)
  %272 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %272, ptr %16, align 4, !tbaa !9
  %273 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %273, ptr %17, align 4, !tbaa !9
  store i32 52, ptr %18, align 4, !tbaa !9
  %274 = load i32, ptr %18, align 4, !tbaa !9
  %275 = load i32, ptr %17, align 4, !tbaa !9
  %276 = add i32 %275, %274
  store i32 %276, ptr %17, align 4, !tbaa !9
  %277 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %277, ptr %18, align 4, !tbaa !9
  store i32 8, ptr %19, align 4, !tbaa !9
  %278 = load i32, ptr %19, align 4, !tbaa !9
  %279 = load i32, ptr %18, align 4, !tbaa !9
  %280 = add i32 %279, %278
  store i32 %280, ptr %18, align 4, !tbaa !9
  %281 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %281, ptr %19, align 4, !tbaa !9
  %282 = load ptr, ptr %7, align 8, !tbaa !5
  %283 = load i32, ptr %16, align 4, !tbaa !9
  %284 = load i32, ptr %17, align 4, !tbaa !9
  %285 = load i32, ptr %18, align 4, !tbaa !9
  %286 = load i32, ptr %19, align 4, !tbaa !9
  %287 = call i32 @w2c_hermes_llvh0x3A0x3Acl0x3A0x3AOption0x3A0x3Aerror0x28llvh0x3A0x3ATwine0x20const0x260x2C0x20llvh0x3A0x3AStringRef0x2C0x20llvh0x3A0x3Araw_ostream0x260x29(ptr noundef %282, i32 noundef %283, i32 noundef %284, i32 noundef %285, i32 noundef %286)
  store i32 %287, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  br label %288

288:                                              ; preds = %187, %180, %115
  %289 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %289, ptr %11, align 4, !tbaa !9
  %290 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %290, ptr %16, align 4, !tbaa !9
  store i32 -64, ptr %17, align 4, !tbaa !9
  %291 = load i32, ptr %17, align 4, !tbaa !9
  %292 = load i32, ptr %16, align 4, !tbaa !9
  %293 = sub i32 %292, %291
  store i32 %293, ptr %16, align 4, !tbaa !9
  %294 = load i32, ptr %16, align 4, !tbaa !9
  %295 = load ptr, ptr %7, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.w2c_hermes, ptr %295, i32 0, i32 3
  store i32 %294, ptr %296, align 8, !tbaa !13
  %297 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %297, ptr %16, align 4, !tbaa !9
  %298 = load i32, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  ret i32 %298
}

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_llvh0x3A0x3Aoperator0x2B0x28llvh0x3A0x3ATwine0x20const0x260x2C0x20llvh0x3A0x3ATwine0x20const0x260x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !10, i64 24}
!14 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !15, i64 40, !17, i64 80}
!15 = !{!"", !6, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !16, i64 32}
!16 = !{!"_Bool", !7, i64 0}
!17 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}


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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_memcmp(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load8_u(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @i64_load(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i64_store(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store16(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store8(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_llvh0x3A0x3Acl0x3A0x3AOption0x3A0x3Aerror0x28llvh0x3A0x3ATwine0x20const0x260x2C0x20llvh0x3A0x3AStringRef0x2C0x20llvh0x3A0x3Araw_ostream0x260x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @w2c_hermes_llvh0x3A0x3Acl0x3A0x3Aparser0x3Cbool0x3E0x3A0x3Aparse0x28llvh0x3A0x3Acl0x3A0x3AOption0x260x2C0x20llvh0x3A0x3AStringRef0x2C0x20llvh0x3A0x3AStringRef0x2C0x20bool0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #1 {
  %7 = getelementptr inbounds i8, ptr %0, i64 24
  %8 = load i32, ptr %7, align 8, !tbaa !5
  %9 = add i32 %8, -64
  store i32 %9, ptr %7, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %0, i64 40
  %11 = zext i32 %4 to i64
  %12 = tail call i64 @i64_load(ptr noundef nonnull %10, i64 noundef %11)
  %13 = trunc i64 %12 to i32
  %14 = lshr i64 %12, 32
  %15 = trunc nuw i64 %14 to i32
  switch i32 %15, label %41 [
    i32 0, label %29
    i32 1, label %26
    i32 5, label %31
    i32 4, label %16
  ]

16:                                               ; preds = %6
  %17 = and i64 %12, 4294967295
  %18 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %17)
  %19 = icmp eq i32 %18, 1702195828
  br i1 %19, label %29, label %20

20:                                               ; preds = %16
  %21 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %17)
  %22 = icmp eq i32 %21, 1163219540
  br i1 %22, label %29, label %23

23:                                               ; preds = %20
  %24 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %17)
  %25 = icmp eq i32 %24, 1702195796
  br i1 %25, label %29, label %41

26:                                               ; preds = %6
  %27 = and i64 %12, 4294967295
  %28 = tail call i32 @i32_load8_u(ptr noundef nonnull %10, i64 noundef %27)
  %.not151 = icmp eq i32 %28, 49
  br i1 %.not151, label %29, label %37

29:                                               ; preds = %26, %23, %20, %16, %6
  %30 = zext i32 %5 to i64
  tail call void @i32_store8(ptr noundef nonnull %10, i64 noundef %30, i32 noundef 1)
  br label %57

31:                                               ; preds = %6
  %32 = tail call i32 @w2c_hermes_memcmp(ptr noundef nonnull %0, i32 noundef %13, i32 noundef 92124, i32 noundef 5)
  %.not = icmp eq i32 %32, 0
  br i1 %.not, label %39, label %33

33:                                               ; preds = %31
  %34 = tail call i32 @w2c_hermes_memcmp(ptr noundef nonnull %0, i32 noundef %13, i32 noundef 109435, i32 noundef 5)
  %.not149 = icmp eq i32 %34, 0
  br i1 %.not149, label %39, label %35

35:                                               ; preds = %33
  %36 = tail call i32 @w2c_hermes_memcmp(ptr noundef nonnull %0, i32 noundef %13, i32 noundef 92130, i32 noundef 5)
  %.not150 = icmp eq i32 %36, 0
  br i1 %.not150, label %39, label %41

37:                                               ; preds = %26
  %38 = tail call i32 @i32_load8_u(ptr noundef nonnull %10, i64 noundef %27)
  %.not152 = icmp eq i32 %38, 48
  br i1 %.not152, label %39, label %41

39:                                               ; preds = %37, %35, %33, %31
  %40 = zext i32 %5 to i64
  tail call void @i32_store8(ptr noundef nonnull %10, i64 noundef %40, i32 noundef 0)
  br label %57

41:                                               ; preds = %37, %35, %23, %6
  %42 = zext i32 %9 to i64
  %43 = add nuw nsw i64 %42, 44
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %43, i32 noundef %4)
  %44 = add nuw nsw i64 %42, 40
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %44, i32 noundef 121691)
  %45 = add nuw nsw i64 %42, 48
  tail call void @i32_store16(ptr noundef nonnull %10, i64 noundef %45, i32 noundef 1283)
  %46 = add nuw nsw i64 %42, 28
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %46, i32 noundef 111187)
  %47 = add nuw nsw i64 %42, 36
  tail call void @i32_store16(ptr noundef nonnull %10, i64 noundef %47, i32 noundef 259)
  %48 = add i32 %8, -12
  %49 = add i32 %8, -24
  %50 = add i32 %8, -36
  tail call void @w2c_hermes_llvh0x3A0x3Aoperator0x2B0x28llvh0x3A0x3ATwine0x20const0x260x2C0x20llvh0x3A0x3ATwine0x20const0x260x29(ptr noundef nonnull %0, i32 noundef %48, i32 noundef %49, i32 noundef %50)
  %51 = add nuw nsw i64 %42, 16
  tail call void @i64_store(ptr noundef nonnull %10, i64 noundef %51, i64 noundef 0)
  %52 = tail call i32 @w2c_hermes_llvh0x3A0x3Aerrs0x280x29(ptr noundef nonnull %0)
  %53 = tail call i64 @i64_load(ptr noundef nonnull %10, i64 noundef %51)
  %54 = add nuw nsw i64 %42, 8
  tail call void @i64_store(ptr noundef nonnull %10, i64 noundef %54, i64 noundef %53)
  %55 = add i32 %8, -56
  %56 = tail call i32 @w2c_hermes_llvh0x3A0x3Acl0x3A0x3AOption0x3A0x3Aerror0x28llvh0x3A0x3ATwine0x20const0x260x2C0x20llvh0x3A0x3AStringRef0x2C0x20llvh0x3A0x3Araw_ostream0x260x29(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %48, i32 noundef %55, i32 noundef %52)
  br label %57

57:                                               ; preds = %41, %39, %29
  %.0 = phi i32 [ 1, %41 ], [ 0, %29 ], [ 0, %39 ]
  store i32 %8, ptr %7, align 8, !tbaa !5
  ret i32 %.0
}

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_llvh0x3A0x3Aoperator0x2B0x28llvh0x3A0x3ATwine0x20const0x260x2C0x20llvh0x3A0x3ATwine0x20const0x260x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

attributes #0 = { inlinehint 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 = { 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" }

!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, !10, i64 24}
!6 = !{!"w2c_hermes", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !11, i64 40, !14, i64 80}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !13, i64 32}
!12 = !{!"long", !8, i64 0}
!13 = !{!"_Bool", !8, i64 0}
!14 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12}


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