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

; 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_load8_u(ptr 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: noreturn
declare void @wasm_rt_trap(i32 noundef) #2

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

declare void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #3

declare void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #3

declare i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetOperand0x28unsigned0x20int0x290x20const(ptr noundef, i32 noundef, i32 noundef) #3

declare i32 @w2c_hermes_hermes0x3A0x3ARegisterAllocator0x3A0x3AgetRegister0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef, i32 noundef, i32 noundef) #3

declare i32 @w2c_hermes_hermes0x3A0x3AVariable0x3A0x3AgetIndexInVariableList0x280x290x20const(ptr noundef, i32 noundef) #3

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3AgenerateHBCStoreToEnvironmentInst0x28hermes0x3A0x3AHBCStoreToEnvironmentInst0x2A0x2C0x20hermes0x3A0x3ABasicBlock0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #4 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %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 i64, align 8
  %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 i32, align 4
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store i32 %2, ptr %7, align 4, !tbaa !9
  store i32 %3, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  store i64 0, ptr %13, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  store i64 0, ptr %14, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  store i64 0, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %25 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %25, ptr %16, align 4, !tbaa !9
  store i32 2, ptr %17, align 4, !tbaa !9
  %26 = load ptr, ptr %5, align 8, !tbaa !5
  %27 = load i32, ptr %16, align 4, !tbaa !9
  %28 = load i32, ptr %17, align 4, !tbaa !9
  %29 = call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetOperand0x28unsigned0x20int0x290x20const(ptr noundef %26, i32 noundef %27, i32 noundef %28)
  store i32 %29, ptr %16, align 4, !tbaa !9
  %30 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %30, ptr %10, align 4, !tbaa !9
  %31 = load i32, ptr %16, align 4, !tbaa !9
  %32 = icmp ne i32 %31, 0
  br i1 %32, label %33, label %335

33:                                               ; preds = %4
  %34 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %34, ptr %16, align 4, !tbaa !9
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.w2c_hermes, ptr %35, i32 0, i32 6
  %37 = load i32, ptr %16, align 4, !tbaa !9
  %38 = zext i32 %37 to i64
  %39 = call i32 @i32_load8_u(ptr noundef %36, i64 noundef %38)
  store i32 %39, ptr %16, align 4, !tbaa !9
  store i32 124, ptr %17, align 4, !tbaa !9
  %40 = load i32, ptr %16, align 4, !tbaa !9
  %41 = load i32, ptr %17, align 4, !tbaa !9
  %42 = icmp ne i32 %40, %41
  %43 = zext i1 %42 to i32
  store i32 %43, ptr %16, align 4, !tbaa !9
  %44 = load i32, ptr %16, align 4, !tbaa !9
  %45 = icmp ne i32 %44, 0
  br i1 %45, label %46, label %47

46:                                               ; preds = %33
  br label %353

47:                                               ; preds = %33
  %48 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %48, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = load i32, ptr %16, align 4, !tbaa !9
  %51 = load i32, ptr %17, align 4, !tbaa !9
  %52 = call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetOperand0x28unsigned0x20int0x290x20const(ptr noundef %49, i32 noundef %50, i32 noundef %51)
  store i32 %52, ptr %16, align 4, !tbaa !9
  %53 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %53, ptr %9, align 4, !tbaa !9
  %54 = load i32, ptr %16, align 4, !tbaa !9
  %55 = icmp ne i32 %54, 0
  %56 = xor i1 %55, true
  %57 = zext i1 %56 to i32
  store i32 %57, ptr %16, align 4, !tbaa !9
  %58 = load i32, ptr %16, align 4, !tbaa !9
  %59 = icmp ne i32 %58, 0
  br i1 %59, label %60, label %61

60:                                               ; preds = %47
  br label %371

61:                                               ; preds = %47
  %62 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %62, ptr %16, align 4, !tbaa !9
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.w2c_hermes, ptr %63, i32 0, i32 6
  %65 = load i32, ptr %16, align 4, !tbaa !9
  %66 = zext i32 %65 to i64
  %67 = call i32 @i32_load8_u(ptr noundef %64, i64 noundef %66)
  store i32 %67, ptr %16, align 4, !tbaa !9
  %68 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %68, ptr %11, align 4, !tbaa !9
  store i32 2, ptr %17, align 4, !tbaa !9
  %69 = load i32, ptr %17, align 4, !tbaa !9
  %70 = load i32, ptr %16, align 4, !tbaa !9
  %71 = sub i32 %70, %69
  store i32 %71, ptr %16, align 4, !tbaa !9
  store i32 255, ptr %17, align 4, !tbaa !9
  %72 = load i32, ptr %17, align 4, !tbaa !9
  %73 = load i32, ptr %16, align 4, !tbaa !9
  %74 = and i32 %73, %72
  store i32 %74, ptr %16, align 4, !tbaa !9
  store i32 106, ptr %17, align 4, !tbaa !9
  %75 = load i32, ptr %16, align 4, !tbaa !9
  %76 = load i32, ptr %17, align 4, !tbaa !9
  %77 = icmp ule i32 %75, %76
  %78 = zext i1 %77 to i32
  store i32 %78, ptr %16, align 4, !tbaa !9
  %79 = load i32, ptr %16, align 4, !tbaa !9
  %80 = icmp ne i32 %79, 0
  br i1 %80, label %81, label %94

