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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store(ptr noundef, i64 noundef, i32 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_store8(ptr noundef, i64 noundef, i32 noundef) #1

declare void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef, i32 noundef) #2

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABCProviderFromSrc0x3A0x3AcreateBCProviderFromSrc0x28std0x3A0x3A_0x5F20x3A0x3Aunique_ptr0x3Chermes0x3A0x3ABuffer0x2C0x20std0x3A0x3A_0x5F20x3A0x3Adefault_delete0x3Chermes0x3A0x3ABuffer0x3E0x3E0x2C0x20llvh0x3A0x3AStringRef0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aunique_ptr0x3Chermes0x3A0x3ASourceMap0x2C0x20std0x3A0x3A_0x5F20x3A0x3Adefault_delete0x3Chermes0x3A0x3ASourceMap0x3E0x3E0x2C0x20hermes0x3A0x3Ahbc0x3A0x3ACompileFlags0x20const0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #3 {
  %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 i64, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i64, align 8
  %27 = 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) #4
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  store i64 0, ptr %14, align 8, !tbaa !11
  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 4, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #4
  %28 = load ptr, ptr %7, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.w2c_hermes, ptr %28, i32 0, i32 3
  %30 = load i32, ptr %29, align 8, !tbaa !13
  store i32 %30, ptr %15, align 4, !tbaa !9
  store i32 80, ptr %16, align 4, !tbaa !9
  %31 = load i32, ptr %16, align 4, !tbaa !9
  %32 = load i32, ptr %15, align 4, !tbaa !9
  %33 = sub i32 %32, %31
  store i32 %33, ptr %15, align 4, !tbaa !9
  %34 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %34, ptr %13, align 4, !tbaa !9
  %35 = load i32, ptr %15, align 4, !tbaa !9
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.w2c_hermes, ptr %36, i32 0, i32 3
  store i32 %35, ptr %37, align 8, !tbaa !13
  %38 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %38, ptr %15, align 4, !tbaa !9
  %39 = load ptr, ptr %7, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.w2c_hermes, ptr %39, i32 0, i32 6
  %41 = load i32, ptr %15, align 4, !tbaa !9
  %42 = zext i32 %41 to i64
  %43 = call i64 @i64_load(ptr noundef %40, i64 noundef %42)
  store i64 %43, ptr %26, align 8, !tbaa !11
  %44 = load i64, ptr %26, align 8, !tbaa !11
  store i64 %44, ptr %14, align 8, !tbaa !11
  %45 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %45, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %46 = load ptr, ptr %7, 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, 68
  %51 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %47, i64 noundef %50, i32 noundef %51)
  %52 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %52, ptr %15, align 4, !tbaa !9
  store i64 0, ptr %27, align 8, !tbaa !11
  %53 = load ptr, ptr %7, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.w2c_hermes, ptr %53, i32 0, i32 6
  %55 = load i32, ptr %15, align 4, !tbaa !9
  %56 = zext i32 %55 to i64
  %57 = add i64 %56, 60
  %58 = load i64, ptr %27, align 8, !tbaa !11
  call void @i64_store(ptr noundef %54, i64 noundef %57, i64 noundef %58)
  %59 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %59, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.w2c_hermes, ptr %60, i32 0, i32 6
  %62 = load i32, ptr %15, align 4, !tbaa !9
  %63 = zext i32 %62 to i64
  %64 = add i64 %63, 48
  %65 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %61, i64 noundef %64, i32 noundef %65)
  %66 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %66, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %67 = load ptr, ptr %7, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.w2c_hermes, ptr %67, i32 0, i32 6
  %69 = load i32, ptr %15, align 4, !tbaa !9
  %70 = zext i32 %69 to i64
  %71 = add i64 %70, 28
  %72 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %68, i64 noundef %71, i32 noundef %72)
  %73 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %73, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %74 = load ptr, ptr %7, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.w2c_hermes, ptr %74, i32 0, i32 6
  %76 = load i32, ptr %15, align 4, !tbaa !9
  %77 = zext i32 %76 to i64
  %78 = add i64 %77, 24
  %79 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %75, i64 noundef %78, i32 noundef %79)
  %80 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %80, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %81 = load ptr, ptr %7, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.w2c_hermes, ptr %81, i32 0, i32 6
  %83 = load i32, ptr %15, align 4, !tbaa !9
  %84 = zext i32 %83 to i64
  %85 = add i64 %84, 18
  %86 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %82, i64 noundef %85, i32 noundef %86)
  %87 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %87, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %88 = load ptr, ptr %7, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.w2c_hermes, ptr %88, i32 0, i32 6
  %90 = load i32, ptr %15, align 4, !tbaa !9
  %91 = zext i32 %90 to i64
  %92 = add i64 %91, 16
  %93 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %89, i64 noundef %92, i32 noundef %93)
  %94 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %94, ptr %15, align 4, !tbaa !9
  store i32 12, ptr %16, align 4, !tbaa !9
  %95 = load ptr, ptr %7, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.w2c_hermes, ptr %95, i32 0, i32 6
  %97 = load i32, ptr %15, align 4, !tbaa !9
  %98 = zext i32 %97 to i64
  %99 = add i64 %98, 12
  %100 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %96, i64 noundef %99, i32 noundef %100)
  %101 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %101, ptr %15, align 4, !tbaa !9
  store i32 0, 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 %15, align 4, !tbaa !9
  %105 = zext i32 %104 to i64
  %106 = add i64 %105, 19
  %107 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %103, i64 noundef %106, i32 noundef %107)
  %108 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %108, ptr %15, align 4, !tbaa !9
  %109 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %109, ptr %27, align 8, !tbaa !11
  %110 = load ptr, ptr %7, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.w2c_hermes, ptr %110, i32 0, i32 6
  %112 = load i32, ptr %15, align 4, !tbaa !9
  %113 = zext i32 %112 to i64
  %114 = load i64, ptr %27, align 8, !tbaa !11
  call void @i64_store(ptr noundef %111, i64 noundef %113, i64 noundef %114)
  %115 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %115, ptr %15, align 4, !tbaa !9
  %116 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %116, ptr %27, align 8, !tbaa !11
  %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 %15, align 4, !tbaa !9
  %120 = zext i32 %119 to i64
  %121 = add i64 %120, 72
  %122 = load i64, ptr %27, align 8, !tbaa !11
  call void @i64_store(ptr noundef %118, i64 noundef %121, i64 noundef %122)
  %123 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %123, ptr %15, align 4, !tbaa !9
  %124 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %124, ptr %16, align 4, !tbaa !9
  %125 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %125, ptr %17, align 4, !tbaa !9
  %126 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %126, ptr %18, align 4, !tbaa !9
  %127 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %127, ptr %19, align 4, !tbaa !9
  %128 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %128, ptr %20, align 4, !tbaa !9
  store i32 60, ptr %21, align 4, !tbaa !9
  %129 = load i32, ptr %21, align 4, !tbaa !9
  %130 = load i32, ptr %20, align 4, !tbaa !9
  %131 = add i32 %130, %129
  store i32 %131, ptr %20, align 4, !tbaa !9
  store i32 0, ptr %21, align 4, !tbaa !9
  store i32 0, ptr %22, align 4, !tbaa !9
  %132 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %132, ptr %23, align 4, !tbaa !9
  store i32 32, ptr %24, align 4, !tbaa !9
  %133 = load i32, ptr %24, align 4, !tbaa !9
  %134 = load i32, ptr %23, align 4, !tbaa !9
  %135 = add i32 %134, %133
  store i32 %135, ptr %23, align 4, !tbaa !9
  %136 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %136, ptr %24, align 4, !tbaa !9
  store i32 12, ptr %25, align 4, !tbaa !9
  %137 = load i32, ptr %25, align 4, !tbaa !9
  %138 = load i32, ptr %24, align 4, !tbaa !9
  %139 = add i32 %138, %137
  store i32 %139, ptr %24, align 4, !tbaa !9
  %140 = load ptr, ptr %7, align 8, !tbaa !5
  %141 = load i32, ptr %15, align 4, !tbaa !9
  %142 = load i32, ptr %16, align 4, !tbaa !9
  %143 = load i32, ptr %17, align 4, !tbaa !9
  %144 = load i32, ptr %18, align 4, !tbaa !9
  %145 = load i32, ptr %19, align 4, !tbaa !9
  %146 = load i32, ptr %20, align 4, !tbaa !9
  %147 = load i32, ptr %21, align 4, !tbaa !9
  %148 = load i32, ptr %22, align 4, !tbaa !9
  %149 = load i32, ptr %23, align 4, !tbaa !9
  %150 = load i32, ptr %24, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABCProviderFromSrc0x3A0x3AcreateBCProviderFromSrcImpl0x28std0x3A0x3A_0x5F20x3A0x3Aunique_ptr0x3Chermes0x3A0x3ABuffer0x2C0x20std0x3A0x3A_0x5F20x3A0x3Adefault_delete0x3Chermes0x3A0x3ABuffer0x3E0x3E0x2C0x20llvh0x3A0x3AStringRef0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aunique_ptr0x3Chermes0x3A0x3ASourceMap0x2C0x20std0x3A0x3A_0x5F20x3A0x3Adefault_delete0x3Chermes0x3A0x3ASourceMap0x3E0x3E0x2C0x20hermes0x3A0x3Ahbc0x3A0x3ACompileFlags0x20const0x260x2C0x20hermes0x3A0x3AScopeChain0x20const0x260x2C0x20void0x200x280x2A0x290x28llvh0x3A0x3ASMDiagnostic0x20const0x260x2C0x20void0x2A0x290x2C0x20void0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Afunction0x3Cvoid0x200x28hermes0x3A0x3AModule0x260x290x3E0x20const0x260x2C0x20hermes0x3A0x3ABytecodeGenerationOptions0x20const0x260x29(ptr noundef %140, i32 noundef %141, i32 noundef %142, i32 noundef %143, i32 noundef %144, i32 noundef %145, i32 noundef %146, i32 noundef %147, i32 noundef %148, i32 noundef %149, i32 noundef %150)
  %151 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %151, ptr %15, align 4, !tbaa !9
  %152 = load ptr, ptr %7, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.w2c_hermes, ptr %152, i32 0, i32 6
  %154 = load i32, ptr %15, align 4, !tbaa !9
  %155 = zext i32 %154 to i64
  %156 = add i64 %155, 60
  %157 = call i32 @i32_load(ptr noundef %153, i64 noundef %156)
  store i32 %157, ptr %15, align 4, !tbaa !9
  %158 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %158, ptr %9, align 4, !tbaa !9
  %159 = load i32, ptr %15, align 4, !tbaa !9
  %160 = icmp ne i32 %159, 0
  br i1 %160, label %161, label %240

