; 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: inlinehint nounwind uwtable
declare hidden void @i32_store8(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: 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 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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Aparser0x3A0x3Adetail0x3A0x3AJSParserImpl0x3A0x3AparseTypeAnnotationFlow0x28llvh0x3A0x3AOptional0x3Cllvh0x3A0x3ASMLoc0x3E0x2C0x20hermes0x3A0x3Aparser0x3A0x3Adetail0x3A0x3AJSParserImpl0x3A0x3AAllowAnonFunctionType0x29(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 i32, align 4
  %14 = alloca i32, align 4
  %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 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 4, ptr %13) #4
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 0, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  store i32 0, ptr %16, align 4, !tbaa !9
  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 8, ptr %21) #4
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.w2c_hermes, ptr %22, i32 0, i32 3
  %24 = load i32, ptr %23, align 8, !tbaa !11
  store i32 %24, ptr %17, align 4, !tbaa !9
  store i32 16, ptr %18, align 4, !tbaa !9
  %25 = load i32, ptr %18, align 4, !tbaa !9
  %26 = load i32, ptr %17, align 4, !tbaa !9
  %27 = sub i32 %26, %25
  store i32 %27, ptr %17, align 4, !tbaa !9
  %28 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %28, ptr %11, align 4, !tbaa !9
  %29 = load i32, ptr %17, align 4, !tbaa !9
  %30 = load ptr, ptr %6, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.w2c_hermes, ptr %30, i32 0, i32 3
  store i32 %29, ptr %31, align 8, !tbaa !11
  %32 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %32, ptr %17, align 4, !tbaa !9
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.w2c_hermes, ptr %33, i32 0, i32 6
  %35 = load i32, ptr %17, align 4, !tbaa !9
  %36 = zext i32 %35 to i64
  %37 = add i64 %36, 912
  %38 = call i32 @i32_load8_u(ptr noundef %34, i64 noundef %37)
  store i32 %38, ptr %17, align 4, !tbaa !9
  %39 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %39, ptr %15, align 4, !tbaa !9
  %40 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %40, ptr %17, align 4, !tbaa !9
  %41 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %41, ptr %18, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  %42 = load i32, ptr %18, align 4, !tbaa !9
  %43 = load i32, ptr %19, align 4, !tbaa !9
  %44 = icmp eq i32 %42, %43
  %45 = zext i1 %44 to i32
  store i32 %45, ptr %18, 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 %17, align 4, !tbaa !9
  %49 = zext i32 %48 to i64
  %50 = add i64 %49, 912
  %51 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %47, i64 noundef %50, i32 noundef %51)
  %52 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %52, ptr %17, align 4, !tbaa !9
  store i32 8, ptr %18, align 4, !tbaa !9
  %53 = load i32, ptr %18, align 4, !tbaa !9
  %54 = load i32, ptr %17, align 4, !tbaa !9
  %55 = add i32 %54, %53
  store i32 %55, ptr %17, align 4, !tbaa !9
  %56 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %56, ptr %18, align 4, !tbaa !9
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  %58 = load i32, ptr %17, align 4, !tbaa !9
  %59 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Aparser0x3A0x3Adetail0x3A0x3AJSParserImpl0x3A0x3AparseConditionalTypeAnnotationFlow0x280x29(ptr noundef %57, i32 noundef %58, i32 noundef %59)
  %60 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %60, ptr %17, align 4, !tbaa !9
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.w2c_hermes, ptr %61, i32 0, i32 6
  %63 = load i32, ptr %17, align 4, !tbaa !9
  %64 = zext i32 %63 to i64
  %65 = add i64 %64, 12
  %66 = call i32 @i32_load8_u(ptr noundef %62, i64 noundef %65)
  store i32 %66, ptr %17, align 4, !tbaa !9
  %67 = load i32, ptr %17, align 4, !tbaa !9
  %68 = icmp ne i32 %67, 0
  %69 = xor i1 %68, true
  %70 = zext i1 %69 to i32
  store i32 %70, ptr %17, align 4, !tbaa !9
  %71 = load i32, ptr %17, align 4, !tbaa !9
  %72 = icmp ne i32 %71, 0
  br i1 %72, label %73, label %81

