; LLVM IR from facebook/hermes :: API/hermes_sandbox/external (hermes_sandbox_impl_opt_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 }
%struct.wasm_rt_funcref_t = type { ptr, ptr, ptr }

@w2c_hermes_t1 = external constant ptr, align 8

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

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #3

declare i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateBasicBlock0x28hermes0x3A0x3AFunction0x2A0x29(ptr noundef, i32 noundef, i32 noundef) #4

declare i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateBranchInst0x28hermes0x3A0x3ABasicBlock0x2A0x29(ptr noundef, i32 noundef, i32 noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @func_types_eq(ptr noundef, ptr noundef) #1

declare void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fthrow_out_of_range0x5Babi0x3Av150070x5D0x28char0x20const0x2A0x29(ptr noundef) #4

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Airgen0x3A0x3AESTreeIRGen0x3A0x3AgenFinallyBeforeControlChange0x28hermes0x3A0x3Airgen0x3A0x3ASurroundingTry0x2A0x2C0x20hermes0x3A0x3Airgen0x3A0x3ASurroundingTry0x2A0x2C0x20hermes0x3A0x3Airgen0x3A0x3AControlFlowChange0x2C0x20hermes0x3A0x3ABasicBlock0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #5 {
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca 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
  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) #6
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  store i32 0, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  store i32 0, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 0, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  %23 = load ptr, ptr %7, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.w2c_hermes, ptr %23, i32 0, i32 3
  %25 = load i32, ptr %24, align 8, !tbaa !11
  store i32 %25, ptr %18, align 4, !tbaa !9
  store i32 16, ptr %19, align 4, !tbaa !9
  %26 = load i32, ptr %19, align 4, !tbaa !9
  %27 = load i32, ptr %18, align 4, !tbaa !9
  %28 = sub i32 %27, %26
  store i32 %28, ptr %18, align 4, !tbaa !9
  %29 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %29, ptr %14, align 4, !tbaa !9
  %30 = load i32, ptr %18, align 4, !tbaa !9
  %31 = load ptr, ptr %7, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.w2c_hermes, ptr %31, i32 0, i32 3
  store i32 %30, ptr %32, align 8, !tbaa !11
  %33 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %33, ptr %18, align 4, !tbaa !9
  %34 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %34, ptr %19, align 4, !tbaa !9
  %35 = load i32, ptr %18, align 4, !tbaa !9
  %36 = load i32, ptr %19, align 4, !tbaa !9
  %37 = icmp ne i32 %35, %36
  %38 = zext i1 %37 to i32
  store i32 %38, ptr %18, align 4, !tbaa !9
  %39 = load i32, ptr %18, align 4, !tbaa !9
  %40 = icmp ne i32 %39, 0
  br i1 %40, label %41, label %343

41:                                               ; preds = %6
  %42 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %42, ptr %18, align 4, !tbaa !9
  store i32 4, ptr %19, align 4, !tbaa !9
  %43 = load i32, ptr %19, align 4, !tbaa !9
  %44 = load i32, ptr %18, align 4, !tbaa !9
  %45 = add i32 %44, %43
  store i32 %45, ptr %18, align 4, !tbaa !9
  %46 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %46, ptr %15, align 4, !tbaa !9
  br label %47

