package com.discord.utilities.collections; import d0.z.d.o; import kotlin.jvm.functions.Function1; /* compiled from: ShallowPartitionMap.kt */ public final class ShallowPartitionMap$Companion$getHashCodePartitionStrategy$1 extends o implements Function1 { public final /* synthetic */ int $numPartitions; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public ShallowPartitionMap$Companion$getHashCodePartitionStrategy$1(int i) { super(1); this.$numPartitions = i; } /* Return type fixed from 'int' to match base method */ /* JADX WARNING: Unknown variable types count: 1 */ @Override // kotlin.jvm.functions.Function1 public final Integer invoke(K k) { int hashCode = k != 0 ? k.hashCode() : 0; return Math.abs(hashCode ^ (hashCode >>> 16)) % this.$numPartitions; } }