161:                                              ; preds = %6
  %162 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %162, ptr %15, align 4, !tbaa !9
  %163 = load ptr, ptr %7, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.w2c_hermes, ptr %163, i32 0, i32 6
  %165 = load i32, ptr %15, align 4, !tbaa !9
  %166 = zext i32 %165 to i64
  %167 = add i64 %166, 64
  %168 = call i32 @i32_load(ptr noundef %164, i64 noundef %167)
  store i32 %168, ptr %15, align 4, !tbaa !9
  %169 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %169, ptr %12, align 4, !tbaa !9
  %170 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %170, ptr %16, align 4, !tbaa !9
  %171 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %171, ptr %10, align 4, !tbaa !9
  %172 = load i32, ptr %15, align 4, !tbaa !9
  %173 = load i32, ptr %16, align 4, !tbaa !9
  %174 = icmp ne i32 %172, %173
  %175 = zext i1 %174 to i32
  store i32 %175, ptr %15, align 4, !tbaa !9
  %176 = load i32, ptr %15, align 4, !tbaa !9
  %177 = icmp ne i32 %176, 0
  br i1 %177, label %178, label %228

178:                                              ; preds = %161
  br label %179

179:                                              ; preds = %218, %178
  %180 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %180, ptr %15, align 4, !tbaa !9
  store i32 12, ptr %16, align 4, !tbaa !9
  %181 = load i32, ptr %16, align 4, !tbaa !9
  %182 = load i32, ptr %15, align 4, !tbaa !9
  %183 = sub i32 %182, %181
  store i32 %183, ptr %15, align 4, !tbaa !9
  %184 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %184, ptr %10, align 4, !tbaa !9
  %185 = load ptr, ptr %7, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.w2c_hermes, ptr %185, i32 0, i32 6
  %187 = load i32, ptr %15, align 4, !tbaa !9
  %188 = zext i32 %187 to i64
  %189 = call i32 @i32_load(ptr noundef %186, i64 noundef %188)
  store i32 %189, ptr %15, align 4, !tbaa !9
  %190 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %190, ptr %11, align 4, !tbaa !9
  %191 = load i32, ptr %15, align 4, !tbaa !9
  %192 = icmp ne i32 %191, 0
  br i1 %192, label %193, label %207

