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

; 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 void @i32_store(ptr noundef, i64 noundef, i32 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AsymbolPrototypeDescriptionGetter0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #3 {
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %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 i64, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  store i32 %4, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  store i64 0, ptr %13, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.w2c_hermes, ptr %20, i32 0, i32 3
  %22 = load i32, ptr %21, align 8, !tbaa !13
  store i32 %22, ptr %14, align 4, !tbaa !9
  store i32 48, ptr %15, align 4, !tbaa !9
  %23 = load i32, ptr %15, align 4, !tbaa !9
  %24 = load i32, ptr %14, align 4, !tbaa !9
  %25 = sub i32 %24, %23
  store i32 %25, ptr %14, align 4, !tbaa !9
  %26 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %26, ptr %8, align 4, !tbaa !9
  %27 = load i32, ptr %14, align 4, !tbaa !9
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.w2c_hermes, ptr %28, i32 0, i32 3
  store i32 %27, ptr %29, align 8, !tbaa !13
  %30 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %30, ptr %14, align 4, !tbaa !9
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.w2c_hermes, ptr %31, i32 0, i32 6
  %33 = load i32, ptr %14, align 4, !tbaa !9
  %34 = zext i32 %33 to i64
  %35 = add i64 %34, 4
  %36 = call i32 @i32_load(ptr noundef %32, i64 noundef %35)
  store i32 %36, ptr %14, align 4, !tbaa !9
  %37 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %37, ptr %12, align 4, !tbaa !9
  %38 = load ptr, ptr %6, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.w2c_hermes, ptr %38, i32 0, i32 6
  %40 = load i32, ptr %14, align 4, !tbaa !9
  %41 = zext i32 %40 to i64
  %42 = add i64 %41, 164
  %43 = call i32 @i32_load(ptr noundef %39, i64 noundef %42)
  store i32 %43, ptr %14, align 4, !tbaa !9
  %44 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %44, ptr %11, align 4, !tbaa !9
  %45 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %45, ptr %15, align 4, !tbaa !9
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.w2c_hermes, ptr %46, i32 0, i32 6
  %48 = load i32, ptr %15, align 4, !tbaa !9
  %49 = zext i32 %48 to i64
  %50 = add i64 %49, 168
  %51 = call i32 @i32_load(ptr noundef %47, i64 noundef %50)
  store i32 %51, ptr %15, align 4, !tbaa !9
  %52 = load i32, ptr %14, align 4, !tbaa !9
  %53 = load i32, ptr %15, align 4, !tbaa !9
  %54 = icmp ult i32 %52, %53
  %55 = zext i1 %54 to i32
  store i32 %55, ptr %14, align 4, !tbaa !9
  %56 = load i32, ptr %14, align 4, !tbaa !9
  %57 = icmp ne i32 %56, 0
  br i1 %57, label %58, label %76

58:                                               ; preds = %5
  %59 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %59, ptr %14, align 4, !tbaa !9
  %60 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %60, ptr %15, align 4, !tbaa !9
  store i32 8, ptr %16, align 4, !tbaa !9
  %61 = load i32, ptr %16, align 4, !tbaa !9
  %62 = load i32, ptr %15, align 4, !tbaa !9
  %63 = add i32 %62, %61
  store i32 %63, ptr %15, align 4, !tbaa !9
  %64 = load ptr, ptr %6, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.w2c_hermes, ptr %64, i32 0, i32 6
  %66 = load i32, ptr %14, align 4, !tbaa !9
  %67 = zext i32 %66 to i64
  %68 = add i64 %67, 164
  %69 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %65, i64 noundef %68, i32 noundef %69)
  %70 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %70, ptr %14, align 4, !tbaa !9
  store i64 -1266636858327041, ptr %18, align 8, !tbaa !11
  %71 = load ptr, ptr %6, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.w2c_hermes, ptr %71, i32 0, i32 6
  %73 = load i32, ptr %14, align 4, !tbaa !9
  %74 = zext i32 %73 to i64
  %75 = load i64, ptr %18, align 8, !tbaa !11
  call void @i64_store(ptr noundef %72, i64 noundef %74, i64 noundef %75)
  br label %83