47:                                               ; preds = %341, %41
  %48 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %48, ptr %18, align 4, !tbaa !9
  %49 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %49, ptr %19, align 4, !tbaa !9
  %50 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %50, ptr %20, align 4, !tbaa !9
  %51 = load ptr, ptr %7, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.w2c_hermes, ptr %51, i32 0, i32 6
  %53 = load i32, ptr %20, align 4, !tbaa !9
  %54 = zext i32 %53 to i64
  %55 = add i64 %54, 40
  %56 = call i32 @i32_load(ptr noundef %52, i64 noundef %55)
  store i32 %56, ptr %20, align 4, !tbaa !9
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.w2c_hermes, ptr %57, i32 0, i32 6
  %59 = load i32, ptr %20, align 4, !tbaa !9
  %60 = zext i32 %59 to i64
  %61 = add i64 %60, 60
  %62 = call i32 @i32_load(ptr noundef %58, i64 noundef %61)
  store i32 %62, ptr %20, align 4, !tbaa !9
  %63 = load ptr, ptr %7, align 8, !tbaa !5
  %64 = load i32, ptr %19, align 4, !tbaa !9
  %65 = load i32, ptr %20, align 4, !tbaa !9
  %66 = call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateBasicBlock0x28hermes0x3A0x3AFunction0x2A0x29(ptr noundef %63, i32 noundef %64, i32 noundef %65)
  store i32 %66, ptr %19, align 4, !tbaa !9
  %67 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %67, ptr %13, align 4, !tbaa !9
  %68 = load ptr, ptr %7, align 8, !tbaa !5
  %69 = load i32, ptr %18, align 4, !tbaa !9
  %70 = load i32, ptr %19, align 4, !tbaa !9
  %71 = call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateBranchInst0x28hermes0x3A0x3ABasicBlock0x2A0x29(ptr noundef %68, i32 noundef %69, i32 noundef %70)
  store i32 %71, ptr %18, align 4, !tbaa !9
  %72 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %72, ptr %18, align 4, !tbaa !9
  %73 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %73, ptr %19, 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 %18, align 4, !tbaa !9
  %77 = zext i32 %76 to i64
  %78 = add i64 %77, 8
  %79 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %75, i64 noundef %78, i32 noundef %79)
  %80 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %80, ptr %18, align 4, !tbaa !9
  %81 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %81, ptr %19, align 4, !tbaa !9
  store i32 36, ptr %20, align 4, !tbaa !9
  %82 = load i32, ptr %20, align 4, !tbaa !9
  %83 = load i32, ptr %19, align 4, !tbaa !9
  %84 = add i32 %83, %82
  store i32 %84, ptr %19, align 4, !tbaa !9
  store i32 0, ptr %20, align 4, !tbaa !9
  %85 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %85, ptr %21, align 4, !tbaa !9
  %86 = load i32, ptr %21, align 4, !tbaa !9
  %87 = icmp ne i32 %86, 0
  br i1 %87, label %88, label %90

88:                                               ; preds = %47
  %89 = load i32, ptr %19, align 4, !tbaa !9
  br label %92

90:                                               ; preds = %47
  %91 = load i32, ptr %20, align 4, !tbaa !9
  br label %92

92:                                               ; preds = %90, %88
  %93 = phi i32 [ %89, %88 ], [ %91, %90 ]
  store i32 %93, ptr %19, align 4, !tbaa !9
  %94 = load ptr, ptr %7, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.w2c_hermes, ptr %94, i32 0, i32 6
  %96 = load i32, ptr %18, align 4, !tbaa !9
  %97 = zext i32 %96 to i64
  %98 = add i64 %97, 4
  %99 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %95, i64 noundef %98, i32 noundef %99)
  %100 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %100, ptr %18, align 4, !tbaa !9
  %101 = load ptr, ptr %7, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.w2c_hermes, ptr %101, i32 0, i32 6
  %103 = load i32, ptr %18, align 4, !tbaa !9
  %104 = zext i32 %103 to i64
  %105 = add i64 %104, 12
  %106 = call i32 @i32_load(ptr noundef %102, i64 noundef %105)
  store i32 %106, ptr %18, align 4, !tbaa !9
  %107 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %107, ptr %13, align 4, !tbaa !9
  %108 = load i32, ptr %18, align 4, !tbaa !9
  %109 = icmp ne i32 %108, 0
  br i1 %109, label %110, label %138