81:                                               ; preds = %61
  %82 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %82, ptr %16, align 4, !tbaa !9
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.w2c_hermes, ptr %83, i32 0, i32 6
  %85 = load i32, ptr %16, align 4, !tbaa !9
  %86 = zext i32 %85 to i64
  %87 = add i64 %86, 8
  %88 = call i32 @i32_load(ptr noundef %84, i64 noundef %87)
  store i32 %88, ptr %16, align 4, !tbaa !9
  %89 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %89, ptr %17, align 4, !tbaa !9
  %90 = load ptr, ptr %5, align 8, !tbaa !5
  %91 = load i32, ptr %16, align 4, !tbaa !9
  %92 = load i32, ptr %17, align 4, !tbaa !9
  %93 = call i32 @w2c_hermes_hermes0x3A0x3ARegisterAllocator0x3A0x3AgetRegister0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %90, i32 noundef %91, i32 noundef %92)
  store i32 %93, ptr %16, align 4, !tbaa !9
  br label %111

94:                                               ; preds = %61
  %95 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %95, ptr %16, align 4, !tbaa !9
  store i32 255, ptr %17, align 4, !tbaa !9
  %96 = load i32, ptr %17, align 4, !tbaa !9
  %97 = load i32, ptr %16, align 4, !tbaa !9
  %98 = and i32 %97, %96
  store i32 %98, ptr %16, align 4, !tbaa !9
  store i32 124, ptr %17, align 4, !tbaa !9
  %99 = load i32, ptr %16, align 4, !tbaa !9
  %100 = load i32, ptr %17, align 4, !tbaa !9
  %101 = icmp ne i32 %99, %100
  %102 = zext i1 %101 to i32
  store i32 %102, ptr %16, align 4, !tbaa !9
  %103 = load i32, ptr %16, align 4, !tbaa !9
  %104 = icmp ne i32 %103, 0
  br i1 %104, label %105, label %106

105:                                              ; preds = %94
  br label %389

106:                                              ; preds = %94
  %107 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %107, ptr %16, align 4, !tbaa !9
  %108 = load ptr, ptr %5, align 8, !tbaa !5
  %109 = load i32, ptr %16, align 4, !tbaa !9
  %110 = call i32 @w2c_hermes_hermes0x3A0x3AVariable0x3A0x3AgetIndexInVariableList0x280x290x20const(ptr noundef %108, i32 noundef %109)
  store i32 %110, ptr %16, align 4, !tbaa !9
  br label %111

111:                                              ; preds = %106, %81
  %112 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %112, ptr %11, align 4, !tbaa !9
  %113 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %113, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %114 = load ptr, ptr %5, align 8, !tbaa !5
  %115 = load i32, ptr %16, align 4, !tbaa !9
  %116 = load i32, ptr %17, align 4, !tbaa !9
  %117 = call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetOperand0x28unsigned0x20int0x290x20const(ptr noundef %114, i32 noundef %115, i32 noundef %116)
  store i32 %117, ptr %16, align 4, !tbaa !9
  %118 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %118, ptr %9, align 4, !tbaa !9
  %119 = load i32, ptr %16, align 4, !tbaa !9
  %120 = icmp ne i32 %119, 0
  %121 = xor i1 %120, true
  %122 = zext i1 %121 to i32
  store i32 %122, ptr %16, align 4, !tbaa !9
  %123 = load i32, ptr %16, align 4, !tbaa !9
  %124 = icmp ne i32 %123, 0
  br i1 %124, label %125, label %126

125:                                              ; preds = %111
  br label %402

126:                                              ; preds = %111
  %127 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %127, ptr %16, align 4, !tbaa !9
  %128 = load ptr, ptr %5, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.w2c_hermes, ptr %128, i32 0, i32 6
  %130 = load i32, ptr %16, align 4, !tbaa !9
  %131 = zext i32 %130 to i64
  %132 = call i32 @i32_load8_u(ptr noundef %129, i64 noundef %131)
  store i32 %132, ptr %16, align 4, !tbaa !9
  %133 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %133, ptr %12, align 4, !tbaa !9
  store i32 2, ptr %17, align 4, !tbaa !9
  %134 = load i32, ptr %17, align 4, !tbaa !9
  %135 = load i32, ptr %16, align 4, !tbaa !9
  %136 = sub i32 %135, %134
  store i32 %136, ptr %16, align 4, !tbaa !9
  store i32 255, ptr %17, align 4, !tbaa !9
  %137 = load i32, ptr %17, align 4, !tbaa !9
  %138 = load i32, ptr %16, align 4, !tbaa !9
  %139 = and i32 %138, %137
  store i32 %139, ptr %16, align 4, !tbaa !9
  store i32 106, ptr %17, align 4, !tbaa !9
  %140 = load i32, ptr %16, align 4, !tbaa !9
  %141 = load i32, ptr %17, align 4, !tbaa !9
  %142 = icmp ule i32 %140, %141
  %143 = zext i1 %142 to i32
  store i32 %143, ptr %16, align 4, !tbaa !9
  %144 = load i32, ptr %16, align 4, !tbaa !9
  %145 = icmp ne i32 %144, 0
  br i1 %145, label %146, label %159

146:                                              ; preds = %126
  %147 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %147, ptr %16, align 4, !tbaa !9
  %148 = load ptr, ptr %5, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.w2c_hermes, ptr %148, i32 0, i32 6
  %150 = load i32, ptr %16, align 4, !tbaa !9
  %151 = zext i32 %150 to i64
  %152 = add i64 %151, 8
  %153 = call i32 @i32_load(ptr noundef %149, i64 noundef %152)
  store i32 %153, ptr %16, align 4, !tbaa !9
  %154 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %154, ptr %17, align 4, !tbaa !9
  %155 = load ptr, ptr %5, align 8, !tbaa !5
  %156 = load i32, ptr %16, align 4, !tbaa !9
  %157 = load i32, ptr %17, align 4, !tbaa !9
  %158 = call i32 @w2c_hermes_hermes0x3A0x3ARegisterAllocator0x3A0x3AgetRegister0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %155, i32 noundef %156, i32 noundef %157)
  store i32 %158, ptr %16, align 4, !tbaa !9
  br label %173