73:                                               ; preds = %5
  %74 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %74, ptr %17, align 4, !tbaa !9
  store i32 0, ptr %18, align 4, !tbaa !9
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.w2c_hermes, ptr %75, i32 0, i32 6
  %77 = load i32, ptr %17, align 4, !tbaa !9
  %78 = zext i32 %77 to i64
  %79 = add i64 %78, 4
  %80 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %76, i64 noundef %79, i32 noundef %80)
  br label %289

81:                                               ; preds = %5
  %82 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %82, ptr %17, align 4, !tbaa !9
  %83 = load ptr, ptr %6, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.w2c_hermes, ptr %83, i32 0, i32 6
  %85 = load i32, ptr %17, align 4, !tbaa !9
  %86 = zext i32 %85 to i64
  %87 = add i64 %86, 4
  %88 = call i32 @i32_load8_u(ptr noundef %84, i64 noundef %87)
  store i32 %88, ptr %17, align 4, !tbaa !9
  %89 = load i32, ptr %17, align 4, !tbaa !9
  %90 = icmp ne i32 %89, 0
  br i1 %90, label %91, label %268

91:                                               ; preds = %81
  %92 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %92, ptr %17, align 4, !tbaa !9
  %93 = load ptr, ptr %6, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.w2c_hermes, ptr %93, i32 0, i32 6
  %95 = load i32, ptr %17, align 4, !tbaa !9
  %96 = zext i32 %95 to i64
  %97 = add i64 %96, 88
  %98 = call i32 @i32_load(ptr noundef %94, i64 noundef %97)
  store i32 %98, ptr %17, align 4, !tbaa !9
  %99 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %99, ptr %16, align 4, !tbaa !9
  %100 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %100, ptr %17, align 4, !tbaa !9
  %101 = load ptr, ptr %6, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.w2c_hermes, ptr %101, i32 0, i32 6
  %103 = load i32, ptr %17, align 4, !tbaa !9
  %104 = zext i32 %103 to i64
  %105 = call i32 @i32_load(ptr noundef %102, i64 noundef %104)
  store i32 %105, ptr %17, align 4, !tbaa !9
  %106 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %106, ptr %13, align 4, !tbaa !9
  %107 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %107, ptr %17, align 4, !tbaa !9
  %108 = load ptr, ptr %6, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.w2c_hermes, ptr %108, i32 0, i32 6
  %110 = load i32, ptr %17, align 4, !tbaa !9
  %111 = zext i32 %110 to i64
  %112 = call i32 @i32_load(ptr noundef %109, i64 noundef %111)
  store i32 %112, ptr %17, align 4, !tbaa !9
  %113 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %113, ptr %14, align 4, !tbaa !9
  %114 = load ptr, ptr %6, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.w2c_hermes, ptr %114, i32 0, i32 6
  %116 = load i32, ptr %17, align 4, !tbaa !9
  %117 = zext i32 %116 to i64
  %118 = add i64 %117, 12
  %119 = call i32 @i32_load(ptr noundef %115, i64 noundef %118)
  store i32 %119, ptr %17, align 4, !tbaa !9
  %120 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %120, ptr %10, align 4, !tbaa !9
  %121 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %121, ptr %18, align 4, !tbaa !9
  %122 = load ptr, ptr %6, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.w2c_hermes, ptr %122, i32 0, i32 6
  %124 = load i32, ptr %18, align 4, !tbaa !9
  %125 = zext i32 %124 to i64
  %126 = call i32 @i32_load(ptr noundef %123, i64 noundef %125)
  store i32 %126, ptr %18, align 4, !tbaa !9
  %127 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %127, ptr %19, align 4, !tbaa !9
  %128 = load ptr, ptr %6, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.w2c_hermes, ptr %128, i32 0, i32 6
  %130 = load i32, ptr %19, align 4, !tbaa !9
  %131 = zext i32 %130 to i64
  %132 = call i32 @i32_load(ptr noundef %129, i64 noundef %131)
  store i32 %132, ptr %19, align 4, !tbaa !9
  store i32 2, ptr %20, align 4, !tbaa !9
  %133 = load i32, ptr %20, align 4, !tbaa !9
  %134 = and i32 %133, 31
  %135 = load i32, ptr %19, align 4, !tbaa !9
  %136 = shl i32 %135, %134
  store i32 %136, ptr %19, align 4, !tbaa !9
  %137 = load i32, ptr %19, align 4, !tbaa !9
  %138 = load i32, ptr %18, align 4, !tbaa !9
  %139 = add i32 %138, %137
  store i32 %139, ptr %18, align 4, !tbaa !9
  %140 = load ptr, ptr %6, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.w2c_hermes, ptr %140, i32 0, i32 6
  %142 = load i32, ptr %18, align 4, !tbaa !9
  %143 = zext i32 %142 to i64
  %144 = call i32 @i32_load(ptr noundef %141, i64 noundef %143)
  store i32 %144, ptr %18, align 4, !tbaa !9
  %145 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %145, ptr %12, align 4, !tbaa !9
  %146 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %146, ptr %19, align 4, !tbaa !9
  %147 = load ptr, ptr %6, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.w2c_hermes, ptr %147, i32 0, i32 6
  %149 = load i32, ptr %19, align 4, !tbaa !9
  %150 = zext i32 %149 to i64
  %151 = add i64 %150, 4
  %152 = call i32 @i32_load(ptr noundef %148, i64 noundef %151)
  store i32 %152, ptr %19, align 4, !tbaa !9
  %153 = load i32, ptr %19, align 4, !tbaa !9
  %154 = load i32, ptr %18, align 4, !tbaa !9
  %155 = add i32 %154, %153
  store i32 %155, ptr %18, align 4, !tbaa !9
  store i32 7, ptr %19, align 4, !tbaa !9
  %156 = load i32, ptr %19, align 4, !tbaa !9
  %157 = load i32, ptr %18, align 4, !tbaa !9
  %158 = add i32 %157, %156
  store i32 %158, ptr %18, align 4, !tbaa !9
  store i32 -8, ptr %19, align 4, !tbaa !9
  %159 = load i32, ptr %19, align 4, !tbaa !9
  %160 = load i32, ptr %18, align 4, !tbaa !9
  %161 = and i32 %160, %159
  store i32 %161, ptr %18, align 4, !tbaa !9
  %162 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %162, ptr %9, align 4, !tbaa !9
  %163 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %163, ptr %19, align 4, !tbaa !9
  %164 = load i32, ptr %19, align 4, !tbaa !9
  %165 = load i32, ptr %18, align 4, !tbaa !9
  %166 = sub i32 %165, %164
  store i32 %166, ptr %18, align 4, !tbaa !9
  %167 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %167, ptr %12, align 4, !tbaa !9
  %168 = load ptr, ptr %6, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.w2c_hermes, ptr %168, i32 0, i32 6
  %170 = load i32, ptr %17, align 4, !tbaa !9
  %171 = zext i32 %170 to i64
  %172 = add i64 %171, 4
  %173 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %169, i64 noundef %172, i32 noundef %173)
  %174 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %174, ptr %17, align 4, !tbaa !9
  store i32 32, ptr %18, align 4, !tbaa !9
  %175 = load i32, ptr %18, align 4, !tbaa !9
  %176 = load i32, ptr %17, align 4, !tbaa !9
  %177 = add i32 %176, %175
  store i32 %177, ptr %17, align 4, !tbaa !9
  %178 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %178, ptr %12, align 4, !tbaa !9
  store i32 262145, ptr %18, align 4, !tbaa !9
  %179 = load i32, ptr %17, align 4, !tbaa !9
  %180 = load i32, ptr %18, align 4, !tbaa !9
  %181 = icmp uge i32 %179, %180
  %182 = zext i1 %181 to i32
  store i32 %182, ptr %17, align 4, !tbaa !9
  %183 = load i32, ptr %17, align 4, !tbaa !9
  %184 = icmp ne i32 %183, 0
  br i1 %184, label %185, label %193

