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

; 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_t34 = 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: 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 void @i64_store(ptr noundef, i64 noundef, i64 noundef) #1

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

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

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

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

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

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

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

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

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

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

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

63:                                               ; preds = %5
  %64 = load i32, ptr %18, align 4, !tbaa !9
  br label %67

65:                                               ; preds = %5
  %66 = load i32, ptr %19, align 4, !tbaa !9
  br label %67

67:                                               ; preds = %65, %63
  %68 = phi i32 [ %64, %63 ], [ %66, %65 ]
  store i32 %68, ptr %18, align 4, !tbaa !9
  %69 = load ptr, ptr %6, align 8, !tbaa !5
  %70 = load i32, ptr %16, align 4, !tbaa !9
  %71 = load i32, ptr %17, align 4, !tbaa !9
  %72 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoIndex0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %69, i32 noundef %70, i32 noundef %71, i32 noundef %72)
  %73 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %73, ptr %16, align 4, !tbaa !9
  %74 = load ptr, ptr %6, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.w2c_hermes, ptr %74, i32 0, i32 6
  %76 = load i32, ptr %16, align 4, !tbaa !9
  %77 = zext i32 %76 to i64
  %78 = add i64 %77, 16
  %79 = call i32 @i32_load(ptr noundef %75, i64 noundef %78)
  store i32 %79, ptr %16, align 4, !tbaa !9
  %80 = load i32, ptr %16, align 4, !tbaa !9
  %81 = icmp ne i32 %80, 0
  %82 = xor i1 %81, true
  %83 = zext i1 %82 to i32
  store i32 %83, ptr %16, align 4, !tbaa !9
  %84 = load i32, ptr %16, align 4, !tbaa !9
  %85 = icmp ne i32 %84, 0
  br i1 %85, label %86, label %93

86:                                               ; preds = %67
  %87 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %87, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %88 = load ptr, ptr %6, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.w2c_hermes, ptr %88, i32 0, i32 6
  %90 = load i32, ptr %16, align 4, !tbaa !9
  %91 = zext i32 %90 to i64
  %92 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %89, i64 noundef %91, i32 noundef %92)
  br label %336

93:                                               ; preds = %67
  %94 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %94, ptr %16, align 4, !tbaa !9
  %95 = load ptr, ptr %6, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.w2c_hermes, ptr %95, i32 0, i32 6
  %97 = load i32, ptr %16, align 4, !tbaa !9
  %98 = zext i32 %97 to i64
  %99 = add i64 %98, 24
  %100 = call double @f64_load(ptr noundef %96, i64 noundef %99)
  store double %100, ptr %25, align 8, !tbaa !13
  %101 = load double, ptr %25, align 8, !tbaa !13
  store double %101, ptr %15, align 8, !tbaa !13
  %102 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %102, ptr %16, align 4, !tbaa !9
  %103 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %103, ptr %17, align 4, !tbaa !9
  store i32 67208, ptr %18, align 4, !tbaa !9
  %104 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %104, ptr %19, align 4, !tbaa !9
  store i32 16, ptr %20, align 4, !tbaa !9
  %105 = load i32, ptr %20, align 4, !tbaa !9
  %106 = load i32, ptr %19, align 4, !tbaa !9
  %107 = sub i32 %106, %105
  store i32 %107, ptr %19, align 4, !tbaa !9
  %108 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %108, ptr %20, align 4, !tbaa !9
  store i32 1, ptr %21, align 4, !tbaa !9
  %109 = load i32, ptr %20, align 4, !tbaa !9
  %110 = load i32, ptr %21, align 4, !tbaa !9
  %111 = icmp ule i32 %109, %110
  %112 = zext i1 %111 to i32
  store i32 %112, ptr %20, align 4, !tbaa !9
  %113 = load i32, ptr %20, align 4, !tbaa !9
  %114 = icmp ne i32 %113, 0
  br i1 %114, label %115, label %117

115:                                              ; preds = %93
  %116 = load i32, ptr %18, align 4, !tbaa !9
  br label %119

117:                                              ; preds = %93
  %118 = load i32, ptr %19, align 4, !tbaa !9
  br label %119