159:                                              ; preds = %126
  %160 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %160, ptr %16, align 4, !tbaa !9
  store i32 124, ptr %17, align 4, !tbaa !9
  %161 = load i32, ptr %16, align 4, !tbaa !9
  %162 = load i32, ptr %17, align 4, !tbaa !9
  %163 = icmp ne i32 %161, %162
  %164 = zext i1 %163 to i32
  store i32 %164, ptr %16, align 4, !tbaa !9
  %165 = load i32, ptr %16, align 4, !tbaa !9
  %166 = icmp ne i32 %165, 0
  br i1 %166, label %167, label %168

167:                                              ; preds = %159
  br label %420

168:                                              ; preds = %159
  %169 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %169, ptr %16, align 4, !tbaa !9
  %170 = load ptr, ptr %5, align 8, !tbaa !5
  %171 = load i32, ptr %16, align 4, !tbaa !9
  %172 = call i32 @w2c_hermes_hermes0x3A0x3AVariable0x3A0x3AgetIndexInVariableList0x280x290x20const(ptr noundef %170, i32 noundef %171)
  store i32 %172, ptr %16, align 4, !tbaa !9
  br label %173

173:                                              ; preds = %168, %146
  %174 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %174, ptr %9, align 4, !tbaa !9
  %175 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %175, ptr %16, align 4, !tbaa !9
  %176 = load ptr, ptr %5, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.w2c_hermes, ptr %176, i32 0, i32 6
  %178 = load i32, ptr %16, align 4, !tbaa !9
  %179 = zext i32 %178 to i64
  %180 = call i32 @i32_load8_u(ptr noundef %177, i64 noundef %179)
  store i32 %180, ptr %16, align 4, !tbaa !9
  %181 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %181, ptr %12, align 4, !tbaa !9
  store i32 2, ptr %17, align 4, !tbaa !9
  %182 = load i32, ptr %17, align 4, !tbaa !9
  %183 = load i32, ptr %16, align 4, !tbaa !9
  %184 = sub i32 %183, %182
  store i32 %184, ptr %16, align 4, !tbaa !9
  store i32 255, ptr %17, align 4, !tbaa !9
  %185 = load i32, ptr %17, align 4, !tbaa !9
  %186 = load i32, ptr %16, align 4, !tbaa !9
  %187 = and i32 %186, %185
  store i32 %187, ptr %16, align 4, !tbaa !9
  store i32 106, ptr %17, align 4, !tbaa !9
  %188 = load i32, ptr %16, align 4, !tbaa !9
  %189 = load i32, ptr %17, align 4, !tbaa !9
  %190 = icmp ule i32 %188, %189
  %191 = zext i1 %190 to i32
  store i32 %191, ptr %16, align 4, !tbaa !9
  %192 = load i32, ptr %16, align 4, !tbaa !9
  %193 = icmp ne i32 %192, 0
  br i1 %193, label %194, label %207

194:                                              ; preds = %173
  %195 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %195, ptr %16, align 4, !tbaa !9
  %196 = load ptr, ptr %5, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.w2c_hermes, ptr %196, i32 0, i32 6
  %198 = load i32, ptr %16, align 4, !tbaa !9
  %199 = zext i32 %198 to i64
  %200 = add i64 %199, 8
  %201 = call i32 @i32_load(ptr noundef %197, i64 noundef %200)
  store i32 %201, ptr %16, align 4, !tbaa !9
  %202 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %202, ptr %17, align 4, !tbaa !9
  %203 = load ptr, ptr %5, align 8, !tbaa !5
  %204 = load i32, ptr %16, align 4, !tbaa !9
  %205 = load i32, ptr %17, align 4, !tbaa !9
  %206 = call i32 @w2c_hermes_hermes0x3A0x3ARegisterAllocator0x3A0x3AgetRegister0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %203, i32 noundef %204, i32 noundef %205)
  store i32 %206, ptr %16, align 4, !tbaa !9
  br label %221

207:                                              ; preds = %173
  %208 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %208, ptr %16, align 4, !tbaa !9
  store i32 124, ptr %17, align 4, !tbaa !9
  %209 = load i32, ptr %16, align 4, !tbaa !9
  %210 = load i32, ptr %17, align 4, !tbaa !9
  %211 = icmp ne i32 %209, %210
  %212 = zext i1 %211 to i32
  store i32 %212, ptr %16, align 4, !tbaa !9
  %213 = load i32, ptr %16, align 4, !tbaa !9
  %214 = icmp ne i32 %213, 0
  br i1 %214, label %215, label %216

215:                                              ; preds = %207
  br label %433

216:                                              ; preds = %207
  %217 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %217, ptr %16, align 4, !tbaa !9
  %218 = load ptr, ptr %5, align 8, !tbaa !5
  %219 = load i32, ptr %16, align 4, !tbaa !9
  %220 = call i32 @w2c_hermes_hermes0x3A0x3AVariable0x3A0x3AgetIndexInVariableList0x280x290x20const(ptr noundef %218, i32 noundef %219)
  store i32 %220, ptr %16, align 4, !tbaa !9
  br label %221