76:                                               ; preds = %5
  %77 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %77, ptr %14, align 4, !tbaa !9
  store i64 -1266636858327041, ptr %18, align 8, !tbaa !11
  %78 = load ptr, ptr %6, align 8, !tbaa !5
  %79 = load i32, ptr %14, align 4, !tbaa !9
  %80 = load i64, ptr %18, align 8, !tbaa !11
  %81 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef %78, i32 noundef %79, i64 noundef %80)
  store i32 %81, ptr %14, align 4, !tbaa !9
  %82 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %82, ptr %11, align 4, !tbaa !9
  br label %83

83:                                               ; preds = %76, %58
  %84 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %84, ptr %14, align 4, !tbaa !9
  %85 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %85, ptr %15, align 4, !tbaa !9
  %86 = load ptr, ptr %6, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.w2c_hermes, ptr %86, i32 0, i32 6
  %88 = load i32, ptr %15, align 4, !tbaa !9
  %89 = zext i32 %88 to i64
  %90 = call i32 @i32_load(ptr noundef %87, i64 noundef %89)
  store i32 %90, ptr %15, align 4, !tbaa !9
  %91 = load ptr, ptr %6, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.w2c_hermes, ptr %91, i32 0, i32 6
  %93 = load i32, ptr %15, align 4, !tbaa !9
  %94 = zext i32 %93 to i64
  %95 = call i64 @i64_load(ptr noundef %92, i64 noundef %94)
  store i64 %95, ptr %18, align 8, !tbaa !11
  %96 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %96, ptr %13, align 8, !tbaa !11
  store i64 47, ptr %19, align 8, !tbaa !11
  %97 = load i64, ptr %18, align 8, !tbaa !11
  %98 = load i64, ptr %19, align 8, !tbaa !11
  %99 = and i64 %98, 63
  %100 = ashr i64 %97, %99
  store i64 %100, ptr %18, align 8, !tbaa !11
  %101 = load i64, ptr %18, align 8, !tbaa !11
  %102 = trunc i64 %101 to i32
  store i32 %102, ptr %15, align 4, !tbaa !9
  store i32 -9, ptr %16, align 4, !tbaa !9
  %103 = load i32, ptr %15, align 4, !tbaa !9
  %104 = load i32, ptr %16, align 4, !tbaa !9
  %105 = icmp eq i32 %103, %104
  %106 = zext i1 %105 to i32
  store i32 %106, ptr %15, align 4, !tbaa !9
  %107 = load i32, ptr %15, align 4, !tbaa !9
  %108 = icmp ne i32 %107, 0
  br i1 %108, label %109, label %113

109:                                              ; preds = %83
  %110 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %110, ptr %18, align 8, !tbaa !11
  %111 = load i64, ptr %18, align 8, !tbaa !11
  %112 = trunc i64 %111 to i32
  store i32 %112, ptr %15, align 4, !tbaa !9
  br label %181

113:                                              ; preds = %83
  %114 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %114, ptr %18, align 8, !tbaa !11
  store i64 -844424930131968, ptr %19, align 8, !tbaa !11
  %115 = load i64, ptr %18, align 8, !tbaa !11
  %116 = load i64, ptr %19, align 8, !tbaa !11
  %117 = icmp uge i64 %115, %116
  %118 = zext i1 %117 to i32
  store i32 %118, ptr %15, align 4, !tbaa !9
  %119 = load i32, ptr %15, align 4, !tbaa !9
  %120 = icmp ne i32 %119, 0
  br i1 %120, label %121, label %143

