
char * serial_configure(Serial serial,Conf *conf)

{
  long lVar1;
  int iVar2;
  uint uVar3;
  char *pcVar4;
  undefined *puVar5;
  speed_t __speed;
  long in_FS_OFFSET;
  termios options;
  
  lVar1 = *(long *)(in_FS_OFFSET + 0x28);
  pcVar4 = "Unable to reconfigure already-closed serial connection";
  if (-1 < serial->fd) {
    tcgetattr(serial->fd,(termios *)&options);
    iVar2 = conf_get_int(conf,0x3a);
    if (iVar2 < 0x4b) {
      uVar3 = 0x32;
      __speed = 1;
    }
    else if (iVar2 < 0x6e) {
      uVar3 = 0x4b;
      __speed = 2;
    }
    else if (iVar2 < 0x86) {
      uVar3 = 0x6e;
      __speed = 3;
    }
    else if (iVar2 < 0x96) {
      uVar3 = 0x86;
      __speed = 4;
    }
    else if (iVar2 < 200) {
      uVar3 = 0x96;
      __speed = 5;
    }
    else if (iVar2 < 300) {
      uVar3 = 200;
      __speed = 6;
    }
    else if (iVar2 < 600) {
      uVar3 = 300;
      __speed = 7;
    }
    else if (iVar2 < 0x4b0) {
      uVar3 = 600;
      __speed = 8;
    }
    else if (iVar2 < 0x708) {
      uVar3 = 0x4b0;
      __speed = 9;
    }
    else if (iVar2 < 0x960) {
      uVar3 = 0x708;
      __speed = 10;
    }
    else if (iVar2 < 0x12c0) {
      uVar3 = 0x960;
      __speed = 0xb;
    }
    else if (iVar2 < 0x2580) {
      uVar3 = 0x12c0;
      __speed = 0xc;
    }
    else if (iVar2 < 0x4b00) {
      uVar3 = 0x2580;
      __speed = 0xd;
    }
    else if (iVar2 < 0x9600) {
      uVar3 = 0x4b00;
      __speed = 0xe;
    }
    else if (iVar2 < 0xe100) {
      uVar3 = 0x9600;
      __speed = 0xf;
    }
    else if (iVar2 < 0x1c200) {
      uVar3 = 0xe100;
      __speed = 0x1001;
    }
    else if (iVar2 < 0x38400) {
      uVar3 = 0x1c200;
      __speed = 0x1002;
    }
    else if (iVar2 < 0x70800) {
      uVar3 = 0x38400;
      __speed = 0x1003;
    }
    else if (iVar2 < 500000) {
      uVar3 = 0x70800;
      __speed = 0x1004;
    }
    else if (iVar2 < 0x8ca00) {
      uVar3 = 500000;
      __speed = 0x1005;
    }
    else if (iVar2 < 0xe1000) {
      uVar3 = 0x8ca00;
      __speed = 0x1006;
    }
    else if (iVar2 < 1000000) {
      uVar3 = 0xe1000;
      __speed = 0x1007;
    }
    else if (iVar2 < 0x119400) {
      uVar3 = 1000000;
      __speed = 0x1008;
    }
    else if (iVar2 < 1500000) {
      uVar3 = 0x119400;
      __speed = 0x1009;
    }
    else if (iVar2 < 2000000) {
      uVar3 = 1500000;
      __speed = 0x100a;
    }
    else if (iVar2 < 2500000) {
      uVar3 = 2000000;
      __speed = 0x100b;
    }
    else if (iVar2 < 3000000) {
      uVar3 = 2500000;
      __speed = 0x100c;
    }
    else if (iVar2 < 3500000) {
      uVar3 = 3000000;
      __speed = 0x100d;
    }
    else {
      uVar3 = 3500000;
      if (3999999 < iVar2) {
        uVar3 = 4000000;
      }
      __speed = (3999999 < iVar2) + 0x100e;
    }
    cfsetispeed((termios *)&options,__speed);
    cfsetospeed((termios *)&options,__speed);
    pcVar4 = dupprintf("Configuring baud rate %d",(ulong)uVar3);
    logevent(serial->frontend,pcVar4);
    safefree(pcVar4);
    options.c_cflag = options.c_cflag & 0xffffffcf;
    iVar2 = conf_get_int(conf,0x3b);
    if (iVar2 == 6) {
      options.c_cflag = options.c_cflag | 0x10;
    }
    else if (iVar2 < 7) {
      if (iVar2 != 5) {
        pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)";
        goto LAB_00154210;
      }
    }
    else if (iVar2 == 7) {
      options.c_cflag = options.c_cflag | 0x20;
    }
    else {
      if (iVar2 != 8) {
        pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)";
        goto LAB_00154210;
      }
      options.c_cflag = options.c_cflag | 0x30;
    }
    uVar3 = conf_get_int(conf,0x3b);
    pcVar4 = dupprintf("Configuring %d data bits",(ulong)uVar3);
    logevent(serial->frontend,pcVar4);
    safefree(pcVar4);
    iVar2 = conf_get_int(conf,0x3c);
    if (iVar2 < 4) {
      options.c_cflag = options.c_cflag & 0xffffffbf;
    }
    else {
      options.c_cflag = options.c_cflag | 0x40;
    }
    pcVar4 = dupprintf("Configuring %d stop bits",(ulong)(((options.c_cflag & 0x40) != 0) + 1));
    logevent(serial->frontend,pcVar4);
    safefree(pcVar4);
    options.c_iflag = options.c_iflag & 0xffffebff;
    options.c_cflag = options.c_cflag & 0x7fffffff;
    iVar2 = conf_get_int(conf,0x3e);
    if (iVar2 == 1) {
      options.c_iflag = options.c_iflag | 0x1400;
      pcVar4 = "XON/XOFF";
    }
    else {
      pcVar4 = "no";
      if (iVar2 == 2) {
        options.c_cflag = options.c_cflag | 0x80000000;
        pcVar4 = "RTS/CTS";
      }
    }
    pcVar4 = dupprintf("Configuring %s flow control",pcVar4);
    logevent(serial->frontend,pcVar4);
    safefree(pcVar4);
    iVar2 = conf_get_int(conf,0x3d);
    if (iVar2 == 1) {
      options.c_cflag = options.c_cflag | 0x300;
      puVar5 = &DAT_00183872;
    }
    else if (iVar2 == 2) {
      options.c_cflag = options.c_cflag & 0xfffffdff | 0x100;
      puVar5 = &DAT_00183876;
    }
    else {
      options.c_cflag = options.c_cflag & 0xfffffeff;
      puVar5 = &DAT_0017f39d;
    }
    pcVar4 = dupprintf("Configuring %s parity",puVar5);
    logevent(serial->frontend,pcVar4);
    safefree(pcVar4);
    options.c_cflag = options.c_cflag | 0x880;
    options.c_lflag = options.c_lflag & 0xffffffe4;
    options.c_iflag = options.c_iflag & 0xfffffc1f;
    options.c_oflag = options.c_oflag & 0xffffffc2;
    options.c_cc[6] = '\x01';
    options.c_cc[5] = '\0';
    iVar2 = tcsetattr(serial->fd,0,(termios *)&options);
    pcVar4 = "Unable to configure serial port";
    if (-1 < iVar2) {
      pcVar4 = (char *)0x0;
    }
  }
LAB_00154210:
  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {
    return pcVar4;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}



char * FUN_00153e70(undefined8 *param_1,undefined8 param_2)