110:                                              ; preds = %92
  %111 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %111, ptr %18, align 4, !tbaa !9
  %112 = load ptr, ptr %7, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.w2c_hermes, ptr %112, i32 0, i32 6
  %114 = load i32, ptr %18, align 4, !tbaa !9
  %115 = zext i32 %114 to i64
  %116 = add i64 %115, 16
  %117 = call i32 @i32_load(ptr noundef %113, i64 noundef %116)
  store i32 %117, ptr %18, align 4, !tbaa !9
  %118 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %118, ptr %16, align 4, !tbaa !9
  %119 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %119, ptr %18, align 4, !tbaa !9
  %120 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %120, ptr %19, align 4, !tbaa !9
  %121 = load ptr, ptr %7, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.w2c_hermes, ptr %121, i32 0, i32 6
  %123 = load i32, ptr %18, align 4, !tbaa !9
  %124 = zext i32 %123 to i64
  %125 = add i64 %124, 16
  %126 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %122, i64 noundef %125, i32 noundef %126)
  %127 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %127, ptr %18, align 4, !tbaa !9
  %128 = load ptr, ptr %7, align 8, !tbaa !5
  %129 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateTryEndInst0x280x29(ptr noundef %128, i32 noundef %129)
  %130 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %130, ptr %18, align 4, !tbaa !9
  %131 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %131, ptr %19, align 4, !tbaa !9
  %132 = load ptr, ptr %7, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.w2c_hermes, ptr %132, i32 0, i32 6
  %134 = load i32, ptr %18, align 4, !tbaa !9
  %135 = zext i32 %134 to i64
  %136 = add i64 %135, 16
  %137 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %133, i64 noundef %136, i32 noundef %137)
  br label %142

138:                                              ; preds = %92
  %139 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %139, ptr %18, align 4, !tbaa !9
  %140 = load ptr, ptr %7, align 8, !tbaa !5
  %141 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateTryEndInst0x280x29(ptr noundef %140, i32 noundef %141)
  br label %142

142:                                              ; preds = %138, %110
  %143 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %143, ptr %18, align 4, !tbaa !9
  %144 = load ptr, ptr %7, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.w2c_hermes, ptr %144, i32 0, i32 6
  %146 = load i32, ptr %18, align 4, !tbaa !9
  %147 = zext i32 %146 to i64
  %148 = add i64 %147, 32
  %149 = call i32 @i32_load(ptr noundef %145, i64 noundef %148)
  store i32 %149, ptr %18, align 4, !tbaa !9
  %150 = load i32, ptr %18, align 4, !tbaa !9
  %151 = icmp ne i32 %150, 0
  br i1 %151, label %152, label %325