185:                                              ; preds = %91
  %186 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %186, ptr %17, align 4, !tbaa !9
  store i32 32, ptr %18, align 4, !tbaa !9
  store i32 8, ptr %19, align 4, !tbaa !9
  %187 = load ptr, ptr %6, align 8, !tbaa !5
  %188 = load i32, ptr %17, align 4, !tbaa !9
  %189 = load i32, ptr %18, align 4, !tbaa !9
  %190 = load i32, ptr %19, align 4, !tbaa !9
  %191 = call i32 @w2c_hermes_hermes0x3A0x3ABacktrackingBumpPtrAllocator0x3A0x3AallocateNewSlab0x28unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef %187, i32 noundef %188, i32 noundef %189, i32 noundef %190)
  store i32 %191, ptr %17, align 4, !tbaa !9
  %192 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %192, ptr %9, align 4, !tbaa !9
  br label %202

193:                                              ; preds = %91
  %194 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %194, ptr %17, align 4, !tbaa !9
  %195 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %195, ptr %18, align 4, !tbaa !9
  %196 = load ptr, ptr %6, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.w2c_hermes, ptr %196, i32 0, i32 6
  %198 = load i32, ptr %17, align 4, !tbaa !9
  %199 = zext i32 %198 to i64
  %200 = add i64 %199, 4
  %201 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %197, i64 noundef %200, i32 noundef %201)
  br label %202

