
int renice_main(int argc,char **argv)

{
  int iVar1;
  int iVar2;
  __uid_t __who;
  char *pcVar3;
  passwd *ppVar4;
  char *pcVar5;
  __priority_which_t __which;
  char **ppcVar6;
  int iVar7;
  int local_44;
  
  pcVar5 = argv[1];
  if (pcVar5 == (char *)0x0) {
LAB_0015f2a8:
                    /* WARNING: Subroutine does not return */
    bb_show_usage();
  }
  ppcVar6 = argv + 1;
  if (*pcVar5 == '-') {
    if (pcVar5[1] == 'n') {
      if (pcVar5[2] == '\0') {
        ppcVar6 = argv + 2;
        pcVar5 = argv[2];
      }
      else {
        pcVar5 = pcVar5 + 2;
      }
      if (pcVar5 == (char *)0x0) goto LAB_0015f2a8;
      iVar7 = 1;
    }
    else {
      iVar7 = 0;
    }
  }
  else {
    iVar7 = 0;
  }
  iVar1 = xatoi_range(pcVar5,-0x40000000,0x3fffffff);
  __which = PRIO_PROCESS;
  local_44 = 0;
LAB_0015f2e3:
  ppcVar6 = ppcVar6 + 1;
  pcVar5 = *ppcVar6;
  if (pcVar5 == (char *)0x0) {
    return local_44;
  }
  if (((*pcVar5 == '-') && (pcVar5[1] != 0)) &&
     (pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0)) goto code_r0x0015f336;
  goto LAB_0015f344;
code_r0x0015f336:
  __which = (__priority_which_t)(byte)pcVar3[4];
  if (pcVar5[2] != '\0') {
    pcVar5 = pcVar5 + 2;
LAB_0015f344:
    if (__which == PRIO_USER) {
      ppVar4 = getpwnam(pcVar5);
      if (ppVar4 == (passwd *)0x0) {
        bb_error_msg("unknown user %s",pcVar5);
        local_44 = 1;
        goto LAB_0015f2e3;
      }
      __who = ppVar4->pw_uid;
    }
    else {
      __who = bb_strtou(pcVar5,(char **)0x0,10);
      if (*bb_errno != 0) {
        bb_error_msg("invalid number \'%s\'",pcVar5);
        local_44 = 1;
        goto LAB_0015f2e3;
      }
    }
    iVar2 = iVar1;
    if (iVar7 != 0) {
      *bb_errno = 0;
      iVar2 = getpriority(__which,__who);
      if (*bb_errno != 0) {
        bb_perror_msg("%cetpriority",0x67);
        local_44 = iVar7;
        goto LAB_0015f2e3;
      }
      iVar2 = iVar1 + iVar2;
    }
    iVar2 = setpriority(__which,__who,iVar2);
    if (iVar2 != 0) {
      bb_perror_msg("%cetpriority",0x73);
      local_44 = 1;
    }
  }
  goto LAB_0015f2e3;
}



int FUN_0015f26f(undefined8 param_1,long param_2)

{
  int iVar1;
  int iVar2;
  __uid_t __who;
  char *pcVar3;
  passwd *ppVar4;
  __priority_which_t __which;
  char *pcVar5;
  undefined8 *unaff_R12;
  int iVar6;
  int local_44;
  
  pcVar5 = *(char **)(param_2 + 8);
  if (pcVar5 == (char *)0x0) goto LAB_0015f2a8;
  unaff_R12 = (undefined8 *)(param_2 + 8);
  if (*pcVar5 == '-') {
    if (pcVar5[1] == 'n') {
      if (pcVar5[2] != '\0') goto LAB_0015f2ad;
      unaff_R12 = (undefined8 *)(param_2 + 0x10);
      for (pcVar5 = *(char **)(param_2 + 0x10); pcVar5 == (char *)0x0; pcVar5 = pcVar5 + 2) {
LAB_0015f2a8:
        FUN_0010c878();
LAB_0015f2ad:
      }
      iVar6 = 1;
    }
    else {
      iVar6 = 0;
    }
  }
  else {
    iVar6 = 0;
  }
  iVar1 = FUN_001a670a(pcVar5,0xc0000000,0x3fffffff);
  __which = PRIO_PROCESS;
  local_44 = 0;
LAB_0015f2e3:
  unaff_R12 = unaff_R12 + 1;
  pcVar5 = (char *)*unaff_R12;
  if (pcVar5 == (char *)0x0) {
    return local_44;
  }
  if (((*pcVar5 == '-') && (pcVar5[1] != 0)) &&
     (pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0)) goto code_r0x0015f336;
  goto LAB_0015f344;
code_r0x0015f336:
  __which = (__priority_which_t)(byte)pcVar3[4];
  if (pcVar5[2] != '\0') {
    pcVar5 = pcVar5 + 2;
LAB_0015f344:
    if (__which == PRIO_USER) {
      ppVar4 = getpwnam(pcVar5);
      if (ppVar4 == (passwd *)0x0) {
        FUN_0010dcf3("unknown user %s",pcVar5);
        local_44 = 1;
        goto LAB_0015f2e3;
      }
      __who = ppVar4->pw_uid;
    }
    else {
      __who = FUN_001101c1(pcVar5,0,10);
      if (*DAT_001c65c0 != 0) {
        FUN_0010dcf3("invalid number \'%s\'",pcVar5);
        local_44 = 1;
        goto LAB_0015f2e3;
      }
    }
    iVar2 = iVar1;
    if (iVar6 != 0) {
      *DAT_001c65c0 = 0;
      iVar2 = getpriority(__which,__who);
      if (*DAT_001c65c0 != 0) {
        FUN_0010d7b5("%cetpriority",0x67);
        local_44 = iVar6;
        goto LAB_0015f2e3;
      }
      iVar2 = iVar1 + iVar2;
    }
    iVar2 = setpriority(__which,__who,iVar2);
    if (iVar2 != 0) {
      FUN_0010d7b5("%cetpriority",0x73);
      local_44 = 1;
    }
  }
  goto LAB_0015f2e3;
}


PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x18
MOV RDI,qword ptr [RSI + 0x8]
TEST RDI,RDI
JZ 0x0015f2a8
LEA R12,[RSI + 0x8]
CMP byte ptr [RDI],0x2d
JNZ 0x0015f2b3
CMP byte ptr [RDI + 0x1],0x6e
JNZ 0x0015f303
CMP byte ptr [RDI + 0x2],0x0
JNZ 0x0015f2ad
LEA R12,[RSI + 0x10]
MOV RDI,qword ptr [RSI + 0x10]
TEST RDI,RDI
JNZ 0x0015f30b
CALL 0x0010c878
ADD RDI,0x2
JMP 0x0015f2a3
MOV R13D,0x0
MOV EDX,0x3fffffff
MOV ESI,0xc0000000
CALL 0x001a670a
MOV dword ptr [RSP + 0x8],EAX
MOV EBP,0x0
MOV dword ptr [RSP + 0x4],0x0
MOV R14D,0x1
MOV dword ptr [RSP + 0xc],EAX
ADD R12,0x8
MOV RBX,qword ptr [R12]
TEST RBX,RBX
JNZ 0x0015f313
MOV EAX,dword ptr [RSP + 0x4]
ADD RSP,0x18
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV R13D,0x0
JMP 0x0015f2b9
MOV R13D,0x1
JMP 0x0015f2b9
CMP byte ptr [RBX],0x2d
JNZ 0x0015f344
MOVZX ESI,byte ptr [RBX + 0x1]
TEST SIL,SIL
JZ 0x0015f344
MOVZX ESI,SIL
LEA RDI,[0x1bd75a]
CALL 0x0010b5a0
TEST RAX,RAX
JZ 0x0015f344
MOVZX EBP,byte ptr [RAX + 0x4]
CMP byte ptr [RBX + 0x2],0x0
JZ 0x0015f2e3
ADD RBX,0x2
CMP EBP,0x2
JNZ 0x0015f3bf
MOV RDI,RBX
CALL 0x0010ba10
TEST RAX,RAX
JNZ 0x0015f36f
MOV RSI,RBX
LEA RDI,[0x1bd73d]
CALL 0x0010dcf3
MOV dword ptr [RSP + 0x4],R14D
JMP 0x0015f2e3
MOV R15D,dword ptr [RAX + 0x10]
TEST R13D,R13D
JZ 0x0015f437
MOV RAX,qword ptr [0x001c65c0]
MOV dword ptr [RAX],0x0
MOV ESI,R15D
MOV EDI,EBP
CALL 0x0010b1d0
MOV RCX,qword ptr [0x001c65c0]
CMP dword ptr [RCX],0x0
JZ 0x0015f3fe
MOV ESI,0x67
LEA RDI,[0x1bd74d]
MOV EAX,0x0
CALL 0x0010d7b5
MOV dword ptr [RSP + 0x4],R13D
JMP 0x0015f2e3
MOV EDX,0xa
MOV ESI,0x0
MOV RDI,RBX
CALL 0x001101c1
MOV R15D,EAX
MOV RAX,qword ptr [0x001c65c0]
CMP dword ptr [RAX],0x0
JZ 0x0015f373
MOV RSI,RBX
LEA RDI,[0x1bb9b1]
MOV EAX,0x0
CALL 0x0010dcf3
MOV dword ptr [RSP + 0x4],R14D
JMP 0x0015f2e3
MOV ECX,dword ptr [RSP + 0x8]
LEA EDX,[RCX + RAX*0x1]
MOV ESI,R15D
MOV EDI,EBP
CALL 0x0010b6c0
TEST EAX,EAX
JZ 0x0015f2e3
MOV ESI,0x73
LEA RDI,[0x1bd74d]
MOV EAX,0x0
CALL 0x0010d7b5
MOV dword ptr [RSP + 0x4],R14D
JMP 0x0015f2e3
MOV EDX,dword ptr [RSP + 0xc]
JMP 0x0015f405
(translation_unit "int FUN_0015f26f(undefined8 param_1,long param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  __uid_t __who;\n  char *pcVar3;\n  passwd *ppVar4;\n  __priority_which_t __which;\n  char *pcVar5;\n  undefined8 *unaff_R12;\n  int iVar6;\n  int local_44;\n  \n  pcVar5 = *(char **)(param_2 + 8);\n  if (pcVar5 == (char *)0x0) goto LAB_0015f2a8;\n  unaff_R12 = (undefined8 *)(param_2 + 8);\n  if (*pcVar5 == '-') {\n    if (pcVar5[1] == 'n') {\n      if (pcVar5[2] != '\0') goto LAB_0015f2ad;\n      unaff_R12 = (undefined8 *)(param_2 + 0x10);\n      for (pcVar5 = *(char **)(param_2 + 0x10); pcVar5 == (char *)0x0; pcVar5 = pcVar5 + 2) {\nLAB_0015f2a8:\n        FUN_0010c878();\nLAB_0015f2ad:\n      }\n      iVar6 = 1;\n    }\n    else {\n      iVar6 = 0;\n    }\n  }\n  else {\n    iVar6 = 0;\n  }\n  iVar1 = FUN_001a670a(pcVar5,0xc0000000,0x3fffffff);\n  __which = PRIO_PROCESS;\n  local_44 = 0;\nLAB_0015f2e3:\n  unaff_R12 = unaff_R12 + 1;\n  pcVar5 = (char *)*unaff_R12;\n  if (pcVar5 == (char *)0x0) {\n    return local_44;\n  }\n  if (((*pcVar5 == '-') && (pcVar5[1] != 0)) &&\n     (pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0)) goto code_r0x0015f336;\n  goto LAB_0015f344;\ncode_r0x0015f336:\n  __which = (__priority_which_t)(byte)pcVar3[4];\n  if (pcVar5[2] != '\0') {\n    pcVar5 = pcVar5 + 2;\nLAB_0015f344:\n    if (__which == PRIO_USER) {\n      ppVar4 = getpwnam(pcVar5);\n      if (ppVar4 == (passwd *)0x0) {\n        FUN_0010dcf3("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n      __who = ppVar4->pw_uid;\n    }\n    else {\n      __who = FUN_001101c1(pcVar5,0,10);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }\n    iVar2 = iVar1;\n    if (iVar6 != 0) {\n      *DAT_001c65c0 = 0;\n      iVar2 = getpriority(__which,__who);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010d7b5("%cetpriority",0x67);\n        local_44 = iVar6;\n        goto LAB_0015f2e3;\n      }\n      iVar2 = iVar1 + iVar2;\n    }\n    iVar2 = setpriority(__which,__who,iVar2);\n    if (iVar2 != 0) {\n      FUN_0010d7b5("%cetpriority",0x73);\n      local_44 = 1;\n    }\n  }\n  goto LAB_0015f2e3;\n}\n\n" (function_definition "int FUN_0015f26f(undefined8 param_1,long param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  __uid_t __who;\n  char *pcVar3;\n  passwd *ppVar4;\n  __priority_which_t __which;\n  char *pcVar5;\n  undefined8 *unaff_R12;\n  int iVar6;\n  int local_44;\n  \n  pcVar5 = *(char **)(param_2 + 8);\n  if (pcVar5 == (char *)0x0) goto LAB_0015f2a8;\n  unaff_R12 = (undefined8 *)(param_2 + 8);\n  if (*pcVar5 == '-') {\n    if (pcVar5[1] == 'n') {\n      if (pcVar5[2] != '\0') goto LAB_0015f2ad;\n      unaff_R12 = (undefined8 *)(param_2 + 0x10);\n      for (pcVar5 = *(char **)(param_2 + 0x10); pcVar5 == (char *)0x0; pcVar5 = pcVar5 + 2) {\nLAB_0015f2a8:\n        FUN_0010c878();\nLAB_0015f2ad:\n      }\n      iVar6 = 1;\n    }\n    else {\n      iVar6 = 0;\n    }\n  }\n  else {\n    iVar6 = 0;\n  }\n  iVar1 = FUN_001a670a(pcVar5,0xc0000000,0x3fffffff);\n  __which = PRIO_PROCESS;\n  local_44 = 0;\nLAB_0015f2e3:\n  unaff_R12 = unaff_R12 + 1;\n  pcVar5 = (char *)*unaff_R12;\n  if (pcVar5 == (char *)0x0) {\n    return local_44;\n  }\n  if (((*pcVar5 == '-') && (pcVar5[1] != 0)) &&\n     (pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0)) goto code_r0x0015f336;\n  goto LAB_0015f344;\ncode_r0x0015f336:\n  __which = (__priority_which_t)(byte)pcVar3[4];\n  if (pcVar5[2] != '\0') {\n    pcVar5 = pcVar5 + 2;\nLAB_0015f344:\n    if (__which == PRIO_USER) {\n      ppVar4 = getpwnam(pcVar5);\n      if (ppVar4 == (passwd *)0x0) {\n        FUN_0010dcf3("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n      __who = ppVar4->pw_uid;\n    }\n    else {\n      __who = FUN_001101c1(pcVar5,0,10);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }\n    iVar2 = iVar1;\n    if (iVar6 != 0) {\n      *DAT_001c65c0 = 0;\n      iVar2 = getpriority(__which,__who);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010d7b5("%cetpriority",0x67);\n        local_44 = iVar6;\n        goto LAB_0015f2e3;\n      }\n      iVar2 = iVar1 + iVar2;\n    }\n    iVar2 = setpriority(__which,__who,iVar2);\n    if (iVar2 != 0) {\n      FUN_0010d7b5("%cetpriority",0x73);\n      local_44 = 1;\n    }\n  }\n  goto LAB_0015f2e3;\n}" primitive_type (function_declarator "FUN_0015f26f(undefined8 param_1,long param_2)" identifier (parameter_list "(undefined8 param_1,long param_2)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  __uid_t __who;\n  char *pcVar3;\n  passwd *ppVar4;\n  __priority_which_t __which;\n  char *pcVar5;\n  undefined8 *unaff_R12;\n  int iVar6;\n  int local_44;\n  \n  pcVar5 = *(char **)(param_2 + 8);\n  if (pcVar5 == (char *)0x0) goto LAB_0015f2a8;\n  unaff_R12 = (undefined8 *)(param_2 + 8);\n  if (*pcVar5 == '-') {\n    if (pcVar5[1] == 'n') {\n      if (pcVar5[2] != '\0') goto LAB_0015f2ad;\n      unaff_R12 = (undefined8 *)(param_2 + 0x10);\n      for (pcVar5 = *(char **)(param_2 + 0x10); pcVar5 == (char *)0x0; pcVar5 = pcVar5 + 2) {\nLAB_0015f2a8:\n        FUN_0010c878();\nLAB_0015f2ad:\n      }\n      iVar6 = 1;\n    }\n    else {\n      iVar6 = 0;\n    }\n  }\n  else {\n    iVar6 = 0;\n  }\n  iVar1 = FUN_001a670a(pcVar5,0xc0000000,0x3fffffff);\n  __which = PRIO_PROCESS;\n  local_44 = 0;\nLAB_0015f2e3:\n  unaff_R12 = unaff_R12 + 1;\n  pcVar5 = (char *)*unaff_R12;\n  if (pcVar5 == (char *)0x0) {\n    return local_44;\n  }\n  if (((*pcVar5 == '-') && (pcVar5[1] != 0)) &&\n     (pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0)) goto code_r0x0015f336;\n  goto LAB_0015f344;\ncode_r0x0015f336:\n  __which = (__priority_which_t)(byte)pcVar3[4];\n  if (pcVar5[2] != '\0') {\n    pcVar5 = pcVar5 + 2;\nLAB_0015f344:\n    if (__which == PRIO_USER) {\n      ppVar4 = getpwnam(pcVar5);\n      if (ppVar4 == (passwd *)0x0) {\n        FUN_0010dcf3("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n      __who = ppVar4->pw_uid;\n    }\n    else {\n      __who = FUN_001101c1(pcVar5,0,10);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }\n    iVar2 = iVar1;\n    if (iVar6 != 0) {\n      *DAT_001c65c0 = 0;\n      iVar2 = getpriority(__which,__who);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010d7b5("%cetpriority",0x67);\n        local_44 = iVar6;\n        goto LAB_0015f2e3;\n      }\n      iVar2 = iVar1 + iVar2;\n    }\n    iVar2 = setpriority(__which,__who,iVar2);\n    if (iVar2 != 0) {\n      FUN_0010d7b5("%cetpriority",0x73);\n      local_44 = 1;\n    }\n  }\n  goto LAB_0015f2e3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "__uid_t __who;" type_identifier identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "passwd *ppVar4;" type_identifier (pointer_declarator "*ppVar4" * identifier) ;) (declaration "__priority_which_t __which;" type_identifier identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "undefined8 *unaff_R12;" type_identifier (pointer_declarator "*unaff_R12" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int local_44;" primitive_type identifier ;) (expression_statement "pcVar5 = *(char **)(param_2 + 8);" (assignment_expression "pcVar5 = *(char **)(param_2 + 8)" identifier = (pointer_expression "*(char **)(param_2 + 8)" * (cast_expression "(char **)(param_2 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (if_statement "if (pcVar5 == (char *)0x0) goto LAB_0015f2a8;" if (parenthesized_expression "(pcVar5 == (char *)0x0)" ( (binary_expression "pcVar5 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0015f2a8;" goto statement_identifier ;)) (expression_statement "unaff_R12 = (undefined8 *)(param_2 + 8);" (assignment_expression "unaff_R12 = (undefined8 *)(param_2 + 8)" identifier = (cast_expression "(undefined8 *)(param_2 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) ;) (if_statement "if (*pcVar5 == '-') {\n    if (pcVar5[1] == 'n') {\n      if (pcVar5[2] != '\0') goto LAB_0015f2ad;\n      unaff_R12 = (undefined8 *)(param_2 + 0x10);\n      for (pcVar5 = *(char **)(param_2 + 0x10); pcVar5 == (char *)0x0; pcVar5 = pcVar5 + 2) {\nLAB_0015f2a8:\n        FUN_0010c878();\nLAB_0015f2ad:\n      }\n      iVar6 = 1;\n    }\n    else {\n      iVar6 = 0;\n    }\n  }\n  else {\n    iVar6 = 0;\n  }" if (parenthesized_expression "(*pcVar5 == '-')" ( (binary_expression "*pcVar5 == '-'" (pointer_expression "*pcVar5" * identifier) == (char_literal "'-'" ' character ')) )) (compound_statement "{\n    if (pcVar5[1] == 'n') {\n      if (pcVar5[2] != '\0') goto LAB_0015f2ad;\n      unaff_R12 = (undefined8 *)(param_2 + 0x10);\n      for (pcVar5 = *(char **)(param_2 + 0x10); pcVar5 == (char *)0x0; pcVar5 = pcVar5 + 2) {\nLAB_0015f2a8:\n        FUN_0010c878();\nLAB_0015f2ad:\n      }\n      iVar6 = 1;\n    }\n    else {\n      iVar6 = 0;\n    }\n  }" { (if_statement "if (pcVar5[1] == 'n') {\n      if (pcVar5[2] != '\0') goto LAB_0015f2ad;\n      unaff_R12 = (undefined8 *)(param_2 + 0x10);\n      for (pcVar5 = *(char **)(param_2 + 0x10); pcVar5 == (char *)0x0; pcVar5 = pcVar5 + 2) {\nLAB_0015f2a8:\n        FUN_0010c878();\nLAB_0015f2ad:\n      }\n      iVar6 = 1;\n    }\n    else {\n      iVar6 = 0;\n    }" if (parenthesized_expression "(pcVar5[1] == 'n')" ( (binary_expression "pcVar5[1] == 'n'" (subscript_expression "pcVar5[1]" identifier [ number_literal ]) == (char_literal "'n'" ' character ')) )) (compound_statement "{\n      if (pcVar5[2] != '\0') goto LAB_0015f2ad;\n      unaff_R12 = (undefined8 *)(param_2 + 0x10);\n      for (pcVar5 = *(char **)(param_2 + 0x10); pcVar5 == (char *)0x0; pcVar5 = pcVar5 + 2) {\nLAB_0015f2a8:\n        FUN_0010c878();\nLAB_0015f2ad:\n      }\n      iVar6 = 1;\n    }" { (if_statement "if (pcVar5[2] != '\0') goto LAB_0015f2ad;" if (parenthesized_expression "(pcVar5[2] != '\0')" ( (binary_expression "pcVar5[2] != '\0'" (subscript_expression "pcVar5[2]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0015f2ad;" goto statement_identifier ;)) (expression_statement "unaff_R12 = (undefined8 *)(param_2 + 0x10);" (assignment_expression "unaff_R12 = (undefined8 *)(param_2 + 0x10)" identifier = (cast_expression "(undefined8 *)(param_2 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) ;) (for_statement "for (pcVar5 = *(char **)(param_2 + 0x10); pcVar5 == (char *)0x0; pcVar5 = pcVar5 + 2) {\nLAB_0015f2a8:\n        FUN_0010c878();\nLAB_0015f2ad:\n      }" for ( (assignment_expression "pcVar5 = *(char **)(param_2 + 0x10)" identifier = (pointer_expression "*(char **)(param_2 + 0x10)" * (cast_expression "(char **)(param_2 + 0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) ))))) ; (binary_expression "pcVar5 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "pcVar5 = pcVar5 + 2" identifier = (binary_expression "pcVar5 + 2" identifier + number_literal)) ) (compound_statement "{\nLAB_0015f2a8:\n        FUN_0010c878();\nLAB_0015f2ad:\n      }" { (labeled_statement "LAB_0015f2a8:\n        FUN_0010c878();" statement_identifier : (expression_statement "FUN_0010c878();" (call_expression "FUN_0010c878()" identifier (argument_list "()" ( ))) ;)) (labeled_statement "LAB_0015f2ad:" statement_identifier : (expression_statement "" ;)) })) (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" identifier = number_literal) ;) }) (else_clause "else {\n      iVar6 = 0;\n    }" else (compound_statement "{\n      iVar6 = 0;\n    }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) }))) }) (else_clause "else {\n    iVar6 = 0;\n  }" else (compound_statement "{\n    iVar6 = 0;\n  }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) }))) (expression_statement "iVar1 = FUN_001a670a(pcVar5,0xc0000000,0x3fffffff);" (assignment_expression "iVar1 = FUN_001a670a(pcVar5,0xc0000000,0x3fffffff)" identifier = (call_expression "FUN_001a670a(pcVar5,0xc0000000,0x3fffffff)" identifier (argument_list "(pcVar5,0xc0000000,0x3fffffff)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "__which = PRIO_PROCESS;" (assignment_expression "__which = PRIO_PROCESS" identifier = identifier) ;) (expression_statement "local_44 = 0;" (assignment_expression "local_44 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0015f2e3:\n  unaff_R12 = unaff_R12 + 1;" statement_identifier : (expression_statement "unaff_R12 = unaff_R12 + 1;" (assignment_expression "unaff_R12 = unaff_R12 + 1" identifier = (binary_expression "unaff_R12 + 1" identifier + number_literal)) ;)) (expression_statement "pcVar5 = (char *)*unaff_R12;" (assignment_expression "pcVar5 = (char *)*unaff_R12" identifier = (cast_expression "(char *)*unaff_R12" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*unaff_R12" * identifier))) ;) (if_statement "if (pcVar5 == (char *)0x0) {\n    return local_44;\n  }" if (parenthesized_expression "(pcVar5 == (char *)0x0)" ( (binary_expression "pcVar5 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return local_44;\n  }" { (return_statement "return local_44;" return identifier ;) })) (if_statement "if (((*pcVar5 == '-') && (pcVar5[1] != 0)) &&\n     (pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0)) goto code_r0x0015f336;" if (parenthesized_expression "(((*pcVar5 == '-') && (pcVar5[1] != 0)) &&\n     (pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0))" ( (binary_expression "((*pcVar5 == '-') && (pcVar5[1] != 0)) &&\n     (pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0)" (parenthesized_expression "((*pcVar5 == '-') && (pcVar5[1] != 0))" ( (binary_expression "(*pcVar5 == '-') && (pcVar5[1] != 0)" (parenthesized_expression "(*pcVar5 == '-')" ( (binary_expression "*pcVar5 == '-'" (pointer_expression "*pcVar5" * identifier) == (char_literal "'-'" ' character ')) )) && (parenthesized_expression "(pcVar5[1] != 0)" ( (binary_expression "pcVar5[1] != 0" (subscript_expression "pcVar5[1]" identifier [ number_literal ]) != number_literal) ))) )) && (parenthesized_expression "(pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0)" ( (comma_expression "pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0" (assignment_expression "pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1])" identifier = (call_expression "strchr("pgu",(uint)(byte)pcVar5[1])" identifier (argument_list "("pgu",(uint)(byte)pcVar5[1])" ( (string_literal ""pgu"" " string_content ") , (cast_expression "(uint)(byte)pcVar5[1]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)pcVar5[1]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pcVar5[1]" identifier [ number_literal ]))) )))) , (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (goto_statement "goto code_r0x0015f336;" goto statement_identifier ;)) (goto_statement "goto LAB_0015f344;" goto statement_identifier ;) (labeled_statement "code_r0x0015f336:\n  __which = (__priority_which_t)(byte)pcVar3[4];" statement_identifier : (expression_statement "__which = (__priority_which_t)(byte)pcVar3[4];" (assignment_expression "__which = (__priority_which_t)(byte)pcVar3[4]" identifier = (cast_expression "(__priority_which_t)(byte)pcVar3[4]" ( (type_descriptor "__priority_which_t" type_identifier) ) (cast_expression "(byte)pcVar3[4]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pcVar3[4]" identifier [ number_literal ])))) ;)) (if_statement "if (pcVar5[2] != '\0') {\n    pcVar5 = pcVar5 + 2;\nLAB_0015f344:\n    if (__which == PRIO_USER) {\n      ppVar4 = getpwnam(pcVar5);\n      if (ppVar4 == (passwd *)0x0) {\n        FUN_0010dcf3("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n      __who = ppVar4->pw_uid;\n    }\n    else {\n      __who = FUN_001101c1(pcVar5,0,10);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }\n    iVar2 = iVar1;\n    if (iVar6 != 0) {\n      *DAT_001c65c0 = 0;\n      iVar2 = getpriority(__which,__who);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010d7b5("%cetpriority",0x67);\n        local_44 = iVar6;\n        goto LAB_0015f2e3;\n      }\n      iVar2 = iVar1 + iVar2;\n    }\n    iVar2 = setpriority(__which,__who,iVar2);\n    if (iVar2 != 0) {\n      FUN_0010d7b5("%cetpriority",0x73);\n      local_44 = 1;\n    }\n  }" if (parenthesized_expression "(pcVar5[2] != '\0')" ( (binary_expression "pcVar5[2] != '\0'" (subscript_expression "pcVar5[2]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar5 = pcVar5 + 2;\nLAB_0015f344:\n    if (__which == PRIO_USER) {\n      ppVar4 = getpwnam(pcVar5);\n      if (ppVar4 == (passwd *)0x0) {\n        FUN_0010dcf3("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n      __who = ppVar4->pw_uid;\n    }\n    else {\n      __who = FUN_001101c1(pcVar5,0,10);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }\n    iVar2 = iVar1;\n    if (iVar6 != 0) {\n      *DAT_001c65c0 = 0;\n      iVar2 = getpriority(__which,__who);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010d7b5("%cetpriority",0x67);\n        local_44 = iVar6;\n        goto LAB_0015f2e3;\n      }\n      iVar2 = iVar1 + iVar2;\n    }\n    iVar2 = setpriority(__which,__who,iVar2);\n    if (iVar2 != 0) {\n      FUN_0010d7b5("%cetpriority",0x73);\n      local_44 = 1;\n    }\n  }" { (expression_statement "pcVar5 = pcVar5 + 2;" (assignment_expression "pcVar5 = pcVar5 + 2" identifier = (binary_expression "pcVar5 + 2" identifier + number_literal)) ;) (labeled_statement "LAB_0015f344:\n    if (__which == PRIO_USER) {\n      ppVar4 = getpwnam(pcVar5);\n      if (ppVar4 == (passwd *)0x0) {\n        FUN_0010dcf3("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n      __who = ppVar4->pw_uid;\n    }\n    else {\n      __who = FUN_001101c1(pcVar5,0,10);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }" statement_identifier : (if_statement "if (__which == PRIO_USER) {\n      ppVar4 = getpwnam(pcVar5);\n      if (ppVar4 == (passwd *)0x0) {\n        FUN_0010dcf3("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n      __who = ppVar4->pw_uid;\n    }\n    else {\n      __who = FUN_001101c1(pcVar5,0,10);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }" if (parenthesized_expression "(__which == PRIO_USER)" ( (binary_expression "__which == PRIO_USER" identifier == identifier) )) (compound_statement "{\n      ppVar4 = getpwnam(pcVar5);\n      if (ppVar4 == (passwd *)0x0) {\n        FUN_0010dcf3("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n      __who = ppVar4->pw_uid;\n    }" { (expression_statement "ppVar4 = getpwnam(pcVar5);" (assignment_expression "ppVar4 = getpwnam(pcVar5)" identifier = (call_expression "getpwnam(pcVar5)" identifier (argument_list "(pcVar5)" ( identifier )))) ;) (if_statement "if (ppVar4 == (passwd *)0x0) {\n        FUN_0010dcf3("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }" if (parenthesized_expression "(ppVar4 == (passwd *)0x0)" ( (binary_expression "ppVar4 == (passwd *)0x0" identifier == (cast_expression "(passwd *)0x0" ( (type_descriptor "passwd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        FUN_0010dcf3("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }" { (expression_statement "FUN_0010dcf3("unknown user %s",pcVar5);" (call_expression "FUN_0010dcf3("unknown user %s",pcVar5)" identifier (argument_list "("unknown user %s",pcVar5)" ( (string_literal ""unknown user %s"" " string_content ") , identifier ))) ;) (expression_statement "local_44 = 1;" (assignment_expression "local_44 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_0015f2e3;" goto statement_identifier ;) })) (expression_statement "__who = ppVar4->pw_uid;" (assignment_expression "__who = ppVar4->pw_uid" identifier = (field_expression "ppVar4->pw_uid" identifier -> field_identifier)) ;) }) (else_clause "else {\n      __who = FUN_001101c1(pcVar5,0,10);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }" else (compound_statement "{\n      __who = FUN_001101c1(pcVar5,0,10);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }" { (expression_statement "__who = FUN_001101c1(pcVar5,0,10);" (assignment_expression "__who = FUN_001101c1(pcVar5,0,10)" identifier = (call_expression "FUN_001101c1(pcVar5,0,10)" identifier (argument_list "(pcVar5,0,10)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (*DAT_001c65c0 != 0) {\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }" if (parenthesized_expression "(*DAT_001c65c0 != 0)" ( (binary_expression "*DAT_001c65c0 != 0" (pointer_expression "*DAT_001c65c0" * identifier) != number_literal) )) (compound_statement "{\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }" { (expression_statement "FUN_0010dcf3("invalid number \'%s\'",pcVar5);" (call_expression "FUN_0010dcf3("invalid number \'%s\'",pcVar5)" identifier (argument_list "("invalid number \'%s\'",pcVar5)" ( (string_literal ""invalid number \'%s\'"" " string_content escape_sequence string_content escape_sequence ") , identifier ))) ;) (expression_statement "local_44 = 1;" (assignment_expression "local_44 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_0015f2e3;" goto statement_identifier ;) })) })))) (expression_statement "iVar2 = iVar1;" (assignment_expression "iVar2 = iVar1" identifier = identifier) ;) (if_statement "if (iVar6 != 0) {\n      *DAT_001c65c0 = 0;\n      iVar2 = getpriority(__which,__who);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010d7b5("%cetpriority",0x67);\n        local_44 = iVar6;\n        goto LAB_0015f2e3;\n      }\n      iVar2 = iVar1 + iVar2;\n    }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n      *DAT_001c65c0 = 0;\n      iVar2 = getpriority(__which,__who);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010d7b5("%cetpriority",0x67);\n        local_44 = iVar6;\n        goto LAB_0015f2e3;\n      }\n      iVar2 = iVar1 + iVar2;\n    }" { (expression_statement "*DAT_001c65c0 = 0;" (assignment_expression "*DAT_001c65c0 = 0" (pointer_expression "*DAT_001c65c0" * identifier) = number_literal) ;) (expression_statement "iVar2 = getpriority(__which,__who);" (assignment_expression "iVar2 = getpriority(__which,__who)" identifier = (call_expression "getpriority(__which,__who)" identifier (argument_list "(__which,__who)" ( identifier , identifier )))) ;) (if_statement "if (*DAT_001c65c0 != 0) {\n        FUN_0010d7b5("%cetpriority",0x67);\n        local_44 = iVar6;\n        goto LAB_0015f2e3;\n      }" if (parenthesized_expression "(*DAT_001c65c0 != 0)" ( (binary_expression "*DAT_001c65c0 != 0" (pointer_expression "*DAT_001c65c0" * identifier) != number_literal) )) (compound_statement "{\n        FUN_0010d7b5("%cetpriority",0x67);\n        local_44 = iVar6;\n        goto LAB_0015f2e3;\n      }" { (expression_statement "FUN_0010d7b5("%cetpriority",0x67);" (call_expression "FUN_0010d7b5("%cetpriority",0x67)" identifier (argument_list "("%cetpriority",0x67)" ( (string_literal ""%cetpriority"" " string_content ") , number_literal ))) ;) (expression_statement "local_44 = iVar6;" (assignment_expression "local_44 = iVar6" identifier = identifier) ;) (goto_statement "goto LAB_0015f2e3;" goto statement_identifier ;) })) (expression_statement "iVar2 = iVar1 + iVar2;" (assignment_expression "iVar2 = iVar1 + iVar2" identifier = (binary_expression "iVar1 + iVar2" identifier + identifier)) ;) })) (expression_statement "iVar2 = setpriority(__which,__who,iVar2);" (assignment_expression "iVar2 = setpriority(__which,__who,iVar2)" identifier = (call_expression "setpriority(__which,__who,iVar2)" identifier (argument_list "(__which,__who,iVar2)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar2 != 0) {\n      FUN_0010d7b5("%cetpriority",0x73);\n      local_44 = 1;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_0010d7b5("%cetpriority",0x73);\n      local_44 = 1;\n    }" { (expression_statement "FUN_0010d7b5("%cetpriority",0x73);" (call_expression "FUN_0010d7b5("%cetpriority",0x73)" identifier (argument_list "("%cetpriority",0x73)" ( (string_literal ""%cetpriority"" " string_content ") , number_literal ))) ;) (expression_statement "local_44 = 1;" (assignment_expression "local_44 = 1" identifier = number_literal) ;) })) })) (goto_statement "goto LAB_0015f2e3;" goto statement_identifier ;) })))
(translation_unit "int renice_main(int argc,char **argv)\n\n{\n  int iVar1;\n  int iVar2;\n  __uid_t __who;\n  char *pcVar3;\n  passwd *ppVar4;\n  char *pcVar5;\n  __priority_which_t __which;\n  char **ppcVar6;\n  int iVar7;\n  int local_44;\n  \n  pcVar5 = argv[1];\n  if (pcVar5 == (char *)0x0) {\nLAB_0015f2a8:\n                    /* WARNING: Subroutine does not return */\n    bb_show_usage();\n  }\n  ppcVar6 = argv + 1;\n  if (*pcVar5 == '-') {\n    if (pcVar5[1] == 'n') {\n      if (pcVar5[2] == '\0') {\n        ppcVar6 = argv + 2;\n        pcVar5 = argv[2];\n      }\n      else {\n        pcVar5 = pcVar5 + 2;\n      }\n      if (pcVar5 == (char *)0x0) goto LAB_0015f2a8;\n      iVar7 = 1;\n    }\n    else {\n      iVar7 = 0;\n    }\n  }\n  else {\n    iVar7 = 0;\n  }\n  iVar1 = xatoi_range(pcVar5,-0x40000000,0x3fffffff);\n  __which = PRIO_PROCESS;\n  local_44 = 0;\nLAB_0015f2e3:\n  ppcVar6 = ppcVar6 + 1;\n  pcVar5 = *ppcVar6;\n  if (pcVar5 == (char *)0x0) {\n    return local_44;\n  }\n  if (((*pcVar5 == '-') && (pcVar5[1] != 0)) &&\n     (pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0)) goto code_r0x0015f336;\n  goto LAB_0015f344;\ncode_r0x0015f336:\n  __which = (__priority_which_t)(byte)pcVar3[4];\n  if (pcVar5[2] != '\0') {\n    pcVar5 = pcVar5 + 2;\nLAB_0015f344:\n    if (__which == PRIO_USER) {\n      ppVar4 = getpwnam(pcVar5);\n      if (ppVar4 == (passwd *)0x0) {\n        bb_error_msg("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n      __who = ppVar4->pw_uid;\n    }\n    else {\n      __who = bb_strtou(pcVar5,(char **)0x0,10);\n      if (*bb_errno != 0) {\n        bb_error_msg("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }\n    iVar2 = iVar1;\n    if (iVar7 != 0) {\n      *bb_errno = 0;\n      iVar2 = getpriority(__which,__who);\n      if (*bb_errno != 0) {\n        bb_perror_msg("%cetpriority",0x67);\n        local_44 = iVar7;\n        goto LAB_0015f2e3;\n      }\n      iVar2 = iVar1 + iVar2;\n    }\n    iVar2 = setpriority(__which,__who,iVar2);\n    if (iVar2 != 0) {\n      bb_perror_msg("%cetpriority",0x73);\n      local_44 = 1;\n    }\n  }\n  goto LAB_0015f2e3;\n}\n\n" (function_definition "int renice_main(int argc,char **argv)\n\n{\n  int iVar1;\n  int iVar2;\n  __uid_t __who;\n  char *pcVar3;\n  passwd *ppVar4;\n  char *pcVar5;\n  __priority_which_t __which;\n  char **ppcVar6;\n  int iVar7;\n  int local_44;\n  \n  pcVar5 = argv[1];\n  if (pcVar5 == (char *)0x0) {\nLAB_0015f2a8:\n                    /* WARNING: Subroutine does not return */\n    bb_show_usage();\n  }\n  ppcVar6 = argv + 1;\n  if (*pcVar5 == '-') {\n    if (pcVar5[1] == 'n') {\n      if (pcVar5[2] == '\0') {\n        ppcVar6 = argv + 2;\n        pcVar5 = argv[2];\n      }\n      else {\n        pcVar5 = pcVar5 + 2;\n      }\n      if (pcVar5 == (char *)0x0) goto LAB_0015f2a8;\n      iVar7 = 1;\n    }\n    else {\n      iVar7 = 0;\n    }\n  }\n  else {\n    iVar7 = 0;\n  }\n  iVar1 = xatoi_range(pcVar5,-0x40000000,0x3fffffff);\n  __which = PRIO_PROCESS;\n  local_44 = 0;\nLAB_0015f2e3:\n  ppcVar6 = ppcVar6 + 1;\n  pcVar5 = *ppcVar6;\n  if (pcVar5 == (char *)0x0) {\n    return local_44;\n  }\n  if (((*pcVar5 == '-') && (pcVar5[1] != 0)) &&\n     (pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0)) goto code_r0x0015f336;\n  goto LAB_0015f344;\ncode_r0x0015f336:\n  __which = (__priority_which_t)(byte)pcVar3[4];\n  if (pcVar5[2] != '\0') {\n    pcVar5 = pcVar5 + 2;\nLAB_0015f344:\n    if (__which == PRIO_USER) {\n      ppVar4 = getpwnam(pcVar5);\n      if (ppVar4 == (passwd *)0x0) {\n        bb_error_msg("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n      __who = ppVar4->pw_uid;\n    }\n    else {\n      __who = bb_strtou(pcVar5,(char **)0x0,10);\n      if (*bb_errno != 0) {\n        bb_error_msg("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }\n    iVar2 = iVar1;\n    if (iVar7 != 0) {\n      *bb_errno = 0;\n      iVar2 = getpriority(__which,__who);\n      if (*bb_errno != 0) {\n        bb_perror_msg("%cetpriority",0x67);\n        local_44 = iVar7;\n        goto LAB_0015f2e3;\n      }\n      iVar2 = iVar1 + iVar2;\n    }\n    iVar2 = setpriority(__which,__who,iVar2);\n    if (iVar2 != 0) {\n      bb_perror_msg("%cetpriority",0x73);\n      local_44 = 1;\n    }\n  }\n  goto LAB_0015f2e3;\n}" primitive_type (function_declarator "renice_main(int argc,char **argv)" identifier (parameter_list "(int argc,char **argv)" ( (parameter_declaration "int argc" primitive_type identifier) , (parameter_declaration "char **argv" primitive_type (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier))) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  __uid_t __who;\n  char *pcVar3;\n  passwd *ppVar4;\n  char *pcVar5;\n  __priority_which_t __which;\n  char **ppcVar6;\n  int iVar7;\n  int local_44;\n  \n  pcVar5 = argv[1];\n  if (pcVar5 == (char *)0x0) {\nLAB_0015f2a8:\n                    /* WARNING: Subroutine does not return */\n    bb_show_usage();\n  }\n  ppcVar6 = argv + 1;\n  if (*pcVar5 == '-') {\n    if (pcVar5[1] == 'n') {\n      if (pcVar5[2] == '\0') {\n        ppcVar6 = argv + 2;\n        pcVar5 = argv[2];\n      }\n      else {\n        pcVar5 = pcVar5 + 2;\n      }\n      if (pcVar5 == (char *)0x0) goto LAB_0015f2a8;\n      iVar7 = 1;\n    }\n    else {\n      iVar7 = 0;\n    }\n  }\n  else {\n    iVar7 = 0;\n  }\n  iVar1 = xatoi_range(pcVar5,-0x40000000,0x3fffffff);\n  __which = PRIO_PROCESS;\n  local_44 = 0;\nLAB_0015f2e3:\n  ppcVar6 = ppcVar6 + 1;\n  pcVar5 = *ppcVar6;\n  if (pcVar5 == (char *)0x0) {\n    return local_44;\n  }\n  if (((*pcVar5 == '-') && (pcVar5[1] != 0)) &&\n     (pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0)) goto code_r0x0015f336;\n  goto LAB_0015f344;\ncode_r0x0015f336:\n  __which = (__priority_which_t)(byte)pcVar3[4];\n  if (pcVar5[2] != '\0') {\n    pcVar5 = pcVar5 + 2;\nLAB_0015f344:\n    if (__which == PRIO_USER) {\n      ppVar4 = getpwnam(pcVar5);\n      if (ppVar4 == (passwd *)0x0) {\n        bb_error_msg("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n      __who = ppVar4->pw_uid;\n    }\n    else {\n      __who = bb_strtou(pcVar5,(char **)0x0,10);\n      if (*bb_errno != 0) {\n        bb_error_msg("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }\n    iVar2 = iVar1;\n    if (iVar7 != 0) {\n      *bb_errno = 0;\n      iVar2 = getpriority(__which,__who);\n      if (*bb_errno != 0) {\n        bb_perror_msg("%cetpriority",0x67);\n        local_44 = iVar7;\n        goto LAB_0015f2e3;\n      }\n      iVar2 = iVar1 + iVar2;\n    }\n    iVar2 = setpriority(__which,__who,iVar2);\n    if (iVar2 != 0) {\n      bb_perror_msg("%cetpriority",0x73);\n      local_44 = 1;\n    }\n  }\n  goto LAB_0015f2e3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "__uid_t __who;" type_identifier identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "passwd *ppVar4;" type_identifier (pointer_declarator "*ppVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "__priority_which_t __which;" type_identifier identifier ;) (declaration "char **ppcVar6;" primitive_type (pointer_declarator "**ppcVar6" * (pointer_declarator "*ppcVar6" * identifier)) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int local_44;" primitive_type identifier ;) (expression_statement "pcVar5 = argv[1];" (assignment_expression "pcVar5 = argv[1]" identifier = (subscript_expression "argv[1]" identifier [ number_literal ])) ;) (if_statement "if (pcVar5 == (char *)0x0) {\nLAB_0015f2a8:\n                    /* WARNING: Subroutine does not return */\n    bb_show_usage();\n  }" if (parenthesized_expression "(pcVar5 == (char *)0x0)" ( (binary_expression "pcVar5 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_0015f2a8:\n                    /* WARNING: Subroutine does not return */\n    bb_show_usage();\n  }" { (labeled_statement "LAB_0015f2a8:\n                    /* WARNING: Subroutine does not return */\n    bb_show_usage();" statement_identifier : comment (expression_statement "bb_show_usage();" (call_expression "bb_show_usage()" identifier (argument_list "()" ( ))) ;)) })) (expression_statement "ppcVar6 = argv + 1;" (assignment_expression "ppcVar6 = argv + 1" identifier = (binary_expression "argv + 1" identifier + number_literal)) ;) (if_statement "if (*pcVar5 == '-') {\n    if (pcVar5[1] == 'n') {\n      if (pcVar5[2] == '\0') {\n        ppcVar6 = argv + 2;\n        pcVar5 = argv[2];\n      }\n      else {\n        pcVar5 = pcVar5 + 2;\n      }\n      if (pcVar5 == (char *)0x0) goto LAB_0015f2a8;\n      iVar7 = 1;\n    }\n    else {\n      iVar7 = 0;\n    }\n  }\n  else {\n    iVar7 = 0;\n  }" if (parenthesized_expression "(*pcVar5 == '-')" ( (binary_expression "*pcVar5 == '-'" (pointer_expression "*pcVar5" * identifier) == (char_literal "'-'" ' character ')) )) (compound_statement "{\n    if (pcVar5[1] == 'n') {\n      if (pcVar5[2] == '\0') {\n        ppcVar6 = argv + 2;\n        pcVar5 = argv[2];\n      }\n      else {\n        pcVar5 = pcVar5 + 2;\n      }\n      if (pcVar5 == (char *)0x0) goto LAB_0015f2a8;\n      iVar7 = 1;\n    }\n    else {\n      iVar7 = 0;\n    }\n  }" { (if_statement "if (pcVar5[1] == 'n') {\n      if (pcVar5[2] == '\0') {\n        ppcVar6 = argv + 2;\n        pcVar5 = argv[2];\n      }\n      else {\n        pcVar5 = pcVar5 + 2;\n      }\n      if (pcVar5 == (char *)0x0) goto LAB_0015f2a8;\n      iVar7 = 1;\n    }\n    else {\n      iVar7 = 0;\n    }" if (parenthesized_expression "(pcVar5[1] == 'n')" ( (binary_expression "pcVar5[1] == 'n'" (subscript_expression "pcVar5[1]" identifier [ number_literal ]) == (char_literal "'n'" ' character ')) )) (compound_statement "{\n      if (pcVar5[2] == '\0') {\n        ppcVar6 = argv + 2;\n        pcVar5 = argv[2];\n      }\n      else {\n        pcVar5 = pcVar5 + 2;\n      }\n      if (pcVar5 == (char *)0x0) goto LAB_0015f2a8;\n      iVar7 = 1;\n    }" { (if_statement "if (pcVar5[2] == '\0') {\n        ppcVar6 = argv + 2;\n        pcVar5 = argv[2];\n      }\n      else {\n        pcVar5 = pcVar5 + 2;\n      }" if (parenthesized_expression "(pcVar5[2] == '\0')" ( (binary_expression "pcVar5[2] == '\0'" (subscript_expression "pcVar5[2]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        ppcVar6 = argv + 2;\n        pcVar5 = argv[2];\n      }" { (expression_statement "ppcVar6 = argv + 2;" (assignment_expression "ppcVar6 = argv + 2" identifier = (binary_expression "argv + 2" identifier + number_literal)) ;) (expression_statement "pcVar5 = argv[2];" (assignment_expression "pcVar5 = argv[2]" identifier = (subscript_expression "argv[2]" identifier [ number_literal ])) ;) }) (else_clause "else {\n        pcVar5 = pcVar5 + 2;\n      }" else (compound_statement "{\n        pcVar5 = pcVar5 + 2;\n      }" { (expression_statement "pcVar5 = pcVar5 + 2;" (assignment_expression "pcVar5 = pcVar5 + 2" identifier = (binary_expression "pcVar5 + 2" identifier + number_literal)) ;) }))) (if_statement "if (pcVar5 == (char *)0x0) goto LAB_0015f2a8;" if (parenthesized_expression "(pcVar5 == (char *)0x0)" ( (binary_expression "pcVar5 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0015f2a8;" goto statement_identifier ;)) (expression_statement "iVar7 = 1;" (assignment_expression "iVar7 = 1" identifier = number_literal) ;) }) (else_clause "else {\n      iVar7 = 0;\n    }" else (compound_statement "{\n      iVar7 = 0;\n    }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) }))) }) (else_clause "else {\n    iVar7 = 0;\n  }" else (compound_statement "{\n    iVar7 = 0;\n  }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) }))) (expression_statement "iVar1 = xatoi_range(pcVar5,-0x40000000,0x3fffffff);" (assignment_expression "iVar1 = xatoi_range(pcVar5,-0x40000000,0x3fffffff)" identifier = (call_expression "xatoi_range(pcVar5,-0x40000000,0x3fffffff)" identifier (argument_list "(pcVar5,-0x40000000,0x3fffffff)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "__which = PRIO_PROCESS;" (assignment_expression "__which = PRIO_PROCESS" identifier = identifier) ;) (expression_statement "local_44 = 0;" (assignment_expression "local_44 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0015f2e3:\n  ppcVar6 = ppcVar6 + 1;" statement_identifier : (expression_statement "ppcVar6 = ppcVar6 + 1;" (assignment_expression "ppcVar6 = ppcVar6 + 1" identifier = (binary_expression "ppcVar6 + 1" identifier + number_literal)) ;)) (expression_statement "pcVar5 = *ppcVar6;" (assignment_expression "pcVar5 = *ppcVar6" identifier = (pointer_expression "*ppcVar6" * identifier)) ;) (if_statement "if (pcVar5 == (char *)0x0) {\n    return local_44;\n  }" if (parenthesized_expression "(pcVar5 == (char *)0x0)" ( (binary_expression "pcVar5 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return local_44;\n  }" { (return_statement "return local_44;" return identifier ;) })) (if_statement "if (((*pcVar5 == '-') && (pcVar5[1] != 0)) &&\n     (pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0)) goto code_r0x0015f336;" if (parenthesized_expression "(((*pcVar5 == '-') && (pcVar5[1] != 0)) &&\n     (pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0))" ( (binary_expression "((*pcVar5 == '-') && (pcVar5[1] != 0)) &&\n     (pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0)" (parenthesized_expression "((*pcVar5 == '-') && (pcVar5[1] != 0))" ( (binary_expression "(*pcVar5 == '-') && (pcVar5[1] != 0)" (parenthesized_expression "(*pcVar5 == '-')" ( (binary_expression "*pcVar5 == '-'" (pointer_expression "*pcVar5" * identifier) == (char_literal "'-'" ' character ')) )) && (parenthesized_expression "(pcVar5[1] != 0)" ( (binary_expression "pcVar5[1] != 0" (subscript_expression "pcVar5[1]" identifier [ number_literal ]) != number_literal) ))) )) && (parenthesized_expression "(pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0)" ( (comma_expression "pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0" (assignment_expression "pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1])" identifier = (call_expression "strchr("pgu",(uint)(byte)pcVar5[1])" identifier (argument_list "("pgu",(uint)(byte)pcVar5[1])" ( (string_literal ""pgu"" " string_content ") , (cast_expression "(uint)(byte)pcVar5[1]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)pcVar5[1]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pcVar5[1]" identifier [ number_literal ]))) )))) , (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (goto_statement "goto code_r0x0015f336;" goto statement_identifier ;)) (goto_statement "goto LAB_0015f344;" goto statement_identifier ;) (labeled_statement "code_r0x0015f336:\n  __which = (__priority_which_t)(byte)pcVar3[4];" statement_identifier : (expression_statement "__which = (__priority_which_t)(byte)pcVar3[4];" (assignment_expression "__which = (__priority_which_t)(byte)pcVar3[4]" identifier = (cast_expression "(__priority_which_t)(byte)pcVar3[4]" ( (type_descriptor "__priority_which_t" type_identifier) ) (cast_expression "(byte)pcVar3[4]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pcVar3[4]" identifier [ number_literal ])))) ;)) (if_statement "if (pcVar5[2] != '\0') {\n    pcVar5 = pcVar5 + 2;\nLAB_0015f344:\n    if (__which == PRIO_USER) {\n      ppVar4 = getpwnam(pcVar5);\n      if (ppVar4 == (passwd *)0x0) {\n        bb_error_msg("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n      __who = ppVar4->pw_uid;\n    }\n    else {\n      __who = bb_strtou(pcVar5,(char **)0x0,10);\n      if (*bb_errno != 0) {\n        bb_error_msg("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }\n    iVar2 = iVar1;\n    if (iVar7 != 0) {\n      *bb_errno = 0;\n      iVar2 = getpriority(__which,__who);\n      if (*bb_errno != 0) {\n        bb_perror_msg("%cetpriority",0x67);\n        local_44 = iVar7;\n        goto LAB_0015f2e3;\n      }\n      iVar2 = iVar1 + iVar2;\n    }\n    iVar2 = setpriority(__which,__who,iVar2);\n    if (iVar2 != 0) {\n      bb_perror_msg("%cetpriority",0x73);\n      local_44 = 1;\n    }\n  }" if (parenthesized_expression "(pcVar5[2] != '\0')" ( (binary_expression "pcVar5[2] != '\0'" (subscript_expression "pcVar5[2]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar5 = pcVar5 + 2;\nLAB_0015f344:\n    if (__which == PRIO_USER) {\n      ppVar4 = getpwnam(pcVar5);\n      if (ppVar4 == (passwd *)0x0) {\n        bb_error_msg("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n      __who = ppVar4->pw_uid;\n    }\n    else {\n      __who = bb_strtou(pcVar5,(char **)0x0,10);\n      if (*bb_errno != 0) {\n        bb_error_msg("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }\n    iVar2 = iVar1;\n    if (iVar7 != 0) {\n      *bb_errno = 0;\n      iVar2 = getpriority(__which,__who);\n      if (*bb_errno != 0) {\n        bb_perror_msg("%cetpriority",0x67);\n        local_44 = iVar7;\n        goto LAB_0015f2e3;\n      }\n      iVar2 = iVar1 + iVar2;\n    }\n    iVar2 = setpriority(__which,__who,iVar2);\n    if (iVar2 != 0) {\n      bb_perror_msg("%cetpriority",0x73);\n      local_44 = 1;\n    }\n  }" { (expression_statement "pcVar5 = pcVar5 + 2;" (assignment_expression "pcVar5 = pcVar5 + 2" identifier = (binary_expression "pcVar5 + 2" identifier + number_literal)) ;) (labeled_statement "LAB_0015f344:\n    if (__which == PRIO_USER) {\n      ppVar4 = getpwnam(pcVar5);\n      if (ppVar4 == (passwd *)0x0) {\n        bb_error_msg("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n      __who = ppVar4->pw_uid;\n    }\n    else {\n      __who = bb_strtou(pcVar5,(char **)0x0,10);\n      if (*bb_errno != 0) {\n        bb_error_msg("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }" statement_identifier : (if_statement "if (__which == PRIO_USER) {\n      ppVar4 = getpwnam(pcVar5);\n      if (ppVar4 == (passwd *)0x0) {\n        bb_error_msg("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n      __who = ppVar4->pw_uid;\n    }\n    else {\n      __who = bb_strtou(pcVar5,(char **)0x0,10);\n      if (*bb_errno != 0) {\n        bb_error_msg("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }" if (parenthesized_expression "(__which == PRIO_USER)" ( (binary_expression "__which == PRIO_USER" identifier == identifier) )) (compound_statement "{\n      ppVar4 = getpwnam(pcVar5);\n      if (ppVar4 == (passwd *)0x0) {\n        bb_error_msg("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n      __who = ppVar4->pw_uid;\n    }" { (expression_statement "ppVar4 = getpwnam(pcVar5);" (assignment_expression "ppVar4 = getpwnam(pcVar5)" identifier = (call_expression "getpwnam(pcVar5)" identifier (argument_list "(pcVar5)" ( identifier )))) ;) (if_statement "if (ppVar4 == (passwd *)0x0) {\n        bb_error_msg("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }" if (parenthesized_expression "(ppVar4 == (passwd *)0x0)" ( (binary_expression "ppVar4 == (passwd *)0x0" identifier == (cast_expression "(passwd *)0x0" ( (type_descriptor "passwd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        bb_error_msg("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }" { (expression_statement "bb_error_msg("unknown user %s",pcVar5);" (call_expression "bb_error_msg("unknown user %s",pcVar5)" identifier (argument_list "("unknown user %s",pcVar5)" ( (string_literal ""unknown user %s"" " string_content ") , identifier ))) ;) (expression_statement "local_44 = 1;" (assignment_expression "local_44 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_0015f2e3;" goto statement_identifier ;) })) (expression_statement "__who = ppVar4->pw_uid;" (assignment_expression "__who = ppVar4->pw_uid" identifier = (field_expression "ppVar4->pw_uid" identifier -> field_identifier)) ;) }) (else_clause "else {\n      __who = bb_strtou(pcVar5,(char **)0x0,10);\n      if (*bb_errno != 0) {\n        bb_error_msg("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }" else (compound_statement "{\n      __who = bb_strtou(pcVar5,(char **)0x0,10);\n      if (*bb_errno != 0) {\n        bb_error_msg("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }" { (expression_statement "__who = bb_strtou(pcVar5,(char **)0x0,10);" (assignment_expression "__who = bb_strtou(pcVar5,(char **)0x0,10)" identifier = (call_expression "bb_strtou(pcVar5,(char **)0x0,10)" identifier (argument_list "(pcVar5,(char **)0x0,10)" ( identifier , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , number_literal )))) ;) (if_statement "if (*bb_errno != 0) {\n        bb_error_msg("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }" if (parenthesized_expression "(*bb_errno != 0)" ( (binary_expression "*bb_errno != 0" (pointer_expression "*bb_errno" * identifier) != number_literal) )) (compound_statement "{\n        bb_error_msg("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }" { (expression_statement "bb_error_msg("invalid number \'%s\'",pcVar5);" (call_expression "bb_error_msg("invalid number \'%s\'",pcVar5)" identifier (argument_list "("invalid number \'%s\'",pcVar5)" ( (string_literal ""invalid number \'%s\'"" " string_content escape_sequence string_content escape_sequence ") , identifier ))) ;) (expression_statement "local_44 = 1;" (assignment_expression "local_44 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_0015f2e3;" goto statement_identifier ;) })) })))) (expression_statement "iVar2 = iVar1;" (assignment_expression "iVar2 = iVar1" identifier = identifier) ;) (if_statement "if (iVar7 != 0) {\n      *bb_errno = 0;\n      iVar2 = getpriority(__which,__who);\n      if (*bb_errno != 0) {\n        bb_perror_msg("%cetpriority",0x67);\n        local_44 = iVar7;\n        goto LAB_0015f2e3;\n      }\n      iVar2 = iVar1 + iVar2;\n    }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n      *bb_errno = 0;\n      iVar2 = getpriority(__which,__who);\n      if (*bb_errno != 0) {\n        bb_perror_msg("%cetpriority",0x67);\n        local_44 = iVar7;\n        goto LAB_0015f2e3;\n      }\n      iVar2 = iVar1 + iVar2;\n    }" { (expression_statement "*bb_errno = 0;" (assignment_expression "*bb_errno = 0" (pointer_expression "*bb_errno" * identifier) = number_literal) ;) (expression_statement "iVar2 = getpriority(__which,__who);" (assignment_expression "iVar2 = getpriority(__which,__who)" identifier = (call_expression "getpriority(__which,__who)" identifier (argument_list "(__which,__who)" ( identifier , identifier )))) ;) (if_statement "if (*bb_errno != 0) {\n        bb_perror_msg("%cetpriority",0x67);\n        local_44 = iVar7;\n        goto LAB_0015f2e3;\n      }" if (parenthesized_expression "(*bb_errno != 0)" ( (binary_expression "*bb_errno != 0" (pointer_expression "*bb_errno" * identifier) != number_literal) )) (compound_statement "{\n        bb_perror_msg("%cetpriority",0x67);\n        local_44 = iVar7;\n        goto LAB_0015f2e3;\n      }" { (expression_statement "bb_perror_msg("%cetpriority",0x67);" (call_expression "bb_perror_msg("%cetpriority",0x67)" identifier (argument_list "("%cetpriority",0x67)" ( (string_literal ""%cetpriority"" " string_content ") , number_literal ))) ;) (expression_statement "local_44 = iVar7;" (assignment_expression "local_44 = iVar7" identifier = identifier) ;) (goto_statement "goto LAB_0015f2e3;" goto statement_identifier ;) })) (expression_statement "iVar2 = iVar1 + iVar2;" (assignment_expression "iVar2 = iVar1 + iVar2" identifier = (binary_expression "iVar1 + iVar2" identifier + identifier)) ;) })) (expression_statement "iVar2 = setpriority(__which,__who,iVar2);" (assignment_expression "iVar2 = setpriority(__which,__who,iVar2)" identifier = (call_expression "setpriority(__which,__who,iVar2)" identifier (argument_list "(__which,__who,iVar2)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar2 != 0) {\n      bb_perror_msg("%cetpriority",0x73);\n      local_44 = 1;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      bb_perror_msg("%cetpriority",0x73);\n      local_44 = 1;\n    }" { (expression_statement "bb_perror_msg("%cetpriority",0x73);" (call_expression "bb_perror_msg("%cetpriority",0x73)" identifier (argument_list "("%cetpriority",0x73)" ( (string_literal ""%cetpriority"" " string_content ") , number_literal ))) ;) (expression_statement "local_44 = 1;" (assignment_expression "local_44 = 1" identifier = number_literal) ;) })) })) (goto_statement "goto LAB_0015f2e3;" goto statement_identifier ;) })))
(translation_unit "int FUN_0015f26f(undefined8 param_1,long param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  __uid_t __who;\n  char *pcVar3;\n  passwd *ppVar4;\n  __priority_which_t __which;\n  char *pcVar5;\n  undefined8 *unaff_R12;\n  int iVar6;\n  int local_44;\n  \n  pcVar5 = *(char **)(param_2 + 8);\n  if (pcVar5 == (char *)0x0) goto LAB_0015f2a8;\n  unaff_R12 = (undefined8 *)(param_2 + 8);\n  if (*pcVar5 == '-') {\n    if (pcVar5[1] == 'n') {\n      if (pcVar5[2] != '\0') goto LAB_0015f2ad;\n      unaff_R12 = (undefined8 *)(param_2 + 0x10);\n      for (pcVar5 = *(char **)(param_2 + 0x10); pcVar5 == (char *)0x0; pcVar5 = pcVar5 + 2) {\nLAB_0015f2a8:\n        FUN_0010c878();\nLAB_0015f2ad:\n      }\n      iVar6 = 1;\n    }\n    else {\n      iVar6 = 0;\n    }\n  }\n  else {\n    iVar6 = 0;\n  }\n  iVar1 = FUN_001a670a(pcVar5,0xc0000000,0x3fffffff);\n  __which = PRIO_PROCESS;\n  local_44 = 0;\nLAB_0015f2e3:\n  unaff_R12 = unaff_R12 + 1;\n  pcVar5 = (char *)*unaff_R12;\n  if (pcVar5 == (char *)0x0) {\n    return local_44;\n  }\n  if (((*pcVar5 == '-') && (pcVar5[1] != 0)) &&\n     (pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0)) goto code_r0x0015f336;\n  goto LAB_0015f344;\ncode_r0x0015f336:\n  __which = (__priority_which_t)(byte)pcVar3[4];\n  if (pcVar5[2] != '\0') {\n    pcVar5 = pcVar5 + 2;\nLAB_0015f344:\n    if (__which == PRIO_USER) {\n      ppVar4 = getpwnam(pcVar5);\n      if (ppVar4 == (passwd *)0x0) {\n        FUN_0010dcf3("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n      __who = ppVar4->pw_uid;\n    }\n    else {\n      __who = FUN_001101c1(pcVar5,0,10);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }\n    iVar2 = iVar1;\n    if (iVar6 != 0) {\n      *DAT_001c65c0 = 0;\n      iVar2 = getpriority(__which,__who);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010d7b5("%cetpriority",0x67);\n        local_44 = iVar6;\n        goto LAB_0015f2e3;\n      }\n      iVar2 = iVar1 + iVar2;\n    }\n    iVar2 = setpriority(__which,__who,iVar2);\n    if (iVar2 != 0) {\n      FUN_0010d7b5("%cetpriority",0x73);\n      local_44 = 1;\n    }\n  }\n  goto LAB_0015f2e3;\n}\n\n" (function_definition "int FUN_0015f26f(undefined8 param_1,long param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  __uid_t __who;\n  char *pcVar3;\n  passwd *ppVar4;\n  __priority_which_t __which;\n  char *pcVar5;\n  undefined8 *unaff_R12;\n  int iVar6;\n  int local_44;\n  \n  pcVar5 = *(char **)(param_2 + 8);\n  if (pcVar5 == (char *)0x0) goto LAB_0015f2a8;\n  unaff_R12 = (undefined8 *)(param_2 + 8);\n  if (*pcVar5 == '-') {\n    if (pcVar5[1] == 'n') {\n      if (pcVar5[2] != '\0') goto LAB_0015f2ad;\n      unaff_R12 = (undefined8 *)(param_2 + 0x10);\n      for (pcVar5 = *(char **)(param_2 + 0x10); pcVar5 == (char *)0x0; pcVar5 = pcVar5 + 2) {\nLAB_0015f2a8:\n        FUN_0010c878();\nLAB_0015f2ad:\n      }\n      iVar6 = 1;\n    }\n    else {\n      iVar6 = 0;\n    }\n  }\n  else {\n    iVar6 = 0;\n  }\n  iVar1 = FUN_001a670a(pcVar5,0xc0000000,0x3fffffff);\n  __which = PRIO_PROCESS;\n  local_44 = 0;\nLAB_0015f2e3:\n  unaff_R12 = unaff_R12 + 1;\n  pcVar5 = (char *)*unaff_R12;\n  if (pcVar5 == (char *)0x0) {\n    return local_44;\n  }\n  if (((*pcVar5 == '-') && (pcVar5[1] != 0)) &&\n     (pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0)) goto code_r0x0015f336;\n  goto LAB_0015f344;\ncode_r0x0015f336:\n  __which = (__priority_which_t)(byte)pcVar3[4];\n  if (pcVar5[2] != '\0') {\n    pcVar5 = pcVar5 + 2;\nLAB_0015f344:\n    if (__which == PRIO_USER) {\n      ppVar4 = getpwnam(pcVar5);\n      if (ppVar4 == (passwd *)0x0) {\n        FUN_0010dcf3("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n      __who = ppVar4->pw_uid;\n    }\n    else {\n      __who = FUN_001101c1(pcVar5,0,10);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }\n    iVar2 = iVar1;\n    if (iVar6 != 0) {\n      *DAT_001c65c0 = 0;\n      iVar2 = getpriority(__which,__who);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010d7b5("%cetpriority",0x67);\n        local_44 = iVar6;\n        goto LAB_0015f2e3;\n      }\n      iVar2 = iVar1 + iVar2;\n    }\n    iVar2 = setpriority(__which,__who,iVar2);\n    if (iVar2 != 0) {\n      FUN_0010d7b5("%cetpriority",0x73);\n      local_44 = 1;\n    }\n  }\n  goto LAB_0015f2e3;\n}" primitive_type (function_declarator "FUN_0015f26f(undefined8 param_1,long param_2)" identifier (parameter_list "(undefined8 param_1,long param_2)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  __uid_t __who;\n  char *pcVar3;\n  passwd *ppVar4;\n  __priority_which_t __which;\n  char *pcVar5;\n  undefined8 *unaff_R12;\n  int iVar6;\n  int local_44;\n  \n  pcVar5 = *(char **)(param_2 + 8);\n  if (pcVar5 == (char *)0x0) goto LAB_0015f2a8;\n  unaff_R12 = (undefined8 *)(param_2 + 8);\n  if (*pcVar5 == '-') {\n    if (pcVar5[1] == 'n') {\n      if (pcVar5[2] != '\0') goto LAB_0015f2ad;\n      unaff_R12 = (undefined8 *)(param_2 + 0x10);\n      for (pcVar5 = *(char **)(param_2 + 0x10); pcVar5 == (char *)0x0; pcVar5 = pcVar5 + 2) {\nLAB_0015f2a8:\n        FUN_0010c878();\nLAB_0015f2ad:\n      }\n      iVar6 = 1;\n    }\n    else {\n      iVar6 = 0;\n    }\n  }\n  else {\n    iVar6 = 0;\n  }\n  iVar1 = FUN_001a670a(pcVar5,0xc0000000,0x3fffffff);\n  __which = PRIO_PROCESS;\n  local_44 = 0;\nLAB_0015f2e3:\n  unaff_R12 = unaff_R12 + 1;\n  pcVar5 = (char *)*unaff_R12;\n  if (pcVar5 == (char *)0x0) {\n    return local_44;\n  }\n  if (((*pcVar5 == '-') && (pcVar5[1] != 0)) &&\n     (pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0)) goto code_r0x0015f336;\n  goto LAB_0015f344;\ncode_r0x0015f336:\n  __which = (__priority_which_t)(byte)pcVar3[4];\n  if (pcVar5[2] != '\0') {\n    pcVar5 = pcVar5 + 2;\nLAB_0015f344:\n    if (__which == PRIO_USER) {\n      ppVar4 = getpwnam(pcVar5);\n      if (ppVar4 == (passwd *)0x0) {\n        FUN_0010dcf3("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n      __who = ppVar4->pw_uid;\n    }\n    else {\n      __who = FUN_001101c1(pcVar5,0,10);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }\n    iVar2 = iVar1;\n    if (iVar6 != 0) {\n      *DAT_001c65c0 = 0;\n      iVar2 = getpriority(__which,__who);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010d7b5("%cetpriority",0x67);\n        local_44 = iVar6;\n        goto LAB_0015f2e3;\n      }\n      iVar2 = iVar1 + iVar2;\n    }\n    iVar2 = setpriority(__which,__who,iVar2);\n    if (iVar2 != 0) {\n      FUN_0010d7b5("%cetpriority",0x73);\n      local_44 = 1;\n    }\n  }\n  goto LAB_0015f2e3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "__uid_t __who;" type_identifier identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "passwd *ppVar4;" type_identifier (pointer_declarator "*ppVar4" * identifier) ;) (declaration "__priority_which_t __which;" type_identifier identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "undefined8 *unaff_R12;" type_identifier (pointer_declarator "*unaff_R12" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int local_44;" primitive_type identifier ;) (expression_statement "pcVar5 = *(char **)(param_2 + 8);" (assignment_expression "pcVar5 = *(char **)(param_2 + 8)" identifier = (pointer_expression "*(char **)(param_2 + 8)" * (cast_expression "(char **)(param_2 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (if_statement "if (pcVar5 == (char *)0x0) goto LAB_0015f2a8;" if (parenthesized_expression "(pcVar5 == (char *)0x0)" ( (binary_expression "pcVar5 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0015f2a8;" goto statement_identifier ;)) (expression_statement "unaff_R12 = (undefined8 *)(param_2 + 8);" (assignment_expression "unaff_R12 = (undefined8 *)(param_2 + 8)" identifier = (cast_expression "(undefined8 *)(param_2 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) ;) (if_statement "if (*pcVar5 == '-') {\n    if (pcVar5[1] == 'n') {\n      if (pcVar5[2] != '\0') goto LAB_0015f2ad;\n      unaff_R12 = (undefined8 *)(param_2 + 0x10);\n      for (pcVar5 = *(char **)(param_2 + 0x10); pcVar5 == (char *)0x0; pcVar5 = pcVar5 + 2) {\nLAB_0015f2a8:\n        FUN_0010c878();\nLAB_0015f2ad:\n      }\n      iVar6 = 1;\n    }\n    else {\n      iVar6 = 0;\n    }\n  }\n  else {\n    iVar6 = 0;\n  }" if (parenthesized_expression "(*pcVar5 == '-')" ( (binary_expression "*pcVar5 == '-'" (pointer_expression "*pcVar5" * identifier) == (char_literal "'-'" ' character ')) )) (compound_statement "{\n    if (pcVar5[1] == 'n') {\n      if (pcVar5[2] != '\0') goto LAB_0015f2ad;\n      unaff_R12 = (undefined8 *)(param_2 + 0x10);\n      for (pcVar5 = *(char **)(param_2 + 0x10); pcVar5 == (char *)0x0; pcVar5 = pcVar5 + 2) {\nLAB_0015f2a8:\n        FUN_0010c878();\nLAB_0015f2ad:\n      }\n      iVar6 = 1;\n    }\n    else {\n      iVar6 = 0;\n    }\n  }" { (if_statement "if (pcVar5[1] == 'n') {\n      if (pcVar5[2] != '\0') goto LAB_0015f2ad;\n      unaff_R12 = (undefined8 *)(param_2 + 0x10);\n      for (pcVar5 = *(char **)(param_2 + 0x10); pcVar5 == (char *)0x0; pcVar5 = pcVar5 + 2) {\nLAB_0015f2a8:\n        FUN_0010c878();\nLAB_0015f2ad:\n      }\n      iVar6 = 1;\n    }\n    else {\n      iVar6 = 0;\n    }" if (parenthesized_expression "(pcVar5[1] == 'n')" ( (binary_expression "pcVar5[1] == 'n'" (subscript_expression "pcVar5[1]" identifier [ number_literal ]) == (char_literal "'n'" ' character ')) )) (compound_statement "{\n      if (pcVar5[2] != '\0') goto LAB_0015f2ad;\n      unaff_R12 = (undefined8 *)(param_2 + 0x10);\n      for (pcVar5 = *(char **)(param_2 + 0x10); pcVar5 == (char *)0x0; pcVar5 = pcVar5 + 2) {\nLAB_0015f2a8:\n        FUN_0010c878();\nLAB_0015f2ad:\n      }\n      iVar6 = 1;\n    }" { (if_statement "if (pcVar5[2] != '\0') goto LAB_0015f2ad;" if (parenthesized_expression "(pcVar5[2] != '\0')" ( (binary_expression "pcVar5[2] != '\0'" (subscript_expression "pcVar5[2]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0015f2ad;" goto statement_identifier ;)) (expression_statement "unaff_R12 = (undefined8 *)(param_2 + 0x10);" (assignment_expression "unaff_R12 = (undefined8 *)(param_2 + 0x10)" identifier = (cast_expression "(undefined8 *)(param_2 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) ;) (for_statement "for (pcVar5 = *(char **)(param_2 + 0x10); pcVar5 == (char *)0x0; pcVar5 = pcVar5 + 2) {\nLAB_0015f2a8:\n        FUN_0010c878();\nLAB_0015f2ad:\n      }" for ( (assignment_expression "pcVar5 = *(char **)(param_2 + 0x10)" identifier = (pointer_expression "*(char **)(param_2 + 0x10)" * (cast_expression "(char **)(param_2 + 0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) ))))) ; (binary_expression "pcVar5 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "pcVar5 = pcVar5 + 2" identifier = (binary_expression "pcVar5 + 2" identifier + number_literal)) ) (compound_statement "{\nLAB_0015f2a8:\n        FUN_0010c878();\nLAB_0015f2ad:\n      }" { (labeled_statement "LAB_0015f2a8:\n        FUN_0010c878();" statement_identifier : (expression_statement "FUN_0010c878();" (call_expression "FUN_0010c878()" identifier (argument_list "()" ( ))) ;)) (labeled_statement "LAB_0015f2ad:" statement_identifier : (expression_statement "" ;)) })) (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" identifier = number_literal) ;) }) (else_clause "else {\n      iVar6 = 0;\n    }" else (compound_statement "{\n      iVar6 = 0;\n    }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) }))) }) (else_clause "else {\n    iVar6 = 0;\n  }" else (compound_statement "{\n    iVar6 = 0;\n  }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) }))) (expression_statement "iVar1 = FUN_001a670a(pcVar5,0xc0000000,0x3fffffff);" (assignment_expression "iVar1 = FUN_001a670a(pcVar5,0xc0000000,0x3fffffff)" identifier = (call_expression "FUN_001a670a(pcVar5,0xc0000000,0x3fffffff)" identifier (argument_list "(pcVar5,0xc0000000,0x3fffffff)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "__which = PRIO_PROCESS;" (assignment_expression "__which = PRIO_PROCESS" identifier = identifier) ;) (expression_statement "local_44 = 0;" (assignment_expression "local_44 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0015f2e3:\n  unaff_R12 = unaff_R12 + 1;" statement_identifier : (expression_statement "unaff_R12 = unaff_R12 + 1;" (assignment_expression "unaff_R12 = unaff_R12 + 1" identifier = (binary_expression "unaff_R12 + 1" identifier + number_literal)) ;)) (expression_statement "pcVar5 = (char *)*unaff_R12;" (assignment_expression "pcVar5 = (char *)*unaff_R12" identifier = (cast_expression "(char *)*unaff_R12" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*unaff_R12" * identifier))) ;) (if_statement "if (pcVar5 == (char *)0x0) {\n    return local_44;\n  }" if (parenthesized_expression "(pcVar5 == (char *)0x0)" ( (binary_expression "pcVar5 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return local_44;\n  }" { (return_statement "return local_44;" return identifier ;) })) (if_statement "if (((*pcVar5 == '-') && (pcVar5[1] != 0)) &&\n     (pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0)) goto code_r0x0015f336;" if (parenthesized_expression "(((*pcVar5 == '-') && (pcVar5[1] != 0)) &&\n     (pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0))" ( (binary_expression "((*pcVar5 == '-') && (pcVar5[1] != 0)) &&\n     (pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0)" (parenthesized_expression "((*pcVar5 == '-') && (pcVar5[1] != 0))" ( (binary_expression "(*pcVar5 == '-') && (pcVar5[1] != 0)" (parenthesized_expression "(*pcVar5 == '-')" ( (binary_expression "*pcVar5 == '-'" (pointer_expression "*pcVar5" * identifier) == (char_literal "'-'" ' character ')) )) && (parenthesized_expression "(pcVar5[1] != 0)" ( (binary_expression "pcVar5[1] != 0" (subscript_expression "pcVar5[1]" identifier [ number_literal ]) != number_literal) ))) )) && (parenthesized_expression "(pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0)" ( (comma_expression "pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0" (assignment_expression "pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1])" identifier = (call_expression "strchr("pgu",(uint)(byte)pcVar5[1])" identifier (argument_list "("pgu",(uint)(byte)pcVar5[1])" ( (string_literal ""pgu"" " string_content ") , (cast_expression "(uint)(byte)pcVar5[1]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)pcVar5[1]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pcVar5[1]" identifier [ number_literal ]))) )))) , (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (goto_statement "goto code_r0x0015f336;" goto statement_identifier ;)) (goto_statement "goto LAB_0015f344;" goto statement_identifier ;) (labeled_statement "code_r0x0015f336:\n  __which = (__priority_which_t)(byte)pcVar3[4];" statement_identifier : (expression_statement "__which = (__priority_which_t)(byte)pcVar3[4];" (assignment_expression "__which = (__priority_which_t)(byte)pcVar3[4]" identifier = (cast_expression "(__priority_which_t)(byte)pcVar3[4]" ( (type_descriptor "__priority_which_t" type_identifier) ) (cast_expression "(byte)pcVar3[4]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pcVar3[4]" identifier [ number_literal ])))) ;)) (if_statement "if (pcVar5[2] != '\0') {\n    pcVar5 = pcVar5 + 2;\nLAB_0015f344:\n    if (__which == PRIO_USER) {\n      ppVar4 = getpwnam(pcVar5);\n      if (ppVar4 == (passwd *)0x0) {\n        FUN_0010dcf3("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n      __who = ppVar4->pw_uid;\n    }\n    else {\n      __who = FUN_001101c1(pcVar5,0,10);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }\n    iVar2 = iVar1;\n    if (iVar6 != 0) {\n      *DAT_001c65c0 = 0;\n      iVar2 = getpriority(__which,__who);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010d7b5("%cetpriority",0x67);\n        local_44 = iVar6;\n        goto LAB_0015f2e3;\n      }\n      iVar2 = iVar1 + iVar2;\n    }\n    iVar2 = setpriority(__which,__who,iVar2);\n    if (iVar2 != 0) {\n      FUN_0010d7b5("%cetpriority",0x73);\n      local_44 = 1;\n    }\n  }" if (parenthesized_expression "(pcVar5[2] != '\0')" ( (binary_expression "pcVar5[2] != '\0'" (subscript_expression "pcVar5[2]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar5 = pcVar5 + 2;\nLAB_0015f344:\n    if (__which == PRIO_USER) {\n      ppVar4 = getpwnam(pcVar5);\n      if (ppVar4 == (passwd *)0x0) {\n        FUN_0010dcf3("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n      __who = ppVar4->pw_uid;\n    }\n    else {\n      __who = FUN_001101c1(pcVar5,0,10);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }\n    iVar2 = iVar1;\n    if (iVar6 != 0) {\n      *DAT_001c65c0 = 0;\n      iVar2 = getpriority(__which,__who);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010d7b5("%cetpriority",0x67);\n        local_44 = iVar6;\n        goto LAB_0015f2e3;\n      }\n      iVar2 = iVar1 + iVar2;\n    }\n    iVar2 = setpriority(__which,__who,iVar2);\n    if (iVar2 != 0) {\n      FUN_0010d7b5("%cetpriority",0x73);\n      local_44 = 1;\n    }\n  }" { (expression_statement "pcVar5 = pcVar5 + 2;" (assignment_expression "pcVar5 = pcVar5 + 2" identifier = (binary_expression "pcVar5 + 2" identifier + number_literal)) ;) (labeled_statement "LAB_0015f344:\n    if (__which == PRIO_USER) {\n      ppVar4 = getpwnam(pcVar5);\n      if (ppVar4 == (passwd *)0x0) {\n        FUN_0010dcf3("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n      __who = ppVar4->pw_uid;\n    }\n    else {\n      __who = FUN_001101c1(pcVar5,0,10);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }" statement_identifier : (if_statement "if (__which == PRIO_USER) {\n      ppVar4 = getpwnam(pcVar5);\n      if (ppVar4 == (passwd *)0x0) {\n        FUN_0010dcf3("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n      __who = ppVar4->pw_uid;\n    }\n    else {\n      __who = FUN_001101c1(pcVar5,0,10);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }" if (parenthesized_expression "(__which == PRIO_USER)" ( (binary_expression "__which == PRIO_USER" identifier == identifier) )) (compound_statement "{\n      ppVar4 = getpwnam(pcVar5);\n      if (ppVar4 == (passwd *)0x0) {\n        FUN_0010dcf3("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n      __who = ppVar4->pw_uid;\n    }" { (expression_statement "ppVar4 = getpwnam(pcVar5);" (assignment_expression "ppVar4 = getpwnam(pcVar5)" identifier = (call_expression "getpwnam(pcVar5)" identifier (argument_list "(pcVar5)" ( identifier )))) ;) (if_statement "if (ppVar4 == (passwd *)0x0) {\n        FUN_0010dcf3("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }" if (parenthesized_expression "(ppVar4 == (passwd *)0x0)" ( (binary_expression "ppVar4 == (passwd *)0x0" identifier == (cast_expression "(passwd *)0x0" ( (type_descriptor "passwd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        FUN_0010dcf3("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }" { (expression_statement "FUN_0010dcf3("unknown user %s",pcVar5);" (call_expression "FUN_0010dcf3("unknown user %s",pcVar5)" identifier (argument_list "("unknown user %s",pcVar5)" ( (string_literal ""unknown user %s"" " string_content ") , identifier ))) ;) (expression_statement "local_44 = 1;" (assignment_expression "local_44 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_0015f2e3;" goto statement_identifier ;) })) (expression_statement "__who = ppVar4->pw_uid;" (assignment_expression "__who = ppVar4->pw_uid" identifier = (field_expression "ppVar4->pw_uid" identifier -> field_identifier)) ;) }) (else_clause "else {\n      __who = FUN_001101c1(pcVar5,0,10);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }" else (compound_statement "{\n      __who = FUN_001101c1(pcVar5,0,10);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }" { (expression_statement "__who = FUN_001101c1(pcVar5,0,10);" (assignment_expression "__who = FUN_001101c1(pcVar5,0,10)" identifier = (call_expression "FUN_001101c1(pcVar5,0,10)" identifier (argument_list "(pcVar5,0,10)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (*DAT_001c65c0 != 0) {\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }" if (parenthesized_expression "(*DAT_001c65c0 != 0)" ( (binary_expression "*DAT_001c65c0 != 0" (pointer_expression "*DAT_001c65c0" * identifier) != number_literal) )) (compound_statement "{\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }" { (expression_statement "FUN_0010dcf3("invalid number \'%s\'",pcVar5);" (call_expression "FUN_0010dcf3("invalid number \'%s\'",pcVar5)" identifier (argument_list "("invalid number \'%s\'",pcVar5)" ( (string_literal ""invalid number \'%s\'"" " string_content escape_sequence string_content escape_sequence ") , identifier ))) ;) (expression_statement "local_44 = 1;" (assignment_expression "local_44 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_0015f2e3;" goto statement_identifier ;) })) })))) (expression_statement "iVar2 = iVar1;" (assignment_expression "iVar2 = iVar1" identifier = identifier) ;) (if_statement "if (iVar6 != 0) {\n      *DAT_001c65c0 = 0;\n      iVar2 = getpriority(__which,__who);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010d7b5("%cetpriority",0x67);\n        local_44 = iVar6;\n        goto LAB_0015f2e3;\n      }\n      iVar2 = iVar1 + iVar2;\n    }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n      *DAT_001c65c0 = 0;\n      iVar2 = getpriority(__which,__who);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010d7b5("%cetpriority",0x67);\n        local_44 = iVar6;\n        goto LAB_0015f2e3;\n      }\n      iVar2 = iVar1 + iVar2;\n    }" { (expression_statement "*DAT_001c65c0 = 0;" (assignment_expression "*DAT_001c65c0 = 0" (pointer_expression "*DAT_001c65c0" * identifier) = number_literal) ;) (expression_statement "iVar2 = getpriority(__which,__who);" (assignment_expression "iVar2 = getpriority(__which,__who)" identifier = (call_expression "getpriority(__which,__who)" identifier (argument_list "(__which,__who)" ( identifier , identifier )))) ;) (if_statement "if (*DAT_001c65c0 != 0) {\n        FUN_0010d7b5("%cetpriority",0x67);\n        local_44 = iVar6;\n        goto LAB_0015f2e3;\n      }" if (parenthesized_expression "(*DAT_001c65c0 != 0)" ( (binary_expression "*DAT_001c65c0 != 0" (pointer_expression "*DAT_001c65c0" * identifier) != number_literal) )) (compound_statement "{\n        FUN_0010d7b5("%cetpriority",0x67);\n        local_44 = iVar6;\n        goto LAB_0015f2e3;\n      }" { (expression_statement "FUN_0010d7b5("%cetpriority",0x67);" (call_expression "FUN_0010d7b5("%cetpriority",0x67)" identifier (argument_list "("%cetpriority",0x67)" ( (string_literal ""%cetpriority"" " string_content ") , number_literal ))) ;) (expression_statement "local_44 = iVar6;" (assignment_expression "local_44 = iVar6" identifier = identifier) ;) (goto_statement "goto LAB_0015f2e3;" goto statement_identifier ;) })) (expression_statement "iVar2 = iVar1 + iVar2;" (assignment_expression "iVar2 = iVar1 + iVar2" identifier = (binary_expression "iVar1 + iVar2" identifier + identifier)) ;) })) (expression_statement "iVar2 = setpriority(__which,__who,iVar2);" (assignment_expression "iVar2 = setpriority(__which,__who,iVar2)" identifier = (call_expression "setpriority(__which,__who,iVar2)" identifier (argument_list "(__which,__who,iVar2)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar2 != 0) {\n      FUN_0010d7b5("%cetpriority",0x73);\n      local_44 = 1;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_0010d7b5("%cetpriority",0x73);\n      local_44 = 1;\n    }" { (expression_statement "FUN_0010d7b5("%cetpriority",0x73);" (call_expression "FUN_0010d7b5("%cetpriority",0x73)" identifier (argument_list "("%cetpriority",0x73)" ( (string_literal ""%cetpriority"" " string_content ") , number_literal ))) ;) (expression_statement "local_44 = 1;" (assignment_expression "local_44 = 1" identifier = number_literal) ;) })) })) (goto_statement "goto LAB_0015f2e3;" goto statement_identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' character ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (for_statement for ( (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ; (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( ))) ;)) (labeled_statement statement_identifier : (expression_statement ;)) })) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])))) ;)) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (field_expression IDENT -> field_identifier)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence string_content escape_sequence ") , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) })))) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) })) (goto_statement goto statement_identifier ;) })))
(function_definition "int FUN_0015f26f(undefined8 param_1,long param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  __uid_t __who;\n  char *pcVar3;\n  passwd *ppVar4;\n  __priority_which_t __which;\n  char *pcVar5;\n  undefined8 *unaff_R12;\n  int iVar6;\n  int local_44;\n  \n  pcVar5 = *(char **)(param_2 + 8);\n  if (pcVar5 == (char *)0x0) goto LAB_0015f2a8;\n  unaff_R12 = (undefined8 *)(param_2 + 8);\n  if (*pcVar5 == '-') {\n    if (pcVar5[1] == 'n') {\n      if (pcVar5[2] != '\0') goto LAB_0015f2ad;\n      unaff_R12 = (undefined8 *)(param_2 + 0x10);\n      for (pcVar5 = *(char **)(param_2 + 0x10); pcVar5 == (char *)0x0; pcVar5 = pcVar5 + 2) {\nLAB_0015f2a8:\n        FUN_0010c878();\nLAB_0015f2ad:\n      }\n      iVar6 = 1;\n    }\n    else {\n      iVar6 = 0;\n    }\n  }\n  else {\n    iVar6 = 0;\n  }\n  iVar1 = FUN_001a670a(pcVar5,0xc0000000,0x3fffffff);\n  __which = PRIO_PROCESS;\n  local_44 = 0;\nLAB_0015f2e3:\n  unaff_R12 = unaff_R12 + 1;\n  pcVar5 = (char *)*unaff_R12;\n  if (pcVar5 == (char *)0x0) {\n    return local_44;\n  }\n  if (((*pcVar5 == '-') && (pcVar5[1] != 0)) &&\n     (pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0)) goto code_r0x0015f336;\n  goto LAB_0015f344;\ncode_r0x0015f336:\n  __which = (__priority_which_t)(byte)pcVar3[4];\n  if (pcVar5[2] != '\0') {\n    pcVar5 = pcVar5 + 2;\nLAB_0015f344:\n    if (__which == PRIO_USER) {\n      ppVar4 = getpwnam(pcVar5);\n      if (ppVar4 == (passwd *)0x0) {\n        FUN_0010dcf3("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n      __who = ppVar4->pw_uid;\n    }\n    else {\n      __who = FUN_001101c1(pcVar5,0,10);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }\n    iVar2 = iVar1;\n    if (iVar6 != 0) {\n      *DAT_001c65c0 = 0;\n      iVar2 = getpriority(__which,__who);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010d7b5("%cetpriority",0x67);\n        local_44 = iVar6;\n        goto LAB_0015f2e3;\n      }\n      iVar2 = iVar1 + iVar2;\n    }\n    iVar2 = setpriority(__which,__who,iVar2);\n    if (iVar2 != 0) {\n      FUN_0010d7b5("%cetpriority",0x73);\n      local_44 = 1;\n    }\n  }\n  goto LAB_0015f2e3;\n}" (primitive_type "int") (function_declarator "FUN_0015f26f(undefined8 param_1,long param_2)" (identifier "FUN_0015f26f") (parameter_list "(undefined8 param_1,long param_2)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  __uid_t __who;\n  char *pcVar3;\n  passwd *ppVar4;\n  __priority_which_t __which;\n  char *pcVar5;\n  undefined8 *unaff_R12;\n  int iVar6;\n  int local_44;\n  \n  pcVar5 = *(char **)(param_2 + 8);\n  if (pcVar5 == (char *)0x0) goto LAB_0015f2a8;\n  unaff_R12 = (undefined8 *)(param_2 + 8);\n  if (*pcVar5 == '-') {\n    if (pcVar5[1] == 'n') {\n      if (pcVar5[2] != '\0') goto LAB_0015f2ad;\n      unaff_R12 = (undefined8 *)(param_2 + 0x10);\n      for (pcVar5 = *(char **)(param_2 + 0x10); pcVar5 == (char *)0x0; pcVar5 = pcVar5 + 2) {\nLAB_0015f2a8:\n        FUN_0010c878();\nLAB_0015f2ad:\n      }\n      iVar6 = 1;\n    }\n    else {\n      iVar6 = 0;\n    }\n  }\n  else {\n    iVar6 = 0;\n  }\n  iVar1 = FUN_001a670a(pcVar5,0xc0000000,0x3fffffff);\n  __which = PRIO_PROCESS;\n  local_44 = 0;\nLAB_0015f2e3:\n  unaff_R12 = unaff_R12 + 1;\n  pcVar5 = (char *)*unaff_R12;\n  if (pcVar5 == (char *)0x0) {\n    return local_44;\n  }\n  if (((*pcVar5 == '-') && (pcVar5[1] != 0)) &&\n     (pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0)) goto code_r0x0015f336;\n  goto LAB_0015f344;\ncode_r0x0015f336:\n  __which = (__priority_which_t)(byte)pcVar3[4];\n  if (pcVar5[2] != '\0') {\n    pcVar5 = pcVar5 + 2;\nLAB_0015f344:\n    if (__which == PRIO_USER) {\n      ppVar4 = getpwnam(pcVar5);\n      if (ppVar4 == (passwd *)0x0) {\n        FUN_0010dcf3("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n      __who = ppVar4->pw_uid;\n    }\n    else {\n      __who = FUN_001101c1(pcVar5,0,10);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }\n    iVar2 = iVar1;\n    if (iVar6 != 0) {\n      *DAT_001c65c0 = 0;\n      iVar2 = getpriority(__which,__who);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010d7b5("%cetpriority",0x67);\n        local_44 = iVar6;\n        goto LAB_0015f2e3;\n      }\n      iVar2 = iVar1 + iVar2;\n    }\n    iVar2 = setpriority(__which,__who,iVar2);\n    if (iVar2 != 0) {\n      FUN_0010d7b5("%cetpriority",0x73);\n      local_44 = 1;\n    }\n  }\n  goto LAB_0015f2e3;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "__uid_t __who;" (type_identifier "__uid_t") (identifier "__who") (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "passwd *ppVar4;" (type_identifier "passwd") (pointer_declarator "*ppVar4" (* "*") (identifier "ppVar4")) (; ";")) (declaration "__priority_which_t __which;" (type_identifier "__priority_which_t") (identifier "__which") (; ";")) (declaration "char *pcVar5;" (primitive_type "char") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (declaration "undefined8 *unaff_R12;" (type_identifier "undefined8") (pointer_declarator "*unaff_R12" (* "*") (identifier "unaff_R12")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int local_44;" (primitive_type "int") (identifier "local_44") (; ";")) (expression_statement "pcVar5 = *(char **)(param_2 + 8);" (assignment_expression "pcVar5 = *(char **)(param_2 + 8)" (identifier "pcVar5") (= "=") (pointer_expression "*(char **)(param_2 + 8)" (* "*") (cast_expression "(char **)(param_2 + 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (pcVar5 == (char *)0x0) goto LAB_0015f2a8;" (if "if") (parenthesized_expression "(pcVar5 == (char *)0x0)" (( "(") (binary_expression "pcVar5 == (char *)0x0" (identifier "pcVar5") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0015f2a8;" (goto "goto") (statement_identifier "LAB_0015f2a8") (; ";"))) (expression_statement "unaff_R12 = (undefined8 *)(param_2 + 8);" (assignment_expression "unaff_R12 = (undefined8 *)(param_2 + 8)" (identifier "unaff_R12") (= "=") (cast_expression "(undefined8 *)(param_2 + 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (; ";")) (if_statement "if (*pcVar5 == '-') {\n    if (pcVar5[1] == 'n') {\n      if (pcVar5[2] != '\0') goto LAB_0015f2ad;\n      unaff_R12 = (undefined8 *)(param_2 + 0x10);\n      for (pcVar5 = *(char **)(param_2 + 0x10); pcVar5 == (char *)0x0; pcVar5 = pcVar5 + 2) {\nLAB_0015f2a8:\n        FUN_0010c878();\nLAB_0015f2ad:\n      }\n      iVar6 = 1;\n    }\n    else {\n      iVar6 = 0;\n    }\n  }\n  else {\n    iVar6 = 0;\n  }" (if "if") (parenthesized_expression "(*pcVar5 == '-')" (( "(") (binary_expression "*pcVar5 == '-'" (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) (== "==") (char_literal "'-'" (' "'") (character "-") (' "'"))) () ")")) (compound_statement "{\n    if (pcVar5[1] == 'n') {\n      if (pcVar5[2] != '\0') goto LAB_0015f2ad;\n      unaff_R12 = (undefined8 *)(param_2 + 0x10);\n      for (pcVar5 = *(char **)(param_2 + 0x10); pcVar5 == (char *)0x0; pcVar5 = pcVar5 + 2) {\nLAB_0015f2a8:\n        FUN_0010c878();\nLAB_0015f2ad:\n      }\n      iVar6 = 1;\n    }\n    else {\n      iVar6 = 0;\n    }\n  }" ({ "{") (if_statement "if (pcVar5[1] == 'n') {\n      if (pcVar5[2] != '\0') goto LAB_0015f2ad;\n      unaff_R12 = (undefined8 *)(param_2 + 0x10);\n      for (pcVar5 = *(char **)(param_2 + 0x10); pcVar5 == (char *)0x0; pcVar5 = pcVar5 + 2) {\nLAB_0015f2a8:\n        FUN_0010c878();\nLAB_0015f2ad:\n      }\n      iVar6 = 1;\n    }\n    else {\n      iVar6 = 0;\n    }" (if "if") (parenthesized_expression "(pcVar5[1] == 'n')" (( "(") (binary_expression "pcVar5[1] == 'n'" (subscript_expression "pcVar5[1]" (identifier "pcVar5") ([ "[") (number_literal "1") (] "]")) (== "==") (char_literal "'n'" (' "'") (character "n") (' "'"))) () ")")) (compound_statement "{\n      if (pcVar5[2] != '\0') goto LAB_0015f2ad;\n      unaff_R12 = (undefined8 *)(param_2 + 0x10);\n      for (pcVar5 = *(char **)(param_2 + 0x10); pcVar5 == (char *)0x0; pcVar5 = pcVar5 + 2) {\nLAB_0015f2a8:\n        FUN_0010c878();\nLAB_0015f2ad:\n      }\n      iVar6 = 1;\n    }" ({ "{") (if_statement "if (pcVar5[2] != '\0') goto LAB_0015f2ad;" (if "if") (parenthesized_expression "(pcVar5[2] != '\0')" (( "(") (binary_expression "pcVar5[2] != '\0'" (subscript_expression "pcVar5[2]" (identifier "pcVar5") ([ "[") (number_literal "2") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_0015f2ad;" (goto "goto") (statement_identifier "LAB_0015f2ad") (; ";"))) (expression_statement "unaff_R12 = (undefined8 *)(param_2 + 0x10);" (assignment_expression "unaff_R12 = (undefined8 *)(param_2 + 0x10)" (identifier "unaff_R12") (= "=") (cast_expression "(undefined8 *)(param_2 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")")))) (; ";")) (for_statement "for (pcVar5 = *(char **)(param_2 + 0x10); pcVar5 == (char *)0x0; pcVar5 = pcVar5 + 2) {\nLAB_0015f2a8:\n        FUN_0010c878();\nLAB_0015f2ad:\n      }" (for "for") (( "(") (assignment_expression "pcVar5 = *(char **)(param_2 + 0x10)" (identifier "pcVar5") (= "=") (pointer_expression "*(char **)(param_2 + 0x10)" (* "*") (cast_expression "(char **)(param_2 + 0x10)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")"))))) (; ";") (binary_expression "pcVar5 == (char *)0x0" (identifier "pcVar5") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";") (assignment_expression "pcVar5 = pcVar5 + 2" (identifier "pcVar5") (= "=") (binary_expression "pcVar5 + 2" (identifier "pcVar5") (+ "+") (number_literal "2"))) () ")") (compound_statement "{\nLAB_0015f2a8:\n        FUN_0010c878();\nLAB_0015f2ad:\n      }" ({ "{") (labeled_statement "LAB_0015f2a8:\n        FUN_0010c878();" (statement_identifier "LAB_0015f2a8") (: ":") (expression_statement "FUN_0010c878();" (call_expression "FUN_0010c878()" (identifier "FUN_0010c878") (argument_list "()" (( "(") () ")"))) (; ";"))) (labeled_statement "LAB_0015f2ad:" (statement_identifier "LAB_0015f2ad") (: ":") (expression_statement "" (; ""))) (} "}"))) (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" (identifier "iVar6") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n      iVar6 = 0;\n    }" (else "else") (compound_statement "{\n      iVar6 = 0;\n    }" ({ "{") (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n    iVar6 = 0;\n  }" (else "else") (compound_statement "{\n    iVar6 = 0;\n  }" ({ "{") (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (} "}")))) (expression_statement "iVar1 = FUN_001a670a(pcVar5,0xc0000000,0x3fffffff);" (assignment_expression "iVar1 = FUN_001a670a(pcVar5,0xc0000000,0x3fffffff)" (identifier "iVar1") (= "=") (call_expression "FUN_001a670a(pcVar5,0xc0000000,0x3fffffff)" (identifier "FUN_001a670a") (argument_list "(pcVar5,0xc0000000,0x3fffffff)" (( "(") (identifier "pcVar5") (, ",") (number_literal "0xc0000000") (, ",") (number_literal "0x3fffffff") () ")")))) (; ";")) (expression_statement "__which = PRIO_PROCESS;" (assignment_expression "__which = PRIO_PROCESS" (identifier "__which") (= "=") (identifier "PRIO_PROCESS")) (; ";")) (expression_statement "local_44 = 0;" (assignment_expression "local_44 = 0" (identifier "local_44") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_0015f2e3:\n  unaff_R12 = unaff_R12 + 1;" (statement_identifier "LAB_0015f2e3") (: ":") (expression_statement "unaff_R12 = unaff_R12 + 1;" (assignment_expression "unaff_R12 = unaff_R12 + 1" (identifier "unaff_R12") (= "=") (binary_expression "unaff_R12 + 1" (identifier "unaff_R12") (+ "+") (number_literal "1"))) (; ";"))) (expression_statement "pcVar5 = (char *)*unaff_R12;" (assignment_expression "pcVar5 = (char *)*unaff_R12" (identifier "pcVar5") (= "=") (cast_expression "(char *)*unaff_R12" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*unaff_R12" (* "*") (identifier "unaff_R12")))) (; ";")) (if_statement "if (pcVar5 == (char *)0x0) {\n    return local_44;\n  }" (if "if") (parenthesized_expression "(pcVar5 == (char *)0x0)" (( "(") (binary_expression "pcVar5 == (char *)0x0" (identifier "pcVar5") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return local_44;\n  }" ({ "{") (return_statement "return local_44;" (return "return") (identifier "local_44") (; ";")) (} "}"))) (if_statement "if (((*pcVar5 == '-') && (pcVar5[1] != 0)) &&\n     (pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0)) goto code_r0x0015f336;" (if "if") (parenthesized_expression "(((*pcVar5 == '-') && (pcVar5[1] != 0)) &&\n     (pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0))" (( "(") (binary_expression "((*pcVar5 == '-') && (pcVar5[1] != 0)) &&\n     (pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0)" (parenthesized_expression "((*pcVar5 == '-') && (pcVar5[1] != 0))" (( "(") (binary_expression "(*pcVar5 == '-') && (pcVar5[1] != 0)" (parenthesized_expression "(*pcVar5 == '-')" (( "(") (binary_expression "*pcVar5 == '-'" (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) (== "==") (char_literal "'-'" (' "'") (character "-") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(pcVar5[1] != 0)" (( "(") (binary_expression "pcVar5[1] != 0" (subscript_expression "pcVar5[1]" (identifier "pcVar5") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0)" (( "(") (comma_expression "pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0" (assignment_expression "pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1])" (identifier "pcVar3") (= "=") (call_expression "strchr("pgu",(uint)(byte)pcVar5[1])" (identifier "strchr") (argument_list "("pgu",(uint)(byte)pcVar5[1])" (( "(") (string_literal ""pgu"" (" """) (string_content "pgu") (" """)) (, ",") (cast_expression "(uint)(byte)pcVar5[1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(byte)pcVar5[1]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "pcVar5[1]" (identifier "pcVar5") ([ "[") (number_literal "1") (] "]")))) () ")")))) (, ",") (binary_expression "pcVar3 != (char *)0x0" (identifier "pcVar3") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (goto_statement "goto code_r0x0015f336;" (goto "goto") (statement_identifier "code_r0x0015f336") (; ";"))) (goto_statement "goto LAB_0015f344;" (goto "goto") (statement_identifier "LAB_0015f344") (; ";")) (labeled_statement "code_r0x0015f336:\n  __which = (__priority_which_t)(byte)pcVar3[4];" (statement_identifier "code_r0x0015f336") (: ":") (expression_statement "__which = (__priority_which_t)(byte)pcVar3[4];" (assignment_expression "__which = (__priority_which_t)(byte)pcVar3[4]" (identifier "__which") (= "=") (cast_expression "(__priority_which_t)(byte)pcVar3[4]" (( "(") (type_descriptor "__priority_which_t" (type_identifier "__priority_which_t")) () ")") (cast_expression "(byte)pcVar3[4]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "pcVar3[4]" (identifier "pcVar3") ([ "[") (number_literal "4") (] "]"))))) (; ";"))) (if_statement "if (pcVar5[2] != '\0') {\n    pcVar5 = pcVar5 + 2;\nLAB_0015f344:\n    if (__which == PRIO_USER) {\n      ppVar4 = getpwnam(pcVar5);\n      if (ppVar4 == (passwd *)0x0) {\n        FUN_0010dcf3("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n      __who = ppVar4->pw_uid;\n    }\n    else {\n      __who = FUN_001101c1(pcVar5,0,10);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }\n    iVar2 = iVar1;\n    if (iVar6 != 0) {\n      *DAT_001c65c0 = 0;\n      iVar2 = getpriority(__which,__who);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010d7b5("%cetpriority",0x67);\n        local_44 = iVar6;\n        goto LAB_0015f2e3;\n      }\n      iVar2 = iVar1 + iVar2;\n    }\n    iVar2 = setpriority(__which,__who,iVar2);\n    if (iVar2 != 0) {\n      FUN_0010d7b5("%cetpriority",0x73);\n      local_44 = 1;\n    }\n  }" (if "if") (parenthesized_expression "(pcVar5[2] != '\0')" (( "(") (binary_expression "pcVar5[2] != '\0'" (subscript_expression "pcVar5[2]" (identifier "pcVar5") ([ "[") (number_literal "2") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    pcVar5 = pcVar5 + 2;\nLAB_0015f344:\n    if (__which == PRIO_USER) {\n      ppVar4 = getpwnam(pcVar5);\n      if (ppVar4 == (passwd *)0x0) {\n        FUN_0010dcf3("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n      __who = ppVar4->pw_uid;\n    }\n    else {\n      __who = FUN_001101c1(pcVar5,0,10);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }\n    iVar2 = iVar1;\n    if (iVar6 != 0) {\n      *DAT_001c65c0 = 0;\n      iVar2 = getpriority(__which,__who);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010d7b5("%cetpriority",0x67);\n        local_44 = iVar6;\n        goto LAB_0015f2e3;\n      }\n      iVar2 = iVar1 + iVar2;\n    }\n    iVar2 = setpriority(__which,__who,iVar2);\n    if (iVar2 != 0) {\n      FUN_0010d7b5("%cetpriority",0x73);\n      local_44 = 1;\n    }\n  }" ({ "{") (expression_statement "pcVar5 = pcVar5 + 2;" (assignment_expression "pcVar5 = pcVar5 + 2" (identifier "pcVar5") (= "=") (binary_expression "pcVar5 + 2" (identifier "pcVar5") (+ "+") (number_literal "2"))) (; ";")) (labeled_statement "LAB_0015f344:\n    if (__which == PRIO_USER) {\n      ppVar4 = getpwnam(pcVar5);\n      if (ppVar4 == (passwd *)0x0) {\n        FUN_0010dcf3("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n      __who = ppVar4->pw_uid;\n    }\n    else {\n      __who = FUN_001101c1(pcVar5,0,10);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }" (statement_identifier "LAB_0015f344") (: ":") (if_statement "if (__which == PRIO_USER) {\n      ppVar4 = getpwnam(pcVar5);\n      if (ppVar4 == (passwd *)0x0) {\n        FUN_0010dcf3("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n      __who = ppVar4->pw_uid;\n    }\n    else {\n      __who = FUN_001101c1(pcVar5,0,10);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }" (if "if") (parenthesized_expression "(__which == PRIO_USER)" (( "(") (binary_expression "__which == PRIO_USER" (identifier "__which") (== "==") (identifier "PRIO_USER")) () ")")) (compound_statement "{\n      ppVar4 = getpwnam(pcVar5);\n      if (ppVar4 == (passwd *)0x0) {\n        FUN_0010dcf3("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n      __who = ppVar4->pw_uid;\n    }" ({ "{") (expression_statement "ppVar4 = getpwnam(pcVar5);" (assignment_expression "ppVar4 = getpwnam(pcVar5)" (identifier "ppVar4") (= "=") (call_expression "getpwnam(pcVar5)" (identifier "getpwnam") (argument_list "(pcVar5)" (( "(") (identifier "pcVar5") () ")")))) (; ";")) (if_statement "if (ppVar4 == (passwd *)0x0) {\n        FUN_0010dcf3("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }" (if "if") (parenthesized_expression "(ppVar4 == (passwd *)0x0)" (( "(") (binary_expression "ppVar4 == (passwd *)0x0" (identifier "ppVar4") (== "==") (cast_expression "(passwd *)0x0" (( "(") (type_descriptor "passwd *" (type_identifier "passwd") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        FUN_0010dcf3("unknown user %s",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }" ({ "{") (expression_statement "FUN_0010dcf3("unknown user %s",pcVar5);" (call_expression "FUN_0010dcf3("unknown user %s",pcVar5)" (identifier "FUN_0010dcf3") (argument_list "("unknown user %s",pcVar5)" (( "(") (string_literal ""unknown user %s"" (" """) (string_content "unknown user %s") (" """)) (, ",") (identifier "pcVar5") () ")"))) (; ";")) (expression_statement "local_44 = 1;" (assignment_expression "local_44 = 1" (identifier "local_44") (= "=") (number_literal "1")) (; ";")) (goto_statement "goto LAB_0015f2e3;" (goto "goto") (statement_identifier "LAB_0015f2e3") (; ";")) (} "}"))) (expression_statement "__who = ppVar4->pw_uid;" (assignment_expression "__who = ppVar4->pw_uid" (identifier "__who") (= "=") (field_expression "ppVar4->pw_uid" (identifier "ppVar4") (-> "->") (field_identifier "pw_uid"))) (; ";")) (} "}")) (else_clause "else {\n      __who = FUN_001101c1(pcVar5,0,10);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }" (else "else") (compound_statement "{\n      __who = FUN_001101c1(pcVar5,0,10);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }\n    }" ({ "{") (expression_statement "__who = FUN_001101c1(pcVar5,0,10);" (assignment_expression "__who = FUN_001101c1(pcVar5,0,10)" (identifier "__who") (= "=") (call_expression "FUN_001101c1(pcVar5,0,10)" (identifier "FUN_001101c1") (argument_list "(pcVar5,0,10)" (( "(") (identifier "pcVar5") (, ",") (number_literal "0") (, ",") (number_literal "10") () ")")))) (; ";")) (if_statement "if (*DAT_001c65c0 != 0) {\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }" (if "if") (parenthesized_expression "(*DAT_001c65c0 != 0)" (( "(") (binary_expression "*DAT_001c65c0 != 0" (pointer_expression "*DAT_001c65c0" (* "*") (identifier "DAT_001c65c0")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_0010dcf3("invalid number \'%s\'",pcVar5);\n        local_44 = 1;\n        goto LAB_0015f2e3;\n      }" ({ "{") (expression_statement "FUN_0010dcf3("invalid number \'%s\'",pcVar5);" (call_expression "FUN_0010dcf3("invalid number \'%s\'",pcVar5)" (identifier "FUN_0010dcf3") (argument_list "("invalid number \'%s\'",pcVar5)" (( "(") (string_literal ""invalid number \'%s\'"" (" """) (string_content "invalid number ") (escape_sequence "\'") (string_content "%s") (escape_sequence "\'") (" """)) (, ",") (identifier "pcVar5") () ")"))) (; ";")) (expression_statement "local_44 = 1;" (assignment_expression "local_44 = 1" (identifier "local_44") (= "=") (number_literal "1")) (; ";")) (goto_statement "goto LAB_0015f2e3;" (goto "goto") (statement_identifier "LAB_0015f2e3") (; ";")) (} "}"))) (} "}"))))) (expression_statement "iVar2 = iVar1;" (assignment_expression "iVar2 = iVar1" (identifier "iVar2") (= "=") (identifier "iVar1")) (; ";")) (if_statement "if (iVar6 != 0) {\n      *DAT_001c65c0 = 0;\n      iVar2 = getpriority(__which,__who);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010d7b5("%cetpriority",0x67);\n        local_44 = iVar6;\n        goto LAB_0015f2e3;\n      }\n      iVar2 = iVar1 + iVar2;\n    }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      *DAT_001c65c0 = 0;\n      iVar2 = getpriority(__which,__who);\n      if (*DAT_001c65c0 != 0) {\n        FUN_0010d7b5("%cetpriority",0x67);\n        local_44 = iVar6;\n        goto LAB_0015f2e3;\n      }\n      iVar2 = iVar1 + iVar2;\n    }" ({ "{") (expression_statement "*DAT_001c65c0 = 0;" (assignment_expression "*DAT_001c65c0 = 0" (pointer_expression "*DAT_001c65c0" (* "*") (identifier "DAT_001c65c0")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar2 = getpriority(__which,__who);" (assignment_expression "iVar2 = getpriority(__which,__who)" (identifier "iVar2") (= "=") (call_expression "getpriority(__which,__who)" (identifier "getpriority") (argument_list "(__which,__who)" (( "(") (identifier "__which") (, ",") (identifier "__who") () ")")))) (; ";")) (if_statement "if (*DAT_001c65c0 != 0) {\n        FUN_0010d7b5("%cetpriority",0x67);\n        local_44 = iVar6;\n        goto LAB_0015f2e3;\n      }" (if "if") (parenthesized_expression "(*DAT_001c65c0 != 0)" (( "(") (binary_expression "*DAT_001c65c0 != 0" (pointer_expression "*DAT_001c65c0" (* "*") (identifier "DAT_001c65c0")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_0010d7b5("%cetpriority",0x67);\n        local_44 = iVar6;\n        goto LAB_0015f2e3;\n      }" ({ "{") (expression_statement "FUN_0010d7b5("%cetpriority",0x67);" (call_expression "FUN_0010d7b5("%cetpriority",0x67)" (identifier "FUN_0010d7b5") (argument_list "("%cetpriority",0x67)" (( "(") (string_literal ""%cetpriority"" (" """) (string_content "%cetpriority") (" """)) (, ",") (number_literal "0x67") () ")"))) (; ";")) (expression_statement "local_44 = iVar6;" (assignment_expression "local_44 = iVar6" (identifier "local_44") (= "=") (identifier "iVar6")) (; ";")) (goto_statement "goto LAB_0015f2e3;" (goto "goto") (statement_identifier "LAB_0015f2e3") (; ";")) (} "}"))) (expression_statement "iVar2 = iVar1 + iVar2;" (assignment_expression "iVar2 = iVar1 + iVar2" (identifier "iVar2") (= "=") (binary_expression "iVar1 + iVar2" (identifier "iVar1") (+ "+") (identifier "iVar2"))) (; ";")) (} "}"))) (expression_statement "iVar2 = setpriority(__which,__who,iVar2);" (assignment_expression "iVar2 = setpriority(__which,__who,iVar2)" (identifier "iVar2") (= "=") (call_expression "setpriority(__which,__who,iVar2)" (identifier "setpriority") (argument_list "(__which,__who,iVar2)" (( "(") (identifier "__which") (, ",") (identifier "__who") (, ",") (identifier "iVar2") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n      FUN_0010d7b5("%cetpriority",0x73);\n      local_44 = 1;\n    }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_0010d7b5("%cetpriority",0x73);\n      local_44 = 1;\n    }" ({ "{") (expression_statement "FUN_0010d7b5("%cetpriority",0x73);" (call_expression "FUN_0010d7b5("%cetpriority",0x73)" (identifier "FUN_0010d7b5") (argument_list "("%cetpriority",0x73)" (( "(") (string_literal ""%cetpriority"" (" """) (string_content "%cetpriority") (" """)) (, ",") (number_literal "0x73") () ")"))) (; ";")) (expression_statement "local_44 = 1;" (assignment_expression "local_44 = 1" (identifier "local_44") (= "=") (number_literal "1")) (; ";")) (} "}"))) (} "}"))) (goto_statement "goto LAB_0015f2e3;" (goto "goto") (statement_identifier "LAB_0015f2e3") (; ";")) (} "}")))

int function_1(int argc,char **var_3)

{
  int var_17;
  int var_18;
  type_1 __who;
  char *var_7;
  type_2 *var_11;
  char *var_1;
  type_3 var_8;
  char **var_5;
  int var_14;
  int local_44;
  
  var_1 = var_3[1];
  if (var_1 == (char *)0x0) {
LAB_0015f2a8:
                    /* WARNING: Subroutine does not return */
    var_2();
  }
  var_5 = var_3 + 1;
  if (*var_1 == '-') {
    if (var_1[1] == 'n') {
      if (var_1[2] == '\0') {
        var_5 = var_3 + 2;
        var_1 = var_3[2];
      }
      else {
        var_1 = var_1 + 2;
      }
      if (var_1 == (char *)0x0) goto LAB_0015f2a8;
      var_14 = 1;
    }
    else {
      var_14 = 0;
    }
  }
  else {
    var_14 = 0;
  }
  var_17 = var_4(var_1,-0x40000000,0x3fffffff);
  var_8 = PRIO_PROCESS;
  local_44 = 0;
LAB_0015f2e3:
  var_5 = var_5 + 1;
  var_1 = *var_5;
  if (var_1 == (char *)0x0) {
    return local_44;
  }
  if (((*var_1 == '-') && (var_1[1] != 0)) &&
     (var_7 = var_6("pgu",(type_4)(type_5)var_1[1]), var_7 != (char *)0x0)) goto code_r0x0015f336;
  goto LAB_0015f344;
code_r0x0015f336:
  var_8 = (type_3)(type_5)var_7[4];
  if (var_1[2] != '\0') {
    var_1 = var_1 + 2;
LAB_0015f344:
    if (var_8 == var_9) {
      var_11 = var_10(var_1);
      if (var_11 == (type_2 *)0x0) {
        var_12("unknown user %s",var_1);
        local_44 = 1;
        goto LAB_0015f2e3;
      }
      __who = var_11->pw_uid;
    }
    else {
      __who = var_13(var_1,(char **)0x0,10);
      if (*bb_errno != 0) {
        var_12("invalid number \'%s\'",var_1);
        local_44 = 1;
        goto LAB_0015f2e3;
      }
    }
    var_18 = var_17;
    if (var_14 != 0) {
      *bb_errno = 0;
      var_18 = var_15(var_8,__who);
      if (*bb_errno != 0) {
        var_16("%cetpriority",0x67);
        local_44 = var_14;
        goto LAB_0015f2e3;
      }
      var_18 = var_17 + var_18;
    }
    var_18 = var_19(var_8,__who,var_18);
    if (var_18 != 0) {
      var_16("%cetpriority",0x73);
      local_44 = 1;
    }
  }
  goto LAB_0015f2e3;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (character)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (for_statement initializer: (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) condition: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))) (labeled_statement label: (statement_identifier) (expression_statement (MISSING ";"))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (cast_expression type: (type_descriptor type: (type_identifier)) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))))))) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))))) consequence: (goto_statement label: (statement_identifier))) (goto_statement label: (statement_identifier)) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (field_expression argument: (identifier) field: (field_identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content) (escape_sequence) (string_content) (escape_sequence)) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))))) (goto_statement label: (statement_identifier)))))

int MASKED(undefined8 param_1,long param_2)

{
  int iVar1;
  int iVar2;
  __uid_t __who;
  char *pcVar3;
  passwd *ppVar4;
  __priority_which_t __which;
  char *pcVar5;
  undefined8 *unaff_R12;
  int iVar6;
  int local_44;
  
  pcVar5 = *(char **)(param_2 + 8);
  if (pcVar5 == (char *)0x0) goto LAB_0015f2a8;
  unaff_R12 = (undefined8 *)(param_2 + 8);
  if (*pcVar5 == '-') {
    if (pcVar5[1] == 'n') {
      if (pcVar5[2] != '\0') goto LAB_0015f2ad;
      unaff_R12 = (undefined8 *)(param_2 + 0x10);
      for (pcVar5 = *(char **)(param_2 + 0x10); pcVar5 == (char *)0x0; pcVar5 = pcVar5 + 2) {
LAB_0015f2a8:
        FUN_0010c878();
LAB_0015f2ad:
      }
      iVar6 = 1;
    }
    else {
      iVar6 = 0;
    }
  }
  else {
    iVar6 = 0;
  }
  iVar1 = FUN_001a670a(pcVar5,0xc0000000,0x3fffffff);
  __which = PRIO_PROCESS;
  local_44 = 0;
LAB_0015f2e3:
  unaff_R12 = unaff_R12 + 1;
  pcVar5 = (char *)*unaff_R12;
  if (pcVar5 == (char *)0x0) {
    return local_44;
  }
  if (((*pcVar5 == '-') && (pcVar5[1] != 0)) &&
     (pcVar3 = strchr("pgu",(uint)(byte)pcVar5[1]), pcVar3 != (char *)0x0)) goto code_r0x0015f336;
  goto LAB_0015f344;
code_r0x0015f336:
  __which = (__priority_which_t)(byte)pcVar3[4];
  if (pcVar5[2] != '\0') {
    pcVar5 = pcVar5 + 2;
LAB_0015f344:
    if (__which == PRIO_USER) {
      ppVar4 = getpwnam(pcVar5);
      if (ppVar4 == (passwd *)0x0) {
        FUN_0010dcf3("unknown user %s",pcVar5);
        local_44 = 1;
        goto LAB_0015f2e3;
      }
      __who = ppVar4->pw_uid;
    }
    else {
      __who = FUN_001101c1(pcVar5,0,10);
      if (*DAT_001c65c0 != 0) {
        FUN_0010dcf3("invalid number \'%s\'",pcVar5);
        local_44 = 1;
        goto LAB_0015f2e3;
      }
    }
    iVar2 = iVar1;
    if (iVar6 != 0) {
      *DAT_001c65c0 = 0;
      iVar2 = getpriority(__which,__who);
      if (*DAT_001c65c0 != 0) {
        FUN_0010d7b5("%cetpriority",0x67);
        local_44 = iVar6;
        goto LAB_0015f2e3;
      }
      iVar2 = iVar1 + iVar2;
    }
    iVar2 = setpriority(__which,__who,iVar2);
    if (iVar2 != 0) {
      FUN_0010d7b5("%cetpriority",0x73);
      local_44 = 1;
    }
  }
  goto LAB_0015f2e3;
}