152:                                              ; preds = %142
  %153 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %153, ptr %18, align 4, !tbaa !9
  %154 = load ptr, ptr %7, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.w2c_hermes, ptr %154, i32 0, i32 6
  %156 = load i32, ptr %18, align 4, !tbaa !9
  %157 = zext i32 %156 to i64
  %158 = add i64 %157, 40
  %159 = call i32 @i32_load(ptr noundef %155, i64 noundef %158)
  store i32 %159, ptr %18, align 4, !tbaa !9
  %160 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %160, ptr %13, align 4, !tbaa !9
  %161 = load ptr, ptr %7, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.w2c_hermes, ptr %161, i32 0, i32 6
  %163 = load i32, ptr %18, align 4, !tbaa !9
  %164 = zext i32 %163 to i64
  %165 = add i64 %164, 64
  %166 = call i32 @i32_load(ptr noundef %162, i64 noundef %165)
  store i32 %166, ptr %18, align 4, !tbaa !9
  %167 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %167, ptr %17, align 4, !tbaa !9
  %168 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %168, ptr %18, align 4, !tbaa !9
  %169 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %169, ptr %19, align 4, !tbaa !9
  %170 = load ptr, ptr %7, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.w2c_hermes, ptr %170, i32 0, i32 6
  %172 = load i32, ptr %19, align 4, !tbaa !9
  %173 = zext i32 %172 to i64
  %174 = add i64 %173, 4
  %175 = call i32 @i32_load(ptr noundef %171, i64 noundef %174)
  store i32 %175, ptr %19, align 4, !tbaa !9
  %176 = load ptr, ptr %7, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.w2c_hermes, ptr %176, i32 0, i32 6
  %178 = load i32, ptr %18, align 4, !tbaa !9
  %179 = zext i32 %178 to i64
  %180 = add i64 %179, 64
  %181 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %177, i64 noundef %180, i32 noundef %181)
  %182 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %182, ptr %18, align 4, !tbaa !9
  %183 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %183, ptr %19, align 4, !tbaa !9
  %184 = load ptr, ptr %7, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.w2c_hermes, ptr %184, i32 0, i32 6
  %186 = load i32, ptr %19, align 4, !tbaa !9
  %187 = zext i32 %186 to i64
  %188 = add i64 %187, 8
  %189 = call i32 @i32_load(ptr noundef %185, i64 noundef %188)
  store i32 %189, ptr %19, align 4, !tbaa !9
  %190 = load ptr, ptr %7, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.w2c_hermes, ptr %190, i32 0, i32 6
  %192 = load i32, ptr %18, align 4, !tbaa !9
  %193 = zext i32 %192 to i64
  %194 = add i64 %193, 12
  %195 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %191, i64 noundef %194, i32 noundef %195)
  %196 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %196, ptr %18, align 4, !tbaa !9
  %197 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %197, ptr %19, align 4, !tbaa !9
  %198 = load ptr, ptr %7, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.w2c_hermes, ptr %198, i32 0, i32 6
  %200 = load i32, ptr %18, align 4, !tbaa !9
  %201 = zext i32 %200 to i64
  %202 = add i64 %201, 8
  %203 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %199, i64 noundef %202, i32 noundef %203)
  %204 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %204, ptr %18, align 4, !tbaa !9
  %205 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %205, ptr %19, align 4, !tbaa !9
  %206 = load ptr, ptr %7, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.w2c_hermes, ptr %206, i32 0, i32 6
  %208 = load i32, ptr %18, align 4, !tbaa !9
  %209 = zext i32 %208 to i64
  %210 = add i64 %209, 4
  %211 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %207, i64 noundef %210, i32 noundef %211)
  %212 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %212, ptr %18, align 4, !tbaa !9
  %213 = load ptr, ptr %7, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.w2c_hermes, ptr %213, i32 0, i32 6
  %215 = load i32, ptr %18, align 4, !tbaa !9
  %216 = zext i32 %215 to i64
  %217 = add i64 %216, 32
  %218 = call i32 @i32_load(ptr noundef %214, i64 noundef %217)
  store i32 %218, ptr %18, align 4, !tbaa !9
  %219 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %219, ptr %16, align 4, !tbaa !9
  %220 = load i32, ptr %18, align 4, !tbaa !9
  %221 = icmp ne i32 %220, 0
  %222 = xor i1 %221, true
  %223 = zext i1 %222 to i32
  store i32 %223, ptr %18, align 4, !tbaa !9
  %224 = load i32, ptr %18, align 4, !tbaa !9
  %225 = icmp ne i32 %224, 0
  br i1 %225, label %226, label %227

226:                                              ; preds = %152
  br label %351