193:                                              ; preds = %179
  %194 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %194, ptr %15, align 4, !tbaa !9
  store i32 8, ptr %16, align 4, !tbaa !9
  %195 = load i32, ptr %16, align 4, !tbaa !9
  %196 = load i32, ptr %15, align 4, !tbaa !9
  %197 = sub i32 %196, %195
  store i32 %197, ptr %15, align 4, !tbaa !9
  %198 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %198, ptr %16, align 4, !tbaa !9
  %199 = load ptr, ptr %7, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.w2c_hermes, ptr %199, i32 0, i32 6
  %201 = load i32, ptr %15, align 4, !tbaa !9
  %202 = zext i32 %201 to i64
  %203 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %200, i64 noundef %202, i32 noundef %203)
  %204 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %204, ptr %15, align 4, !tbaa !9
  %205 = load ptr, ptr %7, align 8, !tbaa !5
  %206 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef %205, i32 noundef %206)
  br label %207

207:                                              ; preds = %193, %179
  %208 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %208, ptr %15, align 4, !tbaa !9
  %209 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %209, ptr %12, align 4, !tbaa !9
  %210 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %210, ptr %15, align 4, !tbaa !9
  %211 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %211, ptr %16, align 4, !tbaa !9
  %212 = load i32, ptr %15, align 4, !tbaa !9
  %213 = load i32, ptr %16, align 4, !tbaa !9
  %214 = icmp ne i32 %212, %213
  %215 = zext i1 %214 to i32
  store i32 %215, ptr %15, align 4, !tbaa !9
  %216 = load i32, ptr %15, align 4, !tbaa !9
  %217 = icmp ne i32 %216, 0
  br i1 %217, label %218, label %219

