/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
void dump_entries6(int param_1)
{
undefined4 uVar1;
void *pvVar2;
undefined4 uVar3;
uint uVar4;
char *__format;
int iVar5;
ushort *puVar6;
int iVar7;
uint uVar8;
ushort *puVar9;
void *pvVar10;
void *__cp;
uint uVar11;
char acStack_50 [40];
iptc_fn = dump_entries6;
printf((char *)0x5548,0x5560,*(undefined4 *)(*(int *)(param_1 + 0x7c) + 0x20)) //possible issue identified - semgrep
printf((char *)0x5570,param_1 + 0x28) //possible issue identified - semgrep
printf((char *)0x557c,*(undefined4 *)(param_1 + 0x4c),*(undefined4 *)(param_1 + 0x50),
*(undefined4 *)(param_1 + 0x54),*(undefined4 *)(param_1 + 0x58),
*(undefined4 *)(param_1 + 0x5c)) //possible issue identified - semgrep
uVar1 = *(undefined4 *)(param_1 + 0x6c);
uVar3 = *(undefined4 *)(param_1 + 0x70);
printf((char *)0x55ac,*(undefined4 *)(param_1 + 0x60),*(undefined4 *)(param_1 + 100),
*(undefined4 *)(param_1 + 0x68),uVar1,uVar3) //possible issue identified - semgrep
uVar11 = 0;
do {
iVar7 = *(int *)(param_1 + 0x7c);
uVar8 = *(uint *)(iVar7 + 0x20);
uVar4 = 0;
if (uVar8 <= uVar11) {
return;
}
__cp = (void *)(iVar7 + 0x28 + uVar11);
iVar5 = 0;
while( true ) {
pvVar10 = (void *)(iVar7 + 0x28 + uVar4);
if (uVar8 <= uVar4) {
fprintf(_stderr,(char *)0x55e0,(int)__cp - (iVar7 + 0x28)) //possible issue identified - semgrep
/* WARNING: Subroutine does not return */
abort();
}
if (pvVar10 == __cp) break;
iVar5 = iVar5 + 1;
uVar4 = uVar4 + *(ushort *)((int)pvVar10 + 0x8e);
}
printf((char *)0x5600,iVar5,(int)__cp - (iVar7 + 0x28),uVar8,uVar1,uVar3) //possible issue identified - semgrep
puts((char *)0x5614);
inet_ntop(10,__cp,acStack_50,0x28) //possible issue identified - semgrep
puts(acStack_50);
fputc(0x2f,_stdout);
iVar7 = ipv6_prefix_length((void *)((int)__cp + 0x20));
if (iVar7 == -1) {
inet_ntop(10,(void *)((int)__cp + 0x20),acStack_50,0x28) //possible issue identified - semgrep
puts(acStack_50);
}
else {
printf((char *)0x5620) //possible issue identified - semgrep
}
fputc(10,_stdout);
puts((char *)0x5624);
inet_ntop(10,(void *)((int)pvVar10 + 0x10),acStack_50,0x28) //possible issue identified - semgrep
puts(acStack_50);
fputc(0x2f,_stdout);
iVar7 = ipv6_prefix_length((void *)((int)pvVar10 + 0x30));
if (iVar7 == -1) {
inet_ntop(10,(void *)((int)pvVar10 + 0x30),acStack_50,0x28) //possible issue identified - semgrep
puts(acStack_50);
}
else {
printf((char *)0x5620) //possible issue identified - semgrep
}
iVar7 = 0;
fputc(10,_stdout);
printf((char *)0x5630,(int)pvVar10 + 0x40) //possible issue identified - semgrep
pvVar2 = pvVar10;
do {
iVar5 = 0x58;
if (*(char *)((int)pvVar2 + 0x60) == '\0') {
iVar5 = 0x2e;
}
iVar7 = iVar7 + 1;
putchar(iVar5);
pvVar2 = (void *)((int)pvVar10 + iVar7);
} while (iVar7 != 0x10);
printf((char *)0x5644,(int)pvVar10 + 0x50) //possible issue identified - semgrep
iVar7 = 0;
pvVar2 = pvVar10;
do {
iVar5 = 0x58;
if (*(char *)((int)pvVar2 + 0x70) == '\0') {
iVar5 = 0x2e;
}
iVar7 = iVar7 + 1;
putchar(iVar5);
pvVar2 = (void *)((int)pvVar10 + iVar7);
} while (iVar7 != 0x10);
printf((char *)0x5650,(uint)*(ushort *)((int)pvVar10 + 0x80)) //possible issue identified - semgrep
if ((*(byte *)((int)__cp + 0x83) & 2) != 0) {
printf((char *)0x5660,(uint)*(byte *)((int)__cp + 0x82)) //possible issue identified - semgrep
}
printf((char *)0x566c,(uint)*(byte *)((int)__cp + 0x83)) //possible issue identified - semgrep
printf((char *)0x567c,(uint)*(byte *)((int)__cp + 0x84)) //possible issue identified - semgrep
uVar3 = *(undefined4 *)((int)__cp + 0xa4);
uVar1 = *(undefined4 *)((int)__cp + 0xa0);
printf((char *)0x568c) //possible issue identified - semgrep
printf((char *)0x56b0,*(undefined4 *)((int)__cp + 0x88)) //possible issue identified - semgrep
uVar4 = 0xa8;
while( true ) {
if (*(ushort *)((int)__cp + 0x8c) <= uVar4) break;
printf((char *)0x56c0,(ushort *)((int)__cp + uVar4) + 1) //possible issue identified - semgrep
uVar4 = uVar4 + *(ushort *)((int)__cp + uVar4);
}
puVar9 = (ushort *)((int)__cp + (uint)*(ushort *)((int)__cp + 0x8c));
printf((char *)0x56d4,puVar9 + 1,(uint)*puVar9) //possible issue identified - semgrep
if ((char)puVar9[1] == '\0') {
puVar9 = *(ushort **)(puVar9 + 0x10);
if ((int)puVar9 < 0) {
puVar6 = (ushort *)0x56ec;
if (((puVar9 != (ushort *)&SUB_fffffffe) &&
(puVar6 = (ushort *)0x56f8, puVar9 != (ushort *)0xffffffff)) &&
(puVar6 = (ushort *)0x5700, puVar9 == (ushort *)0xfffffffb)) {
puVar6 = (ushort *)0x552c;
}
__format = (char *)0x5708;
puVar9 = puVar6;
}
else {
__format = (char *)0x5714;
}
LAB_00014a08:
printf(__format,puVar9) //possible issue identified - semgrep
}
else {
iVar7 = strcmp((char *)(puVar9 + 1),(char *)0x54a0);
puVar9 = puVar9 + 0x10;
if (iVar7 == 0) {
__format = (char *)0x5720;
goto LAB_00014a08;
}
}
putchar(10);
uVar11 = uVar11 + *(ushort *)((int)__cp + 0x8e);
} while( true );
}