119:                                              ; preds = %117, %115
  %120 = phi i32 [ %116, %115 ], [ %118, %117 ]
  store i32 %120, ptr %18, align 4, !tbaa !9
  %121 = load ptr, ptr %6, align 8, !tbaa !5
  %122 = load i32, ptr %16, align 4, !tbaa !9
  %123 = load i32, ptr %17, align 4, !tbaa !9
  %124 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoBigInt_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %121, i32 noundef %122, i32 noundef %123, i32 noundef %124)
  %125 = load double, ptr %15, align 8, !tbaa !13
  store double %125, ptr %25, align 8, !tbaa !13
  store double 0x43F0000000000000, ptr %26, align 8, !tbaa !13
  %126 = load double, ptr %25, align 8, !tbaa !13
  %127 = load double, ptr %26, align 8, !tbaa !13
  %128 = fcmp olt double %126, %127
  %129 = zext i1 %128 to i32
  store i32 %129, ptr %16, align 4, !tbaa !9
  %130 = load double, ptr %15, align 8, !tbaa !13
  store double %130, ptr %26, align 8, !tbaa !13
  store double 0.000000e+00, ptr %27, align 8, !tbaa !13
  %131 = load double, ptr %26, align 8, !tbaa !13
  %132 = load double, ptr %27, align 8, !tbaa !13
  %133 = fcmp oge double %131, %132
  %134 = zext i1 %133 to i32
  store i32 %134, ptr %17, align 4, !tbaa !9
  %135 = load i32, ptr %17, align 4, !tbaa !9
  %136 = load i32, ptr %16, align 4, !tbaa !9
  %137 = and i32 %136, %135
  store i32 %137, ptr %16, align 4, !tbaa !9
  %138 = load i32, ptr %16, align 4, !tbaa !9
  %139 = icmp ne i32 %138, 0
  br i1 %139, label %140, label %177

140:                                              ; preds = %119
  %141 = load double, ptr %15, align 8, !tbaa !13
  store double %141, ptr %25, align 8, !tbaa !13
  %142 = load double, ptr %25, align 8, !tbaa !13
  %143 = load double, ptr %25, align 8, !tbaa !13
  %144 = fcmp une double %142, %143
  %145 = xor i1 %144, true
  %146 = xor i1 %145, true
  %147 = zext i1 %146 to i32
  %148 = sext i32 %147 to i64
  %149 = call i64 @llvm.expect.i64(i64 %148, i64 0)
  %150 = icmp ne i64 %149, 0
  br i1 %150, label %151, label %153

151:                                              ; preds = %140
  call void @wasm_rt_trap(i32 noundef 4) #7
  unreachable

152:                                              ; No predecessors!
  br label %175

153:                                              ; preds = %140
  %154 = load double, ptr %25, align 8, !tbaa !13
  %155 = fcmp ogt double %154, -1.000000e+00
  br i1 %155, label %156, label %159

156:                                              ; preds = %153
  %157 = load double, ptr %25, align 8, !tbaa !13
  %158 = fcmp olt double %157, 0x43F0000000000000
  br label %159

159:                                              ; preds = %156, %153
  %160 = phi i1 [ false, %153 ], [ %158, %156 ]
  %161 = xor i1 %160, true
  %162 = xor i1 %161, true
  %163 = xor i1 %162, true
  %164 = zext i1 %163 to i32
  %165 = sext i32 %164 to i64
  %166 = call i64 @llvm.expect.i64(i64 %165, i64 0)
  %167 = icmp ne i64 %166, 0
  br i1 %167, label %168, label %170

168:                                              ; preds = %159
  call void @wasm_rt_trap(i32 noundef 2) #7
  unreachable

169:                                              ; No predecessors!
  br label %173

170:                                              ; preds = %159
  %171 = load double, ptr %25, align 8, !tbaa !13
  %172 = fptoui double %171 to i64
  br label %173

173:                                              ; preds = %170, %169
  %174 = phi i64 [ 0, %169 ], [ %172, %170 ]
  br label %175

175:                                              ; preds = %173, %152
  %176 = phi i64 [ 0, %152 ], [ %174, %173 ]
  store i64 %176, ptr %22, align 8, !tbaa !11
  br label %178

177:                                              ; preds = %119
  store i64 0, ptr %22, align 8, !tbaa !11
  br label %178