227:                                              ; preds = %152
  %228 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %228, ptr %18, align 4, !tbaa !9
  %229 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %229, ptr %19, align 4, !tbaa !9
  store i32 12, ptr %20, align 4, !tbaa !9
  %230 = load i32, ptr %20, align 4, !tbaa !9
  %231 = load i32, ptr %19, align 4, !tbaa !9
  %232 = add i32 %231, %230
  store i32 %232, ptr %19, align 4, !tbaa !9
  %233 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %233, ptr %20, align 4, !tbaa !9
  store i32 8, ptr %21, align 4, !tbaa !9
  %234 = load i32, ptr %21, align 4, !tbaa !9
  %235 = load i32, ptr %20, align 4, !tbaa !9
  %236 = add i32 %235, %234
  store i32 %236, ptr %20, align 4, !tbaa !9
  %237 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %237, ptr %21, align 4, !tbaa !9
  store i32 4, ptr %22, align 4, !tbaa !9
  %238 = load i32, ptr %22, align 4, !tbaa !9
  %239 = load i32, ptr %21, align 4, !tbaa !9
  %240 = add i32 %239, %238
  store i32 %240, ptr %21, align 4, !tbaa !9
  %241 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %241, ptr %22, align 4, !tbaa !9
  %242 = load ptr, ptr %7, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.w2c_hermes, ptr %242, i32 0, i32 6
  %244 = load i32, ptr %22, align 4, !tbaa !9
  %245 = zext i32 %244 to i64
  %246 = call i32 @i32_load(ptr noundef %243, i64 noundef %245)
  store i32 %246, ptr %22, align 4, !tbaa !9
  %247 = load ptr, ptr %7, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.w2c_hermes, ptr %247, i32 0, i32 6
  %249 = load i32, ptr %22, align 4, !tbaa !9
  %250 = zext i32 %249 to i64
  %251 = add i64 %250, 24
  %252 = call i32 @i32_load(ptr noundef %248, i64 noundef %251)
  store i32 %252, ptr %22, align 4, !tbaa !9
  %253 = load i32, ptr %22, align 4, !tbaa !9
  %254 = load ptr, ptr %7, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.w2c_hermes, ptr %254, i32 0, i32 7
  %256 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %255, i32 0, i32 2
  %257 = load i32, ptr %256, align 4, !tbaa !17
  %258 = icmp ult i32 %253, %257
  br i1 %258, label %259, label %282

259:                                              ; preds = %227
  %260 = load ptr, ptr %7, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.w2c_hermes, ptr %260, i32 0, i32 7
  %262 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %261, i32 0, i32 0
  %263 = load ptr, ptr %262, align 8, !tbaa !18
  %264 = load i32, ptr %22, align 4, !tbaa !9
  %265 = zext i32 %264 to i64
  %266 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %263, i64 %265
  %267 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %266, i32 0, i32 1
  %268 = load ptr, ptr %267, align 8, !tbaa !19
  %269 = icmp ne ptr %268, null
  br i1 %269, label %270, label %282

270:                                              ; preds = %259
  %271 = load ptr, ptr @w2c_hermes_t1, align 8, !tbaa !5
  %272 = load ptr, ptr %7, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.w2c_hermes, ptr %272, i32 0, i32 7
  %274 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %273, i32 0, i32 0
  %275 = load ptr, ptr %274, align 8, !tbaa !18
  %276 = load i32, ptr %22, align 4, !tbaa !9
  %277 = zext i32 %276 to i64
  %278 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %275, i64 %277
  %279 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %278, i32 0, i32 0
  %280 = load ptr, ptr %279, align 8, !tbaa !21
  %281 = call zeroext i1 @func_types_eq(ptr noundef %271, ptr noundef %280)
  br label %282

282:                                              ; preds = %270, %259, %227
  %283 = phi i1 [ false, %259 ], [ false, %227 ], [ %281, %270 ]
  %284 = xor i1 %283, true
  %285 = xor i1 %284, true
  %286 = zext i1 %285 to i32
  %287 = sext i32 %286 to i64
  %288 = call i64 @llvm.expect.i64(i64 %287, i64 1)
  %289 = icmp ne i64 %288, 0
  br i1 %289, label %292, label %290

290:                                              ; preds = %282
  call void @wasm_rt_trap(i32 noundef 6) #7
  unreachable

291:                                              ; No predecessors!
  br label %292