202:                                              ; preds = %193, %185
  %203 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %203, ptr %17, align 4, !tbaa !9
  %204 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %204, ptr %18, align 4, !tbaa !9
  %205 = load ptr, ptr %6, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.w2c_hermes, ptr %205, i32 0, i32 6
  %207 = load i32, ptr %18, align 4, !tbaa !9
  %208 = zext i32 %207 to i64
  %209 = add i64 %208, 8
  %210 = call i32 @i32_load(ptr noundef %206, i64 noundef %209)
  store i32 %210, ptr %18, align 4, !tbaa !9
  %211 = load ptr, ptr %6, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.w2c_hermes, ptr %211, i32 0, i32 6
  %213 = load i32, ptr %17, align 4, !tbaa !9
  %214 = zext i32 %213 to i64
  %215 = add i64 %214, 28
  %216 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %212, i64 noundef %215, i32 noundef %216)
  %217 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %217, ptr %17, align 4, !tbaa !9
  store i64 174, ptr %21, align 8, !tbaa !17
  %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 %17, align 4, !tbaa !9
  %221 = zext i32 %220 to i64
  %222 = add i64 %221, 8
  %223 = load i64, ptr %21, align 8, !tbaa !17
  call void @i64_store(ptr noundef %219, i64 noundef %222, i64 noundef %223)
  %224 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %224, ptr %17, align 4, !tbaa !9
  store i64 0, ptr %21, align 8, !tbaa !17
  %225 = load ptr, ptr %6, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.w2c_hermes, ptr %225, i32 0, i32 6
  %227 = load i32, ptr %17, align 4, !tbaa !9
  %228 = zext i32 %227 to i64
  %229 = load i64, ptr %21, align 8, !tbaa !17
  call void @i64_store(ptr noundef %226, i64 noundef %228, i64 noundef %229)
  %230 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %230, ptr %17, align 4, !tbaa !9
  %231 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %231, ptr %18, align 4, !tbaa !9
  %232 = load ptr, ptr %6, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.w2c_hermes, ptr %232, i32 0, i32 6
  %234 = load i32, ptr %17, align 4, !tbaa !9
  %235 = zext i32 %234 to i64
  %236 = add i64 %235, 24
  %237 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %233, i64 noundef %236, i32 noundef %237)
  %238 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %238, ptr %17, align 4, !tbaa !9
  %239 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %239, ptr %18, 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 %17, align 4, !tbaa !9
  %243 = zext i32 %242 to i64
  %244 = add i64 %243, 16
  %245 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %241, i64 noundef %244, i32 noundef %245)
  %246 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %246, ptr %17, align 4, !tbaa !9
  %247 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %247, ptr %18, align 4, !tbaa !9
  %248 = load ptr, ptr %6, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.w2c_hermes, ptr %248, i32 0, i32 6
  %250 = load i32, ptr %17, align 4, !tbaa !9
  %251 = zext i32 %250 to i64
  %252 = add i64 %251, 20
  %253 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %249, i64 noundef %252, i32 noundef %253)
  %254 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %254, ptr %17, align 4, !tbaa !9
  %255 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %255, ptr %18, align 4, !tbaa !9
  %256 = load ptr, ptr %6, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct.w2c_hermes, ptr %256, i32 0, i32 6
  %258 = load i32, ptr %17, align 4, !tbaa !9
  %259 = zext i32 %258 to i64
  %260 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %257, i64 noundef %259, i32 noundef %260)
  %261 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %261, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %262 = load ptr, ptr %6, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.w2c_hermes, ptr %262, i32 0, i32 6
  %264 = load i32, ptr %17, align 4, !tbaa !9
  %265 = zext i32 %264 to i64
  %266 = add i64 %265, 4
  %267 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %263, i64 noundef %266, i32 noundef %267)
  br label %289

