import Foundation

let PI: Double = 3.14159265358979323846
if let inp = readLine() {
  let s = inp.components(separatedBy: " ")
  if let fa: Double = Double(s[0])
    ,let fb: Double = Double(s[1])
    ,let fh: Double = Double(s[2])
    ,let fm: Double = Double(s[3]) {
    let dir: Double = fh/12.0 + (fm/60.0)/12.0 - fm/60.0
    let ra: Double =  PI * 2.0 * dir
    let rq: Double = (fa * fa + fb * fb) - 2.0 * fa * fb * cos(ra)
    print(sqrt(rq))
  }
}

; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/Swift/Source_1059/llvm_O3.ll'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/Swift/Source_1059/llvm_O3.ll"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%TSd = type <{ double }>
%swift.type = type { i64 }
%swift.protocol_conformance_descriptor = type { i32, i32, i32, i32 }
%swift.type_descriptor = type opaque
%TSS = type <{ %Ts11_StringGutsV }>
%Ts11_StringGutsV = type <{ %Ts13_StringObjectV }>
%Ts13_StringObjectV = type <{ %Ts6UInt64V, %swift.bridge* }>
%Ts6UInt64V = type <{ i64 }>
%swift.bridge = type opaque
%swift.opaque = type opaque
%Ts28__ContiguousArrayStorageBaseC = type <{ %swift.refcounted, %Ts10_ArrayBodyV }>
%swift.refcounted = type { %swift.type*, i64 }
%Ts10_ArrayBodyV = type <{ %TSo22_SwiftArrayBodyStorageV }>
%TSo22_SwiftArrayBodyStorageV = type <{ %TSi, %TSu }>
%TSi = type <{ i64 }>
%TSu = type <{ i64 }>

@"$s7llvm_O32PISdvp" = hidden local_unnamed_addr global %TSd zeroinitializer, align 8
@"$sSSN" = external global %swift.type, align 8
@"$sS2SSysWL" = linkonce_odr hidden local_unnamed_addr global i8** null, align 8
@"$sSSSysMc" = external global %swift.protocol_conformance_descriptor, align 4
@"$sSSSTsWP" = external global i8*, align 8
@"$ss23_ContiguousArrayStorageCMn" = external global %swift.type_descriptor, align 4
@"got.$ss23_ContiguousArrayStorageCMn" = private unnamed_addr constant %swift.type_descriptor* @"$ss23_ContiguousArrayStorageCMn"
@"symbolic _____yypG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [4 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [4 x i8], i8 }>, <{ i8, i32, [4 x i8], i8 }>* @"symbolic _____yypG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [4 x i8] c"yypG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCyypGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8 }>* @"symbolic _____yypG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCyypGMD" to i64)) to i32), i32 -9 }, align 8
@"$sSdN" = external global %swift.type, align 8
@"\01l_entry_point" = private constant { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (i32 (i32, i8**)* @main to i64), i64 ptrtoint ({ i32, i32 }* @"\01l_entry_point" to i64)) to i32), i32 0 }, section "swift5_entry", align 4
@__swift_reflection_version = linkonce_odr hidden constant i16 3
@_swift1_autolink_entries = private constant [172 x i8] c"-lFoundation\00-lswiftCore\00-lswift_StringProcessing\00-lswift_RegexParser\00-lswift_Concurrency\00-lswiftGlibc\00-lm\00-lpthread\00-lutil\00-ldl\00-lswiftDispatch\00-ldispatch\00-lBlocksRuntime\00", section ".swift1_autolink_entries", no_sanitize_address, align 8
@llvm.compiler.used = appending global [4 x i8*] [i8* bitcast ({ i32, i32 }* @"\01l_entry_point" to i8*), i8* bitcast (i16* @__swift_reflection_version to i8*), i8* getelementptr inbounds ([172 x i8], [172 x i8]* @_swift1_autolink_entries, i32 0, i32 0), i8* bitcast (i32 (i32, i8**)* @main to i8*)], section "llvm.metadata"

