
void put_indicator(bin_str *ind)

{
  __pid_t _Var1;
  
  if (!used_color) {
    used_color = true;
    _Var1 = tcgetpgrp(1);
    if (-1 < _Var1) {
      signal_setup(true);
    }
    prep_non_filename_text();
  }
  fwrite_unlocked(ind->string,ind->len,1,*(FILE **)PTR_stdout_00120f98);
  return;
}



void FUN_001076db(size_t *param_1)

{
  __pid_t _Var1;
  
  if (DAT_00122630 == '\0') {
    DAT_00122630 = '\x01';
    _Var1 = tcgetpgrp(1);
    if (-1 < _Var1) {
      FUN_00107541(1);
    }
    FUN_0010772d();
  }
  fwrite_unlocked((void *)param_1[1],*param_1,1,*(FILE **)PTR_stdout_00120f98);
  return;
}


PUSH RBX
MOV RBX,RDI
CMP byte ptr [0x00122630],0x0
JZ 0x00107705
MOV RDI,qword ptr [RBX + 0x8]
MOV RAX,qword ptr [0x00120f98]
MOV RCX,qword ptr [RAX]
MOV EDX,0x1
MOV RSI,qword ptr [RBX]
CALL 0x001044f0
POP RBX
RET
MOV byte ptr [0x00122630],0x1
MOV EDI,0x1
CALL 0x00104450
TEST EAX,EAX
JNS 0x00107721
CALL 0x0010772d
JMP 0x001076e8
MOV EDI,0x1
CALL 0x00107541
JMP 0x0010771a
(translation_unit "void FUN_001076db(size_t *param_1)\n\n{\n  __pid_t _Var1;\n  \n  if (DAT_00122630 == '\0') {\n    DAT_00122630 = '\x01';\n    _Var1 = tcgetpgrp(1);\n    if (-1 < _Var1) {\n      FUN_00107541(1);\n    }\n    FUN_0010772d();\n  }\n  fwrite_unlocked((void *)param_1[1],*param_1,1,*(FILE **)PTR_stdout_00120f98);\n  return;\n}\n\n" (function_definition "void FUN_001076db(size_t *param_1)\n\n{\n  __pid_t _Var1;\n  \n  if (DAT_00122630 == '\0') {\n    DAT_00122630 = '\x01';\n    _Var1 = tcgetpgrp(1);\n    if (-1 < _Var1) {\n      FUN_00107541(1);\n    }\n    FUN_0010772d();\n  }\n  fwrite_unlocked((void *)param_1[1],*param_1,1,*(FILE **)PTR_stdout_00120f98);\n  return;\n}" primitive_type (function_declarator "FUN_001076db(size_t *param_1)" identifier (parameter_list "(size_t *param_1)" ( (parameter_declaration "size_t *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  __pid_t _Var1;\n  \n  if (DAT_00122630 == '\0') {\n    DAT_00122630 = '\x01';\n    _Var1 = tcgetpgrp(1);\n    if (-1 < _Var1) {\n      FUN_00107541(1);\n    }\n    FUN_0010772d();\n  }\n  fwrite_unlocked((void *)param_1[1],*param_1,1,*(FILE **)PTR_stdout_00120f98);\n  return;\n}" { (declaration "__pid_t _Var1;" type_identifier identifier ;) (if_statement "if (DAT_00122630 == '\0') {\n    DAT_00122630 = '\x01';\n    _Var1 = tcgetpgrp(1);\n    if (-1 < _Var1) {\n      FUN_00107541(1);\n    }\n    FUN_0010772d();\n  }" if (parenthesized_expression "(DAT_00122630 == '\0')" ( (binary_expression "DAT_00122630 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    DAT_00122630 = '\x01';\n    _Var1 = tcgetpgrp(1);\n    if (-1 < _Var1) {\n      FUN_00107541(1);\n    }\n    FUN_0010772d();\n  }" { (expression_statement "DAT_00122630 = '\x01';" (assignment_expression "DAT_00122630 = '\x01'" identifier = (char_literal "'\x01'" ' escape_sequence ')) ;) (expression_statement "_Var1 = tcgetpgrp(1);" (assignment_expression "_Var1 = tcgetpgrp(1)" identifier = (call_expression "tcgetpgrp(1)" identifier (argument_list "(1)" ( number_literal )))) ;) (if_statement "if (-1 < _Var1) {\n      FUN_00107541(1);\n    }" if (parenthesized_expression "(-1 < _Var1)" ( (binary_expression "-1 < _Var1" number_literal < identifier) )) (compound_statement "{\n      FUN_00107541(1);\n    }" { (expression_statement "FUN_00107541(1);" (call_expression "FUN_00107541(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (expression_statement "FUN_0010772d();" (call_expression "FUN_0010772d()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "fwrite_unlocked((void *)param_1[1],*param_1,1,*(FILE **)PTR_stdout_00120f98);" (call_expression "fwrite_unlocked((void *)param_1[1],*param_1,1,*(FILE **)PTR_stdout_00120f98)" identifier (argument_list "((void *)param_1[1],*param_1,1,*(FILE **)PTR_stdout_00120f98)" ( (cast_expression "(void *)param_1[1]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) , (pointer_expression "*param_1" * identifier) , number_literal , (pointer_expression "*(FILE **)PTR_stdout_00120f98" * (cast_expression "(FILE **)PTR_stdout_00120f98" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void put_indicator(bin_str *ind)\n\n{\n  __pid_t _Var1;\n  \n  if (!used_color) {\n    used_color = true;\n    _Var1 = tcgetpgrp(1);\n    if (-1 < _Var1) {\n      signal_setup(true);\n    }\n    prep_non_filename_text();\n  }\n  fwrite_unlocked(ind->string,ind->len,1,*(FILE **)PTR_stdout_00120f98);\n  return;\n}\n\n" (function_definition "void put_indicator(bin_str *ind)\n\n{\n  __pid_t _Var1;\n  \n  if (!used_color) {\n    used_color = true;\n    _Var1 = tcgetpgrp(1);\n    if (-1 < _Var1) {\n      signal_setup(true);\n    }\n    prep_non_filename_text();\n  }\n  fwrite_unlocked(ind->string,ind->len,1,*(FILE **)PTR_stdout_00120f98);\n  return;\n}" primitive_type (function_declarator "put_indicator(bin_str *ind)" identifier (parameter_list "(bin_str *ind)" ( (parameter_declaration "bin_str *ind" type_identifier (pointer_declarator "*ind" * identifier)) ))) (compound_statement "{\n  __pid_t _Var1;\n  \n  if (!used_color) {\n    used_color = true;\n    _Var1 = tcgetpgrp(1);\n    if (-1 < _Var1) {\n      signal_setup(true);\n    }\n    prep_non_filename_text();\n  }\n  fwrite_unlocked(ind->string,ind->len,1,*(FILE **)PTR_stdout_00120f98);\n  return;\n}" { (declaration "__pid_t _Var1;" type_identifier identifier ;) (if_statement "if (!used_color) {\n    used_color = true;\n    _Var1 = tcgetpgrp(1);\n    if (-1 < _Var1) {\n      signal_setup(true);\n    }\n    prep_non_filename_text();\n  }" if (parenthesized_expression "(!used_color)" ( (unary_expression "!used_color" ! identifier) )) (compound_statement "{\n    used_color = true;\n    _Var1 = tcgetpgrp(1);\n    if (-1 < _Var1) {\n      signal_setup(true);\n    }\n    prep_non_filename_text();\n  }" { (expression_statement "used_color = true;" (assignment_expression "used_color = true" identifier = true) ;) (expression_statement "_Var1 = tcgetpgrp(1);" (assignment_expression "_Var1 = tcgetpgrp(1)" identifier = (call_expression "tcgetpgrp(1)" identifier (argument_list "(1)" ( number_literal )))) ;) (if_statement "if (-1 < _Var1) {\n      signal_setup(true);\n    }" if (parenthesized_expression "(-1 < _Var1)" ( (binary_expression "-1 < _Var1" number_literal < identifier) )) (compound_statement "{\n      signal_setup(true);\n    }" { (expression_statement "signal_setup(true);" (call_expression "signal_setup(true)" identifier (argument_list "(true)" ( true ))) ;) })) (expression_statement "prep_non_filename_text();" (call_expression "prep_non_filename_text()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "fwrite_unlocked(ind->string,ind->len,1,*(FILE **)PTR_stdout_00120f98);" (call_expression "fwrite_unlocked(ind->string,ind->len,1,*(FILE **)PTR_stdout_00120f98)" identifier (argument_list "(ind->string,ind->len,1,*(FILE **)PTR_stdout_00120f98)" ( (field_expression "ind->string" identifier -> field_identifier) , (field_expression "ind->len" identifier -> field_identifier) , number_literal , (pointer_expression "*(FILE **)PTR_stdout_00120f98" * (cast_expression "(FILE **)PTR_stdout_00120f98" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001076db(size_t *param_1)\n\n{\n  __pid_t _Var1;\n  \n  if (DAT_00122630 == '\0') {\n    DAT_00122630 = '\x01';\n    _Var1 = tcgetpgrp(1);\n    if (-1 < _Var1) {\n      FUN_00107541(1);\n    }\n    FUN_0010772d();\n  }\n  fwrite_unlocked((void *)param_1[1],*param_1,1,*(FILE **)PTR_stdout_00120f98);\n  return;\n}\n\n" (function_definition "void FUN_001076db(size_t *param_1)\n\n{\n  __pid_t _Var1;\n  \n  if (DAT_00122630 == '\0') {\n    DAT_00122630 = '\x01';\n    _Var1 = tcgetpgrp(1);\n    if (-1 < _Var1) {\n      FUN_00107541(1);\n    }\n    FUN_0010772d();\n  }\n  fwrite_unlocked((void *)param_1[1],*param_1,1,*(FILE **)PTR_stdout_00120f98);\n  return;\n}" primitive_type (function_declarator "FUN_001076db(size_t *param_1)" identifier (parameter_list "(size_t *param_1)" ( (parameter_declaration "size_t *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  __pid_t _Var1;\n  \n  if (DAT_00122630 == '\0') {\n    DAT_00122630 = '\x01';\n    _Var1 = tcgetpgrp(1);\n    if (-1 < _Var1) {\n      FUN_00107541(1);\n    }\n    FUN_0010772d();\n  }\n  fwrite_unlocked((void *)param_1[1],*param_1,1,*(FILE **)PTR_stdout_00120f98);\n  return;\n}" { (declaration "__pid_t _Var1;" type_identifier identifier ;) (if_statement "if (DAT_00122630 == '\0') {\n    DAT_00122630 = '\x01';\n    _Var1 = tcgetpgrp(1);\n    if (-1 < _Var1) {\n      FUN_00107541(1);\n    }\n    FUN_0010772d();\n  }" if (parenthesized_expression "(DAT_00122630 == '\0')" ( (binary_expression "DAT_00122630 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    DAT_00122630 = '\x01';\n    _Var1 = tcgetpgrp(1);\n    if (-1 < _Var1) {\n      FUN_00107541(1);\n    }\n    FUN_0010772d();\n  }" { (expression_statement "DAT_00122630 = '\x01';" (assignment_expression "DAT_00122630 = '\x01'" identifier = (char_literal "'\x01'" ' escape_sequence ')) ;) (expression_statement "_Var1 = tcgetpgrp(1);" (assignment_expression "_Var1 = tcgetpgrp(1)" identifier = (call_expression "tcgetpgrp(1)" identifier (argument_list "(1)" ( number_literal )))) ;) (if_statement "if (-1 < _Var1) {\n      FUN_00107541(1);\n    }" if (parenthesized_expression "(-1 < _Var1)" ( (binary_expression "-1 < _Var1" number_literal < identifier) )) (compound_statement "{\n      FUN_00107541(1);\n    }" { (expression_statement "FUN_00107541(1);" (call_expression "FUN_00107541(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (expression_statement "FUN_0010772d();" (call_expression "FUN_0010772d()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "fwrite_unlocked((void *)param_1[1],*param_1,1,*(FILE **)PTR_stdout_00120f98);" (call_expression "fwrite_unlocked((void *)param_1[1],*param_1,1,*(FILE **)PTR_stdout_00120f98)" identifier (argument_list "((void *)param_1[1],*param_1,1,*(FILE **)PTR_stdout_00120f98)" ( (cast_expression "(void *)param_1[1]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) , (pointer_expression "*param_1" * identifier) , number_literal , (pointer_expression "*(FILE **)PTR_stdout_00120f98" * (cast_expression "(FILE **)PTR_stdout_00120f98" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) , (pointer_expression * IDENT) , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_001076db(size_t *param_1)\n\n{\n  __pid_t _Var1;\n  \n  if (DAT_00122630 == '\0') {\n    DAT_00122630 = '\x01';\n    _Var1 = tcgetpgrp(1);\n    if (-1 < _Var1) {\n      FUN_00107541(1);\n    }\n    FUN_0010772d();\n  }\n  fwrite_unlocked((void *)param_1[1],*param_1,1,*(FILE **)PTR_stdout_00120f98);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001076db(size_t *param_1)" (identifier "FUN_001076db") (parameter_list "(size_t *param_1)" (( "(") (parameter_declaration "size_t *param_1" (primitive_type "size_t") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  __pid_t _Var1;\n  \n  if (DAT_00122630 == '\0') {\n    DAT_00122630 = '\x01';\n    _Var1 = tcgetpgrp(1);\n    if (-1 < _Var1) {\n      FUN_00107541(1);\n    }\n    FUN_0010772d();\n  }\n  fwrite_unlocked((void *)param_1[1],*param_1,1,*(FILE **)PTR_stdout_00120f98);\n  return;\n}" ({ "{") (declaration "__pid_t _Var1;" (type_identifier "__pid_t") (identifier "_Var1") (; ";")) (if_statement "if (DAT_00122630 == '\0') {\n    DAT_00122630 = '\x01';\n    _Var1 = tcgetpgrp(1);\n    if (-1 < _Var1) {\n      FUN_00107541(1);\n    }\n    FUN_0010772d();\n  }" (if "if") (parenthesized_expression "(DAT_00122630 == '\0')" (( "(") (binary_expression "DAT_00122630 == '\0'" (identifier "DAT_00122630") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    DAT_00122630 = '\x01';\n    _Var1 = tcgetpgrp(1);\n    if (-1 < _Var1) {\n      FUN_00107541(1);\n    }\n    FUN_0010772d();\n  }" ({ "{") (expression_statement "DAT_00122630 = '\x01';" (assignment_expression "DAT_00122630 = '\x01'" (identifier "DAT_00122630") (= "=") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) (; ";")) (expression_statement "_Var1 = tcgetpgrp(1);" (assignment_expression "_Var1 = tcgetpgrp(1)" (identifier "_Var1") (= "=") (call_expression "tcgetpgrp(1)" (identifier "tcgetpgrp") (argument_list "(1)" (( "(") (number_literal "1") () ")")))) (; ";")) (if_statement "if (-1 < _Var1) {\n      FUN_00107541(1);\n    }" (if "if") (parenthesized_expression "(-1 < _Var1)" (( "(") (binary_expression "-1 < _Var1" (number_literal "-1") (< "<") (identifier "_Var1")) () ")")) (compound_statement "{\n      FUN_00107541(1);\n    }" ({ "{") (expression_statement "FUN_00107541(1);" (call_expression "FUN_00107541(1)" (identifier "FUN_00107541") (argument_list "(1)" (( "(") (number_literal "1") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_0010772d();" (call_expression "FUN_0010772d()" (identifier "FUN_0010772d") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "fwrite_unlocked((void *)param_1[1],*param_1,1,*(FILE **)PTR_stdout_00120f98);" (call_expression "fwrite_unlocked((void *)param_1[1],*param_1,1,*(FILE **)PTR_stdout_00120f98)" (identifier "fwrite_unlocked") (argument_list "((void *)param_1[1],*param_1,1,*(FILE **)PTR_stdout_00120f98)" (( "(") (cast_expression "(void *)param_1[1]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (, ",") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (number_literal "1") (, ",") (pointer_expression "*(FILE **)PTR_stdout_00120f98" (* "*") (cast_expression "(FILE **)PTR_stdout_00120f98" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_stdout_00120f98"))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *ind)

{
  type_2 var_2;
  
  if (!used_color) {
    used_color = true;
    var_2 = var_1(1);
    if (-1 < var_2) {
      var_3(true);
    }
    var_4();
  }
  var_5(ind->string,ind->len,1,*(type_3 **)PTR_stdout_00120f98);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (char_literal (escape_sequence)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (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))) (pointer_expression argument: (identifier)) (number_literal) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier)))))) (return_statement))))

void MASKED(size_t *param_1)

{
  __pid_t _Var1;
  
  if (DAT_00122630 == '\0') {
    DAT_00122630 = '\x01';
    _Var1 = tcgetpgrp(1);
    if (-1 < _Var1) {
      FUN_00107541(1);
    }
    FUN_0010772d();
  }
  fwrite_unlocked((void *)param_1[1],*param_1,1,*(FILE **)PTR_stdout_00120f98);
  return;
}