292:                                              ; preds = %291, %282
  %293 = phi i1 [ true, %282 ], [ false, %291 ]
  %294 = zext i1 %293 to i32
  %295 = load ptr, ptr %7, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.w2c_hermes, ptr %295, i32 0, i32 7
  %297 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %296, i32 0, i32 0
  %298 = load ptr, ptr %297, align 8, !tbaa !18
  %299 = load i32, ptr %22, align 4, !tbaa !9
  %300 = zext i32 %299 to i64
  %301 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %298, i64 %300
  %302 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %301, i32 0, i32 1
  %303 = load ptr, ptr %302, align 8, !tbaa !19
  %304 = load ptr, ptr %7, align 8, !tbaa !5
  %305 = getelementptr inbounds %struct.w2c_hermes, ptr %304, i32 0, i32 7
  %306 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %305, i32 0, i32 0
  %307 = load ptr, ptr %306, align 8, !tbaa !18
  %308 = load i32, ptr %22, align 4, !tbaa !9
  %309 = zext i32 %308 to i64
  %310 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %307, i64 %309
  %311 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %310, i32 0, i32 2
  %312 = load ptr, ptr %311, align 8, !tbaa !22
  %313 = load i32, ptr %18, align 4, !tbaa !9
  %314 = load i32, ptr %19, align 4, !tbaa !9
  %315 = load i32, ptr %20, align 4, !tbaa !9
  %316 = load i32, ptr %21, align 4, !tbaa !9
  call void %303(ptr noundef %312, i32 noundef %313, i32 noundef %314, i32 noundef %315, i32 noundef %316)
  %317 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %317, ptr %18, align 4, !tbaa !9
  %318 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %318, ptr %19, align 4, !tbaa !9
  %319 = load ptr, ptr %7, align 8, !tbaa !5
  %320 = getelementptr inbounds %struct.w2c_hermes, ptr %319, i32 0, i32 6
  %321 = load i32, ptr %18, align 4, !tbaa !9
  %322 = zext i32 %321 to i64
  %323 = add i64 %322, 64
  %324 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %320, i64 noundef %323, i32 noundef %324)
  br label %325

325:                                              ; preds = %292, %142
  %326 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %326, ptr %18, align 4, !tbaa !9
  %327 = load ptr, ptr %7, align 8, !tbaa !5
  %328 = getelementptr inbounds %struct.w2c_hermes, ptr %327, i32 0, i32 6
  %329 = load i32, ptr %18, align 4, !tbaa !9
  %330 = zext i32 %329 to i64
  %331 = add i64 %330, 4
  %332 = call i32 @i32_load(ptr noundef %328, i64 noundef %331)
  store i32 %332, ptr %18, align 4, !tbaa !9
  %333 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %333, ptr %9, align 4, !tbaa !9
  %334 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %334, ptr %19, align 4, !tbaa !9
  %335 = load i32, ptr %18, align 4, !tbaa !9
  %336 = load i32, ptr %19, align 4, !tbaa !9
  %337 = icmp ne i32 %335, %336
  %338 = zext i1 %337 to i32
  store i32 %338, ptr %18, align 4, !tbaa !9
  %339 = load i32, ptr %18, align 4, !tbaa !9
  %340 = icmp ne i32 %339, 0
  br i1 %340, label %341, label %342

341:                                              ; preds = %325
  br label %47

342:                                              ; preds = %325
  br label %343

343:                                              ; preds = %342, %6
  %344 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %344, ptr %18, align 4, !tbaa !9
  store i32 16, ptr %19, align 4, !tbaa !9
  %345 = load i32, ptr %19, align 4, !tbaa !9
  %346 = load i32, ptr %18, align 4, !tbaa !9
  %347 = add i32 %346, %345
  store i32 %347, ptr %18, align 4, !tbaa !9
  %348 = load i32, ptr %18, align 4, !tbaa !9
  %349 = load ptr, ptr %7, align 8, !tbaa !5
  %350 = getelementptr inbounds %struct.w2c_hermes, ptr %349, i32 0, i32 3
  store i32 %348, ptr %350, align 8, !tbaa !11
  br label %353

351:                                              ; preds = %226
  %352 = load ptr, ptr %7, align 8, !tbaa !5
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fthrow_out_of_range0x5Babi0x3Av150070x5D0x28char0x20const0x2A0x29(ptr noundef %352)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