define protected i32 @main(i32 %0, i8** nocapture readnone %1) #0 {
entry:
  %2 = alloca %TSS, align 8
  %3 = alloca %TSS, align 8
  %4 = alloca %TSS, align 8
  %5 = alloca %TSS, align 8
  %6 = alloca %TSS, align 8
  %7 = alloca %TSS, align 8
  store double 0x400921FB54442D18, double* getelementptr inbounds (%TSd, %TSd* @"$s7llvm_O32PISdvp", i64 0, i32 0), align 8
  %8 = tail call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %9 = extractvalue { i64, i64 } %8, 1
  %10 = icmp eq i64 %9, 0
  br i1 %10, label %124, label %11

11:                                               ; preds = %entry
  %12 = extractvalue { i64, i64 } %8, 0
  %13 = inttoptr i64 %9 to %swift.bridge*
  %14 = bitcast %TSS* %2 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %14)
  %._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %2, i64 0, i32 0, i32 0, i32 0, i32 0
  store i64 %12, i64* %._guts._object._countAndFlagsBits._value, align 8
  %._guts._object._object = getelementptr inbounds %TSS, %TSS* %2, i64 0, i32 0, i32 0, i32 1
  store %swift.bridge* %13, %swift.bridge** %._guts._object._object, align 8
  %15 = bitcast %TSS* %3 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %15)
  %._guts1._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %3, i64 0, i32 0, i32 0, i32 0, i32 0
  store i64 32, i64* %._guts1._object._countAndFlagsBits._value, align 8
  %._guts1._object._object = getelementptr inbounds %TSS, %TSS* %3, i64 0, i32 0, i32 0, i32 1
  store %swift.bridge* inttoptr (i64 -2233785415175766016 to %swift.bridge*), %swift.bridge** %._guts1._object._object, align 8
  %16 = bitcast %TSS* %3 to %swift.opaque*
  %17 = tail call i8** @"$sS2SSysWl"() #9
  %18 = bitcast %TSS* %2 to %swift.opaque*
  %19 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSy10FoundationE10components11separatedBySaySSGqd___tSyRd__lF"(%swift.opaque* noalias nocapture nonnull %16, %swift.type* nonnull @"$sSSN", %swift.type* nonnull @"$sSSN", i8** %17, i8** %17, %swift.opaque* noalias nocapture nonnull swiftself %18)
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %15)
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %14)
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %19, i64 0, i32 1, i32 0, i32 0, i32 0
  %20 = load i64, i64* %._storage.count._value, align 8, !range !6
  %.not = icmp eq i64 %20, 0
  br i1 %.not, label %125, label %21, !prof !7

21:                                               ; preds = %11
  %22 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %19, i64 1
  %tailaddr._guts._object._countAndFlagsBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %22 to i64*
  %23 = load i64, i64* %tailaddr._guts._object._countAndFlagsBits._value, align 8
  %tailaddr._guts._object._object = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %19, i64 1, i32 0, i32 1
  %24 = bitcast i64* %tailaddr._guts._object._object to %swift.bridge**
  %25 = load %swift.bridge*, %swift.bridge** %24, align 8
  %26 = bitcast %TSS* %4 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %26)
  %._guts2._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %4, i64 0, i32 0, i32 0, i32 0, i32 0
  store i64 %23, i64* %._guts2._object._countAndFlagsBits._value, align 8
  %._guts2._object._object = getelementptr inbounds %TSS, %TSS* %4, i64 0, i32 0, i32 0, i32 1
  store %swift.bridge* %25, %swift.bridge** %._guts2._object._object, align 8
  %27 = bitcast %TSS* %4 to %swift.opaque*
  %28 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %25) #5
  %29 = call swiftcc { i64, i64, i64, %swift.bridge* } @"$sSsySsxcSTRzSJ7ElementRtzlufC"(%swift.opaque* noalias nocapture nonnull %27, %swift.type* nonnull @"$sSSN", i8** nonnull @"$sSSSTsWP")
  %30 = extractvalue { i64, i64, i64, %swift.bridge* } %29, 0
  %31 = extractvalue { i64, i64, i64, %swift.bridge* } %29, 1
  %32 = extractvalue { i64, i64, i64, %swift.bridge* } %29, 2
  %33 = extractvalue { i64, i64, i64, %swift.bridge* } %29, 3
  %34 = tail call swiftcc { i64, i8 } @"$sSdySdSgSscfC"(i64 %30, i64 %31, i64 %32, %swift.bridge* %33)
  %35 = extractvalue { i64, i8 } %34, 1
  %36 = and i8 %35, 1
  %.not12 = icmp eq i8 %36, 0
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %26)
  br i1 %.not12, label %37, label %.sink.split