221:                                              ; preds = %216, %194
  %222 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %222, ptr %10, align 4, !tbaa !9
  %223 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %223, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %224 = load ptr, ptr %5, align 8, !tbaa !5
  %225 = load i32, ptr %16, align 4, !tbaa !9
  %226 = load i32, ptr %17, align 4, !tbaa !9
  %227 = call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetOperand0x28unsigned0x20int0x290x20const(ptr noundef %224, i32 noundef %225, i32 noundef %226)
  store i32 %227, ptr %16, align 4, !tbaa !9
  %228 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %228, ptr %7, align 4, !tbaa !9
  %229 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %229, ptr %16, align 4, !tbaa !9
  %230 = load i32, ptr %16, align 4, !tbaa !9
  %231 = zext i32 %230 to i64
  store i64 %231, ptr %21, align 8, !tbaa !11
  %232 = load i64, ptr %21, align 8, !tbaa !11
  store i64 %232, ptr %13, align 8, !tbaa !11
  %233 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %233, ptr %16, align 4, !tbaa !9
  %234 = load i32, ptr %16, align 4, !tbaa !9
  %235 = zext i32 %234 to i64
  store i64 %235, ptr %21, align 8, !tbaa !11
  %236 = load i64, ptr %21, align 8, !tbaa !11
  store i64 %236, ptr %14, align 8, !tbaa !11
  %237 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %237, ptr %16, align 4, !tbaa !9
  %238 = load i32, ptr %16, align 4, !tbaa !9
  %239 = zext i32 %238 to i64
  store i64 %239, ptr %21, align 8, !tbaa !11
  %240 = load i64, ptr %21, align 8, !tbaa !11
  store i64 %240, ptr %15, align 8, !tbaa !11
  %241 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %241, ptr %16, align 4, !tbaa !9
  %242 = load ptr, ptr %5, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.w2c_hermes, ptr %242, i32 0, i32 6
  %244 = load i32, ptr %16, align 4, !tbaa !9
  %245 = zext i32 %244 to i64
  %246 = add i64 %245, 4
  %247 = call i32 @i32_load(ptr noundef %243, i64 noundef %246)
  store i32 %247, ptr %16, align 4, !tbaa !9
  %248 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %248, ptr %6, align 4, !tbaa !9
  %249 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %249, ptr %16, align 4, !tbaa !9
  %250 = load ptr, ptr %5, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.w2c_hermes, ptr %250, i32 0, i32 6
  %252 = load i32, ptr %16, align 4, !tbaa !9
  %253 = zext i32 %252 to i64
  %254 = add i64 %253, 2
  %255 = call i32 @i32_load(ptr noundef %251, i64 noundef %254)
  store i32 %255, ptr %16, align 4, !tbaa !9
  %256 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %256, ptr %7, align 4, !tbaa !9
  store i32 65535, ptr %17, align 4, !tbaa !9
  %257 = load i32, ptr %17, align 4, !tbaa !9
  %258 = load i32, ptr %16, align 4, !tbaa !9
  %259 = and i32 %258, %257
  store i32 %259, ptr %16, align 4, !tbaa !9
  %260 = load i32, ptr %16, align 4, !tbaa !9
  %261 = icmp ne i32 %260, 0
  %262 = xor i1 %261, true
  %263 = zext i1 %262 to i32
  store i32 %263, ptr %16, align 4, !tbaa !9
  %264 = load i32, ptr %16, align 4, !tbaa !9
  %265 = icmp ne i32 %264, 0
  br i1 %265, label %266, label %267

266:                                              ; preds = %221
  br label %305

267:                                              ; preds = %221
  %268 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %268, ptr %16, align 4, !tbaa !9
  store i32 65489, ptr %17, align 4, !tbaa !9
  %269 = load i32, ptr %17, align 4, !tbaa !9
  %270 = load i32, ptr %16, align 4, !tbaa !9
  %271 = and i32 %270, %269
  store i32 %271, ptr %16, align 4, !tbaa !9
  %272 = load i32, ptr %16, align 4, !tbaa !9
  %273 = icmp ne i32 %272, 0
  br i1 %273, label %274, label %275

274:                                              ; preds = %267
  br label %305

275:                                              ; preds = %267
  %276 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %276, ptr %16, align 4, !tbaa !9
  store i32 255, ptr %17, align 4, !tbaa !9
  %277 = load i32, ptr %16, align 4, !tbaa !9
  %278 = load i32, ptr %17, align 4, !tbaa !9
  %279 = icmp ule i32 %277, %278
  %280 = zext i1 %279 to i32
  store i32 %280, ptr %16, align 4, !tbaa !9
  %281 = load i32, ptr %16, align 4, !tbaa !9
  %282 = icmp ne i32 %281, 0
  br i1 %282, label %283, label %294

283:                                              ; preds = %275
  %284 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %284, ptr %16, align 4, !tbaa !9
  %285 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %285, ptr %22, align 8, !tbaa !11
  %286 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %286, ptr %23, align 8, !tbaa !11
  %287 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %287, ptr %24, align 8, !tbaa !11
  %288 = load ptr, ptr %5, align 8, !tbaa !5
  %289 = load i32, ptr %16, align 4, !tbaa !9
  %290 = load i64, ptr %22, align 8, !tbaa !11
  %291 = load i64, ptr %23, align 8, !tbaa !11
  %292 = load i64, ptr %24, align 8, !tbaa !11
  %293 = call i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitStoreNPToEnvironment0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef %288, i32 noundef %289, i64 noundef %290, i64 noundef %291, i64 noundef %292)
  store i32 %293, ptr %16, align 4, !tbaa !9
  br label %446