121:                                              ; preds = %113
  %122 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %122, ptr %18, align 8, !tbaa !11
  %123 = load i64, ptr %18, align 8, !tbaa !11
  %124 = trunc i64 %123 to i32
  store i32 %124, ptr %15, align 4, !tbaa !9
  %125 = load ptr, ptr %6, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.w2c_hermes, ptr %125, i32 0, i32 6
  %127 = load i32, ptr %15, align 4, !tbaa !9
  %128 = zext i32 %127 to i64
  %129 = add i64 %128, 3
  %130 = call i32 @i32_load8_u(ptr noundef %126, i64 noundef %129)
  store i32 %130, ptr %15, align 4, !tbaa !9
  store i32 24, ptr %16, align 4, !tbaa !9
  %131 = load i32, ptr %16, align 4, !tbaa !9
  %132 = and i32 %131, 31
  %133 = load i32, ptr %15, align 4, !tbaa !9
  %134 = shl i32 %133, %132
  store i32 %134, ptr %15, align 4, !tbaa !9
  store i32 956301312, ptr %16, align 4, !tbaa !9
  %135 = load i32, ptr %15, align 4, !tbaa !9
  %136 = load i32, ptr %16, align 4, !tbaa !9
  %137 = icmp eq i32 %135, %136
  %138 = zext i1 %137 to i32
  store i32 %138, ptr %15, align 4, !tbaa !9
  %139 = load i32, ptr %15, align 4, !tbaa !9
  %140 = icmp ne i32 %139, 0
  br i1 %140, label %141, label %142

141:                                              ; preds = %121
  br label %150

142:                                              ; preds = %121
  br label %143

143:                                              ; preds = %142, %113
  store i32 67200, ptr %15, align 4, !tbaa !9
  %144 = load ptr, ptr %6, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.w2c_hermes, ptr %144, i32 0, i32 6
  %146 = load i32, ptr %15, align 4, !tbaa !9
  %147 = zext i32 %146 to i64
  %148 = call i64 @i64_load(ptr noundef %145, i64 noundef %147)
  store i64 %148, ptr %18, align 8, !tbaa !11
  %149 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %149, ptr %13, align 8, !tbaa !11
  br label %150

150:                                              ; preds = %143, %141
  %151 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %151, ptr %18, align 8, !tbaa !11
  store i64 -844424930131968, ptr %19, align 8, !tbaa !11
  %152 = load i64, ptr %18, align 8, !tbaa !11
  %153 = load i64, ptr %19, align 8, !tbaa !11
  %154 = icmp ult i64 %152, %153
  %155 = zext i1 %154 to i32
  store i32 %155, ptr %15, align 4, !tbaa !9
  %156 = load i32, ptr %15, align 4, !tbaa !9
  %157 = icmp ne i32 %156, 0
  br i1 %157, label %158, label %159

158:                                              ; preds = %150
  br label %224

159:                                              ; preds = %150
  %160 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %160, ptr %18, align 8, !tbaa !11
  store i64 4294967295, ptr %19, align 8, !tbaa !11
  %161 = load i64, ptr %19, align 8, !tbaa !11
  %162 = load i64, ptr %18, align 8, !tbaa !11
  %163 = and i64 %162, %161
  store i64 %163, ptr %18, align 8, !tbaa !11
  %164 = load i64, ptr %18, align 8, !tbaa !11
  %165 = icmp ne i64 %164, 0
  %166 = xor i1 %165, true
  %167 = zext i1 %166 to i32
  store i32 %167, ptr %15, align 4, !tbaa !9
  %168 = load i32, ptr %15, align 4, !tbaa !9
  %169 = icmp ne i32 %168, 0
  br i1 %169, label %170, label %171

170:                                              ; preds = %159
  br label %224

171:                                              ; preds = %159
  %172 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %172, ptr %18, align 8, !tbaa !11
  %173 = load i64, ptr %18, align 8, !tbaa !11
  %174 = trunc i64 %173 to i32
  store i32 %174, ptr %15, align 4, !tbaa !9
  %175 = load ptr, ptr %6, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.w2c_hermes, ptr %175, i32 0, i32 6
  %177 = load i32, ptr %15, align 4, !tbaa !9
  %178 = zext i32 %177 to i64
  %179 = add i64 %178, 20
  %180 = call i32 @i32_load(ptr noundef %176, i64 noundef %179)
  store i32 %180, ptr %15, align 4, !tbaa !9
  br label %181

181:                                              ; preds = %171, %109
  %182 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %182, ptr %10, align 4, !tbaa !9
  %183 = load i32, ptr %15, align 4, !tbaa !9
  %184 = zext i32 %183 to i64
  store i64 %184, ptr %18, align 8, !tbaa !11
  store i64 -1266637395197952, ptr %19, align 8, !tbaa !11
  %185 = load i64, ptr %19, align 8, !tbaa !11
  %186 = load i64, ptr %18, align 8, !tbaa !11
  %187 = or i64 %186, %185
  store i64 %187, ptr %18, align 8, !tbaa !11
  %188 = load ptr, ptr %6, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.w2c_hermes, ptr %188, i32 0, i32 6
  %190 = load i32, ptr %14, align 4, !tbaa !9
  %191 = zext i32 %190 to i64
  %192 = load i64, ptr %18, align 8, !tbaa !11
  call void @i64_store(ptr noundef %189, i64 noundef %191, i64 noundef %192)
  %193 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %193, ptr %14, align 4, !tbaa !9
  store i32 5468, ptr %15, align 4, !tbaa !9
  %194 = load i32, ptr %15, align 4, !tbaa !9
  %195 = load i32, ptr %14, align 4, !tbaa !9
  %196 = add i32 %195, %194
  store i32 %196, ptr %14, align 4, !tbaa !9
  %197 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %197, ptr %15, align 4, !tbaa !9
  %198 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %198, ptr %16, align 4, !tbaa !9
  %199 = load ptr, ptr %6, align 8, !tbaa !5
  %200 = load i32, ptr %14, align 4, !tbaa !9
  %201 = load i32, ptr %15, align 4, !tbaa !9
  %202 = load i32, ptr %16, align 4, !tbaa !9
  %203 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AgetStringPrim0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x29(ptr noundef %199, i32 noundef %200, i32 noundef %201, i32 noundef %202)
  store i32 %203, ptr %14, align 4, !tbaa !9
  %204 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %204, ptr %9, align 4, !tbaa !9
  %205 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %205, ptr %14, align 4, !tbaa !9
  store i32 1, ptr %15, align 4, !tbaa !9
  %206 = load ptr, ptr %6, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.w2c_hermes, ptr %206, i32 0, i32 6
  %208 = load i32, ptr %14, align 4, !tbaa !9
  %209 = zext i32 %208 to i64
  %210 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %207, i64 noundef %209, i32 noundef %210)
  %211 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %211, ptr %14, align 4, !tbaa !9
  %212 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %212, ptr %15, align 4, !tbaa !9
  %213 = load i32, ptr %15, align 4, !tbaa !9
  %214 = zext i32 %213 to i64
  store i64 %214, ptr %18, align 8, !tbaa !11
  store i64 -844424930131968, ptr %19, align 8, !tbaa !11
  %215 = load i64, ptr %19, align 8, !tbaa !11
  %216 = load i64, ptr %18, align 8, !tbaa !11
  %217 = or i64 %216, %215
  store i64 %217, ptr %18, align 8, !tbaa !11
  %218 = load ptr, ptr %6, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.w2c_hermes, ptr %218, i32 0, i32 6
  %220 = load i32, ptr %14, align 4, !tbaa !9
  %221 = zext i32 %220 to i64
  %222 = add i64 %221, 8
  %223 = load i64, ptr %18, align 8, !tbaa !11
  call void @i64_store(ptr noundef %219, i64 noundef %222, i64 noundef %223)
  br label %268

224:                                              ; preds = %170, %158
  %225 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %225, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %15, align 4, !tbaa !9
  %226 = load ptr, ptr %6, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.w2c_hermes, ptr %226, i32 0, i32 6
  %228 = load i32, ptr %14, align 4, !tbaa !9
  %229 = zext i32 %228 to i64
  %230 = add i64 %229, 40
  %231 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %227, i64 noundef %230, i32 noundef %231)
  %232 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %232, ptr %14, align 4, !tbaa !9
  store i64 244813135873, ptr %18, align 8, !tbaa !11
  %233 = load ptr, ptr %6, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.w2c_hermes, ptr %233, i32 0, i32 6
  %235 = load i32, ptr %14, align 4, !tbaa !9
  %236 = zext i32 %235 to i64
  %237 = add i64 %236, 32
  %238 = load i64, ptr %18, align 8, !tbaa !11
  call void @i64_store(ptr noundef %234, i64 noundef %237, i64 noundef %238)
  %239 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %239, ptr %14, align 4, !tbaa !9
  store i32 3, ptr %15, align 4, !tbaa !9
  %240 = load ptr, ptr %6, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.w2c_hermes, ptr %240, i32 0, i32 6
  %242 = load i32, ptr %14, align 4, !tbaa !9
  %243 = zext i32 %242 to i64
  %244 = add i64 %243, 16
  %245 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %241, i64 noundef %244, i32 noundef %245)
  %246 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %246, ptr %14, align 4, !tbaa !9
  store i32 43164, ptr %15, align 4, !tbaa !9
  %247 = load ptr, ptr %6, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.w2c_hermes, ptr %247, i32 0, i32 6
  %249 = load i32, ptr %14, align 4, !tbaa !9
  %250 = zext i32 %249 to i64
  %251 = add i64 %250, 8
  %252 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %248, i64 noundef %251, i32 noundef %252)
  %253 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %253, ptr %14, align 4, !tbaa !9
  %254 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %254, ptr %15, align 4, !tbaa !9
  %255 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %255, ptr %16, align 4, !tbaa !9
  store i32 8, ptr %17, align 4, !tbaa !9
  %256 = load i32, ptr %17, align 4, !tbaa !9
  %257 = load i32, ptr %16, align 4, !tbaa !9
  %258 = add i32 %257, %256
  store i32 %258, ptr %16, align 4, !tbaa !9
  %259 = load ptr, ptr %6, align 8, !tbaa !5
  %260 = load i32, ptr %15, align 4, !tbaa !9
  %261 = load i32, ptr %16, align 4, !tbaa !9
  %262 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef %259, i32 noundef %260, i32 noundef %261)
  store i32 %262, ptr %15, align 4, !tbaa !9
  %263 = load ptr, ptr %6, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.w2c_hermes, ptr %263, i32 0, i32 6
  %265 = load i32, ptr %14, align 4, !tbaa !9
  %266 = zext i32 %265 to i64
  %267 = load i32, ptr %15, align 4, !tbaa !9
  call void @i32_store(ptr noundef %264, i64 noundef %266, i32 noundef %267)
  br label %268

268:                                              ; preds = %224, %181
  %269 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %269, ptr %14, align 4, !tbaa !9
  store i32 48, ptr %15, align 4, !tbaa !9
  %270 = load i32, ptr %15, align 4, !tbaa !9
  %271 = load i32, ptr %14, align 4, !tbaa !9
  %272 = add i32 %271, %270
  store i32 %272, ptr %14, align 4, !tbaa !9
  %273 = load i32, ptr %14, align 4, !tbaa !9
  %274 = load ptr, ptr %6, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct.w2c_hermes, ptr %274, i32 0, i32 3
  store i32 %273, ptr %275, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  ret void
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!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 void @i32_store(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #0

; 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 @i64_store(ptr noundef, i64 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

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1

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

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AgetStringPrim0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AsymbolPrototypeDescriptionGetter0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #2 {
  %6 = getelementptr inbounds i8, ptr %0, i64 24
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = add i32 %7, -48
  store i32 %8, ptr %6, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 40
  %10 = zext i32 %3 to i64
  %11 = add nuw nsw i64 %10, 4
  %12 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %11)
  %13 = zext i32 %12 to i64
  %14 = add nuw nsw i64 %13, 164
  %15 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %14)
  %16 = add nuw nsw i64 %13, 168
  %17 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %16)
  %18 = icmp ult i32 %15, %17
  br i1 %18, label %19, label %22