268:                                              ; preds = %81
  %269 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %269, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %18, align 4, !tbaa !9
  %270 = load ptr, ptr %6, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.w2c_hermes, ptr %270, i32 0, i32 6
  %272 = load i32, ptr %17, align 4, !tbaa !9
  %273 = zext i32 %272 to i64
  %274 = add i64 %273, 4
  %275 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %271, i64 noundef %274, i32 noundef %275)
  %276 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %276, ptr %17, align 4, !tbaa !9
  %277 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %277, ptr %18, align 4, !tbaa !9
  %278 = load ptr, ptr %6, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.w2c_hermes, ptr %278, i32 0, i32 6
  %280 = load i32, ptr %18, align 4, !tbaa !9
  %281 = zext i32 %280 to i64
  %282 = add i64 %281, 8
  %283 = call i32 @i32_load(ptr noundef %279, i64 noundef %282)
  store i32 %283, ptr %18, align 4, !tbaa !9
  %284 = load ptr, ptr %6, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.w2c_hermes, ptr %284, i32 0, i32 6
  %286 = load i32, ptr %17, align 4, !tbaa !9
  %287 = zext i32 %286 to i64
  %288 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %285, i64 noundef %287, i32 noundef %288)
  br label %289

289:                                              ; preds = %268, %202, %73
  %290 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %290, ptr %17, align 4, !tbaa !9
  %291 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %291, ptr %18, align 4, !tbaa !9
  %292 = load ptr, ptr %6, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.w2c_hermes, ptr %292, i32 0, i32 6
  %294 = load i32, ptr %17, align 4, !tbaa !9
  %295 = zext i32 %294 to i64
  %296 = add i64 %295, 912
  %297 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %293, i64 noundef %296, i32 noundef %297)
  %298 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %298, ptr %17, align 4, !tbaa !9
  store i32 16, ptr %18, align 4, !tbaa !9
  %299 = load i32, ptr %18, align 4, !tbaa !9
  %300 = load i32, ptr %17, align 4, !tbaa !9
  %301 = add i32 %300, %299
  store i32 %301, ptr %17, align 4, !tbaa !9
  %302 = load i32, ptr %17, align 4, !tbaa !9
  %303 = load ptr, ptr %6, align 8, !tbaa !5
  %304 = getelementptr inbounds %struct.w2c_hermes, ptr %303, i32 0, i32 3
  store i32 %302, ptr %304, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, 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 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, 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, !10, i64 24}