294:                                              ; preds = %275
  %295 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %295, ptr %16, align 4, !tbaa !9
  %296 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %296, ptr %22, align 8, !tbaa !11
  %297 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %297, ptr %23, align 8, !tbaa !11
  %298 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %298, ptr %24, align 8, !tbaa !11
  %299 = load ptr, ptr %5, align 8, !tbaa !5
  %300 = load i32, ptr %16, align 4, !tbaa !9
  %301 = load i64, ptr %22, align 8, !tbaa !11
  %302 = load i64, ptr %23, align 8, !tbaa !11
  %303 = load i64, ptr %24, align 8, !tbaa !11
  %304 = call i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitStoreNPToEnvironmentL0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef %299, i32 noundef %300, i64 noundef %301, i64 noundef %302, i64 noundef %303)
  store i32 %304, ptr %16, align 4, !tbaa !9
  br label %446

305:                                              ; preds = %274, %266
  %306 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %306, ptr %16, align 4, !tbaa !9
  store i32 255, ptr %17, align 4, !tbaa !9
  %307 = load i32, ptr %16, align 4, !tbaa !9
  %308 = load i32, ptr %17, align 4, !tbaa !9
  %309 = icmp ule i32 %307, %308
  %310 = zext i1 %309 to i32
  store i32 %310, ptr %16, align 4, !tbaa !9
  %311 = load i32, ptr %16, align 4, !tbaa !9
  %312 = icmp ne i32 %311, 0
  br i1 %312, label %313, label %324

313:                                              ; preds = %305
  %314 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %314, ptr %16, align 4, !tbaa !9
  %315 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %315, ptr %22, align 8, !tbaa !11
  %316 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %316, ptr %23, align 8, !tbaa !11
  %317 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %317, ptr %24, align 8, !tbaa !11
  %318 = load ptr, ptr %5, align 8, !tbaa !5
  %319 = load i32, ptr %16, align 4, !tbaa !9
  %320 = load i64, ptr %22, align 8, !tbaa !11
  %321 = load i64, ptr %23, align 8, !tbaa !11
  %322 = load i64, ptr %24, align 8, !tbaa !11
  %323 = call i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitStoreToEnvironment0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef %318, i32 noundef %319, i64 noundef %320, i64 noundef %321, i64 noundef %322)
  store i32 %323, ptr %16, align 4, !tbaa !9
  br label %446

324:                                              ; preds = %305
  %325 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %325, ptr %16, align 4, !tbaa !9
  %326 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %326, ptr %22, align 8, !tbaa !11
  %327 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %327, ptr %23, align 8, !tbaa !11
  %328 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %328, ptr %24, align 8, !tbaa !11
  %329 = load ptr, ptr %5, align 8, !tbaa !5
  %330 = load i32, ptr %16, align 4, !tbaa !9
  %331 = load i64, ptr %22, align 8, !tbaa !11
  %332 = load i64, ptr %23, align 8, !tbaa !11
  %333 = load i64, ptr %24, align 8, !tbaa !11
  %334 = call i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitStoreToEnvironmentL0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef %329, i32 noundef %330, i64 noundef %331, i64 noundef %332, i64 noundef %333)
  store i32 %334, ptr %16, align 4, !tbaa !9
  br label %446

335:                                              ; preds = %4
  store i32 0, ptr %16, align 4, !tbaa !9
  %336 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %336, ptr %7, align 4, !tbaa !9
  store i32 147142, ptr %17, align 4, !tbaa !9
  %337 = load i32, ptr %17, align 4, !tbaa !9
  %338 = load i32, ptr %16, align 4, !tbaa !9
  %339 = add i32 %338, %337
  store i32 %339, ptr %16, align 4, !tbaa !9
  %340 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %340, ptr %17, align 4, !tbaa !9
  store i32 82611, ptr %18, align 4, !tbaa !9
  %341 = load i32, ptr %18, align 4, !tbaa !9
  %342 = load i32, ptr %17, align 4, !tbaa !9
  %343 = add i32 %342, %341
  store i32 %343, ptr %17, align 4, !tbaa !9
  store i32 106, ptr %18, align 4, !tbaa !9
  %344 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %344, ptr %19, align 4, !tbaa !9
  store i32 28119, ptr %20, align 4, !tbaa !9
  %345 = load i32, ptr %20, align 4, !tbaa !9
  %346 = load i32, ptr %19, align 4, !tbaa !9
  %347 = add i32 %346, %345
  store i32 %347, ptr %19, align 4, !tbaa !9
  %348 = load ptr, ptr %5, align 8, !tbaa !5
  %349 = load i32, ptr %16, align 4, !tbaa !9
  %350 = load i32, ptr %17, align 4, !tbaa !9
  %351 = load i32, ptr %18, align 4, !tbaa !9
  %352 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %348, i32 noundef %349, i32 noundef %350, i32 noundef %351, i32 noundef %352)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