353:                                              ; preds = %343
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  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 = { 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 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #4 = { "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 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 #6 = { nounwind }
attributes #7 = { 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, !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 = !{!12, !10, i64 92}
!18 = !{!12, !6, i64 80}
!19 = !{!20, !6, i64 8}
!20 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!20, !6, i64 0}
!22 = !{!20, !6, i64 16}


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

%struct.wasm_rt_funcref_t = type { ptr, ptr, ptr }

@w2c_hermes_t1 = external local_unnamed_addr constant ptr, align 8

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

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

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @func_types_eq(ptr noundef, ptr noundef) local_unnamed_addr #0

declare void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fthrow_out_of_range0x5Babi0x3Av150070x5D0x28char0x20const0x2A0x29(ptr noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Airgen0x3A0x3AESTreeIRGen0x3A0x3AgenFinallyBeforeControlChange0x28hermes0x3A0x3Airgen0x3A0x3ASurroundingTry0x2A0x2C0x20hermes0x3A0x3Airgen0x3A0x3ASurroundingTry0x2A0x2C0x20hermes0x3A0x3Airgen0x3A0x3AControlFlowChange0x2C0x20hermes0x3A0x3ABasicBlock0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #3 {
  %7 = getelementptr inbounds i8, ptr %0, i64 24
  %8 = load i32, ptr %7, align 8, !tbaa !5
  %9 = add i32 %8, -16
  store i32 %9, ptr %7, align 8, !tbaa !5
  %.not = icmp eq i32 %2, %3
  br i1 %.not, label %.loopexit, label %10

10:                                               ; preds = %6
  %11 = add i32 %1, 4
  %12 = getelementptr inbounds i8, ptr %0, i64 40
  %13 = zext i32 %1 to i64
  %14 = add nuw nsw i64 %13, 40
  %15 = zext i32 %11 to i64
  %16 = add nuw nsw i64 %15, 8
  %17 = add nuw nsw i64 %15, 4
  %18 = add nuw nsw i64 %13, 16
  %19 = zext i32 %9 to i64
  %20 = add nuw nsw i64 %19, 12
  %21 = add nuw nsw i64 %19, 8
  %22 = add nuw nsw i64 %19, 4
  %23 = add i32 %8, -4
  %24 = add i32 %8, -8
  %25 = add i32 %8, -12
  %26 = getelementptr inbounds i8, ptr %0, i64 80
  %27 = getelementptr inbounds i8, ptr %0, i64 92
  %28 = load ptr, ptr @w2c_hermes_t1, align 8
  br label %29

29:                                               ; preds = %81, %10
  %.0 = phi i32 [ %2, %10 ], [ %82, %81 ]
  %30 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %14)
  %31 = zext i32 %30 to i64
  %32 = add nuw nsw i64 %31, 60
  %33 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %32)
  %34 = tail call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateBasicBlock0x28hermes0x3A0x3AFunction0x2A0x29(ptr noundef %0, i32 noundef %11, i32 noundef %33) #4
  %35 = tail call i32 @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateBranchInst0x28hermes0x3A0x3ABasicBlock0x2A0x29(ptr noundef %0, i32 noundef %11, i32 noundef %34) #4
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %16, i32 noundef %34)
  %36 = add i32 %34, 36
  %.not163 = icmp eq i32 %34, 0
  %37 = select i1 %.not163, i32 0, i32 %36
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %17, i32 noundef %37)
  %38 = zext i32 %.0 to i64
  %39 = add nuw nsw i64 %38, 12
  %40 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %39)
  %.not164 = icmp eq i32 %40, 0
  br i1 %.not164, label %43, label %41

41:                                               ; preds = %29
  %42 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %18)
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %18, i32 noundef %40)
  tail call void @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateTryEndInst0x280x29(ptr noundef %0, i32 noundef %11)
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %18, i32 noundef %42)
  br label %44

43:                                               ; preds = %29
  tail call void @w2c_hermes_hermes0x3A0x3AIRBuilder0x3A0x3AcreateTryEndInst0x280x29(ptr noundef %0, i32 noundef %11)
  br label %44