178:                                              ; preds = %177, %175
  %179 = load i64, ptr %22, align 8, !tbaa !11
  store i64 %179, ptr %14, align 8, !tbaa !11
  %180 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %180, ptr %16, align 4, !tbaa !9
  %181 = load ptr, ptr %6, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.w2c_hermes, ptr %181, i32 0, i32 6
  %183 = load i32, ptr %16, align 4, !tbaa !9
  %184 = zext i32 %183 to i64
  %185 = call i32 @i32_load(ptr noundef %182, i64 noundef %184)
  store i32 %185, ptr %16, align 4, !tbaa !9
  %186 = load i32, ptr %16, align 4, !tbaa !9
  %187 = icmp ne i32 %186, 0
  %188 = xor i1 %187, true
  %189 = zext i1 %188 to i32
  store i32 %189, ptr %16, align 4, !tbaa !9
  %190 = load i32, ptr %16, align 4, !tbaa !9
  %191 = icmp ne i32 %190, 0
  br i1 %191, label %192, label %199

192:                                              ; preds = %178
  %193 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %193, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %194 = load ptr, ptr %6, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.w2c_hermes, ptr %194, i32 0, i32 6
  %196 = load i32, ptr %16, align 4, !tbaa !9
  %197 = zext i32 %196 to i64
  %198 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %195, i64 noundef %197, i32 noundef %198)
  br label %336

199:                                              ; preds = %178
  %200 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %200, ptr %16, align 4, !tbaa !9
  %201 = load ptr, ptr %6, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.w2c_hermes, ptr %201, i32 0, i32 6
  %203 = load i32, ptr %16, align 4, !tbaa !9
  %204 = zext i32 %203 to i64
  %205 = add i64 %204, 8
  %206 = call i64 @i64_load32_u(ptr noundef %202, i64 noundef %205)
  store i64 %206, ptr %22, align 8, !tbaa !11
  store i64 -562949953421312, ptr %23, align 8, !tbaa !11
  %207 = load i64, ptr %23, align 8, !tbaa !11
  %208 = load i64, ptr %22, align 8, !tbaa !11
  %209 = or i64 %208, %207
  store i64 %209, ptr %22, align 8, !tbaa !11
  %210 = load i64, ptr %22, align 8, !tbaa !11
  store i64 %210, ptr %13, align 8, !tbaa !11
  %211 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %211, ptr %16, align 4, !tbaa !9
  %212 = load ptr, ptr %6, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.w2c_hermes, ptr %212, i32 0, i32 6
  %214 = load i32, ptr %16, align 4, !tbaa !9
  %215 = zext i32 %214 to i64
  %216 = add i64 %215, 4
  %217 = call i32 @i32_load(ptr noundef %213, i64 noundef %216)
  store i32 %217, ptr %16, align 4, !tbaa !9
  %218 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %218, ptr %12, align 4, !tbaa !9
  %219 = load ptr, ptr %6, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.w2c_hermes, ptr %219, i32 0, i32 6
  %221 = load i32, ptr %16, align 4, !tbaa !9
  %222 = zext i32 %221 to i64
  %223 = add i64 %222, 164
  %224 = call i32 @i32_load(ptr noundef %220, i64 noundef %223)
  store i32 %224, ptr %16, align 4, !tbaa !9
  %225 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %225, ptr %10, align 4, !tbaa !9
  %226 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %226, ptr %17, align 4, !tbaa !9
  %227 = load ptr, ptr %6, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.w2c_hermes, ptr %227, i32 0, i32 6
  %229 = load i32, ptr %17, align 4, !tbaa !9
  %230 = zext i32 %229 to i64
  %231 = add i64 %230, 168
  %232 = call i32 @i32_load(ptr noundef %228, i64 noundef %231)
  store i32 %232, ptr %17, align 4, !tbaa !9
  %233 = load i32, ptr %16, align 4, !tbaa !9
  %234 = load i32, ptr %17, align 4, !tbaa !9
  %235 = icmp ult i32 %233, %234
  %236 = zext i1 %235 to i32
  store i32 %236, ptr %16, align 4, !tbaa !9
  %237 = load i32, ptr %16, align 4, !tbaa !9
  %238 = icmp ne i32 %237, 0
  br i1 %238, label %239, label %258