353:                                              ; preds = %46
  store i32 0, ptr %16, align 4, !tbaa !9
  %354 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %354, ptr %7, align 4, !tbaa !9
  store i32 205012, ptr %17, align 4, !tbaa !9
  %355 = load i32, ptr %17, align 4, !tbaa !9
  %356 = load i32, ptr %16, align 4, !tbaa !9
  %357 = add i32 %356, %355
  store i32 %357, ptr %16, align 4, !tbaa !9
  %358 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %358, ptr %17, align 4, !tbaa !9
  store i32 82611, ptr %18, align 4, !tbaa !9
  %359 = load i32, ptr %18, align 4, !tbaa !9
  %360 = load i32, ptr %17, align 4, !tbaa !9
  %361 = add i32 %360, %359
  store i32 %361, ptr %17, align 4, !tbaa !9
  store i32 255, ptr %18, align 4, !tbaa !9
  %362 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %362, ptr %19, align 4, !tbaa !9
  store i32 24720, ptr %20, align 4, !tbaa !9
  %363 = load i32, ptr %20, align 4, !tbaa !9
  %364 = load i32, ptr %19, align 4, !tbaa !9
  %365 = add i32 %364, %363
  store i32 %365, ptr %19, align 4, !tbaa !9
  %366 = load ptr, ptr %5, align 8, !tbaa !5
  %367 = load i32, ptr %16, align 4, !tbaa !9
  %368 = load i32, ptr %17, align 4, !tbaa !9
  %369 = load i32, ptr %18, align 4, !tbaa !9
  %370 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %366, i32 noundef %367, i32 noundef %368, i32 noundef %369, i32 noundef %370)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

371:                                              ; preds = %60
  store i32 0, ptr %16, align 4, !tbaa !9
  %372 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %372, ptr %7, align 4, !tbaa !9
  store i32 147142, ptr %17, align 4, !tbaa !9
  %373 = load i32, ptr %17, align 4, !tbaa !9
  %374 = load i32, ptr %16, align 4, !tbaa !9
  %375 = add i32 %374, %373
  store i32 %375, ptr %16, align 4, !tbaa !9
  %376 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %376, ptr %17, align 4, !tbaa !9
  store i32 82611, ptr %18, align 4, !tbaa !9
  %377 = load i32, ptr %18, align 4, !tbaa !9
  %378 = load i32, ptr %17, align 4, !tbaa !9
  %379 = add i32 %378, %377
  store i32 %379, ptr %17, align 4, !tbaa !9
  store i32 106, ptr %18, align 4, !tbaa !9
  %380 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %380, ptr %19, align 4, !tbaa !9
  store i32 28119, ptr %20, align 4, !tbaa !9
  %381 = load i32, ptr %20, align 4, !tbaa !9
  %382 = load i32, ptr %19, align 4, !tbaa !9
  %383 = add i32 %382, %381
  store i32 %383, ptr %19, align 4, !tbaa !9
  %384 = load ptr, ptr %5, align 8, !tbaa !5
  %385 = load i32, ptr %16, align 4, !tbaa !9
  %386 = load i32, ptr %17, align 4, !tbaa !9
  %387 = load i32, ptr %18, align 4, !tbaa !9
  %388 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %384, i32 noundef %385, i32 noundef %386, i32 noundef %387, i32 noundef %388)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

389:                                              ; preds = %105
  store i32 0, ptr %16, align 4, !tbaa !9
  %390 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %390, ptr %7, align 4, !tbaa !9
  store i32 44604, ptr %17, align 4, !tbaa !9
  %391 = load i32, ptr %17, align 4, !tbaa !9
  %392 = load i32, ptr %16, align 4, !tbaa !9
  %393 = add i32 %392, %391
  store i32 %393, ptr %16, align 4, !tbaa !9
  %394 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %394, ptr %17, align 4, !tbaa !9
  store i32 59600, ptr %18, align 4, !tbaa !9
  %395 = load i32, ptr %18, align 4, !tbaa !9
  %396 = load i32, ptr %17, align 4, !tbaa !9
  %397 = add i32 %396, %395
  store i32 %397, ptr %17, align 4, !tbaa !9
  store i32 79, ptr %18, align 4, !tbaa !9
  %398 = load ptr, ptr %5, align 8, !tbaa !5
  %399 = load i32, ptr %16, align 4, !tbaa !9
  %400 = load i32, ptr %17, align 4, !tbaa !9
  %401 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %398, i32 noundef %399, i32 noundef %400, i32 noundef %401)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

402:                                              ; preds = %125
  store i32 0, ptr %16, align 4, !tbaa !9
  %403 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %403, ptr %7, align 4, !tbaa !9
  store i32 147142, ptr %17, align 4, !tbaa !9
  %404 = load i32, ptr %17, align 4, !tbaa !9
  %405 = load i32, ptr %16, align 4, !tbaa !9
  %406 = add i32 %405, %404
  store i32 %406, ptr %16, align 4, !tbaa !9
  %407 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %407, ptr %17, align 4, !tbaa !9
  store i32 82611, ptr %18, align 4, !tbaa !9
  %408 = load i32, ptr %18, align 4, !tbaa !9
  %409 = load i32, ptr %17, align 4, !tbaa !9
  %410 = add i32 %409, %408
  store i32 %410, ptr %17, align 4, !tbaa !9
  store i32 106, ptr %18, align 4, !tbaa !9
  %411 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %411, ptr %19, align 4, !tbaa !9
  store i32 28119, ptr %20, align 4, !tbaa !9
  %412 = load i32, ptr %20, align 4, !tbaa !9
  %413 = load i32, ptr %19, align 4, !tbaa !9
  %414 = add i32 %413, %412
  store i32 %414, ptr %19, align 4, !tbaa !9
  %415 = load ptr, ptr %5, align 8, !tbaa !5
  %416 = load i32, ptr %16, align 4, !tbaa !9
  %417 = load i32, ptr %17, align 4, !tbaa !9
  %418 = load i32, ptr %18, align 4, !tbaa !9
  %419 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %415, i32 noundef %416, i32 noundef %417, i32 noundef %418, i32 noundef %419)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