44:                                               ; preds = %43, %41
  %45 = add nuw nsw i64 %38, 32
  %46 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %45)
  %.not165 = icmp eq i32 %46, 0
  br i1 %.not165, label %._crit_edge, label %47

._crit_edge:                                      ; preds = %44
  %.pre = add nuw nsw i64 %38, 4
  br label %81

47:                                               ; preds = %44
  %48 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %14)
  %49 = zext i32 %48 to i64
  %50 = add nuw nsw i64 %49, 64
  %51 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %50)
  %52 = add nuw nsw i64 %38, 4
  %53 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %52)
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %50, i32 noundef %53)
  %54 = add nuw nsw i64 %38, 8
  %55 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %54)
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %20, i32 noundef %55)
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %21, i32 noundef %4)
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %22, i32 noundef %5)
  %56 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %45)
  %.not166 = icmp eq i32 %56, 0
  br i1 %.not166, label %83, label %57

57:                                               ; preds = %47
  %58 = zext i32 %56 to i64
  %59 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %58)
  %60 = zext i32 %59 to i64
  %61 = add nuw nsw i64 %60, 24
  %62 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %61)
  %63 = load i32, ptr %27, align 4, !tbaa !15
  %64 = icmp ult i32 %62, %63
  br i1 %64, label %65, label %.critedge, !prof !16

65:                                               ; preds = %57
  %66 = load ptr, ptr %26, align 8, !tbaa !17
  %67 = zext i32 %62 to i64
  %68 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %66, i64 %67
  %69 = getelementptr inbounds i8, ptr %68, i64 8
  %70 = load ptr, ptr %69, align 8, !tbaa !18
  %.not167 = icmp eq ptr %70, null
  br i1 %.not167, label %.critedge, label %71, !prof !20

71:                                               ; preds = %65
  %72 = load ptr, ptr %68, align 8, !tbaa !21
  %73 = tail call zeroext i1 @func_types_eq(ptr noundef %28, ptr noundef %72)
  br i1 %73, label %74, label %.critedge, !prof !16

.critedge:                                        ; preds = %65, %57, %71
  tail call void @wasm_rt_trap(i32 noundef 6) #5
  unreachable

74:                                               ; preds = %71
  %75 = load ptr, ptr %26, align 8, !tbaa !17
  %76 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %75, i64 %67
  %77 = getelementptr inbounds i8, ptr %76, i64 8
  %78 = load ptr, ptr %77, align 8, !tbaa !18
  %79 = getelementptr inbounds i8, ptr %76, i64 16
  %80 = load ptr, ptr %79, align 8, !tbaa !22
  tail call void %78(ptr noundef %80, i32 noundef %56, i32 noundef %23, i32 noundef %24, i32 noundef %25) #4
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %50, i32 noundef %51)
  br label %81

81:                                               ; preds = %._crit_edge, %74
  %.pre-phi = phi i64 [ %.pre, %._crit_edge ], [ %52, %74 ]
  %82 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %.pre-phi)
  %.not168 = icmp eq i32 %82, %3
  br i1 %.not168, label %.loopexit, label %29

.loopexit:                                        ; preds = %81, %6
  store i32 %8, ptr %7, align 8, !tbaa !5
  ret void

83:                                               ; preds = %47
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fthrow_out_of_range0x5Babi0x3Av150070x5D0x28char0x20const0x2A0x29(ptr noundef %0) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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)"}
!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}
!15 = !{!6, !10, i64 92}
!16 = !{!"branch_weights", !"expected", i32 2000, i32 1}
!17 = !{!6, !7, i64 80}
!18 = !{!19, !7, i64 8}
!19 = !{!"", !7, i64 0, !7, i64 8, !7, i64 16}
!20 = !{!"branch_weights", !"expected", i32 1, i32 2000}
!21 = !{!19, !7, i64 0}
!22 = !{!19, !7, i64 16}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopSimplifyPass,LoopUnrollPass,LowerExpectIntrinsicPass,SROAPass,SimplifyCFGPass,TailCallElimPass