{
  int iVar1;
  undefined4 uVar2;
  char *pcVar3;
  undefined8 uVar4;
  undefined *puVar5;
  speed_t __speed;
  long in_FS_OFFSET;
  termios local_78;
  long local_30;
  
  local_30 = *(long *)(in_FS_OFFSET + 0x28);
  pcVar3 = "Unable to reconfigure already-closed serial connection";
  if (-1 < *(int *)(param_1 + 1)) {
    tcgetattr(*(int *)(param_1 + 1),&local_78);
    iVar1 = FUN_0011558e(param_2,0x3a);
    if (iVar1 < 0x4b) {
      uVar2 = 0x32;
      __speed = 1;
    }
    else if (iVar1 < 0x6e) {
      uVar2 = 0x4b;
      __speed = 2;
    }
    else if (iVar1 < 0x86) {
      uVar2 = 0x6e;
      __speed = 3;
    }
    else if (iVar1 < 0x96) {
      uVar2 = 0x86;
      __speed = 4;
    }
    else if (iVar1 < 200) {
      uVar2 = 0x96;
      __speed = 5;
    }
    else if (iVar1 < 300) {
      uVar2 = 200;
      __speed = 6;
    }
    else if (iVar1 < 600) {
      uVar2 = 300;
      __speed = 7;
    }
    else if (iVar1 < 0x4b0) {
      uVar2 = 600;
      __speed = 8;
    }
    else if (iVar1 < 0x708) {
      uVar2 = 0x4b0;
      __speed = 9;
    }
    else if (iVar1 < 0x960) {
      uVar2 = 0x708;
      __speed = 10;
    }
    else if (iVar1 < 0x12c0) {
      uVar2 = 0x960;
      __speed = 0xb;
    }
    else if (iVar1 < 0x2580) {
      uVar2 = 0x12c0;
      __speed = 0xc;
    }
    else if (iVar1 < 0x4b00) {
      uVar2 = 0x2580;
      __speed = 0xd;
    }
    else if (iVar1 < 0x9600) {
      uVar2 = 0x4b00;
      __speed = 0xe;
    }
    else if (iVar1 < 0xe100) {
      uVar2 = 0x9600;
      __speed = 0xf;
    }
    else if (iVar1 < 0x1c200) {
      uVar2 = 0xe100;
      __speed = 0x1001;
    }
    else if (iVar1 < 0x38400) {
      uVar2 = 0x1c200;
      __speed = 0x1002;
    }
    else if (iVar1 < 0x70800) {
      uVar2 = 0x38400;
      __speed = 0x1003;
    }
    else if (iVar1 < 500000) {
      uVar2 = 0x70800;
      __speed = 0x1004;
    }
    else if (iVar1 < 0x8ca00) {
      uVar2 = 500000;
      __speed = 0x1005;
    }
    else if (iVar1 < 0xe1000) {
      uVar2 = 0x8ca00;
      __speed = 0x1006;
    }
    else if (iVar1 < 1000000) {
      uVar2 = 0xe1000;
      __speed = 0x1007;
    }
    else if (iVar1 < 0x119400) {
      uVar2 = 1000000;
      __speed = 0x1008;
    }
    else if (iVar1 < 1500000) {
      uVar2 = 0x119400;
      __speed = 0x1009;
    }
    else if (iVar1 < 2000000) {
      uVar2 = 1500000;
      __speed = 0x100a;
    }
    else if (iVar1 < 2500000) {
      uVar2 = 2000000;
      __speed = 0x100b;
    }
    else if (iVar1 < 3000000) {
      uVar2 = 2500000;
      __speed = 0x100c;
    }
    else if (iVar1 < 3500000) {
      uVar2 = 3000000;
      __speed = 0x100d;
    }
    else {
      uVar2 = 3500000;
      if (3999999 < iVar1) {
        uVar2 = 4000000;
      }
      __speed = (3999999 < iVar1) + 0x100e;
    }
    cfsetispeed(&local_78,__speed);
    cfsetospeed(&local_78,__speed);
    uVar4 = FUN_0012292d("Configuring baud rate %d",uVar2);
    FUN_0014a676(*param_1,uVar4);
    FUN_00122b5a(uVar4);
    local_78.c_cflag = local_78.c_cflag & 0xffffffcf;
    iVar1 = FUN_0011558e(param_2,0x3b);
    if (iVar1 == 6) {
      local_78.c_cflag = local_78.c_cflag | 0x10;
    }
    else if (iVar1 < 7) {
      if (iVar1 != 5) {
        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";
        goto LAB_00154210;
      }
    }
    else if (iVar1 == 7) {
      local_78.c_cflag = local_78.c_cflag | 0x20;
    }
    else {
      if (iVar1 != 8) {
        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";
        goto LAB_00154210;
      }
      local_78.c_cflag = local_78.c_cflag | 0x30;
    }
    uVar2 = FUN_0011558e(param_2,0x3b);
    uVar4 = FUN_0012292d("Configuring %d data bits",uVar2);
    FUN_0014a676(*param_1,uVar4);
    FUN_00122b5a(uVar4);
    iVar1 = FUN_0011558e(param_2,0x3c);
    if (iVar1 < 4) {
      local_78.c_cflag = local_78.c_cflag & 0xffffffbf;
    }
    else {
      local_78.c_cflag = local_78.c_cflag | 0x40;
    }
    uVar4 = FUN_0012292d("Configuring %d stop bits",((local_78.c_cflag & 0x40) != 0) + '\x01');
    FUN_0014a676(*param_1,uVar4);
    FUN_00122b5a(uVar4);
    local_78.c_iflag = local_78.c_iflag & 0xffffebff;
    local_78.c_cflag = local_78.c_cflag & 0x7fffffff;
    iVar1 = FUN_0011558e(param_2,0x3e);
    if (iVar1 == 1) {
      local_78.c_iflag = local_78.c_iflag | 0x1400;
      pcVar3 = "XON/XOFF";
    }
    else {
      pcVar3 = "no";
      if (iVar1 == 2) {
        local_78.c_cflag = local_78.c_cflag | 0x80000000;
        pcVar3 = "RTS/CTS";
      }
    }
    uVar4 = FUN_0012292d("Configuring %s flow control",pcVar3);
    FUN_0014a676(*param_1,uVar4);
    FUN_00122b5a(uVar4);
    iVar1 = FUN_0011558e(param_2,0x3d);
    if (iVar1 == 1) {
      local_78.c_cflag = local_78.c_cflag | 0x300;
      puVar5 = &DAT_00183872;
    }
    else if (iVar1 == 2) {
      local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100;
      puVar5 = &DAT_00183876;
    }
    else {
      local_78.c_cflag = local_78.c_cflag & 0xfffffeff;
      puVar5 = &DAT_0017f39d;
    }
    uVar4 = FUN_0012292d("Configuring %s parity",puVar5);
    FUN_0014a676(*param_1,uVar4);
    FUN_00122b5a(uVar4);
    local_78.c_cflag = local_78.c_cflag | 0x880;
    local_78.c_lflag = local_78.c_lflag & 0xffffffe4;
    local_78.c_iflag = local_78.c_iflag & 0xfffffc1f;
    local_78.c_oflag = local_78.c_oflag & 0xffffffc2;
    local_78.c_cc[6] = '\x01';
    local_78.c_cc[5] = '\0';
    iVar1 = tcsetattr(*(int *)(param_1 + 1),0,&local_78);
    pcVar3 = "Unable to configure serial port";
    if (-1 < iVar1) {
      pcVar3 = (char *)0x0;
    }
  }
LAB_00154210:
  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {
    return pcVar3;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}


PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x50
MOV RBX,RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RSP + 0x48],RAX
XOR EAX,EAX
MOV EDI,dword ptr [RDI + 0x8]
LEA RAX,[0x183958]
TEST EDI,EDI
JS 0x00154210
MOV RBP,RSI
MOV RSI,RSP
CALL 0x001111f0
MOV ESI,0x3a
MOV RDI,RBP
CALL 0x0011558e
CMP EAX,0x4a
JLE 0x00154472
CMP EAX,0x6d
JLE 0x00154483
CMP EAX,0x85
JLE 0x00154461
CMP EAX,0x95
JLE 0x00154450
CMP EAX,0xc7
JLE 0x0015443f
CMP EAX,0x12b
JLE 0x0015442e
CMP EAX,0x257
JLE 0x0015441d
CMP EAX,0x4af
JLE 0x0015440c
CMP EAX,0x707
JLE 0x001543fb
CMP EAX,0x95f
JLE 0x001543ea
CMP EAX,0x12bf
JLE 0x001543d9
CMP EAX,0x257f
JLE 0x001543c8
CMP EAX,0x4aff
JLE 0x001543b7
CMP EAX,0x95ff
JLE 0x001543a6
CMP EAX,0xe0ff
JLE 0x00154395
CMP EAX,0x1c1ff
JLE 0x00154384
CMP EAX,0x383ff
JLE 0x00154373
CMP EAX,0x707ff
JLE 0x00154362
CMP EAX,0x7a11f
JLE 0x00154351
CMP EAX,0x8c9ff
JLE 0x00154340
CMP EAX,0xe0fff
JLE 0x0015432f
CMP EAX,0xf423f
JLE 0x0015431e
CMP EAX,0x1193ff
JLE 0x0015430d
CMP EAX,0x16e35f
JLE 0x001542fc
CMP EAX,0x1e847f
JLE 0x001542eb
CMP EAX,0x26259f
JLE 0x001542da
CMP EAX,0x2dc6bf
JLE 0x001542c9
CMP EAX,0x3567df
JLE 0x001542b8
CMP EAX,0x3d0900
MOV R13D,0x3567e0
MOV EDX,0x3d0900
CMOVGE R13D,EDX
SETGE R12B
MOVZX R12D,R12B
ADD R12D,0x100e
MOV R14,RSP
MOV ESI,R12D
MOV RDI,R14
CALL 0x001108f0
MOV ESI,R12D
MOV RDI,R14
CALL 0x00111190
MOV ESI,R13D
LEA RDI,[0x18387b]
MOV EAX,0x0
CALL 0x0012292d
MOV R12,RAX
MOV RSI,RAX
MOV RDI,qword ptr [RBX]
CALL 0x0014a676
MOV RDI,R12
CALL 0x00122b5a
AND dword ptr [RSP + 0x8],0xffffffcf
MOV ESI,0x3b
MOV RDI,RBP
CALL 0x0011558e
CMP EAX,0x6
JZ 0x00154243
JLE 0x00154085
CMP EAX,0x7
JZ 0x0015424d
CMP EAX,0x8
JNZ 0x0015423a
OR dword ptr [RSP + 0x8],0x30
JMP 0x0015408e
CMP EAX,0x5
JNZ 0x00154231
MOV ESI,0x3b
MOV RDI,RBP
CALL 0x0011558e
MOV ESI,EAX
LEA RDI,[0x183894]
MOV EAX,0x0
CALL 0x0012292d
MOV R12,RAX
MOV RSI,RAX
MOV RDI,qword ptr [RBX]
CALL 0x0014a676
MOV RDI,R12
CALL 0x00122b5a
MOV ESI,0x3c
MOV RDI,RBP
CALL 0x0011558e
CMP EAX,0x3
JLE 0x00154257
MOV EAX,dword ptr [RSP + 0x8]
OR EAX,0x40
MOV dword ptr [RSP + 0x8],EAX
AND EAX,0x40
SETNZ SIL
MOVZX ESI,SIL
ADD ESI,0x1
LEA RDI,[0x1838ad]
MOV EAX,0x0
CALL 0x0012292d
MOV R12,RAX
MOV RSI,RAX
MOV RDI,qword ptr [RBX]
CALL 0x0014a676
MOV RDI,R12
CALL 0x00122b5a
AND dword ptr [RSP],0xffffebff
AND dword ptr [RSP + 0x8],0x7fffffff
MOV ESI,0x3e
MOV RDI,RBP
CALL 0x0011558e
CMP EAX,0x1
JZ 0x00154263
LEA RSI,[0x17f39d]
CMP EAX,0x2
JZ 0x00154276
LEA RDI,[0x1838c6]
MOV EAX,0x0
CALL 0x0012292d
MOV R12,RAX
MOV RSI,RAX
MOV RDI,qword ptr [RBX]
CALL 0x0014a676
MOV RDI,R12
CALL 0x00122b5a
MOV ESI,0x3d
MOV RDI,RBP
CALL 0x0011558e
CMP EAX,0x1
JZ 0x0015428a
CMP EAX,0x2
JZ 0x0015429e
AND dword ptr [RSP + 0x8],0xfffffeff
LEA RSI,[0x17f39d]
LEA RDI,[0x1838e2]
MOV EAX,0x0
CALL 0x0012292d
MOV RBP,RAX
MOV RSI,RAX
MOV RDI,qword ptr [RBX]
CALL 0x0014a676
MOV RDI,RBP
CALL 0x00122b5a
OR dword ptr [RSP + 0x8],0x880
AND dword ptr [RSP + 0xc],0xffffffe4
AND dword ptr [RSP],0xfffffc1f
AND dword ptr [RSP + 0x4],0xffffffc2
MOV byte ptr [RSP + 0x17],0x1
MOV byte ptr [RSP + 0x16],0x0
MOV RDX,RSP
MOV EDI,dword ptr [RBX + 0x8]
MOV ESI,0x0
CALL 0x00111490
TEST EAX,EAX
LEA RAX,[0x1839c0]
MOV EDX,0x0
CMOVNS RAX,RDX
MOV RCX,qword ptr [RSP + 0x48]
XOR RCX,qword ptr FS:[0x28]
JNZ 0x00154494
ADD RSP,0x50
POP RBX
POP RBP
POP R12
POP R13
POP R14
RET
LEA RAX,[0x183990]
JMP 0x00154210
LEA RAX,[0x183990]
JMP 0x00154210
OR dword ptr [RSP + 0x8],0x10
JMP 0x0015408e
OR dword ptr [RSP + 0x8],0x20
JMP 0x0015408e
MOV EAX,dword ptr [RSP + 0x8]
AND EAX,0xffffffbf
JMP 0x001540e1
OR dword ptr [RSP],0x1400
LEA RSI,[0x17d9de]
JMP 0x0015414f
OR dword ptr [RSP + 0x8],0x80000000
LEA RSI,[0x17d9e7]
JMP 0x0015414f
OR dword ptr [RSP + 0x8],0x300
LEA RSI,[0x183872]
JMP 0x001541a4
MOV EAX,dword ptr [RSP + 0x8]
AND AH,0xfd
OR AH,0x1
MOV dword ptr [RSP + 0x8],EAX
LEA RSI,[0x183876]
JMP 0x001541a4
MOV R13D,0x2dc6c0
MOV R12D,0x100d
JMP 0x0015400c
MOV R13D,0x2625a0
MOV R12D,0x100c
JMP 0x0015400c
MOV R13D,0x1e8480
MOV R12D,0x100b
JMP 0x0015400c
MOV R13D,0x16e360
MOV R12D,0x100a
JMP 0x0015400c
MOV R13D,0x119400
MOV R12D,0x1009
JMP 0x0015400c
MOV R13D,0xf4240
MOV R12D,0x1008
JMP 0x0015400c
MOV R13D,0xe1000
MOV R12D,0x1007
JMP 0x0015400c
MOV R13D,0x8ca00
MOV R12D,0x1006
JMP 0x0015400c
MOV R13D,0x7a120
MOV R12D,0x1005
JMP 0x0015400c
MOV R13D,0x70800
MOV R12D,0x1004
JMP 0x0015400c
MOV R13D,0x38400
MOV R12D,0x1003
JMP 0x0015400c
MOV R13D,0x1c200
MOV R12D,0x1002
JMP 0x0015400c
MOV R13D,0xe100
MOV R12D,0x1001
JMP 0x0015400c
MOV R13D,0x9600
MOV R12D,0xf
JMP 0x0015400c
MOV R13D,0x4b00
MOV R12D,0xe
JMP 0x0015400c
MOV R13D,0x2580
MOV R12D,0xd
JMP 0x0015400c
MOV R13D,0x12c0
MOV R12D,0xc
JMP 0x0015400c
MOV R13D,0x960
MOV R12D,0xb
JMP 0x0015400c
MOV R13D,0x708
MOV R12D,0xa
JMP 0x0015400c
MOV R13D,0x4b0
MOV R12D,0x9
JMP 0x0015400c
MOV R13D,0x258
MOV R12D,0x8
JMP 0x0015400c
MOV R13D,0x12c
MOV R12D,0x7
JMP 0x0015400c
MOV R13D,0xc8
MOV R12D,0x6
JMP 0x0015400c
MOV R13D,0x96
MOV R12D,0x5
JMP 0x0015400c
MOV R13D,0x86
MOV R12D,0x4
JMP 0x0015400c
MOV R13D,0x6e
MOV R12D,0x3
JMP 0x0015400c
MOV R13D,0x32
MOV R12D,0x1
JMP 0x0015400c
MOV R13D,0x4b
MOV R12D,0x2
JMP 0x0015400c
CALL 0x001111e0
(translation_unit "char * FUN_00153e70(undefined8 *param_1,undefined8 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  char *pcVar3;\n  undefined8 uVar4;\n  undefined *puVar5;\n  speed_t __speed;\n  long in_FS_OFFSET;\n  termios local_78;\n  long local_30;\n  \n  local_30 = *(long *)(in_FS_OFFSET + 0x28);\n  pcVar3 = "Unable to reconfigure already-closed serial connection";\n  if (-1 < *(int *)(param_1 + 1)) {\n    tcgetattr(*(int *)(param_1 + 1),&local_78);\n    iVar1 = FUN_0011558e(param_2,0x3a);\n    if (iVar1 < 0x4b) {\n      uVar2 = 0x32;\n      __speed = 1;\n    }\n    else if (iVar1 < 0x6e) {\n      uVar2 = 0x4b;\n      __speed = 2;\n    }\n    else if (iVar1 < 0x86) {\n      uVar2 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }\n    cfsetispeed(&local_78,__speed);\n    cfsetospeed(&local_78,__speed);\n    uVar4 = FUN_0012292d("Configuring baud rate %d",uVar2);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_cflag = local_78.c_cflag & 0xffffffcf;\n    iVar1 = FUN_0011558e(param_2,0x3b);\n    if (iVar1 == 6) {\n      local_78.c_cflag = local_78.c_cflag | 0x10;\n    }\n    else if (iVar1 < 7) {\n      if (iVar1 != 5) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }\n    else if (iVar1 == 7) {\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }\n    else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }\n    uVar2 = FUN_0011558e(param_2,0x3b);\n    uVar4 = FUN_0012292d("Configuring %d data bits",uVar2);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    iVar1 = FUN_0011558e(param_2,0x3c);\n    if (iVar1 < 4) {\n      local_78.c_cflag = local_78.c_cflag & 0xffffffbf;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag | 0x40;\n    }\n    uVar4 = FUN_0012292d("Configuring %d stop bits",((local_78.c_cflag & 0x40) != 0) + '\x01');\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_iflag = local_78.c_iflag & 0xffffebff;\n    local_78.c_cflag = local_78.c_cflag & 0x7fffffff;\n    iVar1 = FUN_0011558e(param_2,0x3e);\n    if (iVar1 == 1) {\n      local_78.c_iflag = local_78.c_iflag | 0x1400;\n      pcVar3 = "XON/XOFF";\n    }\n    else {\n      pcVar3 = "no";\n      if (iVar1 == 2) {\n        local_78.c_cflag = local_78.c_cflag | 0x80000000;\n        pcVar3 = "RTS/CTS";\n      }\n    }\n    uVar4 = FUN_0012292d("Configuring %s flow control",pcVar3);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    iVar1 = FUN_0011558e(param_2,0x3d);\n    if (iVar1 == 1) {\n      local_78.c_cflag = local_78.c_cflag | 0x300;\n      puVar5 = &DAT_00183872;\n    }\n    else if (iVar1 == 2) {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }\n    uVar4 = FUN_0012292d("Configuring %s parity",puVar5);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_cflag = local_78.c_cflag | 0x880;\n    local_78.c_lflag = local_78.c_lflag & 0xffffffe4;\n    local_78.c_iflag = local_78.c_iflag & 0xfffffc1f;\n    local_78.c_oflag = local_78.c_oflag & 0xffffffc2;\n    local_78.c_cc[6] = '\x01';\n    local_78.c_cc[5] = '\0';\n    iVar1 = tcsetattr(*(int *)(param_1 + 1),0,&local_78);\n    pcVar3 = "Unable to configure serial port";\n    if (-1 < iVar1) {\n      pcVar3 = (char *)0x0;\n    }\n  }\nLAB_00154210:\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return pcVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}\n\n" (function_definition "char * FUN_00153e70(undefined8 *param_1,undefined8 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  char *pcVar3;\n  undefined8 uVar4;\n  undefined *puVar5;\n  speed_t __speed;\n  long in_FS_OFFSET;\n  termios local_78;\n  long local_30;\n  \n  local_30 = *(long *)(in_FS_OFFSET + 0x28);\n  pcVar3 = "Unable to reconfigure already-closed serial connection";\n  if (-1 < *(int *)(param_1 + 1)) {\n    tcgetattr(*(int *)(param_1 + 1),&local_78);\n    iVar1 = FUN_0011558e(param_2,0x3a);\n    if (iVar1 < 0x4b) {\n      uVar2 = 0x32;\n      __speed = 1;\n    }\n    else if (iVar1 < 0x6e) {\n      uVar2 = 0x4b;\n      __speed = 2;\n    }\n    else if (iVar1 < 0x86) {\n      uVar2 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }\n    cfsetispeed(&local_78,__speed);\n    cfsetospeed(&local_78,__speed);\n    uVar4 = FUN_0012292d("Configuring baud rate %d",uVar2);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_cflag = local_78.c_cflag & 0xffffffcf;\n    iVar1 = FUN_0011558e(param_2,0x3b);\n    if (iVar1 == 6) {\n      local_78.c_cflag = local_78.c_cflag | 0x10;\n    }\n    else if (iVar1 < 7) {\n      if (iVar1 != 5) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }\n    else if (iVar1 == 7) {\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }\n    else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }\n    uVar2 = FUN_0011558e(param_2,0x3b);\n    uVar4 = FUN_0012292d("Configuring %d data bits",uVar2);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    iVar1 = FUN_0011558e(param_2,0x3c);\n    if (iVar1 < 4) {\n      local_78.c_cflag = local_78.c_cflag & 0xffffffbf;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag | 0x40;\n    }\n    uVar4 = FUN_0012292d("Configuring %d stop bits",((local_78.c_cflag & 0x40) != 0) + '\x01');\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_iflag = local_78.c_iflag & 0xffffebff;\n    local_78.c_cflag = local_78.c_cflag & 0x7fffffff;\n    iVar1 = FUN_0011558e(param_2,0x3e);\n    if (iVar1 == 1) {\n      local_78.c_iflag = local_78.c_iflag | 0x1400;\n      pcVar3 = "XON/XOFF";\n    }\n    else {\n      pcVar3 = "no";\n      if (iVar1 == 2) {\n        local_78.c_cflag = local_78.c_cflag | 0x80000000;\n        pcVar3 = "RTS/CTS";\n      }\n    }\n    uVar4 = FUN_0012292d("Configuring %s flow control",pcVar3);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    iVar1 = FUN_0011558e(param_2,0x3d);\n    if (iVar1 == 1) {\n      local_78.c_cflag = local_78.c_cflag | 0x300;\n      puVar5 = &DAT_00183872;\n    }\n    else if (iVar1 == 2) {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }\n    uVar4 = FUN_0012292d("Configuring %s parity",puVar5);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_cflag = local_78.c_cflag | 0x880;\n    local_78.c_lflag = local_78.c_lflag & 0xffffffe4;\n    local_78.c_iflag = local_78.c_iflag & 0xfffffc1f;\n    local_78.c_oflag = local_78.c_oflag & 0xffffffc2;\n    local_78.c_cc[6] = '\x01';\n    local_78.c_cc[5] = '\0';\n    iVar1 = tcsetattr(*(int *)(param_1 + 1),0,&local_78);\n    pcVar3 = "Unable to configure serial port";\n    if (-1 < iVar1) {\n      pcVar3 = (char *)0x0;\n    }\n  }\nLAB_00154210:\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return pcVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" primitive_type (pointer_declarator "* FUN_00153e70(undefined8 *param_1,undefined8 param_2)" * (function_declarator "FUN_00153e70(undefined8 *param_1,undefined8 param_2)" identifier (parameter_list "(undefined8 *param_1,undefined8 param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) )))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  char *pcVar3;\n  undefined8 uVar4;\n  undefined *puVar5;\n  speed_t __speed;\n  long in_FS_OFFSET;\n  termios local_78;\n  long local_30;\n  \n  local_30 = *(long *)(in_FS_OFFSET + 0x28);\n  pcVar3 = "Unable to reconfigure already-closed serial connection";\n  if (-1 < *(int *)(param_1 + 1)) {\n    tcgetattr(*(int *)(param_1 + 1),&local_78);\n    iVar1 = FUN_0011558e(param_2,0x3a);\n    if (iVar1 < 0x4b) {\n      uVar2 = 0x32;\n      __speed = 1;\n    }\n    else if (iVar1 < 0x6e) {\n      uVar2 = 0x4b;\n      __speed = 2;\n    }\n    else if (iVar1 < 0x86) {\n      uVar2 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }\n    cfsetispeed(&local_78,__speed);\n    cfsetospeed(&local_78,__speed);\n    uVar4 = FUN_0012292d("Configuring baud rate %d",uVar2);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_cflag = local_78.c_cflag & 0xffffffcf;\n    iVar1 = FUN_0011558e(param_2,0x3b);\n    if (iVar1 == 6) {\n      local_78.c_cflag = local_78.c_cflag | 0x10;\n    }\n    else if (iVar1 < 7) {\n      if (iVar1 != 5) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }\n    else if (iVar1 == 7) {\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }\n    else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }\n    uVar2 = FUN_0011558e(param_2,0x3b);\n    uVar4 = FUN_0012292d("Configuring %d data bits",uVar2);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    iVar1 = FUN_0011558e(param_2,0x3c);\n    if (iVar1 < 4) {\n      local_78.c_cflag = local_78.c_cflag & 0xffffffbf;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag | 0x40;\n    }\n    uVar4 = FUN_0012292d("Configuring %d stop bits",((local_78.c_cflag & 0x40) != 0) + '\x01');\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_iflag = local_78.c_iflag & 0xffffebff;\n    local_78.c_cflag = local_78.c_cflag & 0x7fffffff;\n    iVar1 = FUN_0011558e(param_2,0x3e);\n    if (iVar1 == 1) {\n      local_78.c_iflag = local_78.c_iflag | 0x1400;\n      pcVar3 = "XON/XOFF";\n    }\n    else {\n      pcVar3 = "no";\n      if (iVar1 == 2) {\n        local_78.c_cflag = local_78.c_cflag | 0x80000000;\n        pcVar3 = "RTS/CTS";\n      }\n    }\n    uVar4 = FUN_0012292d("Configuring %s flow control",pcVar3);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    iVar1 = FUN_0011558e(param_2,0x3d);\n    if (iVar1 == 1) {\n      local_78.c_cflag = local_78.c_cflag | 0x300;\n      puVar5 = &DAT_00183872;\n    }\n    else if (iVar1 == 2) {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }\n    uVar4 = FUN_0012292d("Configuring %s parity",puVar5);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_cflag = local_78.c_cflag | 0x880;\n    local_78.c_lflag = local_78.c_lflag & 0xffffffe4;\n    local_78.c_iflag = local_78.c_iflag & 0xfffffc1f;\n    local_78.c_oflag = local_78.c_oflag & 0xffffffc2;\n    local_78.c_cc[6] = '\x01';\n    local_78.c_cc[5] = '\0';\n    iVar1 = tcsetattr(*(int *)(param_1 + 1),0,&local_78);\n    pcVar3 = "Unable to configure serial port";\n    if (-1 < iVar1) {\n      pcVar3 = (char *)0x0;\n    }\n  }\nLAB_00154210:\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return pcVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "speed_t __speed;" type_identifier identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "termios local_78;" type_identifier identifier ;) (declaration "long local_30;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_30 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_30 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (expression_statement "pcVar3 = "Unable to reconfigure already-closed serial connection";" (assignment_expression "pcVar3 = "Unable to reconfigure already-closed serial connection"" identifier = (string_literal ""Unable to reconfigure already-closed serial connection"" " string_content ")) ;) (if_statement "if (-1 < *(int *)(param_1 + 1)) {\n    tcgetattr(*(int *)(param_1 + 1),&local_78);\n    iVar1 = FUN_0011558e(param_2,0x3a);\n    if (iVar1 < 0x4b) {\n      uVar2 = 0x32;\n      __speed = 1;\n    }\n    else if (iVar1 < 0x6e) {\n      uVar2 = 0x4b;\n      __speed = 2;\n    }\n    else if (iVar1 < 0x86) {\n      uVar2 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }\n    cfsetispeed(&local_78,__speed);\n    cfsetospeed(&local_78,__speed);\n    uVar4 = FUN_0012292d("Configuring baud rate %d",uVar2);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_cflag = local_78.c_cflag & 0xffffffcf;\n    iVar1 = FUN_0011558e(param_2,0x3b);\n    if (iVar1 == 6) {\n      local_78.c_cflag = local_78.c_cflag | 0x10;\n    }\n    else if (iVar1 < 7) {\n      if (iVar1 != 5) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }\n    else if (iVar1 == 7) {\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }\n    else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }\n    uVar2 = FUN_0011558e(param_2,0x3b);\n    uVar4 = FUN_0012292d("Configuring %d data bits",uVar2);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    iVar1 = FUN_0011558e(param_2,0x3c);\n    if (iVar1 < 4) {\n      local_78.c_cflag = local_78.c_cflag & 0xffffffbf;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag | 0x40;\n    }\n    uVar4 = FUN_0012292d("Configuring %d stop bits",((local_78.c_cflag & 0x40) != 0) + '\x01');\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_iflag = local_78.c_iflag & 0xffffebff;\n    local_78.c_cflag = local_78.c_cflag & 0x7fffffff;\n    iVar1 = FUN_0011558e(param_2,0x3e);\n    if (iVar1 == 1) {\n      local_78.c_iflag = local_78.c_iflag | 0x1400;\n      pcVar3 = "XON/XOFF";\n    }\n    else {\n      pcVar3 = "no";\n      if (iVar1 == 2) {\n        local_78.c_cflag = local_78.c_cflag | 0x80000000;\n        pcVar3 = "RTS/CTS";\n      }\n    }\n    uVar4 = FUN_0012292d("Configuring %s flow control",pcVar3);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    iVar1 = FUN_0011558e(param_2,0x3d);\n    if (iVar1 == 1) {\n      local_78.c_cflag = local_78.c_cflag | 0x300;\n      puVar5 = &DAT_00183872;\n    }\n    else if (iVar1 == 2) {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }\n    uVar4 = FUN_0012292d("Configuring %s parity",puVar5);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_cflag = local_78.c_cflag | 0x880;\n    local_78.c_lflag = local_78.c_lflag & 0xffffffe4;\n    local_78.c_iflag = local_78.c_iflag & 0xfffffc1f;\n    local_78.c_oflag = local_78.c_oflag & 0xffffffc2;\n    local_78.c_cc[6] = '\x01';\n    local_78.c_cc[5] = '\0';\n    iVar1 = tcsetattr(*(int *)(param_1 + 1),0,&local_78);\n    pcVar3 = "Unable to configure serial port";\n    if (-1 < iVar1) {\n      pcVar3 = (char *)0x0;\n    }\n  }" if (parenthesized_expression "(-1 < *(int *)(param_1 + 1))" ( (binary_expression "-1 < *(int *)(param_1 + 1)" number_literal < (pointer_expression "*(int *)(param_1 + 1)" * (cast_expression "(int *)(param_1 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))))) )) (compound_statement "{\n    tcgetattr(*(int *)(param_1 + 1),&local_78);\n    iVar1 = FUN_0011558e(param_2,0x3a);\n    if (iVar1 < 0x4b) {\n      uVar2 = 0x32;\n      __speed = 1;\n    }\n    else if (iVar1 < 0x6e) {\n      uVar2 = 0x4b;\n      __speed = 2;\n    }\n    else if (iVar1 < 0x86) {\n      uVar2 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }\n    cfsetispeed(&local_78,__speed);\n    cfsetospeed(&local_78,__speed);\n    uVar4 = FUN_0012292d("Configuring baud rate %d",uVar2);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_cflag = local_78.c_cflag & 0xffffffcf;\n    iVar1 = FUN_0011558e(param_2,0x3b);\n    if (iVar1 == 6) {\n      local_78.c_cflag = local_78.c_cflag | 0x10;\n    }\n    else if (iVar1 < 7) {\n      if (iVar1 != 5) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }\n    else if (iVar1 == 7) {\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }\n    else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }\n    uVar2 = FUN_0011558e(param_2,0x3b);\n    uVar4 = FUN_0012292d("Configuring %d data bits",uVar2);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    iVar1 = FUN_0011558e(param_2,0x3c);\n    if (iVar1 < 4) {\n      local_78.c_cflag = local_78.c_cflag & 0xffffffbf;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag | 0x40;\n    }\n    uVar4 = FUN_0012292d("Configuring %d stop bits",((local_78.c_cflag & 0x40) != 0) + '\x01');\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_iflag = local_78.c_iflag & 0xffffebff;\n    local_78.c_cflag = local_78.c_cflag & 0x7fffffff;\n    iVar1 = FUN_0011558e(param_2,0x3e);\n    if (iVar1 == 1) {\n      local_78.c_iflag = local_78.c_iflag | 0x1400;\n      pcVar3 = "XON/XOFF";\n    }\n    else {\n      pcVar3 = "no";\n      if (iVar1 == 2) {\n        local_78.c_cflag = local_78.c_cflag | 0x80000000;\n        pcVar3 = "RTS/CTS";\n      }\n    }\n    uVar4 = FUN_0012292d("Configuring %s flow control",pcVar3);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    iVar1 = FUN_0011558e(param_2,0x3d);\n    if (iVar1 == 1) {\n      local_78.c_cflag = local_78.c_cflag | 0x300;\n      puVar5 = &DAT_00183872;\n    }\n    else if (iVar1 == 2) {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }\n    uVar4 = FUN_0012292d("Configuring %s parity",puVar5);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_cflag = local_78.c_cflag | 0x880;\n    local_78.c_lflag = local_78.c_lflag & 0xffffffe4;\n    local_78.c_iflag = local_78.c_iflag & 0xfffffc1f;\n    local_78.c_oflag = local_78.c_oflag & 0xffffffc2;\n    local_78.c_cc[6] = '\x01';\n    local_78.c_cc[5] = '\0';\n    iVar1 = tcsetattr(*(int *)(param_1 + 1),0,&local_78);\n    pcVar3 = "Unable to configure serial port";\n    if (-1 < iVar1) {\n      pcVar3 = (char *)0x0;\n    }\n  }" { (expression_statement "tcgetattr(*(int *)(param_1 + 1),&local_78);" (call_expression "tcgetattr(*(int *)(param_1 + 1),&local_78)" identifier (argument_list "(*(int *)(param_1 + 1),&local_78)" ( (pointer_expression "*(int *)(param_1 + 1)" * (cast_expression "(int *)(param_1 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) , (pointer_expression "&local_78" & identifier) ))) ;) (expression_statement "iVar1 = FUN_0011558e(param_2,0x3a);" (assignment_expression "iVar1 = FUN_0011558e(param_2,0x3a)" identifier = (call_expression "FUN_0011558e(param_2,0x3a)" identifier (argument_list "(param_2,0x3a)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 < 0x4b) {\n      uVar2 = 0x32;\n      __speed = 1;\n    }\n    else if (iVar1 < 0x6e) {\n      uVar2 = 0x4b;\n      __speed = 2;\n    }\n    else if (iVar1 < 0x86) {\n      uVar2 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x4b)" ( (binary_expression "iVar1 < 0x4b" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x32;\n      __speed = 1;\n    }" { (expression_statement "uVar2 = 0x32;" (assignment_expression "uVar2 = 0x32" identifier = number_literal) ;) (expression_statement "__speed = 1;" (assignment_expression "__speed = 1" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x6e) {\n      uVar2 = 0x4b;\n      __speed = 2;\n    }\n    else if (iVar1 < 0x86) {\n      uVar2 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0x6e) {\n      uVar2 = 0x4b;\n      __speed = 2;\n    }\n    else if (iVar1 < 0x86) {\n      uVar2 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x6e)" ( (binary_expression "iVar1 < 0x6e" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x4b;\n      __speed = 2;\n    }" { (expression_statement "uVar2 = 0x4b;" (assignment_expression "uVar2 = 0x4b" identifier = number_literal) ;) (expression_statement "__speed = 2;" (assignment_expression "__speed = 2" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x86) {\n      uVar2 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0x86) {\n      uVar2 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x86)" ( (binary_expression "iVar1 < 0x86" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x6e;\n      __speed = 3;\n    }" { (expression_statement "uVar2 = 0x6e;" (assignment_expression "uVar2 = 0x6e" identifier = number_literal) ;) (expression_statement "__speed = 3;" (assignment_expression "__speed = 3" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x96)" ( (binary_expression "iVar1 < 0x96" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x86;\n      __speed = 4;\n    }" { (expression_statement "uVar2 = 0x86;" (assignment_expression "uVar2 = 0x86" identifier = number_literal) ;) (expression_statement "__speed = 4;" (assignment_expression "__speed = 4" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 200)" ( (binary_expression "iVar1 < 200" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x96;\n      __speed = 5;\n    }" { (expression_statement "uVar2 = 0x96;" (assignment_expression "uVar2 = 0x96" identifier = number_literal) ;) (expression_statement "__speed = 5;" (assignment_expression "__speed = 5" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 300)" ( (binary_expression "iVar1 < 300" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 200;\n      __speed = 6;\n    }" { (expression_statement "uVar2 = 200;" (assignment_expression "uVar2 = 200" identifier = number_literal) ;) (expression_statement "__speed = 6;" (assignment_expression "__speed = 6" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 600)" ( (binary_expression "iVar1 < 600" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 300;\n      __speed = 7;\n    }" { (expression_statement "uVar2 = 300;" (assignment_expression "uVar2 = 300" identifier = number_literal) ;) (expression_statement "__speed = 7;" (assignment_expression "__speed = 7" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x4b0)" ( (binary_expression "iVar1 < 0x4b0" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 600;\n      __speed = 8;\n    }" { (expression_statement "uVar2 = 600;" (assignment_expression "uVar2 = 600" identifier = number_literal) ;) (expression_statement "__speed = 8;" (assignment_expression "__speed = 8" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x708)" ( (binary_expression "iVar1 < 0x708" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }" { (expression_statement "uVar2 = 0x4b0;" (assignment_expression "uVar2 = 0x4b0" identifier = number_literal) ;) (expression_statement "__speed = 9;" (assignment_expression "__speed = 9" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x960)" ( (binary_expression "iVar1 < 0x960" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x708;\n      __speed = 10;\n    }" { (expression_statement "uVar2 = 0x708;" (assignment_expression "uVar2 = 0x708" identifier = number_literal) ;) (expression_statement "__speed = 10;" (assignment_expression "__speed = 10" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x12c0)" ( (binary_expression "iVar1 < 0x12c0" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }" { (expression_statement "uVar2 = 0x960;" (assignment_expression "uVar2 = 0x960" identifier = number_literal) ;) (expression_statement "__speed = 0xb;" (assignment_expression "__speed = 0xb" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x2580)" ( (binary_expression "iVar1 < 0x2580" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }" { (expression_statement "uVar2 = 0x12c0;" (assignment_expression "uVar2 = 0x12c0" identifier = number_literal) ;) (expression_statement "__speed = 0xc;" (assignment_expression "__speed = 0xc" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x4b00)" ( (binary_expression "iVar1 < 0x4b00" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }" { (expression_statement "uVar2 = 0x2580;" (assignment_expression "uVar2 = 0x2580" identifier = number_literal) ;) (expression_statement "__speed = 0xd;" (assignment_expression "__speed = 0xd" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x9600)" ( (binary_expression "iVar1 < 0x9600" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }" { (expression_statement "uVar2 = 0x4b00;" (assignment_expression "uVar2 = 0x4b00" identifier = number_literal) ;) (expression_statement "__speed = 0xe;" (assignment_expression "__speed = 0xe" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0xe100)" ( (binary_expression "iVar1 < 0xe100" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }" { (expression_statement "uVar2 = 0x9600;" (assignment_expression "uVar2 = 0x9600" identifier = number_literal) ;) (expression_statement "__speed = 0xf;" (assignment_expression "__speed = 0xf" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x1c200)" ( (binary_expression "iVar1 < 0x1c200" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }" { (expression_statement "uVar2 = 0xe100;" (assignment_expression "uVar2 = 0xe100" identifier = number_literal) ;) (expression_statement "__speed = 0x1001;" (assignment_expression "__speed = 0x1001" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x38400)" ( (binary_expression "iVar1 < 0x38400" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }" { (expression_statement "uVar2 = 0x1c200;" (assignment_expression "uVar2 = 0x1c200" identifier = number_literal) ;) (expression_statement "__speed = 0x1002;" (assignment_expression "__speed = 0x1002" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x70800)" ( (binary_expression "iVar1 < 0x70800" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }" { (expression_statement "uVar2 = 0x38400;" (assignment_expression "uVar2 = 0x38400" identifier = number_literal) ;) (expression_statement "__speed = 0x1003;" (assignment_expression "__speed = 0x1003" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 500000)" ( (binary_expression "iVar1 < 500000" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }" { (expression_statement "uVar2 = 0x70800;" (assignment_expression "uVar2 = 0x70800" identifier = number_literal) ;) (expression_statement "__speed = 0x1004;" (assignment_expression "__speed = 0x1004" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x8ca00)" ( (binary_expression "iVar1 < 0x8ca00" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }" { (expression_statement "uVar2 = 500000;" (assignment_expression "uVar2 = 500000" identifier = number_literal) ;) (expression_statement "__speed = 0x1005;" (assignment_expression "__speed = 0x1005" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0xe1000)" ( (binary_expression "iVar1 < 0xe1000" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }" { (expression_statement "uVar2 = 0x8ca00;" (assignment_expression "uVar2 = 0x8ca00" identifier = number_literal) ;) (expression_statement "__speed = 0x1006;" (assignment_expression "__speed = 0x1006" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 1000000)" ( (binary_expression "iVar1 < 1000000" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }" { (expression_statement "uVar2 = 0xe1000;" (assignment_expression "uVar2 = 0xe1000" identifier = number_literal) ;) (expression_statement "__speed = 0x1007;" (assignment_expression "__speed = 0x1007" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x119400)" ( (binary_expression "iVar1 < 0x119400" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }" { (expression_statement "uVar2 = 1000000;" (assignment_expression "uVar2 = 1000000" identifier = number_literal) ;) (expression_statement "__speed = 0x1008;" (assignment_expression "__speed = 0x1008" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 1500000)" ( (binary_expression "iVar1 < 1500000" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }" { (expression_statement "uVar2 = 0x119400;" (assignment_expression "uVar2 = 0x119400" identifier = number_literal) ;) (expression_statement "__speed = 0x1009;" (assignment_expression "__speed = 0x1009" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 2000000)" ( (binary_expression "iVar1 < 2000000" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }" { (expression_statement "uVar2 = 1500000;" (assignment_expression "uVar2 = 1500000" identifier = number_literal) ;) (expression_statement "__speed = 0x100a;" (assignment_expression "__speed = 0x100a" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 2500000)" ( (binary_expression "iVar1 < 2500000" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }" { (expression_statement "uVar2 = 2000000;" (assignment_expression "uVar2 = 2000000" identifier = number_literal) ;) (expression_statement "__speed = 0x100b;" (assignment_expression "__speed = 0x100b" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 3000000)" ( (binary_expression "iVar1 < 3000000" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }" { (expression_statement "uVar2 = 2500000;" (assignment_expression "uVar2 = 2500000" identifier = number_literal) ;) (expression_statement "__speed = 0x100c;" (assignment_expression "__speed = 0x100c" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 3500000)" ( (binary_expression "iVar1 < 3500000" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }" { (expression_statement "uVar2 = 3000000;" (assignment_expression "uVar2 = 3000000" identifier = number_literal) ;) (expression_statement "__speed = 0x100d;" (assignment_expression "__speed = 0x100d" identifier = number_literal) ;) }) (else_clause "else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (compound_statement "{\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" { (expression_statement "uVar2 = 3500000;" (assignment_expression "uVar2 = 3500000" identifier = number_literal) ;) (if_statement "if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }" if (parenthesized_expression "(3999999 < iVar1)" ( (binary_expression "3999999 < iVar1" number_literal < identifier) )) (compound_statement "{\n        uVar2 = 4000000;\n      }" { (expression_statement "uVar2 = 4000000;" (assignment_expression "uVar2 = 4000000" identifier = number_literal) ;) })) (expression_statement "__speed = (3999999 < iVar1) + 0x100e;" (assignment_expression "__speed = (3999999 < iVar1) + 0x100e" identifier = (binary_expression "(3999999 < iVar1) + 0x100e" (parenthesized_expression "(3999999 < iVar1)" ( (binary_expression "3999999 < iVar1" number_literal < identifier) )) + number_literal)) ;) }))))))))))))))))))))))))))))))))))))))))))))))))))))))))) (expression_statement "cfsetispeed(&local_78,__speed);" (call_expression "cfsetispeed(&local_78,__speed)" identifier (argument_list "(&local_78,__speed)" ( (pointer_expression "&local_78" & identifier) , identifier ))) ;) (expression_statement "cfsetospeed(&local_78,__speed);" (call_expression "cfsetospeed(&local_78,__speed)" identifier (argument_list "(&local_78,__speed)" ( (pointer_expression "&local_78" & identifier) , identifier ))) ;) (expression_statement "uVar4 = FUN_0012292d("Configuring baud rate %d",uVar2);" (assignment_expression "uVar4 = FUN_0012292d("Configuring baud rate %d",uVar2)" identifier = (call_expression "FUN_0012292d("Configuring baud rate %d",uVar2)" identifier (argument_list "("Configuring baud rate %d",uVar2)" ( (string_literal ""Configuring baud rate %d"" " string_content ") , identifier )))) ;) (expression_statement "FUN_0014a676(*param_1,uVar4);" (call_expression "FUN_0014a676(*param_1,uVar4)" identifier (argument_list "(*param_1,uVar4)" ( (pointer_expression "*param_1" * identifier) , identifier ))) ;) (expression_statement "FUN_00122b5a(uVar4);" (call_expression "FUN_00122b5a(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "local_78.c_cflag = local_78.c_cflag & 0xffffffcf;" (assignment_expression "local_78.c_cflag = local_78.c_cflag & 0xffffffcf" (field_expression "local_78.c_cflag" identifier . field_identifier) = (binary_expression "local_78.c_cflag & 0xffffffcf" (field_expression "local_78.c_cflag" identifier . field_identifier) & number_literal)) ;) (expression_statement "iVar1 = FUN_0011558e(param_2,0x3b);" (assignment_expression "iVar1 = FUN_0011558e(param_2,0x3b)" identifier = (call_expression "FUN_0011558e(param_2,0x3b)" identifier (argument_list "(param_2,0x3b)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 == 6) {\n      local_78.c_cflag = local_78.c_cflag | 0x10;\n    }\n    else if (iVar1 < 7) {\n      if (iVar1 != 5) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }\n    else if (iVar1 == 7) {\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }\n    else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }" if (parenthesized_expression "(iVar1 == 6)" ( (binary_expression "iVar1 == 6" identifier == number_literal) )) (compound_statement "{\n      local_78.c_cflag = local_78.c_cflag | 0x10;\n    }" { (expression_statement "local_78.c_cflag = local_78.c_cflag | 0x10;" (assignment_expression "local_78.c_cflag = local_78.c_cflag | 0x10" (field_expression "local_78.c_cflag" identifier . field_identifier) = (binary_expression "local_78.c_cflag | 0x10" (field_expression "local_78.c_cflag" identifier . field_identifier) | number_literal)) ;) }) (else_clause "else if (iVar1 < 7) {\n      if (iVar1 != 5) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }\n    else if (iVar1 == 7) {\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }\n    else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }" else (if_statement "if (iVar1 < 7) {\n      if (iVar1 != 5) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }\n    else if (iVar1 == 7) {\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }\n    else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }" if (parenthesized_expression "(iVar1 < 7)" ( (binary_expression "iVar1 < 7" identifier < number_literal) )) (compound_statement "{\n      if (iVar1 != 5) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }" { (if_statement "if (iVar1 != 5) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }" if (parenthesized_expression "(iVar1 != 5)" ( (binary_expression "iVar1 != 5" identifier != number_literal) )) (compound_statement "{\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }" { (expression_statement "pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";" (assignment_expression "pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)"" identifier = (string_literal ""Invalid number of data bits (need 5, 6, 7 or 8)"" " string_content ")) ;) (goto_statement "goto LAB_00154210;" goto statement_identifier ;) })) }) (else_clause "else if (iVar1 == 7) {\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }\n    else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }" else (if_statement "if (iVar1 == 7) {\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }\n    else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }" if (parenthesized_expression "(iVar1 == 7)" ( (binary_expression "iVar1 == 7" identifier == number_literal) )) (compound_statement "{\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }" { (expression_statement "local_78.c_cflag = local_78.c_cflag | 0x20;" (assignment_expression "local_78.c_cflag = local_78.c_cflag | 0x20" (field_expression "local_78.c_cflag" identifier . field_identifier) = (binary_expression "local_78.c_cflag | 0x20" (field_expression "local_78.c_cflag" identifier . field_identifier) | number_literal)) ;) }) (else_clause "else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }" else (compound_statement "{\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }" { (if_statement "if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }" if (parenthesized_expression "(iVar1 != 8)" ( (binary_expression "iVar1 != 8" identifier != number_literal) )) (compound_statement "{\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }" { (expression_statement "pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";" (assignment_expression "pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)"" identifier = (string_literal ""Invalid number of data bits (need 5, 6, 7 or 8)"" " string_content ")) ;) (goto_statement "goto LAB_00154210;" goto statement_identifier ;) })) (expression_statement "local_78.c_cflag = local_78.c_cflag | 0x30;" (assignment_expression "local_78.c_cflag = local_78.c_cflag | 0x30" (field_expression "local_78.c_cflag" identifier . field_identifier) = (binary_expression "local_78.c_cflag | 0x30" (field_expression "local_78.c_cflag" identifier . field_identifier) | number_literal)) ;) }))))))) (expression_statement "uVar2 = FUN_0011558e(param_2,0x3b);" (assignment_expression "uVar2 = FUN_0011558e(param_2,0x3b)" identifier = (call_expression "FUN_0011558e(param_2,0x3b)" identifier (argument_list "(param_2,0x3b)" ( identifier , number_literal )))) ;) (expression_statement "uVar4 = FUN_0012292d("Configuring %d data bits",uVar2);" (assignment_expression "uVar4 = FUN_0012292d("Configuring %d data bits",uVar2)" identifier = (call_expression "FUN_0012292d("Configuring %d data bits",uVar2)" identifier (argument_list "("Configuring %d data bits",uVar2)" ( (string_literal ""Configuring %d data bits"" " string_content ") , identifier )))) ;) (expression_statement "FUN_0014a676(*param_1,uVar4);" (call_expression "FUN_0014a676(*param_1,uVar4)" identifier (argument_list "(*param_1,uVar4)" ( (pointer_expression "*param_1" * identifier) , identifier ))) ;) (expression_statement "FUN_00122b5a(uVar4);" (call_expression "FUN_00122b5a(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "iVar1 = FUN_0011558e(param_2,0x3c);" (assignment_expression "iVar1 = FUN_0011558e(param_2,0x3c)" identifier = (call_expression "FUN_0011558e(param_2,0x3c)" identifier (argument_list "(param_2,0x3c)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 < 4) {\n      local_78.c_cflag = local_78.c_cflag & 0xffffffbf;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag | 0x40;\n    }" if (parenthesized_expression "(iVar1 < 4)" ( (binary_expression "iVar1 < 4" identifier < number_literal) )) (compound_statement "{\n      local_78.c_cflag = local_78.c_cflag & 0xffffffbf;\n    }" { (expression_statement "local_78.c_cflag = local_78.c_cflag & 0xffffffbf;" (assignment_expression "local_78.c_cflag = local_78.c_cflag & 0xffffffbf" (field_expression "local_78.c_cflag" identifier . field_identifier) = (binary_expression "local_78.c_cflag & 0xffffffbf" (field_expression "local_78.c_cflag" identifier . field_identifier) & number_literal)) ;) }) (else_clause "else {\n      local_78.c_cflag = local_78.c_cflag | 0x40;\n    }" else (compound_statement "{\n      local_78.c_cflag = local_78.c_cflag | 0x40;\n    }" { (expression_statement "local_78.c_cflag = local_78.c_cflag | 0x40;" (assignment_expression "local_78.c_cflag = local_78.c_cflag | 0x40" (field_expression "local_78.c_cflag" identifier . field_identifier) = (binary_expression "local_78.c_cflag | 0x40" (field_expression "local_78.c_cflag" identifier . field_identifier) | number_literal)) ;) }))) (expression_statement "uVar4 = FUN_0012292d("Configuring %d stop bits",((local_78.c_cflag & 0x40) != 0) + '\x01');" (assignment_expression "uVar4 = FUN_0012292d("Configuring %d stop bits",((local_78.c_cflag & 0x40) != 0) + '\x01')" identifier = (call_expression "FUN_0012292d("Configuring %d stop bits",((local_78.c_cflag & 0x40) != 0) + '\x01')" identifier (argument_list "("Configuring %d stop bits",((local_78.c_cflag & 0x40) != 0) + '\x01')" ( (string_literal ""Configuring %d stop bits"" " string_content ") , (binary_expression "((local_78.c_cflag & 0x40) != 0) + '\x01'" (parenthesized_expression "((local_78.c_cflag & 0x40) != 0)" ( (binary_expression "(local_78.c_cflag & 0x40) != 0" (parenthesized_expression "(local_78.c_cflag & 0x40)" ( (binary_expression "local_78.c_cflag & 0x40" (field_expression "local_78.c_cflag" identifier . field_identifier) & number_literal) )) != number_literal) )) + (char_literal "'\x01'" ' escape_sequence ')) )))) ;) (expression_statement "FUN_0014a676(*param_1,uVar4);" (call_expression "FUN_0014a676(*param_1,uVar4)" identifier (argument_list "(*param_1,uVar4)" ( (pointer_expression "*param_1" * identifier) , identifier ))) ;) (expression_statement "FUN_00122b5a(uVar4);" (call_expression "FUN_00122b5a(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "local_78.c_iflag = local_78.c_iflag & 0xffffebff;" (assignment_expression "local_78.c_iflag = local_78.c_iflag & 0xffffebff" (field_expression "local_78.c_iflag" identifier . field_identifier) = (binary_expression "local_78.c_iflag & 0xffffebff" (field_expression "local_78.c_iflag" identifier . field_identifier) & number_literal)) ;) (expression_statement "local_78.c_cflag = local_78.c_cflag & 0x7fffffff;" (assignment_expression "local_78.c_cflag = local_78.c_cflag & 0x7fffffff" (field_expression "local_78.c_cflag" identifier . field_identifier) = (binary_expression "local_78.c_cflag & 0x7fffffff" (field_expression "local_78.c_cflag" identifier . field_identifier) & number_literal)) ;) (expression_statement "iVar1 = FUN_0011558e(param_2,0x3e);" (assignment_expression "iVar1 = FUN_0011558e(param_2,0x3e)" identifier = (call_expression "FUN_0011558e(param_2,0x3e)" identifier (argument_list "(param_2,0x3e)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 == 1) {\n      local_78.c_iflag = local_78.c_iflag | 0x1400;\n      pcVar3 = "XON/XOFF";\n    }\n    else {\n      pcVar3 = "no";\n      if (iVar1 == 2) {\n        local_78.c_cflag = local_78.c_cflag | 0x80000000;\n        pcVar3 = "RTS/CTS";\n      }\n    }" if (parenthesized_expression "(iVar1 == 1)" ( (binary_expression "iVar1 == 1" identifier == number_literal) )) (compound_statement "{\n      local_78.c_iflag = local_78.c_iflag | 0x1400;\n      pcVar3 = "XON/XOFF";\n    }" { (expression_statement "local_78.c_iflag = local_78.c_iflag | 0x1400;" (assignment_expression "local_78.c_iflag = local_78.c_iflag | 0x1400" (field_expression "local_78.c_iflag" identifier . field_identifier) = (binary_expression "local_78.c_iflag | 0x1400" (field_expression "local_78.c_iflag" identifier . field_identifier) | number_literal)) ;) (expression_statement "pcVar3 = "XON/XOFF";" (assignment_expression "pcVar3 = "XON/XOFF"" identifier = (string_literal ""XON/XOFF"" " string_content ")) ;) }) (else_clause "else {\n      pcVar3 = "no";\n      if (iVar1 == 2) {\n        local_78.c_cflag = local_78.c_cflag | 0x80000000;\n        pcVar3 = "RTS/CTS";\n      }\n    }" else (compound_statement "{\n      pcVar3 = "no";\n      if (iVar1 == 2) {\n        local_78.c_cflag = local_78.c_cflag | 0x80000000;\n        pcVar3 = "RTS/CTS";\n      }\n    }" { (expression_statement "pcVar3 = "no";" (assignment_expression "pcVar3 = "no"" identifier = (string_literal ""no"" " string_content ")) ;) (if_statement "if (iVar1 == 2) {\n        local_78.c_cflag = local_78.c_cflag | 0x80000000;\n        pcVar3 = "RTS/CTS";\n      }" if (parenthesized_expression "(iVar1 == 2)" ( (binary_expression "iVar1 == 2" identifier == number_literal) )) (compound_statement "{\n        local_78.c_cflag = local_78.c_cflag | 0x80000000;\n        pcVar3 = "RTS/CTS";\n      }" { (expression_statement "local_78.c_cflag = local_78.c_cflag | 0x80000000;" (assignment_expression "local_78.c_cflag = local_78.c_cflag | 0x80000000" (field_expression "local_78.c_cflag" identifier . field_identifier) = (binary_expression "local_78.c_cflag | 0x80000000" (field_expression "local_78.c_cflag" identifier . field_identifier) | number_literal)) ;) (expression_statement "pcVar3 = "RTS/CTS";" (assignment_expression "pcVar3 = "RTS/CTS"" identifier = (string_literal ""RTS/CTS"" " string_content ")) ;) })) }))) (expression_statement "uVar4 = FUN_0012292d("Configuring %s flow control",pcVar3);" (assignment_expression "uVar4 = FUN_0012292d("Configuring %s flow control",pcVar3)" identifier = (call_expression "FUN_0012292d("Configuring %s flow control",pcVar3)" identifier (argument_list "("Configuring %s flow control",pcVar3)" ( (string_literal ""Configuring %s flow control"" " string_content ") , identifier )))) ;) (expression_statement "FUN_0014a676(*param_1,uVar4);" (call_expression "FUN_0014a676(*param_1,uVar4)" identifier (argument_list "(*param_1,uVar4)" ( (pointer_expression "*param_1" * identifier) , identifier ))) ;) (expression_statement "FUN_00122b5a(uVar4);" (call_expression "FUN_00122b5a(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "iVar1 = FUN_0011558e(param_2,0x3d);" (assignment_expression "iVar1 = FUN_0011558e(param_2,0x3d)" identifier = (call_expression "FUN_0011558e(param_2,0x3d)" identifier (argument_list "(param_2,0x3d)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 == 1) {\n      local_78.c_cflag = local_78.c_cflag | 0x300;\n      puVar5 = &DAT_00183872;\n    }\n    else if (iVar1 == 2) {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }" if (parenthesized_expression "(iVar1 == 1)" ( (binary_expression "iVar1 == 1" identifier == number_literal) )) (compound_statement "{\n      local_78.c_cflag = local_78.c_cflag | 0x300;\n      puVar5 = &DAT_00183872;\n    }" { (expression_statement "local_78.c_cflag = local_78.c_cflag | 0x300;" (assignment_expression "local_78.c_cflag = local_78.c_cflag | 0x300" (field_expression "local_78.c_cflag" identifier . field_identifier) = (binary_expression "local_78.c_cflag | 0x300" (field_expression "local_78.c_cflag" identifier . field_identifier) | number_literal)) ;) (expression_statement "puVar5 = &DAT_00183872;" (assignment_expression "puVar5 = &DAT_00183872" identifier = (pointer_expression "&DAT_00183872" & identifier)) ;) }) (else_clause "else if (iVar1 == 2) {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }" else (if_statement "if (iVar1 == 2) {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }" if (parenthesized_expression "(iVar1 == 2)" ( (binary_expression "iVar1 == 2" identifier == number_literal) )) (compound_statement "{\n      local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }" { (expression_statement "local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100;" (assignment_expression "local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100" (field_expression "local_78.c_cflag" identifier . field_identifier) = (binary_expression "local_78.c_cflag & 0xfffffdff | 0x100" (binary_expression "local_78.c_cflag & 0xfffffdff" (field_expression "local_78.c_cflag" identifier . field_identifier) & number_literal) | number_literal)) ;) (expression_statement "puVar5 = &DAT_00183876;" (assignment_expression "puVar5 = &DAT_00183876" identifier = (pointer_expression "&DAT_00183876" & identifier)) ;) }) (else_clause "else {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }" else (compound_statement "{\n      local_78.c_cflag = local_78.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }" { (expression_statement "local_78.c_cflag = local_78.c_cflag & 0xfffffeff;" (assignment_expression "local_78.c_cflag = local_78.c_cflag & 0xfffffeff" (field_expression "local_78.c_cflag" identifier . field_identifier) = (binary_expression "local_78.c_cflag & 0xfffffeff" (field_expression "local_78.c_cflag" identifier . field_identifier) & number_literal)) ;) (expression_statement "puVar5 = &DAT_0017f39d;" (assignment_expression "puVar5 = &DAT_0017f39d" identifier = (pointer_expression "&DAT_0017f39d" & identifier)) ;) }))))) (expression_statement "uVar4 = FUN_0012292d("Configuring %s parity",puVar5);" (assignment_expression "uVar4 = FUN_0012292d("Configuring %s parity",puVar5)" identifier = (call_expression "FUN_0012292d("Configuring %s parity",puVar5)" identifier (argument_list "("Configuring %s parity",puVar5)" ( (string_literal ""Configuring %s parity"" " string_content ") , identifier )))) ;) (expression_statement "FUN_0014a676(*param_1,uVar4);" (call_expression "FUN_0014a676(*param_1,uVar4)" identifier (argument_list "(*param_1,uVar4)" ( (pointer_expression "*param_1" * identifier) , identifier ))) ;) (expression_statement "FUN_00122b5a(uVar4);" (call_expression "FUN_00122b5a(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "local_78.c_cflag = local_78.c_cflag | 0x880;" (assignment_expression "local_78.c_cflag = local_78.c_cflag | 0x880" (field_expression "local_78.c_cflag" identifier . field_identifier) = (binary_expression "local_78.c_cflag | 0x880" (field_expression "local_78.c_cflag" identifier . field_identifier) | number_literal)) ;) (expression_statement "local_78.c_lflag = local_78.c_lflag & 0xffffffe4;" (assignment_expression "local_78.c_lflag = local_78.c_lflag & 0xffffffe4" (field_expression "local_78.c_lflag" identifier . field_identifier) = (binary_expression "local_78.c_lflag & 0xffffffe4" (field_expression "local_78.c_lflag" identifier . field_identifier) & number_literal)) ;) (expression_statement "local_78.c_iflag = local_78.c_iflag & 0xfffffc1f;" (assignment_expression "local_78.c_iflag = local_78.c_iflag & 0xfffffc1f" (field_expression "local_78.c_iflag" identifier . field_identifier) = (binary_expression "local_78.c_iflag & 0xfffffc1f" (field_expression "local_78.c_iflag" identifier . field_identifier) & number_literal)) ;) (expression_statement "local_78.c_oflag = local_78.c_oflag & 0xffffffc2;" (assignment_expression "local_78.c_oflag = local_78.c_oflag & 0xffffffc2" (field_expression "local_78.c_oflag" identifier . field_identifier) = (binary_expression "local_78.c_oflag & 0xffffffc2" (field_expression "local_78.c_oflag" identifier . field_identifier) & number_literal)) ;) (expression_statement "local_78.c_cc[6] = '\x01';" (assignment_expression "local_78.c_cc[6] = '\x01'" (subscript_expression "local_78.c_cc[6]" (field_expression "local_78.c_cc" identifier . field_identifier) [ number_literal ]) = (char_literal "'\x01'" ' escape_sequence ')) ;) (expression_statement "local_78.c_cc[5] = '\0';" (assignment_expression "local_78.c_cc[5] = '\0'" (subscript_expression "local_78.c_cc[5]" (field_expression "local_78.c_cc" identifier . field_identifier) [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "iVar1 = tcsetattr(*(int *)(param_1 + 1),0,&local_78);" (assignment_expression "iVar1 = tcsetattr(*(int *)(param_1 + 1),0,&local_78)" identifier = (call_expression "tcsetattr(*(int *)(param_1 + 1),0,&local_78)" identifier (argument_list "(*(int *)(param_1 + 1),0,&local_78)" ( (pointer_expression "*(int *)(param_1 + 1)" * (cast_expression "(int *)(param_1 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) , number_literal , (pointer_expression "&local_78" & identifier) )))) ;) (expression_statement "pcVar3 = "Unable to configure serial port";" (assignment_expression "pcVar3 = "Unable to configure serial port"" identifier = (string_literal ""Unable to configure serial port"" " string_content ")) ;) (if_statement "if (-1 < iVar1) {\n      pcVar3 = (char *)0x0;\n    }" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (compound_statement "{\n      pcVar3 = (char *)0x0;\n    }" { (expression_statement "pcVar3 = (char *)0x0;" (assignment_expression "pcVar3 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) })) (labeled_statement "LAB_00154210:\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return pcVar3;\n  }" statement_identifier : (if_statement "if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return pcVar3;\n  }" if (parenthesized_expression "(local_30 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_30 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return pcVar3;\n  }" { (return_statement "return pcVar3;" return identifier ;) }))) comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "char * serial_configure(Serial serial,Conf *conf)\n\n{\n  long lVar1;\n  int iVar2;\n  uint uVar3;\n  char *pcVar4;\n  undefined *puVar5;\n  speed_t __speed;\n  long in_FS_OFFSET;\n  termios options;\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  pcVar4 = "Unable to reconfigure already-closed serial connection";\n  if (-1 < serial->fd) {\n    tcgetattr(serial->fd,(termios *)&options);\n    iVar2 = conf_get_int(conf,0x3a);\n    if (iVar2 < 0x4b) {\n      uVar3 = 0x32;\n      __speed = 1;\n    }\n    else if (iVar2 < 0x6e) {\n      uVar3 = 0x4b;\n      __speed = 2;\n    }\n    else if (iVar2 < 0x86) {\n      uVar3 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar2 < 0x96) {\n      uVar3 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar2 < 200) {\n      uVar3 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar2 < 300) {\n      uVar3 = 200;\n      __speed = 6;\n    }\n    else if (iVar2 < 600) {\n      uVar3 = 300;\n      __speed = 7;\n    }\n    else if (iVar2 < 0x4b0) {\n      uVar3 = 600;\n      __speed = 8;\n    }\n    else if (iVar2 < 0x708) {\n      uVar3 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar2 < 0x960) {\n      uVar3 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar2 < 0x12c0) {\n      uVar3 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar2 < 0x2580) {\n      uVar3 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar2 < 0x4b00) {\n      uVar3 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }\n    cfsetispeed((termios *)&options,__speed);\n    cfsetospeed((termios *)&options,__speed);\n    pcVar4 = dupprintf("Configuring baud rate %d",(ulong)uVar3);\n    logevent(serial->frontend,pcVar4);\n    safefree(pcVar4);\n    options.c_cflag = options.c_cflag & 0xffffffcf;\n    iVar2 = conf_get_int(conf,0x3b);\n    if (iVar2 == 6) {\n      options.c_cflag = options.c_cflag | 0x10;\n    }\n    else if (iVar2 < 7) {\n      if (iVar2 != 5) {\n        pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }\n    else if (iVar2 == 7) {\n      options.c_cflag = options.c_cflag | 0x20;\n    }\n    else {\n      if (iVar2 != 8) {\n        pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      options.c_cflag = options.c_cflag | 0x30;\n    }\n    uVar3 = conf_get_int(conf,0x3b);\n    pcVar4 = dupprintf("Configuring %d data bits",(ulong)uVar3);\n    logevent(serial->frontend,pcVar4);\n    safefree(pcVar4);\n    iVar2 = conf_get_int(conf,0x3c);\n    if (iVar2 < 4) {\n      options.c_cflag = options.c_cflag & 0xffffffbf;\n    }\n    else {\n      options.c_cflag = options.c_cflag | 0x40;\n    }\n    pcVar4 = dupprintf("Configuring %d stop bits",(ulong)(((options.c_cflag & 0x40) != 0) + 1));\n    logevent(serial->frontend,pcVar4);\n    safefree(pcVar4);\n    options.c_iflag = options.c_iflag & 0xffffebff;\n    options.c_cflag = options.c_cflag & 0x7fffffff;\n    iVar2 = conf_get_int(conf,0x3e);\n    if (iVar2 == 1) {\n      options.c_iflag = options.c_iflag | 0x1400;\n      pcVar4 = "XON/XOFF";\n    }\n    else {\n      pcVar4 = "no";\n      if (iVar2 == 2) {\n        options.c_cflag = options.c_cflag | 0x80000000;\n        pcVar4 = "RTS/CTS";\n      }\n    }\n    pcVar4 = dupprintf("Configuring %s flow control",pcVar4);\n    logevent(serial->frontend,pcVar4);\n    safefree(pcVar4);\n    iVar2 = conf_get_int(conf,0x3d);\n    if (iVar2 == 1) {\n      options.c_cflag = options.c_cflag | 0x300;\n      puVar5 = &DAT_00183872;\n    }\n    else if (iVar2 == 2) {\n      options.c_cflag = options.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }\n    else {\n      options.c_cflag = options.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }\n    pcVar4 = dupprintf("Configuring %s parity",puVar5);\n    logevent(serial->frontend,pcVar4);\n    safefree(pcVar4);\n    options.c_cflag = options.c_cflag | 0x880;\n    options.c_lflag = options.c_lflag & 0xffffffe4;\n    options.c_iflag = options.c_iflag & 0xfffffc1f;\n    options.c_oflag = options.c_oflag & 0xffffffc2;\n    options.c_cc[6] = '\x01';\n    options.c_cc[5] = '\0';\n    iVar2 = tcsetattr(serial->fd,0,(termios *)&options);\n    pcVar4 = "Unable to configure serial port";\n    if (-1 < iVar2) {\n      pcVar4 = (char *)0x0;\n    }\n  }\nLAB_00154210:\n  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return pcVar4;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}\n\n" (function_definition "char * serial_configure(Serial serial,Conf *conf)\n\n{\n  long lVar1;\n  int iVar2;\n  uint uVar3;\n  char *pcVar4;\n  undefined *puVar5;\n  speed_t __speed;\n  long in_FS_OFFSET;\n  termios options;\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  pcVar4 = "Unable to reconfigure already-closed serial connection";\n  if (-1 < serial->fd) {\n    tcgetattr(serial->fd,(termios *)&options);\n    iVar2 = conf_get_int(conf,0x3a);\n    if (iVar2 < 0x4b) {\n      uVar3 = 0x32;\n      __speed = 1;\n    }\n    else if (iVar2 < 0x6e) {\n      uVar3 = 0x4b;\n      __speed = 2;\n    }\n    else if (iVar2 < 0x86) {\n      uVar3 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar2 < 0x96) {\n      uVar3 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar2 < 200) {\n      uVar3 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar2 < 300) {\n      uVar3 = 200;\n      __speed = 6;\n    }\n    else if (iVar2 < 600) {\n      uVar3 = 300;\n      __speed = 7;\n    }\n    else if (iVar2 < 0x4b0) {\n      uVar3 = 600;\n      __speed = 8;\n    }\n    else if (iVar2 < 0x708) {\n      uVar3 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar2 < 0x960) {\n      uVar3 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar2 < 0x12c0) {\n      uVar3 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar2 < 0x2580) {\n      uVar3 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar2 < 0x4b00) {\n      uVar3 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }\n    cfsetispeed((termios *)&options,__speed);\n    cfsetospeed((termios *)&options,__speed);\n    pcVar4 = dupprintf("Configuring baud rate %d",(ulong)uVar3);\n    logevent(serial->frontend,pcVar4);\n    safefree(pcVar4);\n    options.c_cflag = options.c_cflag & 0xffffffcf;\n    iVar2 = conf_get_int(conf,0x3b);\n    if (iVar2 == 6) {\n      options.c_cflag = options.c_cflag | 0x10;\n    }\n    else if (iVar2 < 7) {\n      if (iVar2 != 5) {\n        pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }\n    else if (iVar2 == 7) {\n      options.c_cflag = options.c_cflag | 0x20;\n    }\n    else {\n      if (iVar2 != 8) {\n        pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      options.c_cflag = options.c_cflag | 0x30;\n    }\n    uVar3 = conf_get_int(conf,0x3b);\n    pcVar4 = dupprintf("Configuring %d data bits",(ulong)uVar3);\n    logevent(serial->frontend,pcVar4);\n    safefree(pcVar4);\n    iVar2 = conf_get_int(conf,0x3c);\n    if (iVar2 < 4) {\n      options.c_cflag = options.c_cflag & 0xffffffbf;\n    }\n    else {\n      options.c_cflag = options.c_cflag | 0x40;\n    }\n    pcVar4 = dupprintf("Configuring %d stop bits",(ulong)(((options.c_cflag & 0x40) != 0) + 1));\n    logevent(serial->frontend,pcVar4);\n    safefree(pcVar4);\n    options.c_iflag = options.c_iflag & 0xffffebff;\n    options.c_cflag = options.c_cflag & 0x7fffffff;\n    iVar2 = conf_get_int(conf,0x3e);\n    if (iVar2 == 1) {\n      options.c_iflag = options.c_iflag | 0x1400;\n      pcVar4 = "XON/XOFF";\n    }\n    else {\n      pcVar4 = "no";\n      if (iVar2 == 2) {\n        options.c_cflag = options.c_cflag | 0x80000000;\n        pcVar4 = "RTS/CTS";\n      }\n    }\n    pcVar4 = dupprintf("Configuring %s flow control",pcVar4);\n    logevent(serial->frontend,pcVar4);\n    safefree(pcVar4);\n    iVar2 = conf_get_int(conf,0x3d);\n    if (iVar2 == 1) {\n      options.c_cflag = options.c_cflag | 0x300;\n      puVar5 = &DAT_00183872;\n    }\n    else if (iVar2 == 2) {\n      options.c_cflag = options.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }\n    else {\n      options.c_cflag = options.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }\n    pcVar4 = dupprintf("Configuring %s parity",puVar5);\n    logevent(serial->frontend,pcVar4);\n    safefree(pcVar4);\n    options.c_cflag = options.c_cflag | 0x880;\n    options.c_lflag = options.c_lflag & 0xffffffe4;\n    options.c_iflag = options.c_iflag & 0xfffffc1f;\n    options.c_oflag = options.c_oflag & 0xffffffc2;\n    options.c_cc[6] = '\x01';\n    options.c_cc[5] = '\0';\n    iVar2 = tcsetattr(serial->fd,0,(termios *)&options);\n    pcVar4 = "Unable to configure serial port";\n    if (-1 < iVar2) {\n      pcVar4 = (char *)0x0;\n    }\n  }\nLAB_00154210:\n  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return pcVar4;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" primitive_type (pointer_declarator "* serial_configure(Serial serial,Conf *conf)" * (function_declarator "serial_configure(Serial serial,Conf *conf)" identifier (parameter_list "(Serial serial,Conf *conf)" ( (parameter_declaration "Serial serial" type_identifier identifier) , (parameter_declaration "Conf *conf" type_identifier (pointer_declarator "*conf" * identifier)) )))) (compound_statement "{\n  long lVar1;\n  int iVar2;\n  uint uVar3;\n  char *pcVar4;\n  undefined *puVar5;\n  speed_t __speed;\n  long in_FS_OFFSET;\n  termios options;\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  pcVar4 = "Unable to reconfigure already-closed serial connection";\n  if (-1 < serial->fd) {\n    tcgetattr(serial->fd,(termios *)&options);\n    iVar2 = conf_get_int(conf,0x3a);\n    if (iVar2 < 0x4b) {\n      uVar3 = 0x32;\n      __speed = 1;\n    }\n    else if (iVar2 < 0x6e) {\n      uVar3 = 0x4b;\n      __speed = 2;\n    }\n    else if (iVar2 < 0x86) {\n      uVar3 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar2 < 0x96) {\n      uVar3 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar2 < 200) {\n      uVar3 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar2 < 300) {\n      uVar3 = 200;\n      __speed = 6;\n    }\n    else if (iVar2 < 600) {\n      uVar3 = 300;\n      __speed = 7;\n    }\n    else if (iVar2 < 0x4b0) {\n      uVar3 = 600;\n      __speed = 8;\n    }\n    else if (iVar2 < 0x708) {\n      uVar3 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar2 < 0x960) {\n      uVar3 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar2 < 0x12c0) {\n      uVar3 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar2 < 0x2580) {\n      uVar3 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar2 < 0x4b00) {\n      uVar3 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }\n    cfsetispeed((termios *)&options,__speed);\n    cfsetospeed((termios *)&options,__speed);\n    pcVar4 = dupprintf("Configuring baud rate %d",(ulong)uVar3);\n    logevent(serial->frontend,pcVar4);\n    safefree(pcVar4);\n    options.c_cflag = options.c_cflag & 0xffffffcf;\n    iVar2 = conf_get_int(conf,0x3b);\n    if (iVar2 == 6) {\n      options.c_cflag = options.c_cflag | 0x10;\n    }\n    else if (iVar2 < 7) {\n      if (iVar2 != 5) {\n        pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }\n    else if (iVar2 == 7) {\n      options.c_cflag = options.c_cflag | 0x20;\n    }\n    else {\n      if (iVar2 != 8) {\n        pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      options.c_cflag = options.c_cflag | 0x30;\n    }\n    uVar3 = conf_get_int(conf,0x3b);\n    pcVar4 = dupprintf("Configuring %d data bits",(ulong)uVar3);\n    logevent(serial->frontend,pcVar4);\n    safefree(pcVar4);\n    iVar2 = conf_get_int(conf,0x3c);\n    if (iVar2 < 4) {\n      options.c_cflag = options.c_cflag & 0xffffffbf;\n    }\n    else {\n      options.c_cflag = options.c_cflag | 0x40;\n    }\n    pcVar4 = dupprintf("Configuring %d stop bits",(ulong)(((options.c_cflag & 0x40) != 0) + 1));\n    logevent(serial->frontend,pcVar4);\n    safefree(pcVar4);\n    options.c_iflag = options.c_iflag & 0xffffebff;\n    options.c_cflag = options.c_cflag & 0x7fffffff;\n    iVar2 = conf_get_int(conf,0x3e);\n    if (iVar2 == 1) {\n      options.c_iflag = options.c_iflag | 0x1400;\n      pcVar4 = "XON/XOFF";\n    }\n    else {\n      pcVar4 = "no";\n      if (iVar2 == 2) {\n        options.c_cflag = options.c_cflag | 0x80000000;\n        pcVar4 = "RTS/CTS";\n      }\n    }\n    pcVar4 = dupprintf("Configuring %s flow control",pcVar4);\n    logevent(serial->frontend,pcVar4);\n    safefree(pcVar4);\n    iVar2 = conf_get_int(conf,0x3d);\n    if (iVar2 == 1) {\n      options.c_cflag = options.c_cflag | 0x300;\n      puVar5 = &DAT_00183872;\n    }\n    else if (iVar2 == 2) {\n      options.c_cflag = options.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }\n    else {\n      options.c_cflag = options.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }\n    pcVar4 = dupprintf("Configuring %s parity",puVar5);\n    logevent(serial->frontend,pcVar4);\n    safefree(pcVar4);\n    options.c_cflag = options.c_cflag | 0x880;\n    options.c_lflag = options.c_lflag & 0xffffffe4;\n    options.c_iflag = options.c_iflag & 0xfffffc1f;\n    options.c_oflag = options.c_oflag & 0xffffffc2;\n    options.c_cc[6] = '\x01';\n    options.c_cc[5] = '\0';\n    iVar2 = tcsetattr(serial->fd,0,(termios *)&options);\n    pcVar4 = "Unable to configure serial port";\n    if (-1 < iVar2) {\n      pcVar4 = (char *)0x0;\n    }\n  }\nLAB_00154210:\n  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return pcVar4;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "speed_t __speed;" type_identifier identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "termios options;" type_identifier identifier ;) (expression_statement "lVar1 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "lVar1 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (expression_statement "pcVar4 = "Unable to reconfigure already-closed serial connection";" (assignment_expression "pcVar4 = "Unable to reconfigure already-closed serial connection"" identifier = (string_literal ""Unable to reconfigure already-closed serial connection"" " string_content ")) ;) (if_statement "if (-1 < serial->fd) {\n    tcgetattr(serial->fd,(termios *)&options);\n    iVar2 = conf_get_int(conf,0x3a);\n    if (iVar2 < 0x4b) {\n      uVar3 = 0x32;\n      __speed = 1;\n    }\n    else if (iVar2 < 0x6e) {\n      uVar3 = 0x4b;\n      __speed = 2;\n    }\n    else if (iVar2 < 0x86) {\n      uVar3 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar2 < 0x96) {\n      uVar3 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar2 < 200) {\n      uVar3 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar2 < 300) {\n      uVar3 = 200;\n      __speed = 6;\n    }\n    else if (iVar2 < 600) {\n      uVar3 = 300;\n      __speed = 7;\n    }\n    else if (iVar2 < 0x4b0) {\n      uVar3 = 600;\n      __speed = 8;\n    }\n    else if (iVar2 < 0x708) {\n      uVar3 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar2 < 0x960) {\n      uVar3 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar2 < 0x12c0) {\n      uVar3 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar2 < 0x2580) {\n      uVar3 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar2 < 0x4b00) {\n      uVar3 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }\n    cfsetispeed((termios *)&options,__speed);\n    cfsetospeed((termios *)&options,__speed);\n    pcVar4 = dupprintf("Configuring baud rate %d",(ulong)uVar3);\n    logevent(serial->frontend,pcVar4);\n    safefree(pcVar4);\n    options.c_cflag = options.c_cflag & 0xffffffcf;\n    iVar2 = conf_get_int(conf,0x3b);\n    if (iVar2 == 6) {\n      options.c_cflag = options.c_cflag | 0x10;\n    }\n    else if (iVar2 < 7) {\n      if (iVar2 != 5) {\n        pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }\n    else if (iVar2 == 7) {\n      options.c_cflag = options.c_cflag | 0x20;\n    }\n    else {\n      if (iVar2 != 8) {\n        pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      options.c_cflag = options.c_cflag | 0x30;\n    }\n    uVar3 = conf_get_int(conf,0x3b);\n    pcVar4 = dupprintf("Configuring %d data bits",(ulong)uVar3);\n    logevent(serial->frontend,pcVar4);\n    safefree(pcVar4);\n    iVar2 = conf_get_int(conf,0x3c);\n    if (iVar2 < 4) {\n      options.c_cflag = options.c_cflag & 0xffffffbf;\n    }\n    else {\n      options.c_cflag = options.c_cflag | 0x40;\n    }\n    pcVar4 = dupprintf("Configuring %d stop bits",(ulong)(((options.c_cflag & 0x40) != 0) + 1));\n    logevent(serial->frontend,pcVar4);\n    safefree(pcVar4);\n    options.c_iflag = options.c_iflag & 0xffffebff;\n    options.c_cflag = options.c_cflag & 0x7fffffff;\n    iVar2 = conf_get_int(conf,0x3e);\n    if (iVar2 == 1) {\n      options.c_iflag = options.c_iflag | 0x1400;\n      pcVar4 = "XON/XOFF";\n    }\n    else {\n      pcVar4 = "no";\n      if (iVar2 == 2) {\n        options.c_cflag = options.c_cflag | 0x80000000;\n        pcVar4 = "RTS/CTS";\n      }\n    }\n    pcVar4 = dupprintf("Configuring %s flow control",pcVar4);\n    logevent(serial->frontend,pcVar4);\n    safefree(pcVar4);\n    iVar2 = conf_get_int(conf,0x3d);\n    if (iVar2 == 1) {\n      options.c_cflag = options.c_cflag | 0x300;\n      puVar5 = &DAT_00183872;\n    }\n    else if (iVar2 == 2) {\n      options.c_cflag = options.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }\n    else {\n      options.c_cflag = options.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }\n    pcVar4 = dupprintf("Configuring %s parity",puVar5);\n    logevent(serial->frontend,pcVar4);\n    safefree(pcVar4);\n    options.c_cflag = options.c_cflag | 0x880;\n    options.c_lflag = options.c_lflag & 0xffffffe4;\n    options.c_iflag = options.c_iflag & 0xfffffc1f;\n    options.c_oflag = options.c_oflag & 0xffffffc2;\n    options.c_cc[6] = '\x01';\n    options.c_cc[5] = '\0';\n    iVar2 = tcsetattr(serial->fd,0,(termios *)&options);\n    pcVar4 = "Unable to configure serial port";\n    if (-1 < iVar2) {\n      pcVar4 = (char *)0x0;\n    }\n  }" if (parenthesized_expression "(-1 < serial->fd)" ( (binary_expression "-1 < serial->fd" number_literal < (field_expression "serial->fd" identifier -> field_identifier)) )) (compound_statement "{\n    tcgetattr(serial->fd,(termios *)&options);\n    iVar2 = conf_get_int(conf,0x3a);\n    if (iVar2 < 0x4b) {\n      uVar3 = 0x32;\n      __speed = 1;\n    }\n    else if (iVar2 < 0x6e) {\n      uVar3 = 0x4b;\n      __speed = 2;\n    }\n    else if (iVar2 < 0x86) {\n      uVar3 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar2 < 0x96) {\n      uVar3 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar2 < 200) {\n      uVar3 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar2 < 300) {\n      uVar3 = 200;\n      __speed = 6;\n    }\n    else if (iVar2 < 600) {\n      uVar3 = 300;\n      __speed = 7;\n    }\n    else if (iVar2 < 0x4b0) {\n      uVar3 = 600;\n      __speed = 8;\n    }\n    else if (iVar2 < 0x708) {\n      uVar3 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar2 < 0x960) {\n      uVar3 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar2 < 0x12c0) {\n      uVar3 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar2 < 0x2580) {\n      uVar3 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar2 < 0x4b00) {\n      uVar3 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }\n    cfsetispeed((termios *)&options,__speed);\n    cfsetospeed((termios *)&options,__speed);\n    pcVar4 = dupprintf("Configuring baud rate %d",(ulong)uVar3);\n    logevent(serial->frontend,pcVar4);\n    safefree(pcVar4);\n    options.c_cflag = options.c_cflag & 0xffffffcf;\n    iVar2 = conf_get_int(conf,0x3b);\n    if (iVar2 == 6) {\n      options.c_cflag = options.c_cflag | 0x10;\n    }\n    else if (iVar2 < 7) {\n      if (iVar2 != 5) {\n        pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }\n    else if (iVar2 == 7) {\n      options.c_cflag = options.c_cflag | 0x20;\n    }\n    else {\n      if (iVar2 != 8) {\n        pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      options.c_cflag = options.c_cflag | 0x30;\n    }\n    uVar3 = conf_get_int(conf,0x3b);\n    pcVar4 = dupprintf("Configuring %d data bits",(ulong)uVar3);\n    logevent(serial->frontend,pcVar4);\n    safefree(pcVar4);\n    iVar2 = conf_get_int(conf,0x3c);\n    if (iVar2 < 4) {\n      options.c_cflag = options.c_cflag & 0xffffffbf;\n    }\n    else {\n      options.c_cflag = options.c_cflag | 0x40;\n    }\n    pcVar4 = dupprintf("Configuring %d stop bits",(ulong)(((options.c_cflag & 0x40) != 0) + 1));\n    logevent(serial->frontend,pcVar4);\n    safefree(pcVar4);\n    options.c_iflag = options.c_iflag & 0xffffebff;\n    options.c_cflag = options.c_cflag & 0x7fffffff;\n    iVar2 = conf_get_int(conf,0x3e);\n    if (iVar2 == 1) {\n      options.c_iflag = options.c_iflag | 0x1400;\n      pcVar4 = "XON/XOFF";\n    }\n    else {\n      pcVar4 = "no";\n      if (iVar2 == 2) {\n        options.c_cflag = options.c_cflag | 0x80000000;\n        pcVar4 = "RTS/CTS";\n      }\n    }\n    pcVar4 = dupprintf("Configuring %s flow control",pcVar4);\n    logevent(serial->frontend,pcVar4);\n    safefree(pcVar4);\n    iVar2 = conf_get_int(conf,0x3d);\n    if (iVar2 == 1) {\n      options.c_cflag = options.c_cflag | 0x300;\n      puVar5 = &DAT_00183872;\n    }\n    else if (iVar2 == 2) {\n      options.c_cflag = options.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }\n    else {\n      options.c_cflag = options.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }\n    pcVar4 = dupprintf("Configuring %s parity",puVar5);\n    logevent(serial->frontend,pcVar4);\n    safefree(pcVar4);\n    options.c_cflag = options.c_cflag | 0x880;\n    options.c_lflag = options.c_lflag & 0xffffffe4;\n    options.c_iflag = options.c_iflag & 0xfffffc1f;\n    options.c_oflag = options.c_oflag & 0xffffffc2;\n    options.c_cc[6] = '\x01';\n    options.c_cc[5] = '\0';\n    iVar2 = tcsetattr(serial->fd,0,(termios *)&options);\n    pcVar4 = "Unable to configure serial port";\n    if (-1 < iVar2) {\n      pcVar4 = (char *)0x0;\n    }\n  }" { (expression_statement "tcgetattr(serial->fd,(termios *)&options);" (call_expression "tcgetattr(serial->fd,(termios *)&options)" identifier (argument_list "(serial->fd,(termios *)&options)" ( (field_expression "serial->fd" identifier -> field_identifier) , (cast_expression "(termios *)&options" ( (type_descriptor "termios *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&options" & identifier)) ))) ;) (expression_statement "iVar2 = conf_get_int(conf,0x3a);" (assignment_expression "iVar2 = conf_get_int(conf,0x3a)" identifier = (call_expression "conf_get_int(conf,0x3a)" identifier (argument_list "(conf,0x3a)" ( identifier , number_literal )))) ;) (if_statement "if (iVar2 < 0x4b) {\n      uVar3 = 0x32;\n      __speed = 1;\n    }\n    else if (iVar2 < 0x6e) {\n      uVar3 = 0x4b;\n      __speed = 2;\n    }\n    else if (iVar2 < 0x86) {\n      uVar3 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar2 < 0x96) {\n      uVar3 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar2 < 200) {\n      uVar3 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar2 < 300) {\n      uVar3 = 200;\n      __speed = 6;\n    }\n    else if (iVar2 < 600) {\n      uVar3 = 300;\n      __speed = 7;\n    }\n    else if (iVar2 < 0x4b0) {\n      uVar3 = 600;\n      __speed = 8;\n    }\n    else if (iVar2 < 0x708) {\n      uVar3 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar2 < 0x960) {\n      uVar3 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar2 < 0x12c0) {\n      uVar3 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar2 < 0x2580) {\n      uVar3 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar2 < 0x4b00) {\n      uVar3 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" if (parenthesized_expression "(iVar2 < 0x4b)" ( (binary_expression "iVar2 < 0x4b" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 0x32;\n      __speed = 1;\n    }" { (expression_statement "uVar3 = 0x32;" (assignment_expression "uVar3 = 0x32" identifier = number_literal) ;) (expression_statement "__speed = 1;" (assignment_expression "__speed = 1" identifier = number_literal) ;) }) (else_clause "else if (iVar2 < 0x6e) {\n      uVar3 = 0x4b;\n      __speed = 2;\n    }\n    else if (iVar2 < 0x86) {\n      uVar3 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar2 < 0x96) {\n      uVar3 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar2 < 200) {\n      uVar3 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar2 < 300) {\n      uVar3 = 200;\n      __speed = 6;\n    }\n    else if (iVar2 < 600) {\n      uVar3 = 300;\n      __speed = 7;\n    }\n    else if (iVar2 < 0x4b0) {\n      uVar3 = 600;\n      __speed = 8;\n    }\n    else if (iVar2 < 0x708) {\n      uVar3 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar2 < 0x960) {\n      uVar3 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar2 < 0x12c0) {\n      uVar3 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar2 < 0x2580) {\n      uVar3 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar2 < 0x4b00) {\n      uVar3 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" else (if_statement "if (iVar2 < 0x6e) {\n      uVar3 = 0x4b;\n      __speed = 2;\n    }\n    else if (iVar2 < 0x86) {\n      uVar3 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar2 < 0x96) {\n      uVar3 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar2 < 200) {\n      uVar3 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar2 < 300) {\n      uVar3 = 200;\n      __speed = 6;\n    }\n    else if (iVar2 < 600) {\n      uVar3 = 300;\n      __speed = 7;\n    }\n    else if (iVar2 < 0x4b0) {\n      uVar3 = 600;\n      __speed = 8;\n    }\n    else if (iVar2 < 0x708) {\n      uVar3 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar2 < 0x960) {\n      uVar3 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar2 < 0x12c0) {\n      uVar3 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar2 < 0x2580) {\n      uVar3 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar2 < 0x4b00) {\n      uVar3 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" if (parenthesized_expression "(iVar2 < 0x6e)" ( (binary_expression "iVar2 < 0x6e" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 0x4b;\n      __speed = 2;\n    }" { (expression_statement "uVar3 = 0x4b;" (assignment_expression "uVar3 = 0x4b" identifier = number_literal) ;) (expression_statement "__speed = 2;" (assignment_expression "__speed = 2" identifier = number_literal) ;) }) (else_clause "else if (iVar2 < 0x86) {\n      uVar3 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar2 < 0x96) {\n      uVar3 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar2 < 200) {\n      uVar3 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar2 < 300) {\n      uVar3 = 200;\n      __speed = 6;\n    }\n    else if (iVar2 < 600) {\n      uVar3 = 300;\n      __speed = 7;\n    }\n    else if (iVar2 < 0x4b0) {\n      uVar3 = 600;\n      __speed = 8;\n    }\n    else if (iVar2 < 0x708) {\n      uVar3 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar2 < 0x960) {\n      uVar3 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar2 < 0x12c0) {\n      uVar3 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar2 < 0x2580) {\n      uVar3 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar2 < 0x4b00) {\n      uVar3 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" else (if_statement "if (iVar2 < 0x86) {\n      uVar3 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar2 < 0x96) {\n      uVar3 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar2 < 200) {\n      uVar3 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar2 < 300) {\n      uVar3 = 200;\n      __speed = 6;\n    }\n    else if (iVar2 < 600) {\n      uVar3 = 300;\n      __speed = 7;\n    }\n    else if (iVar2 < 0x4b0) {\n      uVar3 = 600;\n      __speed = 8;\n    }\n    else if (iVar2 < 0x708) {\n      uVar3 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar2 < 0x960) {\n      uVar3 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar2 < 0x12c0) {\n      uVar3 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar2 < 0x2580) {\n      uVar3 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar2 < 0x4b00) {\n      uVar3 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" if (parenthesized_expression "(iVar2 < 0x86)" ( (binary_expression "iVar2 < 0x86" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 0x6e;\n      __speed = 3;\n    }" { (expression_statement "uVar3 = 0x6e;" (assignment_expression "uVar3 = 0x6e" identifier = number_literal) ;) (expression_statement "__speed = 3;" (assignment_expression "__speed = 3" identifier = number_literal) ;) }) (else_clause "else if (iVar2 < 0x96) {\n      uVar3 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar2 < 200) {\n      uVar3 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar2 < 300) {\n      uVar3 = 200;\n      __speed = 6;\n    }\n    else if (iVar2 < 600) {\n      uVar3 = 300;\n      __speed = 7;\n    }\n    else if (iVar2 < 0x4b0) {\n      uVar3 = 600;\n      __speed = 8;\n    }\n    else if (iVar2 < 0x708) {\n      uVar3 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar2 < 0x960) {\n      uVar3 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar2 < 0x12c0) {\n      uVar3 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar2 < 0x2580) {\n      uVar3 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar2 < 0x4b00) {\n      uVar3 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" else (if_statement "if (iVar2 < 0x96) {\n      uVar3 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar2 < 200) {\n      uVar3 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar2 < 300) {\n      uVar3 = 200;\n      __speed = 6;\n    }\n    else if (iVar2 < 600) {\n      uVar3 = 300;\n      __speed = 7;\n    }\n    else if (iVar2 < 0x4b0) {\n      uVar3 = 600;\n      __speed = 8;\n    }\n    else if (iVar2 < 0x708) {\n      uVar3 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar2 < 0x960) {\n      uVar3 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar2 < 0x12c0) {\n      uVar3 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar2 < 0x2580) {\n      uVar3 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar2 < 0x4b00) {\n      uVar3 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" if (parenthesized_expression "(iVar2 < 0x96)" ( (binary_expression "iVar2 < 0x96" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 0x86;\n      __speed = 4;\n    }" { (expression_statement "uVar3 = 0x86;" (assignment_expression "uVar3 = 0x86" identifier = number_literal) ;) (expression_statement "__speed = 4;" (assignment_expression "__speed = 4" identifier = number_literal) ;) }) (else_clause "else if (iVar2 < 200) {\n      uVar3 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar2 < 300) {\n      uVar3 = 200;\n      __speed = 6;\n    }\n    else if (iVar2 < 600) {\n      uVar3 = 300;\n      __speed = 7;\n    }\n    else if (iVar2 < 0x4b0) {\n      uVar3 = 600;\n      __speed = 8;\n    }\n    else if (iVar2 < 0x708) {\n      uVar3 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar2 < 0x960) {\n      uVar3 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar2 < 0x12c0) {\n      uVar3 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar2 < 0x2580) {\n      uVar3 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar2 < 0x4b00) {\n      uVar3 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" else (if_statement "if (iVar2 < 200) {\n      uVar3 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar2 < 300) {\n      uVar3 = 200;\n      __speed = 6;\n    }\n    else if (iVar2 < 600) {\n      uVar3 = 300;\n      __speed = 7;\n    }\n    else if (iVar2 < 0x4b0) {\n      uVar3 = 600;\n      __speed = 8;\n    }\n    else if (iVar2 < 0x708) {\n      uVar3 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar2 < 0x960) {\n      uVar3 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar2 < 0x12c0) {\n      uVar3 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar2 < 0x2580) {\n      uVar3 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar2 < 0x4b00) {\n      uVar3 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" if (parenthesized_expression "(iVar2 < 200)" ( (binary_expression "iVar2 < 200" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 0x96;\n      __speed = 5;\n    }" { (expression_statement "uVar3 = 0x96;" (assignment_expression "uVar3 = 0x96" identifier = number_literal) ;) (expression_statement "__speed = 5;" (assignment_expression "__speed = 5" identifier = number_literal) ;) }) (else_clause "else if (iVar2 < 300) {\n      uVar3 = 200;\n      __speed = 6;\n    }\n    else if (iVar2 < 600) {\n      uVar3 = 300;\n      __speed = 7;\n    }\n    else if (iVar2 < 0x4b0) {\n      uVar3 = 600;\n      __speed = 8;\n    }\n    else if (iVar2 < 0x708) {\n      uVar3 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar2 < 0x960) {\n      uVar3 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar2 < 0x12c0) {\n      uVar3 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar2 < 0x2580) {\n      uVar3 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar2 < 0x4b00) {\n      uVar3 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" else (if_statement "if (iVar2 < 300) {\n      uVar3 = 200;\n      __speed = 6;\n    }\n    else if (iVar2 < 600) {\n      uVar3 = 300;\n      __speed = 7;\n    }\n    else if (iVar2 < 0x4b0) {\n      uVar3 = 600;\n      __speed = 8;\n    }\n    else if (iVar2 < 0x708) {\n      uVar3 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar2 < 0x960) {\n      uVar3 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar2 < 0x12c0) {\n      uVar3 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar2 < 0x2580) {\n      uVar3 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar2 < 0x4b00) {\n      uVar3 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" if (parenthesized_expression "(iVar2 < 300)" ( (binary_expression "iVar2 < 300" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 200;\n      __speed = 6;\n    }" { (expression_statement "uVar3 = 200;" (assignment_expression "uVar3 = 200" identifier = number_literal) ;) (expression_statement "__speed = 6;" (assignment_expression "__speed = 6" identifier = number_literal) ;) }) (else_clause "else if (iVar2 < 600) {\n      uVar3 = 300;\n      __speed = 7;\n    }\n    else if (iVar2 < 0x4b0) {\n      uVar3 = 600;\n      __speed = 8;\n    }\n    else if (iVar2 < 0x708) {\n      uVar3 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar2 < 0x960) {\n      uVar3 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar2 < 0x12c0) {\n      uVar3 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar2 < 0x2580) {\n      uVar3 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar2 < 0x4b00) {\n      uVar3 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" else (if_statement "if (iVar2 < 600) {\n      uVar3 = 300;\n      __speed = 7;\n    }\n    else if (iVar2 < 0x4b0) {\n      uVar3 = 600;\n      __speed = 8;\n    }\n    else if (iVar2 < 0x708) {\n      uVar3 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar2 < 0x960) {\n      uVar3 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar2 < 0x12c0) {\n      uVar3 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar2 < 0x2580) {\n      uVar3 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar2 < 0x4b00) {\n      uVar3 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" if (parenthesized_expression "(iVar2 < 600)" ( (binary_expression "iVar2 < 600" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 300;\n      __speed = 7;\n    }" { (expression_statement "uVar3 = 300;" (assignment_expression "uVar3 = 300" identifier = number_literal) ;) (expression_statement "__speed = 7;" (assignment_expression "__speed = 7" identifier = number_literal) ;) }) (else_clause "else if (iVar2 < 0x4b0) {\n      uVar3 = 600;\n      __speed = 8;\n    }\n    else if (iVar2 < 0x708) {\n      uVar3 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar2 < 0x960) {\n      uVar3 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar2 < 0x12c0) {\n      uVar3 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar2 < 0x2580) {\n      uVar3 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar2 < 0x4b00) {\n      uVar3 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" else (if_statement "if (iVar2 < 0x4b0) {\n      uVar3 = 600;\n      __speed = 8;\n    }\n    else if (iVar2 < 0x708) {\n      uVar3 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar2 < 0x960) {\n      uVar3 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar2 < 0x12c0) {\n      uVar3 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar2 < 0x2580) {\n      uVar3 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar2 < 0x4b00) {\n      uVar3 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" if (parenthesized_expression "(iVar2 < 0x4b0)" ( (binary_expression "iVar2 < 0x4b0" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 600;\n      __speed = 8;\n    }" { (expression_statement "uVar3 = 600;" (assignment_expression "uVar3 = 600" identifier = number_literal) ;) (expression_statement "__speed = 8;" (assignment_expression "__speed = 8" identifier = number_literal) ;) }) (else_clause "else if (iVar2 < 0x708) {\n      uVar3 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar2 < 0x960) {\n      uVar3 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar2 < 0x12c0) {\n      uVar3 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar2 < 0x2580) {\n      uVar3 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar2 < 0x4b00) {\n      uVar3 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" else (if_statement "if (iVar2 < 0x708) {\n      uVar3 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar2 < 0x960) {\n      uVar3 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar2 < 0x12c0) {\n      uVar3 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar2 < 0x2580) {\n      uVar3 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar2 < 0x4b00) {\n      uVar3 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" if (parenthesized_expression "(iVar2 < 0x708)" ( (binary_expression "iVar2 < 0x708" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 0x4b0;\n      __speed = 9;\n    }" { (expression_statement "uVar3 = 0x4b0;" (assignment_expression "uVar3 = 0x4b0" identifier = number_literal) ;) (expression_statement "__speed = 9;" (assignment_expression "__speed = 9" identifier = number_literal) ;) }) (else_clause "else if (iVar2 < 0x960) {\n      uVar3 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar2 < 0x12c0) {\n      uVar3 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar2 < 0x2580) {\n      uVar3 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar2 < 0x4b00) {\n      uVar3 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" else (if_statement "if (iVar2 < 0x960) {\n      uVar3 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar2 < 0x12c0) {\n      uVar3 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar2 < 0x2580) {\n      uVar3 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar2 < 0x4b00) {\n      uVar3 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" if (parenthesized_expression "(iVar2 < 0x960)" ( (binary_expression "iVar2 < 0x960" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 0x708;\n      __speed = 10;\n    }" { (expression_statement "uVar3 = 0x708;" (assignment_expression "uVar3 = 0x708" identifier = number_literal) ;) (expression_statement "__speed = 10;" (assignment_expression "__speed = 10" identifier = number_literal) ;) }) (else_clause "else if (iVar2 < 0x12c0) {\n      uVar3 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar2 < 0x2580) {\n      uVar3 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar2 < 0x4b00) {\n      uVar3 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" else (if_statement "if (iVar2 < 0x12c0) {\n      uVar3 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar2 < 0x2580) {\n      uVar3 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar2 < 0x4b00) {\n      uVar3 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" if (parenthesized_expression "(iVar2 < 0x12c0)" ( (binary_expression "iVar2 < 0x12c0" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 0x960;\n      __speed = 0xb;\n    }" { (expression_statement "uVar3 = 0x960;" (assignment_expression "uVar3 = 0x960" identifier = number_literal) ;) (expression_statement "__speed = 0xb;" (assignment_expression "__speed = 0xb" identifier = number_literal) ;) }) (else_clause "else if (iVar2 < 0x2580) {\n      uVar3 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar2 < 0x4b00) {\n      uVar3 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" else (if_statement "if (iVar2 < 0x2580) {\n      uVar3 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar2 < 0x4b00) {\n      uVar3 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" if (parenthesized_expression "(iVar2 < 0x2580)" ( (binary_expression "iVar2 < 0x2580" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 0x12c0;\n      __speed = 0xc;\n    }" { (expression_statement "uVar3 = 0x12c0;" (assignment_expression "uVar3 = 0x12c0" identifier = number_literal) ;) (expression_statement "__speed = 0xc;" (assignment_expression "__speed = 0xc" identifier = number_literal) ;) }) (else_clause "else if (iVar2 < 0x4b00) {\n      uVar3 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" else (if_statement "if (iVar2 < 0x4b00) {\n      uVar3 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" if (parenthesized_expression "(iVar2 < 0x4b00)" ( (binary_expression "iVar2 < 0x4b00" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 0x2580;\n      __speed = 0xd;\n    }" { (expression_statement "uVar3 = 0x2580;" (assignment_expression "uVar3 = 0x2580" identifier = number_literal) ;) (expression_statement "__speed = 0xd;" (assignment_expression "__speed = 0xd" identifier = number_literal) ;) }) (else_clause "else if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" else (if_statement "if (iVar2 < 0x9600) {\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" if (parenthesized_expression "(iVar2 < 0x9600)" ( (binary_expression "iVar2 < 0x9600" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 0x4b00;\n      __speed = 0xe;\n    }" { (expression_statement "uVar3 = 0x4b00;" (assignment_expression "uVar3 = 0x4b00" identifier = number_literal) ;) (expression_statement "__speed = 0xe;" (assignment_expression "__speed = 0xe" identifier = number_literal) ;) }) (else_clause "else if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" else (if_statement "if (iVar2 < 0xe100) {\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" if (parenthesized_expression "(iVar2 < 0xe100)" ( (binary_expression "iVar2 < 0xe100" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 0x9600;\n      __speed = 0xf;\n    }" { (expression_statement "uVar3 = 0x9600;" (assignment_expression "uVar3 = 0x9600" identifier = number_literal) ;) (expression_statement "__speed = 0xf;" (assignment_expression "__speed = 0xf" identifier = number_literal) ;) }) (else_clause "else if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" else (if_statement "if (iVar2 < 0x1c200) {\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" if (parenthesized_expression "(iVar2 < 0x1c200)" ( (binary_expression "iVar2 < 0x1c200" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 0xe100;\n      __speed = 0x1001;\n    }" { (expression_statement "uVar3 = 0xe100;" (assignment_expression "uVar3 = 0xe100" identifier = number_literal) ;) (expression_statement "__speed = 0x1001;" (assignment_expression "__speed = 0x1001" identifier = number_literal) ;) }) (else_clause "else if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" else (if_statement "if (iVar2 < 0x38400) {\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" if (parenthesized_expression "(iVar2 < 0x38400)" ( (binary_expression "iVar2 < 0x38400" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 0x1c200;\n      __speed = 0x1002;\n    }" { (expression_statement "uVar3 = 0x1c200;" (assignment_expression "uVar3 = 0x1c200" identifier = number_literal) ;) (expression_statement "__speed = 0x1002;" (assignment_expression "__speed = 0x1002" identifier = number_literal) ;) }) (else_clause "else if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" else (if_statement "if (iVar2 < 0x70800) {\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" if (parenthesized_expression "(iVar2 < 0x70800)" ( (binary_expression "iVar2 < 0x70800" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 0x38400;\n      __speed = 0x1003;\n    }" { (expression_statement "uVar3 = 0x38400;" (assignment_expression "uVar3 = 0x38400" identifier = number_literal) ;) (expression_statement "__speed = 0x1003;" (assignment_expression "__speed = 0x1003" identifier = number_literal) ;) }) (else_clause "else if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" else (if_statement "if (iVar2 < 500000) {\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" if (parenthesized_expression "(iVar2 < 500000)" ( (binary_expression "iVar2 < 500000" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 0x70800;\n      __speed = 0x1004;\n    }" { (expression_statement "uVar3 = 0x70800;" (assignment_expression "uVar3 = 0x70800" identifier = number_literal) ;) (expression_statement "__speed = 0x1004;" (assignment_expression "__speed = 0x1004" identifier = number_literal) ;) }) (else_clause "else if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" else (if_statement "if (iVar2 < 0x8ca00) {\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" if (parenthesized_expression "(iVar2 < 0x8ca00)" ( (binary_expression "iVar2 < 0x8ca00" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 500000;\n      __speed = 0x1005;\n    }" { (expression_statement "uVar3 = 500000;" (assignment_expression "uVar3 = 500000" identifier = number_literal) ;) (expression_statement "__speed = 0x1005;" (assignment_expression "__speed = 0x1005" identifier = number_literal) ;) }) (else_clause "else if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" else (if_statement "if (iVar2 < 0xe1000) {\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" if (parenthesized_expression "(iVar2 < 0xe1000)" ( (binary_expression "iVar2 < 0xe1000" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 0x8ca00;\n      __speed = 0x1006;\n    }" { (expression_statement "uVar3 = 0x8ca00;" (assignment_expression "uVar3 = 0x8ca00" identifier = number_literal) ;) (expression_statement "__speed = 0x1006;" (assignment_expression "__speed = 0x1006" identifier = number_literal) ;) }) (else_clause "else if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" else (if_statement "if (iVar2 < 1000000) {\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" if (parenthesized_expression "(iVar2 < 1000000)" ( (binary_expression "iVar2 < 1000000" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 0xe1000;\n      __speed = 0x1007;\n    }" { (expression_statement "uVar3 = 0xe1000;" (assignment_expression "uVar3 = 0xe1000" identifier = number_literal) ;) (expression_statement "__speed = 0x1007;" (assignment_expression "__speed = 0x1007" identifier = number_literal) ;) }) (else_clause "else if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" else (if_statement "if (iVar2 < 0x119400) {\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" if (parenthesized_expression "(iVar2 < 0x119400)" ( (binary_expression "iVar2 < 0x119400" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 1000000;\n      __speed = 0x1008;\n    }" { (expression_statement "uVar3 = 1000000;" (assignment_expression "uVar3 = 1000000" identifier = number_literal) ;) (expression_statement "__speed = 0x1008;" (assignment_expression "__speed = 0x1008" identifier = number_literal) ;) }) (else_clause "else if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" else (if_statement "if (iVar2 < 1500000) {\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" if (parenthesized_expression "(iVar2 < 1500000)" ( (binary_expression "iVar2 < 1500000" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 0x119400;\n      __speed = 0x1009;\n    }" { (expression_statement "uVar3 = 0x119400;" (assignment_expression "uVar3 = 0x119400" identifier = number_literal) ;) (expression_statement "__speed = 0x1009;" (assignment_expression "__speed = 0x1009" identifier = number_literal) ;) }) (else_clause "else if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" else (if_statement "if (iVar2 < 2000000) {\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" if (parenthesized_expression "(iVar2 < 2000000)" ( (binary_expression "iVar2 < 2000000" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 1500000;\n      __speed = 0x100a;\n    }" { (expression_statement "uVar3 = 1500000;" (assignment_expression "uVar3 = 1500000" identifier = number_literal) ;) (expression_statement "__speed = 0x100a;" (assignment_expression "__speed = 0x100a" identifier = number_literal) ;) }) (else_clause "else if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" else (if_statement "if (iVar2 < 2500000) {\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" if (parenthesized_expression "(iVar2 < 2500000)" ( (binary_expression "iVar2 < 2500000" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 2000000;\n      __speed = 0x100b;\n    }" { (expression_statement "uVar3 = 2000000;" (assignment_expression "uVar3 = 2000000" identifier = number_literal) ;) (expression_statement "__speed = 0x100b;" (assignment_expression "__speed = 0x100b" identifier = number_literal) ;) }) (else_clause "else if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" else (if_statement "if (iVar2 < 3000000) {\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" if (parenthesized_expression "(iVar2 < 3000000)" ( (binary_expression "iVar2 < 3000000" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 2500000;\n      __speed = 0x100c;\n    }" { (expression_statement "uVar3 = 2500000;" (assignment_expression "uVar3 = 2500000" identifier = number_literal) ;) (expression_statement "__speed = 0x100c;" (assignment_expression "__speed = 0x100c" identifier = number_literal) ;) }) (else_clause "else if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" else (if_statement "if (iVar2 < 3500000) {\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" if (parenthesized_expression "(iVar2 < 3500000)" ( (binary_expression "iVar2 < 3500000" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 3000000;\n      __speed = 0x100d;\n    }" { (expression_statement "uVar3 = 3000000;" (assignment_expression "uVar3 = 3000000" identifier = number_literal) ;) (expression_statement "__speed = 0x100d;" (assignment_expression "__speed = 0x100d" identifier = number_literal) ;) }) (else_clause "else {\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" else (compound_statement "{\n      uVar3 = 3500000;\n      if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }\n      __speed = (3999999 < iVar2) + 0x100e;\n    }" { (expression_statement "uVar3 = 3500000;" (assignment_expression "uVar3 = 3500000" identifier = number_literal) ;) (if_statement "if (3999999 < iVar2) {\n        uVar3 = 4000000;\n      }" if (parenthesized_expression "(3999999 < iVar2)" ( (binary_expression "3999999 < iVar2" number_literal < identifier) )) (compound_statement "{\n        uVar3 = 4000000;\n      }" { (expression_statement "uVar3 = 4000000;" (assignment_expression "uVar3 = 4000000" identifier = number_literal) ;) })) (expression_statement "__speed = (3999999 < iVar2) + 0x100e;" (assignment_expression "__speed = (3999999 < iVar2) + 0x100e" identifier = (binary_expression "(3999999 < iVar2) + 0x100e" (parenthesized_expression "(3999999 < iVar2)" ( (binary_expression "3999999 < iVar2" number_literal < identifier) )) + number_literal)) ;) }))))))))))))))))))))))))))))))))))))))))))))))))))))))))) (expression_statement "cfsetispeed((termios *)&options,__speed);" (call_expression "cfsetispeed((termios *)&options,__speed)" identifier (argument_list "((termios *)&options,__speed)" ( (cast_expression "(termios *)&options" ( (type_descriptor "termios *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&options" & identifier)) , identifier ))) ;) (expression_statement "cfsetospeed((termios *)&options,__speed);" (call_expression "cfsetospeed((termios *)&options,__speed)" identifier (argument_list "((termios *)&options,__speed)" ( (cast_expression "(termios *)&options" ( (type_descriptor "termios *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&options" & identifier)) , identifier ))) ;) (expression_statement "pcVar4 = dupprintf("Configuring baud rate %d",(ulong)uVar3);" (assignment_expression "pcVar4 = dupprintf("Configuring baud rate %d",(ulong)uVar3)" identifier = (call_expression "dupprintf("Configuring baud rate %d",(ulong)uVar3)" identifier (argument_list "("Configuring baud rate %d",(ulong)uVar3)" ( (string_literal ""Configuring baud rate %d"" " string_content ") , (cast_expression "(ulong)uVar3" ( (type_descriptor "ulong" type_identifier) ) identifier) )))) ;) (expression_statement "logevent(serial->frontend,pcVar4);" (call_expression "logevent(serial->frontend,pcVar4)" identifier (argument_list "(serial->frontend,pcVar4)" ( (field_expression "serial->frontend" identifier -> field_identifier) , identifier ))) ;) (expression_statement "safefree(pcVar4);" (call_expression "safefree(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) (expression_statement "options.c_cflag = options.c_cflag & 0xffffffcf;" (assignment_expression "options.c_cflag = options.c_cflag & 0xffffffcf" (field_expression "options.c_cflag" identifier . field_identifier) = (binary_expression "options.c_cflag & 0xffffffcf" (field_expression "options.c_cflag" identifier . field_identifier) & number_literal)) ;) (expression_statement "iVar2 = conf_get_int(conf,0x3b);" (assignment_expression "iVar2 = conf_get_int(conf,0x3b)" identifier = (call_expression "conf_get_int(conf,0x3b)" identifier (argument_list "(conf,0x3b)" ( identifier , number_literal )))) ;) (if_statement "if (iVar2 == 6) {\n      options.c_cflag = options.c_cflag | 0x10;\n    }\n    else if (iVar2 < 7) {\n      if (iVar2 != 5) {\n        pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }\n    else if (iVar2 == 7) {\n      options.c_cflag = options.c_cflag | 0x20;\n    }\n    else {\n      if (iVar2 != 8) {\n        pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      options.c_cflag = options.c_cflag | 0x30;\n    }" if (parenthesized_expression "(iVar2 == 6)" ( (binary_expression "iVar2 == 6" identifier == number_literal) )) (compound_statement "{\n      options.c_cflag = options.c_cflag | 0x10;\n    }" { (expression_statement "options.c_cflag = options.c_cflag | 0x10;" (assignment_expression "options.c_cflag = options.c_cflag | 0x10" (field_expression "options.c_cflag" identifier . field_identifier) = (binary_expression "options.c_cflag | 0x10" (field_expression "options.c_cflag" identifier . field_identifier) | number_literal)) ;) }) (else_clause "else if (iVar2 < 7) {\n      if (iVar2 != 5) {\n        pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }\n    else if (iVar2 == 7) {\n      options.c_cflag = options.c_cflag | 0x20;\n    }\n    else {\n      if (iVar2 != 8) {\n        pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      options.c_cflag = options.c_cflag | 0x30;\n    }" else (if_statement "if (iVar2 < 7) {\n      if (iVar2 != 5) {\n        pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }\n    else if (iVar2 == 7) {\n      options.c_cflag = options.c_cflag | 0x20;\n    }\n    else {\n      if (iVar2 != 8) {\n        pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      options.c_cflag = options.c_cflag | 0x30;\n    }" if (parenthesized_expression "(iVar2 < 7)" ( (binary_expression "iVar2 < 7" identifier < number_literal) )) (compound_statement "{\n      if (iVar2 != 5) {\n        pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }" { (if_statement "if (iVar2 != 5) {\n        pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }" if (parenthesized_expression "(iVar2 != 5)" ( (binary_expression "iVar2 != 5" identifier != number_literal) )) (compound_statement "{\n        pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }" { (expression_statement "pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)";" (assignment_expression "pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)"" identifier = (string_literal ""Invalid number of data bits (need 5, 6, 7 or 8)"" " string_content ")) ;) (goto_statement "goto LAB_00154210;" goto statement_identifier ;) })) }) (else_clause "else if (iVar2 == 7) {\n      options.c_cflag = options.c_cflag | 0x20;\n    }\n    else {\n      if (iVar2 != 8) {\n        pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      options.c_cflag = options.c_cflag | 0x30;\n    }" else (if_statement "if (iVar2 == 7) {\n      options.c_cflag = options.c_cflag | 0x20;\n    }\n    else {\n      if (iVar2 != 8) {\n        pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      options.c_cflag = options.c_cflag | 0x30;\n    }" if (parenthesized_expression "(iVar2 == 7)" ( (binary_expression "iVar2 == 7" identifier == number_literal) )) (compound_statement "{\n      options.c_cflag = options.c_cflag | 0x20;\n    }" { (expression_statement "options.c_cflag = options.c_cflag | 0x20;" (assignment_expression "options.c_cflag = options.c_cflag | 0x20" (field_expression "options.c_cflag" identifier . field_identifier) = (binary_expression "options.c_cflag | 0x20" (field_expression "options.c_cflag" identifier . field_identifier) | number_literal)) ;) }) (else_clause "else {\n      if (iVar2 != 8) {\n        pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      options.c_cflag = options.c_cflag | 0x30;\n    }" else (compound_statement "{\n      if (iVar2 != 8) {\n        pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      options.c_cflag = options.c_cflag | 0x30;\n    }" { (if_statement "if (iVar2 != 8) {\n        pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }" if (parenthesized_expression "(iVar2 != 8)" ( (binary_expression "iVar2 != 8" identifier != number_literal) )) (compound_statement "{\n        pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }" { (expression_statement "pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)";" (assignment_expression "pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)"" identifier = (string_literal ""Invalid number of data bits (need 5, 6, 7 or 8)"" " string_content ")) ;) (goto_statement "goto LAB_00154210;" goto statement_identifier ;) })) (expression_statement "options.c_cflag = options.c_cflag | 0x30;" (assignment_expression "options.c_cflag = options.c_cflag | 0x30" (field_expression "options.c_cflag" identifier . field_identifier) = (binary_expression "options.c_cflag | 0x30" (field_expression "options.c_cflag" identifier . field_identifier) | number_literal)) ;) }))))))) (expression_statement "uVar3 = conf_get_int(conf,0x3b);" (assignment_expression "uVar3 = conf_get_int(conf,0x3b)" identifier = (call_expression "conf_get_int(conf,0x3b)" identifier (argument_list "(conf,0x3b)" ( identifier , number_literal )))) ;) (expression_statement "pcVar4 = dupprintf("Configuring %d data bits",(ulong)uVar3);" (assignment_expression "pcVar4 = dupprintf("Configuring %d data bits",(ulong)uVar3)" identifier = (call_expression "dupprintf("Configuring %d data bits",(ulong)uVar3)" identifier (argument_list "("Configuring %d data bits",(ulong)uVar3)" ( (string_literal ""Configuring %d data bits"" " string_content ") , (cast_expression "(ulong)uVar3" ( (type_descriptor "ulong" type_identifier) ) identifier) )))) ;) (expression_statement "logevent(serial->frontend,pcVar4);" (call_expression "logevent(serial->frontend,pcVar4)" identifier (argument_list "(serial->frontend,pcVar4)" ( (field_expression "serial->frontend" identifier -> field_identifier) , identifier ))) ;) (expression_statement "safefree(pcVar4);" (call_expression "safefree(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) (expression_statement "iVar2 = conf_get_int(conf,0x3c);" (assignment_expression "iVar2 = conf_get_int(conf,0x3c)" identifier = (call_expression "conf_get_int(conf,0x3c)" identifier (argument_list "(conf,0x3c)" ( identifier , number_literal )))) ;) (if_statement "if (iVar2 < 4) {\n      options.c_cflag = options.c_cflag & 0xffffffbf;\n    }\n    else {\n      options.c_cflag = options.c_cflag | 0x40;\n    }" if (parenthesized_expression "(iVar2 < 4)" ( (binary_expression "iVar2 < 4" identifier < number_literal) )) (compound_statement "{\n      options.c_cflag = options.c_cflag & 0xffffffbf;\n    }" { (expression_statement "options.c_cflag = options.c_cflag & 0xffffffbf;" (assignment_expression "options.c_cflag = options.c_cflag & 0xffffffbf" (field_expression "options.c_cflag" identifier . field_identifier) = (binary_expression "options.c_cflag & 0xffffffbf" (field_expression "options.c_cflag" identifier . field_identifier) & number_literal)) ;) }) (else_clause "else {\n      options.c_cflag = options.c_cflag | 0x40;\n    }" else (compound_statement "{\n      options.c_cflag = options.c_cflag | 0x40;\n    }" { (expression_statement "options.c_cflag = options.c_cflag | 0x40;" (assignment_expression "options.c_cflag = options.c_cflag | 0x40" (field_expression "options.c_cflag" identifier . field_identifier) = (binary_expression "options.c_cflag | 0x40" (field_expression "options.c_cflag" identifier . field_identifier) | number_literal)) ;) }))) (expression_statement "pcVar4 = dupprintf("Configuring %d stop bits",(ulong)(((options.c_cflag & 0x40) != 0) + 1));" (assignment_expression "pcVar4 = dupprintf("Configuring %d stop bits",(ulong)(((options.c_cflag & 0x40) != 0) + 1))" identifier = (call_expression "dupprintf("Configuring %d stop bits",(ulong)(((options.c_cflag & 0x40) != 0) + 1))" identifier (argument_list "("Configuring %d stop bits",(ulong)(((options.c_cflag & 0x40) != 0) + 1))" ( (string_literal ""Configuring %d stop bits"" " string_content ") , (call_expression "(ulong)(((options.c_cflag & 0x40) != 0) + 1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(((options.c_cflag & 0x40) != 0) + 1)" ( (binary_expression "((options.c_cflag & 0x40) != 0) + 1" (parenthesized_expression "((options.c_cflag & 0x40) != 0)" ( (binary_expression "(options.c_cflag & 0x40) != 0" (parenthesized_expression "(options.c_cflag & 0x40)" ( (binary_expression "options.c_cflag & 0x40" (field_expression "options.c_cflag" identifier . field_identifier) & number_literal) )) != number_literal) )) + number_literal) ))) )))) ;) (expression_statement "logevent(serial->frontend,pcVar4);" (call_expression "logevent(serial->frontend,pcVar4)" identifier (argument_list "(serial->frontend,pcVar4)" ( (field_expression "serial->frontend" identifier -> field_identifier) , identifier ))) ;) (expression_statement "safefree(pcVar4);" (call_expression "safefree(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) (expression_statement "options.c_iflag = options.c_iflag & 0xffffebff;" (assignment_expression "options.c_iflag = options.c_iflag & 0xffffebff" (field_expression "options.c_iflag" identifier . field_identifier) = (binary_expression "options.c_iflag & 0xffffebff" (field_expression "options.c_iflag" identifier . field_identifier) & number_literal)) ;) (expression_statement "options.c_cflag = options.c_cflag & 0x7fffffff;" (assignment_expression "options.c_cflag = options.c_cflag & 0x7fffffff" (field_expression "options.c_cflag" identifier . field_identifier) = (binary_expression "options.c_cflag & 0x7fffffff" (field_expression "options.c_cflag" identifier . field_identifier) & number_literal)) ;) (expression_statement "iVar2 = conf_get_int(conf,0x3e);" (assignment_expression "iVar2 = conf_get_int(conf,0x3e)" identifier = (call_expression "conf_get_int(conf,0x3e)" identifier (argument_list "(conf,0x3e)" ( identifier , number_literal )))) ;) (if_statement "if (iVar2 == 1) {\n      options.c_iflag = options.c_iflag | 0x1400;\n      pcVar4 = "XON/XOFF";\n    }\n    else {\n      pcVar4 = "no";\n      if (iVar2 == 2) {\n        options.c_cflag = options.c_cflag | 0x80000000;\n        pcVar4 = "RTS/CTS";\n      }\n    }" if (parenthesized_expression "(iVar2 == 1)" ( (binary_expression "iVar2 == 1" identifier == number_literal) )) (compound_statement "{\n      options.c_iflag = options.c_iflag | 0x1400;\n      pcVar4 = "XON/XOFF";\n    }" { (expression_statement "options.c_iflag = options.c_iflag | 0x1400;" (assignment_expression "options.c_iflag = options.c_iflag | 0x1400" (field_expression "options.c_iflag" identifier . field_identifier) = (binary_expression "options.c_iflag | 0x1400" (field_expression "options.c_iflag" identifier . field_identifier) | number_literal)) ;) (expression_statement "pcVar4 = "XON/XOFF";" (assignment_expression "pcVar4 = "XON/XOFF"" identifier = (string_literal ""XON/XOFF"" " string_content ")) ;) }) (else_clause "else {\n      pcVar4 = "no";\n      if (iVar2 == 2) {\n        options.c_cflag = options.c_cflag | 0x80000000;\n        pcVar4 = "RTS/CTS";\n      }\n    }" else (compound_statement "{\n      pcVar4 = "no";\n      if (iVar2 == 2) {\n        options.c_cflag = options.c_cflag | 0x80000000;\n        pcVar4 = "RTS/CTS";\n      }\n    }" { (expression_statement "pcVar4 = "no";" (assignment_expression "pcVar4 = "no"" identifier = (string_literal ""no"" " string_content ")) ;) (if_statement "if (iVar2 == 2) {\n        options.c_cflag = options.c_cflag | 0x80000000;\n        pcVar4 = "RTS/CTS";\n      }" if (parenthesized_expression "(iVar2 == 2)" ( (binary_expression "iVar2 == 2" identifier == number_literal) )) (compound_statement "{\n        options.c_cflag = options.c_cflag | 0x80000000;\n        pcVar4 = "RTS/CTS";\n      }" { (expression_statement "options.c_cflag = options.c_cflag | 0x80000000;" (assignment_expression "options.c_cflag = options.c_cflag | 0x80000000" (field_expression "options.c_cflag" identifier . field_identifier) = (binary_expression "options.c_cflag | 0x80000000" (field_expression "options.c_cflag" identifier . field_identifier) | number_literal)) ;) (expression_statement "pcVar4 = "RTS/CTS";" (assignment_expression "pcVar4 = "RTS/CTS"" identifier = (string_literal ""RTS/CTS"" " string_content ")) ;) })) }))) (expression_statement "pcVar4 = dupprintf("Configuring %s flow control",pcVar4);" (assignment_expression "pcVar4 = dupprintf("Configuring %s flow control",pcVar4)" identifier = (call_expression "dupprintf("Configuring %s flow control",pcVar4)" identifier (argument_list "("Configuring %s flow control",pcVar4)" ( (string_literal ""Configuring %s flow control"" " string_content ") , identifier )))) ;) (expression_statement "logevent(serial->frontend,pcVar4);" (call_expression "logevent(serial->frontend,pcVar4)" identifier (argument_list "(serial->frontend,pcVar4)" ( (field_expression "serial->frontend" identifier -> field_identifier) , identifier ))) ;) (expression_statement "safefree(pcVar4);" (call_expression "safefree(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) (expression_statement "iVar2 = conf_get_int(conf,0x3d);" (assignment_expression "iVar2 = conf_get_int(conf,0x3d)" identifier = (call_expression "conf_get_int(conf,0x3d)" identifier (argument_list "(conf,0x3d)" ( identifier , number_literal )))) ;) (if_statement "if (iVar2 == 1) {\n      options.c_cflag = options.c_cflag | 0x300;\n      puVar5 = &DAT_00183872;\n    }\n    else if (iVar2 == 2) {\n      options.c_cflag = options.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }\n    else {\n      options.c_cflag = options.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }" if (parenthesized_expression "(iVar2 == 1)" ( (binary_expression "iVar2 == 1" identifier == number_literal) )) (compound_statement "{\n      options.c_cflag = options.c_cflag | 0x300;\n      puVar5 = &DAT_00183872;\n    }" { (expression_statement "options.c_cflag = options.c_cflag | 0x300;" (assignment_expression "options.c_cflag = options.c_cflag | 0x300" (field_expression "options.c_cflag" identifier . field_identifier) = (binary_expression "options.c_cflag | 0x300" (field_expression "options.c_cflag" identifier . field_identifier) | number_literal)) ;) (expression_statement "puVar5 = &DAT_00183872;" (assignment_expression "puVar5 = &DAT_00183872" identifier = (pointer_expression "&DAT_00183872" & identifier)) ;) }) (else_clause "else if (iVar2 == 2) {\n      options.c_cflag = options.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }\n    else {\n      options.c_cflag = options.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }" else (if_statement "if (iVar2 == 2) {\n      options.c_cflag = options.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }\n    else {\n      options.c_cflag = options.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }" if (parenthesized_expression "(iVar2 == 2)" ( (binary_expression "iVar2 == 2" identifier == number_literal) )) (compound_statement "{\n      options.c_cflag = options.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }" { (expression_statement "options.c_cflag = options.c_cflag & 0xfffffdff | 0x100;" (assignment_expression "options.c_cflag = options.c_cflag & 0xfffffdff | 0x100" (field_expression "options.c_cflag" identifier . field_identifier) = (binary_expression "options.c_cflag & 0xfffffdff | 0x100" (binary_expression "options.c_cflag & 0xfffffdff" (field_expression "options.c_cflag" identifier . field_identifier) & number_literal) | number_literal)) ;) (expression_statement "puVar5 = &DAT_00183876;" (assignment_expression "puVar5 = &DAT_00183876" identifier = (pointer_expression "&DAT_00183876" & identifier)) ;) }) (else_clause "else {\n      options.c_cflag = options.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }" else (compound_statement "{\n      options.c_cflag = options.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }" { (expression_statement "options.c_cflag = options.c_cflag & 0xfffffeff;" (assignment_expression "options.c_cflag = options.c_cflag & 0xfffffeff" (field_expression "options.c_cflag" identifier . field_identifier) = (binary_expression "options.c_cflag & 0xfffffeff" (field_expression "options.c_cflag" identifier . field_identifier) & number_literal)) ;) (expression_statement "puVar5 = &DAT_0017f39d;" (assignment_expression "puVar5 = &DAT_0017f39d" identifier = (pointer_expression "&DAT_0017f39d" & identifier)) ;) }))))) (expression_statement "pcVar4 = dupprintf("Configuring %s parity",puVar5);" (assignment_expression "pcVar4 = dupprintf("Configuring %s parity",puVar5)" identifier = (call_expression "dupprintf("Configuring %s parity",puVar5)" identifier (argument_list "("Configuring %s parity",puVar5)" ( (string_literal ""Configuring %s parity"" " string_content ") , identifier )))) ;) (expression_statement "logevent(serial->frontend,pcVar4);" (call_expression "logevent(serial->frontend,pcVar4)" identifier (argument_list "(serial->frontend,pcVar4)" ( (field_expression "serial->frontend" identifier -> field_identifier) , identifier ))) ;) (expression_statement "safefree(pcVar4);" (call_expression "safefree(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) (expression_statement "options.c_cflag = options.c_cflag | 0x880;" (assignment_expression "options.c_cflag = options.c_cflag | 0x880" (field_expression "options.c_cflag" identifier . field_identifier) = (binary_expression "options.c_cflag | 0x880" (field_expression "options.c_cflag" identifier . field_identifier) | number_literal)) ;) (expression_statement "options.c_lflag = options.c_lflag & 0xffffffe4;" (assignment_expression "options.c_lflag = options.c_lflag & 0xffffffe4" (field_expression "options.c_lflag" identifier . field_identifier) = (binary_expression "options.c_lflag & 0xffffffe4" (field_expression "options.c_lflag" identifier . field_identifier) & number_literal)) ;) (expression_statement "options.c_iflag = options.c_iflag & 0xfffffc1f;" (assignment_expression "options.c_iflag = options.c_iflag & 0xfffffc1f" (field_expression "options.c_iflag" identifier . field_identifier) = (binary_expression "options.c_iflag & 0xfffffc1f" (field_expression "options.c_iflag" identifier . field_identifier) & number_literal)) ;) (expression_statement "options.c_oflag = options.c_oflag & 0xffffffc2;" (assignment_expression "options.c_oflag = options.c_oflag & 0xffffffc2" (field_expression "options.c_oflag" identifier . field_identifier) = (binary_expression "options.c_oflag & 0xffffffc2" (field_expression "options.c_oflag" identifier . field_identifier) & number_literal)) ;) (expression_statement "options.c_cc[6] = '\x01';" (assignment_expression "options.c_cc[6] = '\x01'" (subscript_expression "options.c_cc[6]" (field_expression "options.c_cc" identifier . field_identifier) [ number_literal ]) = (char_literal "'\x01'" ' escape_sequence ')) ;) (expression_statement "options.c_cc[5] = '\0';" (assignment_expression "options.c_cc[5] = '\0'" (subscript_expression "options.c_cc[5]" (field_expression "options.c_cc" identifier . field_identifier) [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "iVar2 = tcsetattr(serial->fd,0,(termios *)&options);" (assignment_expression "iVar2 = tcsetattr(serial->fd,0,(termios *)&options)" identifier = (call_expression "tcsetattr(serial->fd,0,(termios *)&options)" identifier (argument_list "(serial->fd,0,(termios *)&options)" ( (field_expression "serial->fd" identifier -> field_identifier) , number_literal , (cast_expression "(termios *)&options" ( (type_descriptor "termios *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&options" & identifier)) )))) ;) (expression_statement "pcVar4 = "Unable to configure serial port";" (assignment_expression "pcVar4 = "Unable to configure serial port"" identifier = (string_literal ""Unable to configure serial port"" " string_content ")) ;) (if_statement "if (-1 < iVar2) {\n      pcVar4 = (char *)0x0;\n    }" if (parenthesized_expression "(-1 < iVar2)" ( (binary_expression "-1 < iVar2" number_literal < identifier) )) (compound_statement "{\n      pcVar4 = (char *)0x0;\n    }" { (expression_statement "pcVar4 = (char *)0x0;" (assignment_expression "pcVar4 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) })) (labeled_statement "LAB_00154210:\n  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return pcVar4;\n  }" statement_identifier : (if_statement "if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return pcVar4;\n  }" if (parenthesized_expression "(lVar1 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "lVar1 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return pcVar4;\n  }" { (return_statement "return pcVar4;" return identifier ;) }))) comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "char * FUN_00153e70(undefined8 *param_1,undefined8 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  char *pcVar3;\n  undefined8 uVar4;\n  undefined *puVar5;\n  speed_t __speed;\n  long in_FS_OFFSET;\n  termios local_78;\n  long local_30;\n  \n  local_30 = *(long *)(in_FS_OFFSET + 0x28);\n  pcVar3 = "Unable to reconfigure already-closed serial connection";\n  if (-1 < *(int *)(param_1 + 1)) {\n    tcgetattr(*(int *)(param_1 + 1),&local_78);\n    iVar1 = FUN_0011558e(param_2,0x3a);\n    if (iVar1 < 0x4b) {\n      uVar2 = 0x32;\n      __speed = 1;\n    }\n    else if (iVar1 < 0x6e) {\n      uVar2 = 0x4b;\n      __speed = 2;\n    }\n    else if (iVar1 < 0x86) {\n      uVar2 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }\n    cfsetispeed(&local_78,__speed);\n    cfsetospeed(&local_78,__speed);\n    uVar4 = FUN_0012292d("Configuring baud rate %d",uVar2);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_cflag = local_78.c_cflag & 0xffffffcf;\n    iVar1 = FUN_0011558e(param_2,0x3b);\n    if (iVar1 == 6) {\n      local_78.c_cflag = local_78.c_cflag | 0x10;\n    }\n    else if (iVar1 < 7) {\n      if (iVar1 != 5) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }\n    else if (iVar1 == 7) {\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }\n    else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }\n    uVar2 = FUN_0011558e(param_2,0x3b);\n    uVar4 = FUN_0012292d("Configuring %d data bits",uVar2);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    iVar1 = FUN_0011558e(param_2,0x3c);\n    if (iVar1 < 4) {\n      local_78.c_cflag = local_78.c_cflag & 0xffffffbf;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag | 0x40;\n    }\n    uVar4 = FUN_0012292d("Configuring %d stop bits",((local_78.c_cflag & 0x40) != 0) + '\x01');\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_iflag = local_78.c_iflag & 0xffffebff;\n    local_78.c_cflag = local_78.c_cflag & 0x7fffffff;\n    iVar1 = FUN_0011558e(param_2,0x3e);\n    if (iVar1 == 1) {\n      local_78.c_iflag = local_78.c_iflag | 0x1400;\n      pcVar3 = "XON/XOFF";\n    }\n    else {\n      pcVar3 = "no";\n      if (iVar1 == 2) {\n        local_78.c_cflag = local_78.c_cflag | 0x80000000;\n        pcVar3 = "RTS/CTS";\n      }\n    }\n    uVar4 = FUN_0012292d("Configuring %s flow control",pcVar3);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    iVar1 = FUN_0011558e(param_2,0x3d);\n    if (iVar1 == 1) {\n      local_78.c_cflag = local_78.c_cflag | 0x300;\n      puVar5 = &DAT_00183872;\n    }\n    else if (iVar1 == 2) {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }\n    uVar4 = FUN_0012292d("Configuring %s parity",puVar5);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_cflag = local_78.c_cflag | 0x880;\n    local_78.c_lflag = local_78.c_lflag & 0xffffffe4;\n    local_78.c_iflag = local_78.c_iflag & 0xfffffc1f;\n    local_78.c_oflag = local_78.c_oflag & 0xffffffc2;\n    local_78.c_cc[6] = '\x01';\n    local_78.c_cc[5] = '\0';\n    iVar1 = tcsetattr(*(int *)(param_1 + 1),0,&local_78);\n    pcVar3 = "Unable to configure serial port";\n    if (-1 < iVar1) {\n      pcVar3 = (char *)0x0;\n    }\n  }\nLAB_00154210:\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return pcVar3;\n  }\n                    \n  __stack_chk_fail();\n}\n\n" (function_definition "char * FUN_00153e70(undefined8 *param_1,undefined8 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  char *pcVar3;\n  undefined8 uVar4;\n  undefined *puVar5;\n  speed_t __speed;\n  long in_FS_OFFSET;\n  termios local_78;\n  long local_30;\n  \n  local_30 = *(long *)(in_FS_OFFSET + 0x28);\n  pcVar3 = "Unable to reconfigure already-closed serial connection";\n  if (-1 < *(int *)(param_1 + 1)) {\n    tcgetattr(*(int *)(param_1 + 1),&local_78);\n    iVar1 = FUN_0011558e(param_2,0x3a);\n    if (iVar1 < 0x4b) {\n      uVar2 = 0x32;\n      __speed = 1;\n    }\n    else if (iVar1 < 0x6e) {\n      uVar2 = 0x4b;\n      __speed = 2;\n    }\n    else if (iVar1 < 0x86) {\n      uVar2 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }\n    cfsetispeed(&local_78,__speed);\n    cfsetospeed(&local_78,__speed);\n    uVar4 = FUN_0012292d("Configuring baud rate %d",uVar2);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_cflag = local_78.c_cflag & 0xffffffcf;\n    iVar1 = FUN_0011558e(param_2,0x3b);\n    if (iVar1 == 6) {\n      local_78.c_cflag = local_78.c_cflag | 0x10;\n    }\n    else if (iVar1 < 7) {\n      if (iVar1 != 5) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }\n    else if (iVar1 == 7) {\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }\n    else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }\n    uVar2 = FUN_0011558e(param_2,0x3b);\n    uVar4 = FUN_0012292d("Configuring %d data bits",uVar2);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    iVar1 = FUN_0011558e(param_2,0x3c);\n    if (iVar1 < 4) {\n      local_78.c_cflag = local_78.c_cflag & 0xffffffbf;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag | 0x40;\n    }\n    uVar4 = FUN_0012292d("Configuring %d stop bits",((local_78.c_cflag & 0x40) != 0) + '\x01');\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_iflag = local_78.c_iflag & 0xffffebff;\n    local_78.c_cflag = local_78.c_cflag & 0x7fffffff;\n    iVar1 = FUN_0011558e(param_2,0x3e);\n    if (iVar1 == 1) {\n      local_78.c_iflag = local_78.c_iflag | 0x1400;\n      pcVar3 = "XON/XOFF";\n    }\n    else {\n      pcVar3 = "no";\n      if (iVar1 == 2) {\n        local_78.c_cflag = local_78.c_cflag | 0x80000000;\n        pcVar3 = "RTS/CTS";\n      }\n    }\n    uVar4 = FUN_0012292d("Configuring %s flow control",pcVar3);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    iVar1 = FUN_0011558e(param_2,0x3d);\n    if (iVar1 == 1) {\n      local_78.c_cflag = local_78.c_cflag | 0x300;\n      puVar5 = &DAT_00183872;\n    }\n    else if (iVar1 == 2) {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }\n    uVar4 = FUN_0012292d("Configuring %s parity",puVar5);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_cflag = local_78.c_cflag | 0x880;\n    local_78.c_lflag = local_78.c_lflag & 0xffffffe4;\n    local_78.c_iflag = local_78.c_iflag & 0xfffffc1f;\n    local_78.c_oflag = local_78.c_oflag & 0xffffffc2;\n    local_78.c_cc[6] = '\x01';\n    local_78.c_cc[5] = '\0';\n    iVar1 = tcsetattr(*(int *)(param_1 + 1),0,&local_78);\n    pcVar3 = "Unable to configure serial port";\n    if (-1 < iVar1) {\n      pcVar3 = (char *)0x0;\n    }\n  }\nLAB_00154210:\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return pcVar3;\n  }\n                    \n  __stack_chk_fail();\n}" primitive_type (pointer_declarator "* FUN_00153e70(undefined8 *param_1,undefined8 param_2)" * (function_declarator "FUN_00153e70(undefined8 *param_1,undefined8 param_2)" identifier (parameter_list "(undefined8 *param_1,undefined8 param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) )))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  char *pcVar3;\n  undefined8 uVar4;\n  undefined *puVar5;\n  speed_t __speed;\n  long in_FS_OFFSET;\n  termios local_78;\n  long local_30;\n  \n  local_30 = *(long *)(in_FS_OFFSET + 0x28);\n  pcVar3 = "Unable to reconfigure already-closed serial connection";\n  if (-1 < *(int *)(param_1 + 1)) {\n    tcgetattr(*(int *)(param_1 + 1),&local_78);\n    iVar1 = FUN_0011558e(param_2,0x3a);\n    if (iVar1 < 0x4b) {\n      uVar2 = 0x32;\n      __speed = 1;\n    }\n    else if (iVar1 < 0x6e) {\n      uVar2 = 0x4b;\n      __speed = 2;\n    }\n    else if (iVar1 < 0x86) {\n      uVar2 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }\n    cfsetispeed(&local_78,__speed);\n    cfsetospeed(&local_78,__speed);\n    uVar4 = FUN_0012292d("Configuring baud rate %d",uVar2);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_cflag = local_78.c_cflag & 0xffffffcf;\n    iVar1 = FUN_0011558e(param_2,0x3b);\n    if (iVar1 == 6) {\n      local_78.c_cflag = local_78.c_cflag | 0x10;\n    }\n    else if (iVar1 < 7) {\n      if (iVar1 != 5) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }\n    else if (iVar1 == 7) {\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }\n    else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }\n    uVar2 = FUN_0011558e(param_2,0x3b);\n    uVar4 = FUN_0012292d("Configuring %d data bits",uVar2);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    iVar1 = FUN_0011558e(param_2,0x3c);\n    if (iVar1 < 4) {\n      local_78.c_cflag = local_78.c_cflag & 0xffffffbf;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag | 0x40;\n    }\n    uVar4 = FUN_0012292d("Configuring %d stop bits",((local_78.c_cflag & 0x40) != 0) + '\x01');\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_iflag = local_78.c_iflag & 0xffffebff;\n    local_78.c_cflag = local_78.c_cflag & 0x7fffffff;\n    iVar1 = FUN_0011558e(param_2,0x3e);\n    if (iVar1 == 1) {\n      local_78.c_iflag = local_78.c_iflag | 0x1400;\n      pcVar3 = "XON/XOFF";\n    }\n    else {\n      pcVar3 = "no";\n      if (iVar1 == 2) {\n        local_78.c_cflag = local_78.c_cflag | 0x80000000;\n        pcVar3 = "RTS/CTS";\n      }\n    }\n    uVar4 = FUN_0012292d("Configuring %s flow control",pcVar3);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    iVar1 = FUN_0011558e(param_2,0x3d);\n    if (iVar1 == 1) {\n      local_78.c_cflag = local_78.c_cflag | 0x300;\n      puVar5 = &DAT_00183872;\n    }\n    else if (iVar1 == 2) {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }\n    uVar4 = FUN_0012292d("Configuring %s parity",puVar5);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_cflag = local_78.c_cflag | 0x880;\n    local_78.c_lflag = local_78.c_lflag & 0xffffffe4;\n    local_78.c_iflag = local_78.c_iflag & 0xfffffc1f;\n    local_78.c_oflag = local_78.c_oflag & 0xffffffc2;\n    local_78.c_cc[6] = '\x01';\n    local_78.c_cc[5] = '\0';\n    iVar1 = tcsetattr(*(int *)(param_1 + 1),0,&local_78);\n    pcVar3 = "Unable to configure serial port";\n    if (-1 < iVar1) {\n      pcVar3 = (char *)0x0;\n    }\n  }\nLAB_00154210:\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return pcVar3;\n  }\n                    \n  __stack_chk_fail();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "speed_t __speed;" type_identifier identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "termios local_78;" type_identifier identifier ;) (declaration "long local_30;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_30 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_30 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (expression_statement "pcVar3 = "Unable to reconfigure already-closed serial connection";" (assignment_expression "pcVar3 = "Unable to reconfigure already-closed serial connection"" identifier = (string_literal ""Unable to reconfigure already-closed serial connection"" " string_content ")) ;) (if_statement "if (-1 < *(int *)(param_1 + 1)) {\n    tcgetattr(*(int *)(param_1 + 1),&local_78);\n    iVar1 = FUN_0011558e(param_2,0x3a);\n    if (iVar1 < 0x4b) {\n      uVar2 = 0x32;\n      __speed = 1;\n    }\n    else if (iVar1 < 0x6e) {\n      uVar2 = 0x4b;\n      __speed = 2;\n    }\n    else if (iVar1 < 0x86) {\n      uVar2 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }\n    cfsetispeed(&local_78,__speed);\n    cfsetospeed(&local_78,__speed);\n    uVar4 = FUN_0012292d("Configuring baud rate %d",uVar2);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_cflag = local_78.c_cflag & 0xffffffcf;\n    iVar1 = FUN_0011558e(param_2,0x3b);\n    if (iVar1 == 6) {\n      local_78.c_cflag = local_78.c_cflag | 0x10;\n    }\n    else if (iVar1 < 7) {\n      if (iVar1 != 5) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }\n    else if (iVar1 == 7) {\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }\n    else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }\n    uVar2 = FUN_0011558e(param_2,0x3b);\n    uVar4 = FUN_0012292d("Configuring %d data bits",uVar2);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    iVar1 = FUN_0011558e(param_2,0x3c);\n    if (iVar1 < 4) {\n      local_78.c_cflag = local_78.c_cflag & 0xffffffbf;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag | 0x40;\n    }\n    uVar4 = FUN_0012292d("Configuring %d stop bits",((local_78.c_cflag & 0x40) != 0) + '\x01');\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_iflag = local_78.c_iflag & 0xffffebff;\n    local_78.c_cflag = local_78.c_cflag & 0x7fffffff;\n    iVar1 = FUN_0011558e(param_2,0x3e);\n    if (iVar1 == 1) {\n      local_78.c_iflag = local_78.c_iflag | 0x1400;\n      pcVar3 = "XON/XOFF";\n    }\n    else {\n      pcVar3 = "no";\n      if (iVar1 == 2) {\n        local_78.c_cflag = local_78.c_cflag | 0x80000000;\n        pcVar3 = "RTS/CTS";\n      }\n    }\n    uVar4 = FUN_0012292d("Configuring %s flow control",pcVar3);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    iVar1 = FUN_0011558e(param_2,0x3d);\n    if (iVar1 == 1) {\n      local_78.c_cflag = local_78.c_cflag | 0x300;\n      puVar5 = &DAT_00183872;\n    }\n    else if (iVar1 == 2) {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }\n    uVar4 = FUN_0012292d("Configuring %s parity",puVar5);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_cflag = local_78.c_cflag | 0x880;\n    local_78.c_lflag = local_78.c_lflag & 0xffffffe4;\n    local_78.c_iflag = local_78.c_iflag & 0xfffffc1f;\n    local_78.c_oflag = local_78.c_oflag & 0xffffffc2;\n    local_78.c_cc[6] = '\x01';\n    local_78.c_cc[5] = '\0';\n    iVar1 = tcsetattr(*(int *)(param_1 + 1),0,&local_78);\n    pcVar3 = "Unable to configure serial port";\n    if (-1 < iVar1) {\n      pcVar3 = (char *)0x0;\n    }\n  }" if (parenthesized_expression "(-1 < *(int *)(param_1 + 1))" ( (binary_expression "-1 < *(int *)(param_1 + 1)" number_literal < (pointer_expression "*(int *)(param_1 + 1)" * (cast_expression "(int *)(param_1 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))))) )) (compound_statement "{\n    tcgetattr(*(int *)(param_1 + 1),&local_78);\n    iVar1 = FUN_0011558e(param_2,0x3a);\n    if (iVar1 < 0x4b) {\n      uVar2 = 0x32;\n      __speed = 1;\n    }\n    else if (iVar1 < 0x6e) {\n      uVar2 = 0x4b;\n      __speed = 2;\n    }\n    else if (iVar1 < 0x86) {\n      uVar2 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }\n    cfsetispeed(&local_78,__speed);\n    cfsetospeed(&local_78,__speed);\n    uVar4 = FUN_0012292d("Configuring baud rate %d",uVar2);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_cflag = local_78.c_cflag & 0xffffffcf;\n    iVar1 = FUN_0011558e(param_2,0x3b);\n    if (iVar1 == 6) {\n      local_78.c_cflag = local_78.c_cflag | 0x10;\n    }\n    else if (iVar1 < 7) {\n      if (iVar1 != 5) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }\n    else if (iVar1 == 7) {\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }\n    else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }\n    uVar2 = FUN_0011558e(param_2,0x3b);\n    uVar4 = FUN_0012292d("Configuring %d data bits",uVar2);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    iVar1 = FUN_0011558e(param_2,0x3c);\n    if (iVar1 < 4) {\n      local_78.c_cflag = local_78.c_cflag & 0xffffffbf;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag | 0x40;\n    }\n    uVar4 = FUN_0012292d("Configuring %d stop bits",((local_78.c_cflag & 0x40) != 0) + '\x01');\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_iflag = local_78.c_iflag & 0xffffebff;\n    local_78.c_cflag = local_78.c_cflag & 0x7fffffff;\n    iVar1 = FUN_0011558e(param_2,0x3e);\n    if (iVar1 == 1) {\n      local_78.c_iflag = local_78.c_iflag | 0x1400;\n      pcVar3 = "XON/XOFF";\n    }\n    else {\n      pcVar3 = "no";\n      if (iVar1 == 2) {\n        local_78.c_cflag = local_78.c_cflag | 0x80000000;\n        pcVar3 = "RTS/CTS";\n      }\n    }\n    uVar4 = FUN_0012292d("Configuring %s flow control",pcVar3);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    iVar1 = FUN_0011558e(param_2,0x3d);\n    if (iVar1 == 1) {\n      local_78.c_cflag = local_78.c_cflag | 0x300;\n      puVar5 = &DAT_00183872;\n    }\n    else if (iVar1 == 2) {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }\n    uVar4 = FUN_0012292d("Configuring %s parity",puVar5);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_cflag = local_78.c_cflag | 0x880;\n    local_78.c_lflag = local_78.c_lflag & 0xffffffe4;\n    local_78.c_iflag = local_78.c_iflag & 0xfffffc1f;\n    local_78.c_oflag = local_78.c_oflag & 0xffffffc2;\n    local_78.c_cc[6] = '\x01';\n    local_78.c_cc[5] = '\0';\n    iVar1 = tcsetattr(*(int *)(param_1 + 1),0,&local_78);\n    pcVar3 = "Unable to configure serial port";\n    if (-1 < iVar1) {\n      pcVar3 = (char *)0x0;\n    }\n  }" { (expression_statement "tcgetattr(*(int *)(param_1 + 1),&local_78);" (call_expression "tcgetattr(*(int *)(param_1 + 1),&local_78)" identifier (argument_list "(*(int *)(param_1 + 1),&local_78)" ( (pointer_expression "*(int *)(param_1 + 1)" * (cast_expression "(int *)(param_1 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) , (pointer_expression "&local_78" & identifier) ))) ;) (expression_statement "iVar1 = FUN_0011558e(param_2,0x3a);" (assignment_expression "iVar1 = FUN_0011558e(param_2,0x3a)" identifier = (call_expression "FUN_0011558e(param_2,0x3a)" identifier (argument_list "(param_2,0x3a)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 < 0x4b) {\n      uVar2 = 0x32;\n      __speed = 1;\n    }\n    else if (iVar1 < 0x6e) {\n      uVar2 = 0x4b;\n      __speed = 2;\n    }\n    else if (iVar1 < 0x86) {\n      uVar2 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x4b)" ( (binary_expression "iVar1 < 0x4b" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x32;\n      __speed = 1;\n    }" { (expression_statement "uVar2 = 0x32;" (assignment_expression "uVar2 = 0x32" identifier = number_literal) ;) (expression_statement "__speed = 1;" (assignment_expression "__speed = 1" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x6e) {\n      uVar2 = 0x4b;\n      __speed = 2;\n    }\n    else if (iVar1 < 0x86) {\n      uVar2 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0x6e) {\n      uVar2 = 0x4b;\n      __speed = 2;\n    }\n    else if (iVar1 < 0x86) {\n      uVar2 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x6e)" ( (binary_expression "iVar1 < 0x6e" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x4b;\n      __speed = 2;\n    }" { (expression_statement "uVar2 = 0x4b;" (assignment_expression "uVar2 = 0x4b" identifier = number_literal) ;) (expression_statement "__speed = 2;" (assignment_expression "__speed = 2" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x86) {\n      uVar2 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0x86) {\n      uVar2 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x86)" ( (binary_expression "iVar1 < 0x86" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x6e;\n      __speed = 3;\n    }" { (expression_statement "uVar2 = 0x6e;" (assignment_expression "uVar2 = 0x6e" identifier = number_literal) ;) (expression_statement "__speed = 3;" (assignment_expression "__speed = 3" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x96)" ( (binary_expression "iVar1 < 0x96" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x86;\n      __speed = 4;\n    }" { (expression_statement "uVar2 = 0x86;" (assignment_expression "uVar2 = 0x86" identifier = number_literal) ;) (expression_statement "__speed = 4;" (assignment_expression "__speed = 4" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 200)" ( (binary_expression "iVar1 < 200" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x96;\n      __speed = 5;\n    }" { (expression_statement "uVar2 = 0x96;" (assignment_expression "uVar2 = 0x96" identifier = number_literal) ;) (expression_statement "__speed = 5;" (assignment_expression "__speed = 5" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 300)" ( (binary_expression "iVar1 < 300" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 200;\n      __speed = 6;\n    }" { (expression_statement "uVar2 = 200;" (assignment_expression "uVar2 = 200" identifier = number_literal) ;) (expression_statement "__speed = 6;" (assignment_expression "__speed = 6" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 600)" ( (binary_expression "iVar1 < 600" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 300;\n      __speed = 7;\n    }" { (expression_statement "uVar2 = 300;" (assignment_expression "uVar2 = 300" identifier = number_literal) ;) (expression_statement "__speed = 7;" (assignment_expression "__speed = 7" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x4b0)" ( (binary_expression "iVar1 < 0x4b0" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 600;\n      __speed = 8;\n    }" { (expression_statement "uVar2 = 600;" (assignment_expression "uVar2 = 600" identifier = number_literal) ;) (expression_statement "__speed = 8;" (assignment_expression "__speed = 8" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x708)" ( (binary_expression "iVar1 < 0x708" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }" { (expression_statement "uVar2 = 0x4b0;" (assignment_expression "uVar2 = 0x4b0" identifier = number_literal) ;) (expression_statement "__speed = 9;" (assignment_expression "__speed = 9" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x960)" ( (binary_expression "iVar1 < 0x960" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x708;\n      __speed = 10;\n    }" { (expression_statement "uVar2 = 0x708;" (assignment_expression "uVar2 = 0x708" identifier = number_literal) ;) (expression_statement "__speed = 10;" (assignment_expression "__speed = 10" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x12c0)" ( (binary_expression "iVar1 < 0x12c0" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }" { (expression_statement "uVar2 = 0x960;" (assignment_expression "uVar2 = 0x960" identifier = number_literal) ;) (expression_statement "__speed = 0xb;" (assignment_expression "__speed = 0xb" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x2580)" ( (binary_expression "iVar1 < 0x2580" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }" { (expression_statement "uVar2 = 0x12c0;" (assignment_expression "uVar2 = 0x12c0" identifier = number_literal) ;) (expression_statement "__speed = 0xc;" (assignment_expression "__speed = 0xc" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x4b00)" ( (binary_expression "iVar1 < 0x4b00" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }" { (expression_statement "uVar2 = 0x2580;" (assignment_expression "uVar2 = 0x2580" identifier = number_literal) ;) (expression_statement "__speed = 0xd;" (assignment_expression "__speed = 0xd" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x9600)" ( (binary_expression "iVar1 < 0x9600" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }" { (expression_statement "uVar2 = 0x4b00;" (assignment_expression "uVar2 = 0x4b00" identifier = number_literal) ;) (expression_statement "__speed = 0xe;" (assignment_expression "__speed = 0xe" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0xe100)" ( (binary_expression "iVar1 < 0xe100" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }" { (expression_statement "uVar2 = 0x9600;" (assignment_expression "uVar2 = 0x9600" identifier = number_literal) ;) (expression_statement "__speed = 0xf;" (assignment_expression "__speed = 0xf" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x1c200)" ( (binary_expression "iVar1 < 0x1c200" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }" { (expression_statement "uVar2 = 0xe100;" (assignment_expression "uVar2 = 0xe100" identifier = number_literal) ;) (expression_statement "__speed = 0x1001;" (assignment_expression "__speed = 0x1001" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x38400)" ( (binary_expression "iVar1 < 0x38400" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }" { (expression_statement "uVar2 = 0x1c200;" (assignment_expression "uVar2 = 0x1c200" identifier = number_literal) ;) (expression_statement "__speed = 0x1002;" (assignment_expression "__speed = 0x1002" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x70800)" ( (binary_expression "iVar1 < 0x70800" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }" { (expression_statement "uVar2 = 0x38400;" (assignment_expression "uVar2 = 0x38400" identifier = number_literal) ;) (expression_statement "__speed = 0x1003;" (assignment_expression "__speed = 0x1003" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 500000)" ( (binary_expression "iVar1 < 500000" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }" { (expression_statement "uVar2 = 0x70800;" (assignment_expression "uVar2 = 0x70800" identifier = number_literal) ;) (expression_statement "__speed = 0x1004;" (assignment_expression "__speed = 0x1004" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x8ca00)" ( (binary_expression "iVar1 < 0x8ca00" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }" { (expression_statement "uVar2 = 500000;" (assignment_expression "uVar2 = 500000" identifier = number_literal) ;) (expression_statement "__speed = 0x1005;" (assignment_expression "__speed = 0x1005" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0xe1000)" ( (binary_expression "iVar1 < 0xe1000" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }" { (expression_statement "uVar2 = 0x8ca00;" (assignment_expression "uVar2 = 0x8ca00" identifier = number_literal) ;) (expression_statement "__speed = 0x1006;" (assignment_expression "__speed = 0x1006" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 1000000)" ( (binary_expression "iVar1 < 1000000" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }" { (expression_statement "uVar2 = 0xe1000;" (assignment_expression "uVar2 = 0xe1000" identifier = number_literal) ;) (expression_statement "__speed = 0x1007;" (assignment_expression "__speed = 0x1007" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 0x119400)" ( (binary_expression "iVar1 < 0x119400" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }" { (expression_statement "uVar2 = 1000000;" (assignment_expression "uVar2 = 1000000" identifier = number_literal) ;) (expression_statement "__speed = 0x1008;" (assignment_expression "__speed = 0x1008" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 1500000)" ( (binary_expression "iVar1 < 1500000" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }" { (expression_statement "uVar2 = 0x119400;" (assignment_expression "uVar2 = 0x119400" identifier = number_literal) ;) (expression_statement "__speed = 0x1009;" (assignment_expression "__speed = 0x1009" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 2000000)" ( (binary_expression "iVar1 < 2000000" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }" { (expression_statement "uVar2 = 1500000;" (assignment_expression "uVar2 = 1500000" identifier = number_literal) ;) (expression_statement "__speed = 0x100a;" (assignment_expression "__speed = 0x100a" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 2500000)" ( (binary_expression "iVar1 < 2500000" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }" { (expression_statement "uVar2 = 2000000;" (assignment_expression "uVar2 = 2000000" identifier = number_literal) ;) (expression_statement "__speed = 0x100b;" (assignment_expression "__speed = 0x100b" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 3000000)" ( (binary_expression "iVar1 < 3000000" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }" { (expression_statement "uVar2 = 2500000;" (assignment_expression "uVar2 = 2500000" identifier = number_literal) ;) (expression_statement "__speed = 0x100c;" (assignment_expression "__speed = 0x100c" identifier = number_literal) ;) }) (else_clause "else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (if_statement "if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" if (parenthesized_expression "(iVar1 < 3500000)" ( (binary_expression "iVar1 < 3500000" identifier < number_literal) )) (compound_statement "{\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }" { (expression_statement "uVar2 = 3000000;" (assignment_expression "uVar2 = 3000000" identifier = number_literal) ;) (expression_statement "__speed = 0x100d;" (assignment_expression "__speed = 0x100d" identifier = number_literal) ;) }) (else_clause "else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" else (compound_statement "{\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" { (expression_statement "uVar2 = 3500000;" (assignment_expression "uVar2 = 3500000" identifier = number_literal) ;) (if_statement "if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }" if (parenthesized_expression "(3999999 < iVar1)" ( (binary_expression "3999999 < iVar1" number_literal < identifier) )) (compound_statement "{\n        uVar2 = 4000000;\n      }" { (expression_statement "uVar2 = 4000000;" (assignment_expression "uVar2 = 4000000" identifier = number_literal) ;) })) (expression_statement "__speed = (3999999 < iVar1) + 0x100e;" (assignment_expression "__speed = (3999999 < iVar1) + 0x100e" identifier = (binary_expression "(3999999 < iVar1) + 0x100e" (parenthesized_expression "(3999999 < iVar1)" ( (binary_expression "3999999 < iVar1" number_literal < identifier) )) + number_literal)) ;) }))))))))))))))))))))))))))))))))))))))))))))))))))))))))) (expression_statement "cfsetispeed(&local_78,__speed);" (call_expression "cfsetispeed(&local_78,__speed)" identifier (argument_list "(&local_78,__speed)" ( (pointer_expression "&local_78" & identifier) , identifier ))) ;) (expression_statement "cfsetospeed(&local_78,__speed);" (call_expression "cfsetospeed(&local_78,__speed)" identifier (argument_list "(&local_78,__speed)" ( (pointer_expression "&local_78" & identifier) , identifier ))) ;) (expression_statement "uVar4 = FUN_0012292d("Configuring baud rate %d",uVar2);" (assignment_expression "uVar4 = FUN_0012292d("Configuring baud rate %d",uVar2)" identifier = (call_expression "FUN_0012292d("Configuring baud rate %d",uVar2)" identifier (argument_list "("Configuring baud rate %d",uVar2)" ( (string_literal ""Configuring baud rate %d"" " string_content ") , identifier )))) ;) (expression_statement "FUN_0014a676(*param_1,uVar4);" (call_expression "FUN_0014a676(*param_1,uVar4)" identifier (argument_list "(*param_1,uVar4)" ( (pointer_expression "*param_1" * identifier) , identifier ))) ;) (expression_statement "FUN_00122b5a(uVar4);" (call_expression "FUN_00122b5a(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "local_78.c_cflag = local_78.c_cflag & 0xffffffcf;" (assignment_expression "local_78.c_cflag = local_78.c_cflag & 0xffffffcf" (field_expression "local_78.c_cflag" identifier . field_identifier) = (binary_expression "local_78.c_cflag & 0xffffffcf" (field_expression "local_78.c_cflag" identifier . field_identifier) & number_literal)) ;) (expression_statement "iVar1 = FUN_0011558e(param_2,0x3b);" (assignment_expression "iVar1 = FUN_0011558e(param_2,0x3b)" identifier = (call_expression "FUN_0011558e(param_2,0x3b)" identifier (argument_list "(param_2,0x3b)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 == 6) {\n      local_78.c_cflag = local_78.c_cflag | 0x10;\n    }\n    else if (iVar1 < 7) {\n      if (iVar1 != 5) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }\n    else if (iVar1 == 7) {\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }\n    else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }" if (parenthesized_expression "(iVar1 == 6)" ( (binary_expression "iVar1 == 6" identifier == number_literal) )) (compound_statement "{\n      local_78.c_cflag = local_78.c_cflag | 0x10;\n    }" { (expression_statement "local_78.c_cflag = local_78.c_cflag | 0x10;" (assignment_expression "local_78.c_cflag = local_78.c_cflag | 0x10" (field_expression "local_78.c_cflag" identifier . field_identifier) = (binary_expression "local_78.c_cflag | 0x10" (field_expression "local_78.c_cflag" identifier . field_identifier) | number_literal)) ;) }) (else_clause "else if (iVar1 < 7) {\n      if (iVar1 != 5) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }\n    else if (iVar1 == 7) {\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }\n    else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }" else (if_statement "if (iVar1 < 7) {\n      if (iVar1 != 5) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }\n    else if (iVar1 == 7) {\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }\n    else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }" if (parenthesized_expression "(iVar1 < 7)" ( (binary_expression "iVar1 < 7" identifier < number_literal) )) (compound_statement "{\n      if (iVar1 != 5) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }" { (if_statement "if (iVar1 != 5) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }" if (parenthesized_expression "(iVar1 != 5)" ( (binary_expression "iVar1 != 5" identifier != number_literal) )) (compound_statement "{\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }" { (expression_statement "pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";" (assignment_expression "pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)"" identifier = (string_literal ""Invalid number of data bits (need 5, 6, 7 or 8)"" " string_content ")) ;) (goto_statement "goto LAB_00154210;" goto statement_identifier ;) })) }) (else_clause "else if (iVar1 == 7) {\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }\n    else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }" else (if_statement "if (iVar1 == 7) {\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }\n    else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }" if (parenthesized_expression "(iVar1 == 7)" ( (binary_expression "iVar1 == 7" identifier == number_literal) )) (compound_statement "{\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }" { (expression_statement "local_78.c_cflag = local_78.c_cflag | 0x20;" (assignment_expression "local_78.c_cflag = local_78.c_cflag | 0x20" (field_expression "local_78.c_cflag" identifier . field_identifier) = (binary_expression "local_78.c_cflag | 0x20" (field_expression "local_78.c_cflag" identifier . field_identifier) | number_literal)) ;) }) (else_clause "else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }" else (compound_statement "{\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }" { (if_statement "if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }" if (parenthesized_expression "(iVar1 != 8)" ( (binary_expression "iVar1 != 8" identifier != number_literal) )) (compound_statement "{\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }" { (expression_statement "pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";" (assignment_expression "pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)"" identifier = (string_literal ""Invalid number of data bits (need 5, 6, 7 or 8)"" " string_content ")) ;) (goto_statement "goto LAB_00154210;" goto statement_identifier ;) })) (expression_statement "local_78.c_cflag = local_78.c_cflag | 0x30;" (assignment_expression "local_78.c_cflag = local_78.c_cflag | 0x30" (field_expression "local_78.c_cflag" identifier . field_identifier) = (binary_expression "local_78.c_cflag | 0x30" (field_expression "local_78.c_cflag" identifier . field_identifier) | number_literal)) ;) }))))))) (expression_statement "uVar2 = FUN_0011558e(param_2,0x3b);" (assignment_expression "uVar2 = FUN_0011558e(param_2,0x3b)" identifier = (call_expression "FUN_0011558e(param_2,0x3b)" identifier (argument_list "(param_2,0x3b)" ( identifier , number_literal )))) ;) (expression_statement "uVar4 = FUN_0012292d("Configuring %d data bits",uVar2);" (assignment_expression "uVar4 = FUN_0012292d("Configuring %d data bits",uVar2)" identifier = (call_expression "FUN_0012292d("Configuring %d data bits",uVar2)" identifier (argument_list "("Configuring %d data bits",uVar2)" ( (string_literal ""Configuring %d data bits"" " string_content ") , identifier )))) ;) (expression_statement "FUN_0014a676(*param_1,uVar4);" (call_expression "FUN_0014a676(*param_1,uVar4)" identifier (argument_list "(*param_1,uVar4)" ( (pointer_expression "*param_1" * identifier) , identifier ))) ;) (expression_statement "FUN_00122b5a(uVar4);" (call_expression "FUN_00122b5a(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "iVar1 = FUN_0011558e(param_2,0x3c);" (assignment_expression "iVar1 = FUN_0011558e(param_2,0x3c)" identifier = (call_expression "FUN_0011558e(param_2,0x3c)" identifier (argument_list "(param_2,0x3c)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 < 4) {\n      local_78.c_cflag = local_78.c_cflag & 0xffffffbf;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag | 0x40;\n    }" if (parenthesized_expression "(iVar1 < 4)" ( (binary_expression "iVar1 < 4" identifier < number_literal) )) (compound_statement "{\n      local_78.c_cflag = local_78.c_cflag & 0xffffffbf;\n    }" { (expression_statement "local_78.c_cflag = local_78.c_cflag & 0xffffffbf;" (assignment_expression "local_78.c_cflag = local_78.c_cflag & 0xffffffbf" (field_expression "local_78.c_cflag" identifier . field_identifier) = (binary_expression "local_78.c_cflag & 0xffffffbf" (field_expression "local_78.c_cflag" identifier . field_identifier) & number_literal)) ;) }) (else_clause "else {\n      local_78.c_cflag = local_78.c_cflag | 0x40;\n    }" else (compound_statement "{\n      local_78.c_cflag = local_78.c_cflag | 0x40;\n    }" { (expression_statement "local_78.c_cflag = local_78.c_cflag | 0x40;" (assignment_expression "local_78.c_cflag = local_78.c_cflag | 0x40" (field_expression "local_78.c_cflag" identifier . field_identifier) = (binary_expression "local_78.c_cflag | 0x40" (field_expression "local_78.c_cflag" identifier . field_identifier) | number_literal)) ;) }))) (expression_statement "uVar4 = FUN_0012292d("Configuring %d stop bits",((local_78.c_cflag & 0x40) != 0) + '\x01');" (assignment_expression "uVar4 = FUN_0012292d("Configuring %d stop bits",((local_78.c_cflag & 0x40) != 0) + '\x01')" identifier = (call_expression "FUN_0012292d("Configuring %d stop bits",((local_78.c_cflag & 0x40) != 0) + '\x01')" identifier (argument_list "("Configuring %d stop bits",((local_78.c_cflag & 0x40) != 0) + '\x01')" ( (string_literal ""Configuring %d stop bits"" " string_content ") , (binary_expression "((local_78.c_cflag & 0x40) != 0) + '\x01'" (parenthesized_expression "((local_78.c_cflag & 0x40) != 0)" ( (binary_expression "(local_78.c_cflag & 0x40) != 0" (parenthesized_expression "(local_78.c_cflag & 0x40)" ( (binary_expression "local_78.c_cflag & 0x40" (field_expression "local_78.c_cflag" identifier . field_identifier) & number_literal) )) != number_literal) )) + (char_literal "'\x01'" ' escape_sequence ')) )))) ;) (expression_statement "FUN_0014a676(*param_1,uVar4);" (call_expression "FUN_0014a676(*param_1,uVar4)" identifier (argument_list "(*param_1,uVar4)" ( (pointer_expression "*param_1" * identifier) , identifier ))) ;) (expression_statement "FUN_00122b5a(uVar4);" (call_expression "FUN_00122b5a(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "local_78.c_iflag = local_78.c_iflag & 0xffffebff;" (assignment_expression "local_78.c_iflag = local_78.c_iflag & 0xffffebff" (field_expression "local_78.c_iflag" identifier . field_identifier) = (binary_expression "local_78.c_iflag & 0xffffebff" (field_expression "local_78.c_iflag" identifier . field_identifier) & number_literal)) ;) (expression_statement "local_78.c_cflag = local_78.c_cflag & 0x7fffffff;" (assignment_expression "local_78.c_cflag = local_78.c_cflag & 0x7fffffff" (field_expression "local_78.c_cflag" identifier . field_identifier) = (binary_expression "local_78.c_cflag & 0x7fffffff" (field_expression "local_78.c_cflag" identifier . field_identifier) & number_literal)) ;) (expression_statement "iVar1 = FUN_0011558e(param_2,0x3e);" (assignment_expression "iVar1 = FUN_0011558e(param_2,0x3e)" identifier = (call_expression "FUN_0011558e(param_2,0x3e)" identifier (argument_list "(param_2,0x3e)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 == 1) {\n      local_78.c_iflag = local_78.c_iflag | 0x1400;\n      pcVar3 = "XON/XOFF";\n    }\n    else {\n      pcVar3 = "no";\n      if (iVar1 == 2) {\n        local_78.c_cflag = local_78.c_cflag | 0x80000000;\n        pcVar3 = "RTS/CTS";\n      }\n    }" if (parenthesized_expression "(iVar1 == 1)" ( (binary_expression "iVar1 == 1" identifier == number_literal) )) (compound_statement "{\n      local_78.c_iflag = local_78.c_iflag | 0x1400;\n      pcVar3 = "XON/XOFF";\n    }" { (expression_statement "local_78.c_iflag = local_78.c_iflag | 0x1400;" (assignment_expression "local_78.c_iflag = local_78.c_iflag | 0x1400" (field_expression "local_78.c_iflag" identifier . field_identifier) = (binary_expression "local_78.c_iflag | 0x1400" (field_expression "local_78.c_iflag" identifier . field_identifier) | number_literal)) ;) (expression_statement "pcVar3 = "XON/XOFF";" (assignment_expression "pcVar3 = "XON/XOFF"" identifier = (string_literal ""XON/XOFF"" " string_content ")) ;) }) (else_clause "else {\n      pcVar3 = "no";\n      if (iVar1 == 2) {\n        local_78.c_cflag = local_78.c_cflag | 0x80000000;\n        pcVar3 = "RTS/CTS";\n      }\n    }" else (compound_statement "{\n      pcVar3 = "no";\n      if (iVar1 == 2) {\n        local_78.c_cflag = local_78.c_cflag | 0x80000000;\n        pcVar3 = "RTS/CTS";\n      }\n    }" { (expression_statement "pcVar3 = "no";" (assignment_expression "pcVar3 = "no"" identifier = (string_literal ""no"" " string_content ")) ;) (if_statement "if (iVar1 == 2) {\n        local_78.c_cflag = local_78.c_cflag | 0x80000000;\n        pcVar3 = "RTS/CTS";\n      }" if (parenthesized_expression "(iVar1 == 2)" ( (binary_expression "iVar1 == 2" identifier == number_literal) )) (compound_statement "{\n        local_78.c_cflag = local_78.c_cflag | 0x80000000;\n        pcVar3 = "RTS/CTS";\n      }" { (expression_statement "local_78.c_cflag = local_78.c_cflag | 0x80000000;" (assignment_expression "local_78.c_cflag = local_78.c_cflag | 0x80000000" (field_expression "local_78.c_cflag" identifier . field_identifier) = (binary_expression "local_78.c_cflag | 0x80000000" (field_expression "local_78.c_cflag" identifier . field_identifier) | number_literal)) ;) (expression_statement "pcVar3 = "RTS/CTS";" (assignment_expression "pcVar3 = "RTS/CTS"" identifier = (string_literal ""RTS/CTS"" " string_content ")) ;) })) }))) (expression_statement "uVar4 = FUN_0012292d("Configuring %s flow control",pcVar3);" (assignment_expression "uVar4 = FUN_0012292d("Configuring %s flow control",pcVar3)" identifier = (call_expression "FUN_0012292d("Configuring %s flow control",pcVar3)" identifier (argument_list "("Configuring %s flow control",pcVar3)" ( (string_literal ""Configuring %s flow control"" " string_content ") , identifier )))) ;) (expression_statement "FUN_0014a676(*param_1,uVar4);" (call_expression "FUN_0014a676(*param_1,uVar4)" identifier (argument_list "(*param_1,uVar4)" ( (pointer_expression "*param_1" * identifier) , identifier ))) ;) (expression_statement "FUN_00122b5a(uVar4);" (call_expression "FUN_00122b5a(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "iVar1 = FUN_0011558e(param_2,0x3d);" (assignment_expression "iVar1 = FUN_0011558e(param_2,0x3d)" identifier = (call_expression "FUN_0011558e(param_2,0x3d)" identifier (argument_list "(param_2,0x3d)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 == 1) {\n      local_78.c_cflag = local_78.c_cflag | 0x300;\n      puVar5 = &DAT_00183872;\n    }\n    else if (iVar1 == 2) {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }" if (parenthesized_expression "(iVar1 == 1)" ( (binary_expression "iVar1 == 1" identifier == number_literal) )) (compound_statement "{\n      local_78.c_cflag = local_78.c_cflag | 0x300;\n      puVar5 = &DAT_00183872;\n    }" { (expression_statement "local_78.c_cflag = local_78.c_cflag | 0x300;" (assignment_expression "local_78.c_cflag = local_78.c_cflag | 0x300" (field_expression "local_78.c_cflag" identifier . field_identifier) = (binary_expression "local_78.c_cflag | 0x300" (field_expression "local_78.c_cflag" identifier . field_identifier) | number_literal)) ;) (expression_statement "puVar5 = &DAT_00183872;" (assignment_expression "puVar5 = &DAT_00183872" identifier = (pointer_expression "&DAT_00183872" & identifier)) ;) }) (else_clause "else if (iVar1 == 2) {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }" else (if_statement "if (iVar1 == 2) {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }" if (parenthesized_expression "(iVar1 == 2)" ( (binary_expression "iVar1 == 2" identifier == number_literal) )) (compound_statement "{\n      local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }" { (expression_statement "local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100;" (assignment_expression "local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100" (field_expression "local_78.c_cflag" identifier . field_identifier) = (binary_expression "local_78.c_cflag & 0xfffffdff | 0x100" (binary_expression "local_78.c_cflag & 0xfffffdff" (field_expression "local_78.c_cflag" identifier . field_identifier) & number_literal) | number_literal)) ;) (expression_statement "puVar5 = &DAT_00183876;" (assignment_expression "puVar5 = &DAT_00183876" identifier = (pointer_expression "&DAT_00183876" & identifier)) ;) }) (else_clause "else {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }" else (compound_statement "{\n      local_78.c_cflag = local_78.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }" { (expression_statement "local_78.c_cflag = local_78.c_cflag & 0xfffffeff;" (assignment_expression "local_78.c_cflag = local_78.c_cflag & 0xfffffeff" (field_expression "local_78.c_cflag" identifier . field_identifier) = (binary_expression "local_78.c_cflag & 0xfffffeff" (field_expression "local_78.c_cflag" identifier . field_identifier) & number_literal)) ;) (expression_statement "puVar5 = &DAT_0017f39d;" (assignment_expression "puVar5 = &DAT_0017f39d" identifier = (pointer_expression "&DAT_0017f39d" & identifier)) ;) }))))) (expression_statement "uVar4 = FUN_0012292d("Configuring %s parity",puVar5);" (assignment_expression "uVar4 = FUN_0012292d("Configuring %s parity",puVar5)" identifier = (call_expression "FUN_0012292d("Configuring %s parity",puVar5)" identifier (argument_list "("Configuring %s parity",puVar5)" ( (string_literal ""Configuring %s parity"" " string_content ") , identifier )))) ;) (expression_statement "FUN_0014a676(*param_1,uVar4);" (call_expression "FUN_0014a676(*param_1,uVar4)" identifier (argument_list "(*param_1,uVar4)" ( (pointer_expression "*param_1" * identifier) , identifier ))) ;) (expression_statement "FUN_00122b5a(uVar4);" (call_expression "FUN_00122b5a(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "local_78.c_cflag = local_78.c_cflag | 0x880;" (assignment_expression "local_78.c_cflag = local_78.c_cflag | 0x880" (field_expression "local_78.c_cflag" identifier . field_identifier) = (binary_expression "local_78.c_cflag | 0x880" (field_expression "local_78.c_cflag" identifier . field_identifier) | number_literal)) ;) (expression_statement "local_78.c_lflag = local_78.c_lflag & 0xffffffe4;" (assignment_expression "local_78.c_lflag = local_78.c_lflag & 0xffffffe4" (field_expression "local_78.c_lflag" identifier . field_identifier) = (binary_expression "local_78.c_lflag & 0xffffffe4" (field_expression "local_78.c_lflag" identifier . field_identifier) & number_literal)) ;) (expression_statement "local_78.c_iflag = local_78.c_iflag & 0xfffffc1f;" (assignment_expression "local_78.c_iflag = local_78.c_iflag & 0xfffffc1f" (field_expression "local_78.c_iflag" identifier . field_identifier) = (binary_expression "local_78.c_iflag & 0xfffffc1f" (field_expression "local_78.c_iflag" identifier . field_identifier) & number_literal)) ;) (expression_statement "local_78.c_oflag = local_78.c_oflag & 0xffffffc2;" (assignment_expression "local_78.c_oflag = local_78.c_oflag & 0xffffffc2" (field_expression "local_78.c_oflag" identifier . field_identifier) = (binary_expression "local_78.c_oflag & 0xffffffc2" (field_expression "local_78.c_oflag" identifier . field_identifier) & number_literal)) ;) (expression_statement "local_78.c_cc[6] = '\x01';" (assignment_expression "local_78.c_cc[6] = '\x01'" (subscript_expression "local_78.c_cc[6]" (field_expression "local_78.c_cc" identifier . field_identifier) [ number_literal ]) = (char_literal "'\x01'" ' escape_sequence ')) ;) (expression_statement "local_78.c_cc[5] = '\0';" (assignment_expression "local_78.c_cc[5] = '\0'" (subscript_expression "local_78.c_cc[5]" (field_expression "local_78.c_cc" identifier . field_identifier) [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "iVar1 = tcsetattr(*(int *)(param_1 + 1),0,&local_78);" (assignment_expression "iVar1 = tcsetattr(*(int *)(param_1 + 1),0,&local_78)" identifier = (call_expression "tcsetattr(*(int *)(param_1 + 1),0,&local_78)" identifier (argument_list "(*(int *)(param_1 + 1),0,&local_78)" ( (pointer_expression "*(int *)(param_1 + 1)" * (cast_expression "(int *)(param_1 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) , number_literal , (pointer_expression "&local_78" & identifier) )))) ;) (expression_statement "pcVar3 = "Unable to configure serial port";" (assignment_expression "pcVar3 = "Unable to configure serial port"" identifier = (string_literal ""Unable to configure serial port"" " string_content ")) ;) (if_statement "if (-1 < iVar1) {\n      pcVar3 = (char *)0x0;\n    }" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (compound_statement "{\n      pcVar3 = (char *)0x0;\n    }" { (expression_statement "pcVar3 = (char *)0x0;" (assignment_expression "pcVar3 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) })) (labeled_statement "LAB_00154210:\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return pcVar3;\n  }" statement_identifier : (if_statement "if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return pcVar3;\n  }" if (parenthesized_expression "(local_30 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_30 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return pcVar3;\n  }" { (return_statement "return pcVar3;" return identifier ;) }))) (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) + LIT)) ;) }))))))))))))))))))))))))))))))))))))))))))))))))))))))))) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (binary_expression (field_expression IDENT . field_identifier) & LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (binary_expression (field_expression IDENT . field_identifier) | LIT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (binary_expression (field_expression IDENT . field_identifier) | LIT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (binary_expression (field_expression IDENT . field_identifier) | LIT)) ;) }))))))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (binary_expression (field_expression IDENT . field_identifier) & LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (binary_expression (field_expression IDENT . field_identifier) | LIT)) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (field_expression IDENT . field_identifier) & LIT) )) != LIT) )) + (char_literal ' escape_sequence ')) )))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (binary_expression (field_expression IDENT . field_identifier) & LIT)) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (binary_expression (field_expression IDENT . field_identifier) & LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (binary_expression (field_expression IDENT . field_identifier) | LIT)) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (binary_expression (field_expression IDENT . field_identifier) | LIT)) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) })) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (binary_expression (field_expression IDENT . field_identifier) | LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (binary_expression (binary_expression (field_expression IDENT . field_identifier) & LIT) | LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (binary_expression (field_expression IDENT . field_identifier) & LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) }))))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (binary_expression (field_expression IDENT . field_identifier) | LIT)) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (binary_expression (field_expression IDENT . field_identifier) & LIT)) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (binary_expression (field_expression IDENT . field_identifier) & LIT)) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (binary_expression (field_expression IDENT . field_identifier) & LIT)) ;) (expression_statement (assignment_expression (subscript_expression (field_expression IDENT . field_identifier) [ LIT ]) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression (subscript_expression (field_expression IDENT . field_identifier) [ LIT ]) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) })) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "char * FUN_00153e70(undefined8 *param_1,undefined8 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  char *pcVar3;\n  undefined8 uVar4;\n  undefined *puVar5;\n  speed_t __speed;\n  long in_FS_OFFSET;\n  termios local_78;\n  long local_30;\n  \n  local_30 = *(long *)(in_FS_OFFSET + 0x28);\n  pcVar3 = "Unable to reconfigure already-closed serial connection";\n  if (-1 < *(int *)(param_1 + 1)) {\n    tcgetattr(*(int *)(param_1 + 1),&local_78);\n    iVar1 = FUN_0011558e(param_2,0x3a);\n    if (iVar1 < 0x4b) {\n      uVar2 = 0x32;\n      __speed = 1;\n    }\n    else if (iVar1 < 0x6e) {\n      uVar2 = 0x4b;\n      __speed = 2;\n    }\n    else if (iVar1 < 0x86) {\n      uVar2 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }\n    cfsetispeed(&local_78,__speed);\n    cfsetospeed(&local_78,__speed);\n    uVar4 = FUN_0012292d("Configuring baud rate %d",uVar2);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_cflag = local_78.c_cflag & 0xffffffcf;\n    iVar1 = FUN_0011558e(param_2,0x3b);\n    if (iVar1 == 6) {\n      local_78.c_cflag = local_78.c_cflag | 0x10;\n    }\n    else if (iVar1 < 7) {\n      if (iVar1 != 5) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }\n    else if (iVar1 == 7) {\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }\n    else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }\n    uVar2 = FUN_0011558e(param_2,0x3b);\n    uVar4 = FUN_0012292d("Configuring %d data bits",uVar2);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    iVar1 = FUN_0011558e(param_2,0x3c);\n    if (iVar1 < 4) {\n      local_78.c_cflag = local_78.c_cflag & 0xffffffbf;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag | 0x40;\n    }\n    uVar4 = FUN_0012292d("Configuring %d stop bits",((local_78.c_cflag & 0x40) != 0) + '\x01');\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_iflag = local_78.c_iflag & 0xffffebff;\n    local_78.c_cflag = local_78.c_cflag & 0x7fffffff;\n    iVar1 = FUN_0011558e(param_2,0x3e);\n    if (iVar1 == 1) {\n      local_78.c_iflag = local_78.c_iflag | 0x1400;\n      pcVar3 = "XON/XOFF";\n    }\n    else {\n      pcVar3 = "no";\n      if (iVar1 == 2) {\n        local_78.c_cflag = local_78.c_cflag | 0x80000000;\n        pcVar3 = "RTS/CTS";\n      }\n    }\n    uVar4 = FUN_0012292d("Configuring %s flow control",pcVar3);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    iVar1 = FUN_0011558e(param_2,0x3d);\n    if (iVar1 == 1) {\n      local_78.c_cflag = local_78.c_cflag | 0x300;\n      puVar5 = &DAT_00183872;\n    }\n    else if (iVar1 == 2) {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }\n    uVar4 = FUN_0012292d("Configuring %s parity",puVar5);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_cflag = local_78.c_cflag | 0x880;\n    local_78.c_lflag = local_78.c_lflag & 0xffffffe4;\n    local_78.c_iflag = local_78.c_iflag & 0xfffffc1f;\n    local_78.c_oflag = local_78.c_oflag & 0xffffffc2;\n    local_78.c_cc[6] = '\x01';\n    local_78.c_cc[5] = '\0';\n    iVar1 = tcsetattr(*(int *)(param_1 + 1),0,&local_78);\n    pcVar3 = "Unable to configure serial port";\n    if (-1 < iVar1) {\n      pcVar3 = (char *)0x0;\n    }\n  }\nLAB_00154210:\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return pcVar3;\n  }\n                    \n  __stack_chk_fail();\n}" (primitive_type "char") (pointer_declarator "* FUN_00153e70(undefined8 *param_1,undefined8 param_2)" (* "*") (function_declarator "FUN_00153e70(undefined8 *param_1,undefined8 param_2)" (identifier "FUN_00153e70") (parameter_list "(undefined8 *param_1,undefined8 param_2)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) () ")")))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  char *pcVar3;\n  undefined8 uVar4;\n  undefined *puVar5;\n  speed_t __speed;\n  long in_FS_OFFSET;\n  termios local_78;\n  long local_30;\n  \n  local_30 = *(long *)(in_FS_OFFSET + 0x28);\n  pcVar3 = "Unable to reconfigure already-closed serial connection";\n  if (-1 < *(int *)(param_1 + 1)) {\n    tcgetattr(*(int *)(param_1 + 1),&local_78);\n    iVar1 = FUN_0011558e(param_2,0x3a);\n    if (iVar1 < 0x4b) {\n      uVar2 = 0x32;\n      __speed = 1;\n    }\n    else if (iVar1 < 0x6e) {\n      uVar2 = 0x4b;\n      __speed = 2;\n    }\n    else if (iVar1 < 0x86) {\n      uVar2 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }\n    cfsetispeed(&local_78,__speed);\n    cfsetospeed(&local_78,__speed);\n    uVar4 = FUN_0012292d("Configuring baud rate %d",uVar2);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_cflag = local_78.c_cflag & 0xffffffcf;\n    iVar1 = FUN_0011558e(param_2,0x3b);\n    if (iVar1 == 6) {\n      local_78.c_cflag = local_78.c_cflag | 0x10;\n    }\n    else if (iVar1 < 7) {\n      if (iVar1 != 5) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }\n    else if (iVar1 == 7) {\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }\n    else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }\n    uVar2 = FUN_0011558e(param_2,0x3b);\n    uVar4 = FUN_0012292d("Configuring %d data bits",uVar2);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    iVar1 = FUN_0011558e(param_2,0x3c);\n    if (iVar1 < 4) {\n      local_78.c_cflag = local_78.c_cflag & 0xffffffbf;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag | 0x40;\n    }\n    uVar4 = FUN_0012292d("Configuring %d stop bits",((local_78.c_cflag & 0x40) != 0) + '\x01');\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_iflag = local_78.c_iflag & 0xffffebff;\n    local_78.c_cflag = local_78.c_cflag & 0x7fffffff;\n    iVar1 = FUN_0011558e(param_2,0x3e);\n    if (iVar1 == 1) {\n      local_78.c_iflag = local_78.c_iflag | 0x1400;\n      pcVar3 = "XON/XOFF";\n    }\n    else {\n      pcVar3 = "no";\n      if (iVar1 == 2) {\n        local_78.c_cflag = local_78.c_cflag | 0x80000000;\n        pcVar3 = "RTS/CTS";\n      }\n    }\n    uVar4 = FUN_0012292d("Configuring %s flow control",pcVar3);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    iVar1 = FUN_0011558e(param_2,0x3d);\n    if (iVar1 == 1) {\n      local_78.c_cflag = local_78.c_cflag | 0x300;\n      puVar5 = &DAT_00183872;\n    }\n    else if (iVar1 == 2) {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }\n    uVar4 = FUN_0012292d("Configuring %s parity",puVar5);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_cflag = local_78.c_cflag | 0x880;\n    local_78.c_lflag = local_78.c_lflag & 0xffffffe4;\n    local_78.c_iflag = local_78.c_iflag & 0xfffffc1f;\n    local_78.c_oflag = local_78.c_oflag & 0xffffffc2;\n    local_78.c_cc[6] = '\x01';\n    local_78.c_cc[5] = '\0';\n    iVar1 = tcsetattr(*(int *)(param_1 + 1),0,&local_78);\n    pcVar3 = "Unable to configure serial port";\n    if (-1 < iVar1) {\n      pcVar3 = (char *)0x0;\n    }\n  }\nLAB_00154210:\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return pcVar3;\n  }\n                    \n  __stack_chk_fail();\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "undefined8 uVar4;" (type_identifier "undefined8") (identifier "uVar4") (; ";")) (declaration "undefined *puVar5;" (type_identifier "undefined") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "speed_t __speed;" (type_identifier "speed_t") (identifier "__speed") (; ";")) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" (long "long")) (identifier "in_FS_OFFSET") (; ";")) (declaration "termios local_78;" (type_identifier "termios") (identifier "local_78") (; ";")) (declaration "long local_30;" (sized_type_specifier "long" (long "long")) (identifier "local_30") (; ";")) (expression_statement "local_30 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_30 = *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_30") (= "=") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "pcVar3 = "Unable to reconfigure already-closed serial connection";" (assignment_expression "pcVar3 = "Unable to reconfigure already-closed serial connection"" (identifier "pcVar3") (= "=") (string_literal ""Unable to reconfigure already-closed serial connection"" (" """) (string_content "Unable to reconfigure already-closed serial connection") (" """))) (; ";")) (if_statement "if (-1 < *(int *)(param_1 + 1)) {\n    tcgetattr(*(int *)(param_1 + 1),&local_78);\n    iVar1 = FUN_0011558e(param_2,0x3a);\n    if (iVar1 < 0x4b) {\n      uVar2 = 0x32;\n      __speed = 1;\n    }\n    else if (iVar1 < 0x6e) {\n      uVar2 = 0x4b;\n      __speed = 2;\n    }\n    else if (iVar1 < 0x86) {\n      uVar2 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }\n    cfsetispeed(&local_78,__speed);\n    cfsetospeed(&local_78,__speed);\n    uVar4 = FUN_0012292d("Configuring baud rate %d",uVar2);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_cflag = local_78.c_cflag & 0xffffffcf;\n    iVar1 = FUN_0011558e(param_2,0x3b);\n    if (iVar1 == 6) {\n      local_78.c_cflag = local_78.c_cflag | 0x10;\n    }\n    else if (iVar1 < 7) {\n      if (iVar1 != 5) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }\n    else if (iVar1 == 7) {\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }\n    else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }\n    uVar2 = FUN_0011558e(param_2,0x3b);\n    uVar4 = FUN_0012292d("Configuring %d data bits",uVar2);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    iVar1 = FUN_0011558e(param_2,0x3c);\n    if (iVar1 < 4) {\n      local_78.c_cflag = local_78.c_cflag & 0xffffffbf;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag | 0x40;\n    }\n    uVar4 = FUN_0012292d("Configuring %d stop bits",((local_78.c_cflag & 0x40) != 0) + '\x01');\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_iflag = local_78.c_iflag & 0xffffebff;\n    local_78.c_cflag = local_78.c_cflag & 0x7fffffff;\n    iVar1 = FUN_0011558e(param_2,0x3e);\n    if (iVar1 == 1) {\n      local_78.c_iflag = local_78.c_iflag | 0x1400;\n      pcVar3 = "XON/XOFF";\n    }\n    else {\n      pcVar3 = "no";\n      if (iVar1 == 2) {\n        local_78.c_cflag = local_78.c_cflag | 0x80000000;\n        pcVar3 = "RTS/CTS";\n      }\n    }\n    uVar4 = FUN_0012292d("Configuring %s flow control",pcVar3);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    iVar1 = FUN_0011558e(param_2,0x3d);\n    if (iVar1 == 1) {\n      local_78.c_cflag = local_78.c_cflag | 0x300;\n      puVar5 = &DAT_00183872;\n    }\n    else if (iVar1 == 2) {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }\n    uVar4 = FUN_0012292d("Configuring %s parity",puVar5);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_cflag = local_78.c_cflag | 0x880;\n    local_78.c_lflag = local_78.c_lflag & 0xffffffe4;\n    local_78.c_iflag = local_78.c_iflag & 0xfffffc1f;\n    local_78.c_oflag = local_78.c_oflag & 0xffffffc2;\n    local_78.c_cc[6] = '\x01';\n    local_78.c_cc[5] = '\0';\n    iVar1 = tcsetattr(*(int *)(param_1 + 1),0,&local_78);\n    pcVar3 = "Unable to configure serial port";\n    if (-1 < iVar1) {\n      pcVar3 = (char *)0x0;\n    }\n  }" (if "if") (parenthesized_expression "(-1 < *(int *)(param_1 + 1))" (( "(") (binary_expression "-1 < *(int *)(param_1 + 1)" (number_literal "-1") (< "<") (pointer_expression "*(int *)(param_1 + 1)" (* "*") (cast_expression "(int *)(param_1 + 1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")"))))) () ")")) (compound_statement "{\n    tcgetattr(*(int *)(param_1 + 1),&local_78);\n    iVar1 = FUN_0011558e(param_2,0x3a);\n    if (iVar1 < 0x4b) {\n      uVar2 = 0x32;\n      __speed = 1;\n    }\n    else if (iVar1 < 0x6e) {\n      uVar2 = 0x4b;\n      __speed = 2;\n    }\n    else if (iVar1 < 0x86) {\n      uVar2 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }\n    cfsetispeed(&local_78,__speed);\n    cfsetospeed(&local_78,__speed);\n    uVar4 = FUN_0012292d("Configuring baud rate %d",uVar2);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_cflag = local_78.c_cflag & 0xffffffcf;\n    iVar1 = FUN_0011558e(param_2,0x3b);\n    if (iVar1 == 6) {\n      local_78.c_cflag = local_78.c_cflag | 0x10;\n    }\n    else if (iVar1 < 7) {\n      if (iVar1 != 5) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }\n    else if (iVar1 == 7) {\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }\n    else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }\n    uVar2 = FUN_0011558e(param_2,0x3b);\n    uVar4 = FUN_0012292d("Configuring %d data bits",uVar2);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    iVar1 = FUN_0011558e(param_2,0x3c);\n    if (iVar1 < 4) {\n      local_78.c_cflag = local_78.c_cflag & 0xffffffbf;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag | 0x40;\n    }\n    uVar4 = FUN_0012292d("Configuring %d stop bits",((local_78.c_cflag & 0x40) != 0) + '\x01');\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_iflag = local_78.c_iflag & 0xffffebff;\n    local_78.c_cflag = local_78.c_cflag & 0x7fffffff;\n    iVar1 = FUN_0011558e(param_2,0x3e);\n    if (iVar1 == 1) {\n      local_78.c_iflag = local_78.c_iflag | 0x1400;\n      pcVar3 = "XON/XOFF";\n    }\n    else {\n      pcVar3 = "no";\n      if (iVar1 == 2) {\n        local_78.c_cflag = local_78.c_cflag | 0x80000000;\n        pcVar3 = "RTS/CTS";\n      }\n    }\n    uVar4 = FUN_0012292d("Configuring %s flow control",pcVar3);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    iVar1 = FUN_0011558e(param_2,0x3d);\n    if (iVar1 == 1) {\n      local_78.c_cflag = local_78.c_cflag | 0x300;\n      puVar5 = &DAT_00183872;\n    }\n    else if (iVar1 == 2) {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }\n    uVar4 = FUN_0012292d("Configuring %s parity",puVar5);\n    FUN_0014a676(*param_1,uVar4);\n    FUN_00122b5a(uVar4);\n    local_78.c_cflag = local_78.c_cflag | 0x880;\n    local_78.c_lflag = local_78.c_lflag & 0xffffffe4;\n    local_78.c_iflag = local_78.c_iflag & 0xfffffc1f;\n    local_78.c_oflag = local_78.c_oflag & 0xffffffc2;\n    local_78.c_cc[6] = '\x01';\n    local_78.c_cc[5] = '\0';\n    iVar1 = tcsetattr(*(int *)(param_1 + 1),0,&local_78);\n    pcVar3 = "Unable to configure serial port";\n    if (-1 < iVar1) {\n      pcVar3 = (char *)0x0;\n    }\n  }" ({ "{") (expression_statement "tcgetattr(*(int *)(param_1 + 1),&local_78);" (call_expression "tcgetattr(*(int *)(param_1 + 1),&local_78)" (identifier "tcgetattr") (argument_list "(*(int *)(param_1 + 1),&local_78)" (( "(") (pointer_expression "*(int *)(param_1 + 1)" (* "*") (cast_expression "(int *)(param_1 + 1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (, ",") (pointer_expression "&local_78" (& "&") (identifier "local_78")) () ")"))) (; ";")) (expression_statement "iVar1 = FUN_0011558e(param_2,0x3a);" (assignment_expression "iVar1 = FUN_0011558e(param_2,0x3a)" (identifier "iVar1") (= "=") (call_expression "FUN_0011558e(param_2,0x3a)" (identifier "FUN_0011558e") (argument_list "(param_2,0x3a)" (( "(") (identifier "param_2") (, ",") (number_literal "0x3a") () ")")))) (; ";")) (if_statement "if (iVar1 < 0x4b) {\n      uVar2 = 0x32;\n      __speed = 1;\n    }\n    else if (iVar1 < 0x6e) {\n      uVar2 = 0x4b;\n      __speed = 2;\n    }\n    else if (iVar1 < 0x86) {\n      uVar2 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (if "if") (parenthesized_expression "(iVar1 < 0x4b)" (( "(") (binary_expression "iVar1 < 0x4b" (identifier "iVar1") (< "<") (number_literal "0x4b")) () ")")) (compound_statement "{\n      uVar2 = 0x32;\n      __speed = 1;\n    }" ({ "{") (expression_statement "uVar2 = 0x32;" (assignment_expression "uVar2 = 0x32" (identifier "uVar2") (= "=") (number_literal "0x32")) (; ";")) (expression_statement "__speed = 1;" (assignment_expression "__speed = 1" (identifier "__speed") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else if (iVar1 < 0x6e) {\n      uVar2 = 0x4b;\n      __speed = 2;\n    }\n    else if (iVar1 < 0x86) {\n      uVar2 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (else "else") (if_statement "if (iVar1 < 0x6e) {\n      uVar2 = 0x4b;\n      __speed = 2;\n    }\n    else if (iVar1 < 0x86) {\n      uVar2 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (if "if") (parenthesized_expression "(iVar1 < 0x6e)" (( "(") (binary_expression "iVar1 < 0x6e" (identifier "iVar1") (< "<") (number_literal "0x6e")) () ")")) (compound_statement "{\n      uVar2 = 0x4b;\n      __speed = 2;\n    }" ({ "{") (expression_statement "uVar2 = 0x4b;" (assignment_expression "uVar2 = 0x4b" (identifier "uVar2") (= "=") (number_literal "0x4b")) (; ";")) (expression_statement "__speed = 2;" (assignment_expression "__speed = 2" (identifier "__speed") (= "=") (number_literal "2")) (; ";")) (} "}")) (else_clause "else if (iVar1 < 0x86) {\n      uVar2 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (else "else") (if_statement "if (iVar1 < 0x86) {\n      uVar2 = 0x6e;\n      __speed = 3;\n    }\n    else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (if "if") (parenthesized_expression "(iVar1 < 0x86)" (( "(") (binary_expression "iVar1 < 0x86" (identifier "iVar1") (< "<") (number_literal "0x86")) () ")")) (compound_statement "{\n      uVar2 = 0x6e;\n      __speed = 3;\n    }" ({ "{") (expression_statement "uVar2 = 0x6e;" (assignment_expression "uVar2 = 0x6e" (identifier "uVar2") (= "=") (number_literal "0x6e")) (; ";")) (expression_statement "__speed = 3;" (assignment_expression "__speed = 3" (identifier "__speed") (= "=") (number_literal "3")) (; ";")) (} "}")) (else_clause "else if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (else "else") (if_statement "if (iVar1 < 0x96) {\n      uVar2 = 0x86;\n      __speed = 4;\n    }\n    else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (if "if") (parenthesized_expression "(iVar1 < 0x96)" (( "(") (binary_expression "iVar1 < 0x96" (identifier "iVar1") (< "<") (number_literal "0x96")) () ")")) (compound_statement "{\n      uVar2 = 0x86;\n      __speed = 4;\n    }" ({ "{") (expression_statement "uVar2 = 0x86;" (assignment_expression "uVar2 = 0x86" (identifier "uVar2") (= "=") (number_literal "0x86")) (; ";")) (expression_statement "__speed = 4;" (assignment_expression "__speed = 4" (identifier "__speed") (= "=") (number_literal "4")) (; ";")) (} "}")) (else_clause "else if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (else "else") (if_statement "if (iVar1 < 200) {\n      uVar2 = 0x96;\n      __speed = 5;\n    }\n    else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (if "if") (parenthesized_expression "(iVar1 < 200)" (( "(") (binary_expression "iVar1 < 200" (identifier "iVar1") (< "<") (number_literal "200")) () ")")) (compound_statement "{\n      uVar2 = 0x96;\n      __speed = 5;\n    }" ({ "{") (expression_statement "uVar2 = 0x96;" (assignment_expression "uVar2 = 0x96" (identifier "uVar2") (= "=") (number_literal "0x96")) (; ";")) (expression_statement "__speed = 5;" (assignment_expression "__speed = 5" (identifier "__speed") (= "=") (number_literal "5")) (; ";")) (} "}")) (else_clause "else if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (else "else") (if_statement "if (iVar1 < 300) {\n      uVar2 = 200;\n      __speed = 6;\n    }\n    else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (if "if") (parenthesized_expression "(iVar1 < 300)" (( "(") (binary_expression "iVar1 < 300" (identifier "iVar1") (< "<") (number_literal "300")) () ")")) (compound_statement "{\n      uVar2 = 200;\n      __speed = 6;\n    }" ({ "{") (expression_statement "uVar2 = 200;" (assignment_expression "uVar2 = 200" (identifier "uVar2") (= "=") (number_literal "200")) (; ";")) (expression_statement "__speed = 6;" (assignment_expression "__speed = 6" (identifier "__speed") (= "=") (number_literal "6")) (; ";")) (} "}")) (else_clause "else if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (else "else") (if_statement "if (iVar1 < 600) {\n      uVar2 = 300;\n      __speed = 7;\n    }\n    else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (if "if") (parenthesized_expression "(iVar1 < 600)" (( "(") (binary_expression "iVar1 < 600" (identifier "iVar1") (< "<") (number_literal "600")) () ")")) (compound_statement "{\n      uVar2 = 300;\n      __speed = 7;\n    }" ({ "{") (expression_statement "uVar2 = 300;" (assignment_expression "uVar2 = 300" (identifier "uVar2") (= "=") (number_literal "300")) (; ";")) (expression_statement "__speed = 7;" (assignment_expression "__speed = 7" (identifier "__speed") (= "=") (number_literal "7")) (; ";")) (} "}")) (else_clause "else if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (else "else") (if_statement "if (iVar1 < 0x4b0) {\n      uVar2 = 600;\n      __speed = 8;\n    }\n    else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (if "if") (parenthesized_expression "(iVar1 < 0x4b0)" (( "(") (binary_expression "iVar1 < 0x4b0" (identifier "iVar1") (< "<") (number_literal "0x4b0")) () ")")) (compound_statement "{\n      uVar2 = 600;\n      __speed = 8;\n    }" ({ "{") (expression_statement "uVar2 = 600;" (assignment_expression "uVar2 = 600" (identifier "uVar2") (= "=") (number_literal "600")) (; ";")) (expression_statement "__speed = 8;" (assignment_expression "__speed = 8" (identifier "__speed") (= "=") (number_literal "8")) (; ";")) (} "}")) (else_clause "else if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (else "else") (if_statement "if (iVar1 < 0x708) {\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }\n    else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (if "if") (parenthesized_expression "(iVar1 < 0x708)" (( "(") (binary_expression "iVar1 < 0x708" (identifier "iVar1") (< "<") (number_literal "0x708")) () ")")) (compound_statement "{\n      uVar2 = 0x4b0;\n      __speed = 9;\n    }" ({ "{") (expression_statement "uVar2 = 0x4b0;" (assignment_expression "uVar2 = 0x4b0" (identifier "uVar2") (= "=") (number_literal "0x4b0")) (; ";")) (expression_statement "__speed = 9;" (assignment_expression "__speed = 9" (identifier "__speed") (= "=") (number_literal "9")) (; ";")) (} "}")) (else_clause "else if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (else "else") (if_statement "if (iVar1 < 0x960) {\n      uVar2 = 0x708;\n      __speed = 10;\n    }\n    else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (if "if") (parenthesized_expression "(iVar1 < 0x960)" (( "(") (binary_expression "iVar1 < 0x960" (identifier "iVar1") (< "<") (number_literal "0x960")) () ")")) (compound_statement "{\n      uVar2 = 0x708;\n      __speed = 10;\n    }" ({ "{") (expression_statement "uVar2 = 0x708;" (assignment_expression "uVar2 = 0x708" (identifier "uVar2") (= "=") (number_literal "0x708")) (; ";")) (expression_statement "__speed = 10;" (assignment_expression "__speed = 10" (identifier "__speed") (= "=") (number_literal "10")) (; ";")) (} "}")) (else_clause "else if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (else "else") (if_statement "if (iVar1 < 0x12c0) {\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }\n    else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (if "if") (parenthesized_expression "(iVar1 < 0x12c0)" (( "(") (binary_expression "iVar1 < 0x12c0" (identifier "iVar1") (< "<") (number_literal "0x12c0")) () ")")) (compound_statement "{\n      uVar2 = 0x960;\n      __speed = 0xb;\n    }" ({ "{") (expression_statement "uVar2 = 0x960;" (assignment_expression "uVar2 = 0x960" (identifier "uVar2") (= "=") (number_literal "0x960")) (; ";")) (expression_statement "__speed = 0xb;" (assignment_expression "__speed = 0xb" (identifier "__speed") (= "=") (number_literal "0xb")) (; ";")) (} "}")) (else_clause "else if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (else "else") (if_statement "if (iVar1 < 0x2580) {\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }\n    else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (if "if") (parenthesized_expression "(iVar1 < 0x2580)" (( "(") (binary_expression "iVar1 < 0x2580" (identifier "iVar1") (< "<") (number_literal "0x2580")) () ")")) (compound_statement "{\n      uVar2 = 0x12c0;\n      __speed = 0xc;\n    }" ({ "{") (expression_statement "uVar2 = 0x12c0;" (assignment_expression "uVar2 = 0x12c0" (identifier "uVar2") (= "=") (number_literal "0x12c0")) (; ";")) (expression_statement "__speed = 0xc;" (assignment_expression "__speed = 0xc" (identifier "__speed") (= "=") (number_literal "0xc")) (; ";")) (} "}")) (else_clause "else if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (else "else") (if_statement "if (iVar1 < 0x4b00) {\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }\n    else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (if "if") (parenthesized_expression "(iVar1 < 0x4b00)" (( "(") (binary_expression "iVar1 < 0x4b00" (identifier "iVar1") (< "<") (number_literal "0x4b00")) () ")")) (compound_statement "{\n      uVar2 = 0x2580;\n      __speed = 0xd;\n    }" ({ "{") (expression_statement "uVar2 = 0x2580;" (assignment_expression "uVar2 = 0x2580" (identifier "uVar2") (= "=") (number_literal "0x2580")) (; ";")) (expression_statement "__speed = 0xd;" (assignment_expression "__speed = 0xd" (identifier "__speed") (= "=") (number_literal "0xd")) (; ";")) (} "}")) (else_clause "else if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (else "else") (if_statement "if (iVar1 < 0x9600) {\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }\n    else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (if "if") (parenthesized_expression "(iVar1 < 0x9600)" (( "(") (binary_expression "iVar1 < 0x9600" (identifier "iVar1") (< "<") (number_literal "0x9600")) () ")")) (compound_statement "{\n      uVar2 = 0x4b00;\n      __speed = 0xe;\n    }" ({ "{") (expression_statement "uVar2 = 0x4b00;" (assignment_expression "uVar2 = 0x4b00" (identifier "uVar2") (= "=") (number_literal "0x4b00")) (; ";")) (expression_statement "__speed = 0xe;" (assignment_expression "__speed = 0xe" (identifier "__speed") (= "=") (number_literal "0xe")) (; ";")) (} "}")) (else_clause "else if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (else "else") (if_statement "if (iVar1 < 0xe100) {\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }\n    else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (if "if") (parenthesized_expression "(iVar1 < 0xe100)" (( "(") (binary_expression "iVar1 < 0xe100" (identifier "iVar1") (< "<") (number_literal "0xe100")) () ")")) (compound_statement "{\n      uVar2 = 0x9600;\n      __speed = 0xf;\n    }" ({ "{") (expression_statement "uVar2 = 0x9600;" (assignment_expression "uVar2 = 0x9600" (identifier "uVar2") (= "=") (number_literal "0x9600")) (; ";")) (expression_statement "__speed = 0xf;" (assignment_expression "__speed = 0xf" (identifier "__speed") (= "=") (number_literal "0xf")) (; ";")) (} "}")) (else_clause "else if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (else "else") (if_statement "if (iVar1 < 0x1c200) {\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }\n    else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (if "if") (parenthesized_expression "(iVar1 < 0x1c200)" (( "(") (binary_expression "iVar1 < 0x1c200" (identifier "iVar1") (< "<") (number_literal "0x1c200")) () ")")) (compound_statement "{\n      uVar2 = 0xe100;\n      __speed = 0x1001;\n    }" ({ "{") (expression_statement "uVar2 = 0xe100;" (assignment_expression "uVar2 = 0xe100" (identifier "uVar2") (= "=") (number_literal "0xe100")) (; ";")) (expression_statement "__speed = 0x1001;" (assignment_expression "__speed = 0x1001" (identifier "__speed") (= "=") (number_literal "0x1001")) (; ";")) (} "}")) (else_clause "else if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (else "else") (if_statement "if (iVar1 < 0x38400) {\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }\n    else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (if "if") (parenthesized_expression "(iVar1 < 0x38400)" (( "(") (binary_expression "iVar1 < 0x38400" (identifier "iVar1") (< "<") (number_literal "0x38400")) () ")")) (compound_statement "{\n      uVar2 = 0x1c200;\n      __speed = 0x1002;\n    }" ({ "{") (expression_statement "uVar2 = 0x1c200;" (assignment_expression "uVar2 = 0x1c200" (identifier "uVar2") (= "=") (number_literal "0x1c200")) (; ";")) (expression_statement "__speed = 0x1002;" (assignment_expression "__speed = 0x1002" (identifier "__speed") (= "=") (number_literal "0x1002")) (; ";")) (} "}")) (else_clause "else if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (else "else") (if_statement "if (iVar1 < 0x70800) {\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }\n    else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (if "if") (parenthesized_expression "(iVar1 < 0x70800)" (( "(") (binary_expression "iVar1 < 0x70800" (identifier "iVar1") (< "<") (number_literal "0x70800")) () ")")) (compound_statement "{\n      uVar2 = 0x38400;\n      __speed = 0x1003;\n    }" ({ "{") (expression_statement "uVar2 = 0x38400;" (assignment_expression "uVar2 = 0x38400" (identifier "uVar2") (= "=") (number_literal "0x38400")) (; ";")) (expression_statement "__speed = 0x1003;" (assignment_expression "__speed = 0x1003" (identifier "__speed") (= "=") (number_literal "0x1003")) (; ";")) (} "}")) (else_clause "else if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (else "else") (if_statement "if (iVar1 < 500000) {\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }\n    else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (if "if") (parenthesized_expression "(iVar1 < 500000)" (( "(") (binary_expression "iVar1 < 500000" (identifier "iVar1") (< "<") (number_literal "500000")) () ")")) (compound_statement "{\n      uVar2 = 0x70800;\n      __speed = 0x1004;\n    }" ({ "{") (expression_statement "uVar2 = 0x70800;" (assignment_expression "uVar2 = 0x70800" (identifier "uVar2") (= "=") (number_literal "0x70800")) (; ";")) (expression_statement "__speed = 0x1004;" (assignment_expression "__speed = 0x1004" (identifier "__speed") (= "=") (number_literal "0x1004")) (; ";")) (} "}")) (else_clause "else if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (else "else") (if_statement "if (iVar1 < 0x8ca00) {\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }\n    else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (if "if") (parenthesized_expression "(iVar1 < 0x8ca00)" (( "(") (binary_expression "iVar1 < 0x8ca00" (identifier "iVar1") (< "<") (number_literal "0x8ca00")) () ")")) (compound_statement "{\n      uVar2 = 500000;\n      __speed = 0x1005;\n    }" ({ "{") (expression_statement "uVar2 = 500000;" (assignment_expression "uVar2 = 500000" (identifier "uVar2") (= "=") (number_literal "500000")) (; ";")) (expression_statement "__speed = 0x1005;" (assignment_expression "__speed = 0x1005" (identifier "__speed") (= "=") (number_literal "0x1005")) (; ";")) (} "}")) (else_clause "else if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (else "else") (if_statement "if (iVar1 < 0xe1000) {\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }\n    else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (if "if") (parenthesized_expression "(iVar1 < 0xe1000)" (( "(") (binary_expression "iVar1 < 0xe1000" (identifier "iVar1") (< "<") (number_literal "0xe1000")) () ")")) (compound_statement "{\n      uVar2 = 0x8ca00;\n      __speed = 0x1006;\n    }" ({ "{") (expression_statement "uVar2 = 0x8ca00;" (assignment_expression "uVar2 = 0x8ca00" (identifier "uVar2") (= "=") (number_literal "0x8ca00")) (; ";")) (expression_statement "__speed = 0x1006;" (assignment_expression "__speed = 0x1006" (identifier "__speed") (= "=") (number_literal "0x1006")) (; ";")) (} "}")) (else_clause "else if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (else "else") (if_statement "if (iVar1 < 1000000) {\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }\n    else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (if "if") (parenthesized_expression "(iVar1 < 1000000)" (( "(") (binary_expression "iVar1 < 1000000" (identifier "iVar1") (< "<") (number_literal "1000000")) () ")")) (compound_statement "{\n      uVar2 = 0xe1000;\n      __speed = 0x1007;\n    }" ({ "{") (expression_statement "uVar2 = 0xe1000;" (assignment_expression "uVar2 = 0xe1000" (identifier "uVar2") (= "=") (number_literal "0xe1000")) (; ";")) (expression_statement "__speed = 0x1007;" (assignment_expression "__speed = 0x1007" (identifier "__speed") (= "=") (number_literal "0x1007")) (; ";")) (} "}")) (else_clause "else if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (else "else") (if_statement "if (iVar1 < 0x119400) {\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }\n    else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (if "if") (parenthesized_expression "(iVar1 < 0x119400)" (( "(") (binary_expression "iVar1 < 0x119400" (identifier "iVar1") (< "<") (number_literal "0x119400")) () ")")) (compound_statement "{\n      uVar2 = 1000000;\n      __speed = 0x1008;\n    }" ({ "{") (expression_statement "uVar2 = 1000000;" (assignment_expression "uVar2 = 1000000" (identifier "uVar2") (= "=") (number_literal "1000000")) (; ";")) (expression_statement "__speed = 0x1008;" (assignment_expression "__speed = 0x1008" (identifier "__speed") (= "=") (number_literal "0x1008")) (; ";")) (} "}")) (else_clause "else if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (else "else") (if_statement "if (iVar1 < 1500000) {\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }\n    else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (if "if") (parenthesized_expression "(iVar1 < 1500000)" (( "(") (binary_expression "iVar1 < 1500000" (identifier "iVar1") (< "<") (number_literal "1500000")) () ")")) (compound_statement "{\n      uVar2 = 0x119400;\n      __speed = 0x1009;\n    }" ({ "{") (expression_statement "uVar2 = 0x119400;" (assignment_expression "uVar2 = 0x119400" (identifier "uVar2") (= "=") (number_literal "0x119400")) (; ";")) (expression_statement "__speed = 0x1009;" (assignment_expression "__speed = 0x1009" (identifier "__speed") (= "=") (number_literal "0x1009")) (; ";")) (} "}")) (else_clause "else if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (else "else") (if_statement "if (iVar1 < 2000000) {\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }\n    else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (if "if") (parenthesized_expression "(iVar1 < 2000000)" (( "(") (binary_expression "iVar1 < 2000000" (identifier "iVar1") (< "<") (number_literal "2000000")) () ")")) (compound_statement "{\n      uVar2 = 1500000;\n      __speed = 0x100a;\n    }" ({ "{") (expression_statement "uVar2 = 1500000;" (assignment_expression "uVar2 = 1500000" (identifier "uVar2") (= "=") (number_literal "1500000")) (; ";")) (expression_statement "__speed = 0x100a;" (assignment_expression "__speed = 0x100a" (identifier "__speed") (= "=") (number_literal "0x100a")) (; ";")) (} "}")) (else_clause "else if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (else "else") (if_statement "if (iVar1 < 2500000) {\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }\n    else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (if "if") (parenthesized_expression "(iVar1 < 2500000)" (( "(") (binary_expression "iVar1 < 2500000" (identifier "iVar1") (< "<") (number_literal "2500000")) () ")")) (compound_statement "{\n      uVar2 = 2000000;\n      __speed = 0x100b;\n    }" ({ "{") (expression_statement "uVar2 = 2000000;" (assignment_expression "uVar2 = 2000000" (identifier "uVar2") (= "=") (number_literal "2000000")) (; ";")) (expression_statement "__speed = 0x100b;" (assignment_expression "__speed = 0x100b" (identifier "__speed") (= "=") (number_literal "0x100b")) (; ";")) (} "}")) (else_clause "else if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (else "else") (if_statement "if (iVar1 < 3000000) {\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }\n    else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (if "if") (parenthesized_expression "(iVar1 < 3000000)" (( "(") (binary_expression "iVar1 < 3000000" (identifier "iVar1") (< "<") (number_literal "3000000")) () ")")) (compound_statement "{\n      uVar2 = 2500000;\n      __speed = 0x100c;\n    }" ({ "{") (expression_statement "uVar2 = 2500000;" (assignment_expression "uVar2 = 2500000" (identifier "uVar2") (= "=") (number_literal "2500000")) (; ";")) (expression_statement "__speed = 0x100c;" (assignment_expression "__speed = 0x100c" (identifier "__speed") (= "=") (number_literal "0x100c")) (; ";")) (} "}")) (else_clause "else if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (else "else") (if_statement "if (iVar1 < 3500000) {\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }\n    else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (if "if") (parenthesized_expression "(iVar1 < 3500000)" (( "(") (binary_expression "iVar1 < 3500000" (identifier "iVar1") (< "<") (number_literal "3500000")) () ")")) (compound_statement "{\n      uVar2 = 3000000;\n      __speed = 0x100d;\n    }" ({ "{") (expression_statement "uVar2 = 3000000;" (assignment_expression "uVar2 = 3000000" (identifier "uVar2") (= "=") (number_literal "3000000")) (; ";")) (expression_statement "__speed = 0x100d;" (assignment_expression "__speed = 0x100d" (identifier "__speed") (= "=") (number_literal "0x100d")) (; ";")) (} "}")) (else_clause "else {\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" (else "else") (compound_statement "{\n      uVar2 = 3500000;\n      if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }\n      __speed = (3999999 < iVar1) + 0x100e;\n    }" ({ "{") (expression_statement "uVar2 = 3500000;" (assignment_expression "uVar2 = 3500000" (identifier "uVar2") (= "=") (number_literal "3500000")) (; ";")) (if_statement "if (3999999 < iVar1) {\n        uVar2 = 4000000;\n      }" (if "if") (parenthesized_expression "(3999999 < iVar1)" (( "(") (binary_expression "3999999 < iVar1" (number_literal "3999999") (< "<") (identifier "iVar1")) () ")")) (compound_statement "{\n        uVar2 = 4000000;\n      }" ({ "{") (expression_statement "uVar2 = 4000000;" (assignment_expression "uVar2 = 4000000" (identifier "uVar2") (= "=") (number_literal "4000000")) (; ";")) (} "}"))) (expression_statement "__speed = (3999999 < iVar1) + 0x100e;" (assignment_expression "__speed = (3999999 < iVar1) + 0x100e" (identifier "__speed") (= "=") (binary_expression "(3999999 < iVar1) + 0x100e" (parenthesized_expression "(3999999 < iVar1)" (( "(") (binary_expression "3999999 < iVar1" (number_literal "3999999") (< "<") (identifier "iVar1")) () ")")) (+ "+") (number_literal "0x100e"))) (; ";")) (} "}")))))))))))))))))))))))))))))))))))))))))))))))))))))))))) (expression_statement "cfsetispeed(&local_78,__speed);" (call_expression "cfsetispeed(&local_78,__speed)" (identifier "cfsetispeed") (argument_list "(&local_78,__speed)" (( "(") (pointer_expression "&local_78" (& "&") (identifier "local_78")) (, ",") (identifier "__speed") () ")"))) (; ";")) (expression_statement "cfsetospeed(&local_78,__speed);" (call_expression "cfsetospeed(&local_78,__speed)" (identifier "cfsetospeed") (argument_list "(&local_78,__speed)" (( "(") (pointer_expression "&local_78" (& "&") (identifier "local_78")) (, ",") (identifier "__speed") () ")"))) (; ";")) (expression_statement "uVar4 = FUN_0012292d("Configuring baud rate %d",uVar2);" (assignment_expression "uVar4 = FUN_0012292d("Configuring baud rate %d",uVar2)" (identifier "uVar4") (= "=") (call_expression "FUN_0012292d("Configuring baud rate %d",uVar2)" (identifier "FUN_0012292d") (argument_list "("Configuring baud rate %d",uVar2)" (( "(") (string_literal ""Configuring baud rate %d"" (" """) (string_content "Configuring baud rate %d") (" """)) (, ",") (identifier "uVar2") () ")")))) (; ";")) (expression_statement "FUN_0014a676(*param_1,uVar4);" (call_expression "FUN_0014a676(*param_1,uVar4)" (identifier "FUN_0014a676") (argument_list "(*param_1,uVar4)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "FUN_00122b5a(uVar4);" (call_expression "FUN_00122b5a(uVar4)" (identifier "FUN_00122b5a") (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "local_78.c_cflag = local_78.c_cflag & 0xffffffcf;" (assignment_expression "local_78.c_cflag = local_78.c_cflag & 0xffffffcf" (field_expression "local_78.c_cflag" (identifier "local_78") (. ".") (field_identifier "c_cflag")) (= "=") (binary_expression "local_78.c_cflag & 0xffffffcf" (field_expression "local_78.c_cflag" (identifier "local_78") (. ".") (field_identifier "c_cflag")) (& "&") (number_literal "0xffffffcf"))) (; ";")) (expression_statement "iVar1 = FUN_0011558e(param_2,0x3b);" (assignment_expression "iVar1 = FUN_0011558e(param_2,0x3b)" (identifier "iVar1") (= "=") (call_expression "FUN_0011558e(param_2,0x3b)" (identifier "FUN_0011558e") (argument_list "(param_2,0x3b)" (( "(") (identifier "param_2") (, ",") (number_literal "0x3b") () ")")))) (; ";")) (if_statement "if (iVar1 == 6) {\n      local_78.c_cflag = local_78.c_cflag | 0x10;\n    }\n    else if (iVar1 < 7) {\n      if (iVar1 != 5) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }\n    else if (iVar1 == 7) {\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }\n    else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }" (if "if") (parenthesized_expression "(iVar1 == 6)" (( "(") (binary_expression "iVar1 == 6" (identifier "iVar1") (== "==") (number_literal "6")) () ")")) (compound_statement "{\n      local_78.c_cflag = local_78.c_cflag | 0x10;\n    }" ({ "{") (expression_statement "local_78.c_cflag = local_78.c_cflag | 0x10;" (assignment_expression "local_78.c_cflag = local_78.c_cflag | 0x10" (field_expression "local_78.c_cflag" (identifier "local_78") (. ".") (field_identifier "c_cflag")) (= "=") (binary_expression "local_78.c_cflag | 0x10" (field_expression "local_78.c_cflag" (identifier "local_78") (. ".") (field_identifier "c_cflag")) (| "|") (number_literal "0x10"))) (; ";")) (} "}")) (else_clause "else if (iVar1 < 7) {\n      if (iVar1 != 5) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }\n    else if (iVar1 == 7) {\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }\n    else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }" (else "else") (if_statement "if (iVar1 < 7) {\n      if (iVar1 != 5) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }\n    else if (iVar1 == 7) {\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }\n    else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }" (if "if") (parenthesized_expression "(iVar1 < 7)" (( "(") (binary_expression "iVar1 < 7" (identifier "iVar1") (< "<") (number_literal "7")) () ")")) (compound_statement "{\n      if (iVar1 != 5) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n    }" ({ "{") (if_statement "if (iVar1 != 5) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }" (if "if") (parenthesized_expression "(iVar1 != 5)" (( "(") (binary_expression "iVar1 != 5" (identifier "iVar1") (!= "!=") (number_literal "5")) () ")")) (compound_statement "{\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }" ({ "{") (expression_statement "pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";" (assignment_expression "pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)"" (identifier "pcVar3") (= "=") (string_literal ""Invalid number of data bits (need 5, 6, 7 or 8)"" (" """) (string_content "Invalid number of data bits (need 5, 6, 7 or 8)") (" """))) (; ";")) (goto_statement "goto LAB_00154210;" (goto "goto") (statement_identifier "LAB_00154210") (; ";")) (} "}"))) (} "}")) (else_clause "else if (iVar1 == 7) {\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }\n    else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }" (else "else") (if_statement "if (iVar1 == 7) {\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }\n    else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }" (if "if") (parenthesized_expression "(iVar1 == 7)" (( "(") (binary_expression "iVar1 == 7" (identifier "iVar1") (== "==") (number_literal "7")) () ")")) (compound_statement "{\n      local_78.c_cflag = local_78.c_cflag | 0x20;\n    }" ({ "{") (expression_statement "local_78.c_cflag = local_78.c_cflag | 0x20;" (assignment_expression "local_78.c_cflag = local_78.c_cflag | 0x20" (field_expression "local_78.c_cflag" (identifier "local_78") (. ".") (field_identifier "c_cflag")) (= "=") (binary_expression "local_78.c_cflag | 0x20" (field_expression "local_78.c_cflag" (identifier "local_78") (. ".") (field_identifier "c_cflag")) (| "|") (number_literal "0x20"))) (; ";")) (} "}")) (else_clause "else {\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }" (else "else") (compound_statement "{\n      if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }\n      local_78.c_cflag = local_78.c_cflag | 0x30;\n    }" ({ "{") (if_statement "if (iVar1 != 8) {\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }" (if "if") (parenthesized_expression "(iVar1 != 8)" (( "(") (binary_expression "iVar1 != 8" (identifier "iVar1") (!= "!=") (number_literal "8")) () ")")) (compound_statement "{\n        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";\n        goto LAB_00154210;\n      }" ({ "{") (expression_statement "pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";" (assignment_expression "pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)"" (identifier "pcVar3") (= "=") (string_literal ""Invalid number of data bits (need 5, 6, 7 or 8)"" (" """) (string_content "Invalid number of data bits (need 5, 6, 7 or 8)") (" """))) (; ";")) (goto_statement "goto LAB_00154210;" (goto "goto") (statement_identifier "LAB_00154210") (; ";")) (} "}"))) (expression_statement "local_78.c_cflag = local_78.c_cflag | 0x30;" (assignment_expression "local_78.c_cflag = local_78.c_cflag | 0x30" (field_expression "local_78.c_cflag" (identifier "local_78") (. ".") (field_identifier "c_cflag")) (= "=") (binary_expression "local_78.c_cflag | 0x30" (field_expression "local_78.c_cflag" (identifier "local_78") (. ".") (field_identifier "c_cflag")) (| "|") (number_literal "0x30"))) (; ";")) (} "}")))))))) (expression_statement "uVar2 = FUN_0011558e(param_2,0x3b);" (assignment_expression "uVar2 = FUN_0011558e(param_2,0x3b)" (identifier "uVar2") (= "=") (call_expression "FUN_0011558e(param_2,0x3b)" (identifier "FUN_0011558e") (argument_list "(param_2,0x3b)" (( "(") (identifier "param_2") (, ",") (number_literal "0x3b") () ")")))) (; ";")) (expression_statement "uVar4 = FUN_0012292d("Configuring %d data bits",uVar2);" (assignment_expression "uVar4 = FUN_0012292d("Configuring %d data bits",uVar2)" (identifier "uVar4") (= "=") (call_expression "FUN_0012292d("Configuring %d data bits",uVar2)" (identifier "FUN_0012292d") (argument_list "("Configuring %d data bits",uVar2)" (( "(") (string_literal ""Configuring %d data bits"" (" """) (string_content "Configuring %d data bits") (" """)) (, ",") (identifier "uVar2") () ")")))) (; ";")) (expression_statement "FUN_0014a676(*param_1,uVar4);" (call_expression "FUN_0014a676(*param_1,uVar4)" (identifier "FUN_0014a676") (argument_list "(*param_1,uVar4)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "FUN_00122b5a(uVar4);" (call_expression "FUN_00122b5a(uVar4)" (identifier "FUN_00122b5a") (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "iVar1 = FUN_0011558e(param_2,0x3c);" (assignment_expression "iVar1 = FUN_0011558e(param_2,0x3c)" (identifier "iVar1") (= "=") (call_expression "FUN_0011558e(param_2,0x3c)" (identifier "FUN_0011558e") (argument_list "(param_2,0x3c)" (( "(") (identifier "param_2") (, ",") (number_literal "0x3c") () ")")))) (; ";")) (if_statement "if (iVar1 < 4) {\n      local_78.c_cflag = local_78.c_cflag & 0xffffffbf;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag | 0x40;\n    }" (if "if") (parenthesized_expression "(iVar1 < 4)" (( "(") (binary_expression "iVar1 < 4" (identifier "iVar1") (< "<") (number_literal "4")) () ")")) (compound_statement "{\n      local_78.c_cflag = local_78.c_cflag & 0xffffffbf;\n    }" ({ "{") (expression_statement "local_78.c_cflag = local_78.c_cflag & 0xffffffbf;" (assignment_expression "local_78.c_cflag = local_78.c_cflag & 0xffffffbf" (field_expression "local_78.c_cflag" (identifier "local_78") (. ".") (field_identifier "c_cflag")) (= "=") (binary_expression "local_78.c_cflag & 0xffffffbf" (field_expression "local_78.c_cflag" (identifier "local_78") (. ".") (field_identifier "c_cflag")) (& "&") (number_literal "0xffffffbf"))) (; ";")) (} "}")) (else_clause "else {\n      local_78.c_cflag = local_78.c_cflag | 0x40;\n    }" (else "else") (compound_statement "{\n      local_78.c_cflag = local_78.c_cflag | 0x40;\n    }" ({ "{") (expression_statement "local_78.c_cflag = local_78.c_cflag | 0x40;" (assignment_expression "local_78.c_cflag = local_78.c_cflag | 0x40" (field_expression "local_78.c_cflag" (identifier "local_78") (. ".") (field_identifier "c_cflag")) (= "=") (binary_expression "local_78.c_cflag | 0x40" (field_expression "local_78.c_cflag" (identifier "local_78") (. ".") (field_identifier "c_cflag")) (| "|") (number_literal "0x40"))) (; ";")) (} "}")))) (expression_statement "uVar4 = FUN_0012292d("Configuring %d stop bits",((local_78.c_cflag & 0x40) != 0) + '\x01');" (assignment_expression "uVar4 = FUN_0012292d("Configuring %d stop bits",((local_78.c_cflag & 0x40) != 0) + '\x01')" (identifier "uVar4") (= "=") (call_expression "FUN_0012292d("Configuring %d stop bits",((local_78.c_cflag & 0x40) != 0) + '\x01')" (identifier "FUN_0012292d") (argument_list "("Configuring %d stop bits",((local_78.c_cflag & 0x40) != 0) + '\x01')" (( "(") (string_literal ""Configuring %d stop bits"" (" """) (string_content "Configuring %d stop bits") (" """)) (, ",") (binary_expression "((local_78.c_cflag & 0x40) != 0) + '\x01'" (parenthesized_expression "((local_78.c_cflag & 0x40) != 0)" (( "(") (binary_expression "(local_78.c_cflag & 0x40) != 0" (parenthesized_expression "(local_78.c_cflag & 0x40)" (( "(") (binary_expression "local_78.c_cflag & 0x40" (field_expression "local_78.c_cflag" (identifier "local_78") (. ".") (field_identifier "c_cflag")) (& "&") (number_literal "0x40")) () ")")) (!= "!=") (number_literal "0")) () ")")) (+ "+") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) () ")")))) (; ";")) (expression_statement "FUN_0014a676(*param_1,uVar4);" (call_expression "FUN_0014a676(*param_1,uVar4)" (identifier "FUN_0014a676") (argument_list "(*param_1,uVar4)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "FUN_00122b5a(uVar4);" (call_expression "FUN_00122b5a(uVar4)" (identifier "FUN_00122b5a") (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "local_78.c_iflag = local_78.c_iflag & 0xffffebff;" (assignment_expression "local_78.c_iflag = local_78.c_iflag & 0xffffebff" (field_expression "local_78.c_iflag" (identifier "local_78") (. ".") (field_identifier "c_iflag")) (= "=") (binary_expression "local_78.c_iflag & 0xffffebff" (field_expression "local_78.c_iflag" (identifier "local_78") (. ".") (field_identifier "c_iflag")) (& "&") (number_literal "0xffffebff"))) (; ";")) (expression_statement "local_78.c_cflag = local_78.c_cflag & 0x7fffffff;" (assignment_expression "local_78.c_cflag = local_78.c_cflag & 0x7fffffff" (field_expression "local_78.c_cflag" (identifier "local_78") (. ".") (field_identifier "c_cflag")) (= "=") (binary_expression "local_78.c_cflag & 0x7fffffff" (field_expression "local_78.c_cflag" (identifier "local_78") (. ".") (field_identifier "c_cflag")) (& "&") (number_literal "0x7fffffff"))) (; ";")) (expression_statement "iVar1 = FUN_0011558e(param_2,0x3e);" (assignment_expression "iVar1 = FUN_0011558e(param_2,0x3e)" (identifier "iVar1") (= "=") (call_expression "FUN_0011558e(param_2,0x3e)" (identifier "FUN_0011558e") (argument_list "(param_2,0x3e)" (( "(") (identifier "param_2") (, ",") (number_literal "0x3e") () ")")))) (; ";")) (if_statement "if (iVar1 == 1) {\n      local_78.c_iflag = local_78.c_iflag | 0x1400;\n      pcVar3 = "XON/XOFF";\n    }\n    else {\n      pcVar3 = "no";\n      if (iVar1 == 2) {\n        local_78.c_cflag = local_78.c_cflag | 0x80000000;\n        pcVar3 = "RTS/CTS";\n      }\n    }" (if "if") (parenthesized_expression "(iVar1 == 1)" (( "(") (binary_expression "iVar1 == 1" (identifier "iVar1") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      local_78.c_iflag = local_78.c_iflag | 0x1400;\n      pcVar3 = "XON/XOFF";\n    }" ({ "{") (expression_statement "local_78.c_iflag = local_78.c_iflag | 0x1400;" (assignment_expression "local_78.c_iflag = local_78.c_iflag | 0x1400" (field_expression "local_78.c_iflag" (identifier "local_78") (. ".") (field_identifier "c_iflag")) (= "=") (binary_expression "local_78.c_iflag | 0x1400" (field_expression "local_78.c_iflag" (identifier "local_78") (. ".") (field_identifier "c_iflag")) (| "|") (number_literal "0x1400"))) (; ";")) (expression_statement "pcVar3 = "XON/XOFF";" (assignment_expression "pcVar3 = "XON/XOFF"" (identifier "pcVar3") (= "=") (string_literal ""XON/XOFF"" (" """) (string_content "XON/XOFF") (" """))) (; ";")) (} "}")) (else_clause "else {\n      pcVar3 = "no";\n      if (iVar1 == 2) {\n        local_78.c_cflag = local_78.c_cflag | 0x80000000;\n        pcVar3 = "RTS/CTS";\n      }\n    }" (else "else") (compound_statement "{\n      pcVar3 = "no";\n      if (iVar1 == 2) {\n        local_78.c_cflag = local_78.c_cflag | 0x80000000;\n        pcVar3 = "RTS/CTS";\n      }\n    }" ({ "{") (expression_statement "pcVar3 = "no";" (assignment_expression "pcVar3 = "no"" (identifier "pcVar3") (= "=") (string_literal ""no"" (" """) (string_content "no") (" """))) (; ";")) (if_statement "if (iVar1 == 2) {\n        local_78.c_cflag = local_78.c_cflag | 0x80000000;\n        pcVar3 = "RTS/CTS";\n      }" (if "if") (parenthesized_expression "(iVar1 == 2)" (( "(") (binary_expression "iVar1 == 2" (identifier "iVar1") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n        local_78.c_cflag = local_78.c_cflag | 0x80000000;\n        pcVar3 = "RTS/CTS";\n      }" ({ "{") (expression_statement "local_78.c_cflag = local_78.c_cflag | 0x80000000;" (assignment_expression "local_78.c_cflag = local_78.c_cflag | 0x80000000" (field_expression "local_78.c_cflag" (identifier "local_78") (. ".") (field_identifier "c_cflag")) (= "=") (binary_expression "local_78.c_cflag | 0x80000000" (field_expression "local_78.c_cflag" (identifier "local_78") (. ".") (field_identifier "c_cflag")) (| "|") (number_literal "0x80000000"))) (; ";")) (expression_statement "pcVar3 = "RTS/CTS";" (assignment_expression "pcVar3 = "RTS/CTS"" (identifier "pcVar3") (= "=") (string_literal ""RTS/CTS"" (" """) (string_content "RTS/CTS") (" """))) (; ";")) (} "}"))) (} "}")))) (expression_statement "uVar4 = FUN_0012292d("Configuring %s flow control",pcVar3);" (assignment_expression "uVar4 = FUN_0012292d("Configuring %s flow control",pcVar3)" (identifier "uVar4") (= "=") (call_expression "FUN_0012292d("Configuring %s flow control",pcVar3)" (identifier "FUN_0012292d") (argument_list "("Configuring %s flow control",pcVar3)" (( "(") (string_literal ""Configuring %s flow control"" (" """) (string_content "Configuring %s flow control") (" """)) (, ",") (identifier "pcVar3") () ")")))) (; ";")) (expression_statement "FUN_0014a676(*param_1,uVar4);" (call_expression "FUN_0014a676(*param_1,uVar4)" (identifier "FUN_0014a676") (argument_list "(*param_1,uVar4)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "FUN_00122b5a(uVar4);" (call_expression "FUN_00122b5a(uVar4)" (identifier "FUN_00122b5a") (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "iVar1 = FUN_0011558e(param_2,0x3d);" (assignment_expression "iVar1 = FUN_0011558e(param_2,0x3d)" (identifier "iVar1") (= "=") (call_expression "FUN_0011558e(param_2,0x3d)" (identifier "FUN_0011558e") (argument_list "(param_2,0x3d)" (( "(") (identifier "param_2") (, ",") (number_literal "0x3d") () ")")))) (; ";")) (if_statement "if (iVar1 == 1) {\n      local_78.c_cflag = local_78.c_cflag | 0x300;\n      puVar5 = &DAT_00183872;\n    }\n    else if (iVar1 == 2) {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }" (if "if") (parenthesized_expression "(iVar1 == 1)" (( "(") (binary_expression "iVar1 == 1" (identifier "iVar1") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      local_78.c_cflag = local_78.c_cflag | 0x300;\n      puVar5 = &DAT_00183872;\n    }" ({ "{") (expression_statement "local_78.c_cflag = local_78.c_cflag | 0x300;" (assignment_expression "local_78.c_cflag = local_78.c_cflag | 0x300" (field_expression "local_78.c_cflag" (identifier "local_78") (. ".") (field_identifier "c_cflag")) (= "=") (binary_expression "local_78.c_cflag | 0x300" (field_expression "local_78.c_cflag" (identifier "local_78") (. ".") (field_identifier "c_cflag")) (| "|") (number_literal "0x300"))) (; ";")) (expression_statement "puVar5 = &DAT_00183872;" (assignment_expression "puVar5 = &DAT_00183872" (identifier "puVar5") (= "=") (pointer_expression "&DAT_00183872" (& "&") (identifier "DAT_00183872"))) (; ";")) (} "}")) (else_clause "else if (iVar1 == 2) {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }" (else "else") (if_statement "if (iVar1 == 2) {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }\n    else {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }" (if "if") (parenthesized_expression "(iVar1 == 2)" (( "(") (binary_expression "iVar1 == 2" (identifier "iVar1") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n      local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100;\n      puVar5 = &DAT_00183876;\n    }" ({ "{") (expression_statement "local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100;" (assignment_expression "local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100" (field_expression "local_78.c_cflag" (identifier "local_78") (. ".") (field_identifier "c_cflag")) (= "=") (binary_expression "local_78.c_cflag & 0xfffffdff | 0x100" (binary_expression "local_78.c_cflag & 0xfffffdff" (field_expression "local_78.c_cflag" (identifier "local_78") (. ".") (field_identifier "c_cflag")) (& "&") (number_literal "0xfffffdff")) (| "|") (number_literal "0x100"))) (; ";")) (expression_statement "puVar5 = &DAT_00183876;" (assignment_expression "puVar5 = &DAT_00183876" (identifier "puVar5") (= "=") (pointer_expression "&DAT_00183876" (& "&") (identifier "DAT_00183876"))) (; ";")) (} "}")) (else_clause "else {\n      local_78.c_cflag = local_78.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }" (else "else") (compound_statement "{\n      local_78.c_cflag = local_78.c_cflag & 0xfffffeff;\n      puVar5 = &DAT_0017f39d;\n    }" ({ "{") (expression_statement "local_78.c_cflag = local_78.c_cflag & 0xfffffeff;" (assignment_expression "local_78.c_cflag = local_78.c_cflag & 0xfffffeff" (field_expression "local_78.c_cflag" (identifier "local_78") (. ".") (field_identifier "c_cflag")) (= "=") (binary_expression "local_78.c_cflag & 0xfffffeff" (field_expression "local_78.c_cflag" (identifier "local_78") (. ".") (field_identifier "c_cflag")) (& "&") (number_literal "0xfffffeff"))) (; ";")) (expression_statement "puVar5 = &DAT_0017f39d;" (assignment_expression "puVar5 = &DAT_0017f39d" (identifier "puVar5") (= "=") (pointer_expression "&DAT_0017f39d" (& "&") (identifier "DAT_0017f39d"))) (; ";")) (} "}")))))) (expression_statement "uVar4 = FUN_0012292d("Configuring %s parity",puVar5);" (assignment_expression "uVar4 = FUN_0012292d("Configuring %s parity",puVar5)" (identifier "uVar4") (= "=") (call_expression "FUN_0012292d("Configuring %s parity",puVar5)" (identifier "FUN_0012292d") (argument_list "("Configuring %s parity",puVar5)" (( "(") (string_literal ""Configuring %s parity"" (" """) (string_content "Configuring %s parity") (" """)) (, ",") (identifier "puVar5") () ")")))) (; ";")) (expression_statement "FUN_0014a676(*param_1,uVar4);" (call_expression "FUN_0014a676(*param_1,uVar4)" (identifier "FUN_0014a676") (argument_list "(*param_1,uVar4)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "FUN_00122b5a(uVar4);" (call_expression "FUN_00122b5a(uVar4)" (identifier "FUN_00122b5a") (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "local_78.c_cflag = local_78.c_cflag | 0x880;" (assignment_expression "local_78.c_cflag = local_78.c_cflag | 0x880" (field_expression "local_78.c_cflag" (identifier "local_78") (. ".") (field_identifier "c_cflag")) (= "=") (binary_expression "local_78.c_cflag | 0x880" (field_expression "local_78.c_cflag" (identifier "local_78") (. ".") (field_identifier "c_cflag")) (| "|") (number_literal "0x880"))) (; ";")) (expression_statement "local_78.c_lflag = local_78.c_lflag & 0xffffffe4;" (assignment_expression "local_78.c_lflag = local_78.c_lflag & 0xffffffe4" (field_expression "local_78.c_lflag" (identifier "local_78") (. ".") (field_identifier "c_lflag")) (= "=") (binary_expression "local_78.c_lflag & 0xffffffe4" (field_expression "local_78.c_lflag" (identifier "local_78") (. ".") (field_identifier "c_lflag")) (& "&") (number_literal "0xffffffe4"))) (; ";")) (expression_statement "local_78.c_iflag = local_78.c_iflag & 0xfffffc1f;" (assignment_expression "local_78.c_iflag = local_78.c_iflag & 0xfffffc1f" (field_expression "local_78.c_iflag" (identifier "local_78") (. ".") (field_identifier "c_iflag")) (= "=") (binary_expression "local_78.c_iflag & 0xfffffc1f" (field_expression "local_78.c_iflag" (identifier "local_78") (. ".") (field_identifier "c_iflag")) (& "&") (number_literal "0xfffffc1f"))) (; ";")) (expression_statement "local_78.c_oflag = local_78.c_oflag & 0xffffffc2;" (assignment_expression "local_78.c_oflag = local_78.c_oflag & 0xffffffc2" (field_expression "local_78.c_oflag" (identifier "local_78") (. ".") (field_identifier "c_oflag")) (= "=") (binary_expression "local_78.c_oflag & 0xffffffc2" (field_expression "local_78.c_oflag" (identifier "local_78") (. ".") (field_identifier "c_oflag")) (& "&") (number_literal "0xffffffc2"))) (; ";")) (expression_statement "local_78.c_cc[6] = '\x01';" (assignment_expression "local_78.c_cc[6] = '\x01'" (subscript_expression "local_78.c_cc[6]" (field_expression "local_78.c_cc" (identifier "local_78") (. ".") (field_identifier "c_cc")) ([ "[") (number_literal "6") (] "]")) (= "=") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) (; ";")) (expression_statement "local_78.c_cc[5] = '\0';" (assignment_expression "local_78.c_cc[5] = '\0'" (subscript_expression "local_78.c_cc[5]" (field_expression "local_78.c_cc" (identifier "local_78") (. ".") (field_identifier "c_cc")) ([ "[") (number_literal "5") (] "]")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "iVar1 = tcsetattr(*(int *)(param_1 + 1),0,&local_78);" (assignment_expression "iVar1 = tcsetattr(*(int *)(param_1 + 1),0,&local_78)" (identifier "iVar1") (= "=") (call_expression "tcsetattr(*(int *)(param_1 + 1),0,&local_78)" (identifier "tcsetattr") (argument_list "(*(int *)(param_1 + 1),0,&local_78)" (( "(") (pointer_expression "*(int *)(param_1 + 1)" (* "*") (cast_expression "(int *)(param_1 + 1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (, ",") (number_literal "0") (, ",") (pointer_expression "&local_78" (& "&") (identifier "local_78")) () ")")))) (; ";")) (expression_statement "pcVar3 = "Unable to configure serial port";" (assignment_expression "pcVar3 = "Unable to configure serial port"" (identifier "pcVar3") (= "=") (string_literal ""Unable to configure serial port"" (" """) (string_content "Unable to configure serial port") (" """))) (; ";")) (if_statement "if (-1 < iVar1) {\n      pcVar3 = (char *)0x0;\n    }" (if "if") (parenthesized_expression "(-1 < iVar1)" (( "(") (binary_expression "-1 < iVar1" (number_literal "-1") (< "<") (identifier "iVar1")) () ")")) (compound_statement "{\n      pcVar3 = (char *)0x0;\n    }" ({ "{") (expression_statement "pcVar3 = (char *)0x0;" (assignment_expression "pcVar3 = (char *)0x0" (identifier "pcVar3") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_00154210:\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return pcVar3;\n  }" (statement_identifier "LAB_00154210") (: ":") (if_statement "if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return pcVar3;\n  }" (if "if") (parenthesized_expression "(local_30 == *(long *)(in_FS_OFFSET + 0x28))" (( "(") (binary_expression "local_30 == *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_30") (== "==") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (compound_statement "{\n    return pcVar3;\n  }" ({ "{") (return_statement "return pcVar3;" (return "return") (identifier "pcVar3") (; ";")) (} "}")))) (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" (identifier "__stack_chk_fail") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

char * function_1(type_1 serial,type_2 *conf)

{
  long var_11;
  int var_4;
  type_3 uVar3;
  char *pcVar4;
  type_4 *puVar5;
  type_5 __speed;
  long var_1;
  type_6 options;
  
  var_11 = *(long *)(var_1 + 0x28);
  pcVar4 = "Unable to reconfigure already-closed serial connection";
  if (-1 < serial->fd) {
    var_2(serial->fd,(type_6 *)&options);
    var_4 = var_3(conf,0x3a);
    if (var_4 < 0x4b) {
      uVar3 = 0x32;
      __speed = 1;
    }
    else if (var_4 < 0x6e) {
      uVar3 = 0x4b;
      __speed = 2;
    }
    else if (var_4 < 0x86) {
      uVar3 = 0x6e;
      __speed = 3;
    }
    else if (var_4 < 0x96) {
      uVar3 = 0x86;
      __speed = 4;
    }
    else if (var_4 < 200) {
      uVar3 = 0x96;
      __speed = 5;
    }
    else if (var_4 < 300) {
      uVar3 = 200;
      __speed = 6;
    }
    else if (var_4 < 600) {
      uVar3 = 300;
      __speed = 7;
    }
    else if (var_4 < 0x4b0) {
      uVar3 = 600;
      __speed = 8;
    }
    else if (var_4 < 0x708) {
      uVar3 = 0x4b0;
      __speed = 9;
    }
    else if (var_4 < 0x960) {
      uVar3 = 0x708;
      __speed = 10;
    }
    else if (var_4 < 0x12c0) {
      uVar3 = 0x960;
      __speed = 0xb;
    }
    else if (var_4 < 0x2580) {
      uVar3 = 0x12c0;
      __speed = 0xc;
    }
    else if (var_4 < 0x4b00) {
      uVar3 = 0x2580;
      __speed = 0xd;
    }
    else if (var_4 < 0x9600) {
      uVar3 = 0x4b00;
      __speed = 0xe;
    }
    else if (var_4 < 0xe100) {
      uVar3 = 0x9600;
      __speed = 0xf;
    }
    else if (var_4 < 0x1c200) {
      uVar3 = 0xe100;
      __speed = 0x1001;
    }
    else if (var_4 < 0x38400) {
      uVar3 = 0x1c200;
      __speed = 0x1002;
    }
    else if (var_4 < 0x70800) {
      uVar3 = 0x38400;
      __speed = 0x1003;
    }
    else if (var_4 < 500000) {
      uVar3 = 0x70800;
      __speed = 0x1004;
    }
    else if (var_4 < 0x8ca00) {
      uVar3 = 500000;
      __speed = 0x1005;
    }
    else if (var_4 < 0xe1000) {
      uVar3 = 0x8ca00;
      __speed = 0x1006;
    }
    else if (var_4 < 1000000) {
      uVar3 = 0xe1000;
      __speed = 0x1007;
    }
    else if (var_4 < 0x119400) {
      uVar3 = 1000000;
      __speed = 0x1008;
    }
    else if (var_4 < 1500000) {
      uVar3 = 0x119400;
      __speed = 0x1009;
    }
    else if (var_4 < 2000000) {
      uVar3 = 1500000;
      __speed = 0x100a;
    }
    else if (var_4 < 2500000) {
      uVar3 = 2000000;
      __speed = 0x100b;
    }
    else if (var_4 < 3000000) {
      uVar3 = 2500000;
      __speed = 0x100c;
    }
    else if (var_4 < 3500000) {
      uVar3 = 3000000;
      __speed = 0x100d;
    }
    else {
      uVar3 = 3500000;
      if (3999999 < var_4) {
        uVar3 = 4000000;
      }
      __speed = (3999999 < var_4) + 0x100e;
    }
    var_5((type_6 *)&options,__speed);
    var_6((type_6 *)&options,__speed);
    pcVar4 = var_7("Configuring baud rate %d",(type_7)uVar3);
    var_8(serial->frontend,pcVar4);
    var_9(pcVar4);
    options.c_cflag = options.c_cflag & 0xffffffcf;
    var_4 = var_3(conf,0x3b);
    if (var_4 == 6) {
      options.c_cflag = options.c_cflag | 0x10;
    }
    else if (var_4 < 7) {
      if (var_4 != 5) {
        pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)";
        goto LAB_00154210;
      }
    }
    else if (var_4 == 7) {
      options.c_cflag = options.c_cflag | 0x20;
    }
    else {
      if (var_4 != 8) {
        pcVar4 = "Invalid number of data bits (need 5, 6, 7 or 8)";
        goto LAB_00154210;
      }
      options.c_cflag = options.c_cflag | 0x30;
    }
    uVar3 = var_3(conf,0x3b);
    pcVar4 = var_7("Configuring %d data bits",(type_7)uVar3);
    var_8(serial->frontend,pcVar4);
    var_9(pcVar4);
    var_4 = var_3(conf,0x3c);
    if (var_4 < 4) {
      options.c_cflag = options.c_cflag & 0xffffffbf;
    }
    else {
      options.c_cflag = options.c_cflag | 0x40;
    }
    pcVar4 = var_7("Configuring %d stop bits",(type_7)(((options.c_cflag & 0x40) != 0) + 1));
    var_8(serial->frontend,pcVar4);
    var_9(pcVar4);
    options.c_iflag = options.c_iflag & 0xffffebff;
    options.c_cflag = options.c_cflag & 0x7fffffff;
    var_4 = var_3(conf,0x3e);
    if (var_4 == 1) {
      options.c_iflag = options.c_iflag | 0x1400;
      pcVar4 = "XON/XOFF";
    }
    else {
      pcVar4 = "no";
      if (var_4 == 2) {
        options.c_cflag = options.c_cflag | 0x80000000;
        pcVar4 = "RTS/CTS";
      }
    }
    pcVar4 = var_7("Configuring %s flow control",pcVar4);
    var_8(serial->frontend,pcVar4);
    var_9(pcVar4);
    var_4 = var_3(conf,0x3d);
    if (var_4 == 1) {
      options.c_cflag = options.c_cflag | 0x300;
      puVar5 = &DAT_00183872;
    }
    else if (var_4 == 2) {
      options.c_cflag = options.c_cflag & 0xfffffdff | 0x100;
      puVar5 = &DAT_00183876;
    }
    else {
      options.c_cflag = options.c_cflag & 0xfffffeff;
      puVar5 = &DAT_0017f39d;
    }
    pcVar4 = var_7("Configuring %s parity",puVar5);
    var_8(serial->frontend,pcVar4);
    var_9(pcVar4);
    options.c_cflag = options.c_cflag | 0x880;
    options.c_lflag = options.c_lflag & 0xffffffe4;
    options.c_iflag = options.c_iflag & 0xfffffc1f;
    options.c_oflag = options.c_oflag & 0xffffffc2;
    options.c_cc[6] = '\x01';
    options.c_cc[5] = '\0';
    var_4 = var_10(serial->fd,0,(type_6 *)&options);
    pcVar4 = "Unable to configure serial port";
    if (-1 < var_4) {
      pcVar4 = (char *)0x0;
    }
  }
LAB_00154210:
  if (var_11 == *(long *)(var_1 + 0x28)) {
    return pcVar4;
  }
                    /* WARNING: Subroutine does not return */
  var_12();
}


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

char * MASKED(undefined8 *param_1,undefined8 param_2)

{
  int iVar1;
  undefined4 uVar2;
  char *pcVar3;
  undefined8 uVar4;
  undefined *puVar5;
  speed_t __speed;
  long in_FS_OFFSET;
  termios local_78;
  long local_30;
  
  local_30 = *(long *)(in_FS_OFFSET + 0x28);
  pcVar3 = "Unable to reconfigure already-closed serial connection";
  if (-1 < *(int *)(param_1 + 1)) {
    tcgetattr(*(int *)(param_1 + 1),&local_78);
    iVar1 = FUN_0011558e(param_2,0x3a);
    if (iVar1 < 0x4b) {
      uVar2 = 0x32;
      __speed = 1;
    }
    else if (iVar1 < 0x6e) {
      uVar2 = 0x4b;
      __speed = 2;
    }
    else if (iVar1 < 0x86) {
      uVar2 = 0x6e;
      __speed = 3;
    }
    else if (iVar1 < 0x96) {
      uVar2 = 0x86;
      __speed = 4;
    }
    else if (iVar1 < 200) {
      uVar2 = 0x96;
      __speed = 5;
    }
    else if (iVar1 < 300) {
      uVar2 = 200;
      __speed = 6;
    }
    else if (iVar1 < 600) {
      uVar2 = 300;
      __speed = 7;
    }
    else if (iVar1 < 0x4b0) {
      uVar2 = 600;
      __speed = 8;
    }
    else if (iVar1 < 0x708) {
      uVar2 = 0x4b0;
      __speed = 9;
    }
    else if (iVar1 < 0x960) {
      uVar2 = 0x708;
      __speed = 10;
    }
    else if (iVar1 < 0x12c0) {
      uVar2 = 0x960;
      __speed = 0xb;
    }
    else if (iVar1 < 0x2580) {
      uVar2 = 0x12c0;
      __speed = 0xc;
    }
    else if (iVar1 < 0x4b00) {
      uVar2 = 0x2580;
      __speed = 0xd;
    }
    else if (iVar1 < 0x9600) {
      uVar2 = 0x4b00;
      __speed = 0xe;
    }
    else if (iVar1 < 0xe100) {
      uVar2 = 0x9600;
      __speed = 0xf;
    }
    else if (iVar1 < 0x1c200) {
      uVar2 = 0xe100;
      __speed = 0x1001;
    }
    else if (iVar1 < 0x38400) {
      uVar2 = 0x1c200;
      __speed = 0x1002;
    }
    else if (iVar1 < 0x70800) {
      uVar2 = 0x38400;
      __speed = 0x1003;
    }
    else if (iVar1 < 500000) {
      uVar2 = 0x70800;
      __speed = 0x1004;
    }
    else if (iVar1 < 0x8ca00) {
      uVar2 = 500000;
      __speed = 0x1005;
    }
    else if (iVar1 < 0xe1000) {
      uVar2 = 0x8ca00;
      __speed = 0x1006;
    }
    else if (iVar1 < 1000000) {
      uVar2 = 0xe1000;
      __speed = 0x1007;
    }
    else if (iVar1 < 0x119400) {
      uVar2 = 1000000;
      __speed = 0x1008;
    }
    else if (iVar1 < 1500000) {
      uVar2 = 0x119400;
      __speed = 0x1009;
    }
    else if (iVar1 < 2000000) {
      uVar2 = 1500000;
      __speed = 0x100a;
    }
    else if (iVar1 < 2500000) {
      uVar2 = 2000000;
      __speed = 0x100b;
    }
    else if (iVar1 < 3000000) {
      uVar2 = 2500000;
      __speed = 0x100c;
    }
    else if (iVar1 < 3500000) {
      uVar2 = 3000000;
      __speed = 0x100d;
    }
    else {
      uVar2 = 3500000;
      if (3999999 < iVar1) {
        uVar2 = 4000000;
      }
      __speed = (3999999 < iVar1) + 0x100e;
    }
    cfsetispeed(&local_78,__speed);
    cfsetospeed(&local_78,__speed);
    uVar4 = FUN_0012292d("Configuring baud rate %d",uVar2);
    FUN_0014a676(*param_1,uVar4);
    FUN_00122b5a(uVar4);
    local_78.c_cflag = local_78.c_cflag & 0xffffffcf;
    iVar1 = FUN_0011558e(param_2,0x3b);
    if (iVar1 == 6) {
      local_78.c_cflag = local_78.c_cflag | 0x10;
    }
    else if (iVar1 < 7) {
      if (iVar1 != 5) {
        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";
        goto LAB_00154210;
      }
    }
    else if (iVar1 == 7) {
      local_78.c_cflag = local_78.c_cflag | 0x20;
    }
    else {
      if (iVar1 != 8) {
        pcVar3 = "Invalid number of data bits (need 5, 6, 7 or 8)";
        goto LAB_00154210;
      }
      local_78.c_cflag = local_78.c_cflag | 0x30;
    }
    uVar2 = FUN_0011558e(param_2,0x3b);
    uVar4 = FUN_0012292d("Configuring %d data bits",uVar2);
    FUN_0014a676(*param_1,uVar4);
    FUN_00122b5a(uVar4);
    iVar1 = FUN_0011558e(param_2,0x3c);
    if (iVar1 < 4) {
      local_78.c_cflag = local_78.c_cflag & 0xffffffbf;
    }
    else {
      local_78.c_cflag = local_78.c_cflag | 0x40;
    }
    uVar4 = FUN_0012292d("Configuring %d stop bits",((local_78.c_cflag & 0x40) != 0) + '\x01');
    FUN_0014a676(*param_1,uVar4);
    FUN_00122b5a(uVar4);
    local_78.c_iflag = local_78.c_iflag & 0xffffebff;
    local_78.c_cflag = local_78.c_cflag & 0x7fffffff;
    iVar1 = FUN_0011558e(param_2,0x3e);
    if (iVar1 == 1) {
      local_78.c_iflag = local_78.c_iflag | 0x1400;
      pcVar3 = "XON/XOFF";
    }
    else {
      pcVar3 = "no";
      if (iVar1 == 2) {
        local_78.c_cflag = local_78.c_cflag | 0x80000000;
        pcVar3 = "RTS/CTS";
      }
    }
    uVar4 = FUN_0012292d("Configuring %s flow control",pcVar3);
    FUN_0014a676(*param_1,uVar4);
    FUN_00122b5a(uVar4);
    iVar1 = FUN_0011558e(param_2,0x3d);
    if (iVar1 == 1) {
      local_78.c_cflag = local_78.c_cflag | 0x300;
      puVar5 = &DAT_00183872;
    }
    else if (iVar1 == 2) {
      local_78.c_cflag = local_78.c_cflag & 0xfffffdff | 0x100;
      puVar5 = &DAT_00183876;
    }
    else {
      local_78.c_cflag = local_78.c_cflag & 0xfffffeff;
      puVar5 = &DAT_0017f39d;
    }
    uVar4 = FUN_0012292d("Configuring %s parity",puVar5);
    FUN_0014a676(*param_1,uVar4);
    FUN_00122b5a(uVar4);
    local_78.c_cflag = local_78.c_cflag | 0x880;
    local_78.c_lflag = local_78.c_lflag & 0xffffffe4;
    local_78.c_iflag = local_78.c_iflag & 0xfffffc1f;
    local_78.c_oflag = local_78.c_oflag & 0xffffffc2;
    local_78.c_cc[6] = '\x01';
    local_78.c_cc[5] = '\0';
    iVar1 = tcsetattr(*(int *)(param_1 + 1),0,&local_78);
    pcVar3 = "Unable to configure serial port";
    if (-1 < iVar1) {
      pcVar3 = (char *)0x0;
    }
  }
LAB_00154210:
  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {
    return pcVar3;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}