37:                                               ; preds = %21
  %38 = extractvalue { i64, i8 } %34, 0
  %39 = bitcast i64 %38 to double
  %40 = load i64, i64* %._storage.count._value, align 8, !range !6
  %41 = icmp ult i64 %40, 2
  br i1 %41, label %126, label %42, !prof !7

42:                                               ; preds = %37
  %._guts3._object._countAndFlagsBits._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %19, i64 1, i32 1, i32 0, i32 0, i32 0
  %43 = load i64, i64* %._guts3._object._countAndFlagsBits._value, align 8
  %._guts3._object._object = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %19, i64 1, i32 1, i32 0, i32 1
  %44 = bitcast %TSu* %._guts3._object._object to %swift.bridge**
  %45 = load %swift.bridge*, %swift.bridge** %44, align 8
  %46 = bitcast %TSS* %5 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %46)
  %._guts4._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %5, i64 0, i32 0, i32 0, i32 0, i32 0
  store i64 %43, i64* %._guts4._object._countAndFlagsBits._value, align 8
  %._guts4._object._object = getelementptr inbounds %TSS, %TSS* %5, i64 0, i32 0, i32 0, i32 1
  store %swift.bridge* %45, %swift.bridge** %._guts4._object._object, align 8
  %47 = bitcast %TSS* %5 to %swift.opaque*
  %48 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %45) #5
  %49 = call swiftcc { i64, i64, i64, %swift.bridge* } @"$sSsySsxcSTRzSJ7ElementRtzlufC"(%swift.opaque* noalias nocapture nonnull %47, %swift.type* nonnull @"$sSSN", i8** nonnull @"$sSSSTsWP")
  %50 = extractvalue { i64, i64, i64, %swift.bridge* } %49, 0
  %51 = extractvalue { i64, i64, i64, %swift.bridge* } %49, 1
  %52 = extractvalue { i64, i64, i64, %swift.bridge* } %49, 2
  %53 = extractvalue { i64, i64, i64, %swift.bridge* } %49, 3
  %54 = tail call swiftcc { i64, i8 } @"$sSdySdSgSscfC"(i64 %50, i64 %51, i64 %52, %swift.bridge* %53)
  %55 = extractvalue { i64, i8 } %54, 1
  %56 = and i8 %55, 1
  %.not13 = icmp eq i8 %56, 0
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %46)
  br i1 %.not13, label %57, label %.sink.split

57:                                               ; preds = %42
  %58 = extractvalue { i64, i8 } %54, 0
  %59 = bitcast i64 %58 to double
  %60 = load i64, i64* %._storage.count._value, align 8, !range !6
  %61 = icmp ult i64 %60, 3
  br i1 %61, label %127, label %62, !prof !7