420:                                              ; preds = %167
  store i32 0, ptr %16, align 4, !tbaa !9
  %421 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %421, ptr %7, align 4, !tbaa !9
  store i32 44604, ptr %17, align 4, !tbaa !9
  %422 = load i32, ptr %17, align 4, !tbaa !9
  %423 = load i32, ptr %16, align 4, !tbaa !9
  %424 = add i32 %423, %422
  store i32 %424, ptr %16, align 4, !tbaa !9
  %425 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %425, ptr %17, align 4, !tbaa !9
  store i32 59600, ptr %18, align 4, !tbaa !9
  %426 = load i32, ptr %18, align 4, !tbaa !9
  %427 = load i32, ptr %17, align 4, !tbaa !9
  %428 = add i32 %427, %426
  store i32 %428, ptr %17, align 4, !tbaa !9
  store i32 79, ptr %18, align 4, !tbaa !9
  %429 = load ptr, ptr %5, align 8, !tbaa !5
  %430 = load i32, ptr %16, align 4, !tbaa !9
  %431 = load i32, ptr %17, align 4, !tbaa !9
  %432 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %429, i32 noundef %430, i32 noundef %431, i32 noundef %432)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

433:                                              ; preds = %215
  store i32 0, ptr %16, align 4, !tbaa !9
  %434 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %434, ptr %7, align 4, !tbaa !9
  store i32 44604, ptr %17, align 4, !tbaa !9
  %435 = load i32, ptr %17, align 4, !tbaa !9
  %436 = load i32, ptr %16, align 4, !tbaa !9
  %437 = add i32 %436, %435
  store i32 %437, ptr %16, align 4, !tbaa !9
  %438 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %438, ptr %17, align 4, !tbaa !9
  store i32 59600, ptr %18, align 4, !tbaa !9
  %439 = load i32, ptr %18, align 4, !tbaa !9
  %440 = load i32, ptr %17, align 4, !tbaa !9
  %441 = add i32 %440, %439
  store i32 %441, ptr %17, align 4, !tbaa !9
  store i32 79, ptr %18, align 4, !tbaa !9
  %442 = load ptr, ptr %5, align 8, !tbaa !5
  %443 = load i32, ptr %16, align 4, !tbaa !9
  %444 = load i32, ptr %17, align 4, !tbaa !9
  %445 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %442, i32 noundef %443, i32 noundef %444, i32 noundef %445)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

446:                                              ; preds = %324, %313, %294, %283
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitStoreNPToEnvironment0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef, i32 noundef, i64 noundef, i64 noundef, i64 noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitStoreNPToEnvironmentL0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef, i32 noundef, i64 noundef, i64 noundef, i64 noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitStoreToEnvironment0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef, i32 noundef, i64 noundef, i64 noundef, i64 noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitStoreToEnvironmentL0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef, i32 noundef, i64 noundef, i64 noundef, i64 noundef) #4

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 = { noreturn "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 = { "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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { noreturn }

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


; 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_load8_u(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: noreturn
declare void @wasm_rt_trap(i32 noundef) local_unnamed_addr #1

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

declare void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

declare void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

declare i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetOperand0x28unsigned0x20int0x290x20const(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

declare i32 @w2c_hermes_hermes0x3A0x3ARegisterAllocator0x3A0x3AgetRegister0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

declare i32 @w2c_hermes_hermes0x3A0x3AVariable0x3A0x3AgetIndexInVariableList0x280x290x20const(ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3AgenerateHBCStoreToEnvironmentInst0x28hermes0x3A0x3AHBCStoreToEnvironmentInst0x2A0x2C0x20hermes0x3A0x3ABasicBlock0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #3 {
  %5 = tail call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetOperand0x28unsigned0x20int0x290x20const(ptr noundef %0, i32 noundef %2, i32 noundef 2) #4
  %.not = icmp eq i32 %5, 0
  br i1 %.not, label %79, label %6

6:                                                ; preds = %4
  %7 = getelementptr inbounds i8, ptr %0, i64 40
  %8 = zext i32 %5 to i64
  %9 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %8)
  %.not266 = icmp eq i32 %9, 124
  br i1 %.not266, label %10, label %80

10:                                               ; preds = %6
  %11 = tail call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetOperand0x28unsigned0x20int0x290x20const(ptr noundef %0, i32 noundef %2, i32 noundef 1) #4
  %.not267 = icmp eq i32 %11, 0
  br i1 %.not267, label %81, label %12

12:                                               ; preds = %10
  %13 = zext i32 %11 to i64
  %14 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %13)
  %15 = add i32 %14, 254
  %16 = and i32 %15, 255
  %17 = icmp ult i32 %16, 107
  br i1 %17, label %18, label %23

18:                                               ; preds = %12
  %19 = zext i32 %1 to i64
  %20 = add nuw nsw i64 %19, 8
  %21 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %20)
  %22 = tail call i32 @w2c_hermes_hermes0x3A0x3ARegisterAllocator0x3A0x3AgetRegister0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %0, i32 noundef %21, i32 noundef %11) #4
  br label %27

23:                                               ; preds = %12
  %24 = and i32 %14, 255
  %.not268 = icmp eq i32 %24, 124
  br i1 %.not268, label %25, label %82

25:                                               ; preds = %23
  %26 = tail call i32 @w2c_hermes_hermes0x3A0x3AVariable0x3A0x3AgetIndexInVariableList0x280x290x20const(ptr noundef %0, i32 noundef %11) #4
  br label %27

27:                                               ; preds = %25, %18
  %.0 = phi i32 [ %22, %18 ], [ %26, %25 ]
  %28 = tail call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetOperand0x28unsigned0x20int0x290x20const(ptr noundef %0, i32 noundef %2, i32 noundef 0) #4
  %.not269 = icmp eq i32 %28, 0
  br i1 %.not269, label %83, label %29

29:                                               ; preds = %27
  %30 = zext i32 %28 to i64
  %31 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %30)
  %32 = add i32 %31, 254
  %33 = and i32 %32, 255
  %34 = icmp ult i32 %33, 107
  br i1 %34, label %35, label %40

35:                                               ; preds = %29
  %36 = zext i32 %1 to i64
  %37 = add nuw nsw i64 %36, 8
  %38 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %37)
  %39 = tail call i32 @w2c_hermes_hermes0x3A0x3ARegisterAllocator0x3A0x3AgetRegister0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %0, i32 noundef %38, i32 noundef %28) #4
  br label %43

40:                                               ; preds = %29
  %.not270 = icmp eq i32 %31, 124
  br i1 %.not270, label %41, label %84

41:                                               ; preds = %40
  %42 = tail call i32 @w2c_hermes_hermes0x3A0x3AVariable0x3A0x3AgetIndexInVariableList0x280x290x20const(ptr noundef %0, i32 noundef %28) #4
  br label %43

43:                                               ; preds = %41, %35
  %.1 = phi i32 [ %39, %35 ], [ %42, %41 ]
  %44 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %8)
  %45 = add i32 %44, 254
  %46 = and i32 %45, 255
  %47 = icmp ult i32 %46, 107
  br i1 %47, label %48, label %53

48:                                               ; preds = %43
  %49 = zext i32 %1 to i64
  %50 = add nuw nsw i64 %49, 8
  %51 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %50)
  %52 = tail call i32 @w2c_hermes_hermes0x3A0x3ARegisterAllocator0x3A0x3AgetRegister0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %0, i32 noundef %51, i32 noundef %5) #4
  br label %56

53:                                               ; preds = %43
  %.not271 = icmp eq i32 %44, 124
  br i1 %.not271, label %54, label %85

54:                                               ; preds = %53
  %55 = tail call i32 @w2c_hermes_hermes0x3A0x3AVariable0x3A0x3AgetIndexInVariableList0x280x290x20const(ptr noundef %0, i32 noundef %5) #4
  %.pre = zext i32 %1 to i64
  br label %56

56:                                               ; preds = %54, %48
  %.pre-phi = phi i64 [ %.pre, %54 ], [ %49, %48 ]
  %.2 = phi i32 [ %55, %54 ], [ %52, %48 ]
  %57 = tail call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetOperand0x28unsigned0x20int0x290x20const(ptr noundef %0, i32 noundef %2, i32 noundef 1) #4
  %58 = zext i32 %.0 to i64
  %59 = zext i32 %.2 to i64
  %60 = zext i32 %.1 to i64
  %61 = add nuw nsw i64 %.pre-phi, 4
  %62 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %61)
  %63 = zext i32 %57 to i64
  %64 = add nuw nsw i64 %63, 2
  %65 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %64)
  %66 = and i32 %65, 65535
  %.not272 = icmp ne i32 %66, 0
  %67 = and i32 %65, 65489
  %.not273 = icmp eq i32 %67, 0
  %or.cond = and i1 %.not272, %.not273
  %68 = icmp ult i32 %.2, 256
  br i1 %or.cond, label %69, label %74

69:                                               ; preds = %56
  br i1 %68, label %70, label %72

70:                                               ; preds = %69
  %71 = tail call i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitStoreNPToEnvironment0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef %0, i32 noundef %62, i64 noundef %60, i64 noundef %59, i64 noundef %58)
  br label %86

72:                                               ; preds = %69
  %73 = tail call i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitStoreNPToEnvironmentL0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef %0, i32 noundef %62, i64 noundef %60, i64 noundef %59, i64 noundef %58)
  br label %86

74:                                               ; preds = %56
  br i1 %68, label %75, label %77

75:                                               ; preds = %74
  %76 = tail call i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitStoreToEnvironment0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef %0, i32 noundef %62, i64 noundef %60, i64 noundef %59, i64 noundef %58)
  br label %86

77:                                               ; preds = %74
  %78 = tail call i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitStoreToEnvironmentL0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef %0, i32 noundef %62, i64 noundef %60, i64 noundef %59, i64 noundef %58)
  br label %86

79:                                               ; preds = %4
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 147142, i32 noundef 82611, i32 noundef 106, i32 noundef 28119) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

80:                                               ; preds = %6
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 205012, i32 noundef 82611, i32 noundef 255, i32 noundef 24720) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

81:                                               ; preds = %10
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 147142, i32 noundef 82611, i32 noundef 106, i32 noundef 28119) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

82:                                               ; preds = %23
  tail call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %0, i32 noundef 44604, i32 noundef 59600, i32 noundef 79) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

83:                                               ; preds = %27
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 147142, i32 noundef 82611, i32 noundef 106, i32 noundef 28119) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

84:                                               ; preds = %40
  tail call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %0, i32 noundef 44604, i32 noundef 59600, i32 noundef 79) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

85:                                               ; preds = %53
  tail call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %0, i32 noundef 44604, i32 noundef 59600, i32 noundef 79) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

86:                                               ; preds = %77, %75, %72, %70
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitStoreNPToEnvironment0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef, i32 noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitStoreNPToEnvironmentL0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef, i32 noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitStoreToEnvironment0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef, i32 noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitStoreToEnvironmentL0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef, i32 noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #3

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 = { noreturn "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 }
attributes #5 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}


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