!12 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !13, i64 40, !16, i64 80}
!13 = !{!"", !6, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !15, i64 32}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_Bool", !7, i64 0}
!16 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}
!17 = !{!14, !14, 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: inlinehint nounwind uwtable
declare hidden void @i32_store8(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 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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Aparser0x3A0x3Adetail0x3A0x3AJSParserImpl0x3A0x3AparseTypeAnnotationFlow0x28llvh0x3A0x3AOptional0x3Cllvh0x3A0x3ASMLoc0x3E0x2C0x20hermes0x3A0x3Aparser0x3A0x3Adetail0x3A0x3AJSParserImpl0x3A0x3AAllowAnonFunctionType0x29(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, -16
  store i32 %8, ptr %6, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 40
  %10 = zext i32 %2 to i64
  %11 = add nuw nsw i64 %10, 912
  %12 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %11)
  %13 = icmp eq i32 %4, 1
  %14 = zext i1 %13 to i32
  tail call void @i32_store8(ptr noundef nonnull %9, i64 noundef %11, i32 noundef %14)
  %15 = add i32 %7, -8
  tail call void @w2c_hermes_hermes0x3A0x3Aparser0x3A0x3Adetail0x3A0x3AJSParserImpl0x3A0x3AparseConditionalTypeAnnotationFlow0x280x29(ptr noundef %0, i32 noundef %15, i32 noundef %2)
  %16 = zext i32 %8 to i64
  %17 = add nuw nsw i64 %16, 12
  %18 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %17)
  %.not = icmp eq i32 %18, 0
  br i1 %.not, label %19, label %22

19:                                               ; preds = %5
  %20 = zext i32 %1 to i64
  %21 = add nuw nsw i64 %20, 4
  tail call void @i32_store8(ptr noundef nonnull %9, i64 noundef %21, i32 noundef 0)
  br label %68

22:                                               ; preds = %5
  %23 = zext i32 %3 to i64
  %24 = add nuw nsw i64 %23, 4
  %25 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %24)
  %.not160 = icmp eq i32 %25, 0
  br i1 %.not160, label %63, label %26

26:                                               ; preds = %22
  %27 = add nuw nsw i64 %10, 88
  %28 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %27)
  %29 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %23)
  %30 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %10)
  %31 = zext i32 %30 to i64
  %32 = add nuw nsw i64 %31, 12
  %33 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %32)
  %34 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %31)
  %35 = zext i32 %33 to i64
  %36 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %35)
  %37 = shl i32 %36, 2
  %38 = add i32 %37, %34
  %39 = zext i32 %38 to i64
  %40 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %39)
  %41 = add nuw nsw i64 %35, 4
  %42 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %41)
  %43 = add i32 %40, 7
  %44 = add i32 %43, %42
  %45 = and i32 %44, -8
  %46 = sub i32 %45, %40
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %41, i32 noundef %46)
  %47 = add i32 %46, 32
  %48 = icmp ugt i32 %47, 262144
  br i1 %48, label %49, label %51

49:                                               ; preds = %26
  %50 = tail call i32 @w2c_hermes_hermes0x3A0x3ABacktrackingBumpPtrAllocator0x3A0x3AallocateNewSlab0x28unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef nonnull %0, i32 noundef %30, i32 noundef 32, i32 noundef 8) #3
  br label %52

51:                                               ; preds = %26
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %41, i32 noundef %47)
  br label %52

52:                                               ; preds = %51, %49
  %.0 = phi i32 [ %50, %49 ], [ %45, %51 ]
  %53 = add nuw nsw i64 %16, 8
  %54 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %53)
  %55 = zext i32 %.0 to i64
  %56 = add nuw nsw i64 %55, 28
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %56, i32 noundef %54)
  %57 = add nuw nsw i64 %55, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %57, i64 noundef 174)
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %55, i64 noundef 0)
  %58 = add nuw nsw i64 %55, 24
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %58, i32 noundef %29)
  %59 = add nuw nsw i64 %55, 16
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %59, i32 noundef %29)
  %60 = add nuw nsw i64 %55, 20
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %60, i32 noundef %28)
  %61 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %61, i32 noundef %.0)
  %62 = add nuw nsw i64 %61, 4
  tail call void @i32_store8(ptr noundef nonnull %9, i64 noundef %62, i32 noundef 1)
  br label %68

63:                                               ; preds = %22
  %64 = zext i32 %1 to i64
  %65 = add nuw nsw i64 %64, 4
  tail call void @i32_store8(ptr noundef nonnull %9, i64 noundef %65, i32 noundef 1)
  %66 = add nuw nsw i64 %16, 8
  %67 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %66)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %64, i32 noundef %67)
  br label %68

68:                                               ; preds = %63, %52, %19
  tail call void @i32_store8(ptr noundef nonnull %9, i64 noundef %11, i32 noundef %12)
  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,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,TailCallElimPass