218:                                              ; preds = %207
  br label %179

219:                                              ; preds = %207
  %220 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %220, ptr %15, align 4, !tbaa !9
  %221 = load ptr, ptr %7, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.w2c_hermes, ptr %221, i32 0, i32 6
  %223 = load i32, ptr %15, align 4, !tbaa !9
  %224 = zext i32 %223 to i64
  %225 = add i64 %224, 60
  %226 = call i32 @i32_load(ptr noundef %222, i64 noundef %225)
  store i32 %226, ptr %15, align 4, !tbaa !9
  %227 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %227, ptr %10, align 4, !tbaa !9
  br label %228

228:                                              ; preds = %219, %161
  %229 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %229, ptr %15, align 4, !tbaa !9
  %230 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %230, ptr %16, align 4, !tbaa !9
  %231 = load ptr, ptr %7, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.w2c_hermes, ptr %231, i32 0, i32 6
  %233 = load i32, ptr %15, align 4, !tbaa !9
  %234 = zext i32 %233 to i64
  %235 = add i64 %234, 64
  %236 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %232, i64 noundef %235, i32 noundef %236)
  %237 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %237, ptr %15, align 4, !tbaa !9
  %238 = load ptr, ptr %7, align 8, !tbaa !5
  %239 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef %238, i32 noundef %239)
  br label %240

