@_implementationOnly import KotlinBridges_MapExport
import KotlinRuntime
import KotlinRuntimeSupport

public func testMapAnyLong(
    m: [KotlinRuntime.KotlinBase: Swift.Int64]
) -> [KotlinRuntime.KotlinBase: Swift.Int64] {
    return __root___testMapAnyLong__TypesOfArguments__Swift_Dictionary_KotlinRuntime_KotlinBase_Swift_Int64___(Dictionary(uniqueKeysWithValues: m.map { key, value in (key, NSNumber(value: value) )})) as! Swift.Dictionary<KotlinRuntime.KotlinBase,Swift.Int64>
}
public func testMapIntString(
    m: [Swift.Int32: Swift.String]
) -> [Swift.Int32: Swift.String] {
    return __root___testMapIntString__TypesOfArguments__Swift_Dictionary_Swift_Int32_Swift_String___(Dictionary(uniqueKeysWithValues: m.map { key, value in (NSNumber(value: key), value )})) as! Swift.Dictionary<Swift.Int32,Swift.String>
}
public func testMapListIntSetInt(
    m: [[Swift.Int32]: Swift.Set<Swift.Int32>]
) -> [[Swift.Int32]: Swift.Set<Swift.Int32>] {
    return __root___testMapListIntSetInt__TypesOfArguments__Swift_Dictionary_Swift_Array_Swift_Int32__Swift_Set_Swift_Int32____(Dictionary(uniqueKeysWithValues: m.map { key, value in (key.map { it in NSNumber(value: it) }, Set(value.map { it in NSNumber(value: it) }) )})) as! Swift.Dictionary<Swift.Array<Swift.Int32>,Swift.Set<Swift.Int32>>
}
public func testMapLongAny(
    m: [Swift.Int64: KotlinRuntime.KotlinBase]
) -> [Swift.Int64: KotlinRuntime.KotlinBase] {
    return __root___testMapLongAny__TypesOfArguments__Swift_Dictionary_Swift_Int64_KotlinRuntime_KotlinBase___(Dictionary(uniqueKeysWithValues: m.map { key, value in (NSNumber(value: key), value )})) as! Swift.Dictionary<Swift.Int64,KotlinRuntime.KotlinBase>
}
public func testMapNothingOptNothing(
    m: [Swift.Never: Swift.Never?]
) -> [Swift.Never: Swift.Never?] {
    return __root___testMapNothingOptNothing__TypesOfArguments__Swift_Dictionary_Swift_Never_Swift_Optional_Swift_Never____(Dictionary(uniqueKeysWithValues: m.map { key, value in (key, value as NSObject? ?? NSNull() )})) as! Swift.Dictionary<Swift.Never,Swift.Optional<Swift.Never>>
}
public func testMapOptIntListInt(
    m: [Swift.Int32?: [Swift.Int32]]
) -> [Swift.Int32?: [Swift.Int32]] {
    return __root___testMapOptIntListInt__TypesOfArguments__Swift_Dictionary_Swift_Optional_Swift_Int32__Swift_Array_Swift_Int32____(Dictionary(uniqueKeysWithValues: m.map { key, value in (key as NSObject? ?? NSNull(), value.map { it in NSNumber(value: it) } )})) as! Swift.Dictionary<Swift.Optional<Swift.Int32>,Swift.Array<Swift.Int32>>
}
public func testMapOptNothingNothing(
    m: [Swift.Never?: Swift.Never]
) -> [Swift.Never?: Swift.Never] {
    return __root___testMapOptNothingNothing__TypesOfArguments__Swift_Dictionary_Swift_Optional_Swift_Never__Swift_Never___(Dictionary(uniqueKeysWithValues: m.map { key, value in (key as NSObject? ?? NSNull(), value )})) as! Swift.Dictionary<Swift.Optional<Swift.Never>,Swift.Never>
}
public func testMapSetIntMapIntInt(
    m: [Swift.Set<Swift.Int32>: [Swift.Int32: Swift.Int32]]
) -> [Swift.Set<Swift.Int32>: [Swift.Int32: Swift.Int32]] {
    return __root___testMapSetIntMapIntInt__TypesOfArguments__Swift_Dictionary_Swift_Set_Swift_Int32__Swift_Dictionary_Swift_Int32_Swift_Int32____(Dictionary(uniqueKeysWithValues: m.map { key, value in (Set(key.map { it in NSNumber(value: it) }), Dictionary(uniqueKeysWithValues: value.map { key, value in (NSNumber(value: key), NSNumber(value: value) )}) )})) as! Swift.Dictionary<Swift.Set<Swift.Int32>,Swift.Dictionary<Swift.Int32,Swift.Int32>>
}
public func testMapStringInt(
    m: [Swift.String: Swift.Int32]
) -> [Swift.String: Swift.Int32] {
    return __root___testMapStringInt__TypesOfArguments__Swift_Dictionary_Swift_String_Swift_Int32___(Dictionary(uniqueKeysWithValues: m.map { key, value in (key, NSNumber(value: value) )})) as! Swift.Dictionary<Swift.String,Swift.Int32>
}
public func testStarMap(
    m: [KotlinRuntime.KotlinBase: KotlinRuntime.KotlinBase]
) -> [KotlinRuntime.KotlinBase: KotlinRuntime.KotlinBase] {
    return __root___testStarMap__TypesOfArguments__Swift_Dictionary_KotlinRuntime_KotlinBase_KotlinRuntime_KotlinBase___(m) as! Swift.Dictionary<KotlinRuntime.KotlinBase,KotlinRuntime.KotlinBase>
}