62:                                               ; preds = %57
  %63 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %19, i64 2
  %._guts5._object._countAndFlagsBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %63 to i64*
  %64 = load i64, i64* %._guts5._object._countAndFlagsBits._value, align 8
  %._guts5._object._object = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %19, i64 2, i32 0, i32 1
  %65 = bitcast i64* %._guts5._object._object to %swift.bridge**
  %66 = load %swift.bridge*, %swift.bridge** %65, align 8
  %67 = bitcast %TSS* %6 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %67)
  %._guts6._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %6, i64 0, i32 0, i32 0, i32 0, i32 0
  store i64 %64, i64* %._guts6._object._countAndFlagsBits._value, align 8
  %._guts6._object._object = getelementptr inbounds %TSS, %TSS* %6, i64 0, i32 0, i32 0, i32 1
  store %swift.bridge* %66, %swift.bridge** %._guts6._object._object, align 8
  %68 = bitcast %TSS* %6 to %swift.opaque*
  %69 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %66) #5
  %70 = call swiftcc { i64, i64, i64, %swift.bridge* } @"$sSsySsxcSTRzSJ7ElementRtzlufC"(%swift.opaque* noalias nocapture nonnull %68, %swift.type* nonnull @"$sSSN", i8** nonnull @"$sSSSTsWP")
  %71 = extractvalue { i64, i64, i64, %swift.bridge* } %70, 0
  %72 = extractvalue { i64, i64, i64, %swift.bridge* } %70, 1
  %73 = extractvalue { i64, i64, i64, %swift.bridge* } %70, 2
  %74 = extractvalue { i64, i64, i64, %swift.bridge* } %70, 3
  %75 = tail call swiftcc { i64, i8 } @"$sSdySdSgSscfC"(i64 %71, i64 %72, i64 %73, %swift.bridge* %74)
  %76 = extractvalue { i64, i8 } %75, 1
  %77 = and i8 %76, 1
  %.not14 = icmp eq i8 %77, 0
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %67)
  br i1 %.not14, label %78, label %.sink.split

78:                                               ; preds = %62
  %79 = extractvalue { i64, i8 } %75, 0
  %80 = bitcast i64 %79 to double
  %81 = load i64, i64* %._storage.count._value, align 8, !range !6
  %82 = icmp ult i64 %81, 4
  br i1 %82, label %128, label %83, !prof !7

83:                                               ; preds = %78
  %._guts7._object._countAndFlagsBits._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %19, i64 2, i32 1, i32 0, i32 0, i32 0
  %84 = load i64, i64* %._guts7._object._countAndFlagsBits._value, align 8
  %._guts7._object._object = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %19, i64 2, i32 1, i32 0, i32 1
  %85 = bitcast %TSu* %._guts7._object._object to %swift.bridge**
  %86 = load %swift.bridge*, %swift.bridge** %85, align 8
  %87 = bitcast %TSS* %7 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %87)
  %._guts8._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %7, i64 0, i32 0, i32 0, i32 0, i32 0
  store i64 %84, i64* %._guts8._object._countAndFlagsBits._value, align 8
  %._guts8._object._object = getelementptr inbounds %TSS, %TSS* %7, i64 0, i32 0, i32 0, i32 1
  store %swift.bridge* %86, %swift.bridge** %._guts8._object._object, align 8
  %88 = bitcast %TSS* %7 to %swift.opaque*
  %89 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %86) #5
  %90 = call swiftcc { i64, i64, i64, %swift.bridge* } @"$sSsySsxcSTRzSJ7ElementRtzlufC"(%swift.opaque* noalias nocapture nonnull %88, %swift.type* nonnull @"$sSSN", i8** nonnull @"$sSSSTsWP")
  %91 = extractvalue { i64, i64, i64, %swift.bridge* } %90, 0
  %92 = extractvalue { i64, i64, i64, %swift.bridge* } %90, 1
  %93 = extractvalue { i64, i64, i64, %swift.bridge* } %90, 2
  %94 = extractvalue { i64, i64, i64, %swift.bridge* } %90, 3
  %95 = tail call swiftcc { i64, i8 } @"$sSdySdSgSscfC"(i64 %91, i64 %92, i64 %93, %swift.bridge* %94)
  %96 = extractvalue { i64, i8 } %95, 1
  %97 = and i8 %96, 1
  %.not15 = icmp eq i8 %97, 0
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %87)
  br i1 %.not15, label %98, label %.sink.split

98:                                               ; preds = %83
  %99 = extractvalue { i64, i8 } %95, 0
  %100 = bitcast i64 %99 to double
  %101 = fdiv double %80, 1.200000e+01
  %102 = fdiv double %100, 6.000000e+01
  %103 = fdiv double %102, 1.200000e+01
  %104 = fadd double %101, %103
  %105 = fsub double %104, %102
  %106 = fmul double %105, 0x401921FB54442D18
  %107 = fmul double %39, %39
  %108 = fmul double %59, %59
  %109 = fadd double %107, %108
  %110 = fmul double %39, 2.000000e+00
  %111 = fmul double %110, %59
  %112 = tail call double @cos(double %106)
  %113 = fmul double %111, %112
  %114 = fsub double %109, %113
  %115 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCyypGMD") #10
  %116 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %115, i64 64, i64 7) #5
  %117 = bitcast %swift.refcounted* %116 to %Ts28__ContiguousArrayStorageBaseC*
  %118 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %116, i64 1
  %._storage9.count._value = bitcast %swift.refcounted* %118 to i64*
  store i64 1, i64* %._storage9.count._value, align 8
  %._storage9._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %116, i64 1, i32 1
  store i64 2, i64* %._storage9._capacityAndFlags, align 8
  %119 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %116, i64 2
  %120 = tail call double @sqrt(double %114)
  %121 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %116, i64 3, i32 1
  %122 = bitcast i64* %121 to %swift.type**
  store %swift.type* @"$sSdN", %swift.type** %122, align 8
  %._value = bitcast %swift.refcounted* %119 to double*
  store double %120, double* %._value, align 8
  tail call swiftcc void @"$ss5print_9separator10terminatoryypd_S2StF"(%Ts28__ContiguousArrayStorageBaseC* %117, i64 32, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i64 10, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*))
  tail call void @swift_release(%swift.refcounted* %116) #5
  br label %.sink.split

.sink.split:                                      ; preds = %83, %62, %42, %21, %98
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %13) #5
  %123 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %19, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %123) #5
  br label %124

124:                                              ; preds = %.sink.split, %entry
  ret i32 0

125:                                              ; preds = %11
  tail call void asm sideeffect "", "n"(i32 0) #5
  tail call void @llvm.trap()
  unreachable

126:                                              ; preds = %37
  tail call void asm sideeffect "", "n"(i32 1) #5
  tail call void @llvm.trap()
  unreachable

127:                                              ; preds = %57
  tail call void asm sideeffect "", "n"(i32 2) #5
  tail call void @llvm.trap()
  unreachable

128:                                              ; preds = %78
  tail call void asm sideeffect "", "n"(i32 3) #5
  tail call void @llvm.trap()
  unreachable
}

declare swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1) local_unnamed_addr #0

; Function Attrs: argmemonly mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.lifetime.start.p0i8(i64 immarg, i8* nocapture) #1

; Function Attrs: argmemonly mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.lifetime.end.p0i8(i64 immarg, i8* nocapture) #1

declare swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSy10FoundationE10components11separatedBySaySSGqd___tSyRd__lF"(%swift.opaque* noalias nocapture, %swift.type*, %swift.type*, i8**, i8**, %swift.opaque* noalias nocapture swiftself) local_unnamed_addr #0

; Function Attrs: nofree noinline nosync nounwind readnone
define linkonce_odr hidden i8** @"$sS2SSysWl"() local_unnamed_addr #2 {
entry:
  %0 = load i8**, i8*** @"$sS2SSysWL", align 8
  %1 = icmp eq i8** %0, null
  br i1 %1, label %cacheIsNull, label %cont

cacheIsNull:                                      ; preds = %entry
  %2 = tail call i8** @swift_getWitnessTable(%swift.protocol_conformance_descriptor* nonnull @"$sSSSysMc", %swift.type* nonnull @"$sSSN", i8*** undef) #10
  store atomic i8** %2, i8*** @"$sS2SSysWL" release, align 8
  br label %cont

cont:                                             ; preds = %cacheIsNull, %entry
  %3 = phi i8** [ %0, %entry ], [ %2, %cacheIsNull ]
  ret i8** %3
}

; Function Attrs: nofree nounwind readonly
declare i8** @swift_getWitnessTable(%swift.protocol_conformance_descriptor*, %swift.type*, i8***) local_unnamed_addr #3

; Function Attrs: cold noreturn nounwind
declare void @llvm.trap() #4

declare swiftcc { i64, i64, i64, %swift.bridge* } @"$sSsySsxcSTRzSJ7ElementRtzlufC"(%swift.opaque* noalias nocapture, %swift.type*, i8**) local_unnamed_addr #0

; Function Attrs: nounwind
declare %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned) local_unnamed_addr #5

declare swiftcc { i64, i8 } @"$sSdySdSgSscfC"(i64, i64, i64, %swift.bridge*) local_unnamed_addr #0

; Function Attrs: nounwind
declare void @swift_release(%swift.refcounted*) local_unnamed_addr #5

; Function Attrs: nounwind
declare void @swift_bridgeObjectRelease(%swift.bridge*) local_unnamed_addr #5

; Function Attrs: mustprogress nofree nounwind optsize willreturn writeonly
declare double @cos(double noundef) local_unnamed_addr #6

; Function Attrs: mustprogress nofree noinline nounwind readonly willreturn
define linkonce_odr hidden %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* %0) local_unnamed_addr #7 {
entry:
  %1 = bitcast { i32, i32 }* %0 to i64*
  %2 = load atomic i64, i64* %1 monotonic, align 8
  %3 = icmp slt i64 %2, 0
  br i1 %3, label %7, label %4, !prof !7

4:                                                ; preds = %7, %entry
  %5 = phi i64 [ %2, %entry ], [ %15, %7 ]
  %6 = inttoptr i64 %5 to %swift.type*
  ret %swift.type* %6

7:                                                ; preds = %entry
  %8 = ashr i64 %2, 32
  %9 = sub nsw i64 0, %8
  %sext = shl i64 %2, 32
  %10 = ashr exact i64 %sext, 32
  %11 = ptrtoint { i32, i32 }* %0 to i64
  %12 = add i64 %10, %11
  %13 = inttoptr i64 %12 to i8*
  %14 = tail call swiftcc %swift.type* @swift_getTypeByMangledNameInContext2(i8* %13, i64 %9, %swift.type_descriptor* null, i8** null) #11
  %15 = ptrtoint %swift.type* %14 to i64
  store atomic i64 %15, i64* %1 monotonic, align 8
  br label %4
}

; Function Attrs: argmemonly nounwind
declare swiftcc %swift.type* @swift_getTypeByMangledNameInContext2(i8*, i64, %swift.type_descriptor*, i8**) local_unnamed_addr #8

; Function Attrs: nounwind
declare %swift.refcounted* @swift_allocObject(%swift.type*, i64, i64) local_unnamed_addr #5

; Function Attrs: mustprogress nofree nounwind optsize willreturn writeonly
declare double @sqrt(double noundef) local_unnamed_addr #6

declare swiftcc void @"$ss5print_9separator10terminatoryypd_S2StF"(%Ts28__ContiguousArrayStorageBaseC*, i64, %swift.bridge*, i64, %swift.bridge*) local_unnamed_addr #0

attributes #0 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { argmemonly mustprogress nocallback nofree nosync nounwind willreturn }
attributes #2 = { nofree noinline nosync nounwind readnone "frame-pointer"="non-leaf" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nofree nounwind readonly }
attributes #4 = { cold noreturn nounwind }
attributes #5 = { nounwind }
attributes #6 = { mustprogress nofree nounwind optsize willreturn writeonly "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { mustprogress nofree noinline nounwind readonly willreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { argmemonly nounwind }
attributes #9 = { nounwind readnone }
attributes #10 = { nounwind readonly }
attributes #11 = { argmemonly nounwind readonly }

!swift.module.flags = !{!0}
!llvm.linker.options = !{}
!llvm.module.flags = !{!1, !2, !3, !4, !5}

!0 = !{!"standard-library", i1 false}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 4, !"Objective-C Garbage Collection", i32 84477696}
!5 = !{i32 1, !"Swift Version", i32 7}
!6 = !{i64 0, i64 9223372036854775807}
!7 = !{!"branch_weights", i32 1, i32 2000}