240:                                              ; preds = %228, %6
  %241 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %241, ptr %15, align 4, !tbaa !9
  store i32 80, ptr %16, align 4, !tbaa !9
  %242 = load i32, ptr %16, align 4, !tbaa !9
  %243 = load i32, ptr %15, align 4, !tbaa !9
  %244 = add i32 %243, %242
  store i32 %244, ptr %15, align 4, !tbaa !9
  %245 = load i32, ptr %15, align 4, !tbaa !9
  %246 = load ptr, ptr %7, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.w2c_hermes, ptr %246, i32 0, i32 3
  store i32 %245, ptr %247, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, 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 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  ret void
}

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

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 i32 @i32_load(ptr 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_store(ptr noundef, i64 noundef, i32 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_store8(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #0

declare void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABCProviderFromSrc0x3A0x3AcreateBCProviderFromSrc0x28std0x3A0x3A_0x5F20x3A0x3Aunique_ptr0x3Chermes0x3A0x3ABuffer0x2C0x20std0x3A0x3A_0x5F20x3A0x3Adefault_delete0x3Chermes0x3A0x3ABuffer0x3E0x3E0x2C0x20llvh0x3A0x3AStringRef0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aunique_ptr0x3Chermes0x3A0x3ASourceMap0x2C0x20std0x3A0x3A_0x5F20x3A0x3Adefault_delete0x3Chermes0x3A0x3ASourceMap0x3E0x3E0x2C0x20hermes0x3A0x3Ahbc0x3A0x3ACompileFlags0x20const0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #2 {
  %7 = getelementptr inbounds i8, ptr %0, i64 24
  %8 = load i32, ptr %7, align 8, !tbaa !5
  %9 = add i32 %8, -80
  store i32 %9, ptr %7, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %0, i64 40
  %11 = zext i32 %3 to i64
  %12 = tail call i64 @i64_load(ptr noundef nonnull %10, i64 noundef %11)
  %13 = zext i32 %9 to i64
  %14 = add nuw nsw i64 %13, 68
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %14, i32 noundef 0)
  %15 = add nuw nsw i64 %13, 60
  tail call void @i64_store(ptr noundef nonnull %10, i64 noundef %15, i64 noundef 0)
  %16 = add nuw nsw i64 %13, 48
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %16, i32 noundef 0)
  %17 = add nuw nsw i64 %13, 28
  tail call void @i32_store8(ptr noundef nonnull %10, i64 noundef %17, i32 noundef 0)
  %18 = add nuw nsw i64 %13, 24
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %18, i32 noundef 0)
  %19 = add nuw nsw i64 %13, 18
  tail call void @i32_store8(ptr noundef nonnull %10, i64 noundef %19, i32 noundef 1)
  %20 = add nuw nsw i64 %13, 16
  tail call void @i32_store16(ptr noundef nonnull %10, i64 noundef %20, i32 noundef 0)
  %21 = add nuw nsw i64 %13, 12
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %21, i32 noundef 12)
  %22 = add nuw nsw i64 %13, 19
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %22, i32 noundef 0)
  tail call void @i64_store(ptr noundef nonnull %10, i64 noundef %13, i64 noundef %12)
  %23 = add nuw nsw i64 %13, 72
  tail call void @i64_store(ptr noundef nonnull %10, i64 noundef %23, i64 noundef %12)
  %24 = add i32 %8, -20
  %25 = add i32 %8, -48
  %26 = add i32 %8, -68
  tail call void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABCProviderFromSrc0x3A0x3AcreateBCProviderFromSrcImpl0x28std0x3A0x3A_0x5F20x3A0x3Aunique_ptr0x3Chermes0x3A0x3ABuffer0x2C0x20std0x3A0x3A_0x5F20x3A0x3Adefault_delete0x3Chermes0x3A0x3ABuffer0x3E0x3E0x2C0x20llvh0x3A0x3AStringRef0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aunique_ptr0x3Chermes0x3A0x3ASourceMap0x2C0x20std0x3A0x3A_0x5F20x3A0x3Adefault_delete0x3Chermes0x3A0x3ASourceMap0x3E0x3E0x2C0x20hermes0x3A0x3Ahbc0x3A0x3ACompileFlags0x20const0x260x2C0x20hermes0x3A0x3AScopeChain0x20const0x260x2C0x20void0x200x280x2A0x290x28llvh0x3A0x3ASMDiagnostic0x20const0x260x2C0x20void0x2A0x290x2C0x20void0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Afunction0x3Cvoid0x200x28hermes0x3A0x3AModule0x260x290x3E0x20const0x260x2C0x20hermes0x3A0x3ABytecodeGenerationOptions0x20const0x260x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %9, i32 noundef %4, i32 noundef %5, i32 noundef %24, i32 noundef 0, i32 noundef 0, i32 noundef %25, i32 noundef %26)
  %27 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %15)
  %.not = icmp eq i32 %27, 0
  br i1 %.not, label %41, label %28

28:                                               ; preds = %6
  %29 = add nuw nsw i64 %13, 64
  %30 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %29)
  %.not141 = icmp eq i32 %30, %27
  br i1 %.not141, label %40, label %.preheader

.preheader:                                       ; preds = %28, %37
  %.0136 = phi i32 [ %31, %37 ], [ %30, %28 ]
  %31 = add i32 %.0136, -12
  %32 = zext i32 %31 to i64
  %33 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %32)
  %.not142 = icmp eq i32 %33, 0
  br i1 %.not142, label %37, label %34

34:                                               ; preds = %.preheader
  %35 = add i32 %.0136, -8
  %36 = zext i32 %35 to i64
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %36, i32 noundef %33)
  tail call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef %0, i32 noundef %33) #3
  br label %37

37:                                               ; preds = %34, %.preheader
  %.not143 = icmp eq i32 %27, %31
  br i1 %.not143, label %38, label %.preheader

38:                                               ; preds = %37
  %39 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %15)
  br label %40

40:                                               ; preds = %38, %28
  %.0 = phi i32 [ %39, %38 ], [ %27, %28 ]
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %29, i32 noundef %27)
  tail call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef %0, i32 noundef %.0) #3
  br label %41

41:                                               ; preds = %40, %6
  store i32 %8, ptr %7, align 8, !tbaa !5
  ret void
}

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

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: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass