
void LocaleLower(char *string)

{
  char cVar1;
  int iVar2;
  
  if (string == (char *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower");
  }
  cVar1 = *string;
  while (cVar1 != '\0') {
    iVar2 = LocaleLowercase((int)cVar1);
    *string = (char)iVar2;
    string = string + 1;
    cVar1 = *string;
  }
  return;
}



void LocaleLower(char *param_1)

{
  char cVar1;
  
  if (param_1 == (char *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower");
  }
  cVar1 = *param_1;
  while (cVar1 != '\0') {
    cVar1 = LocaleLowercase((int)cVar1);
    *param_1 = cVar1;
    param_1 = param_1 + 1;
    cVar1 = *param_1;
  }
  return;
}


PUSH RBX
TEST RDI,RDI
JZ 0x0022b4cc
MOV RBX,RDI
MOVZX EDI,byte ptr [RDI]
TEST DIL,DIL
JZ 0x0022b4ca
MOVSX EDI,DIL
CALL 0x0014a900
MOV byte ptr [RBX],AL
ADD RBX,0x1
MOVZX EDI,byte ptr [RBX]
TEST DIL,DIL
JNZ 0x0022b4b3
POP RBX
RET
LEA RCX,[0x422150]
MOV EDX,0x5ac
LEA RSI,[0x421f02]
LEA RDI,[0x421f16]
CALL 0x0014a360
(translation_unit "void LocaleLower(char *param_1)\n\n{\n  char cVar1;\n  \n  if (param_1 == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower");\n  }\n  cVar1 = *param_1;\n  while (cVar1 != '\0') {\n    cVar1 = LocaleLowercase((int)cVar1);\n    *param_1 = cVar1;\n    param_1 = param_1 + 1;\n    cVar1 = *param_1;\n  }\n  return;\n}\n\n" (function_definition "void LocaleLower(char *param_1)\n\n{\n  char cVar1;\n  \n  if (param_1 == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower");\n  }\n  cVar1 = *param_1;\n  while (cVar1 != '\0') {\n    cVar1 = LocaleLowercase((int)cVar1);\n    *param_1 = cVar1;\n    param_1 = param_1 + 1;\n    cVar1 = *param_1;\n  }\n  return;\n}" primitive_type (function_declarator "LocaleLower(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  \n  if (param_1 == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower");\n  }\n  cVar1 = *param_1;\n  while (cVar1 != '\0') {\n    cVar1 = LocaleLowercase((int)cVar1);\n    *param_1 = cVar1;\n    param_1 = param_1 + 1;\n    cVar1 = *param_1;\n  }\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (if_statement "if (param_1 == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower");\n  }" if (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower");\n  }" { comment (expression_statement "__assert_fail("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower");" (call_expression "__assert_fail("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower")" identifier (argument_list "("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower")" ( (string_literal ""string != (char *) NULL"" " string_content ") , (string_literal ""MagickCore/locale.c"" " string_content ") , number_literal , (string_literal ""LocaleLower"" " string_content ") ))) ;) })) (expression_statement "cVar1 = *param_1;" (assignment_expression "cVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (while_statement "while (cVar1 != '\0') {\n    cVar1 = LocaleLowercase((int)cVar1);\n    *param_1 = cVar1;\n    param_1 = param_1 + 1;\n    cVar1 = *param_1;\n  }" while (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    cVar1 = LocaleLowercase((int)cVar1);\n    *param_1 = cVar1;\n    param_1 = param_1 + 1;\n    cVar1 = *param_1;\n  }" { (expression_statement "cVar1 = LocaleLowercase((int)cVar1);" (assignment_expression "cVar1 = LocaleLowercase((int)cVar1)" identifier = (call_expression "LocaleLowercase((int)cVar1)" identifier (argument_list "((int)cVar1)" ( (cast_expression "(int)cVar1" ( (type_descriptor "int" primitive_type) ) identifier) )))) ;) (expression_statement "*param_1 = cVar1;" (assignment_expression "*param_1 = cVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "cVar1 = *param_1;" (assignment_expression "cVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void LocaleLower(char *string)\n\n{\n  char cVar1;\n  int iVar2;\n  \n  if (string == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower");\n  }\n  cVar1 = *string;\n  while (cVar1 != '\0') {\n    iVar2 = LocaleLowercase((int)cVar1);\n    *string = (char)iVar2;\n    string = string + 1;\n    cVar1 = *string;\n  }\n  return;\n}\n\n" (function_definition "void LocaleLower(char *string)\n\n{\n  char cVar1;\n  int iVar2;\n  \n  if (string == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower");\n  }\n  cVar1 = *string;\n  while (cVar1 != '\0') {\n    iVar2 = LocaleLowercase((int)cVar1);\n    *string = (char)iVar2;\n    string = string + 1;\n    cVar1 = *string;\n  }\n  return;\n}" primitive_type (function_declarator "LocaleLower(char *string)" identifier (parameter_list "(char *string)" ( (parameter_declaration "char *string" primitive_type (pointer_declarator "*string" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  \n  if (string == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower");\n  }\n  cVar1 = *string;\n  while (cVar1 != '\0') {\n    iVar2 = LocaleLowercase((int)cVar1);\n    *string = (char)iVar2;\n    string = string + 1;\n    cVar1 = *string;\n  }\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (string == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower");\n  }" if (parenthesized_expression "(string == (char *)0x0)" ( (binary_expression "string == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower");\n  }" { comment (expression_statement "__assert_fail("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower");" (call_expression "__assert_fail("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower")" identifier (argument_list "("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower")" ( (string_literal ""string != (char *) NULL"" " string_content ") , (string_literal ""MagickCore/locale.c"" " string_content ") , number_literal , (string_literal ""LocaleLower"" " string_content ") ))) ;) })) (expression_statement "cVar1 = *string;" (assignment_expression "cVar1 = *string" identifier = (pointer_expression "*string" * identifier)) ;) (while_statement "while (cVar1 != '\0') {\n    iVar2 = LocaleLowercase((int)cVar1);\n    *string = (char)iVar2;\n    string = string + 1;\n    cVar1 = *string;\n  }" while (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar2 = LocaleLowercase((int)cVar1);\n    *string = (char)iVar2;\n    string = string + 1;\n    cVar1 = *string;\n  }" { (expression_statement "iVar2 = LocaleLowercase((int)cVar1);" (assignment_expression "iVar2 = LocaleLowercase((int)cVar1)" identifier = (call_expression "LocaleLowercase((int)cVar1)" identifier (argument_list "((int)cVar1)" ( (cast_expression "(int)cVar1" ( (type_descriptor "int" primitive_type) ) identifier) )))) ;) (expression_statement "*string = (char)iVar2;" (assignment_expression "*string = (char)iVar2" (pointer_expression "*string" * identifier) = (cast_expression "(char)iVar2" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "string = string + 1;" (assignment_expression "string = string + 1" identifier = (binary_expression "string + 1" identifier + number_literal)) ;) (expression_statement "cVar1 = *string;" (assignment_expression "cVar1 = *string" identifier = (pointer_expression "*string" * identifier)) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void LocaleLower(char *param_1)\n\n{\n  char cVar1;\n  \n  if (param_1 == (char *)0x0) {\n                    \n    __assert_fail("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower");\n  }\n  cVar1 = *param_1;\n  while (cVar1 != '\0') {\n    cVar1 = LocaleLowercase((int)cVar1);\n    *param_1 = cVar1;\n    param_1 = param_1 + 1;\n    cVar1 = *param_1;\n  }\n  return;\n}\n\n" (function_definition "void LocaleLower(char *param_1)\n\n{\n  char cVar1;\n  \n  if (param_1 == (char *)0x0) {\n                    \n    __assert_fail("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower");\n  }\n  cVar1 = *param_1;\n  while (cVar1 != '\0') {\n    cVar1 = LocaleLowercase((int)cVar1);\n    *param_1 = cVar1;\n    param_1 = param_1 + 1;\n    cVar1 = *param_1;\n  }\n  return;\n}" primitive_type (function_declarator "LocaleLower(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  \n  if (param_1 == (char *)0x0) {\n                    \n    __assert_fail("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower");\n  }\n  cVar1 = *param_1;\n  while (cVar1 != '\0') {\n    cVar1 = LocaleLowercase((int)cVar1);\n    *param_1 = cVar1;\n    param_1 = param_1 + 1;\n    cVar1 = *param_1;\n  }\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (if_statement "if (param_1 == (char *)0x0) {\n                    \n    __assert_fail("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower");\n  }" if (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n    __assert_fail("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower");\n  }" { (expression_statement "__assert_fail("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower");" (call_expression "__assert_fail("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower")" identifier (argument_list "("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower")" ( (string_literal ""string != (char *) NULL"" " string_content ") , (string_literal ""MagickCore/locale.c"" " string_content ") , number_literal , (string_literal ""LocaleLower"" " string_content ") ))) ;) })) (expression_statement "cVar1 = *param_1;" (assignment_expression "cVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (while_statement "while (cVar1 != '\0') {\n    cVar1 = LocaleLowercase((int)cVar1);\n    *param_1 = cVar1;\n    param_1 = param_1 + 1;\n    cVar1 = *param_1;\n  }" while (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    cVar1 = LocaleLowercase((int)cVar1);\n    *param_1 = cVar1;\n    param_1 = param_1 + 1;\n    cVar1 = *param_1;\n  }" { (expression_statement "cVar1 = LocaleLowercase((int)cVar1);" (assignment_expression "cVar1 = LocaleLowercase((int)cVar1)" identifier = (call_expression "LocaleLowercase((int)cVar1)" identifier (argument_list "((int)cVar1)" ( (cast_expression "(int)cVar1" ( (type_descriptor "int" primitive_type) ) identifier) )))) ;) (expression_statement "*param_1 = cVar1;" (assignment_expression "*param_1 = cVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "cVar1 = *param_1;" (assignment_expression "cVar1 = *param_1" identifier = (pointer_expression "*param_1" * 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 == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE) ) IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (return_statement return ;) })))
(function_definition "void LocaleLower(char *param_1)\n\n{\n  char cVar1;\n  \n  if (param_1 == (char *)0x0) {\n                    \n    __assert_fail("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower");\n  }\n  cVar1 = *param_1;\n  while (cVar1 != '\0') {\n    cVar1 = LocaleLowercase((int)cVar1);\n    *param_1 = cVar1;\n    param_1 = param_1 + 1;\n    cVar1 = *param_1;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "LocaleLower(char *param_1)" (identifier "LocaleLower") (parameter_list "(char *param_1)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  char cVar1;\n  \n  if (param_1 == (char *)0x0) {\n                    \n    __assert_fail("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower");\n  }\n  cVar1 = *param_1;\n  while (cVar1 != '\0') {\n    cVar1 = LocaleLowercase((int)cVar1);\n    *param_1 = cVar1;\n    param_1 = param_1 + 1;\n    cVar1 = *param_1;\n  }\n  return;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (if_statement "if (param_1 == (char *)0x0) {\n                    \n    __assert_fail("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower");\n  }" (if "if") (parenthesized_expression "(param_1 == (char *)0x0)" (( "(") (binary_expression "param_1 == (char *)0x0" (identifier "param_1") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n    __assert_fail("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower");\n  }" ({ "{") (expression_statement "__assert_fail("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower");" (call_expression "__assert_fail("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower")" (identifier "__assert_fail") (argument_list "("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower")" (( "(") (string_literal ""string != (char *) NULL"" (" """) (string_content "string != (char *) NULL") (" """)) (, ",") (string_literal ""MagickCore/locale.c"" (" """) (string_content "MagickCore/locale.c") (" """)) (, ",") (number_literal "0x5ac") (, ",") (string_literal ""LocaleLower"" (" """) (string_content "LocaleLower") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "cVar1 = *param_1;" (assignment_expression "cVar1 = *param_1" (identifier "cVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (while_statement "while (cVar1 != '\0') {\n    cVar1 = LocaleLowercase((int)cVar1);\n    *param_1 = cVar1;\n    param_1 = param_1 + 1;\n    cVar1 = *param_1;\n  }" (while "while") (parenthesized_expression "(cVar1 != '\0')" (( "(") (binary_expression "cVar1 != '\0'" (identifier "cVar1") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    cVar1 = LocaleLowercase((int)cVar1);\n    *param_1 = cVar1;\n    param_1 = param_1 + 1;\n    cVar1 = *param_1;\n  }" ({ "{") (expression_statement "cVar1 = LocaleLowercase((int)cVar1);" (assignment_expression "cVar1 = LocaleLowercase((int)cVar1)" (identifier "cVar1") (= "=") (call_expression "LocaleLowercase((int)cVar1)" (identifier "LocaleLowercase") (argument_list "((int)cVar1)" (( "(") (cast_expression "(int)cVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar1")) () ")")))) (; ";")) (expression_statement "*param_1 = cVar1;" (assignment_expression "*param_1 = cVar1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "cVar1")) (; ";")) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "cVar1 = *param_1;" (assignment_expression "cVar1 = *param_1" (identifier "cVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(char *var_1)

{
  char var_3;
  int iVar2;
  
  if (var_1 == (char *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("string != (char *) NULL","MagickCore/locale.c",0x5ac,"LocaleLower");
  }
  var_3 = *var_1;
  while (var_3 != '\0') {
    iVar2 = var_4((int)var_3);
    *var_1 = (char)iVar2;
    var_1 = var_1 + 1;
    var_3 = *var_1;
  }
  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: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal) (string_literal (string_content))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) (return_statement))))

void MASKED(char *param_1)

{
  char cVar1;
  
  if (param_1 == (char *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("string != (char *) NULL","MagickCore/locale.c",0x5ac,"MASKED");
  }
  cVar1 = *param_1;
  while (cVar1 != '\0') {
    cVar1 = MASKEDcase((int)cVar1);
    *param_1 = cVar1;
    param_1 = param_1 + 1;
    cVar1 = *param_1;
  }
  return;
}

