
int mbstrncasecmp(char *s1,char *s2,size_t n)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  uint uVar4;
  uint uVar5;
  char *s1_00;
  byte *buf;
  wchar_t wc1;
  wchar_t wc2;
  char *local_2c;
  
  puVar1 = PTR___stack_chk_guard_000780f8;
  local_2c = *(char **)PTR___stack_chk_guard_000780f8;
  if (PTR_DAT_0007754c[-0x7da0] == '\0') {
    iVar2 = (*(code *)PTR_strncasecmp_00077f84)();
  }
  else {
    uVar4 = (uint)*s1;
    buf = (byte *)s2;
    if ((uVar4 == 0) || (*s2 == '\0')) {
LAB_0001c1e8:
      if (n == 0) {
        iVar2 = 0;
      }
      else {
        iVar2 = (uVar4 & 0xff) - (uint)*buf;
      }
    }
    else {
      iVar2 = 0;
      if (n != 0) {
        do {
          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&wc1,s1,6);
          s2 = (char *)buf;
          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&wc2,buf,6);
          if (iVar2 < 0) {
            uVar4 = (uint)*s1;
            uVar5 = (uint)(char)*buf;
            if (uVar4 != uVar5) {
LAB_0001c1c8:
              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);
              break;
            }
            if (-1 < iVar3) {
              iVar2 = 1;
              break;
            }
          }
          else {
            if (iVar3 < 0) {
              uVar4 = (uint)*s1;
              uVar5 = (uint)(char)*buf;
              if (uVar4 != uVar5) goto LAB_0001c1c8;
              iVar2 = -1;
              break;
            }
            iVar2 = (*(code *)PTR_towlower_000780e4)(wc1);
            iVar3 = (*(code *)PTR_towlower_000780e4)(wc2);
            iVar2 = iVar2 - iVar3;
            if (iVar2 != 0) break;
          }
          iVar2 = parse_mbchar(s1,(char *)0x0,(size_t *)0x0);
          s1 = s1 + iVar2;
          s2 = (char *)0x0;
          iVar2 = parse_mbchar((char *)buf,(char *)0x0,(size_t *)0x0);
          n = n - 1;
          uVar4 = (uint)*s1;
          buf = buf + iVar2;
          if ((uVar4 == 0) || (*buf == 0)) goto LAB_0001c1e8;
          iVar2 = 0;
        } while (n != 0);
      }
    }
  }
  if (local_2c != *(char **)puVar1) {
    s1_00 = local_2c;
    (*(code *)PTR___stack_chk_fail_000780c0)();
    iVar2 = mbstrncasecmp(s1_00,s2,0x7fffffff);
    return iVar2;
  }
  return iVar2;
}



int mbstrncasecmp(char *param_1,byte *param_2,int param_3)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  uint uVar4;
  uint uVar5;
  undefined4 local_34;
  undefined4 local_30;
  int local_2c;
  
  puVar1 = PTR___stack_chk_guard_000780f8;
  local_2c = *(int *)PTR___stack_chk_guard_000780f8;
  if (PTR_DAT_0007754c[-0x7da0] == '\0') {
    iVar2 = (*(code *)PTR_strncasecmp_00077f84)();
  }
  else {
    uVar4 = (uint)*param_1;
    if ((uVar4 == 0) || (*param_2 == 0)) {
LAB_0001c1e8:
      if (param_3 == 0) {
        iVar2 = 0;
      }
      else {
        iVar2 = (uVar4 & 0xff) - (uint)*param_2;
      }
    }
    else {
      iVar2 = 0;
      if (param_3 != 0) {
        do {
          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);
          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);
          if (iVar2 < 0) {
            uVar4 = (uint)*param_1;
            uVar5 = (uint)(char)*param_2;
            if (uVar4 != uVar5) {
LAB_0001c1c8:
              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);
              break;
            }
            if (-1 < iVar3) {
              iVar2 = 1;
              break;
            }
          }
          else {
            if (iVar3 < 0) {
              uVar4 = (uint)*param_1;
              uVar5 = (uint)(char)*param_2;
              if (uVar4 != uVar5) goto LAB_0001c1c8;
              iVar2 = -1;
              break;
            }
            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);
            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);
            iVar2 = iVar2 - iVar3;
            if (iVar2 != 0) break;
          }
          iVar2 = parse_mbchar(param_1,0,0);
          param_1 = param_1 + iVar2;
          iVar2 = parse_mbchar(param_2,0,0);
          param_3 = param_3 + -1;
          uVar4 = (uint)*param_1;
          param_2 = param_2 + iVar2;
          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;
          iVar2 = 0;
        } while (param_3 != 0);
      }
    }
  }
  if (local_2c != *(int *)puVar1) {
    (*(code *)PTR___stack_chk_fail_000780c0)();
    iVar2 = mbstrncasecmp();
    return iVar2;
  }
  return iVar2;
}


lui gp,0x6
addiu gp,gp,0x3504
addu gp,gp,t9
addiu sp,sp,-0x50
lw v0,-0x7fd4(gp)
sw s3,0x38(sp)
lw s3,-0x7428(gp)
lbu v0,-0x7da0(v0)
sw gp,0x10(sp)
sw ra,0x4c(sp)
sw s7,0x48(sp)
sw s6,0x44(sp)
sw s5,0x40(sp)
sw s4,0x3c(sp)
sw s2,0x34(sp)
sw s1,0x30(sp)
sw s0,0x2c(sp)
lw v1,0x0(s3)
sw v1,0x24(sp)
beq v0,zero,0x0001c1d8
_lw t9,-0x759c(gp)
lb v1,0x0(a0)
or s1,a0,zero
or s0,a1,zero
beq v1,zero,0x0001c1e8
_or s4,a2,zero
lb v0,0x0(a1)
beq v0,zero,0x0001c1e8
_nop
beq a2,zero,0x0001c180
_or v0,zero,zero
addiu s7,sp,0x1c
lw s5,-0x7e08(gp)
b 0x0001c12c
_addiu s6,sp,0x20
bltz v0,0x0001c1b8
_lw t9,-0x743c(gp)
jalr t9
_lw a0,0x1c(sp)
lw gp,0x10(sp)
or s2,v0,zero
lw t9,-0x743c(gp)
jalr t9
_lw a0,0x20(sp)
subu v0,s2,v0
bne v0,zero,0x0001c180
_lw gp,0x10(sp)
or a2,zero,zero
or a1,zero,zero
or t9,s5,zero
bal 0x0001bc14
_or a0,s1,zero
or a2,zero,zero
addu s1,s1,v0
or a1,zero,zero
or t9,s5,zero
bal 0x0001bc14
_or a0,s0,zero
addiu s4,s4,-0x1
lb v1,0x0(s1)
addu s0,s0,v0
beq v1,zero,0x0001c1e8
_lw gp,0x10(sp)
lb v0,0x0(s0)
beq v0,zero,0x0001c1e8
_nop
beq s4,zero,0x0001c180
_or v0,zero,zero
lw t9,-0x7688(gp)
li a2,0x6
or a1,s1,zero
jalr t9
_or a0,s7,zero
li a2,0x6
lw gp,0x10(sp)
or a1,s0,zero
or a0,s6,zero
lw t9,-0x7688(gp)
jalr t9
_or s2,v0,zero
bgez s2,0x0001c0a8
_lw gp,0x10(sp)
lb v1,0x0(s1)
lb a0,0x0(s0)
bne v1,a0,0x0001c1c8
_nop
bltz v0,0x0001c0dc
_or a2,zero,zero
li v0,0x1
lw a0,0x24(sp)
lw v1,0x0(s3)
bne a0,v1,0x0001c20c
_lw ra,0x4c(sp)
lw s7,0x48(sp)
lw s6,0x44(sp)
lw s5,0x40(sp)
lw s4,0x3c(sp)
lw s3,0x38(sp)
lw s2,0x34(sp)
lw s1,0x30(sp)
lw s0,0x2c(sp)
jr ra
_addiu sp,sp,0x50
lb v1,0x0(s1)
lb a0,0x0(s0)
beq v1,a0,0x0001c204
_nop
andi v0,v1,0xff
andi a0,a0,0xff
b 0x0001c180
_subu v0,v0,a0
jalr t9
_nop
b 0x0001c180
_lw gp,0x10(sp)
beq s4,zero,0x0001c1fc
_andi v1,v1,0xff
lbu v0,0x0(s0)
b 0x0001c180
_subu v0,v1,v0
b 0x0001c180
_or v0,zero,zero
b 0x0001c180
_li v0,-0x1
lw t9,-0x7460(gp)
jalr t9
_nop
(translation_unit "int mbstrncasecmp(char *param_1,byte *param_2,int param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 local_34;\n  undefined4 local_30;\n  int local_2c;\n  \n  puVar1 = PTR___stack_chk_guard_000780f8;\n  local_2c = *(int *)PTR___stack_chk_guard_000780f8;\n  if (PTR_DAT_0007754c[-0x7da0] == '\0') {\n    iVar2 = (*(code *)PTR_strncasecmp_00077f84)();\n  }\n  else {\n    uVar4 = (uint)*param_1;\n    if ((uVar4 == 0) || (*param_2 == 0)) {\nLAB_0001c1e8:\n      if (param_3 == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }\n    }\n    else {\n      iVar2 = 0;\n      if (param_3 != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }\n    }\n  }\n  if (local_2c != *(int *)puVar1) {\n    (*(code *)PTR___stack_chk_fail_000780c0)();\n    iVar2 = mbstrncasecmp();\n    return iVar2;\n  }\n  return iVar2;\n}\n\n" (function_definition "int mbstrncasecmp(char *param_1,byte *param_2,int param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 local_34;\n  undefined4 local_30;\n  int local_2c;\n  \n  puVar1 = PTR___stack_chk_guard_000780f8;\n  local_2c = *(int *)PTR___stack_chk_guard_000780f8;\n  if (PTR_DAT_0007754c[-0x7da0] == '\0') {\n    iVar2 = (*(code *)PTR_strncasecmp_00077f84)();\n  }\n  else {\n    uVar4 = (uint)*param_1;\n    if ((uVar4 == 0) || (*param_2 == 0)) {\nLAB_0001c1e8:\n      if (param_3 == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }\n    }\n    else {\n      iVar2 = 0;\n      if (param_3 != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }\n    }\n  }\n  if (local_2c != *(int *)puVar1) {\n    (*(code *)PTR___stack_chk_fail_000780c0)();\n    iVar2 = mbstrncasecmp();\n    return iVar2;\n  }\n  return iVar2;\n}" primitive_type (function_declarator "mbstrncasecmp(char *param_1,byte *param_2,int param_3)" identifier (parameter_list "(char *param_1,byte *param_2,int param_3)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 local_34;\n  undefined4 local_30;\n  int local_2c;\n  \n  puVar1 = PTR___stack_chk_guard_000780f8;\n  local_2c = *(int *)PTR___stack_chk_guard_000780f8;\n  if (PTR_DAT_0007754c[-0x7da0] == '\0') {\n    iVar2 = (*(code *)PTR_strncasecmp_00077f84)();\n  }\n  else {\n    uVar4 = (uint)*param_1;\n    if ((uVar4 == 0) || (*param_2 == 0)) {\nLAB_0001c1e8:\n      if (param_3 == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }\n    }\n    else {\n      iVar2 = 0;\n      if (param_3 != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }\n    }\n  }\n  if (local_2c != *(int *)puVar1) {\n    (*(code *)PTR___stack_chk_fail_000780c0)();\n    iVar2 = mbstrncasecmp();\n    return iVar2;\n  }\n  return iVar2;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_000780f8;" (assignment_expression "puVar1 = PTR___stack_chk_guard_000780f8" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_000780f8;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_000780f8" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000780f8" * (cast_expression "(int *)PTR___stack_chk_guard_000780f8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (PTR_DAT_0007754c[-0x7da0] == '\0') {\n    iVar2 = (*(code *)PTR_strncasecmp_00077f84)();\n  }\n  else {\n    uVar4 = (uint)*param_1;\n    if ((uVar4 == 0) || (*param_2 == 0)) {\nLAB_0001c1e8:\n      if (param_3 == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }\n    }\n    else {\n      iVar2 = 0;\n      if (param_3 != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }\n    }\n  }" if (parenthesized_expression "(PTR_DAT_0007754c[-0x7da0] == '\0')" ( (binary_expression "PTR_DAT_0007754c[-0x7da0] == '\0'" (subscript_expression "PTR_DAT_0007754c[-0x7da0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar2 = (*(code *)PTR_strncasecmp_00077f84)();\n  }" { (expression_statement "iVar2 = (*(code *)PTR_strncasecmp_00077f84)();" (assignment_expression "iVar2 = (*(code *)PTR_strncasecmp_00077f84)()" identifier = (call_expression "(*(code *)PTR_strncasecmp_00077f84)()" (parenthesized_expression "(*(code *)PTR_strncasecmp_00077f84)" ( (pointer_expression "*(code *)PTR_strncasecmp_00077f84" * (cast_expression "(code *)PTR_strncasecmp_00077f84" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) }) (else_clause "else {\n    uVar4 = (uint)*param_1;\n    if ((uVar4 == 0) || (*param_2 == 0)) {\nLAB_0001c1e8:\n      if (param_3 == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }\n    }\n    else {\n      iVar2 = 0;\n      if (param_3 != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }\n    }\n  }" else (compound_statement "{\n    uVar4 = (uint)*param_1;\n    if ((uVar4 == 0) || (*param_2 == 0)) {\nLAB_0001c1e8:\n      if (param_3 == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }\n    }\n    else {\n      iVar2 = 0;\n      if (param_3 != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }\n    }\n  }" { (expression_statement "uVar4 = (uint)*param_1;" (assignment_expression "uVar4 = (uint)*param_1" identifier = (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if ((uVar4 == 0) || (*param_2 == 0)) {\nLAB_0001c1e8:\n      if (param_3 == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }\n    }\n    else {\n      iVar2 = 0;\n      if (param_3 != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }\n    }" if (parenthesized_expression "((uVar4 == 0) || (*param_2 == 0))" ( (binary_expression "(uVar4 == 0) || (*param_2 == 0)" (parenthesized_expression "(uVar4 == 0)" ( (binary_expression "uVar4 == 0" identifier == number_literal) )) || (parenthesized_expression "(*param_2 == 0)" ( (binary_expression "*param_2 == 0" (pointer_expression "*param_2" * identifier) == number_literal) ))) )) (compound_statement "{\nLAB_0001c1e8:\n      if (param_3 == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }\n    }" { (labeled_statement "LAB_0001c1e8:\n      if (param_3 == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }" statement_identifier : (if_statement "if (param_3 == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar2 = 0;\n      }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }" else (compound_statement "{\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }" { (expression_statement "iVar2 = (uVar4 & 0xff) - (uint)*param_2;" (assignment_expression "iVar2 = (uVar4 & 0xff) - (uint)*param_2" identifier = (binary_expression "(uVar4 & 0xff) - (uint)*param_2" (parenthesized_expression "(uVar4 & 0xff)" ( (binary_expression "uVar4 & 0xff" identifier & number_literal) )) - (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" ( identifier )) * identifier))) ;) })))) }) (else_clause "else {\n      iVar2 = 0;\n      if (param_3 != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }\n    }" else (compound_statement "{\n      iVar2 = 0;\n      if (param_3 != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }\n    }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (if_statement "if (param_3 != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }" { (do_statement "do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);" do (compound_statement "{\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        }" { (expression_statement "iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);" (assignment_expression "iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6)" identifier = (call_expression "(*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6)" (parenthesized_expression "(*(code *)PTR_mbtowc_00077e98)" ( (pointer_expression "*(code *)PTR_mbtowc_00077e98" * (cast_expression "(code *)PTR_mbtowc_00077e98" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_34,param_1,6)" ( (pointer_expression "&local_34" & identifier) , identifier , number_literal )))) ;) (expression_statement "iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);" (assignment_expression "iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6)" identifier = (call_expression "(*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6)" (parenthesized_expression "(*(code *)PTR_mbtowc_00077e98)" ( (pointer_expression "*(code *)PTR_mbtowc_00077e98" * (cast_expression "(code *)PTR_mbtowc_00077e98" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_30,param_2,6)" ( (pointer_expression "&local_30" & identifier) , identifier , number_literal )))) ;) (if_statement "if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }" { (expression_statement "uVar4 = (uint)*param_1;" (assignment_expression "uVar4 = (uint)*param_1" identifier = (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "uVar5 = (uint)(char)*param_2;" (assignment_expression "uVar5 = (uint)(char)*param_2" identifier = (binary_expression "(uint)(char)*param_2" (call_expression "(uint)(char)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(char)" ( identifier ))) * identifier)) ;) (if_statement "if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }" if (parenthesized_expression "(uVar4 != uVar5)" ( (binary_expression "uVar4 != uVar5" identifier != identifier) )) (compound_statement "{\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }" { (labeled_statement "LAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);" statement_identifier : (expression_statement "iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);" (assignment_expression "iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff)" identifier = (binary_expression "(uVar4 & 0xff) - (uVar5 & 0xff)" (parenthesized_expression "(uVar4 & 0xff)" ( (binary_expression "uVar4 & 0xff" identifier & number_literal) )) - (parenthesized_expression "(uVar5 & 0xff)" ( (binary_expression "uVar5 & 0xff" identifier & number_literal) )))) ;)) (break_statement "break;" break ;) })) (if_statement "if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }" if (parenthesized_expression "(-1 < iVar3)" ( (binary_expression "-1 < iVar3" number_literal < identifier) )) (compound_statement "{\n              iVar2 = 1;\n              break;\n            }" { (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (break_statement "break;" break ;) })) }) (else_clause "else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }" else (compound_statement "{\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }" { (if_statement "if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }" { (expression_statement "uVar4 = (uint)*param_1;" (assignment_expression "uVar4 = (uint)*param_1" identifier = (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "uVar5 = (uint)(char)*param_2;" (assignment_expression "uVar5 = (uint)(char)*param_2" identifier = (binary_expression "(uint)(char)*param_2" (call_expression "(uint)(char)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(char)" ( identifier ))) * identifier)) ;) (if_statement "if (uVar4 != uVar5) goto LAB_0001c1c8;" if (parenthesized_expression "(uVar4 != uVar5)" ( (binary_expression "uVar4 != uVar5" identifier != identifier) )) (goto_statement "goto LAB_0001c1c8;" goto statement_identifier ;)) (expression_statement "iVar2 = -1;" (assignment_expression "iVar2 = -1" identifier = number_literal) ;) (break_statement "break;" break ;) })) (expression_statement "iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);" (assignment_expression "iVar2 = (*(code *)PTR_towlower_000780e4)(local_34)" identifier = (call_expression "(*(code *)PTR_towlower_000780e4)(local_34)" (parenthesized_expression "(*(code *)PTR_towlower_000780e4)" ( (pointer_expression "*(code *)PTR_towlower_000780e4" * (cast_expression "(code *)PTR_towlower_000780e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_34)" ( identifier )))) ;) (expression_statement "iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);" (assignment_expression "iVar3 = (*(code *)PTR_towlower_000780e4)(local_30)" identifier = (call_expression "(*(code *)PTR_towlower_000780e4)(local_30)" (parenthesized_expression "(*(code *)PTR_towlower_000780e4)" ( (pointer_expression "*(code *)PTR_towlower_000780e4" * (cast_expression "(code *)PTR_towlower_000780e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_30)" ( identifier )))) ;) (expression_statement "iVar2 = iVar2 - iVar3;" (assignment_expression "iVar2 = iVar2 - iVar3" identifier = (binary_expression "iVar2 - iVar3" identifier - identifier)) ;) (if_statement "if (iVar2 != 0) break;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) }))) (expression_statement "iVar2 = parse_mbchar(param_1,0,0);" (assignment_expression "iVar2 = parse_mbchar(param_1,0,0)" identifier = (call_expression "parse_mbchar(param_1,0,0)" identifier (argument_list "(param_1,0,0)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "param_1 = param_1 + iVar2;" (assignment_expression "param_1 = param_1 + iVar2" identifier = (binary_expression "param_1 + iVar2" identifier + identifier)) ;) (expression_statement "iVar2 = parse_mbchar(param_2,0,0);" (assignment_expression "iVar2 = parse_mbchar(param_2,0,0)" identifier = (call_expression "parse_mbchar(param_2,0,0)" identifier (argument_list "(param_2,0,0)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "param_3 = param_3 + -1;" (assignment_expression "param_3 = param_3 + -1" identifier = (binary_expression "param_3 + -1" identifier + number_literal)) ;) (expression_statement "uVar4 = (uint)*param_1;" (assignment_expression "uVar4 = (uint)*param_1" identifier = (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "param_2 = param_2 + iVar2;" (assignment_expression "param_2 = param_2 + iVar2" identifier = (binary_expression "param_2 + iVar2" identifier + identifier)) ;) (if_statement "if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;" if (parenthesized_expression "((uVar4 == 0) || (*param_2 == 0))" ( (binary_expression "(uVar4 == 0) || (*param_2 == 0)" (parenthesized_expression "(uVar4 == 0)" ( (binary_expression "uVar4 == 0" identifier == number_literal) )) || (parenthesized_expression "(*param_2 == 0)" ( (binary_expression "*param_2 == 0" (pointer_expression "*param_2" * identifier) == number_literal) ))) )) (goto_statement "goto LAB_0001c1e8;" goto statement_identifier ;)) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) }) while (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) ;) })) }))) }))) (if_statement "if (local_2c != *(int *)puVar1) {\n    (*(code *)PTR___stack_chk_fail_000780c0)();\n    iVar2 = mbstrncasecmp();\n    return iVar2;\n  }" if (parenthesized_expression "(local_2c != *(int *)puVar1)" ( (binary_expression "local_2c != *(int *)puVar1" identifier != (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    (*(code *)PTR___stack_chk_fail_000780c0)();\n    iVar2 = mbstrncasecmp();\n    return iVar2;\n  }" { (expression_statement "(*(code *)PTR___stack_chk_fail_000780c0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000780c0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000780c0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000780c0" * (cast_expression "(code *)PTR___stack_chk_fail_000780c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar2 = mbstrncasecmp();" (assignment_expression "iVar2 = mbstrncasecmp()" identifier = (call_expression "mbstrncasecmp()" identifier (argument_list "()" ( )))) ;) (return_statement "return iVar2;" return identifier ;) })) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "int mbstrncasecmp(char *s1,char *s2,size_t n)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  char *s1_00;\n  byte *buf;\n  wchar_t wc1;\n  wchar_t wc2;\n  char *local_2c;\n  \n  puVar1 = PTR___stack_chk_guard_000780f8;\n  local_2c = *(char **)PTR___stack_chk_guard_000780f8;\n  if (PTR_DAT_0007754c[-0x7da0] == '\0') {\n    iVar2 = (*(code *)PTR_strncasecmp_00077f84)();\n  }\n  else {\n    uVar4 = (uint)*s1;\n    buf = (byte *)s2;\n    if ((uVar4 == 0) || (*s2 == '\0')) {\nLAB_0001c1e8:\n      if (n == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*buf;\n      }\n    }\n    else {\n      iVar2 = 0;\n      if (n != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&wc1,s1,6);\n          s2 = (char *)buf;\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&wc2,buf,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*s1;\n            uVar5 = (uint)(char)*buf;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*s1;\n              uVar5 = (uint)(char)*buf;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(wc1);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(wc2);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(s1,(char *)0x0,(size_t *)0x0);\n          s1 = s1 + iVar2;\n          s2 = (char *)0x0;\n          iVar2 = parse_mbchar((char *)buf,(char *)0x0,(size_t *)0x0);\n          n = n - 1;\n          uVar4 = (uint)*s1;\n          buf = buf + iVar2;\n          if ((uVar4 == 0) || (*buf == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (n != 0);\n      }\n    }\n  }\n  if (local_2c != *(char **)puVar1) {\n    s1_00 = local_2c;\n    (*(code *)PTR___stack_chk_fail_000780c0)();\n    iVar2 = mbstrncasecmp(s1_00,s2,0x7fffffff);\n    return iVar2;\n  }\n  return iVar2;\n}\n\n" (function_definition "int mbstrncasecmp(char *s1,char *s2,size_t n)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  char *s1_00;\n  byte *buf;\n  wchar_t wc1;\n  wchar_t wc2;\n  char *local_2c;\n  \n  puVar1 = PTR___stack_chk_guard_000780f8;\n  local_2c = *(char **)PTR___stack_chk_guard_000780f8;\n  if (PTR_DAT_0007754c[-0x7da0] == '\0') {\n    iVar2 = (*(code *)PTR_strncasecmp_00077f84)();\n  }\n  else {\n    uVar4 = (uint)*s1;\n    buf = (byte *)s2;\n    if ((uVar4 == 0) || (*s2 == '\0')) {\nLAB_0001c1e8:\n      if (n == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*buf;\n      }\n    }\n    else {\n      iVar2 = 0;\n      if (n != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&wc1,s1,6);\n          s2 = (char *)buf;\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&wc2,buf,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*s1;\n            uVar5 = (uint)(char)*buf;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*s1;\n              uVar5 = (uint)(char)*buf;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(wc1);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(wc2);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(s1,(char *)0x0,(size_t *)0x0);\n          s1 = s1 + iVar2;\n          s2 = (char *)0x0;\n          iVar2 = parse_mbchar((char *)buf,(char *)0x0,(size_t *)0x0);\n          n = n - 1;\n          uVar4 = (uint)*s1;\n          buf = buf + iVar2;\n          if ((uVar4 == 0) || (*buf == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (n != 0);\n      }\n    }\n  }\n  if (local_2c != *(char **)puVar1) {\n    s1_00 = local_2c;\n    (*(code *)PTR___stack_chk_fail_000780c0)();\n    iVar2 = mbstrncasecmp(s1_00,s2,0x7fffffff);\n    return iVar2;\n  }\n  return iVar2;\n}" primitive_type (function_declarator "mbstrncasecmp(char *s1,char *s2,size_t n)" identifier (parameter_list "(char *s1,char *s2,size_t n)" ( (parameter_declaration "char *s1" primitive_type (pointer_declarator "*s1" * identifier)) , (parameter_declaration "char *s2" primitive_type (pointer_declarator "*s2" * identifier)) , (parameter_declaration "size_t n" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  char *s1_00;\n  byte *buf;\n  wchar_t wc1;\n  wchar_t wc2;\n  char *local_2c;\n  \n  puVar1 = PTR___stack_chk_guard_000780f8;\n  local_2c = *(char **)PTR___stack_chk_guard_000780f8;\n  if (PTR_DAT_0007754c[-0x7da0] == '\0') {\n    iVar2 = (*(code *)PTR_strncasecmp_00077f84)();\n  }\n  else {\n    uVar4 = (uint)*s1;\n    buf = (byte *)s2;\n    if ((uVar4 == 0) || (*s2 == '\0')) {\nLAB_0001c1e8:\n      if (n == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*buf;\n      }\n    }\n    else {\n      iVar2 = 0;\n      if (n != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&wc1,s1,6);\n          s2 = (char *)buf;\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&wc2,buf,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*s1;\n            uVar5 = (uint)(char)*buf;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*s1;\n              uVar5 = (uint)(char)*buf;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(wc1);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(wc2);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(s1,(char *)0x0,(size_t *)0x0);\n          s1 = s1 + iVar2;\n          s2 = (char *)0x0;\n          iVar2 = parse_mbchar((char *)buf,(char *)0x0,(size_t *)0x0);\n          n = n - 1;\n          uVar4 = (uint)*s1;\n          buf = buf + iVar2;\n          if ((uVar4 == 0) || (*buf == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (n != 0);\n      }\n    }\n  }\n  if (local_2c != *(char **)puVar1) {\n    s1_00 = local_2c;\n    (*(code *)PTR___stack_chk_fail_000780c0)();\n    iVar2 = mbstrncasecmp(s1_00,s2,0x7fffffff);\n    return iVar2;\n  }\n  return iVar2;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "char *s1_00;" primitive_type (pointer_declarator "*s1_00" * identifier) ;) (declaration "byte *buf;" type_identifier (pointer_declarator "*buf" * identifier) ;) (declaration "wchar_t wc1;" type_identifier identifier ;) (declaration "wchar_t wc2;" type_identifier identifier ;) (declaration "char *local_2c;" primitive_type (pointer_declarator "*local_2c" * identifier) ;) (expression_statement "puVar1 = PTR___stack_chk_guard_000780f8;" (assignment_expression "puVar1 = PTR___stack_chk_guard_000780f8" identifier = identifier) ;) (expression_statement "local_2c = *(char **)PTR___stack_chk_guard_000780f8;" (assignment_expression "local_2c = *(char **)PTR___stack_chk_guard_000780f8" identifier = (pointer_expression "*(char **)PTR___stack_chk_guard_000780f8" * (cast_expression "(char **)PTR___stack_chk_guard_000780f8" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if (PTR_DAT_0007754c[-0x7da0] == '\0') {\n    iVar2 = (*(code *)PTR_strncasecmp_00077f84)();\n  }\n  else {\n    uVar4 = (uint)*s1;\n    buf = (byte *)s2;\n    if ((uVar4 == 0) || (*s2 == '\0')) {\nLAB_0001c1e8:\n      if (n == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*buf;\n      }\n    }\n    else {\n      iVar2 = 0;\n      if (n != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&wc1,s1,6);\n          s2 = (char *)buf;\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&wc2,buf,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*s1;\n            uVar5 = (uint)(char)*buf;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*s1;\n              uVar5 = (uint)(char)*buf;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(wc1);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(wc2);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(s1,(char *)0x0,(size_t *)0x0);\n          s1 = s1 + iVar2;\n          s2 = (char *)0x0;\n          iVar2 = parse_mbchar((char *)buf,(char *)0x0,(size_t *)0x0);\n          n = n - 1;\n          uVar4 = (uint)*s1;\n          buf = buf + iVar2;\n          if ((uVar4 == 0) || (*buf == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (n != 0);\n      }\n    }\n  }" if (parenthesized_expression "(PTR_DAT_0007754c[-0x7da0] == '\0')" ( (binary_expression "PTR_DAT_0007754c[-0x7da0] == '\0'" (subscript_expression "PTR_DAT_0007754c[-0x7da0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar2 = (*(code *)PTR_strncasecmp_00077f84)();\n  }" { (expression_statement "iVar2 = (*(code *)PTR_strncasecmp_00077f84)();" (assignment_expression "iVar2 = (*(code *)PTR_strncasecmp_00077f84)()" identifier = (call_expression "(*(code *)PTR_strncasecmp_00077f84)()" (parenthesized_expression "(*(code *)PTR_strncasecmp_00077f84)" ( (pointer_expression "*(code *)PTR_strncasecmp_00077f84" * (cast_expression "(code *)PTR_strncasecmp_00077f84" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) }) (else_clause "else {\n    uVar4 = (uint)*s1;\n    buf = (byte *)s2;\n    if ((uVar4 == 0) || (*s2 == '\0')) {\nLAB_0001c1e8:\n      if (n == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*buf;\n      }\n    }\n    else {\n      iVar2 = 0;\n      if (n != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&wc1,s1,6);\n          s2 = (char *)buf;\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&wc2,buf,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*s1;\n            uVar5 = (uint)(char)*buf;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*s1;\n              uVar5 = (uint)(char)*buf;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(wc1);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(wc2);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(s1,(char *)0x0,(size_t *)0x0);\n          s1 = s1 + iVar2;\n          s2 = (char *)0x0;\n          iVar2 = parse_mbchar((char *)buf,(char *)0x0,(size_t *)0x0);\n          n = n - 1;\n          uVar4 = (uint)*s1;\n          buf = buf + iVar2;\n          if ((uVar4 == 0) || (*buf == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (n != 0);\n      }\n    }\n  }" else (compound_statement "{\n    uVar4 = (uint)*s1;\n    buf = (byte *)s2;\n    if ((uVar4 == 0) || (*s2 == '\0')) {\nLAB_0001c1e8:\n      if (n == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*buf;\n      }\n    }\n    else {\n      iVar2 = 0;\n      if (n != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&wc1,s1,6);\n          s2 = (char *)buf;\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&wc2,buf,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*s1;\n            uVar5 = (uint)(char)*buf;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*s1;\n              uVar5 = (uint)(char)*buf;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(wc1);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(wc2);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(s1,(char *)0x0,(size_t *)0x0);\n          s1 = s1 + iVar2;\n          s2 = (char *)0x0;\n          iVar2 = parse_mbchar((char *)buf,(char *)0x0,(size_t *)0x0);\n          n = n - 1;\n          uVar4 = (uint)*s1;\n          buf = buf + iVar2;\n          if ((uVar4 == 0) || (*buf == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (n != 0);\n      }\n    }\n  }" { (expression_statement "uVar4 = (uint)*s1;" (assignment_expression "uVar4 = (uint)*s1" identifier = (binary_expression "(uint)*s1" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "buf = (byte *)s2;" (assignment_expression "buf = (byte *)s2" identifier = (cast_expression "(byte *)s2" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if ((uVar4 == 0) || (*s2 == '\0')) {\nLAB_0001c1e8:\n      if (n == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*buf;\n      }\n    }\n    else {\n      iVar2 = 0;\n      if (n != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&wc1,s1,6);\n          s2 = (char *)buf;\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&wc2,buf,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*s1;\n            uVar5 = (uint)(char)*buf;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*s1;\n              uVar5 = (uint)(char)*buf;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(wc1);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(wc2);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(s1,(char *)0x0,(size_t *)0x0);\n          s1 = s1 + iVar2;\n          s2 = (char *)0x0;\n          iVar2 = parse_mbchar((char *)buf,(char *)0x0,(size_t *)0x0);\n          n = n - 1;\n          uVar4 = (uint)*s1;\n          buf = buf + iVar2;\n          if ((uVar4 == 0) || (*buf == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (n != 0);\n      }\n    }" if (parenthesized_expression "((uVar4 == 0) || (*s2 == '\0'))" ( (binary_expression "(uVar4 == 0) || (*s2 == '\0')" (parenthesized_expression "(uVar4 == 0)" ( (binary_expression "uVar4 == 0" identifier == number_literal) )) || (parenthesized_expression "(*s2 == '\0')" ( (binary_expression "*s2 == '\0'" (pointer_expression "*s2" * identifier) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\nLAB_0001c1e8:\n      if (n == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*buf;\n      }\n    }" { (labeled_statement "LAB_0001c1e8:\n      if (n == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*buf;\n      }" statement_identifier : (if_statement "if (n == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*buf;\n      }" if (parenthesized_expression "(n == 0)" ( (binary_expression "n == 0" identifier == number_literal) )) (compound_statement "{\n        iVar2 = 0;\n      }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        iVar2 = (uVar4 & 0xff) - (uint)*buf;\n      }" else (compound_statement "{\n        iVar2 = (uVar4 & 0xff) - (uint)*buf;\n      }" { (expression_statement "iVar2 = (uVar4 & 0xff) - (uint)*buf;" (assignment_expression "iVar2 = (uVar4 & 0xff) - (uint)*buf" identifier = (binary_expression "(uVar4 & 0xff) - (uint)*buf" (parenthesized_expression "(uVar4 & 0xff)" ( (binary_expression "uVar4 & 0xff" identifier & number_literal) )) - (binary_expression "(uint)*buf" (parenthesized_expression "(uint)" ( identifier )) * identifier))) ;) })))) }) (else_clause "else {\n      iVar2 = 0;\n      if (n != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&wc1,s1,6);\n          s2 = (char *)buf;\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&wc2,buf,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*s1;\n            uVar5 = (uint)(char)*buf;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*s1;\n              uVar5 = (uint)(char)*buf;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(wc1);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(wc2);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(s1,(char *)0x0,(size_t *)0x0);\n          s1 = s1 + iVar2;\n          s2 = (char *)0x0;\n          iVar2 = parse_mbchar((char *)buf,(char *)0x0,(size_t *)0x0);\n          n = n - 1;\n          uVar4 = (uint)*s1;\n          buf = buf + iVar2;\n          if ((uVar4 == 0) || (*buf == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (n != 0);\n      }\n    }" else (compound_statement "{\n      iVar2 = 0;\n      if (n != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&wc1,s1,6);\n          s2 = (char *)buf;\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&wc2,buf,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*s1;\n            uVar5 = (uint)(char)*buf;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*s1;\n              uVar5 = (uint)(char)*buf;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(wc1);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(wc2);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(s1,(char *)0x0,(size_t *)0x0);\n          s1 = s1 + iVar2;\n          s2 = (char *)0x0;\n          iVar2 = parse_mbchar((char *)buf,(char *)0x0,(size_t *)0x0);\n          n = n - 1;\n          uVar4 = (uint)*s1;\n          buf = buf + iVar2;\n          if ((uVar4 == 0) || (*buf == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (n != 0);\n      }\n    }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (if_statement "if (n != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&wc1,s1,6);\n          s2 = (char *)buf;\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&wc2,buf,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*s1;\n            uVar5 = (uint)(char)*buf;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*s1;\n              uVar5 = (uint)(char)*buf;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(wc1);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(wc2);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(s1,(char *)0x0,(size_t *)0x0);\n          s1 = s1 + iVar2;\n          s2 = (char *)0x0;\n          iVar2 = parse_mbchar((char *)buf,(char *)0x0,(size_t *)0x0);\n          n = n - 1;\n          uVar4 = (uint)*s1;\n          buf = buf + iVar2;\n          if ((uVar4 == 0) || (*buf == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (n != 0);\n      }" if (parenthesized_expression "(n != 0)" ( (binary_expression "n != 0" identifier != number_literal) )) (compound_statement "{\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&wc1,s1,6);\n          s2 = (char *)buf;\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&wc2,buf,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*s1;\n            uVar5 = (uint)(char)*buf;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*s1;\n              uVar5 = (uint)(char)*buf;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(wc1);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(wc2);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(s1,(char *)0x0,(size_t *)0x0);\n          s1 = s1 + iVar2;\n          s2 = (char *)0x0;\n          iVar2 = parse_mbchar((char *)buf,(char *)0x0,(size_t *)0x0);\n          n = n - 1;\n          uVar4 = (uint)*s1;\n          buf = buf + iVar2;\n          if ((uVar4 == 0) || (*buf == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (n != 0);\n      }" { (do_statement "do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&wc1,s1,6);\n          s2 = (char *)buf;\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&wc2,buf,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*s1;\n            uVar5 = (uint)(char)*buf;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*s1;\n              uVar5 = (uint)(char)*buf;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(wc1);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(wc2);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(s1,(char *)0x0,(size_t *)0x0);\n          s1 = s1 + iVar2;\n          s2 = (char *)0x0;\n          iVar2 = parse_mbchar((char *)buf,(char *)0x0,(size_t *)0x0);\n          n = n - 1;\n          uVar4 = (uint)*s1;\n          buf = buf + iVar2;\n          if ((uVar4 == 0) || (*buf == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (n != 0);" do (compound_statement "{\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&wc1,s1,6);\n          s2 = (char *)buf;\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&wc2,buf,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*s1;\n            uVar5 = (uint)(char)*buf;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*s1;\n              uVar5 = (uint)(char)*buf;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(wc1);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(wc2);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(s1,(char *)0x0,(size_t *)0x0);\n          s1 = s1 + iVar2;\n          s2 = (char *)0x0;\n          iVar2 = parse_mbchar((char *)buf,(char *)0x0,(size_t *)0x0);\n          n = n - 1;\n          uVar4 = (uint)*s1;\n          buf = buf + iVar2;\n          if ((uVar4 == 0) || (*buf == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        }" { (expression_statement "iVar2 = (*(code *)PTR_mbtowc_00077e98)(&wc1,s1,6);" (assignment_expression "iVar2 = (*(code *)PTR_mbtowc_00077e98)(&wc1,s1,6)" identifier = (call_expression "(*(code *)PTR_mbtowc_00077e98)(&wc1,s1,6)" (parenthesized_expression "(*(code *)PTR_mbtowc_00077e98)" ( (pointer_expression "*(code *)PTR_mbtowc_00077e98" * (cast_expression "(code *)PTR_mbtowc_00077e98" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&wc1,s1,6)" ( (pointer_expression "&wc1" & identifier) , identifier , number_literal )))) ;) (expression_statement "s2 = (char *)buf;" (assignment_expression "s2 = (char *)buf" identifier = (cast_expression "(char *)buf" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "iVar3 = (*(code *)PTR_mbtowc_00077e98)(&wc2,buf,6);" (assignment_expression "iVar3 = (*(code *)PTR_mbtowc_00077e98)(&wc2,buf,6)" identifier = (call_expression "(*(code *)PTR_mbtowc_00077e98)(&wc2,buf,6)" (parenthesized_expression "(*(code *)PTR_mbtowc_00077e98)" ( (pointer_expression "*(code *)PTR_mbtowc_00077e98" * (cast_expression "(code *)PTR_mbtowc_00077e98" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&wc2,buf,6)" ( (pointer_expression "&wc2" & identifier) , identifier , number_literal )))) ;) (if_statement "if (iVar2 < 0) {\n            uVar4 = (uint)*s1;\n            uVar5 = (uint)(char)*buf;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*s1;\n              uVar5 = (uint)(char)*buf;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(wc1);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(wc2);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n            uVar4 = (uint)*s1;\n            uVar5 = (uint)(char)*buf;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }" { (expression_statement "uVar4 = (uint)*s1;" (assignment_expression "uVar4 = (uint)*s1" identifier = (binary_expression "(uint)*s1" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "uVar5 = (uint)(char)*buf;" (assignment_expression "uVar5 = (uint)(char)*buf" identifier = (binary_expression "(uint)(char)*buf" (call_expression "(uint)(char)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(char)" ( identifier ))) * identifier)) ;) (if_statement "if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }" if (parenthesized_expression "(uVar4 != uVar5)" ( (binary_expression "uVar4 != uVar5" identifier != identifier) )) (compound_statement "{\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }" { (labeled_statement "LAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);" statement_identifier : (expression_statement "iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);" (assignment_expression "iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff)" identifier = (binary_expression "(uVar4 & 0xff) - (uVar5 & 0xff)" (parenthesized_expression "(uVar4 & 0xff)" ( (binary_expression "uVar4 & 0xff" identifier & number_literal) )) - (parenthesized_expression "(uVar5 & 0xff)" ( (binary_expression "uVar5 & 0xff" identifier & number_literal) )))) ;)) (break_statement "break;" break ;) })) (if_statement "if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }" if (parenthesized_expression "(-1 < iVar3)" ( (binary_expression "-1 < iVar3" number_literal < identifier) )) (compound_statement "{\n              iVar2 = 1;\n              break;\n            }" { (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (break_statement "break;" break ;) })) }) (else_clause "else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*s1;\n              uVar5 = (uint)(char)*buf;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(wc1);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(wc2);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }" else (compound_statement "{\n            if (iVar3 < 0) {\n              uVar4 = (uint)*s1;\n              uVar5 = (uint)(char)*buf;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(wc1);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(wc2);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }" { (if_statement "if (iVar3 < 0) {\n              uVar4 = (uint)*s1;\n              uVar5 = (uint)(char)*buf;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\n              uVar4 = (uint)*s1;\n              uVar5 = (uint)(char)*buf;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }" { (expression_statement "uVar4 = (uint)*s1;" (assignment_expression "uVar4 = (uint)*s1" identifier = (binary_expression "(uint)*s1" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "uVar5 = (uint)(char)*buf;" (assignment_expression "uVar5 = (uint)(char)*buf" identifier = (binary_expression "(uint)(char)*buf" (call_expression "(uint)(char)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(char)" ( identifier ))) * identifier)) ;) (if_statement "if (uVar4 != uVar5) goto LAB_0001c1c8;" if (parenthesized_expression "(uVar4 != uVar5)" ( (binary_expression "uVar4 != uVar5" identifier != identifier) )) (goto_statement "goto LAB_0001c1c8;" goto statement_identifier ;)) (expression_statement "iVar2 = -1;" (assignment_expression "iVar2 = -1" identifier = number_literal) ;) (break_statement "break;" break ;) })) (expression_statement "iVar2 = (*(code *)PTR_towlower_000780e4)(wc1);" (assignment_expression "iVar2 = (*(code *)PTR_towlower_000780e4)(wc1)" identifier = (call_expression "(*(code *)PTR_towlower_000780e4)(wc1)" (parenthesized_expression "(*(code *)PTR_towlower_000780e4)" ( (pointer_expression "*(code *)PTR_towlower_000780e4" * (cast_expression "(code *)PTR_towlower_000780e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(wc1)" ( identifier )))) ;) (expression_statement "iVar3 = (*(code *)PTR_towlower_000780e4)(wc2);" (assignment_expression "iVar3 = (*(code *)PTR_towlower_000780e4)(wc2)" identifier = (call_expression "(*(code *)PTR_towlower_000780e4)(wc2)" (parenthesized_expression "(*(code *)PTR_towlower_000780e4)" ( (pointer_expression "*(code *)PTR_towlower_000780e4" * (cast_expression "(code *)PTR_towlower_000780e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(wc2)" ( identifier )))) ;) (expression_statement "iVar2 = iVar2 - iVar3;" (assignment_expression "iVar2 = iVar2 - iVar3" identifier = (binary_expression "iVar2 - iVar3" identifier - identifier)) ;) (if_statement "if (iVar2 != 0) break;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) }))) (expression_statement "iVar2 = parse_mbchar(s1,(char *)0x0,(size_t *)0x0);" (assignment_expression "iVar2 = parse_mbchar(s1,(char *)0x0,(size_t *)0x0)" identifier = (call_expression "parse_mbchar(s1,(char *)0x0,(size_t *)0x0)" identifier (argument_list "(s1,(char *)0x0,(size_t *)0x0)" ( identifier , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(size_t *)0x0" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (expression_statement "s1 = s1 + iVar2;" (assignment_expression "s1 = s1 + iVar2" identifier = (binary_expression "s1 + iVar2" identifier + identifier)) ;) (expression_statement "s2 = (char *)0x0;" (assignment_expression "s2 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar2 = parse_mbchar((char *)buf,(char *)0x0,(size_t *)0x0);" (assignment_expression "iVar2 = parse_mbchar((char *)buf,(char *)0x0,(size_t *)0x0)" identifier = (call_expression "parse_mbchar((char *)buf,(char *)0x0,(size_t *)0x0)" identifier (argument_list "((char *)buf,(char *)0x0,(size_t *)0x0)" ( (cast_expression "(char *)buf" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(size_t *)0x0" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (expression_statement "n = n - 1;" (assignment_expression "n = n - 1" identifier = (binary_expression "n - 1" identifier - number_literal)) ;) (expression_statement "uVar4 = (uint)*s1;" (assignment_expression "uVar4 = (uint)*s1" identifier = (binary_expression "(uint)*s1" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "buf = buf + iVar2;" (assignment_expression "buf = buf + iVar2" identifier = (binary_expression "buf + iVar2" identifier + identifier)) ;) (if_statement "if ((uVar4 == 0) || (*buf == 0)) goto LAB_0001c1e8;" if (parenthesized_expression "((uVar4 == 0) || (*buf == 0))" ( (binary_expression "(uVar4 == 0) || (*buf == 0)" (parenthesized_expression "(uVar4 == 0)" ( (binary_expression "uVar4 == 0" identifier == number_literal) )) || (parenthesized_expression "(*buf == 0)" ( (binary_expression "*buf == 0" (pointer_expression "*buf" * identifier) == number_literal) ))) )) (goto_statement "goto LAB_0001c1e8;" goto statement_identifier ;)) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) }) while (parenthesized_expression "(n != 0)" ( (binary_expression "n != 0" identifier != number_literal) )) ;) })) }))) }))) (if_statement "if (local_2c != *(char **)puVar1) {\n    s1_00 = local_2c;\n    (*(code *)PTR___stack_chk_fail_000780c0)();\n    iVar2 = mbstrncasecmp(s1_00,s2,0x7fffffff);\n    return iVar2;\n  }" if (parenthesized_expression "(local_2c != *(char **)puVar1)" ( (binary_expression "local_2c != *(char **)puVar1" identifier != (pointer_expression "*(char **)puVar1" * (cast_expression "(char **)puVar1" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    s1_00 = local_2c;\n    (*(code *)PTR___stack_chk_fail_000780c0)();\n    iVar2 = mbstrncasecmp(s1_00,s2,0x7fffffff);\n    return iVar2;\n  }" { (expression_statement "s1_00 = local_2c;" (assignment_expression "s1_00 = local_2c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000780c0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000780c0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000780c0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000780c0" * (cast_expression "(code *)PTR___stack_chk_fail_000780c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar2 = mbstrncasecmp(s1_00,s2,0x7fffffff);" (assignment_expression "iVar2 = mbstrncasecmp(s1_00,s2,0x7fffffff)" identifier = (call_expression "mbstrncasecmp(s1_00,s2,0x7fffffff)" identifier (argument_list "(s1_00,s2,0x7fffffff)" ( identifier , identifier , number_literal )))) ;) (return_statement "return iVar2;" return identifier ;) })) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "int mbstrncasecmp(char *param_1,byte *param_2,int param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 local_34;\n  undefined4 local_30;\n  int local_2c;\n  \n  puVar1 = PTR___stack_chk_guard_000780f8;\n  local_2c = *(int *)PTR___stack_chk_guard_000780f8;\n  if (PTR_DAT_0007754c[-0x7da0] == '\0') {\n    iVar2 = (*(code *)PTR_strncasecmp_00077f84)();\n  }\n  else {\n    uVar4 = (uint)*param_1;\n    if ((uVar4 == 0) || (*param_2 == 0)) {\nLAB_0001c1e8:\n      if (param_3 == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }\n    }\n    else {\n      iVar2 = 0;\n      if (param_3 != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }\n    }\n  }\n  if (local_2c != *(int *)puVar1) {\n    (*(code *)PTR___stack_chk_fail_000780c0)();\n    iVar2 = mbstrncasecmp();\n    return iVar2;\n  }\n  return iVar2;\n}\n\n" (function_definition "int mbstrncasecmp(char *param_1,byte *param_2,int param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 local_34;\n  undefined4 local_30;\n  int local_2c;\n  \n  puVar1 = PTR___stack_chk_guard_000780f8;\n  local_2c = *(int *)PTR___stack_chk_guard_000780f8;\n  if (PTR_DAT_0007754c[-0x7da0] == '\0') {\n    iVar2 = (*(code *)PTR_strncasecmp_00077f84)();\n  }\n  else {\n    uVar4 = (uint)*param_1;\n    if ((uVar4 == 0) || (*param_2 == 0)) {\nLAB_0001c1e8:\n      if (param_3 == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }\n    }\n    else {\n      iVar2 = 0;\n      if (param_3 != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }\n    }\n  }\n  if (local_2c != *(int *)puVar1) {\n    (*(code *)PTR___stack_chk_fail_000780c0)();\n    iVar2 = mbstrncasecmp();\n    return iVar2;\n  }\n  return iVar2;\n}" primitive_type (function_declarator "mbstrncasecmp(char *param_1,byte *param_2,int param_3)" identifier (parameter_list "(char *param_1,byte *param_2,int param_3)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 local_34;\n  undefined4 local_30;\n  int local_2c;\n  \n  puVar1 = PTR___stack_chk_guard_000780f8;\n  local_2c = *(int *)PTR___stack_chk_guard_000780f8;\n  if (PTR_DAT_0007754c[-0x7da0] == '\0') {\n    iVar2 = (*(code *)PTR_strncasecmp_00077f84)();\n  }\n  else {\n    uVar4 = (uint)*param_1;\n    if ((uVar4 == 0) || (*param_2 == 0)) {\nLAB_0001c1e8:\n      if (param_3 == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }\n    }\n    else {\n      iVar2 = 0;\n      if (param_3 != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }\n    }\n  }\n  if (local_2c != *(int *)puVar1) {\n    (*(code *)PTR___stack_chk_fail_000780c0)();\n    iVar2 = mbstrncasecmp();\n    return iVar2;\n  }\n  return iVar2;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_000780f8;" (assignment_expression "puVar1 = PTR___stack_chk_guard_000780f8" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_000780f8;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_000780f8" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000780f8" * (cast_expression "(int *)PTR___stack_chk_guard_000780f8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (PTR_DAT_0007754c[-0x7da0] == '\0') {\n    iVar2 = (*(code *)PTR_strncasecmp_00077f84)();\n  }\n  else {\n    uVar4 = (uint)*param_1;\n    if ((uVar4 == 0) || (*param_2 == 0)) {\nLAB_0001c1e8:\n      if (param_3 == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }\n    }\n    else {\n      iVar2 = 0;\n      if (param_3 != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }\n    }\n  }" if (parenthesized_expression "(PTR_DAT_0007754c[-0x7da0] == '\0')" ( (binary_expression "PTR_DAT_0007754c[-0x7da0] == '\0'" (subscript_expression "PTR_DAT_0007754c[-0x7da0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar2 = (*(code *)PTR_strncasecmp_00077f84)();\n  }" { (expression_statement "iVar2 = (*(code *)PTR_strncasecmp_00077f84)();" (assignment_expression "iVar2 = (*(code *)PTR_strncasecmp_00077f84)()" identifier = (call_expression "(*(code *)PTR_strncasecmp_00077f84)()" (parenthesized_expression "(*(code *)PTR_strncasecmp_00077f84)" ( (pointer_expression "*(code *)PTR_strncasecmp_00077f84" * (cast_expression "(code *)PTR_strncasecmp_00077f84" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) }) (else_clause "else {\n    uVar4 = (uint)*param_1;\n    if ((uVar4 == 0) || (*param_2 == 0)) {\nLAB_0001c1e8:\n      if (param_3 == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }\n    }\n    else {\n      iVar2 = 0;\n      if (param_3 != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }\n    }\n  }" else (compound_statement "{\n    uVar4 = (uint)*param_1;\n    if ((uVar4 == 0) || (*param_2 == 0)) {\nLAB_0001c1e8:\n      if (param_3 == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }\n    }\n    else {\n      iVar2 = 0;\n      if (param_3 != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }\n    }\n  }" { (expression_statement "uVar4 = (uint)*param_1;" (assignment_expression "uVar4 = (uint)*param_1" identifier = (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if ((uVar4 == 0) || (*param_2 == 0)) {\nLAB_0001c1e8:\n      if (param_3 == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }\n    }\n    else {\n      iVar2 = 0;\n      if (param_3 != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }\n    }" if (parenthesized_expression "((uVar4 == 0) || (*param_2 == 0))" ( (binary_expression "(uVar4 == 0) || (*param_2 == 0)" (parenthesized_expression "(uVar4 == 0)" ( (binary_expression "uVar4 == 0" identifier == number_literal) )) || (parenthesized_expression "(*param_2 == 0)" ( (binary_expression "*param_2 == 0" (pointer_expression "*param_2" * identifier) == number_literal) ))) )) (compound_statement "{\nLAB_0001c1e8:\n      if (param_3 == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }\n    }" { (labeled_statement "LAB_0001c1e8:\n      if (param_3 == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }" statement_identifier : (if_statement "if (param_3 == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar2 = 0;\n      }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }" else (compound_statement "{\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }" { (expression_statement "iVar2 = (uVar4 & 0xff) - (uint)*param_2;" (assignment_expression "iVar2 = (uVar4 & 0xff) - (uint)*param_2" identifier = (binary_expression "(uVar4 & 0xff) - (uint)*param_2" (parenthesized_expression "(uVar4 & 0xff)" ( (binary_expression "uVar4 & 0xff" identifier & number_literal) )) - (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" ( identifier )) * identifier))) ;) })))) }) (else_clause "else {\n      iVar2 = 0;\n      if (param_3 != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }\n    }" else (compound_statement "{\n      iVar2 = 0;\n      if (param_3 != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }\n    }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (if_statement "if (param_3 != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }" { (do_statement "do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);" do (compound_statement "{\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        }" { (expression_statement "iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);" (assignment_expression "iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6)" identifier = (call_expression "(*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6)" (parenthesized_expression "(*(code *)PTR_mbtowc_00077e98)" ( (pointer_expression "*(code *)PTR_mbtowc_00077e98" * (cast_expression "(code *)PTR_mbtowc_00077e98" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_34,param_1,6)" ( (pointer_expression "&local_34" & identifier) , identifier , number_literal )))) ;) (expression_statement "iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);" (assignment_expression "iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6)" identifier = (call_expression "(*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6)" (parenthesized_expression "(*(code *)PTR_mbtowc_00077e98)" ( (pointer_expression "*(code *)PTR_mbtowc_00077e98" * (cast_expression "(code *)PTR_mbtowc_00077e98" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_30,param_2,6)" ( (pointer_expression "&local_30" & identifier) , identifier , number_literal )))) ;) (if_statement "if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }" { (expression_statement "uVar4 = (uint)*param_1;" (assignment_expression "uVar4 = (uint)*param_1" identifier = (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "uVar5 = (uint)(char)*param_2;" (assignment_expression "uVar5 = (uint)(char)*param_2" identifier = (binary_expression "(uint)(char)*param_2" (call_expression "(uint)(char)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(char)" ( identifier ))) * identifier)) ;) (if_statement "if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }" if (parenthesized_expression "(uVar4 != uVar5)" ( (binary_expression "uVar4 != uVar5" identifier != identifier) )) (compound_statement "{\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }" { (labeled_statement "LAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);" statement_identifier : (expression_statement "iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);" (assignment_expression "iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff)" identifier = (binary_expression "(uVar4 & 0xff) - (uVar5 & 0xff)" (parenthesized_expression "(uVar4 & 0xff)" ( (binary_expression "uVar4 & 0xff" identifier & number_literal) )) - (parenthesized_expression "(uVar5 & 0xff)" ( (binary_expression "uVar5 & 0xff" identifier & number_literal) )))) ;)) (break_statement "break;" break ;) })) (if_statement "if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }" if (parenthesized_expression "(-1 < iVar3)" ( (binary_expression "-1 < iVar3" number_literal < identifier) )) (compound_statement "{\n              iVar2 = 1;\n              break;\n            }" { (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (break_statement "break;" break ;) })) }) (else_clause "else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }" else (compound_statement "{\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }" { (if_statement "if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }" { (expression_statement "uVar4 = (uint)*param_1;" (assignment_expression "uVar4 = (uint)*param_1" identifier = (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "uVar5 = (uint)(char)*param_2;" (assignment_expression "uVar5 = (uint)(char)*param_2" identifier = (binary_expression "(uint)(char)*param_2" (call_expression "(uint)(char)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(char)" ( identifier ))) * identifier)) ;) (if_statement "if (uVar4 != uVar5) goto LAB_0001c1c8;" if (parenthesized_expression "(uVar4 != uVar5)" ( (binary_expression "uVar4 != uVar5" identifier != identifier) )) (goto_statement "goto LAB_0001c1c8;" goto statement_identifier ;)) (expression_statement "iVar2 = -1;" (assignment_expression "iVar2 = -1" identifier = number_literal) ;) (break_statement "break;" break ;) })) (expression_statement "iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);" (assignment_expression "iVar2 = (*(code *)PTR_towlower_000780e4)(local_34)" identifier = (call_expression "(*(code *)PTR_towlower_000780e4)(local_34)" (parenthesized_expression "(*(code *)PTR_towlower_000780e4)" ( (pointer_expression "*(code *)PTR_towlower_000780e4" * (cast_expression "(code *)PTR_towlower_000780e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_34)" ( identifier )))) ;) (expression_statement "iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);" (assignment_expression "iVar3 = (*(code *)PTR_towlower_000780e4)(local_30)" identifier = (call_expression "(*(code *)PTR_towlower_000780e4)(local_30)" (parenthesized_expression "(*(code *)PTR_towlower_000780e4)" ( (pointer_expression "*(code *)PTR_towlower_000780e4" * (cast_expression "(code *)PTR_towlower_000780e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_30)" ( identifier )))) ;) (expression_statement "iVar2 = iVar2 - iVar3;" (assignment_expression "iVar2 = iVar2 - iVar3" identifier = (binary_expression "iVar2 - iVar3" identifier - identifier)) ;) (if_statement "if (iVar2 != 0) break;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) }))) (expression_statement "iVar2 = parse_mbchar(param_1,0,0);" (assignment_expression "iVar2 = parse_mbchar(param_1,0,0)" identifier = (call_expression "parse_mbchar(param_1,0,0)" identifier (argument_list "(param_1,0,0)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "param_1 = param_1 + iVar2;" (assignment_expression "param_1 = param_1 + iVar2" identifier = (binary_expression "param_1 + iVar2" identifier + identifier)) ;) (expression_statement "iVar2 = parse_mbchar(param_2,0,0);" (assignment_expression "iVar2 = parse_mbchar(param_2,0,0)" identifier = (call_expression "parse_mbchar(param_2,0,0)" identifier (argument_list "(param_2,0,0)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "param_3 = param_3 + -1;" (assignment_expression "param_3 = param_3 + -1" identifier = (binary_expression "param_3 + -1" identifier + number_literal)) ;) (expression_statement "uVar4 = (uint)*param_1;" (assignment_expression "uVar4 = (uint)*param_1" identifier = (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "param_2 = param_2 + iVar2;" (assignment_expression "param_2 = param_2 + iVar2" identifier = (binary_expression "param_2 + iVar2" identifier + identifier)) ;) (if_statement "if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;" if (parenthesized_expression "((uVar4 == 0) || (*param_2 == 0))" ( (binary_expression "(uVar4 == 0) || (*param_2 == 0)" (parenthesized_expression "(uVar4 == 0)" ( (binary_expression "uVar4 == 0" identifier == number_literal) )) || (parenthesized_expression "(*param_2 == 0)" ( (binary_expression "*param_2 == 0" (pointer_expression "*param_2" * identifier) == number_literal) ))) )) (goto_statement "goto LAB_0001c1e8;" goto statement_identifier ;)) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) }) while (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) ;) })) }))) }))) (if_statement "if (local_2c != *(int *)puVar1) {\n    (*(code *)PTR___stack_chk_fail_000780c0)();\n    iVar2 = mbstrncasecmp();\n    return iVar2;\n  }" if (parenthesized_expression "(local_2c != *(int *)puVar1)" ( (binary_expression "local_2c != *(int *)puVar1" identifier != (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    (*(code *)PTR___stack_chk_fail_000780c0)();\n    iVar2 = mbstrncasecmp();\n    return iVar2;\n  }" { (expression_statement "(*(code *)PTR___stack_chk_fail_000780c0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000780c0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000780c0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000780c0" * (cast_expression "(code *)PTR___stack_chk_fail_000780c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar2 = mbstrncasecmp();" (assignment_expression "iVar2 = mbstrncasecmp()" identifier = (call_expression "mbstrncasecmp()" identifier (argument_list "()" ( )))) ;) (return_statement "return iVar2;" return identifier ;) })) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) ))) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) - (binary_expression (parenthesized_expression ( IDENT )) * IDENT))) ;) })))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression & IDENT) , IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression & IDENT) , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( IDENT ))) * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) - (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;)) (break_statement break ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (break_statement break ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( IDENT ))) * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (break_statement break ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) }))) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (return_statement return IDENT ;) })) (return_statement return IDENT ;) })))
(function_definition "int mbstrncasecmp(char *param_1,byte *param_2,int param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 local_34;\n  undefined4 local_30;\n  int local_2c;\n  \n  puVar1 = PTR___stack_chk_guard_000780f8;\n  local_2c = *(int *)PTR___stack_chk_guard_000780f8;\n  if (PTR_DAT_0007754c[-0x7da0] == '\0') {\n    iVar2 = (*(code *)PTR_strncasecmp_00077f84)();\n  }\n  else {\n    uVar4 = (uint)*param_1;\n    if ((uVar4 == 0) || (*param_2 == 0)) {\nLAB_0001c1e8:\n      if (param_3 == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }\n    }\n    else {\n      iVar2 = 0;\n      if (param_3 != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }\n    }\n  }\n  if (local_2c != *(int *)puVar1) {\n    (*(code *)PTR___stack_chk_fail_000780c0)();\n    iVar2 = mbstrncasecmp();\n    return iVar2;\n  }\n  return iVar2;\n}" (primitive_type "int") (function_declarator "mbstrncasecmp(char *param_1,byte *param_2,int param_3)" (identifier "mbstrncasecmp") (parameter_list "(char *param_1,byte *param_2,int param_3)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "byte *param_2" (type_identifier "byte") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  undefined4 local_34;\n  undefined4 local_30;\n  int local_2c;\n  \n  puVar1 = PTR___stack_chk_guard_000780f8;\n  local_2c = *(int *)PTR___stack_chk_guard_000780f8;\n  if (PTR_DAT_0007754c[-0x7da0] == '\0') {\n    iVar2 = (*(code *)PTR_strncasecmp_00077f84)();\n  }\n  else {\n    uVar4 = (uint)*param_1;\n    if ((uVar4 == 0) || (*param_2 == 0)) {\nLAB_0001c1e8:\n      if (param_3 == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }\n    }\n    else {\n      iVar2 = 0;\n      if (param_3 != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }\n    }\n  }\n  if (local_2c != *(int *)puVar1) {\n    (*(code *)PTR___stack_chk_fail_000780c0)();\n    iVar2 = mbstrncasecmp();\n    return iVar2;\n  }\n  return iVar2;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "undefined4 local_34;" (type_identifier "undefined4") (identifier "local_34") (; ";")) (declaration "undefined4 local_30;" (type_identifier "undefined4") (identifier "local_30") (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (expression_statement "puVar1 = PTR___stack_chk_guard_000780f8;" (assignment_expression "puVar1 = PTR___stack_chk_guard_000780f8" (identifier "puVar1") (= "=") (identifier "PTR___stack_chk_guard_000780f8")) (; ";")) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_000780f8;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_000780f8" (identifier "local_2c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_000780f8" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_000780f8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000780f8")))) (; ";")) (if_statement "if (PTR_DAT_0007754c[-0x7da0] == '\0') {\n    iVar2 = (*(code *)PTR_strncasecmp_00077f84)();\n  }\n  else {\n    uVar4 = (uint)*param_1;\n    if ((uVar4 == 0) || (*param_2 == 0)) {\nLAB_0001c1e8:\n      if (param_3 == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }\n    }\n    else {\n      iVar2 = 0;\n      if (param_3 != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }\n    }\n  }" (if "if") (parenthesized_expression "(PTR_DAT_0007754c[-0x7da0] == '\0')" (( "(") (binary_expression "PTR_DAT_0007754c[-0x7da0] == '\0'" (subscript_expression "PTR_DAT_0007754c[-0x7da0]" (identifier "PTR_DAT_0007754c") ([ "[") (number_literal "-0x7da0") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    iVar2 = (*(code *)PTR_strncasecmp_00077f84)();\n  }" ({ "{") (expression_statement "iVar2 = (*(code *)PTR_strncasecmp_00077f84)();" (assignment_expression "iVar2 = (*(code *)PTR_strncasecmp_00077f84)()" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_strncasecmp_00077f84)()" (parenthesized_expression "(*(code *)PTR_strncasecmp_00077f84)" (( "(") (pointer_expression "*(code *)PTR_strncasecmp_00077f84" (* "*") (cast_expression "(code *)PTR_strncasecmp_00077f84" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strncasecmp_00077f84"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (} "}")) (else_clause "else {\n    uVar4 = (uint)*param_1;\n    if ((uVar4 == 0) || (*param_2 == 0)) {\nLAB_0001c1e8:\n      if (param_3 == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }\n    }\n    else {\n      iVar2 = 0;\n      if (param_3 != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }\n    }\n  }" (else "else") (compound_statement "{\n    uVar4 = (uint)*param_1;\n    if ((uVar4 == 0) || (*param_2 == 0)) {\nLAB_0001c1e8:\n      if (param_3 == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }\n    }\n    else {\n      iVar2 = 0;\n      if (param_3 != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }\n    }\n  }" ({ "{") (expression_statement "uVar4 = (uint)*param_1;" (assignment_expression "uVar4 = (uint)*param_1" (identifier "uVar4") (= "=") (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "param_1"))) (; ";")) (if_statement "if ((uVar4 == 0) || (*param_2 == 0)) {\nLAB_0001c1e8:\n      if (param_3 == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }\n    }\n    else {\n      iVar2 = 0;\n      if (param_3 != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }\n    }" (if "if") (parenthesized_expression "((uVar4 == 0) || (*param_2 == 0))" (( "(") (binary_expression "(uVar4 == 0) || (*param_2 == 0)" (parenthesized_expression "(uVar4 == 0)" (( "(") (binary_expression "uVar4 == 0" (identifier "uVar4") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*param_2 == 0)" (( "(") (binary_expression "*param_2 == 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\nLAB_0001c1e8:\n      if (param_3 == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }\n    }" ({ "{") (labeled_statement "LAB_0001c1e8:\n      if (param_3 == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }" (statement_identifier "LAB_0001c1e8") (: ":") (if_statement "if (param_3 == 0) {\n        iVar2 = 0;\n      }\n      else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar2 = 0;\n      }" ({ "{") (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }" (else "else") (compound_statement "{\n        iVar2 = (uVar4 & 0xff) - (uint)*param_2;\n      }" ({ "{") (expression_statement "iVar2 = (uVar4 & 0xff) - (uint)*param_2;" (assignment_expression "iVar2 = (uVar4 & 0xff) - (uint)*param_2" (identifier "iVar2") (= "=") (binary_expression "(uVar4 & 0xff) - (uint)*param_2" (parenthesized_expression "(uVar4 & 0xff)" (( "(") (binary_expression "uVar4 & 0xff" (identifier "uVar4") (& "&") (number_literal "0xff")) () ")")) (- "-") (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "param_2")))) (; ";")) (} "}"))))) (} "}")) (else_clause "else {\n      iVar2 = 0;\n      if (param_3 != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }\n    }" (else "else") (compound_statement "{\n      iVar2 = 0;\n      if (param_3 != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }\n    }" ({ "{") (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_3 != 0) {\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }" (if "if") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);\n      }" ({ "{") (do_statement "do {\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        } while (param_3 != 0);" (do "do") (compound_statement "{\n          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);\n          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);\n          if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }\n          iVar2 = parse_mbchar(param_1,0,0);\n          param_1 = param_1 + iVar2;\n          iVar2 = parse_mbchar(param_2,0,0);\n          param_3 = param_3 + -1;\n          uVar4 = (uint)*param_1;\n          param_2 = param_2 + iVar2;\n          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;\n          iVar2 = 0;\n        }" ({ "{") (expression_statement "iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);" (assignment_expression "iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6)" (parenthesized_expression "(*(code *)PTR_mbtowc_00077e98)" (( "(") (pointer_expression "*(code *)PTR_mbtowc_00077e98" (* "*") (cast_expression "(code *)PTR_mbtowc_00077e98" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_mbtowc_00077e98"))) () ")")) (argument_list "(&local_34,param_1,6)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (identifier "param_1") (, ",") (number_literal "6") () ")")))) (; ";")) (expression_statement "iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);" (assignment_expression "iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6)" (parenthesized_expression "(*(code *)PTR_mbtowc_00077e98)" (( "(") (pointer_expression "*(code *)PTR_mbtowc_00077e98" (* "*") (cast_expression "(code *)PTR_mbtowc_00077e98" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_mbtowc_00077e98"))) () ")")) (argument_list "(&local_30,param_2,6)" (( "(") (pointer_expression "&local_30" (& "&") (identifier "local_30")) (, ",") (identifier "param_2") (, ",") (number_literal "6") () ")")))) (; ";")) (if_statement "if (iVar2 < 0) {\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }\n          else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }" (if "if") (parenthesized_expression "(iVar2 < 0)" (( "(") (binary_expression "iVar2 < 0" (identifier "iVar2") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n            uVar4 = (uint)*param_1;\n            uVar5 = (uint)(char)*param_2;\n            if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }\n            if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }\n          }" ({ "{") (expression_statement "uVar4 = (uint)*param_1;" (assignment_expression "uVar4 = (uint)*param_1" (identifier "uVar4") (= "=") (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar5 = (uint)(char)*param_2;" (assignment_expression "uVar5 = (uint)(char)*param_2" (identifier "uVar5") (= "=") (binary_expression "(uint)(char)*param_2" (call_expression "(uint)(char)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(char)" (( "(") (identifier "char") () ")"))) (* "*") (identifier "param_2"))) (; ";")) (if_statement "if (uVar4 != uVar5) {\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }" (if "if") (parenthesized_expression "(uVar4 != uVar5)" (( "(") (binary_expression "uVar4 != uVar5" (identifier "uVar4") (!= "!=") (identifier "uVar5")) () ")")) (compound_statement "{\nLAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);\n              break;\n            }" ({ "{") (labeled_statement "LAB_0001c1c8:\n              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);" (statement_identifier "LAB_0001c1c8") (: ":") (expression_statement "iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);" (assignment_expression "iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff)" (identifier "iVar2") (= "=") (binary_expression "(uVar4 & 0xff) - (uVar5 & 0xff)" (parenthesized_expression "(uVar4 & 0xff)" (( "(") (binary_expression "uVar4 & 0xff" (identifier "uVar4") (& "&") (number_literal "0xff")) () ")")) (- "-") (parenthesized_expression "(uVar5 & 0xff)" (( "(") (binary_expression "uVar5 & 0xff" (identifier "uVar5") (& "&") (number_literal "0xff")) () ")")))) (; ";"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (if_statement "if (-1 < iVar3) {\n              iVar2 = 1;\n              break;\n            }" (if "if") (parenthesized_expression "(-1 < iVar3)" (( "(") (binary_expression "-1 < iVar3" (number_literal "-1") (< "<") (identifier "iVar3")) () ")")) (compound_statement "{\n              iVar2 = 1;\n              break;\n            }" ({ "{") (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" (identifier "iVar2") (= "=") (number_literal "1")) (; ";")) (break_statement "break;" (break "break") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }" (else "else") (compound_statement "{\n            if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }\n            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);\n            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);\n            iVar2 = iVar2 - iVar3;\n            if (iVar2 != 0) break;\n          }" ({ "{") (if_statement "if (iVar3 < 0) {\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }" (if "if") (parenthesized_expression "(iVar3 < 0)" (( "(") (binary_expression "iVar3 < 0" (identifier "iVar3") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n              uVar4 = (uint)*param_1;\n              uVar5 = (uint)(char)*param_2;\n              if (uVar4 != uVar5) goto LAB_0001c1c8;\n              iVar2 = -1;\n              break;\n            }" ({ "{") (expression_statement "uVar4 = (uint)*param_1;" (assignment_expression "uVar4 = (uint)*param_1" (identifier "uVar4") (= "=") (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar5 = (uint)(char)*param_2;" (assignment_expression "uVar5 = (uint)(char)*param_2" (identifier "uVar5") (= "=") (binary_expression "(uint)(char)*param_2" (call_expression "(uint)(char)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(char)" (( "(") (identifier "char") () ")"))) (* "*") (identifier "param_2"))) (; ";")) (if_statement "if (uVar4 != uVar5) goto LAB_0001c1c8;" (if "if") (parenthesized_expression "(uVar4 != uVar5)" (( "(") (binary_expression "uVar4 != uVar5" (identifier "uVar4") (!= "!=") (identifier "uVar5")) () ")")) (goto_statement "goto LAB_0001c1c8;" (goto "goto") (statement_identifier "LAB_0001c1c8") (; ";"))) (expression_statement "iVar2 = -1;" (assignment_expression "iVar2 = -1" (identifier "iVar2") (= "=") (number_literal "-1")) (; ";")) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);" (assignment_expression "iVar2 = (*(code *)PTR_towlower_000780e4)(local_34)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_towlower_000780e4)(local_34)" (parenthesized_expression "(*(code *)PTR_towlower_000780e4)" (( "(") (pointer_expression "*(code *)PTR_towlower_000780e4" (* "*") (cast_expression "(code *)PTR_towlower_000780e4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_towlower_000780e4"))) () ")")) (argument_list "(local_34)" (( "(") (identifier "local_34") () ")")))) (; ";")) (expression_statement "iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);" (assignment_expression "iVar3 = (*(code *)PTR_towlower_000780e4)(local_30)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_towlower_000780e4)(local_30)" (parenthesized_expression "(*(code *)PTR_towlower_000780e4)" (( "(") (pointer_expression "*(code *)PTR_towlower_000780e4" (* "*") (cast_expression "(code *)PTR_towlower_000780e4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_towlower_000780e4"))) () ")")) (argument_list "(local_30)" (( "(") (identifier "local_30") () ")")))) (; ";")) (expression_statement "iVar2 = iVar2 - iVar3;" (assignment_expression "iVar2 = iVar2 - iVar3" (identifier "iVar2") (= "=") (binary_expression "iVar2 - iVar3" (identifier "iVar2") (- "-") (identifier "iVar3"))) (; ";")) (if_statement "if (iVar2 != 0) break;" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}")))) (expression_statement "iVar2 = parse_mbchar(param_1,0,0);" (assignment_expression "iVar2 = parse_mbchar(param_1,0,0)" (identifier "iVar2") (= "=") (call_expression "parse_mbchar(param_1,0,0)" (identifier "parse_mbchar") (argument_list "(param_1,0,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "param_1 = param_1 + iVar2;" (assignment_expression "param_1 = param_1 + iVar2" (identifier "param_1") (= "=") (binary_expression "param_1 + iVar2" (identifier "param_1") (+ "+") (identifier "iVar2"))) (; ";")) (expression_statement "iVar2 = parse_mbchar(param_2,0,0);" (assignment_expression "iVar2 = parse_mbchar(param_2,0,0)" (identifier "iVar2") (= "=") (call_expression "parse_mbchar(param_2,0,0)" (identifier "parse_mbchar") (argument_list "(param_2,0,0)" (( "(") (identifier "param_2") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "param_3 = param_3 + -1;" (assignment_expression "param_3 = param_3 + -1" (identifier "param_3") (= "=") (binary_expression "param_3 + -1" (identifier "param_3") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "uVar4 = (uint)*param_1;" (assignment_expression "uVar4 = (uint)*param_1" (identifier "uVar4") (= "=") (binary_expression "(uint)*param_1" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "param_1"))) (; ";")) (expression_statement "param_2 = param_2 + iVar2;" (assignment_expression "param_2 = param_2 + iVar2" (identifier "param_2") (= "=") (binary_expression "param_2 + iVar2" (identifier "param_2") (+ "+") (identifier "iVar2"))) (; ";")) (if_statement "if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;" (if "if") (parenthesized_expression "((uVar4 == 0) || (*param_2 == 0))" (( "(") (binary_expression "(uVar4 == 0) || (*param_2 == 0)" (parenthesized_expression "(uVar4 == 0)" (( "(") (binary_expression "uVar4 == 0" (identifier "uVar4") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*param_2 == 0)" (( "(") (binary_expression "*param_2 == 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (== "==") (number_literal "0")) () ")"))) () ")")) (goto_statement "goto LAB_0001c1e8;" (goto "goto") (statement_identifier "LAB_0001c1e8") (; ";"))) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}"))) (} "}")))) (} "}")))) (if_statement "if (local_2c != *(int *)puVar1) {\n    (*(code *)PTR___stack_chk_fail_000780c0)();\n    iVar2 = mbstrncasecmp();\n    return iVar2;\n  }" (if "if") (parenthesized_expression "(local_2c != *(int *)puVar1)" (( "(") (binary_expression "local_2c != *(int *)puVar1" (identifier "local_2c") (!= "!=") (pointer_expression "*(int *)puVar1" (* "*") (cast_expression "(int *)puVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1")))) () ")")) (compound_statement "{\n    (*(code *)PTR___stack_chk_fail_000780c0)();\n    iVar2 = mbstrncasecmp();\n    return iVar2;\n  }" ({ "{") (expression_statement "(*(code *)PTR___stack_chk_fail_000780c0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000780c0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000780c0)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000780c0" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000780c0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000780c0"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar2 = mbstrncasecmp();" (assignment_expression "iVar2 = mbstrncasecmp()" (identifier "iVar2") (= "=") (call_expression "mbstrncasecmp()" (identifier "mbstrncasecmp") (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}"))) (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}")))
(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))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) consequence: (compound_statement (labeled_statement label: (statement_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)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)))))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (identifier))) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (break_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (break_statement)))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (identifier))) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (break_statement))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (return_statement (identifier)))) (return_statement (identifier)))))

int MASKED(char *param_1,byte *param_2,int param_3)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  uint uVar4;
  uint uVar5;
  undefined4 local_34;
  undefined4 local_30;
  int local_2c;
  
  puVar1 = PTR___stack_chk_guard_000780f8;
  local_2c = *(int *)PTR___stack_chk_guard_000780f8;
  if (PTR_DAT_0007754c[-0x7da0] == '\0') {
    iVar2 = (*(code *)PTR_strncasecmp_00077f84)();
  }
  else {
    uVar4 = (uint)*param_1;
    if ((uVar4 == 0) || (*param_2 == 0)) {
LAB_0001c1e8:
      if (param_3 == 0) {
        iVar2 = 0;
      }
      else {
        iVar2 = (uVar4 & 0xff) - (uint)*param_2;
      }
    }
    else {
      iVar2 = 0;
      if (param_3 != 0) {
        do {
          iVar2 = (*(code *)PTR_mbtowc_00077e98)(&local_34,param_1,6);
          iVar3 = (*(code *)PTR_mbtowc_00077e98)(&local_30,param_2,6);
          if (iVar2 < 0) {
            uVar4 = (uint)*param_1;
            uVar5 = (uint)(char)*param_2;
            if (uVar4 != uVar5) {
LAB_0001c1c8:
              iVar2 = (uVar4 & 0xff) - (uVar5 & 0xff);
              break;
            }
            if (-1 < iVar3) {
              iVar2 = 1;
              break;
            }
          }
          else {
            if (iVar3 < 0) {
              uVar4 = (uint)*param_1;
              uVar5 = (uint)(char)*param_2;
              if (uVar4 != uVar5) goto LAB_0001c1c8;
              iVar2 = -1;
              break;
            }
            iVar2 = (*(code *)PTR_towlower_000780e4)(local_34);
            iVar3 = (*(code *)PTR_towlower_000780e4)(local_30);
            iVar2 = iVar2 - iVar3;
            if (iVar2 != 0) break;
          }
          iVar2 = parse_mbchar(param_1,0,0);
          param_1 = param_1 + iVar2;
          iVar2 = parse_mbchar(param_2,0,0);
          param_3 = param_3 + -1;
          uVar4 = (uint)*param_1;
          param_2 = param_2 + iVar2;
          if ((uVar4 == 0) || (*param_2 == 0)) goto LAB_0001c1e8;
          iVar2 = 0;
        } while (param_3 != 0);
      }
    }
  }
  if (local_2c != *(int *)puVar1) {
    (*(code *)PTR___stack_chk_fail_000780c0)();
    iVar2 = MASKED();
    return iVar2;
  }
  return iVar2;
}

