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

; 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: 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 double @f64_load(ptr noundef, i64 noundef) #1

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

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

; Function Attrs: nounwind uwtable
define dso_local double @w2c_hermes_log_inline(ptr noundef %0, i64 noundef %1, i32 noundef %2) #2 {
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i64, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca double, align 8
  %29 = alloca double, align 8
  %30 = alloca double, align 8
  %31 = alloca double, align 8
  %32 = alloca double, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i64 %1, ptr %5, align 8, !tbaa !9
  store i32 %2, ptr %6, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  store i32 0, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  store i64 0, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  store double 0.000000e+00, ptr %9, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  store double 0.000000e+00, ptr %10, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  store double 0.000000e+00, ptr %11, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  store double 0.000000e+00, ptr %12, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  store double 0.000000e+00, ptr %13, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  store double 0.000000e+00, ptr %14, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #3
  %33 = load i32, ptr %6, align 4, !tbaa !11
  store i32 %33, ptr %15, align 4, !tbaa !11
  %34 = load i64, ptr %5, align 8, !tbaa !9
  store i64 %34, ptr %22, align 8, !tbaa !9
  store i64 4604531861337669632, ptr %23, align 8, !tbaa !9
  %35 = load i64, ptr %23, align 8, !tbaa !9
  %36 = load i64, ptr %22, align 8, !tbaa !9
  %37 = sub i64 %36, %35
  store i64 %37, ptr %22, align 8, !tbaa !9
  %38 = load i64, ptr %22, align 8, !tbaa !9
  store i64 %38, ptr %8, align 8, !tbaa !9
  store i64 52, ptr %23, align 8, !tbaa !9
  %39 = load i64, ptr %22, align 8, !tbaa !9
  %40 = load i64, ptr %23, align 8, !tbaa !9
  %41 = and i64 %40, 63
  %42 = ashr i64 %39, %41
  store i64 %42, ptr %22, align 8, !tbaa !9
  %43 = load i64, ptr %22, align 8, !tbaa !9
  %44 = trunc i64 %43 to i32
  store i32 %44, ptr %16, align 4, !tbaa !11
  %45 = load i32, ptr %16, align 4, !tbaa !11
  %46 = sitofp i32 %45 to double
  store double %46, ptr %27, align 8, !tbaa !13
  %47 = load double, ptr %27, align 8, !tbaa !13
  store double %47, ptr %10, align 8, !tbaa !13
  store i32 236088, ptr %17, align 4, !tbaa !11
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.w2c_hermes, ptr %48, i32 0, i32 6
  %50 = load i32, ptr %17, align 4, !tbaa !11
  %51 = zext i32 %50 to i64
  %52 = call double @f64_load(ptr noundef %49, i64 noundef %51)
  store double %52, ptr %28, align 8, !tbaa !13
  %53 = load double, ptr %28, align 8, !tbaa !13
  %54 = load double, ptr %27, align 8, !tbaa !13
  %55 = fmul double %54, %53
  store double %55, ptr %27, align 8, !tbaa !13
  %56 = load i64, ptr %8, align 8, !tbaa !9
  store i64 %56, ptr %23, align 8, !tbaa !9
  store i64 45, ptr %24, align 8, !tbaa !9
  %57 = load i64, ptr %24, align 8, !tbaa !9
  %58 = and i64 %57, 63
  %59 = load i64, ptr %23, align 8, !tbaa !9
  %60 = lshr i64 %59, %58
  store i64 %60, ptr %23, align 8, !tbaa !9
  %61 = load i64, ptr %23, align 8, !tbaa !9
  %62 = trunc i64 %61 to i32
  store i32 %62, ptr %17, align 4, !tbaa !11
  store i32 127, ptr %18, align 4, !tbaa !11
  %63 = load i32, ptr %18, align 4, !tbaa !11
  %64 = load i32, ptr %17, align 4, !tbaa !11
  %65 = and i32 %64, %63
  store i32 %65, ptr %17, align 4, !tbaa !11
  store i32 5, ptr %18, align 4, !tbaa !11
  %66 = load i32, ptr %18, align 4, !tbaa !11
  %67 = and i32 %66, 31
  %68 = load i32, ptr %17, align 4, !tbaa !11
  %69 = shl i32 %68, %67
  store i32 %69, ptr %17, align 4, !tbaa !11
  %70 = load i32, ptr %17, align 4, !tbaa !11
  store i32 %70, ptr %7, align 4, !tbaa !11
  store i32 236176, ptr %18, align 4, !tbaa !11
  %71 = load i32, ptr %18, align 4, !tbaa !11
  %72 = load i32, ptr %17, align 4, !tbaa !11
  %73 = add i32 %72, %71
  store i32 %73, ptr %17, align 4, !tbaa !11
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.w2c_hermes, ptr %74, i32 0, i32 6
  %76 = load i32, ptr %17, align 4, !tbaa !11
  %77 = zext i32 %76 to i64
  %78 = call double @f64_load(ptr noundef %75, i64 noundef %77)
  store double %78, ptr %28, align 8, !tbaa !13
  %79 = load double, ptr %28, align 8, !tbaa !13
  %80 = load double, ptr %27, align 8, !tbaa !13
  %81 = fadd double %80, %79
  store double %81, ptr %27, align 8, !tbaa !13
  %82 = load i64, ptr %5, align 8, !tbaa !9
  store i64 %82, ptr %23, align 8, !tbaa !9
  %83 = load i64, ptr %8, align 8, !tbaa !9
  store i64 %83, ptr %24, align 8, !tbaa !9
  store i64 -4503599627370496, ptr %25, align 8, !tbaa !9
  %84 = load i64, ptr %25, align 8, !tbaa !9
  %85 = load i64, ptr %24, align 8, !tbaa !9
  %86 = and i64 %85, %84
  store i64 %86, ptr %24, align 8, !tbaa !9
  %87 = load i64, ptr %24, align 8, !tbaa !9
  %88 = load i64, ptr %23, align 8, !tbaa !9
  %89 = sub i64 %88, %87
  store i64 %89, ptr %23, align 8, !tbaa !9
  %90 = load i64, ptr %23, align 8, !tbaa !9
  store i64 %90, ptr %5, align 8, !tbaa !9
  store i64 2147483648, ptr %24, align 8, !tbaa !9
  %91 = load i64, ptr %24, align 8, !tbaa !9
  %92 = load i64, ptr %23, align 8, !tbaa !9
  %93 = add i64 %92, %91
  store i64 %93, ptr %23, align 8, !tbaa !9
  store i64 -4294967296, ptr %24, align 8, !tbaa !9
  %94 = load i64, ptr %24, align 8, !tbaa !9
  %95 = load i64, ptr %23, align 8, !tbaa !9
  %96 = and i64 %95, %94
  store i64 %96, ptr %23, align 8, !tbaa !9
  %97 = load i64, ptr %23, align 8, !tbaa !9
  %98 = call double @f64_reinterpret_i64(i64 noundef %97)
  store double %98, ptr %28, align 8, !tbaa !13
  %99 = load double, ptr %28, align 8, !tbaa !13
  store double %99, ptr %9, align 8, !tbaa !13
  %100 = load i32, ptr %7, align 4, !tbaa !11
  store i32 %100, ptr %18, align 4, !tbaa !11
  store i32 236152, ptr %19, align 4, !tbaa !11
  %101 = load i32, ptr %19, align 4, !tbaa !11
  %102 = load i32, ptr %18, align 4, !tbaa !11
  %103 = add i32 %102, %101
  store i32 %103, ptr %18, align 4, !tbaa !11
  %104 = load ptr, ptr %4, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.w2c_hermes, ptr %104, i32 0, i32 6
  %106 = load i32, ptr %18, align 4, !tbaa !11
  %107 = zext i32 %106 to i64
  %108 = call double @f64_load(ptr noundef %105, i64 noundef %107)
  store double %108, ptr %29, align 8, !tbaa !13
  %109 = load double, ptr %29, align 8, !tbaa !13
  store double %109, ptr %12, align 8, !tbaa !13
  %110 = load double, ptr %29, align 8, !tbaa !13
  %111 = load double, ptr %28, align 8, !tbaa !13
  %112 = fmul double %111, %110
  store double %112, ptr %28, align 8, !tbaa !13
  store double -1.000000e+00, ptr %29, align 8, !tbaa !13
  %113 = load double, ptr %29, align 8, !tbaa !13
  %114 = load double, ptr %28, align 8, !tbaa !13
  %115 = fadd double %114, %113
  store double %115, ptr %28, align 8, !tbaa !13
  %116 = load double, ptr %28, align 8, !tbaa !13
  store double %116, ptr %11, align 8, !tbaa !13
  %117 = load i64, ptr %5, align 8, !tbaa !9
  store i64 %117, ptr %24, align 8, !tbaa !9
  %118 = load i64, ptr %24, align 8, !tbaa !9
  %119 = call double @f64_reinterpret_i64(i64 noundef %118)
  store double %119, ptr %29, align 8, !tbaa !13
  %120 = load double, ptr %9, align 8, !tbaa !13
  store double %120, ptr %30, align 8, !tbaa !13
  %121 = load double, ptr %30, align 8, !tbaa !13
  %122 = load double, ptr %29, align 8, !tbaa !13
  %123 = fsub double %122, %121
  store double %123, ptr %29, align 8, !tbaa !13
  %124 = load double, ptr %12, align 8, !tbaa !13
  store double %124, ptr %30, align 8, !tbaa !13
  %125 = load double, ptr %30, align 8, !tbaa !13
  %126 = load double, ptr %29, align 8, !tbaa !13
  %127 = fmul double %126, %125
  store double %127, ptr %29, align 8, !tbaa !13
  %128 = load double, ptr %29, align 8, !tbaa !13
  store double %128, ptr %12, align 8, !tbaa !13
  %129 = load double, ptr %29, align 8, !tbaa !13
  %130 = load double, ptr %28, align 8, !tbaa !13
  %131 = fadd double %130, %129
  store double %131, ptr %28, align 8, !tbaa !13
  %132 = load double, ptr %28, align 8, !tbaa !13
  store double %132, ptr %9, align 8, !tbaa !13
  %133 = load double, ptr %10, align 8, !tbaa !13
  store double %133, ptr %29, align 8, !tbaa !13
  store i32 236080, ptr %19, align 4, !tbaa !11
  %134 = load ptr, ptr %4, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.w2c_hermes, ptr %134, i32 0, i32 6
  %136 = load i32, ptr %19, align 4, !tbaa !11
  %137 = zext i32 %136 to i64
  %138 = call double @f64_load(ptr noundef %135, i64 noundef %137)
  store double %138, ptr %30, align 8, !tbaa !13
  %139 = load double, ptr %30, align 8, !tbaa !13
  %140 = load double, ptr %29, align 8, !tbaa !13
  %141 = fmul double %140, %139
  store double %141, ptr %29, align 8, !tbaa !13
  %142 = load i32, ptr %7, align 4, !tbaa !11
  store i32 %142, ptr %19, align 4, !tbaa !11
  store i32 236168, ptr %20, align 4, !tbaa !11
  %143 = load i32, ptr %20, align 4, !tbaa !11
  %144 = load i32, ptr %19, align 4, !tbaa !11
  %145 = add i32 %144, %143
  store i32 %145, ptr %19, align 4, !tbaa !11
  %146 = load ptr, ptr %4, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.w2c_hermes, ptr %146, i32 0, i32 6
  %148 = load i32, ptr %19, align 4, !tbaa !11
  %149 = zext i32 %148 to i64
  %150 = call double @f64_load(ptr noundef %147, i64 noundef %149)
  store double %150, ptr %30, align 8, !tbaa !13
  %151 = load double, ptr %30, align 8, !tbaa !13
  %152 = load double, ptr %29, align 8, !tbaa !13
  %153 = fadd double %152, %151
  store double %153, ptr %29, align 8, !tbaa !13
  %154 = load double, ptr %29, align 8, !tbaa !13
  store double %154, ptr %10, align 8, !tbaa !13
  %155 = load double, ptr %9, align 8, !tbaa !13
  store double %155, ptr %30, align 8, !tbaa !13
  %156 = load double, ptr %10, align 8, !tbaa !13
  store double %156, ptr %31, align 8, !tbaa !13
  %157 = load double, ptr %31, align 8, !tbaa !13
  %158 = load double, ptr %30, align 8, !tbaa !13
  %159 = fadd double %158, %157
  store double %159, ptr %30, align 8, !tbaa !13
  %160 = load double, ptr %30, align 8, !tbaa !13
  store double %160, ptr %10, align 8, !tbaa !13
  %161 = load double, ptr %30, align 8, !tbaa !13
  %162 = load double, ptr %29, align 8, !tbaa !13
  %163 = fsub double %162, %161
  store double %163, ptr %29, align 8, !tbaa !13
  %164 = load double, ptr %29, align 8, !tbaa !13
  %165 = load double, ptr %28, align 8, !tbaa !13
  %166 = fadd double %165, %164
  store double %166, ptr %28, align 8, !tbaa !13
  %167 = load double, ptr %28, align 8, !tbaa !13
  %168 = load double, ptr %27, align 8, !tbaa !13
  %169 = fadd double %168, %167
  store double %169, ptr %27, align 8, !tbaa !13
  %170 = load double, ptr %12, align 8, !tbaa !13
  store double %170, ptr %28, align 8, !tbaa !13
  %171 = load double, ptr %9, align 8, !tbaa !13
  store double %171, ptr %29, align 8, !tbaa !13
  store i32 236096, ptr %19, align 4, !tbaa !11
  %172 = load ptr, ptr %4, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.w2c_hermes, ptr %172, i32 0, i32 6
  %174 = load i32, ptr %19, align 4, !tbaa !11
  %175 = zext i32 %174 to i64
  %176 = call double @f64_load(ptr noundef %173, i64 noundef %175)
  store double %176, ptr %30, align 8, !tbaa !13
  %177 = load double, ptr %30, align 8, !tbaa !13
  store double %177, ptr %13, align 8, !tbaa !13
  %178 = load double, ptr %30, align 8, !tbaa !13
  %179 = load double, ptr %29, align 8, !tbaa !13
  %180 = fmul double %179, %178
  store double %180, ptr %29, align 8, !tbaa !13
  %181 = load double, ptr %29, align 8, !tbaa !13
  store double %181, ptr %14, align 8, !tbaa !13
  %182 = load double, ptr %11, align 8, !tbaa !13
  store double %182, ptr %30, align 8, !tbaa !13
  %183 = load double, ptr %13, align 8, !tbaa !13
  store double %183, ptr %31, align 8, !tbaa !13
  %184 = load double, ptr %31, align 8, !tbaa !13
  %185 = load double, ptr %30, align 8, !tbaa !13
  %186 = fmul double %185, %184
  store double %186, ptr %30, align 8, !tbaa !13
  %187 = load double, ptr %30, align 8, !tbaa !13
  store double %187, ptr %13, align 8, !tbaa !13
  %188 = load double, ptr %30, align 8, !tbaa !13
  %189 = load double, ptr %29, align 8, !tbaa !13
  %190 = fadd double %189, %188
  store double %190, ptr %29, align 8, !tbaa !13
  %191 = load double, ptr %29, align 8, !tbaa !13
  %192 = load double, ptr %28, align 8, !tbaa !13
  %193 = fmul double %192, %191
  store double %193, ptr %28, align 8, !tbaa !13
  %194 = load double, ptr %28, align 8, !tbaa !13
  %195 = load double, ptr %27, align 8, !tbaa !13
  %196 = fadd double %195, %194
  store double %196, ptr %27, align 8, !tbaa !13
  %197 = load double, ptr %11, align 8, !tbaa !13
  store double %197, ptr %28, align 8, !tbaa !13
  %198 = load double, ptr %13, align 8, !tbaa !13
  store double %198, ptr %29, align 8, !tbaa !13
  %199 = load double, ptr %29, align 8, !tbaa !13
  %200 = load double, ptr %28, align 8, !tbaa !13
  %201 = fmul double %200, %199
  store double %201, ptr %28, align 8, !tbaa !13
  %202 = load double, ptr %28, align 8, !tbaa !13
  store double %202, ptr %11, align 8, !tbaa !13
  %203 = load double, ptr %10, align 8, !tbaa !13
  store double %203, ptr %29, align 8, !tbaa !13
  %204 = load double, ptr %10, align 8, !tbaa !13
  store double %204, ptr %30, align 8, !tbaa !13
  %205 = load double, ptr %11, align 8, !tbaa !13
  store double %205, ptr %31, align 8, !tbaa !13
  %206 = load double, ptr %31, align 8, !tbaa !13
  %207 = load double, ptr %30, align 8, !tbaa !13
  %208 = fadd double %207, %206
  store double %208, ptr %30, align 8, !tbaa !13
  %209 = load double, ptr %30, align 8, !tbaa !13
  store double %209, ptr %11, align 8, !tbaa !13
  %210 = load double, ptr %30, align 8, !tbaa !13
  %211 = load double, ptr %29, align 8, !tbaa !13
  %212 = fsub double %211, %210
  store double %212, ptr %29, align 8, !tbaa !13
  %213 = load double, ptr %29, align 8, !tbaa !13
  %214 = load double, ptr %28, align 8, !tbaa !13
  %215 = fadd double %214, %213
  store double %215, ptr %28, align 8, !tbaa !13
  %216 = load double, ptr %28, align 8, !tbaa !13
  %217 = load double, ptr %27, align 8, !tbaa !13
  %218 = fadd double %217, %216
  store double %218, ptr %27, align 8, !tbaa !13
  %219 = load double, ptr %9, align 8, !tbaa !13
  store double %219, ptr %28, align 8, !tbaa !13
  %220 = load double, ptr %9, align 8, !tbaa !13
  store double %220, ptr %29, align 8, !tbaa !13
  %221 = load double, ptr %14, align 8, !tbaa !13
  store double %221, ptr %30, align 8, !tbaa !13
  %222 = load double, ptr %30, align 8, !tbaa !13
  %223 = load double, ptr %29, align 8, !tbaa !13
  %224 = fmul double %223, %222
  store double %224, ptr %29, align 8, !tbaa !13
  %225 = load double, ptr %29, align 8, !tbaa !13
  store double %225, ptr %10, align 8, !tbaa !13
  %226 = load double, ptr %29, align 8, !tbaa !13
  %227 = load double, ptr %28, align 8, !tbaa !13
  %228 = fmul double %227, %226
  store double %228, ptr %28, align 8, !tbaa !13
  %229 = load double, ptr %10, align 8, !tbaa !13
  store double %229, ptr %29, align 8, !tbaa !13
  %230 = load double, ptr %10, align 8, !tbaa !13
  store double %230, ptr %30, align 8, !tbaa !13
  %231 = load double, ptr %9, align 8, !tbaa !13
  store double %231, ptr %31, align 8, !tbaa !13
  store i32 236144, ptr %21, align 4, !tbaa !11
  %232 = load ptr, ptr %4, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.w2c_hermes, ptr %232, i32 0, i32 6
  %234 = load i32, ptr %21, align 4, !tbaa !11
  %235 = zext i32 %234 to i64
  %236 = call double @f64_load(ptr noundef %233, i64 noundef %235)
  store double %236, ptr %32, align 8, !tbaa !13
  %237 = load double, ptr %32, align 8, !tbaa !13
  %238 = load double, ptr %31, align 8, !tbaa !13
  %239 = fmul double %238, %237
  store double %239, ptr %31, align 8, !tbaa !13
  store i32 236136, ptr %21, align 4, !tbaa !11
  %240 = load ptr, ptr %4, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.w2c_hermes, ptr %240, i32 0, i32 6
  %242 = load i32, ptr %21, align 4, !tbaa !11
  %243 = zext i32 %242 to i64
  %244 = call double @f64_load(ptr noundef %241, i64 noundef %243)
  store double %244, ptr %32, align 8, !tbaa !13
  %245 = load double, ptr %32, align 8, !tbaa !13
  %246 = load double, ptr %31, align 8, !tbaa !13
  %247 = fadd double %246, %245
  store double %247, ptr %31, align 8, !tbaa !13
  %248 = load double, ptr %31, align 8, !tbaa !13
  %249 = load double, ptr %30, align 8, !tbaa !13
  %250 = fmul double %249, %248
  store double %250, ptr %30, align 8, !tbaa !13
  %251 = load double, ptr %9, align 8, !tbaa !13
  store double %251, ptr %31, align 8, !tbaa !13
  store i32 236128, ptr %21, align 4, !tbaa !11
  %252 = load ptr, ptr %4, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.w2c_hermes, ptr %252, i32 0, i32 6
  %254 = load i32, ptr %21, align 4, !tbaa !11
  %255 = zext i32 %254 to i64
  %256 = call double @f64_load(ptr noundef %253, i64 noundef %255)
  store double %256, ptr %32, align 8, !tbaa !13
  %257 = load double, ptr %32, align 8, !tbaa !13
  %258 = load double, ptr %31, align 8, !tbaa !13
  %259 = fmul double %258, %257
  store double %259, ptr %31, align 8, !tbaa !13
  store i32 236120, ptr %21, align 4, !tbaa !11
  %260 = load ptr, ptr %4, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.w2c_hermes, ptr %260, i32 0, i32 6
  %262 = load i32, ptr %21, align 4, !tbaa !11
  %263 = zext i32 %262 to i64
  %264 = call double @f64_load(ptr noundef %261, i64 noundef %263)
  store double %264, ptr %32, align 8, !tbaa !13
  %265 = load double, ptr %32, align 8, !tbaa !13
  %266 = load double, ptr %31, align 8, !tbaa !13
  %267 = fadd double %266, %265
  store double %267, ptr %31, align 8, !tbaa !13
  %268 = load double, ptr %31, align 8, !tbaa !13
  %269 = load double, ptr %30, align 8, !tbaa !13
  %270 = fadd double %269, %268
  store double %270, ptr %30, align 8, !tbaa !13
  %271 = load double, ptr %30, align 8, !tbaa !13
  %272 = load double, ptr %29, align 8, !tbaa !13
  %273 = fmul double %272, %271
  store double %273, ptr %29, align 8, !tbaa !13
  %274 = load double, ptr %9, align 8, !tbaa !13
  store double %274, ptr %30, align 8, !tbaa !13
  store i32 236112, ptr %20, align 4, !tbaa !11
  %275 = load ptr, ptr %4, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.w2c_hermes, ptr %275, i32 0, i32 6
  %277 = load i32, ptr %20, align 4, !tbaa !11
  %278 = zext i32 %277 to i64
  %279 = call double @f64_load(ptr noundef %276, i64 noundef %278)
  store double %279, ptr %31, align 8, !tbaa !13
  %280 = load double, ptr %31, align 8, !tbaa !13
  %281 = load double, ptr %30, align 8, !tbaa !13
  %282 = fmul double %281, %280
  store double %282, ptr %30, align 8, !tbaa !13
  store i32 236104, ptr %20, align 4, !tbaa !11
  %283 = load ptr, ptr %4, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.w2c_hermes, ptr %283, i32 0, i32 6
  %285 = load i32, ptr %20, align 4, !tbaa !11
  %286 = zext i32 %285 to i64
  %287 = call double @f64_load(ptr noundef %284, i64 noundef %286)
  store double %287, ptr %31, align 8, !tbaa !13
  %288 = load double, ptr %31, align 8, !tbaa !13
  %289 = load double, ptr %30, align 8, !tbaa !13
  %290 = fadd double %289, %288
  store double %290, ptr %30, align 8, !tbaa !13
  %291 = load double, ptr %30, align 8, !tbaa !13
  %292 = load double, ptr %29, align 8, !tbaa !13
  %293 = fadd double %292, %291
  store double %293, ptr %29, align 8, !tbaa !13
  %294 = load double, ptr %29, align 8, !tbaa !13
  %295 = load double, ptr %28, align 8, !tbaa !13
  %296 = fmul double %295, %294
  store double %296, ptr %28, align 8, !tbaa !13
  %297 = load double, ptr %28, align 8, !tbaa !13
  %298 = load double, ptr %27, align 8, !tbaa !13
  %299 = fadd double %298, %297
  store double %299, ptr %27, align 8, !tbaa !13
  %300 = load double, ptr %27, align 8, !tbaa !13
  store double %300, ptr %9, align 8, !tbaa !13
  %301 = load double, ptr %11, align 8, !tbaa !13
  store double %301, ptr %28, align 8, !tbaa !13
  %302 = load double, ptr %11, align 8, !tbaa !13
  store double %302, ptr %29, align 8, !tbaa !13
  %303 = load double, ptr %9, align 8, !tbaa !13
  store double %303, ptr %30, align 8, !tbaa !13
  %304 = load double, ptr %30, align 8, !tbaa !13
  %305 = load double, ptr %29, align 8, !tbaa !13
  %306 = fadd double %305, %304
  store double %306, ptr %29, align 8, !tbaa !13
  %307 = load double, ptr %29, align 8, !tbaa !13
  store double %307, ptr %9, align 8, !tbaa !13
  %308 = load double, ptr %29, align 8, !tbaa !13
  %309 = load double, ptr %28, align 8, !tbaa !13
  %310 = fsub double %309, %308
  store double %310, ptr %28, align 8, !tbaa !13
  %311 = load double, ptr %28, align 8, !tbaa !13
  %312 = load double, ptr %27, align 8, !tbaa !13
  %313 = fadd double %312, %311
  store double %313, ptr %27, align 8, !tbaa !13
  %314 = load ptr, ptr %4, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.w2c_hermes, ptr %314, i32 0, i32 6
  %316 = load i32, ptr %15, align 4, !tbaa !11
  %317 = zext i32 %316 to i64
  %318 = load double, ptr %27, align 8, !tbaa !13
  call void @f64_store(ptr noundef %315, i64 noundef %317, double noundef %318)
  %319 = load double, ptr %9, align 8, !tbaa !13
  store double %319, ptr %26, align 8, !tbaa !13
  %320 = load double, ptr %26, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  ret double %320
}

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 = { 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, !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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

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

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

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

; Function Attrs: nounwind uwtable
define dso_local double @w2c_hermes_log_inline(ptr noundef %0, i64 noundef %1, i32 noundef %2) local_unnamed_addr #1 {
  %4 = add i64 %1, -4604531861337669632
  %5 = ashr i64 %4, 52
  %6 = trunc nsw i64 %5 to i32
  %7 = sitofp i32 %6 to double
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  %9 = tail call double @f64_load(ptr noundef nonnull %8, i64 noundef 236088)
  %10 = fmul double %9, %7
  %sh.diff = lshr i64 %4, 40
  %tr.sh.diff = trunc nuw nsw i64 %sh.diff to i32
  %11 = and i32 %tr.sh.diff, 4064
  %12 = add nuw nsw i32 %11, 236176
  %13 = zext nneg i32 %12 to i64
  %14 = tail call double @f64_load(ptr noundef nonnull %8, i64 noundef %13)
  %15 = fadd double %10, %14
  %16 = and i64 %4, -4503599627370496
  %17 = sub i64 %1, %16
  %18 = add i64 %17, 2147483648
  %19 = and i64 %18, -4294967296
  %20 = tail call double @f64_reinterpret_i64(i64 noundef %19)
  %21 = add nuw nsw i32 %11, 236152
  %22 = zext nneg i32 %21 to i64
  %23 = tail call double @f64_load(ptr noundef nonnull %8, i64 noundef %22)
  %24 = fmul double %20, %23
  %25 = fadd double %24, -1.000000e+00
  %26 = tail call double @f64_reinterpret_i64(i64 noundef %17)
  %27 = fsub double %26, %20
  %28 = fmul double %23, %27
  %29 = fadd double %25, %28
  %30 = tail call double @f64_load(ptr noundef nonnull %8, i64 noundef 236080)
  %31 = fmul double %30, %7
  %32 = add nuw nsw i32 %11, 236168
  %33 = zext nneg i32 %32 to i64
  %34 = tail call double @f64_load(ptr noundef nonnull %8, i64 noundef %33)
  %35 = fadd double %31, %34
  %36 = fadd double %29, %35
  %37 = fsub double %35, %36
  %38 = fadd double %29, %37
  %39 = fadd double %15, %38
  %40 = tail call double @f64_load(ptr noundef nonnull %8, i64 noundef 236096)
  %41 = fmul double %29, %40
  %42 = fmul double %25, %40
  %43 = fadd double %41, %42
  %44 = fmul double %28, %43
  %45 = fadd double %44, %39
  %46 = fmul double %25, %42
  %47 = fadd double %36, %46
  %48 = fsub double %36, %47
  %49 = fadd double %46, %48
  %50 = fadd double %45, %49
  %51 = fmul double %29, %41
  %52 = fmul double %29, %51
  %53 = tail call double @f64_load(ptr noundef nonnull %8, i64 noundef 236144)
  %54 = fmul double %29, %53
  %55 = tail call double @f64_load(ptr noundef nonnull %8, i64 noundef 236136)
  %56 = fadd double %54, %55
  %57 = fmul double %51, %56
  %58 = tail call double @f64_load(ptr noundef nonnull %8, i64 noundef 236128)
  %59 = fmul double %29, %58
  %60 = tail call double @f64_load(ptr noundef nonnull %8, i64 noundef 236120)
  %61 = fadd double %59, %60
  %62 = fadd double %57, %61
  %63 = fmul double %51, %62
  %64 = tail call double @f64_load(ptr noundef nonnull %8, i64 noundef 236112)
  %65 = fmul double %29, %64
  %66 = tail call double @f64_load(ptr noundef nonnull %8, i64 noundef 236104)
  %67 = fadd double %65, %66
  %68 = fadd double %63, %67
  %69 = fmul double %52, %68
  %70 = fadd double %50, %69
  %71 = fadd double %47, %70
  %72 = fsub double %47, %71
  %73 = fadd double %70, %72
  %74 = zext i32 %2 to i64
  tail call void @f64_store(ptr noundef nonnull %8, i64 noundef %74, double noundef %73)
  ret double %71
}

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 = { 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" }

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

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


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