239:                                              ; preds = %199
  %240 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %240, ptr %16, align 4, !tbaa !9
  %241 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %241, ptr %17, align 4, !tbaa !9
  store i32 8, ptr %18, align 4, !tbaa !9
  %242 = load i32, ptr %18, align 4, !tbaa !9
  %243 = load i32, ptr %17, align 4, !tbaa !9
  %244 = add i32 %243, %242
  store i32 %244, ptr %17, align 4, !tbaa !9
  %245 = load ptr, ptr %6, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.w2c_hermes, ptr %245, i32 0, i32 6
  %247 = load i32, ptr %16, align 4, !tbaa !9
  %248 = zext i32 %247 to i64
  %249 = add i64 %248, 164
  %250 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %246, i64 noundef %249, i32 noundef %250)
  %251 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %251, ptr %16, align 4, !tbaa !9
  %252 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %252, ptr %23, align 8, !tbaa !11
  %253 = load ptr, ptr %6, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.w2c_hermes, ptr %253, i32 0, i32 6
  %255 = load i32, ptr %16, align 4, !tbaa !9
  %256 = zext i32 %255 to i64
  %257 = load i64, ptr %23, align 8, !tbaa !11
  call void @i64_store(ptr noundef %254, i64 noundef %256, i64 noundef %257)
  br label %266

258:                                              ; preds = %199
  %259 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %259, ptr %16, align 4, !tbaa !9
  %260 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %260, ptr %23, align 8, !tbaa !11
  %261 = load ptr, ptr %6, align 8, !tbaa !5
  %262 = load i32, ptr %16, align 4, !tbaa !9
  %263 = load i64, ptr %23, align 8, !tbaa !11
  %264 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef %261, i32 noundef %262, i64 noundef %263)
  store i32 %264, ptr %16, align 4, !tbaa !9
  %265 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %265, ptr %10, align 4, !tbaa !9
  br label %266

266:                                              ; preds = %258, %239
  %267 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %267, ptr %16, align 4, !tbaa !9
  %268 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %268, ptr %17, align 4, !tbaa !9
  %269 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %269, ptr %24, align 8, !tbaa !11
  %270 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %270, ptr %19, align 4, !tbaa !9
  %271 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %271, ptr %20, align 4, !tbaa !9
  %272 = load i32, ptr %20, align 4, !tbaa !9
  %273 = load ptr, ptr %6, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.w2c_hermes, ptr %273, i32 0, i32 7
  %275 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %274, i32 0, i32 2
  %276 = load i32, ptr %275, align 4, !tbaa !20
  %277 = icmp ult i32 %272, %276
  br i1 %277, label %278, label %301

278:                                              ; preds = %266
  %279 = load ptr, ptr %6, align 8, !tbaa !5
  %280 = getelementptr inbounds %struct.w2c_hermes, ptr %279, i32 0, i32 7
  %281 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %280, i32 0, i32 0
  %282 = load ptr, ptr %281, align 8, !tbaa !21
  %283 = load i32, ptr %20, align 4, !tbaa !9
  %284 = zext i32 %283 to i64
  %285 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %282, i64 %284
  %286 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %285, i32 0, i32 1
  %287 = load ptr, ptr %286, align 8, !tbaa !22
  %288 = icmp ne ptr %287, null
  br i1 %288, label %289, label %301

289:                                              ; preds = %278
  %290 = load ptr, ptr @w2c_hermes_t34, align 8, !tbaa !5
  %291 = load ptr, ptr %6, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.w2c_hermes, ptr %291, i32 0, i32 7
  %293 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %292, i32 0, i32 0
  %294 = load ptr, ptr %293, align 8, !tbaa !21
  %295 = load i32, ptr %20, align 4, !tbaa !9
  %296 = zext i32 %295 to i64
  %297 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %294, i64 %296
  %298 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %297, i32 0, i32 0
  %299 = load ptr, ptr %298, align 8, !tbaa !24
  %300 = call zeroext i1 @func_types_eq(ptr noundef %290, ptr noundef %299)
  br label %301

301:                                              ; preds = %289, %278, %266
  %302 = phi i1 [ false, %278 ], [ false, %266 ], [ %300, %289 ]
  %303 = xor i1 %302, true
  %304 = xor i1 %303, true
  %305 = zext i1 %304 to i32
  %306 = sext i32 %305 to i64
  %307 = call i64 @llvm.expect.i64(i64 %306, i64 1)
  %308 = icmp ne i64 %307, 0
  br i1 %308, label %311, label %309

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

310:                                              ; No predecessors!
  br label %311

311:                                              ; preds = %310, %301
  %312 = phi i1 [ true, %301 ], [ false, %310 ]
  %313 = zext i1 %312 to i32
  %314 = load ptr, ptr %6, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.w2c_hermes, ptr %314, i32 0, i32 7
  %316 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %315, i32 0, i32 0
  %317 = load ptr, ptr %316, align 8, !tbaa !21
  %318 = load i32, ptr %20, align 4, !tbaa !9
  %319 = zext i32 %318 to i64
  %320 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %317, i64 %319
  %321 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %320, i32 0, i32 1
  %322 = load ptr, ptr %321, align 8, !tbaa !22
  %323 = load ptr, ptr %6, align 8, !tbaa !5
  %324 = getelementptr inbounds %struct.w2c_hermes, ptr %323, i32 0, i32 7
  %325 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %324, i32 0, i32 0
  %326 = load ptr, ptr %325, align 8, !tbaa !21
  %327 = load i32, ptr %20, align 4, !tbaa !9
  %328 = zext i32 %327 to i64
  %329 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %326, i64 %328
  %330 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %329, i32 0, i32 2
  %331 = load ptr, ptr %330, align 8, !tbaa !25
  %332 = load i32, ptr %16, align 4, !tbaa !9
  %333 = load i32, ptr %17, align 4, !tbaa !9
  %334 = load i64, ptr %24, align 8, !tbaa !11
  %335 = load i32, ptr %19, align 4, !tbaa !9
  call void %322(ptr noundef %331, i32 noundef %332, i32 noundef %333, i64 noundef %334, i32 noundef %335)
  br label %336

336:                                              ; preds = %311, %192, %86
  %337 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %337, ptr %16, align 4, !tbaa !9
  store i32 32, ptr %17, align 4, !tbaa !9
  %338 = load i32, ptr %17, align 4, !tbaa !9
  %339 = load i32, ptr %16, align 4, !tbaa !9
  %340 = add i32 %339, %338
  store i32 %340, ptr %16, align 4, !tbaa !9
  %341 = load i32, ptr %16, align 4, !tbaa !9
  %342 = load ptr, ptr %6, align 8, !tbaa !5
  %343 = getelementptr inbounds %struct.w2c_hermes, ptr %342, i32 0, i32 3
  store i32 %341, ptr %343, align 8, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, 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 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #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 = { "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 = { 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 #4 = { nocallback nofree nosync nounwind willreturn memory(none) }
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, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!16, !10, i64 24}
!16 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !17, i64 40, !19, i64 80}
!17 = !{!"", !6, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !18, i64 32}
!18 = !{!"_Bool", !7, i64 0}
!19 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}
!20 = !{!16, !10, i64 92}
!21 = !{!16, !6, i64 80}
!22 = !{!23, !6, i64 8}
!23 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16}
!24 = !{!23, !6, i64 0}
!25 = !{!23, !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_t34 = external local_unnamed_addr constant ptr, align 8

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden 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

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

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

; Function Attrs: noreturn
declare void @wasm_rt_trap(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

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

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

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

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

20:                                               ; preds = %5
  %21 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %21, i32 noundef 0)
  br label %83

22:                                               ; preds = %5
  %23 = add nuw nsw i64 %17, 24
  %24 = tail call double @f64_load(ptr noundef nonnull %10, i64 noundef %23)
  %25 = add i32 %12, -16
  %26 = icmp ult i32 %15, 2
  %27 = select i1 %26, i32 67208, i32 %25
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoBigInt_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef nonnull %0, i32 noundef %8, i32 noundef %3, i32 noundef %27) #4
  %28 = fcmp olt double %24, 0x43F0000000000000
  %29 = fcmp oge double %24, 0.000000e+00
  %30 = and i1 %28, %29
  br i1 %30, label %31, label %39

31:                                               ; preds = %22
  %32 = fcmp uno double %24, 0.000000e+00
  br i1 %32, label %33, label %34, !prof !15

33:                                               ; preds = %31
  tail call void @wasm_rt_trap(i32 noundef 4) #5
  unreachable

34:                                               ; preds = %31
  %35 = fcmp ogt double %24, -1.000000e+00
  br i1 %35, label %37, label %36, !prof !16

36:                                               ; preds = %34
  tail call void @wasm_rt_trap(i32 noundef 2) #5
  unreachable

37:                                               ; preds = %34
  %38 = fptoui double %24 to i64
  br label %39

39:                                               ; preds = %22, %37
  %.0140 = phi i64 [ %38, %37 ], [ 0, %22 ]
  %40 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %17)
  %.not144 = icmp eq i32 %40, 0
  br i1 %.not144, label %41, label %43

41:                                               ; preds = %39
  %42 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %42, i32 noundef 0)
  br label %83

43:                                               ; preds = %39
  %44 = add nuw nsw i64 %17, 8
  %45 = tail call i64 @i64_load32_u(ptr noundef nonnull %10, i64 noundef %44)
  %46 = or i64 %45, -562949953421312
  %47 = zext i32 %3 to i64
  %48 = add nuw nsw i64 %47, 4
  %49 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %48)
  %50 = zext i32 %49 to i64
  %51 = add nuw nsw i64 %50, 164
  %52 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %51)
  %53 = add nuw nsw i64 %50, 168
  %54 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %53)
  %55 = icmp ult i32 %52, %54
  br i1 %55, label %56, label %59

56:                                               ; preds = %43
  %57 = add i32 %52, 8
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %51, i32 noundef %57)
  %58 = zext i32 %52 to i64
  tail call void @i64_store(ptr noundef nonnull %10, i64 noundef %58, i64 noundef %46)
  br label %61

59:                                               ; preds = %43
  %60 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef nonnull %0, i32 noundef %49, i64 noundef %46) #4
  br label %61

61:                                               ; preds = %59, %56
  %.0 = phi i32 [ %52, %56 ], [ %60, %59 ]
  %62 = getelementptr inbounds i8, ptr %0, i64 80
  %63 = getelementptr inbounds i8, ptr %0, i64 92
  %64 = load i32, ptr %63, align 4, !tbaa !17
  %65 = icmp ugt i32 %64, %2
  br i1 %65, label %66, label %.critedge, !prof !16

66:                                               ; preds = %61
  %67 = load ptr, ptr %62, align 8, !tbaa !18
  %68 = zext i32 %2 to i64
  %69 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %67, i64 %68
  %70 = getelementptr inbounds i8, ptr %69, i64 8
  %71 = load ptr, ptr %70, align 8, !tbaa !19
  %.not145 = icmp eq ptr %71, null
  br i1 %.not145, label %.critedge, label %72, !prof !15

72:                                               ; preds = %66
  %73 = load ptr, ptr @w2c_hermes_t34, align 8, !tbaa !21
  %74 = load ptr, ptr %69, align 8, !tbaa !22
  %75 = tail call zeroext i1 @func_types_eq(ptr noundef %73, ptr noundef %74)
  br i1 %75, label %76, label %.critedge, !prof !16

.critedge:                                        ; preds = %66, %61, %72
  tail call void @wasm_rt_trap(i32 noundef 6) #5
  unreachable

76:                                               ; preds = %72
  %77 = load ptr, ptr %62, align 8, !tbaa !18
  %78 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %77, i64 %68
  %79 = getelementptr inbounds i8, ptr %78, i64 8
  %80 = load ptr, ptr %79, align 8, !tbaa !19
  %81 = getelementptr inbounds i8, ptr %78, i64 16
  %82 = load ptr, ptr %81, align 8, !tbaa !23
  tail call void %80(ptr noundef %82, i32 noundef %1, i32 noundef %3, i64 noundef %.0140, i32 noundef %.0) #4
  br label %83

83:                                               ; preds = %76, %41, %20
  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 = { 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 = { 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 = !{!"branch_weights", !"expected", i32 1, i32 2000}
!16 = !{!"branch_weights", !"expected", i32 2000, i32 1}
!17 = !{!6, !10, i64 92}
!18 = !{!6, !7, i64 80}
!19 = !{!20, !7, i64 8}
!20 = !{!"", !7, i64 0, !7, i64 8, !7, i64 16}
!21 = !{!7, !7, i64 0}
!22 = !{!20, !7, i64 0}
!23 = !{!20, !7, i64 16}


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