19:                                               ; preds = %5
  %20 = add i32 %15, 8
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %14, i32 noundef %20)
  %21 = zext i32 %15 to i64
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %21, i64 noundef -1266636858327041)
  br label %24

22:                                               ; preds = %5
  %23 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef nonnull %0, i32 noundef %12, i64 noundef -1266636858327041) #3
  br label %24

24:                                               ; preds = %22, %19
  %.0140 = phi i32 [ %15, %19 ], [ %23, %22 ]
  %25 = zext i32 %4 to i64
  %26 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %25)
  %27 = zext i32 %26 to i64
  %28 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %27)
  %.mask = and i64 %28, -140737488355328
  %29 = icmp eq i64 %.mask, -1266637395197952
  br i1 %29, label %30, label %32

30:                                               ; preds = %24
  %31 = trunc i64 %28 to i32
  br label %46

32:                                               ; preds = %24
  %33 = icmp ugt i64 %28, -844424930131969
  br i1 %33, label %34, label %39

34:                                               ; preds = %32
  %35 = and i64 %28, 4294967295
  %36 = add nuw nsw i64 %35, 3
  %37 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %36)
  %.mask143 = and i32 %37, 255
  %38 = icmp eq i32 %.mask143, 57
  br i1 %38, label %42, label %39

39:                                               ; preds = %34, %32
  %40 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef 67200)
  %.pre = and i64 %40, 4294967295
  %41 = icmp ult i64 %40, -844424930131968
  br label %42

42:                                               ; preds = %34, %39
  %.pre-phi = phi i64 [ %35, %34 ], [ %.pre, %39 ]
  %.0139 = phi i1 [ false, %34 ], [ %41, %39 ]
  %.not = icmp eq i64 %.pre-phi, 0
  %or.cond = or i1 %.0139, %.not
  br i1 %or.cond, label %56, label %43

43:                                               ; preds = %42
  %44 = add nuw nsw i64 %.pre-phi, 20
  %45 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %44)
  br label %46

46:                                               ; preds = %43, %30
  %.0 = phi i32 [ %31, %30 ], [ %45, %43 ]
  %47 = zext i32 %.0 to i64
  %48 = or disjoint i64 %47, -1266637395197952
  %49 = zext i32 %.0140 to i64
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %49, i64 noundef %48)
  %50 = add i32 %3, 5468
  %51 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AgetStringPrim0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x29(ptr noundef nonnull %0, i32 noundef %50, i32 noundef %3, i32 noundef %.0) #3
  %52 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %52, i32 noundef 1)
  %53 = zext i32 %51 to i64
  %54 = or disjoint i64 %53, -844424930131968
  %55 = add nuw nsw i64 %52, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %55, i64 noundef %54)
  br label %65

56:                                               ; preds = %42
  %57 = zext i32 %8 to i64
  %58 = add nuw nsw i64 %57, 40
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %58, i32 noundef 0)
  %59 = add nuw nsw i64 %57, 32
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %59, i64 noundef 244813135873)
  %60 = add nuw nsw i64 %57, 16
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %60, i32 noundef 3)
  %61 = add nuw nsw i64 %57, 8
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %61, i32 noundef 43164)
  %62 = add i32 %7, -40
  %63 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %62) #3
  %64 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %64, i32 noundef %63)
  br label %65

65:                                               ; preds = %56, %46
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret void
}

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 = { "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, !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,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass