undefined4 ip6tc_get_policy(undefined4 param_1,void *param_2,undefined4 param_3)

{
  int iVar1;
  int *piVar2;
  undefined4 uVar3;
  
  iptc_fn = ip6tc_get_policy;
  iVar1 = (*(code *)0x2144)(param_1,param_3);
  if (iVar1 == 0) {
    piVar2 = __errno_location();
    *piVar2 = 2;
  }
  else if (*(int *)(iVar1 + 0x28) != 0) {
    memcpy(param_2,(void *)(iVar1 + 0x38),0x10)   //possible issue identified - semgrep
                    /* WARNING: Could not recover jumptable at 0x0001322c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar3 = (*(code *)0x30b4)(*(undefined4 *)(iVar1 + 0x30));
    return uVar3;
  }
  return 0;
}