
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int main(int margc,char **margv)

{
  _Bool _Var1;
  int iVar2;
  char *pcVar3;
  char *pcVar4;
  
  set_program_name(*margv);
  setlocale(6,"");
  bindtextdomain("coreutils","/usr/share/locale");
  textdomain("coreutils");
  exit_failure = 2;
  atexit((__func *)PTR_close_stdout_0001ffc8);
  argv = margv;
  if (margc == 2) {
    pcVar3 = margv[1];
    iVar2 = strcmp(pcVar3,"--help");
    if (iVar2 == 0) {
                    /* WARNING: Subroutine does not return */
      usage(0);
    }
    iVar2 = strcmp(pcVar3,"--version");
    if (iVar2 == 0) {
      version_etc(*(FILE **)PTR_stdout_0001ffd0,"[","GNU coreutils",Version,"Kevin Braunsdorf",
                  "Matthew Bradburn",0,0);
      return 0;
    }
    iVar2 = strcmp(margv[1],"]");
    if (iVar2 == 0) {
      argc = 1;
      pos = 1;
      return 1;
    }
  }
  else if ((1 < margc) && (iVar2 = strcmp(margv[margc + -1],"]"), iVar2 == 0)) {
    pos = 1;
    argc = margc + -1;
    _Var1 = posixtest(margc + -2);
    if (pos == argc) {
      return (uint)!_Var1;
    }
    pcVar4 = quote(argv[pos]);
    pcVar3 = "extra argument %s";
    goto LAB_00011549;
  }
  pcVar4 = quote("]");
  pcVar3 = "missing %s";
LAB_00011549:
  pcVar3 = (char *)dcgettext(0,pcVar3,5);
                    /* WARNING: Subroutine does not return */
  test_syntax_error(pcVar3,pcVar4);
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

char * FUN_00011390(int param_1,undefined4 *param_2)

{
  undefined4 *puVar1;
  uint uVar2;
  int iVar3;
  int iVar4;
  char *pcVar5;
  undefined4 uVar6;
  undefined4 uVar7;
  int extraout_EDX;
  uint *puVar8;
  undefined1 *puVar9;
  uint auStack_38 [2];
  undefined1 auStack_30 [12];
  char *local_24;
  undefined4 *local_18;
  
  puVar1 = param_2;
  iVar4 = param_1;
  local_18 = &param_1;
  FUN_00013490(*param_2);
  setlocale(6,"");
  local_24 = "coreutils";
  bindtextdomain("coreutils","/usr/share/locale");
  textdomain(local_24);
  DAT_000200ec = 2;
  uVar2 = FUN_000197c0(PTR_FUN_0001ffc8);
  DAT_00020148 = puVar1;
  if (iVar4 != 2) {
    pcVar5 = "]";
    if (1 < iVar4) {
      local_24 = "]";
      auStack_38[0] = uVar2;
      auStack_38[1] = uVar2;
      iVar3 = strcmp((char *)puVar1[iVar4 + -1],"]");
      puVar9 = auStack_30;
      pcVar5 = local_24;
      if (iVar3 == 0) {
        DAT_00020150 = 1;
        DAT_0002014c = iVar4 + -1;
        auStack_38[1] = 0x11461;
        uVar2 = FUN_00012e50();
        iVar4 = DAT_00020150;
        if (DAT_00020150 != DAT_0002014c) goto LAB_0001155a;
        return (char *)((uVar2 ^ 1) & 0xff);
      }
    }
LAB_00011533:
    uVar7 = FUN_00015770(pcVar5);
    puVar8 = auStack_38;
    auStack_38[0] = 5;
    pcVar5 = "missing %s";
    do {
      *(char **)((int)puVar8 + -4) = pcVar5;
      *(undefined4 *)((int)puVar8 + -8) = 0;
      *(undefined4 *)((int)puVar8 + -0xc) = 0x11551;
      uVar6 = dcgettext();
      *(undefined4 *)((int)puVar8 + -4) = uVar7;
      puVar9 = (undefined1 *)((int)puVar8 + -8);
      *(undefined4 *)((int)puVar8 + -8) = uVar6;
      *(undefined4 *)((int)puVar8 + -0xc) = 0x1155a;
      FUN_00011890();
      iVar4 = extraout_EDX;
LAB_0001155a:
      *(undefined4 *)(puVar9 + -0x10) = DAT_00020148[iVar4];
      *(undefined4 *)(puVar9 + -0x14) = 0x1156b;
      uVar7 = FUN_00015770();
      puVar8 = (uint *)(puVar9 + -8);
      *(undefined4 *)(puVar9 + -8) = 5;
      pcVar5 = "extra argument %s";
    } while( true );
  }
  pcVar5 = (char *)puVar1[1];
  auStack_38[0] = uVar2;
  auStack_38[1] = uVar2;
  uVar2 = strcmp(pcVar5,"--help");
  if (uVar2 == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_00012fb0(0);
  }
  auStack_38[0] = uVar2;
  auStack_38[1] = uVar2;
  auStack_38[1] = strcmp(pcVar5,"--version");
  if (auStack_38[1] == 0) {
    auStack_38[0] = 0;
    local_24 = (char *)auStack_38[1];
    FUN_00016080(*(undefined4 *)PTR_stdout_0001ffd0,"[","GNU coreutils",PTR_DAT_000200e8,
                 "Kevin Braunsdorf","Matthew Bradburn");
  }
  else {
    local_24 = "]";
    auStack_38[0] = auStack_38[1];
    iVar4 = strcmp((char *)puVar1[1],"]");
    pcVar5 = local_24;
    if (iVar4 != 0) goto LAB_00011533;
    DAT_0002014c = 1;
    local_24 = (char *)0x1;
    DAT_00020150 = 1;
  }
  return local_24;
}


LEA ECX,[ESP + 0x4]
AND ESP,0xfffffff0
PUSH dword ptr [ECX + -0x4]
PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000115d0
ADD EBX,0xec5b
PUSH ECX
SUB ESP,0x24
MOV EDI,dword ptr [ECX + 0x4]
MOV ESI,dword ptr [ECX]
PUSH dword ptr [EDI]
CALL 0x00013490
POP EAX
LEA EAX,[EBX + 0xffffb9a1]
POP EDX
PUSH EAX
PUSH 0x6
CALL 0x00011270
POP ECX
LEA EDX,[EBX + 0xffffa14e]
POP EAX
LEA EAX,[EBX + 0xffffa16c]
MOV dword ptr [EBP + -0x1c],EDX
PUSH EAX
PUSH EDX
CALL 0x000112c0
MOV EDX,dword ptr [EBP + -0x1c]
MOV dword ptr [ESP],EDX
CALL 0x00011110
LEA EAX,[EBX + 0xec]
MOV dword ptr [EAX],0x2
POP EAX
PUSH dword ptr [EBX + 0xffffffc8]
CALL 0x000197c0
MOV dword ptr [EBX + 0x148],EDI
ADD ESP,0x10
CMP ESI,0x2
JZ 0x00011485
LEA EDX,[EBX + 0xffffa1b1]
CMP ESI,0x1
JLE 0x00011533
LEA EDX,[EBX + 0xffffa1b1]
PUSH EAX
PUSH EAX
PUSH EDX
PUSH dword ptr [EDI + ESI*0x4 + -0x4]
MOV dword ptr [EBP + -0x1c],EDX
CALL 0x00011050
ADD ESP,0x10
MOV EDX,dword ptr [EBP + -0x1c]
TEST EAX,EAX
JNZ 0x00011533
MOV dword ptr [EBX + 0x150],0x1
LEA EAX,[ESI + -0x1]
MOV dword ptr [EBX + 0x14c],EAX
LEA EAX,[ESI + -0x2]
CALL 0x00012e50
MOV EDX,dword ptr [EBX + 0x150]
CMP EDX,dword ptr [EBX + 0x14c]
JNZ 0x0001155a
XOR EAX,0x1
MOVZX EAX,AL
LEA ESP,[EBP + -0x10]
POP ECX
POP EBX
POP ESI
POP EDI
POP EBP
LEA ESP,[ECX + -0x4]
RET
MOV ESI,dword ptr [EDI + 0x4]
PUSH EAX
PUSH EAX
LEA EAX,[EBX + 0xffffa17e]
PUSH EAX
PUSH ESI
CALL 0x00011050
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0001157a
PUSH EAX
PUSH EAX
LEA EAX,[EBX + 0xffffa185]
PUSH EAX
PUSH ESI
CALL 0x00011050
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000114f1
LEA EDX,[EBX + 0xffffa1b1]
PUSH EAX
PUSH EAX
PUSH EDX
PUSH dword ptr [EDI + 0x4]
MOV dword ptr [EBP + -0x1c],EDX
CALL 0x00011050
ADD ESP,0x10
MOV EDX,dword ptr [EBP + -0x1c]
TEST EAX,EAX
JNZ 0x00011533
MOV dword ptr [EBX + 0x14c],0x1
MOV EAX,0x1
MOV dword ptr [EBX + 0x150],0x1
JMP 0x00011479
LEA EDX,[EBX + 0xffffa18f]
MOV dword ptr [EBP + -0x1c],EAX
PUSH EAX
PUSH 0x0
PUSH EDX
LEA EDX,[EBX + 0xffffa1a0]
PUSH EDX
LEA EDX,[EBX + 0xe8]
PUSH dword ptr [EDX]
LEA EDX,[EBX + 0xffffa14a]
PUSH EDX
LEA EDX,[EBX + 0xffffa131]
PUSH EDX
MOV EDX,dword ptr [EBX + 0xffffffd0]
PUSH dword ptr [EDX]
CALL 0x00016080
ADD ESP,0x20
MOV EAX,dword ptr [EBP + -0x1c]
JMP 0x00011479
SUB ESP,0xc
PUSH EDX
CALL 0x00015770
ADD ESP,0xc
PUSH 0x5
MOV ESI,EAX
LEA EAX,[EBX + 0xffffa1b3]
PUSH EAX
PUSH 0x0
CALL 0x000110e0
POP EDX
POP ECX
PUSH ESI
PUSH EAX
CALL 0x00011890
MOV EAX,dword ptr [EBX + 0x148]
SUB ESP,0xc
PUSH dword ptr [EAX + EDX*0x4]
CALL 0x00015770
ADD ESP,0xc
MOV ESI,EAX
PUSH 0x5
LEA EAX,[EBX + 0xffffa1be]
JMP 0x00011549
SUB ESP,0xc
PUSH 0x0
CALL 0x00012fb0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * FUN_00011390(int param_1,undefined4 *param_2)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  int extraout_EDX;\n  uint *puVar8;\n  undefined1 *puVar9;\n  uint auStack_38 [2];\n  undefined1 auStack_30 [12];\n  char *local_24;\n  undefined4 *local_18;\n  \n  puVar1 = param_2;\n  iVar4 = param_1;\n  local_18 = &param_1;\n  FUN_00013490(*param_2);\n  setlocale(6,"");\n  local_24 = "coreutils";\n  bindtextdomain("coreutils","/usr/share/locale");\n  textdomain(local_24);\n  DAT_000200ec = 2;\n  uVar2 = FUN_000197c0(PTR_FUN_0001ffc8);\n  DAT_00020148 = puVar1;\n  if (iVar4 != 2) {\n    pcVar5 = "]";\n    if (1 < iVar4) {\n      local_24 = "]";\n      auStack_38[0] = uVar2;\n      auStack_38[1] = uVar2;\n      iVar3 = strcmp((char *)puVar1[iVar4 + -1],"]");\n      puVar9 = auStack_30;\n      pcVar5 = local_24;\n      if (iVar3 == 0) {\n        DAT_00020150 = 1;\n        DAT_0002014c = iVar4 + -1;\n        auStack_38[1] = 0x11461;\n        uVar2 = FUN_00012e50();\n        iVar4 = DAT_00020150;\n        if (DAT_00020150 != DAT_0002014c) goto LAB_0001155a;\n        return (char *)((uVar2 ^ 1) & 0xff);\n      }\n    }\nLAB_00011533:\n    uVar7 = FUN_00015770(pcVar5);\n    puVar8 = auStack_38;\n    auStack_38[0] = 5;\n    pcVar5 = "missing %s";\n    do {\n      *(char **)((int)puVar8 + -4) = pcVar5;\n      *(undefined4 *)((int)puVar8 + -8) = 0;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x11551;\n      uVar6 = dcgettext();\n      *(undefined4 *)((int)puVar8 + -4) = uVar7;\n      puVar9 = (undefined1 *)((int)puVar8 + -8);\n      *(undefined4 *)((int)puVar8 + -8) = uVar6;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x1155a;\n      FUN_00011890();\n      iVar4 = extraout_EDX;\nLAB_0001155a:\n      *(undefined4 *)(puVar9 + -0x10) = DAT_00020148[iVar4];\n      *(undefined4 *)(puVar9 + -0x14) = 0x1156b;\n      uVar7 = FUN_00015770();\n      puVar8 = (uint *)(puVar9 + -8);\n      *(undefined4 *)(puVar9 + -8) = 5;\n      pcVar5 = "extra argument %s";\n    } while( true );\n  }\n  pcVar5 = (char *)puVar1[1];\n  auStack_38[0] = uVar2;\n  auStack_38[1] = uVar2;\n  uVar2 = strcmp(pcVar5,"--help");\n  if (uVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00012fb0(0);\n  }\n  auStack_38[0] = uVar2;\n  auStack_38[1] = uVar2;\n  auStack_38[1] = strcmp(pcVar5,"--version");\n  if (auStack_38[1] == 0) {\n    auStack_38[0] = 0;\n    local_24 = (char *)auStack_38[1];\n    FUN_00016080(*(undefined4 *)PTR_stdout_0001ffd0,"[","GNU coreutils",PTR_DAT_000200e8,\n                 "Kevin Braunsdorf","Matthew Bradburn");\n  }\n  else {\n    local_24 = "]";\n    auStack_38[0] = auStack_38[1];\n    iVar4 = strcmp((char *)puVar1[1],"]");\n    pcVar5 = local_24;\n    if (iVar4 != 0) goto LAB_00011533;\n    DAT_0002014c = 1;\n    local_24 = (char *)0x1;\n    DAT_00020150 = 1;\n  }\n  return local_24;\n}\n\n" comment (function_definition "char * FUN_00011390(int param_1,undefined4 *param_2)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  int extraout_EDX;\n  uint *puVar8;\n  undefined1 *puVar9;\n  uint auStack_38 [2];\n  undefined1 auStack_30 [12];\n  char *local_24;\n  undefined4 *local_18;\n  \n  puVar1 = param_2;\n  iVar4 = param_1;\n  local_18 = &param_1;\n  FUN_00013490(*param_2);\n  setlocale(6,"");\n  local_24 = "coreutils";\n  bindtextdomain("coreutils","/usr/share/locale");\n  textdomain(local_24);\n  DAT_000200ec = 2;\n  uVar2 = FUN_000197c0(PTR_FUN_0001ffc8);\n  DAT_00020148 = puVar1;\n  if (iVar4 != 2) {\n    pcVar5 = "]";\n    if (1 < iVar4) {\n      local_24 = "]";\n      auStack_38[0] = uVar2;\n      auStack_38[1] = uVar2;\n      iVar3 = strcmp((char *)puVar1[iVar4 + -1],"]");\n      puVar9 = auStack_30;\n      pcVar5 = local_24;\n      if (iVar3 == 0) {\n        DAT_00020150 = 1;\n        DAT_0002014c = iVar4 + -1;\n        auStack_38[1] = 0x11461;\n        uVar2 = FUN_00012e50();\n        iVar4 = DAT_00020150;\n        if (DAT_00020150 != DAT_0002014c) goto LAB_0001155a;\n        return (char *)((uVar2 ^ 1) & 0xff);\n      }\n    }\nLAB_00011533:\n    uVar7 = FUN_00015770(pcVar5);\n    puVar8 = auStack_38;\n    auStack_38[0] = 5;\n    pcVar5 = "missing %s";\n    do {\n      *(char **)((int)puVar8 + -4) = pcVar5;\n      *(undefined4 *)((int)puVar8 + -8) = 0;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x11551;\n      uVar6 = dcgettext();\n      *(undefined4 *)((int)puVar8 + -4) = uVar7;\n      puVar9 = (undefined1 *)((int)puVar8 + -8);\n      *(undefined4 *)((int)puVar8 + -8) = uVar6;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x1155a;\n      FUN_00011890();\n      iVar4 = extraout_EDX;\nLAB_0001155a:\n      *(undefined4 *)(puVar9 + -0x10) = DAT_00020148[iVar4];\n      *(undefined4 *)(puVar9 + -0x14) = 0x1156b;\n      uVar7 = FUN_00015770();\n      puVar8 = (uint *)(puVar9 + -8);\n      *(undefined4 *)(puVar9 + -8) = 5;\n      pcVar5 = "extra argument %s";\n    } while( true );\n  }\n  pcVar5 = (char *)puVar1[1];\n  auStack_38[0] = uVar2;\n  auStack_38[1] = uVar2;\n  uVar2 = strcmp(pcVar5,"--help");\n  if (uVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00012fb0(0);\n  }\n  auStack_38[0] = uVar2;\n  auStack_38[1] = uVar2;\n  auStack_38[1] = strcmp(pcVar5,"--version");\n  if (auStack_38[1] == 0) {\n    auStack_38[0] = 0;\n    local_24 = (char *)auStack_38[1];\n    FUN_00016080(*(undefined4 *)PTR_stdout_0001ffd0,"[","GNU coreutils",PTR_DAT_000200e8,\n                 "Kevin Braunsdorf","Matthew Bradburn");\n  }\n  else {\n    local_24 = "]";\n    auStack_38[0] = auStack_38[1];\n    iVar4 = strcmp((char *)puVar1[1],"]");\n    pcVar5 = local_24;\n    if (iVar4 != 0) goto LAB_00011533;\n    DAT_0002014c = 1;\n    local_24 = (char *)0x1;\n    DAT_00020150 = 1;\n  }\n  return local_24;\n}" primitive_type (pointer_declarator "* FUN_00011390(int param_1,undefined4 *param_2)" * (function_declarator "FUN_00011390(int param_1,undefined4 *param_2)" identifier (parameter_list "(int param_1,undefined4 *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  undefined4 *puVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  int extraout_EDX;\n  uint *puVar8;\n  undefined1 *puVar9;\n  uint auStack_38 [2];\n  undefined1 auStack_30 [12];\n  char *local_24;\n  undefined4 *local_18;\n  \n  puVar1 = param_2;\n  iVar4 = param_1;\n  local_18 = &param_1;\n  FUN_00013490(*param_2);\n  setlocale(6,"");\n  local_24 = "coreutils";\n  bindtextdomain("coreutils","/usr/share/locale");\n  textdomain(local_24);\n  DAT_000200ec = 2;\n  uVar2 = FUN_000197c0(PTR_FUN_0001ffc8);\n  DAT_00020148 = puVar1;\n  if (iVar4 != 2) {\n    pcVar5 = "]";\n    if (1 < iVar4) {\n      local_24 = "]";\n      auStack_38[0] = uVar2;\n      auStack_38[1] = uVar2;\n      iVar3 = strcmp((char *)puVar1[iVar4 + -1],"]");\n      puVar9 = auStack_30;\n      pcVar5 = local_24;\n      if (iVar3 == 0) {\n        DAT_00020150 = 1;\n        DAT_0002014c = iVar4 + -1;\n        auStack_38[1] = 0x11461;\n        uVar2 = FUN_00012e50();\n        iVar4 = DAT_00020150;\n        if (DAT_00020150 != DAT_0002014c) goto LAB_0001155a;\n        return (char *)((uVar2 ^ 1) & 0xff);\n      }\n    }\nLAB_00011533:\n    uVar7 = FUN_00015770(pcVar5);\n    puVar8 = auStack_38;\n    auStack_38[0] = 5;\n    pcVar5 = "missing %s";\n    do {\n      *(char **)((int)puVar8 + -4) = pcVar5;\n      *(undefined4 *)((int)puVar8 + -8) = 0;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x11551;\n      uVar6 = dcgettext();\n      *(undefined4 *)((int)puVar8 + -4) = uVar7;\n      puVar9 = (undefined1 *)((int)puVar8 + -8);\n      *(undefined4 *)((int)puVar8 + -8) = uVar6;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x1155a;\n      FUN_00011890();\n      iVar4 = extraout_EDX;\nLAB_0001155a:\n      *(undefined4 *)(puVar9 + -0x10) = DAT_00020148[iVar4];\n      *(undefined4 *)(puVar9 + -0x14) = 0x1156b;\n      uVar7 = FUN_00015770();\n      puVar8 = (uint *)(puVar9 + -8);\n      *(undefined4 *)(puVar9 + -8) = 5;\n      pcVar5 = "extra argument %s";\n    } while( true );\n  }\n  pcVar5 = (char *)puVar1[1];\n  auStack_38[0] = uVar2;\n  auStack_38[1] = uVar2;\n  uVar2 = strcmp(pcVar5,"--help");\n  if (uVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00012fb0(0);\n  }\n  auStack_38[0] = uVar2;\n  auStack_38[1] = uVar2;\n  auStack_38[1] = strcmp(pcVar5,"--version");\n  if (auStack_38[1] == 0) {\n    auStack_38[0] = 0;\n    local_24 = (char *)auStack_38[1];\n    FUN_00016080(*(undefined4 *)PTR_stdout_0001ffd0,"[","GNU coreutils",PTR_DAT_000200e8,\n                 "Kevin Braunsdorf","Matthew Bradburn");\n  }\n  else {\n    local_24 = "]";\n    auStack_38[0] = auStack_38[1];\n    iVar4 = strcmp((char *)puVar1[1],"]");\n    pcVar5 = local_24;\n    if (iVar4 != 0) goto LAB_00011533;\n    DAT_0002014c = 1;\n    local_24 = (char *)0x1;\n    DAT_00020150 = 1;\n  }\n  return local_24;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int extraout_EDX;" primitive_type identifier ;) (declaration "uint *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined1 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "uint auStack_38 [2];" type_identifier (array_declarator "auStack_38 [2]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_30 [12];" type_identifier (array_declarator "auStack_30 [12]" identifier [ number_literal ]) ;) (declaration "char *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (declaration "undefined4 *local_18;" type_identifier (pointer_declarator "*local_18" * identifier) ;) (expression_statement "puVar1 = param_2;" (assignment_expression "puVar1 = param_2" identifier = identifier) ;) (expression_statement "iVar4 = param_1;" (assignment_expression "iVar4 = param_1" identifier = identifier) ;) (expression_statement "local_18 = &param_1;" (assignment_expression "local_18 = &param_1" identifier = (pointer_expression "&param_1" & identifier)) ;) (expression_statement "FUN_00013490(*param_2);" (call_expression "FUN_00013490(*param_2)" identifier (argument_list "(*param_2)" ( (pointer_expression "*param_2" * identifier) ))) ;) (expression_statement "setlocale(6,"");" (call_expression "setlocale(6,"")" identifier (argument_list "(6,"")" ( number_literal , (string_literal """" " ") ))) ;) (expression_statement "local_24 = "coreutils";" (assignment_expression "local_24 = "coreutils"" identifier = (string_literal ""coreutils"" " string_content ")) ;) (expression_statement "bindtextdomain("coreutils","/usr/share/locale");" (call_expression "bindtextdomain("coreutils","/usr/share/locale")" identifier (argument_list "("coreutils","/usr/share/locale")" ( (string_literal ""coreutils"" " string_content ") , (string_literal ""/usr/share/locale"" " string_content ") ))) ;) (expression_statement "textdomain(local_24);" (call_expression "textdomain(local_24)" identifier (argument_list "(local_24)" ( identifier ))) ;) (expression_statement "DAT_000200ec = 2;" (assignment_expression "DAT_000200ec = 2" identifier = number_literal) ;) (expression_statement "uVar2 = FUN_000197c0(PTR_FUN_0001ffc8);" (assignment_expression "uVar2 = FUN_000197c0(PTR_FUN_0001ffc8)" identifier = (call_expression "FUN_000197c0(PTR_FUN_0001ffc8)" identifier (argument_list "(PTR_FUN_0001ffc8)" ( identifier )))) ;) (expression_statement "DAT_00020148 = puVar1;" (assignment_expression "DAT_00020148 = puVar1" identifier = identifier) ;) (if_statement "if (iVar4 != 2) {\n    pcVar5 = "]";\n    if (1 < iVar4) {\n      local_24 = "]";\n      auStack_38[0] = uVar2;\n      auStack_38[1] = uVar2;\n      iVar3 = strcmp((char *)puVar1[iVar4 + -1],"]");\n      puVar9 = auStack_30;\n      pcVar5 = local_24;\n      if (iVar3 == 0) {\n        DAT_00020150 = 1;\n        DAT_0002014c = iVar4 + -1;\n        auStack_38[1] = 0x11461;\n        uVar2 = FUN_00012e50();\n        iVar4 = DAT_00020150;\n        if (DAT_00020150 != DAT_0002014c) goto LAB_0001155a;\n        return (char *)((uVar2 ^ 1) & 0xff);\n      }\n    }\nLAB_00011533:\n    uVar7 = FUN_00015770(pcVar5);\n    puVar8 = auStack_38;\n    auStack_38[0] = 5;\n    pcVar5 = "missing %s";\n    do {\n      *(char **)((int)puVar8 + -4) = pcVar5;\n      *(undefined4 *)((int)puVar8 + -8) = 0;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x11551;\n      uVar6 = dcgettext();\n      *(undefined4 *)((int)puVar8 + -4) = uVar7;\n      puVar9 = (undefined1 *)((int)puVar8 + -8);\n      *(undefined4 *)((int)puVar8 + -8) = uVar6;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x1155a;\n      FUN_00011890();\n      iVar4 = extraout_EDX;\nLAB_0001155a:\n      *(undefined4 *)(puVar9 + -0x10) = DAT_00020148[iVar4];\n      *(undefined4 *)(puVar9 + -0x14) = 0x1156b;\n      uVar7 = FUN_00015770();\n      puVar8 = (uint *)(puVar9 + -8);\n      *(undefined4 *)(puVar9 + -8) = 5;\n      pcVar5 = "extra argument %s";\n    } while( true );\n  }" if (parenthesized_expression "(iVar4 != 2)" ( (binary_expression "iVar4 != 2" identifier != number_literal) )) (compound_statement "{\n    pcVar5 = "]";\n    if (1 < iVar4) {\n      local_24 = "]";\n      auStack_38[0] = uVar2;\n      auStack_38[1] = uVar2;\n      iVar3 = strcmp((char *)puVar1[iVar4 + -1],"]");\n      puVar9 = auStack_30;\n      pcVar5 = local_24;\n      if (iVar3 == 0) {\n        DAT_00020150 = 1;\n        DAT_0002014c = iVar4 + -1;\n        auStack_38[1] = 0x11461;\n        uVar2 = FUN_00012e50();\n        iVar4 = DAT_00020150;\n        if (DAT_00020150 != DAT_0002014c) goto LAB_0001155a;\n        return (char *)((uVar2 ^ 1) & 0xff);\n      }\n    }\nLAB_00011533:\n    uVar7 = FUN_00015770(pcVar5);\n    puVar8 = auStack_38;\n    auStack_38[0] = 5;\n    pcVar5 = "missing %s";\n    do {\n      *(char **)((int)puVar8 + -4) = pcVar5;\n      *(undefined4 *)((int)puVar8 + -8) = 0;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x11551;\n      uVar6 = dcgettext();\n      *(undefined4 *)((int)puVar8 + -4) = uVar7;\n      puVar9 = (undefined1 *)((int)puVar8 + -8);\n      *(undefined4 *)((int)puVar8 + -8) = uVar6;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x1155a;\n      FUN_00011890();\n      iVar4 = extraout_EDX;\nLAB_0001155a:\n      *(undefined4 *)(puVar9 + -0x10) = DAT_00020148[iVar4];\n      *(undefined4 *)(puVar9 + -0x14) = 0x1156b;\n      uVar7 = FUN_00015770();\n      puVar8 = (uint *)(puVar9 + -8);\n      *(undefined4 *)(puVar9 + -8) = 5;\n      pcVar5 = "extra argument %s";\n    } while( true );\n  }" { (expression_statement "pcVar5 = "]";" (assignment_expression "pcVar5 = "]"" identifier = (string_literal ""]"" " string_content ")) ;) (if_statement "if (1 < iVar4) {\n      local_24 = "]";\n      auStack_38[0] = uVar2;\n      auStack_38[1] = uVar2;\n      iVar3 = strcmp((char *)puVar1[iVar4 + -1],"]");\n      puVar9 = auStack_30;\n      pcVar5 = local_24;\n      if (iVar3 == 0) {\n        DAT_00020150 = 1;\n        DAT_0002014c = iVar4 + -1;\n        auStack_38[1] = 0x11461;\n        uVar2 = FUN_00012e50();\n        iVar4 = DAT_00020150;\n        if (DAT_00020150 != DAT_0002014c) goto LAB_0001155a;\n        return (char *)((uVar2 ^ 1) & 0xff);\n      }\n    }" if (parenthesized_expression "(1 < iVar4)" ( (binary_expression "1 < iVar4" number_literal < identifier) )) (compound_statement "{\n      local_24 = "]";\n      auStack_38[0] = uVar2;\n      auStack_38[1] = uVar2;\n      iVar3 = strcmp((char *)puVar1[iVar4 + -1],"]");\n      puVar9 = auStack_30;\n      pcVar5 = local_24;\n      if (iVar3 == 0) {\n        DAT_00020150 = 1;\n        DAT_0002014c = iVar4 + -1;\n        auStack_38[1] = 0x11461;\n        uVar2 = FUN_00012e50();\n        iVar4 = DAT_00020150;\n        if (DAT_00020150 != DAT_0002014c) goto LAB_0001155a;\n        return (char *)((uVar2 ^ 1) & 0xff);\n      }\n    }" { (expression_statement "local_24 = "]";" (assignment_expression "local_24 = "]"" identifier = (string_literal ""]"" " string_content ")) ;) (expression_statement "auStack_38[0] = uVar2;" (assignment_expression "auStack_38[0] = uVar2" (subscript_expression "auStack_38[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "auStack_38[1] = uVar2;" (assignment_expression "auStack_38[1] = uVar2" (subscript_expression "auStack_38[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar3 = strcmp((char *)puVar1[iVar4 + -1],"]");" (assignment_expression "iVar3 = strcmp((char *)puVar1[iVar4 + -1],"]")" identifier = (call_expression "strcmp((char *)puVar1[iVar4 + -1],"]")" identifier (argument_list "((char *)puVar1[iVar4 + -1],"]")" ( (cast_expression "(char *)puVar1[iVar4 + -1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[iVar4 + -1]" identifier [ (binary_expression "iVar4 + -1" identifier + number_literal) ])) , (string_literal ""]"" " string_content ") )))) ;) (expression_statement "puVar9 = auStack_30;" (assignment_expression "puVar9 = auStack_30" identifier = identifier) ;) (expression_statement "pcVar5 = local_24;" (assignment_expression "pcVar5 = local_24" identifier = identifier) ;) (if_statement "if (iVar3 == 0) {\n        DAT_00020150 = 1;\n        DAT_0002014c = iVar4 + -1;\n        auStack_38[1] = 0x11461;\n        uVar2 = FUN_00012e50();\n        iVar4 = DAT_00020150;\n        if (DAT_00020150 != DAT_0002014c) goto LAB_0001155a;\n        return (char *)((uVar2 ^ 1) & 0xff);\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        DAT_00020150 = 1;\n        DAT_0002014c = iVar4 + -1;\n        auStack_38[1] = 0x11461;\n        uVar2 = FUN_00012e50();\n        iVar4 = DAT_00020150;\n        if (DAT_00020150 != DAT_0002014c) goto LAB_0001155a;\n        return (char *)((uVar2 ^ 1) & 0xff);\n      }" { (expression_statement "DAT_00020150 = 1;" (assignment_expression "DAT_00020150 = 1" identifier = number_literal) ;) (expression_statement "DAT_0002014c = iVar4 + -1;" (assignment_expression "DAT_0002014c = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "auStack_38[1] = 0x11461;" (assignment_expression "auStack_38[1] = 0x11461" (subscript_expression "auStack_38[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar2 = FUN_00012e50();" (assignment_expression "uVar2 = FUN_00012e50()" identifier = (call_expression "FUN_00012e50()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar4 = DAT_00020150;" (assignment_expression "iVar4 = DAT_00020150" identifier = identifier) ;) (if_statement "if (DAT_00020150 != DAT_0002014c) goto LAB_0001155a;" if (parenthesized_expression "(DAT_00020150 != DAT_0002014c)" ( (binary_expression "DAT_00020150 != DAT_0002014c" identifier != identifier) )) (goto_statement "goto LAB_0001155a;" goto statement_identifier ;)) (return_statement "return (char *)((uVar2 ^ 1) & 0xff);" return (cast_expression "(char *)((uVar2 ^ 1) & 0xff)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uVar2 ^ 1) & 0xff)" ( (binary_expression "(uVar2 ^ 1) & 0xff" (parenthesized_expression "(uVar2 ^ 1)" ( (binary_expression "uVar2 ^ 1" identifier ^ number_literal) )) & number_literal) ))) ;) })) })) (labeled_statement "LAB_00011533:\n    uVar7 = FUN_00015770(pcVar5);" statement_identifier : (expression_statement "uVar7 = FUN_00015770(pcVar5);" (assignment_expression "uVar7 = FUN_00015770(pcVar5)" identifier = (call_expression "FUN_00015770(pcVar5)" identifier (argument_list "(pcVar5)" ( identifier )))) ;)) (expression_statement "puVar8 = auStack_38;" (assignment_expression "puVar8 = auStack_38" identifier = identifier) ;) (expression_statement "auStack_38[0] = 5;" (assignment_expression "auStack_38[0] = 5" (subscript_expression "auStack_38[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pcVar5 = "missing %s";" (assignment_expression "pcVar5 = "missing %s"" identifier = (string_literal ""missing %s"" " string_content ")) ;) (do_statement "do {\n      *(char **)((int)puVar8 + -4) = pcVar5;\n      *(undefined4 *)((int)puVar8 + -8) = 0;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x11551;\n      uVar6 = dcgettext();\n      *(undefined4 *)((int)puVar8 + -4) = uVar7;\n      puVar9 = (undefined1 *)((int)puVar8 + -8);\n      *(undefined4 *)((int)puVar8 + -8) = uVar6;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x1155a;\n      FUN_00011890();\n      iVar4 = extraout_EDX;\nLAB_0001155a:\n      *(undefined4 *)(puVar9 + -0x10) = DAT_00020148[iVar4];\n      *(undefined4 *)(puVar9 + -0x14) = 0x1156b;\n      uVar7 = FUN_00015770();\n      puVar8 = (uint *)(puVar9 + -8);\n      *(undefined4 *)(puVar9 + -8) = 5;\n      pcVar5 = "extra argument %s";\n    } while( true );" do (compound_statement "{\n      *(char **)((int)puVar8 + -4) = pcVar5;\n      *(undefined4 *)((int)puVar8 + -8) = 0;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x11551;\n      uVar6 = dcgettext();\n      *(undefined4 *)((int)puVar8 + -4) = uVar7;\n      puVar9 = (undefined1 *)((int)puVar8 + -8);\n      *(undefined4 *)((int)puVar8 + -8) = uVar6;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x1155a;\n      FUN_00011890();\n      iVar4 = extraout_EDX;\nLAB_0001155a:\n      *(undefined4 *)(puVar9 + -0x10) = DAT_00020148[iVar4];\n      *(undefined4 *)(puVar9 + -0x14) = 0x1156b;\n      uVar7 = FUN_00015770();\n      puVar8 = (uint *)(puVar9 + -8);\n      *(undefined4 *)(puVar9 + -8) = 5;\n      pcVar5 = "extra argument %s";\n    }" { (expression_statement "*(char **)((int)puVar8 + -4) = pcVar5;" (assignment_expression "*(char **)((int)puVar8 + -4) = pcVar5" (pointer_expression "*(char **)((int)puVar8 + -4)" * (cast_expression "(char **)((int)puVar8 + -4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar8 + -4)" ( (binary_expression "(int)puVar8 + -4" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)puVar8 + -8) = 0;" (assignment_expression "*(undefined4 *)((int)puVar8 + -8) = 0" (pointer_expression "*(undefined4 *)((int)puVar8 + -8)" * (cast_expression "(undefined4 *)((int)puVar8 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -8)" ( (binary_expression "(int)puVar8 + -8" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)puVar8 + -0xc) = 0x11551;" (assignment_expression "*(undefined4 *)((int)puVar8 + -0xc) = 0x11551" (pointer_expression "*(undefined4 *)((int)puVar8 + -0xc)" * (cast_expression "(undefined4 *)((int)puVar8 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -0xc)" ( (binary_expression "(int)puVar8 + -0xc" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "uVar6 = dcgettext();" (assignment_expression "uVar6 = dcgettext()" identifier = (call_expression "dcgettext()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)((int)puVar8 + -4) = uVar7;" (assignment_expression "*(undefined4 *)((int)puVar8 + -4) = uVar7" (pointer_expression "*(undefined4 *)((int)puVar8 + -4)" * (cast_expression "(undefined4 *)((int)puVar8 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -4)" ( (binary_expression "(int)puVar8 + -4" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "puVar9 = (undefined1 *)((int)puVar8 + -8);" (assignment_expression "puVar9 = (undefined1 *)((int)puVar8 + -8)" identifier = (cast_expression "(undefined1 *)((int)puVar8 + -8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -8)" ( (binary_expression "(int)puVar8 + -8" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "*(undefined4 *)((int)puVar8 + -8) = uVar6;" (assignment_expression "*(undefined4 *)((int)puVar8 + -8) = uVar6" (pointer_expression "*(undefined4 *)((int)puVar8 + -8)" * (cast_expression "(undefined4 *)((int)puVar8 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -8)" ( (binary_expression "(int)puVar8 + -8" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)puVar8 + -0xc) = 0x1155a;" (assignment_expression "*(undefined4 *)((int)puVar8 + -0xc) = 0x1155a" (pointer_expression "*(undefined4 *)((int)puVar8 + -0xc)" * (cast_expression "(undefined4 *)((int)puVar8 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -0xc)" ( (binary_expression "(int)puVar8 + -0xc" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00011890();" (call_expression "FUN_00011890()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar4 = extraout_EDX;" (assignment_expression "iVar4 = extraout_EDX" identifier = identifier) ;) (labeled_statement "LAB_0001155a:\n      *(undefined4 *)(puVar9 + -0x10) = DAT_00020148[iVar4];" statement_identifier : (expression_statement "*(undefined4 *)(puVar9 + -0x10) = DAT_00020148[iVar4];" (assignment_expression "*(undefined4 *)(puVar9 + -0x10) = DAT_00020148[iVar4]" (pointer_expression "*(undefined4 *)(puVar9 + -0x10)" * (cast_expression "(undefined4 *)(puVar9 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x10)" ( (binary_expression "puVar9 + -0x10" identifier + number_literal) )))) = (subscript_expression "DAT_00020148[iVar4]" identifier [ identifier ])) ;)) (expression_statement "*(undefined4 *)(puVar9 + -0x14) = 0x1156b;" (assignment_expression "*(undefined4 *)(puVar9 + -0x14) = 0x1156b" (pointer_expression "*(undefined4 *)(puVar9 + -0x14)" * (cast_expression "(undefined4 *)(puVar9 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x14)" ( (binary_expression "puVar9 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar7 = FUN_00015770();" (assignment_expression "uVar7 = FUN_00015770()" identifier = (call_expression "FUN_00015770()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar8 = (uint *)(puVar9 + -8);" (assignment_expression "puVar8 = (uint *)(puVar9 + -8)" identifier = (cast_expression "(uint *)(puVar9 + -8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -8)" ( (binary_expression "puVar9 + -8" identifier + number_literal) )))) ;) (expression_statement "*(undefined4 *)(puVar9 + -8) = 5;" (assignment_expression "*(undefined4 *)(puVar9 + -8) = 5" (pointer_expression "*(undefined4 *)(puVar9 + -8)" * (cast_expression "(undefined4 *)(puVar9 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -8)" ( (binary_expression "puVar9 + -8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "pcVar5 = "extra argument %s";" (assignment_expression "pcVar5 = "extra argument %s"" identifier = (string_literal ""extra argument %s"" " string_content ")) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "pcVar5 = (char *)puVar1[1];" (assignment_expression "pcVar5 = (char *)puVar1[1]" identifier = (cast_expression "(char *)puVar1[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[1]" identifier [ number_literal ]))) ;) (expression_statement "auStack_38[0] = uVar2;" (assignment_expression "auStack_38[0] = uVar2" (subscript_expression "auStack_38[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "auStack_38[1] = uVar2;" (assignment_expression "auStack_38[1] = uVar2" (subscript_expression "auStack_38[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar2 = strcmp(pcVar5,"--help");" (assignment_expression "uVar2 = strcmp(pcVar5,"--help")" identifier = (call_expression "strcmp(pcVar5,"--help")" identifier (argument_list "(pcVar5,"--help")" ( identifier , (string_literal ""--help"" " string_content ") )))) ;) (if_statement "if (uVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00012fb0(0);\n  }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00012fb0(0);\n  }" { comment (expression_statement "FUN_00012fb0(0);" (call_expression "FUN_00012fb0(0)" identifier (argument_list "(0)" ( number_literal ))) ;) })) (expression_statement "auStack_38[0] = uVar2;" (assignment_expression "auStack_38[0] = uVar2" (subscript_expression "auStack_38[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "auStack_38[1] = uVar2;" (assignment_expression "auStack_38[1] = uVar2" (subscript_expression "auStack_38[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "auStack_38[1] = strcmp(pcVar5,"--version");" (assignment_expression "auStack_38[1] = strcmp(pcVar5,"--version")" (subscript_expression "auStack_38[1]" identifier [ number_literal ]) = (call_expression "strcmp(pcVar5,"--version")" identifier (argument_list "(pcVar5,"--version")" ( identifier , (string_literal ""--version"" " string_content ") )))) ;) (if_statement "if (auStack_38[1] == 0) {\n    auStack_38[0] = 0;\n    local_24 = (char *)auStack_38[1];\n    FUN_00016080(*(undefined4 *)PTR_stdout_0001ffd0,"[","GNU coreutils",PTR_DAT_000200e8,\n                 "Kevin Braunsdorf","Matthew Bradburn");\n  }\n  else {\n    local_24 = "]";\n    auStack_38[0] = auStack_38[1];\n    iVar4 = strcmp((char *)puVar1[1],"]");\n    pcVar5 = local_24;\n    if (iVar4 != 0) goto LAB_00011533;\n    DAT_0002014c = 1;\n    local_24 = (char *)0x1;\n    DAT_00020150 = 1;\n  }" if (parenthesized_expression "(auStack_38[1] == 0)" ( (binary_expression "auStack_38[1] == 0" (subscript_expression "auStack_38[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    auStack_38[0] = 0;\n    local_24 = (char *)auStack_38[1];\n    FUN_00016080(*(undefined4 *)PTR_stdout_0001ffd0,"[","GNU coreutils",PTR_DAT_000200e8,\n                 "Kevin Braunsdorf","Matthew Bradburn");\n  }" { (expression_statement "auStack_38[0] = 0;" (assignment_expression "auStack_38[0] = 0" (subscript_expression "auStack_38[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_24 = (char *)auStack_38[1];" (assignment_expression "local_24 = (char *)auStack_38[1]" identifier = (cast_expression "(char *)auStack_38[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "auStack_38[1]" identifier [ number_literal ]))) ;) (expression_statement "FUN_00016080(*(undefined4 *)PTR_stdout_0001ffd0,"[","GNU coreutils",PTR_DAT_000200e8,\n                 "Kevin Braunsdorf","Matthew Bradburn");" (call_expression "FUN_00016080(*(undefined4 *)PTR_stdout_0001ffd0,"[","GNU coreutils",PTR_DAT_000200e8,\n                 "Kevin Braunsdorf","Matthew Bradburn")" identifier (argument_list "(*(undefined4 *)PTR_stdout_0001ffd0,"[","GNU coreutils",PTR_DAT_000200e8,\n                 "Kevin Braunsdorf","Matthew Bradburn")" ( (pointer_expression "*(undefined4 *)PTR_stdout_0001ffd0" * (cast_expression "(undefined4 *)PTR_stdout_0001ffd0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (string_literal ""["" " string_content ") , (string_literal ""GNU coreutils"" " string_content ") , identifier , (string_literal ""Kevin Braunsdorf"" " string_content ") , (string_literal ""Matthew Bradburn"" " string_content ") ))) ;) }) (else_clause "else {\n    local_24 = "]";\n    auStack_38[0] = auStack_38[1];\n    iVar4 = strcmp((char *)puVar1[1],"]");\n    pcVar5 = local_24;\n    if (iVar4 != 0) goto LAB_00011533;\n    DAT_0002014c = 1;\n    local_24 = (char *)0x1;\n    DAT_00020150 = 1;\n  }" else (compound_statement "{\n    local_24 = "]";\n    auStack_38[0] = auStack_38[1];\n    iVar4 = strcmp((char *)puVar1[1],"]");\n    pcVar5 = local_24;\n    if (iVar4 != 0) goto LAB_00011533;\n    DAT_0002014c = 1;\n    local_24 = (char *)0x1;\n    DAT_00020150 = 1;\n  }" { (expression_statement "local_24 = "]";" (assignment_expression "local_24 = "]"" identifier = (string_literal ""]"" " string_content ")) ;) (expression_statement "auStack_38[0] = auStack_38[1];" (assignment_expression "auStack_38[0] = auStack_38[1]" (subscript_expression "auStack_38[0]" identifier [ number_literal ]) = (subscript_expression "auStack_38[1]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = strcmp((char *)puVar1[1],"]");" (assignment_expression "iVar4 = strcmp((char *)puVar1[1],"]")" identifier = (call_expression "strcmp((char *)puVar1[1],"]")" identifier (argument_list "((char *)puVar1[1],"]")" ( (cast_expression "(char *)puVar1[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[1]" identifier [ number_literal ])) , (string_literal ""]"" " string_content ") )))) ;) (expression_statement "pcVar5 = local_24;" (assignment_expression "pcVar5 = local_24" identifier = identifier) ;) (if_statement "if (iVar4 != 0) goto LAB_00011533;" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00011533;" goto statement_identifier ;)) (expression_statement "DAT_0002014c = 1;" (assignment_expression "DAT_0002014c = 1" identifier = number_literal) ;) (expression_statement "local_24 = (char *)0x1;" (assignment_expression "local_24 = (char *)0x1" identifier = (cast_expression "(char *)0x1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "DAT_00020150 = 1;" (assignment_expression "DAT_00020150 = 1" identifier = number_literal) ;) }))) (return_statement "return local_24;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint main(int margc,char **margv)\n\n{\n  _Bool _Var1;\n  int iVar2;\n  char *pcVar3;\n  char *pcVar4;\n  \n  set_program_name(*margv);\n  setlocale(6,"");\n  bindtextdomain("coreutils","/usr/share/locale");\n  textdomain("coreutils");\n  exit_failure = 2;\n  atexit((__func *)PTR_close_stdout_0001ffc8);\n  argv = margv;\n  if (margc == 2) {\n    pcVar3 = margv[1];\n    iVar2 = strcmp(pcVar3,"--help");\n    if (iVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n      usage(0);\n    }\n    iVar2 = strcmp(pcVar3,"--version");\n    if (iVar2 == 0) {\n      version_etc(*(FILE **)PTR_stdout_0001ffd0,"[","GNU coreutils",Version,"Kevin Braunsdorf",\n                  "Matthew Bradburn",0,0);\n      return 0;\n    }\n    iVar2 = strcmp(margv[1],"]");\n    if (iVar2 == 0) {\n      argc = 1;\n      pos = 1;\n      return 1;\n    }\n  }\n  else if ((1 < margc) && (iVar2 = strcmp(margv[margc + -1],"]"), iVar2 == 0)) {\n    pos = 1;\n    argc = margc + -1;\n    _Var1 = posixtest(margc + -2);\n    if (pos == argc) {\n      return (uint)!_Var1;\n    }\n    pcVar4 = quote(argv[pos]);\n    pcVar3 = "extra argument %s";\n    goto LAB_00011549;\n  }\n  pcVar4 = quote("]");\n  pcVar3 = "missing %s";\nLAB_00011549:\n  pcVar3 = (char *)dcgettext(0,pcVar3,5);\n                    /* WARNING: Subroutine does not return */\n  test_syntax_error(pcVar3,pcVar4);\n}\n\n" comment (function_definition "int main(int margc,char **margv)\n\n{\n  _Bool _Var1;\n  int iVar2;\n  char *pcVar3;\n  char *pcVar4;\n  \n  set_program_name(*margv);\n  setlocale(6,"");\n  bindtextdomain("coreutils","/usr/share/locale");\n  textdomain("coreutils");\n  exit_failure = 2;\n  atexit((__func *)PTR_close_stdout_0001ffc8);\n  argv = margv;\n  if (margc == 2) {\n    pcVar3 = margv[1];\n    iVar2 = strcmp(pcVar3,"--help");\n    if (iVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n      usage(0);\n    }\n    iVar2 = strcmp(pcVar3,"--version");\n    if (iVar2 == 0) {\n      version_etc(*(FILE **)PTR_stdout_0001ffd0,"[","GNU coreutils",Version,"Kevin Braunsdorf",\n                  "Matthew Bradburn",0,0);\n      return 0;\n    }\n    iVar2 = strcmp(margv[1],"]");\n    if (iVar2 == 0) {\n      argc = 1;\n      pos = 1;\n      return 1;\n    }\n  }\n  else if ((1 < margc) && (iVar2 = strcmp(margv[margc + -1],"]"), iVar2 == 0)) {\n    pos = 1;\n    argc = margc + -1;\n    _Var1 = posixtest(margc + -2);\n    if (pos == argc) {\n      return (uint)!_Var1;\n    }\n    pcVar4 = quote(argv[pos]);\n    pcVar3 = "extra argument %s";\n    goto LAB_00011549;\n  }\n  pcVar4 = quote("]");\n  pcVar3 = "missing %s";\nLAB_00011549:\n  pcVar3 = (char *)dcgettext(0,pcVar3,5);\n                    /* WARNING: Subroutine does not return */\n  test_syntax_error(pcVar3,pcVar4);\n}" primitive_type (function_declarator "main(int margc,char **margv)" identifier (parameter_list "(int margc,char **margv)" ( (parameter_declaration "int margc" primitive_type identifier) , (parameter_declaration "char **margv" primitive_type (pointer_declarator "**margv" * (pointer_declarator "*margv" * identifier))) ))) (compound_statement "{\n  _Bool _Var1;\n  int iVar2;\n  char *pcVar3;\n  char *pcVar4;\n  \n  set_program_name(*margv);\n  setlocale(6,"");\n  bindtextdomain("coreutils","/usr/share/locale");\n  textdomain("coreutils");\n  exit_failure = 2;\n  atexit((__func *)PTR_close_stdout_0001ffc8);\n  argv = margv;\n  if (margc == 2) {\n    pcVar3 = margv[1];\n    iVar2 = strcmp(pcVar3,"--help");\n    if (iVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n      usage(0);\n    }\n    iVar2 = strcmp(pcVar3,"--version");\n    if (iVar2 == 0) {\n      version_etc(*(FILE **)PTR_stdout_0001ffd0,"[","GNU coreutils",Version,"Kevin Braunsdorf",\n                  "Matthew Bradburn",0,0);\n      return 0;\n    }\n    iVar2 = strcmp(margv[1],"]");\n    if (iVar2 == 0) {\n      argc = 1;\n      pos = 1;\n      return 1;\n    }\n  }\n  else if ((1 < margc) && (iVar2 = strcmp(margv[margc + -1],"]"), iVar2 == 0)) {\n    pos = 1;\n    argc = margc + -1;\n    _Var1 = posixtest(margc + -2);\n    if (pos == argc) {\n      return (uint)!_Var1;\n    }\n    pcVar4 = quote(argv[pos]);\n    pcVar3 = "extra argument %s";\n    goto LAB_00011549;\n  }\n  pcVar4 = quote("]");\n  pcVar3 = "missing %s";\nLAB_00011549:\n  pcVar3 = (char *)dcgettext(0,pcVar3,5);\n                    /* WARNING: Subroutine does not return */\n  test_syntax_error(pcVar3,pcVar4);\n}" { (declaration "_Bool _Var1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "set_program_name(*margv);" (call_expression "set_program_name(*margv)" identifier (argument_list "(*margv)" ( (pointer_expression "*margv" * identifier) ))) ;) (expression_statement "setlocale(6,"");" (call_expression "setlocale(6,"")" identifier (argument_list "(6,"")" ( number_literal , (string_literal """" " ") ))) ;) (expression_statement "bindtextdomain("coreutils","/usr/share/locale");" (call_expression "bindtextdomain("coreutils","/usr/share/locale")" identifier (argument_list "("coreutils","/usr/share/locale")" ( (string_literal ""coreutils"" " string_content ") , (string_literal ""/usr/share/locale"" " string_content ") ))) ;) (expression_statement "textdomain("coreutils");" (call_expression "textdomain("coreutils")" identifier (argument_list "("coreutils")" ( (string_literal ""coreutils"" " string_content ") ))) ;) (expression_statement "exit_failure = 2;" (assignment_expression "exit_failure = 2" identifier = number_literal) ;) (expression_statement "atexit((__func *)PTR_close_stdout_0001ffc8);" (call_expression "atexit((__func *)PTR_close_stdout_0001ffc8)" identifier (argument_list "((__func *)PTR_close_stdout_0001ffc8)" ( (cast_expression "(__func *)PTR_close_stdout_0001ffc8" ( (type_descriptor "__func *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "argv = margv;" (assignment_expression "argv = margv" identifier = identifier) ;) (if_statement "if (margc == 2) {\n    pcVar3 = margv[1];\n    iVar2 = strcmp(pcVar3,"--help");\n    if (iVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n      usage(0);\n    }\n    iVar2 = strcmp(pcVar3,"--version");\n    if (iVar2 == 0) {\n      version_etc(*(FILE **)PTR_stdout_0001ffd0,"[","GNU coreutils",Version,"Kevin Braunsdorf",\n                  "Matthew Bradburn",0,0);\n      return 0;\n    }\n    iVar2 = strcmp(margv[1],"]");\n    if (iVar2 == 0) {\n      argc = 1;\n      pos = 1;\n      return 1;\n    }\n  }\n  else if ((1 < margc) && (iVar2 = strcmp(margv[margc + -1],"]"), iVar2 == 0)) {\n    pos = 1;\n    argc = margc + -1;\n    _Var1 = posixtest(margc + -2);\n    if (pos == argc) {\n      return (uint)!_Var1;\n    }\n    pcVar4 = quote(argv[pos]);\n    pcVar3 = "extra argument %s";\n    goto LAB_00011549;\n  }" if (parenthesized_expression "(margc == 2)" ( (binary_expression "margc == 2" identifier == number_literal) )) (compound_statement "{\n    pcVar3 = margv[1];\n    iVar2 = strcmp(pcVar3,"--help");\n    if (iVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n      usage(0);\n    }\n    iVar2 = strcmp(pcVar3,"--version");\n    if (iVar2 == 0) {\n      version_etc(*(FILE **)PTR_stdout_0001ffd0,"[","GNU coreutils",Version,"Kevin Braunsdorf",\n                  "Matthew Bradburn",0,0);\n      return 0;\n    }\n    iVar2 = strcmp(margv[1],"]");\n    if (iVar2 == 0) {\n      argc = 1;\n      pos = 1;\n      return 1;\n    }\n  }" { (expression_statement "pcVar3 = margv[1];" (assignment_expression "pcVar3 = margv[1]" identifier = (subscript_expression "margv[1]" identifier [ number_literal ])) ;) (expression_statement "iVar2 = strcmp(pcVar3,"--help");" (assignment_expression "iVar2 = strcmp(pcVar3,"--help")" identifier = (call_expression "strcmp(pcVar3,"--help")" identifier (argument_list "(pcVar3,"--help")" ( identifier , (string_literal ""--help"" " string_content ") )))) ;) (if_statement "if (iVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n      usage(0);\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      usage(0);\n    }" { comment (expression_statement "usage(0);" (call_expression "usage(0)" identifier (argument_list "(0)" ( number_literal ))) ;) })) (expression_statement "iVar2 = strcmp(pcVar3,"--version");" (assignment_expression "iVar2 = strcmp(pcVar3,"--version")" identifier = (call_expression "strcmp(pcVar3,"--version")" identifier (argument_list "(pcVar3,"--version")" ( identifier , (string_literal ""--version"" " string_content ") )))) ;) (if_statement "if (iVar2 == 0) {\n      version_etc(*(FILE **)PTR_stdout_0001ffd0,"[","GNU coreutils",Version,"Kevin Braunsdorf",\n                  "Matthew Bradburn",0,0);\n      return 0;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      version_etc(*(FILE **)PTR_stdout_0001ffd0,"[","GNU coreutils",Version,"Kevin Braunsdorf",\n                  "Matthew Bradburn",0,0);\n      return 0;\n    }" { (expression_statement "version_etc(*(FILE **)PTR_stdout_0001ffd0,"[","GNU coreutils",Version,"Kevin Braunsdorf",\n                  "Matthew Bradburn",0,0);" (call_expression "version_etc(*(FILE **)PTR_stdout_0001ffd0,"[","GNU coreutils",Version,"Kevin Braunsdorf",\n                  "Matthew Bradburn",0,0)" identifier (argument_list "(*(FILE **)PTR_stdout_0001ffd0,"[","GNU coreutils",Version,"Kevin Braunsdorf",\n                  "Matthew Bradburn",0,0)" ( (pointer_expression "*(FILE **)PTR_stdout_0001ffd0" * (cast_expression "(FILE **)PTR_stdout_0001ffd0" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal ""["" " string_content ") , (string_literal ""GNU coreutils"" " string_content ") , identifier , (string_literal ""Kevin Braunsdorf"" " string_content ") , (string_literal ""Matthew Bradburn"" " string_content ") , number_literal , number_literal ))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar2 = strcmp(margv[1],"]");" (assignment_expression "iVar2 = strcmp(margv[1],"]")" identifier = (call_expression "strcmp(margv[1],"]")" identifier (argument_list "(margv[1],"]")" ( (subscript_expression "margv[1]" identifier [ number_literal ]) , (string_literal ""]"" " string_content ") )))) ;) (if_statement "if (iVar2 == 0) {\n      argc = 1;\n      pos = 1;\n      return 1;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      argc = 1;\n      pos = 1;\n      return 1;\n    }" { (expression_statement "argc = 1;" (assignment_expression "argc = 1" identifier = number_literal) ;) (expression_statement "pos = 1;" (assignment_expression "pos = 1" identifier = number_literal) ;) (return_statement "return 1;" return number_literal ;) })) }) (else_clause "else if ((1 < margc) && (iVar2 = strcmp(margv[margc + -1],"]"), iVar2 == 0)) {\n    pos = 1;\n    argc = margc + -1;\n    _Var1 = posixtest(margc + -2);\n    if (pos == argc) {\n      return (uint)!_Var1;\n    }\n    pcVar4 = quote(argv[pos]);\n    pcVar3 = "extra argument %s";\n    goto LAB_00011549;\n  }" else (if_statement "if ((1 < margc) && (iVar2 = strcmp(margv[margc + -1],"]"), iVar2 == 0)) {\n    pos = 1;\n    argc = margc + -1;\n    _Var1 = posixtest(margc + -2);\n    if (pos == argc) {\n      return (uint)!_Var1;\n    }\n    pcVar4 = quote(argv[pos]);\n    pcVar3 = "extra argument %s";\n    goto LAB_00011549;\n  }" if (parenthesized_expression "((1 < margc) && (iVar2 = strcmp(margv[margc + -1],"]"), iVar2 == 0))" ( (binary_expression "(1 < margc) && (iVar2 = strcmp(margv[margc + -1],"]"), iVar2 == 0)" (parenthesized_expression "(1 < margc)" ( (binary_expression "1 < margc" number_literal < identifier) )) && (parenthesized_expression "(iVar2 = strcmp(margv[margc + -1],"]"), iVar2 == 0)" ( (comma_expression "iVar2 = strcmp(margv[margc + -1],"]"), iVar2 == 0" (assignment_expression "iVar2 = strcmp(margv[margc + -1],"]")" identifier = (call_expression "strcmp(margv[margc + -1],"]")" identifier (argument_list "(margv[margc + -1],"]")" ( (subscript_expression "margv[margc + -1]" identifier [ (binary_expression "margc + -1" identifier + number_literal) ]) , (string_literal ""]"" " string_content ") )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    pos = 1;\n    argc = margc + -1;\n    _Var1 = posixtest(margc + -2);\n    if (pos == argc) {\n      return (uint)!_Var1;\n    }\n    pcVar4 = quote(argv[pos]);\n    pcVar3 = "extra argument %s";\n    goto LAB_00011549;\n  }" { (expression_statement "pos = 1;" (assignment_expression "pos = 1" identifier = number_literal) ;) (expression_statement "argc = margc + -1;" (assignment_expression "argc = margc + -1" identifier = (binary_expression "margc + -1" identifier + number_literal)) ;) (expression_statement "_Var1 = posixtest(margc + -2);" (assignment_expression "_Var1 = posixtest(margc + -2)" identifier = (call_expression "posixtest(margc + -2)" identifier (argument_list "(margc + -2)" ( (binary_expression "margc + -2" identifier + number_literal) )))) ;) (if_statement "if (pos == argc) {\n      return (uint)!_Var1;\n    }" if (parenthesized_expression "(pos == argc)" ( (binary_expression "pos == argc" identifier == identifier) )) (compound_statement "{\n      return (uint)!_Var1;\n    }" { (return_statement "return (uint)!_Var1;" return (cast_expression "(uint)!_Var1" ( (type_descriptor "uint" type_identifier) ) (unary_expression "!_Var1" ! identifier)) ;) })) (expression_statement "pcVar4 = quote(argv[pos]);" (assignment_expression "pcVar4 = quote(argv[pos])" identifier = (call_expression "quote(argv[pos])" identifier (argument_list "(argv[pos])" ( (subscript_expression "argv[pos]" identifier [ identifier ]) )))) ;) (expression_statement "pcVar3 = "extra argument %s";" (assignment_expression "pcVar3 = "extra argument %s"" identifier = (string_literal ""extra argument %s"" " string_content ")) ;) (goto_statement "goto LAB_00011549;" goto statement_identifier ;) })))) (expression_statement "pcVar4 = quote("]");" (assignment_expression "pcVar4 = quote("]")" identifier = (call_expression "quote("]")" identifier (argument_list "("]")" ( (string_literal ""]"" " string_content ") )))) ;) (expression_statement "pcVar3 = "missing %s";" (assignment_expression "pcVar3 = "missing %s"" identifier = (string_literal ""missing %s"" " string_content ")) ;) (labeled_statement "LAB_00011549:\n  pcVar3 = (char *)dcgettext(0,pcVar3,5);" statement_identifier : (expression_statement "pcVar3 = (char *)dcgettext(0,pcVar3,5);" (assignment_expression "pcVar3 = (char *)dcgettext(0,pcVar3,5)" identifier = (cast_expression "(char *)dcgettext(0,pcVar3,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,pcVar3,5)" identifier (argument_list "(0,pcVar3,5)" ( number_literal , identifier , number_literal ))))) ;)) comment (expression_statement "test_syntax_error(pcVar3,pcVar4);" (call_expression "test_syntax_error(pcVar3,pcVar4)" identifier (argument_list "(pcVar3,pcVar4)" ( identifier , identifier ))) ;) })))
(translation_unit "char * FUN_00011390(int param_1,undefined4 *param_2)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  int extraout_EDX;\n  uint *puVar8;\n  undefined1 *puVar9;\n  uint auStack_38 [2];\n  undefined1 auStack_30 [12];\n  char *local_24;\n  undefined4 *local_18;\n  \n  puVar1 = param_2;\n  iVar4 = param_1;\n  local_18 = &param_1;\n  FUN_00013490(*param_2);\n  setlocale(6,"");\n  local_24 = "coreutils";\n  bindtextdomain("coreutils","/usr/share/locale");\n  textdomain(local_24);\n  DAT_000200ec = 2;\n  uVar2 = FUN_000197c0(PTR_FUN_0001ffc8);\n  DAT_00020148 = puVar1;\n  if (iVar4 != 2) {\n    pcVar5 = "]";\n    if (1 < iVar4) {\n      local_24 = "]";\n      auStack_38[0] = uVar2;\n      auStack_38[1] = uVar2;\n      iVar3 = strcmp((char *)puVar1[iVar4 + -1],"]");\n      puVar9 = auStack_30;\n      pcVar5 = local_24;\n      if (iVar3 == 0) {\n        DAT_00020150 = 1;\n        DAT_0002014c = iVar4 + -1;\n        auStack_38[1] = 0x11461;\n        uVar2 = FUN_00012e50();\n        iVar4 = DAT_00020150;\n        if (DAT_00020150 != DAT_0002014c) goto LAB_0001155a;\n        return (char *)((uVar2 ^ 1) & 0xff);\n      }\n    }\nLAB_00011533:\n    uVar7 = FUN_00015770(pcVar5);\n    puVar8 = auStack_38;\n    auStack_38[0] = 5;\n    pcVar5 = "missing %s";\n    do {\n      *(char **)((int)puVar8 + -4) = pcVar5;\n      *(undefined4 *)((int)puVar8 + -8) = 0;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x11551;\n      uVar6 = dcgettext();\n      *(undefined4 *)((int)puVar8 + -4) = uVar7;\n      puVar9 = (undefined1 *)((int)puVar8 + -8);\n      *(undefined4 *)((int)puVar8 + -8) = uVar6;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x1155a;\n      FUN_00011890();\n      iVar4 = extraout_EDX;\nLAB_0001155a:\n      *(undefined4 *)(puVar9 + -0x10) = DAT_00020148[iVar4];\n      *(undefined4 *)(puVar9 + -0x14) = 0x1156b;\n      uVar7 = FUN_00015770();\n      puVar8 = (uint *)(puVar9 + -8);\n      *(undefined4 *)(puVar9 + -8) = 5;\n      pcVar5 = "extra argument %s";\n    } while( true );\n  }\n  pcVar5 = (char *)puVar1[1];\n  auStack_38[0] = uVar2;\n  auStack_38[1] = uVar2;\n  uVar2 = strcmp(pcVar5,"--help");\n  if (uVar2 == 0) {\n                    \n    FUN_00012fb0(0);\n  }\n  auStack_38[0] = uVar2;\n  auStack_38[1] = uVar2;\n  auStack_38[1] = strcmp(pcVar5,"--version");\n  if (auStack_38[1] == 0) {\n    auStack_38[0] = 0;\n    local_24 = (char *)auStack_38[1];\n    FUN_00016080(*(undefined4 *)PTR_stdout_0001ffd0,"[","GNU coreutils",PTR_DAT_000200e8,\n                 "Kevin Braunsdorf","Matthew Bradburn");\n  }\n  else {\n    local_24 = "]";\n    auStack_38[0] = auStack_38[1];\n    iVar4 = strcmp((char *)puVar1[1],"]");\n    pcVar5 = local_24;\n    if (iVar4 != 0) goto LAB_00011533;\n    DAT_0002014c = 1;\n    local_24 = (char *)0x1;\n    DAT_00020150 = 1;\n  }\n  return local_24;\n}\n\n" (function_definition "char * FUN_00011390(int param_1,undefined4 *param_2)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  int extraout_EDX;\n  uint *puVar8;\n  undefined1 *puVar9;\n  uint auStack_38 [2];\n  undefined1 auStack_30 [12];\n  char *local_24;\n  undefined4 *local_18;\n  \n  puVar1 = param_2;\n  iVar4 = param_1;\n  local_18 = &param_1;\n  FUN_00013490(*param_2);\n  setlocale(6,"");\n  local_24 = "coreutils";\n  bindtextdomain("coreutils","/usr/share/locale");\n  textdomain(local_24);\n  DAT_000200ec = 2;\n  uVar2 = FUN_000197c0(PTR_FUN_0001ffc8);\n  DAT_00020148 = puVar1;\n  if (iVar4 != 2) {\n    pcVar5 = "]";\n    if (1 < iVar4) {\n      local_24 = "]";\n      auStack_38[0] = uVar2;\n      auStack_38[1] = uVar2;\n      iVar3 = strcmp((char *)puVar1[iVar4 + -1],"]");\n      puVar9 = auStack_30;\n      pcVar5 = local_24;\n      if (iVar3 == 0) {\n        DAT_00020150 = 1;\n        DAT_0002014c = iVar4 + -1;\n        auStack_38[1] = 0x11461;\n        uVar2 = FUN_00012e50();\n        iVar4 = DAT_00020150;\n        if (DAT_00020150 != DAT_0002014c) goto LAB_0001155a;\n        return (char *)((uVar2 ^ 1) & 0xff);\n      }\n    }\nLAB_00011533:\n    uVar7 = FUN_00015770(pcVar5);\n    puVar8 = auStack_38;\n    auStack_38[0] = 5;\n    pcVar5 = "missing %s";\n    do {\n      *(char **)((int)puVar8 + -4) = pcVar5;\n      *(undefined4 *)((int)puVar8 + -8) = 0;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x11551;\n      uVar6 = dcgettext();\n      *(undefined4 *)((int)puVar8 + -4) = uVar7;\n      puVar9 = (undefined1 *)((int)puVar8 + -8);\n      *(undefined4 *)((int)puVar8 + -8) = uVar6;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x1155a;\n      FUN_00011890();\n      iVar4 = extraout_EDX;\nLAB_0001155a:\n      *(undefined4 *)(puVar9 + -0x10) = DAT_00020148[iVar4];\n      *(undefined4 *)(puVar9 + -0x14) = 0x1156b;\n      uVar7 = FUN_00015770();\n      puVar8 = (uint *)(puVar9 + -8);\n      *(undefined4 *)(puVar9 + -8) = 5;\n      pcVar5 = "extra argument %s";\n    } while( true );\n  }\n  pcVar5 = (char *)puVar1[1];\n  auStack_38[0] = uVar2;\n  auStack_38[1] = uVar2;\n  uVar2 = strcmp(pcVar5,"--help");\n  if (uVar2 == 0) {\n                    \n    FUN_00012fb0(0);\n  }\n  auStack_38[0] = uVar2;\n  auStack_38[1] = uVar2;\n  auStack_38[1] = strcmp(pcVar5,"--version");\n  if (auStack_38[1] == 0) {\n    auStack_38[0] = 0;\n    local_24 = (char *)auStack_38[1];\n    FUN_00016080(*(undefined4 *)PTR_stdout_0001ffd0,"[","GNU coreutils",PTR_DAT_000200e8,\n                 "Kevin Braunsdorf","Matthew Bradburn");\n  }\n  else {\n    local_24 = "]";\n    auStack_38[0] = auStack_38[1];\n    iVar4 = strcmp((char *)puVar1[1],"]");\n    pcVar5 = local_24;\n    if (iVar4 != 0) goto LAB_00011533;\n    DAT_0002014c = 1;\n    local_24 = (char *)0x1;\n    DAT_00020150 = 1;\n  }\n  return local_24;\n}" primitive_type (pointer_declarator "* FUN_00011390(int param_1,undefined4 *param_2)" * (function_declarator "FUN_00011390(int param_1,undefined4 *param_2)" identifier (parameter_list "(int param_1,undefined4 *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  undefined4 *puVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  int extraout_EDX;\n  uint *puVar8;\n  undefined1 *puVar9;\n  uint auStack_38 [2];\n  undefined1 auStack_30 [12];\n  char *local_24;\n  undefined4 *local_18;\n  \n  puVar1 = param_2;\n  iVar4 = param_1;\n  local_18 = &param_1;\n  FUN_00013490(*param_2);\n  setlocale(6,"");\n  local_24 = "coreutils";\n  bindtextdomain("coreutils","/usr/share/locale");\n  textdomain(local_24);\n  DAT_000200ec = 2;\n  uVar2 = FUN_000197c0(PTR_FUN_0001ffc8);\n  DAT_00020148 = puVar1;\n  if (iVar4 != 2) {\n    pcVar5 = "]";\n    if (1 < iVar4) {\n      local_24 = "]";\n      auStack_38[0] = uVar2;\n      auStack_38[1] = uVar2;\n      iVar3 = strcmp((char *)puVar1[iVar4 + -1],"]");\n      puVar9 = auStack_30;\n      pcVar5 = local_24;\n      if (iVar3 == 0) {\n        DAT_00020150 = 1;\n        DAT_0002014c = iVar4 + -1;\n        auStack_38[1] = 0x11461;\n        uVar2 = FUN_00012e50();\n        iVar4 = DAT_00020150;\n        if (DAT_00020150 != DAT_0002014c) goto LAB_0001155a;\n        return (char *)((uVar2 ^ 1) & 0xff);\n      }\n    }\nLAB_00011533:\n    uVar7 = FUN_00015770(pcVar5);\n    puVar8 = auStack_38;\n    auStack_38[0] = 5;\n    pcVar5 = "missing %s";\n    do {\n      *(char **)((int)puVar8 + -4) = pcVar5;\n      *(undefined4 *)((int)puVar8 + -8) = 0;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x11551;\n      uVar6 = dcgettext();\n      *(undefined4 *)((int)puVar8 + -4) = uVar7;\n      puVar9 = (undefined1 *)((int)puVar8 + -8);\n      *(undefined4 *)((int)puVar8 + -8) = uVar6;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x1155a;\n      FUN_00011890();\n      iVar4 = extraout_EDX;\nLAB_0001155a:\n      *(undefined4 *)(puVar9 + -0x10) = DAT_00020148[iVar4];\n      *(undefined4 *)(puVar9 + -0x14) = 0x1156b;\n      uVar7 = FUN_00015770();\n      puVar8 = (uint *)(puVar9 + -8);\n      *(undefined4 *)(puVar9 + -8) = 5;\n      pcVar5 = "extra argument %s";\n    } while( true );\n  }\n  pcVar5 = (char *)puVar1[1];\n  auStack_38[0] = uVar2;\n  auStack_38[1] = uVar2;\n  uVar2 = strcmp(pcVar5,"--help");\n  if (uVar2 == 0) {\n                    \n    FUN_00012fb0(0);\n  }\n  auStack_38[0] = uVar2;\n  auStack_38[1] = uVar2;\n  auStack_38[1] = strcmp(pcVar5,"--version");\n  if (auStack_38[1] == 0) {\n    auStack_38[0] = 0;\n    local_24 = (char *)auStack_38[1];\n    FUN_00016080(*(undefined4 *)PTR_stdout_0001ffd0,"[","GNU coreutils",PTR_DAT_000200e8,\n                 "Kevin Braunsdorf","Matthew Bradburn");\n  }\n  else {\n    local_24 = "]";\n    auStack_38[0] = auStack_38[1];\n    iVar4 = strcmp((char *)puVar1[1],"]");\n    pcVar5 = local_24;\n    if (iVar4 != 0) goto LAB_00011533;\n    DAT_0002014c = 1;\n    local_24 = (char *)0x1;\n    DAT_00020150 = 1;\n  }\n  return local_24;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int extraout_EDX;" primitive_type identifier ;) (declaration "uint *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined1 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "uint auStack_38 [2];" type_identifier (array_declarator "auStack_38 [2]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_30 [12];" type_identifier (array_declarator "auStack_30 [12]" identifier [ number_literal ]) ;) (declaration "char *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (declaration "undefined4 *local_18;" type_identifier (pointer_declarator "*local_18" * identifier) ;) (expression_statement "puVar1 = param_2;" (assignment_expression "puVar1 = param_2" identifier = identifier) ;) (expression_statement "iVar4 = param_1;" (assignment_expression "iVar4 = param_1" identifier = identifier) ;) (expression_statement "local_18 = &param_1;" (assignment_expression "local_18 = &param_1" identifier = (pointer_expression "&param_1" & identifier)) ;) (expression_statement "FUN_00013490(*param_2);" (call_expression "FUN_00013490(*param_2)" identifier (argument_list "(*param_2)" ( (pointer_expression "*param_2" * identifier) ))) ;) (expression_statement "setlocale(6,"");" (call_expression "setlocale(6,"")" identifier (argument_list "(6,"")" ( number_literal , (string_literal """" " ") ))) ;) (expression_statement "local_24 = "coreutils";" (assignment_expression "local_24 = "coreutils"" identifier = (string_literal ""coreutils"" " string_content ")) ;) (expression_statement "bindtextdomain("coreutils","/usr/share/locale");" (call_expression "bindtextdomain("coreutils","/usr/share/locale")" identifier (argument_list "("coreutils","/usr/share/locale")" ( (string_literal ""coreutils"" " string_content ") , (string_literal ""/usr/share/locale"" " string_content ") ))) ;) (expression_statement "textdomain(local_24);" (call_expression "textdomain(local_24)" identifier (argument_list "(local_24)" ( identifier ))) ;) (expression_statement "DAT_000200ec = 2;" (assignment_expression "DAT_000200ec = 2" identifier = number_literal) ;) (expression_statement "uVar2 = FUN_000197c0(PTR_FUN_0001ffc8);" (assignment_expression "uVar2 = FUN_000197c0(PTR_FUN_0001ffc8)" identifier = (call_expression "FUN_000197c0(PTR_FUN_0001ffc8)" identifier (argument_list "(PTR_FUN_0001ffc8)" ( identifier )))) ;) (expression_statement "DAT_00020148 = puVar1;" (assignment_expression "DAT_00020148 = puVar1" identifier = identifier) ;) (if_statement "if (iVar4 != 2) {\n    pcVar5 = "]";\n    if (1 < iVar4) {\n      local_24 = "]";\n      auStack_38[0] = uVar2;\n      auStack_38[1] = uVar2;\n      iVar3 = strcmp((char *)puVar1[iVar4 + -1],"]");\n      puVar9 = auStack_30;\n      pcVar5 = local_24;\n      if (iVar3 == 0) {\n        DAT_00020150 = 1;\n        DAT_0002014c = iVar4 + -1;\n        auStack_38[1] = 0x11461;\n        uVar2 = FUN_00012e50();\n        iVar4 = DAT_00020150;\n        if (DAT_00020150 != DAT_0002014c) goto LAB_0001155a;\n        return (char *)((uVar2 ^ 1) & 0xff);\n      }\n    }\nLAB_00011533:\n    uVar7 = FUN_00015770(pcVar5);\n    puVar8 = auStack_38;\n    auStack_38[0] = 5;\n    pcVar5 = "missing %s";\n    do {\n      *(char **)((int)puVar8 + -4) = pcVar5;\n      *(undefined4 *)((int)puVar8 + -8) = 0;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x11551;\n      uVar6 = dcgettext();\n      *(undefined4 *)((int)puVar8 + -4) = uVar7;\n      puVar9 = (undefined1 *)((int)puVar8 + -8);\n      *(undefined4 *)((int)puVar8 + -8) = uVar6;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x1155a;\n      FUN_00011890();\n      iVar4 = extraout_EDX;\nLAB_0001155a:\n      *(undefined4 *)(puVar9 + -0x10) = DAT_00020148[iVar4];\n      *(undefined4 *)(puVar9 + -0x14) = 0x1156b;\n      uVar7 = FUN_00015770();\n      puVar8 = (uint *)(puVar9 + -8);\n      *(undefined4 *)(puVar9 + -8) = 5;\n      pcVar5 = "extra argument %s";\n    } while( true );\n  }" if (parenthesized_expression "(iVar4 != 2)" ( (binary_expression "iVar4 != 2" identifier != number_literal) )) (compound_statement "{\n    pcVar5 = "]";\n    if (1 < iVar4) {\n      local_24 = "]";\n      auStack_38[0] = uVar2;\n      auStack_38[1] = uVar2;\n      iVar3 = strcmp((char *)puVar1[iVar4 + -1],"]");\n      puVar9 = auStack_30;\n      pcVar5 = local_24;\n      if (iVar3 == 0) {\n        DAT_00020150 = 1;\n        DAT_0002014c = iVar4 + -1;\n        auStack_38[1] = 0x11461;\n        uVar2 = FUN_00012e50();\n        iVar4 = DAT_00020150;\n        if (DAT_00020150 != DAT_0002014c) goto LAB_0001155a;\n        return (char *)((uVar2 ^ 1) & 0xff);\n      }\n    }\nLAB_00011533:\n    uVar7 = FUN_00015770(pcVar5);\n    puVar8 = auStack_38;\n    auStack_38[0] = 5;\n    pcVar5 = "missing %s";\n    do {\n      *(char **)((int)puVar8 + -4) = pcVar5;\n      *(undefined4 *)((int)puVar8 + -8) = 0;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x11551;\n      uVar6 = dcgettext();\n      *(undefined4 *)((int)puVar8 + -4) = uVar7;\n      puVar9 = (undefined1 *)((int)puVar8 + -8);\n      *(undefined4 *)((int)puVar8 + -8) = uVar6;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x1155a;\n      FUN_00011890();\n      iVar4 = extraout_EDX;\nLAB_0001155a:\n      *(undefined4 *)(puVar9 + -0x10) = DAT_00020148[iVar4];\n      *(undefined4 *)(puVar9 + -0x14) = 0x1156b;\n      uVar7 = FUN_00015770();\n      puVar8 = (uint *)(puVar9 + -8);\n      *(undefined4 *)(puVar9 + -8) = 5;\n      pcVar5 = "extra argument %s";\n    } while( true );\n  }" { (expression_statement "pcVar5 = "]";" (assignment_expression "pcVar5 = "]"" identifier = (string_literal ""]"" " string_content ")) ;) (if_statement "if (1 < iVar4) {\n      local_24 = "]";\n      auStack_38[0] = uVar2;\n      auStack_38[1] = uVar2;\n      iVar3 = strcmp((char *)puVar1[iVar4 + -1],"]");\n      puVar9 = auStack_30;\n      pcVar5 = local_24;\n      if (iVar3 == 0) {\n        DAT_00020150 = 1;\n        DAT_0002014c = iVar4 + -1;\n        auStack_38[1] = 0x11461;\n        uVar2 = FUN_00012e50();\n        iVar4 = DAT_00020150;\n        if (DAT_00020150 != DAT_0002014c) goto LAB_0001155a;\n        return (char *)((uVar2 ^ 1) & 0xff);\n      }\n    }" if (parenthesized_expression "(1 < iVar4)" ( (binary_expression "1 < iVar4" number_literal < identifier) )) (compound_statement "{\n      local_24 = "]";\n      auStack_38[0] = uVar2;\n      auStack_38[1] = uVar2;\n      iVar3 = strcmp((char *)puVar1[iVar4 + -1],"]");\n      puVar9 = auStack_30;\n      pcVar5 = local_24;\n      if (iVar3 == 0) {\n        DAT_00020150 = 1;\n        DAT_0002014c = iVar4 + -1;\n        auStack_38[1] = 0x11461;\n        uVar2 = FUN_00012e50();\n        iVar4 = DAT_00020150;\n        if (DAT_00020150 != DAT_0002014c) goto LAB_0001155a;\n        return (char *)((uVar2 ^ 1) & 0xff);\n      }\n    }" { (expression_statement "local_24 = "]";" (assignment_expression "local_24 = "]"" identifier = (string_literal ""]"" " string_content ")) ;) (expression_statement "auStack_38[0] = uVar2;" (assignment_expression "auStack_38[0] = uVar2" (subscript_expression "auStack_38[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "auStack_38[1] = uVar2;" (assignment_expression "auStack_38[1] = uVar2" (subscript_expression "auStack_38[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar3 = strcmp((char *)puVar1[iVar4 + -1],"]");" (assignment_expression "iVar3 = strcmp((char *)puVar1[iVar4 + -1],"]")" identifier = (call_expression "strcmp((char *)puVar1[iVar4 + -1],"]")" identifier (argument_list "((char *)puVar1[iVar4 + -1],"]")" ( (cast_expression "(char *)puVar1[iVar4 + -1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[iVar4 + -1]" identifier [ (binary_expression "iVar4 + -1" identifier + number_literal) ])) , (string_literal ""]"" " string_content ") )))) ;) (expression_statement "puVar9 = auStack_30;" (assignment_expression "puVar9 = auStack_30" identifier = identifier) ;) (expression_statement "pcVar5 = local_24;" (assignment_expression "pcVar5 = local_24" identifier = identifier) ;) (if_statement "if (iVar3 == 0) {\n        DAT_00020150 = 1;\n        DAT_0002014c = iVar4 + -1;\n        auStack_38[1] = 0x11461;\n        uVar2 = FUN_00012e50();\n        iVar4 = DAT_00020150;\n        if (DAT_00020150 != DAT_0002014c) goto LAB_0001155a;\n        return (char *)((uVar2 ^ 1) & 0xff);\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        DAT_00020150 = 1;\n        DAT_0002014c = iVar4 + -1;\n        auStack_38[1] = 0x11461;\n        uVar2 = FUN_00012e50();\n        iVar4 = DAT_00020150;\n        if (DAT_00020150 != DAT_0002014c) goto LAB_0001155a;\n        return (char *)((uVar2 ^ 1) & 0xff);\n      }" { (expression_statement "DAT_00020150 = 1;" (assignment_expression "DAT_00020150 = 1" identifier = number_literal) ;) (expression_statement "DAT_0002014c = iVar4 + -1;" (assignment_expression "DAT_0002014c = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "auStack_38[1] = 0x11461;" (assignment_expression "auStack_38[1] = 0x11461" (subscript_expression "auStack_38[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar2 = FUN_00012e50();" (assignment_expression "uVar2 = FUN_00012e50()" identifier = (call_expression "FUN_00012e50()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar4 = DAT_00020150;" (assignment_expression "iVar4 = DAT_00020150" identifier = identifier) ;) (if_statement "if (DAT_00020150 != DAT_0002014c) goto LAB_0001155a;" if (parenthesized_expression "(DAT_00020150 != DAT_0002014c)" ( (binary_expression "DAT_00020150 != DAT_0002014c" identifier != identifier) )) (goto_statement "goto LAB_0001155a;" goto statement_identifier ;)) (return_statement "return (char *)((uVar2 ^ 1) & 0xff);" return (cast_expression "(char *)((uVar2 ^ 1) & 0xff)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uVar2 ^ 1) & 0xff)" ( (binary_expression "(uVar2 ^ 1) & 0xff" (parenthesized_expression "(uVar2 ^ 1)" ( (binary_expression "uVar2 ^ 1" identifier ^ number_literal) )) & number_literal) ))) ;) })) })) (labeled_statement "LAB_00011533:\n    uVar7 = FUN_00015770(pcVar5);" statement_identifier : (expression_statement "uVar7 = FUN_00015770(pcVar5);" (assignment_expression "uVar7 = FUN_00015770(pcVar5)" identifier = (call_expression "FUN_00015770(pcVar5)" identifier (argument_list "(pcVar5)" ( identifier )))) ;)) (expression_statement "puVar8 = auStack_38;" (assignment_expression "puVar8 = auStack_38" identifier = identifier) ;) (expression_statement "auStack_38[0] = 5;" (assignment_expression "auStack_38[0] = 5" (subscript_expression "auStack_38[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pcVar5 = "missing %s";" (assignment_expression "pcVar5 = "missing %s"" identifier = (string_literal ""missing %s"" " string_content ")) ;) (do_statement "do {\n      *(char **)((int)puVar8 + -4) = pcVar5;\n      *(undefined4 *)((int)puVar8 + -8) = 0;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x11551;\n      uVar6 = dcgettext();\n      *(undefined4 *)((int)puVar8 + -4) = uVar7;\n      puVar9 = (undefined1 *)((int)puVar8 + -8);\n      *(undefined4 *)((int)puVar8 + -8) = uVar6;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x1155a;\n      FUN_00011890();\n      iVar4 = extraout_EDX;\nLAB_0001155a:\n      *(undefined4 *)(puVar9 + -0x10) = DAT_00020148[iVar4];\n      *(undefined4 *)(puVar9 + -0x14) = 0x1156b;\n      uVar7 = FUN_00015770();\n      puVar8 = (uint *)(puVar9 + -8);\n      *(undefined4 *)(puVar9 + -8) = 5;\n      pcVar5 = "extra argument %s";\n    } while( true );" do (compound_statement "{\n      *(char **)((int)puVar8 + -4) = pcVar5;\n      *(undefined4 *)((int)puVar8 + -8) = 0;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x11551;\n      uVar6 = dcgettext();\n      *(undefined4 *)((int)puVar8 + -4) = uVar7;\n      puVar9 = (undefined1 *)((int)puVar8 + -8);\n      *(undefined4 *)((int)puVar8 + -8) = uVar6;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x1155a;\n      FUN_00011890();\n      iVar4 = extraout_EDX;\nLAB_0001155a:\n      *(undefined4 *)(puVar9 + -0x10) = DAT_00020148[iVar4];\n      *(undefined4 *)(puVar9 + -0x14) = 0x1156b;\n      uVar7 = FUN_00015770();\n      puVar8 = (uint *)(puVar9 + -8);\n      *(undefined4 *)(puVar9 + -8) = 5;\n      pcVar5 = "extra argument %s";\n    }" { (expression_statement "*(char **)((int)puVar8 + -4) = pcVar5;" (assignment_expression "*(char **)((int)puVar8 + -4) = pcVar5" (pointer_expression "*(char **)((int)puVar8 + -4)" * (cast_expression "(char **)((int)puVar8 + -4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar8 + -4)" ( (binary_expression "(int)puVar8 + -4" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)puVar8 + -8) = 0;" (assignment_expression "*(undefined4 *)((int)puVar8 + -8) = 0" (pointer_expression "*(undefined4 *)((int)puVar8 + -8)" * (cast_expression "(undefined4 *)((int)puVar8 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -8)" ( (binary_expression "(int)puVar8 + -8" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)puVar8 + -0xc) = 0x11551;" (assignment_expression "*(undefined4 *)((int)puVar8 + -0xc) = 0x11551" (pointer_expression "*(undefined4 *)((int)puVar8 + -0xc)" * (cast_expression "(undefined4 *)((int)puVar8 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -0xc)" ( (binary_expression "(int)puVar8 + -0xc" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "uVar6 = dcgettext();" (assignment_expression "uVar6 = dcgettext()" identifier = (call_expression "dcgettext()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)((int)puVar8 + -4) = uVar7;" (assignment_expression "*(undefined4 *)((int)puVar8 + -4) = uVar7" (pointer_expression "*(undefined4 *)((int)puVar8 + -4)" * (cast_expression "(undefined4 *)((int)puVar8 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -4)" ( (binary_expression "(int)puVar8 + -4" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "puVar9 = (undefined1 *)((int)puVar8 + -8);" (assignment_expression "puVar9 = (undefined1 *)((int)puVar8 + -8)" identifier = (cast_expression "(undefined1 *)((int)puVar8 + -8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -8)" ( (binary_expression "(int)puVar8 + -8" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "*(undefined4 *)((int)puVar8 + -8) = uVar6;" (assignment_expression "*(undefined4 *)((int)puVar8 + -8) = uVar6" (pointer_expression "*(undefined4 *)((int)puVar8 + -8)" * (cast_expression "(undefined4 *)((int)puVar8 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -8)" ( (binary_expression "(int)puVar8 + -8" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)puVar8 + -0xc) = 0x1155a;" (assignment_expression "*(undefined4 *)((int)puVar8 + -0xc) = 0x1155a" (pointer_expression "*(undefined4 *)((int)puVar8 + -0xc)" * (cast_expression "(undefined4 *)((int)puVar8 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -0xc)" ( (binary_expression "(int)puVar8 + -0xc" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00011890();" (call_expression "FUN_00011890()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar4 = extraout_EDX;" (assignment_expression "iVar4 = extraout_EDX" identifier = identifier) ;) (labeled_statement "LAB_0001155a:\n      *(undefined4 *)(puVar9 + -0x10) = DAT_00020148[iVar4];" statement_identifier : (expression_statement "*(undefined4 *)(puVar9 + -0x10) = DAT_00020148[iVar4];" (assignment_expression "*(undefined4 *)(puVar9 + -0x10) = DAT_00020148[iVar4]" (pointer_expression "*(undefined4 *)(puVar9 + -0x10)" * (cast_expression "(undefined4 *)(puVar9 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x10)" ( (binary_expression "puVar9 + -0x10" identifier + number_literal) )))) = (subscript_expression "DAT_00020148[iVar4]" identifier [ identifier ])) ;)) (expression_statement "*(undefined4 *)(puVar9 + -0x14) = 0x1156b;" (assignment_expression "*(undefined4 *)(puVar9 + -0x14) = 0x1156b" (pointer_expression "*(undefined4 *)(puVar9 + -0x14)" * (cast_expression "(undefined4 *)(puVar9 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x14)" ( (binary_expression "puVar9 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar7 = FUN_00015770();" (assignment_expression "uVar7 = FUN_00015770()" identifier = (call_expression "FUN_00015770()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar8 = (uint *)(puVar9 + -8);" (assignment_expression "puVar8 = (uint *)(puVar9 + -8)" identifier = (cast_expression "(uint *)(puVar9 + -8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -8)" ( (binary_expression "puVar9 + -8" identifier + number_literal) )))) ;) (expression_statement "*(undefined4 *)(puVar9 + -8) = 5;" (assignment_expression "*(undefined4 *)(puVar9 + -8) = 5" (pointer_expression "*(undefined4 *)(puVar9 + -8)" * (cast_expression "(undefined4 *)(puVar9 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -8)" ( (binary_expression "puVar9 + -8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "pcVar5 = "extra argument %s";" (assignment_expression "pcVar5 = "extra argument %s"" identifier = (string_literal ""extra argument %s"" " string_content ")) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "pcVar5 = (char *)puVar1[1];" (assignment_expression "pcVar5 = (char *)puVar1[1]" identifier = (cast_expression "(char *)puVar1[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[1]" identifier [ number_literal ]))) ;) (expression_statement "auStack_38[0] = uVar2;" (assignment_expression "auStack_38[0] = uVar2" (subscript_expression "auStack_38[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "auStack_38[1] = uVar2;" (assignment_expression "auStack_38[1] = uVar2" (subscript_expression "auStack_38[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar2 = strcmp(pcVar5,"--help");" (assignment_expression "uVar2 = strcmp(pcVar5,"--help")" identifier = (call_expression "strcmp(pcVar5,"--help")" identifier (argument_list "(pcVar5,"--help")" ( identifier , (string_literal ""--help"" " string_content ") )))) ;) (if_statement "if (uVar2 == 0) {\n                    \n    FUN_00012fb0(0);\n  }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    FUN_00012fb0(0);\n  }" { (expression_statement "FUN_00012fb0(0);" (call_expression "FUN_00012fb0(0)" identifier (argument_list "(0)" ( number_literal ))) ;) })) (expression_statement "auStack_38[0] = uVar2;" (assignment_expression "auStack_38[0] = uVar2" (subscript_expression "auStack_38[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "auStack_38[1] = uVar2;" (assignment_expression "auStack_38[1] = uVar2" (subscript_expression "auStack_38[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "auStack_38[1] = strcmp(pcVar5,"--version");" (assignment_expression "auStack_38[1] = strcmp(pcVar5,"--version")" (subscript_expression "auStack_38[1]" identifier [ number_literal ]) = (call_expression "strcmp(pcVar5,"--version")" identifier (argument_list "(pcVar5,"--version")" ( identifier , (string_literal ""--version"" " string_content ") )))) ;) (if_statement "if (auStack_38[1] == 0) {\n    auStack_38[0] = 0;\n    local_24 = (char *)auStack_38[1];\n    FUN_00016080(*(undefined4 *)PTR_stdout_0001ffd0,"[","GNU coreutils",PTR_DAT_000200e8,\n                 "Kevin Braunsdorf","Matthew Bradburn");\n  }\n  else {\n    local_24 = "]";\n    auStack_38[0] = auStack_38[1];\n    iVar4 = strcmp((char *)puVar1[1],"]");\n    pcVar5 = local_24;\n    if (iVar4 != 0) goto LAB_00011533;\n    DAT_0002014c = 1;\n    local_24 = (char *)0x1;\n    DAT_00020150 = 1;\n  }" if (parenthesized_expression "(auStack_38[1] == 0)" ( (binary_expression "auStack_38[1] == 0" (subscript_expression "auStack_38[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    auStack_38[0] = 0;\n    local_24 = (char *)auStack_38[1];\n    FUN_00016080(*(undefined4 *)PTR_stdout_0001ffd0,"[","GNU coreutils",PTR_DAT_000200e8,\n                 "Kevin Braunsdorf","Matthew Bradburn");\n  }" { (expression_statement "auStack_38[0] = 0;" (assignment_expression "auStack_38[0] = 0" (subscript_expression "auStack_38[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_24 = (char *)auStack_38[1];" (assignment_expression "local_24 = (char *)auStack_38[1]" identifier = (cast_expression "(char *)auStack_38[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "auStack_38[1]" identifier [ number_literal ]))) ;) (expression_statement "FUN_00016080(*(undefined4 *)PTR_stdout_0001ffd0,"[","GNU coreutils",PTR_DAT_000200e8,\n                 "Kevin Braunsdorf","Matthew Bradburn");" (call_expression "FUN_00016080(*(undefined4 *)PTR_stdout_0001ffd0,"[","GNU coreutils",PTR_DAT_000200e8,\n                 "Kevin Braunsdorf","Matthew Bradburn")" identifier (argument_list "(*(undefined4 *)PTR_stdout_0001ffd0,"[","GNU coreutils",PTR_DAT_000200e8,\n                 "Kevin Braunsdorf","Matthew Bradburn")" ( (pointer_expression "*(undefined4 *)PTR_stdout_0001ffd0" * (cast_expression "(undefined4 *)PTR_stdout_0001ffd0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (string_literal ""["" " string_content ") , (string_literal ""GNU coreutils"" " string_content ") , identifier , (string_literal ""Kevin Braunsdorf"" " string_content ") , (string_literal ""Matthew Bradburn"" " string_content ") ))) ;) }) (else_clause "else {\n    local_24 = "]";\n    auStack_38[0] = auStack_38[1];\n    iVar4 = strcmp((char *)puVar1[1],"]");\n    pcVar5 = local_24;\n    if (iVar4 != 0) goto LAB_00011533;\n    DAT_0002014c = 1;\n    local_24 = (char *)0x1;\n    DAT_00020150 = 1;\n  }" else (compound_statement "{\n    local_24 = "]";\n    auStack_38[0] = auStack_38[1];\n    iVar4 = strcmp((char *)puVar1[1],"]");\n    pcVar5 = local_24;\n    if (iVar4 != 0) goto LAB_00011533;\n    DAT_0002014c = 1;\n    local_24 = (char *)0x1;\n    DAT_00020150 = 1;\n  }" { (expression_statement "local_24 = "]";" (assignment_expression "local_24 = "]"" identifier = (string_literal ""]"" " string_content ")) ;) (expression_statement "auStack_38[0] = auStack_38[1];" (assignment_expression "auStack_38[0] = auStack_38[1]" (subscript_expression "auStack_38[0]" identifier [ number_literal ]) = (subscript_expression "auStack_38[1]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = strcmp((char *)puVar1[1],"]");" (assignment_expression "iVar4 = strcmp((char *)puVar1[1],"]")" identifier = (call_expression "strcmp((char *)puVar1[1],"]")" identifier (argument_list "((char *)puVar1[1],"]")" ( (cast_expression "(char *)puVar1[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[1]" identifier [ number_literal ])) , (string_literal ""]"" " string_content ") )))) ;) (expression_statement "pcVar5 = local_24;" (assignment_expression "pcVar5 = local_24" identifier = identifier) ;) (if_statement "if (iVar4 != 0) goto LAB_00011533;" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00011533;" goto statement_identifier ;)) (expression_statement "DAT_0002014c = 1;" (assignment_expression "DAT_0002014c = 1" identifier = number_literal) ;) (expression_statement "local_24 = (char *)0x1;" (assignment_expression "local_24 = (char *)0x1" identifier = (cast_expression "(char *)0x1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "DAT_00020150 = 1;" (assignment_expression "DAT_00020150 = 1" identifier = number_literal) ;) }))) (return_statement "return local_24;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " ") ))) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ (binary_expression IDENT + LIT) ])) , (string_literal " string_content ") )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (goto_statement goto statement_identifier ;)) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT ^ LIT) )) & LIT) ))) ;) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ IDENT ])) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) }) while (parenthesized_expression ( BOOL )) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , (string_literal " string_content ") , (string_literal " string_content ") , IDENT , (string_literal " string_content ") , (string_literal " string_content ") ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) , (string_literal " string_content ") )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (return_statement return IDENT ;) })))
(function_definition "char * FUN_00011390(int param_1,undefined4 *param_2)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  int extraout_EDX;\n  uint *puVar8;\n  undefined1 *puVar9;\n  uint auStack_38 [2];\n  undefined1 auStack_30 [12];\n  char *local_24;\n  undefined4 *local_18;\n  \n  puVar1 = param_2;\n  iVar4 = param_1;\n  local_18 = &param_1;\n  FUN_00013490(*param_2);\n  setlocale(6,"");\n  local_24 = "coreutils";\n  bindtextdomain("coreutils","/usr/share/locale");\n  textdomain(local_24);\n  DAT_000200ec = 2;\n  uVar2 = FUN_000197c0(PTR_FUN_0001ffc8);\n  DAT_00020148 = puVar1;\n  if (iVar4 != 2) {\n    pcVar5 = "]";\n    if (1 < iVar4) {\n      local_24 = "]";\n      auStack_38[0] = uVar2;\n      auStack_38[1] = uVar2;\n      iVar3 = strcmp((char *)puVar1[iVar4 + -1],"]");\n      puVar9 = auStack_30;\n      pcVar5 = local_24;\n      if (iVar3 == 0) {\n        DAT_00020150 = 1;\n        DAT_0002014c = iVar4 + -1;\n        auStack_38[1] = 0x11461;\n        uVar2 = FUN_00012e50();\n        iVar4 = DAT_00020150;\n        if (DAT_00020150 != DAT_0002014c) goto LAB_0001155a;\n        return (char *)((uVar2 ^ 1) & 0xff);\n      }\n    }\nLAB_00011533:\n    uVar7 = FUN_00015770(pcVar5);\n    puVar8 = auStack_38;\n    auStack_38[0] = 5;\n    pcVar5 = "missing %s";\n    do {\n      *(char **)((int)puVar8 + -4) = pcVar5;\n      *(undefined4 *)((int)puVar8 + -8) = 0;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x11551;\n      uVar6 = dcgettext();\n      *(undefined4 *)((int)puVar8 + -4) = uVar7;\n      puVar9 = (undefined1 *)((int)puVar8 + -8);\n      *(undefined4 *)((int)puVar8 + -8) = uVar6;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x1155a;\n      FUN_00011890();\n      iVar4 = extraout_EDX;\nLAB_0001155a:\n      *(undefined4 *)(puVar9 + -0x10) = DAT_00020148[iVar4];\n      *(undefined4 *)(puVar9 + -0x14) = 0x1156b;\n      uVar7 = FUN_00015770();\n      puVar8 = (uint *)(puVar9 + -8);\n      *(undefined4 *)(puVar9 + -8) = 5;\n      pcVar5 = "extra argument %s";\n    } while( true );\n  }\n  pcVar5 = (char *)puVar1[1];\n  auStack_38[0] = uVar2;\n  auStack_38[1] = uVar2;\n  uVar2 = strcmp(pcVar5,"--help");\n  if (uVar2 == 0) {\n                    \n    FUN_00012fb0(0);\n  }\n  auStack_38[0] = uVar2;\n  auStack_38[1] = uVar2;\n  auStack_38[1] = strcmp(pcVar5,"--version");\n  if (auStack_38[1] == 0) {\n    auStack_38[0] = 0;\n    local_24 = (char *)auStack_38[1];\n    FUN_00016080(*(undefined4 *)PTR_stdout_0001ffd0,"[","GNU coreutils",PTR_DAT_000200e8,\n                 "Kevin Braunsdorf","Matthew Bradburn");\n  }\n  else {\n    local_24 = "]";\n    auStack_38[0] = auStack_38[1];\n    iVar4 = strcmp((char *)puVar1[1],"]");\n    pcVar5 = local_24;\n    if (iVar4 != 0) goto LAB_00011533;\n    DAT_0002014c = 1;\n    local_24 = (char *)0x1;\n    DAT_00020150 = 1;\n  }\n  return local_24;\n}" (primitive_type "char") (pointer_declarator "* FUN_00011390(int param_1,undefined4 *param_2)" (* "*") (function_declarator "FUN_00011390(int param_1,undefined4 *param_2)" (identifier "FUN_00011390") (parameter_list "(int param_1,undefined4 *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")")))) (compound_statement "{\n  undefined4 *puVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  undefined4 uVar6;\n  undefined4 uVar7;\n  int extraout_EDX;\n  uint *puVar8;\n  undefined1 *puVar9;\n  uint auStack_38 [2];\n  undefined1 auStack_30 [12];\n  char *local_24;\n  undefined4 *local_18;\n  \n  puVar1 = param_2;\n  iVar4 = param_1;\n  local_18 = &param_1;\n  FUN_00013490(*param_2);\n  setlocale(6,"");\n  local_24 = "coreutils";\n  bindtextdomain("coreutils","/usr/share/locale");\n  textdomain(local_24);\n  DAT_000200ec = 2;\n  uVar2 = FUN_000197c0(PTR_FUN_0001ffc8);\n  DAT_00020148 = puVar1;\n  if (iVar4 != 2) {\n    pcVar5 = "]";\n    if (1 < iVar4) {\n      local_24 = "]";\n      auStack_38[0] = uVar2;\n      auStack_38[1] = uVar2;\n      iVar3 = strcmp((char *)puVar1[iVar4 + -1],"]");\n      puVar9 = auStack_30;\n      pcVar5 = local_24;\n      if (iVar3 == 0) {\n        DAT_00020150 = 1;\n        DAT_0002014c = iVar4 + -1;\n        auStack_38[1] = 0x11461;\n        uVar2 = FUN_00012e50();\n        iVar4 = DAT_00020150;\n        if (DAT_00020150 != DAT_0002014c) goto LAB_0001155a;\n        return (char *)((uVar2 ^ 1) & 0xff);\n      }\n    }\nLAB_00011533:\n    uVar7 = FUN_00015770(pcVar5);\n    puVar8 = auStack_38;\n    auStack_38[0] = 5;\n    pcVar5 = "missing %s";\n    do {\n      *(char **)((int)puVar8 + -4) = pcVar5;\n      *(undefined4 *)((int)puVar8 + -8) = 0;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x11551;\n      uVar6 = dcgettext();\n      *(undefined4 *)((int)puVar8 + -4) = uVar7;\n      puVar9 = (undefined1 *)((int)puVar8 + -8);\n      *(undefined4 *)((int)puVar8 + -8) = uVar6;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x1155a;\n      FUN_00011890();\n      iVar4 = extraout_EDX;\nLAB_0001155a:\n      *(undefined4 *)(puVar9 + -0x10) = DAT_00020148[iVar4];\n      *(undefined4 *)(puVar9 + -0x14) = 0x1156b;\n      uVar7 = FUN_00015770();\n      puVar8 = (uint *)(puVar9 + -8);\n      *(undefined4 *)(puVar9 + -8) = 5;\n      pcVar5 = "extra argument %s";\n    } while( true );\n  }\n  pcVar5 = (char *)puVar1[1];\n  auStack_38[0] = uVar2;\n  auStack_38[1] = uVar2;\n  uVar2 = strcmp(pcVar5,"--help");\n  if (uVar2 == 0) {\n                    \n    FUN_00012fb0(0);\n  }\n  auStack_38[0] = uVar2;\n  auStack_38[1] = uVar2;\n  auStack_38[1] = strcmp(pcVar5,"--version");\n  if (auStack_38[1] == 0) {\n    auStack_38[0] = 0;\n    local_24 = (char *)auStack_38[1];\n    FUN_00016080(*(undefined4 *)PTR_stdout_0001ffd0,"[","GNU coreutils",PTR_DAT_000200e8,\n                 "Kevin Braunsdorf","Matthew Bradburn");\n  }\n  else {\n    local_24 = "]";\n    auStack_38[0] = auStack_38[1];\n    iVar4 = strcmp((char *)puVar1[1],"]");\n    pcVar5 = local_24;\n    if (iVar4 != 0) goto LAB_00011533;\n    DAT_0002014c = 1;\n    local_24 = (char *)0x1;\n    DAT_00020150 = 1;\n  }\n  return local_24;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "char *pcVar5;" (primitive_type "char") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "int extraout_EDX;" (primitive_type "int") (identifier "extraout_EDX") (; ";")) (declaration "uint *puVar8;" (type_identifier "uint") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "undefined1 *puVar9;" (type_identifier "undefined1") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "uint auStack_38 [2];" (type_identifier "uint") (array_declarator "auStack_38 [2]" (identifier "auStack_38") ([ "[") (number_literal "2") (] "]")) (; ";")) (declaration "undefined1 auStack_30 [12];" (type_identifier "undefined1") (array_declarator "auStack_30 [12]" (identifier "auStack_30") ([ "[") (number_literal "12") (] "]")) (; ";")) (declaration "char *local_24;" (primitive_type "char") (pointer_declarator "*local_24" (* "*") (identifier "local_24")) (; ";")) (declaration "undefined4 *local_18;" (type_identifier "undefined4") (pointer_declarator "*local_18" (* "*") (identifier "local_18")) (; ";")) (expression_statement "puVar1 = param_2;" (assignment_expression "puVar1 = param_2" (identifier "puVar1") (= "=") (identifier "param_2")) (; ";")) (expression_statement "iVar4 = param_1;" (assignment_expression "iVar4 = param_1" (identifier "iVar4") (= "=") (identifier "param_1")) (; ";")) (expression_statement "local_18 = &param_1;" (assignment_expression "local_18 = &param_1" (identifier "local_18") (= "=") (pointer_expression "&param_1" (& "&") (identifier "param_1"))) (; ";")) (expression_statement "FUN_00013490(*param_2);" (call_expression "FUN_00013490(*param_2)" (identifier "FUN_00013490") (argument_list "(*param_2)" (( "(") (pointer_expression "*param_2" (* "*") (identifier "param_2")) () ")"))) (; ";")) (expression_statement "setlocale(6,"");" (call_expression "setlocale(6,"")" (identifier "setlocale") (argument_list "(6,"")" (( "(") (number_literal "6") (, ",") (string_literal """" (" """) (" """)) () ")"))) (; ";")) (expression_statement "local_24 = "coreutils";" (assignment_expression "local_24 = "coreutils"" (identifier "local_24") (= "=") (string_literal ""coreutils"" (" """) (string_content "coreutils") (" """))) (; ";")) (expression_statement "bindtextdomain("coreutils","/usr/share/locale");" (call_expression "bindtextdomain("coreutils","/usr/share/locale")" (identifier "bindtextdomain") (argument_list "("coreutils","/usr/share/locale")" (( "(") (string_literal ""coreutils"" (" """) (string_content "coreutils") (" """)) (, ",") (string_literal ""/usr/share/locale"" (" """) (string_content "/usr/share/locale") (" """)) () ")"))) (; ";")) (expression_statement "textdomain(local_24);" (call_expression "textdomain(local_24)" (identifier "textdomain") (argument_list "(local_24)" (( "(") (identifier "local_24") () ")"))) (; ";")) (expression_statement "DAT_000200ec = 2;" (assignment_expression "DAT_000200ec = 2" (identifier "DAT_000200ec") (= "=") (number_literal "2")) (; ";")) (expression_statement "uVar2 = FUN_000197c0(PTR_FUN_0001ffc8);" (assignment_expression "uVar2 = FUN_000197c0(PTR_FUN_0001ffc8)" (identifier "uVar2") (= "=") (call_expression "FUN_000197c0(PTR_FUN_0001ffc8)" (identifier "FUN_000197c0") (argument_list "(PTR_FUN_0001ffc8)" (( "(") (identifier "PTR_FUN_0001ffc8") () ")")))) (; ";")) (expression_statement "DAT_00020148 = puVar1;" (assignment_expression "DAT_00020148 = puVar1" (identifier "DAT_00020148") (= "=") (identifier "puVar1")) (; ";")) (if_statement "if (iVar4 != 2) {\n    pcVar5 = "]";\n    if (1 < iVar4) {\n      local_24 = "]";\n      auStack_38[0] = uVar2;\n      auStack_38[1] = uVar2;\n      iVar3 = strcmp((char *)puVar1[iVar4 + -1],"]");\n      puVar9 = auStack_30;\n      pcVar5 = local_24;\n      if (iVar3 == 0) {\n        DAT_00020150 = 1;\n        DAT_0002014c = iVar4 + -1;\n        auStack_38[1] = 0x11461;\n        uVar2 = FUN_00012e50();\n        iVar4 = DAT_00020150;\n        if (DAT_00020150 != DAT_0002014c) goto LAB_0001155a;\n        return (char *)((uVar2 ^ 1) & 0xff);\n      }\n    }\nLAB_00011533:\n    uVar7 = FUN_00015770(pcVar5);\n    puVar8 = auStack_38;\n    auStack_38[0] = 5;\n    pcVar5 = "missing %s";\n    do {\n      *(char **)((int)puVar8 + -4) = pcVar5;\n      *(undefined4 *)((int)puVar8 + -8) = 0;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x11551;\n      uVar6 = dcgettext();\n      *(undefined4 *)((int)puVar8 + -4) = uVar7;\n      puVar9 = (undefined1 *)((int)puVar8 + -8);\n      *(undefined4 *)((int)puVar8 + -8) = uVar6;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x1155a;\n      FUN_00011890();\n      iVar4 = extraout_EDX;\nLAB_0001155a:\n      *(undefined4 *)(puVar9 + -0x10) = DAT_00020148[iVar4];\n      *(undefined4 *)(puVar9 + -0x14) = 0x1156b;\n      uVar7 = FUN_00015770();\n      puVar8 = (uint *)(puVar9 + -8);\n      *(undefined4 *)(puVar9 + -8) = 5;\n      pcVar5 = "extra argument %s";\n    } while( true );\n  }" (if "if") (parenthesized_expression "(iVar4 != 2)" (( "(") (binary_expression "iVar4 != 2" (identifier "iVar4") (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n    pcVar5 = "]";\n    if (1 < iVar4) {\n      local_24 = "]";\n      auStack_38[0] = uVar2;\n      auStack_38[1] = uVar2;\n      iVar3 = strcmp((char *)puVar1[iVar4 + -1],"]");\n      puVar9 = auStack_30;\n      pcVar5 = local_24;\n      if (iVar3 == 0) {\n        DAT_00020150 = 1;\n        DAT_0002014c = iVar4 + -1;\n        auStack_38[1] = 0x11461;\n        uVar2 = FUN_00012e50();\n        iVar4 = DAT_00020150;\n        if (DAT_00020150 != DAT_0002014c) goto LAB_0001155a;\n        return (char *)((uVar2 ^ 1) & 0xff);\n      }\n    }\nLAB_00011533:\n    uVar7 = FUN_00015770(pcVar5);\n    puVar8 = auStack_38;\n    auStack_38[0] = 5;\n    pcVar5 = "missing %s";\n    do {\n      *(char **)((int)puVar8 + -4) = pcVar5;\n      *(undefined4 *)((int)puVar8 + -8) = 0;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x11551;\n      uVar6 = dcgettext();\n      *(undefined4 *)((int)puVar8 + -4) = uVar7;\n      puVar9 = (undefined1 *)((int)puVar8 + -8);\n      *(undefined4 *)((int)puVar8 + -8) = uVar6;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x1155a;\n      FUN_00011890();\n      iVar4 = extraout_EDX;\nLAB_0001155a:\n      *(undefined4 *)(puVar9 + -0x10) = DAT_00020148[iVar4];\n      *(undefined4 *)(puVar9 + -0x14) = 0x1156b;\n      uVar7 = FUN_00015770();\n      puVar8 = (uint *)(puVar9 + -8);\n      *(undefined4 *)(puVar9 + -8) = 5;\n      pcVar5 = "extra argument %s";\n    } while( true );\n  }" ({ "{") (expression_statement "pcVar5 = "]";" (assignment_expression "pcVar5 = "]"" (identifier "pcVar5") (= "=") (string_literal ""]"" (" """) (string_content "]") (" """))) (; ";")) (if_statement "if (1 < iVar4) {\n      local_24 = "]";\n      auStack_38[0] = uVar2;\n      auStack_38[1] = uVar2;\n      iVar3 = strcmp((char *)puVar1[iVar4 + -1],"]");\n      puVar9 = auStack_30;\n      pcVar5 = local_24;\n      if (iVar3 == 0) {\n        DAT_00020150 = 1;\n        DAT_0002014c = iVar4 + -1;\n        auStack_38[1] = 0x11461;\n        uVar2 = FUN_00012e50();\n        iVar4 = DAT_00020150;\n        if (DAT_00020150 != DAT_0002014c) goto LAB_0001155a;\n        return (char *)((uVar2 ^ 1) & 0xff);\n      }\n    }" (if "if") (parenthesized_expression "(1 < iVar4)" (( "(") (binary_expression "1 < iVar4" (number_literal "1") (< "<") (identifier "iVar4")) () ")")) (compound_statement "{\n      local_24 = "]";\n      auStack_38[0] = uVar2;\n      auStack_38[1] = uVar2;\n      iVar3 = strcmp((char *)puVar1[iVar4 + -1],"]");\n      puVar9 = auStack_30;\n      pcVar5 = local_24;\n      if (iVar3 == 0) {\n        DAT_00020150 = 1;\n        DAT_0002014c = iVar4 + -1;\n        auStack_38[1] = 0x11461;\n        uVar2 = FUN_00012e50();\n        iVar4 = DAT_00020150;\n        if (DAT_00020150 != DAT_0002014c) goto LAB_0001155a;\n        return (char *)((uVar2 ^ 1) & 0xff);\n      }\n    }" ({ "{") (expression_statement "local_24 = "]";" (assignment_expression "local_24 = "]"" (identifier "local_24") (= "=") (string_literal ""]"" (" """) (string_content "]") (" """))) (; ";")) (expression_statement "auStack_38[0] = uVar2;" (assignment_expression "auStack_38[0] = uVar2" (subscript_expression "auStack_38[0]" (identifier "auStack_38") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "auStack_38[1] = uVar2;" (assignment_expression "auStack_38[1] = uVar2" (subscript_expression "auStack_38[1]" (identifier "auStack_38") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "iVar3 = strcmp((char *)puVar1[iVar4 + -1],"]");" (assignment_expression "iVar3 = strcmp((char *)puVar1[iVar4 + -1],"]")" (identifier "iVar3") (= "=") (call_expression "strcmp((char *)puVar1[iVar4 + -1],"]")" (identifier "strcmp") (argument_list "((char *)puVar1[iVar4 + -1],"]")" (( "(") (cast_expression "(char *)puVar1[iVar4 + -1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar1[iVar4 + -1]" (identifier "puVar1") ([ "[") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1")) (] "]"))) (, ",") (string_literal ""]"" (" """) (string_content "]") (" """)) () ")")))) (; ";")) (expression_statement "puVar9 = auStack_30;" (assignment_expression "puVar9 = auStack_30" (identifier "puVar9") (= "=") (identifier "auStack_30")) (; ";")) (expression_statement "pcVar5 = local_24;" (assignment_expression "pcVar5 = local_24" (identifier "pcVar5") (= "=") (identifier "local_24")) (; ";")) (if_statement "if (iVar3 == 0) {\n        DAT_00020150 = 1;\n        DAT_0002014c = iVar4 + -1;\n        auStack_38[1] = 0x11461;\n        uVar2 = FUN_00012e50();\n        iVar4 = DAT_00020150;\n        if (DAT_00020150 != DAT_0002014c) goto LAB_0001155a;\n        return (char *)((uVar2 ^ 1) & 0xff);\n      }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        DAT_00020150 = 1;\n        DAT_0002014c = iVar4 + -1;\n        auStack_38[1] = 0x11461;\n        uVar2 = FUN_00012e50();\n        iVar4 = DAT_00020150;\n        if (DAT_00020150 != DAT_0002014c) goto LAB_0001155a;\n        return (char *)((uVar2 ^ 1) & 0xff);\n      }" ({ "{") (expression_statement "DAT_00020150 = 1;" (assignment_expression "DAT_00020150 = 1" (identifier "DAT_00020150") (= "=") (number_literal "1")) (; ";")) (expression_statement "DAT_0002014c = iVar4 + -1;" (assignment_expression "DAT_0002014c = iVar4 + -1" (identifier "DAT_0002014c") (= "=") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "auStack_38[1] = 0x11461;" (assignment_expression "auStack_38[1] = 0x11461" (subscript_expression "auStack_38[1]" (identifier "auStack_38") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0x11461")) (; ";")) (expression_statement "uVar2 = FUN_00012e50();" (assignment_expression "uVar2 = FUN_00012e50()" (identifier "uVar2") (= "=") (call_expression "FUN_00012e50()" (identifier "FUN_00012e50") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar4 = DAT_00020150;" (assignment_expression "iVar4 = DAT_00020150" (identifier "iVar4") (= "=") (identifier "DAT_00020150")) (; ";")) (if_statement "if (DAT_00020150 != DAT_0002014c) goto LAB_0001155a;" (if "if") (parenthesized_expression "(DAT_00020150 != DAT_0002014c)" (( "(") (binary_expression "DAT_00020150 != DAT_0002014c" (identifier "DAT_00020150") (!= "!=") (identifier "DAT_0002014c")) () ")")) (goto_statement "goto LAB_0001155a;" (goto "goto") (statement_identifier "LAB_0001155a") (; ";"))) (return_statement "return (char *)((uVar2 ^ 1) & 0xff);" (return "return") (cast_expression "(char *)((uVar2 ^ 1) & 0xff)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((uVar2 ^ 1) & 0xff)" (( "(") (binary_expression "(uVar2 ^ 1) & 0xff" (parenthesized_expression "(uVar2 ^ 1)" (( "(") (binary_expression "uVar2 ^ 1" (identifier "uVar2") (^ "^") (number_literal "1")) () ")")) (& "&") (number_literal "0xff")) () ")"))) (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_00011533:\n    uVar7 = FUN_00015770(pcVar5);" (statement_identifier "LAB_00011533") (: ":") (expression_statement "uVar7 = FUN_00015770(pcVar5);" (assignment_expression "uVar7 = FUN_00015770(pcVar5)" (identifier "uVar7") (= "=") (call_expression "FUN_00015770(pcVar5)" (identifier "FUN_00015770") (argument_list "(pcVar5)" (( "(") (identifier "pcVar5") () ")")))) (; ";"))) (expression_statement "puVar8 = auStack_38;" (assignment_expression "puVar8 = auStack_38" (identifier "puVar8") (= "=") (identifier "auStack_38")) (; ";")) (expression_statement "auStack_38[0] = 5;" (assignment_expression "auStack_38[0] = 5" (subscript_expression "auStack_38[0]" (identifier "auStack_38") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "5")) (; ";")) (expression_statement "pcVar5 = "missing %s";" (assignment_expression "pcVar5 = "missing %s"" (identifier "pcVar5") (= "=") (string_literal ""missing %s"" (" """) (string_content "missing %s") (" """))) (; ";")) (do_statement "do {\n      *(char **)((int)puVar8 + -4) = pcVar5;\n      *(undefined4 *)((int)puVar8 + -8) = 0;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x11551;\n      uVar6 = dcgettext();\n      *(undefined4 *)((int)puVar8 + -4) = uVar7;\n      puVar9 = (undefined1 *)((int)puVar8 + -8);\n      *(undefined4 *)((int)puVar8 + -8) = uVar6;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x1155a;\n      FUN_00011890();\n      iVar4 = extraout_EDX;\nLAB_0001155a:\n      *(undefined4 *)(puVar9 + -0x10) = DAT_00020148[iVar4];\n      *(undefined4 *)(puVar9 + -0x14) = 0x1156b;\n      uVar7 = FUN_00015770();\n      puVar8 = (uint *)(puVar9 + -8);\n      *(undefined4 *)(puVar9 + -8) = 5;\n      pcVar5 = "extra argument %s";\n    } while( true );" (do "do") (compound_statement "{\n      *(char **)((int)puVar8 + -4) = pcVar5;\n      *(undefined4 *)((int)puVar8 + -8) = 0;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x11551;\n      uVar6 = dcgettext();\n      *(undefined4 *)((int)puVar8 + -4) = uVar7;\n      puVar9 = (undefined1 *)((int)puVar8 + -8);\n      *(undefined4 *)((int)puVar8 + -8) = uVar6;\n      *(undefined4 *)((int)puVar8 + -0xc) = 0x1155a;\n      FUN_00011890();\n      iVar4 = extraout_EDX;\nLAB_0001155a:\n      *(undefined4 *)(puVar9 + -0x10) = DAT_00020148[iVar4];\n      *(undefined4 *)(puVar9 + -0x14) = 0x1156b;\n      uVar7 = FUN_00015770();\n      puVar8 = (uint *)(puVar9 + -8);\n      *(undefined4 *)(puVar9 + -8) = 5;\n      pcVar5 = "extra argument %s";\n    }" ({ "{") (expression_statement "*(char **)((int)puVar8 + -4) = pcVar5;" (assignment_expression "*(char **)((int)puVar8 + -4) = pcVar5" (pointer_expression "*(char **)((int)puVar8 + -4)" (* "*") (cast_expression "(char **)((int)puVar8 + -4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)puVar8 + -4)" (( "(") (binary_expression "(int)puVar8 + -4" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-4")) () ")")))) (= "=") (identifier "pcVar5")) (; ";")) (expression_statement "*(undefined4 *)((int)puVar8 + -8) = 0;" (assignment_expression "*(undefined4 *)((int)puVar8 + -8) = 0" (pointer_expression "*(undefined4 *)((int)puVar8 + -8)" (* "*") (cast_expression "(undefined4 *)((int)puVar8 + -8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + -8)" (( "(") (binary_expression "(int)puVar8 + -8" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)((int)puVar8 + -0xc) = 0x11551;" (assignment_expression "*(undefined4 *)((int)puVar8 + -0xc) = 0x11551" (pointer_expression "*(undefined4 *)((int)puVar8 + -0xc)" (* "*") (cast_expression "(undefined4 *)((int)puVar8 + -0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + -0xc)" (( "(") (binary_expression "(int)puVar8 + -0xc" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (number_literal "0x11551")) (; ";")) (expression_statement "uVar6 = dcgettext();" (assignment_expression "uVar6 = dcgettext()" (identifier "uVar6") (= "=") (call_expression "dcgettext()" (identifier "dcgettext") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(undefined4 *)((int)puVar8 + -4) = uVar7;" (assignment_expression "*(undefined4 *)((int)puVar8 + -4) = uVar7" (pointer_expression "*(undefined4 *)((int)puVar8 + -4)" (* "*") (cast_expression "(undefined4 *)((int)puVar8 + -4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + -4)" (( "(") (binary_expression "(int)puVar8 + -4" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-4")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "puVar9 = (undefined1 *)((int)puVar8 + -8);" (assignment_expression "puVar9 = (undefined1 *)((int)puVar8 + -8)" (identifier "puVar9") (= "=") (cast_expression "(undefined1 *)((int)puVar8 + -8)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + -8)" (( "(") (binary_expression "(int)puVar8 + -8" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-8")) () ")")))) (; ";")) (expression_statement "*(undefined4 *)((int)puVar8 + -8) = uVar6;" (assignment_expression "*(undefined4 *)((int)puVar8 + -8) = uVar6" (pointer_expression "*(undefined4 *)((int)puVar8 + -8)" (* "*") (cast_expression "(undefined4 *)((int)puVar8 + -8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + -8)" (( "(") (binary_expression "(int)puVar8 + -8" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-8")) () ")")))) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "*(undefined4 *)((int)puVar8 + -0xc) = 0x1155a;" (assignment_expression "*(undefined4 *)((int)puVar8 + -0xc) = 0x1155a" (pointer_expression "*(undefined4 *)((int)puVar8 + -0xc)" (* "*") (cast_expression "(undefined4 *)((int)puVar8 + -0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + -0xc)" (( "(") (binary_expression "(int)puVar8 + -0xc" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (number_literal "0x1155a")) (; ";")) (expression_statement "FUN_00011890();" (call_expression "FUN_00011890()" (identifier "FUN_00011890") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar4 = extraout_EDX;" (assignment_expression "iVar4 = extraout_EDX" (identifier "iVar4") (= "=") (identifier "extraout_EDX")) (; ";")) (labeled_statement "LAB_0001155a:\n      *(undefined4 *)(puVar9 + -0x10) = DAT_00020148[iVar4];" (statement_identifier "LAB_0001155a") (: ":") (expression_statement "*(undefined4 *)(puVar9 + -0x10) = DAT_00020148[iVar4];" (assignment_expression "*(undefined4 *)(puVar9 + -0x10) = DAT_00020148[iVar4]" (pointer_expression "*(undefined4 *)(puVar9 + -0x10)" (* "*") (cast_expression "(undefined4 *)(puVar9 + -0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + -0x10)" (( "(") (binary_expression "puVar9 + -0x10" (identifier "puVar9") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (subscript_expression "DAT_00020148[iVar4]" (identifier "DAT_00020148") ([ "[") (identifier "iVar4") (] "]"))) (; ";"))) (expression_statement "*(undefined4 *)(puVar9 + -0x14) = 0x1156b;" (assignment_expression "*(undefined4 *)(puVar9 + -0x14) = 0x1156b" (pointer_expression "*(undefined4 *)(puVar9 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar9 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + -0x14)" (( "(") (binary_expression "puVar9 + -0x14" (identifier "puVar9") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x1156b")) (; ";")) (expression_statement "uVar7 = FUN_00015770();" (assignment_expression "uVar7 = FUN_00015770()" (identifier "uVar7") (= "=") (call_expression "FUN_00015770()" (identifier "FUN_00015770") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar8 = (uint *)(puVar9 + -8);" (assignment_expression "puVar8 = (uint *)(puVar9 + -8)" (identifier "puVar8") (= "=") (cast_expression "(uint *)(puVar9 + -8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + -8)" (( "(") (binary_expression "puVar9 + -8" (identifier "puVar9") (+ "+") (number_literal "-8")) () ")")))) (; ";")) (expression_statement "*(undefined4 *)(puVar9 + -8) = 5;" (assignment_expression "*(undefined4 *)(puVar9 + -8) = 5" (pointer_expression "*(undefined4 *)(puVar9 + -8)" (* "*") (cast_expression "(undefined4 *)(puVar9 + -8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + -8)" (( "(") (binary_expression "puVar9 + -8" (identifier "puVar9") (+ "+") (number_literal "-8")) () ")")))) (= "=") (number_literal "5")) (; ";")) (expression_statement "pcVar5 = "extra argument %s";" (assignment_expression "pcVar5 = "extra argument %s"" (identifier "pcVar5") (= "=") (string_literal ""extra argument %s"" (" """) (string_content "extra argument %s") (" """))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (expression_statement "pcVar5 = (char *)puVar1[1];" (assignment_expression "pcVar5 = (char *)puVar1[1]" (identifier "pcVar5") (= "=") (cast_expression "(char *)puVar1[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "auStack_38[0] = uVar2;" (assignment_expression "auStack_38[0] = uVar2" (subscript_expression "auStack_38[0]" (identifier "auStack_38") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "auStack_38[1] = uVar2;" (assignment_expression "auStack_38[1] = uVar2" (subscript_expression "auStack_38[1]" (identifier "auStack_38") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "uVar2 = strcmp(pcVar5,"--help");" (assignment_expression "uVar2 = strcmp(pcVar5,"--help")" (identifier "uVar2") (= "=") (call_expression "strcmp(pcVar5,"--help")" (identifier "strcmp") (argument_list "(pcVar5,"--help")" (( "(") (identifier "pcVar5") (, ",") (string_literal ""--help"" (" """) (string_content "--help") (" """)) () ")")))) (; ";")) (if_statement "if (uVar2 == 0) {\n                    \n    FUN_00012fb0(0);\n  }" (if "if") (parenthesized_expression "(uVar2 == 0)" (( "(") (binary_expression "uVar2 == 0" (identifier "uVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_00012fb0(0);\n  }" ({ "{") (expression_statement "FUN_00012fb0(0);" (call_expression "FUN_00012fb0(0)" (identifier "FUN_00012fb0") (argument_list "(0)" (( "(") (number_literal "0") () ")"))) (; ";")) (} "}"))) (expression_statement "auStack_38[0] = uVar2;" (assignment_expression "auStack_38[0] = uVar2" (subscript_expression "auStack_38[0]" (identifier "auStack_38") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "auStack_38[1] = uVar2;" (assignment_expression "auStack_38[1] = uVar2" (subscript_expression "auStack_38[1]" (identifier "auStack_38") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "auStack_38[1] = strcmp(pcVar5,"--version");" (assignment_expression "auStack_38[1] = strcmp(pcVar5,"--version")" (subscript_expression "auStack_38[1]" (identifier "auStack_38") ([ "[") (number_literal "1") (] "]")) (= "=") (call_expression "strcmp(pcVar5,"--version")" (identifier "strcmp") (argument_list "(pcVar5,"--version")" (( "(") (identifier "pcVar5") (, ",") (string_literal ""--version"" (" """) (string_content "--version") (" """)) () ")")))) (; ";")) (if_statement "if (auStack_38[1] == 0) {\n    auStack_38[0] = 0;\n    local_24 = (char *)auStack_38[1];\n    FUN_00016080(*(undefined4 *)PTR_stdout_0001ffd0,"[","GNU coreutils",PTR_DAT_000200e8,\n                 "Kevin Braunsdorf","Matthew Bradburn");\n  }\n  else {\n    local_24 = "]";\n    auStack_38[0] = auStack_38[1];\n    iVar4 = strcmp((char *)puVar1[1],"]");\n    pcVar5 = local_24;\n    if (iVar4 != 0) goto LAB_00011533;\n    DAT_0002014c = 1;\n    local_24 = (char *)0x1;\n    DAT_00020150 = 1;\n  }" (if "if") (parenthesized_expression "(auStack_38[1] == 0)" (( "(") (binary_expression "auStack_38[1] == 0" (subscript_expression "auStack_38[1]" (identifier "auStack_38") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    auStack_38[0] = 0;\n    local_24 = (char *)auStack_38[1];\n    FUN_00016080(*(undefined4 *)PTR_stdout_0001ffd0,"[","GNU coreutils",PTR_DAT_000200e8,\n                 "Kevin Braunsdorf","Matthew Bradburn");\n  }" ({ "{") (expression_statement "auStack_38[0] = 0;" (assignment_expression "auStack_38[0] = 0" (subscript_expression "auStack_38[0]" (identifier "auStack_38") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_24 = (char *)auStack_38[1];" (assignment_expression "local_24 = (char *)auStack_38[1]" (identifier "local_24") (= "=") (cast_expression "(char *)auStack_38[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "auStack_38[1]" (identifier "auStack_38") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "FUN_00016080(*(undefined4 *)PTR_stdout_0001ffd0,"[","GNU coreutils",PTR_DAT_000200e8,\n                 "Kevin Braunsdorf","Matthew Bradburn");" (call_expression "FUN_00016080(*(undefined4 *)PTR_stdout_0001ffd0,"[","GNU coreutils",PTR_DAT_000200e8,\n                 "Kevin Braunsdorf","Matthew Bradburn")" (identifier "FUN_00016080") (argument_list "(*(undefined4 *)PTR_stdout_0001ffd0,"[","GNU coreutils",PTR_DAT_000200e8,\n                 "Kevin Braunsdorf","Matthew Bradburn")" (( "(") (pointer_expression "*(undefined4 *)PTR_stdout_0001ffd0" (* "*") (cast_expression "(undefined4 *)PTR_stdout_0001ffd0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stdout_0001ffd0"))) (, ",") (string_literal ""["" (" """) (string_content "[") (" """)) (, ",") (string_literal ""GNU coreutils"" (" """) (string_content "GNU coreutils") (" """)) (, ",") (identifier "PTR_DAT_000200e8") (, ",") (string_literal ""Kevin Braunsdorf"" (" """) (string_content "Kevin Braunsdorf") (" """)) (, ",") (string_literal ""Matthew Bradburn"" (" """) (string_content "Matthew Bradburn") (" """)) () ")"))) (; ";")) (} "}")) (else_clause "else {\n    local_24 = "]";\n    auStack_38[0] = auStack_38[1];\n    iVar4 = strcmp((char *)puVar1[1],"]");\n    pcVar5 = local_24;\n    if (iVar4 != 0) goto LAB_00011533;\n    DAT_0002014c = 1;\n    local_24 = (char *)0x1;\n    DAT_00020150 = 1;\n  }" (else "else") (compound_statement "{\n    local_24 = "]";\n    auStack_38[0] = auStack_38[1];\n    iVar4 = strcmp((char *)puVar1[1],"]");\n    pcVar5 = local_24;\n    if (iVar4 != 0) goto LAB_00011533;\n    DAT_0002014c = 1;\n    local_24 = (char *)0x1;\n    DAT_00020150 = 1;\n  }" ({ "{") (expression_statement "local_24 = "]";" (assignment_expression "local_24 = "]"" (identifier "local_24") (= "=") (string_literal ""]"" (" """) (string_content "]") (" """))) (; ";")) (expression_statement "auStack_38[0] = auStack_38[1];" (assignment_expression "auStack_38[0] = auStack_38[1]" (subscript_expression "auStack_38[0]" (identifier "auStack_38") ([ "[") (number_literal "0") (] "]")) (= "=") (subscript_expression "auStack_38[1]" (identifier "auStack_38") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar4 = strcmp((char *)puVar1[1],"]");" (assignment_expression "iVar4 = strcmp((char *)puVar1[1],"]")" (identifier "iVar4") (= "=") (call_expression "strcmp((char *)puVar1[1],"]")" (identifier "strcmp") (argument_list "((char *)puVar1[1],"]")" (( "(") (cast_expression "(char *)puVar1[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) (, ",") (string_literal ""]"" (" """) (string_content "]") (" """)) () ")")))) (; ";")) (expression_statement "pcVar5 = local_24;" (assignment_expression "pcVar5 = local_24" (identifier "pcVar5") (= "=") (identifier "local_24")) (; ";")) (if_statement "if (iVar4 != 0) goto LAB_00011533;" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00011533;" (goto "goto") (statement_identifier "LAB_00011533") (; ";"))) (expression_statement "DAT_0002014c = 1;" (assignment_expression "DAT_0002014c = 1" (identifier "DAT_0002014c") (= "=") (number_literal "1")) (; ";")) (expression_statement "local_24 = (char *)0x1;" (assignment_expression "local_24 = (char *)0x1" (identifier "local_24") (= "=") (cast_expression "(char *)0x1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1"))) (; ";")) (expression_statement "DAT_00020150 = 1;" (assignment_expression "DAT_00020150 = 1" (identifier "DAT_00020150") (= "=") (number_literal "1")) (; ";")) (} "}")))) (return_statement "return local_24;" (return "return") (identifier "local_24") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int function_1(int var_6,char **margv)

{
  type_1 _Var1;
  int var_8;
  char *pcVar3;
  char *pcVar4;
  
  var_1(*margv);
  var_2(6,"");
  var_3("coreutils","/usr/share/locale");
  var_4("coreutils");
  exit_failure = 2;
  var_5((type_2 *)PTR_close_stdout_0001ffc8);
  argv = margv;
  if (var_6 == 2) {
    pcVar3 = margv[1];
    var_8 = var_7(pcVar3,"--help");
    if (var_8 == 0) {
                    /* WARNING: Subroutine does not return */
      var_9(0);
    }
    var_8 = var_7(pcVar3,"--version");
    if (var_8 == 0) {
      var_10(*(type_3 **)PTR_stdout_0001ffd0,"[","GNU coreutils",Version,"Kevin Braunsdorf",
                  "Matthew Bradburn",0,0);
      return 0;
    }
    var_8 = var_7(margv[1],"]");
    if (var_8 == 0) {
      var_13 = 1;
      var_12 = 1;
      return 1;
    }
  }
  else if ((1 < var_6) && (var_8 = var_7(margv[var_6 + -1],"]"), var_8 == 0)) {
    var_12 = 1;
    var_13 = var_6 + -1;
    _Var1 = var_11(var_6 + -2);
    if (var_12 == var_13) {
      return (type_4)!_Var1;
    }
    pcVar4 = var_14(argv[var_12]);
    pcVar3 = "extra argument %s";
    goto LAB_00011549;
  }
  pcVar4 = var_14("]");
  pcVar3 = "missing %s";
LAB_00011549:
  pcVar3 = (char *)var_15(0,pcVar3,5);
                    /* WARNING: Subroutine does not return */
  var_16(pcVar3,pcVar4);
}


(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal)))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (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: (identifier) right: (string_literal (string_content)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal)))) (string_literal (string_content)))))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (return_statement (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (subscript_expression argument: (identifier) index: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (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)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content))))) condition: (parenthesized_expression (true))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) (string_literal (string_content)) (string_literal (string_content)) (identifier) (string_literal (string_content)) (string_literal (string_content)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) (string_literal (string_content)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_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: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (return_statement (identifier)))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

char * MASKED(int param_1,undefined4 *param_2)

{
  undefined4 *puVar1;
  uint uVar2;
  int iVar3;
  int iVar4;
  char *pcVar5;
  undefined4 uVar6;
  undefined4 uVar7;
  int extraout_EDX;
  uint *puVar8;
  undefined1 *puVar9;
  uint auStack_38 [2];
  undefined1 auStack_30 [12];
  char *local_24;
  undefined4 *local_18;
  
  puVar1 = param_2;
  iVar4 = param_1;
  local_18 = &param_1;
  FUN_00013490(*param_2);
  setlocale(6,"");
  local_24 = "coreutils";
  bindtextdomain("coreutils","/usr/share/locale");
  textdomain(local_24);
  DAT_000200ec = 2;
  uVar2 = FUN_000197c0(PTR_FUN_0001ffc8);
  DAT_00020148 = puVar1;
  if (iVar4 != 2) {
    pcVar5 = "]";
    if (1 < iVar4) {
      local_24 = "]";
      auStack_38[0] = uVar2;
      auStack_38[1] = uVar2;
      iVar3 = strcmp((char *)puVar1[iVar4 + -1],"]");
      puVar9 = auStack_30;
      pcVar5 = local_24;
      if (iVar3 == 0) {
        DAT_00020150 = 1;
        DAT_0002014c = iVar4 + -1;
        auStack_38[1] = 0x11461;
        uVar2 = FUN_00012e50();
        iVar4 = DAT_00020150;
        if (DAT_00020150 != DAT_0002014c) goto LAB_0001155a;
        return (char *)((uVar2 ^ 1) & 0xff);
      }
    }
LAB_00011533:
    uVar7 = FUN_00015770(pcVar5);
    puVar8 = auStack_38;
    auStack_38[0] = 5;
    pcVar5 = "missing %s";
    do {
      *(char **)((int)puVar8 + -4) = pcVar5;
      *(undefined4 *)((int)puVar8 + -8) = 0;
      *(undefined4 *)((int)puVar8 + -0xc) = 0x11551;
      uVar6 = dcgettext();
      *(undefined4 *)((int)puVar8 + -4) = uVar7;
      puVar9 = (undefined1 *)((int)puVar8 + -8);
      *(undefined4 *)((int)puVar8 + -8) = uVar6;
      *(undefined4 *)((int)puVar8 + -0xc) = 0x1155a;
      FUN_00011890();
      iVar4 = extraout_EDX;
LAB_0001155a:
      *(undefined4 *)(puVar9 + -0x10) = DAT_00020148[iVar4];
      *(undefined4 *)(puVar9 + -0x14) = 0x1156b;
      uVar7 = FUN_00015770();
      puVar8 = (uint *)(puVar9 + -8);
      *(undefined4 *)(puVar9 + -8) = 5;
      pcVar5 = "extra argument %s";
    } while( true );
  }
  pcVar5 = (char *)puVar1[1];
  auStack_38[0] = uVar2;
  auStack_38[1] = uVar2;
  uVar2 = strcmp(pcVar5,"--help");
  if (uVar2 == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_00012fb0(0);
  }
  auStack_38[0] = uVar2;
  auStack_38[1] = uVar2;
  auStack_38[1] = strcmp(pcVar5,"--version");
  if (auStack_38[1] == 0) {
    auStack_38[0] = 0;
    local_24 = (char *)auStack_38[1];
    FUN_00016080(*(undefined4 *)PTR_stdout_0001ffd0,"[","GNU coreutils",PTR_DAT_000200e8,
                 "Kevin Braunsdorf","Matthew Bradburn");
  }
  else {
    local_24 = "]";
    auStack_38[0] = auStack_38[1];
    iVar4 = strcmp((char *)puVar1[1],"]");
    pcVar5 = local_24;
    if (iVar4 != 0) goto LAB_00011533;
    DAT_0002014c = 1;
    local_24 = (char *)0x1;
    DAT_00020150 = 1;
  }
  return local_24;
}

