user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<c1_look_ahead_test>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  mov    %esi,%r13d
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %rdi,0x38(%rsp)
  mov    %edx,0x30(%rsp)
  mov    %r8d,0x2c(%rsp)
  cmp    $0x1,%ecx
  je     L860
  cmp    $0x4,%ecx
  je     L426
  jle    L611
  cmp    $0x5,%ecx
  je     L675
  cmp    $0x6,%ecx
  jne    L29
  pxor   %xmm4,%xmm4
L72:
  movss  D341(%rip),%xmm6
  movaps %xmm6,%xmm1
L558:
  movaps %xmm6,%xmm2
L725:
  movss  D221(%rip),%xmm5
  movaps %xmm6,%xmm3
  mov    %edx,%r14d
  movaps %xmm5,%xmm7
L190:
  cmp    %r13d,%r14d
  jge    L615
  movslq %r14d,%r15
  lea    0x8(%r14),%ebp
  add    0x38(%rsp),%r15
  movss  %xmm6,0x34(%rsp)
  nopl   0x0(%rax,%rax,1)
L256:
  movzbl (%r15),%r12d
  mov    %r12d,%edx
  test   %r12b,%r12b
  js     L409
  lea    -0x30(%r12),%ecx
  cmp    $0x9,%cl
  ja     L104
  addss  D91(%rip),%xmm7
  cmp    $0x20,%r12b
  je     L241
  movsd  D278(%rip),%xmm0
  cvtss2sd %xmm3,%xmm3
  addsd  %xmm0,%xmm3
  cvtsd2ss %xmm3,%xmm3
L570:
  mov    %r12d,%eax
  mov    $0x1,%esi
L469:
  cvtss2sd %xmm2,%xmm2
  addsd  %xmm0,%xmm2
  cvtsd2ss %xmm2,%xmm2
L484:
  test   %dl,%dl
  js     L102
  test   %esi,%esi
  jne    L832
  movsd  D67(%rip),%xmm0
L522:
  cvtss2sd %xmm2,%xmm2
  addsd  %xmm0,%xmm2
  cvtsd2ss %xmm2,%xmm2
L832:
  cmp    $0xd,%al
  je     L627
  cmp    $0x2a,%al
  jne    L26
  movsd  D278(%rip),%xmm0
  cvtss2sd %xmm1,%xmm1
  mov    $0x1,%ecx
  addsd  %xmm0,%xmm1
  cvtsd2ss %xmm1,%xmm1
L556:
  test   %dl,%dl
  js     L477
  test   %ecx,%ecx
  jne    L293
  cvtss2sd %xmm1,%xmm1
  addsd  D37(%rip),%xmm1
  cvtsd2ss %xmm1,%xmm1
  jmp    L293
  cs nopw 0x0(%rax,%rax,1)
L409:
  sub    $0x7f,%r12d
  mov    %r12d,%ebx
L878:
  movaps %xmm7,%xmm0
  movss  %xmm3,0x20(%rsp)
  movss  %xmm1,0x18(%rsp)
  movss  %xmm4,0x10(%rsp)
  movss  %xmm2,0x8(%rsp)
  movss  %xmm5,(%rsp)
  call   <froundup@plt>
  movzbl (%r15),%eax
  movss  (%rsp),%xmm5
  lea    -0x30(%r12),%ecx
  movss  0x8(%rsp),%xmm2
  movss  0x10(%rsp),%xmm4
  movaps %xmm0,%xmm7
  test   %al,%al
  movss  0x18(%rsp),%xmm1
  movss  0x20(%rsp),%xmm3
  mov    %eax,%edx
  js     L275
  addss  %xmm5,%xmm7
L606:
  cmp    $0x20,%r12b
  je     L465
  xor    %esi,%esi
  cmp    $0x9,%cl
  jbe    L9
L691:
  lea    -0x41(%r12),%r8d
  cmp    $0x19,%r8b
  ja     L165
  movsd  D278(%rip),%xmm0
  cvtss2sd %xmm3,%xmm3
  addsd  %xmm0,%xmm3
  cvtsd2ss %xmm3,%xmm3
  test   %dl,%dl
  js     L532
L169:
  cmp    $0x20,%bl
  je     L745
  nopl   0x0(%rax)
L758:
  cmp    $0x9,%cl
  jbe    L593
  sub    $0x61,%r12d
  cmp    $0x19,%r12b
  ja     L484
  movsd  D278(%rip),%xmm0
  cvtss2sd %xmm2,%xmm2
  addsd  %xmm0,%xmm2
  cvtsd2ss %xmm2,%xmm2
  test   %dl,%dl
  jns    L832
  movsd  D67(%rip),%xmm0
  cvtss2sd %xmm2,%xmm2
  addsd  %xmm0,%xmm2
  cvtsd2ss %xmm2,%xmm2
L26:
  cmp    $0x3e,%al
  jne    L336
L850:
  movsd  D278(%rip),%xmm0
  cvtss2sd %xmm1,%xmm1
  addsd  %xmm0,%xmm1
  cvtsd2ss %xmm1,%xmm1
  test   %dl,%dl
  js     L477
L293:
  cmp    $0x5b,%al
  jne    L122
  mov    0x2c(%rsp),%eax
  test   %eax,%eax
  jne    L226
L122:
  add    $0x1,%r14d
  addss  %xmm5,%xmm4
  cmp    %r14d,%r13d
  je     L246
L728:
  add    $0x1,%r15
  cmp    %ebp,%r14d
  jle    L256
  movaps %xmm7,%xmm0
  movss  %xmm4,0x20(%rsp)
  movss  %xmm1,0x2c(%rsp)
  movss  %xmm2,(%rsp)
  movss  %xmm3,0x8(%rsp)
  call   <froundup@plt>
  movss  0x8(%rsp),%xmm3
  movss  %xmm0,0x18(%rsp)
  movaps %xmm3,%xmm0
  call   <froundup@plt>
  movss  (%rsp),%xmm2
  movss  %xmm0,0x10(%rsp)
  movaps %xmm2,%xmm0
  call   <froundup@plt>
  movss  0x2c(%rsp),%xmm1
  movss  %xmm0,0x8(%rsp)
  movaps %xmm1,%xmm0
  call   <froundup@plt>
  movss  0x20(%rsp),%xmm4
  movss  %xmm0,(%rsp)
  movaps %xmm4,%xmm0
  call   <froundup@plt>
  movss  (%rsp),%xmm6
  movss  0x8(%rsp),%xmm2
  movss  0x10(%rsp),%xmm3
  movss  0x18(%rsp),%xmm5
L159:
  movsd  D106(%rip),%xmm4
  pxor   %xmm8,%xmm8
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm2,%xmm2
  cvtss2sd %xmm6,%xmm8
  movapd %xmm8,%xmm7
  cvtss2sd %xmm5,%xmm1
  pxor   %xmm5,%xmm5
  addsd  %xmm4,%xmm7
  cvtss2sd %xmm3,%xmm5
  comisd %xmm7,%xmm1
  jb     L120
  comisd %xmm7,%xmm5
  jae    L445
L120:
  mov    $0x1,%eax
  cvtss2sd %xmm0,%xmm0
L737:
  movapd %xmm5,%xmm7
  addsd  %xmm4,%xmm7
  comisd %xmm7,%xmm1
  jb     L406
  comisd %xmm7,%xmm2
  jb     L406
  comiss %xmm3,%xmm6
  ja     L145
  ucomiss %xmm6,%xmm3
  jp     L406
  je     L805
  nopl   (%rax)
L406:
  movapd %xmm2,%xmm3
  addsd  %xmm4,%xmm3
  comisd %xmm3,%xmm1
  jb     L86
  comisd %xmm3,%xmm5
  jb     L86
  comisd %xmm3,%xmm0
  jb     L86
  ucomisd %xmm3,%xmm8
  mov    $0x4,%edx
  cmovae %edx,%eax
  nopw   0x0(%rax,%rax,1)
L86:
  movapd %xmm1,%xmm3
  addsd  %xmm4,%xmm3
  comisd %xmm3,%xmm0
  jb     L250
  comisd %xmm3,%xmm5
  jb     L250
  comisd %xmm3,%xmm2
  jb     L250
  ucomisd %xmm3,%xmm8
  mov    $0x1,%edx
  cmovae %edx,%eax
  nopw   0x0(%rax,%rax,1)
L250:
  addsd  %xmm4,%xmm0
  comisd %xmm0,%xmm1
  jb     L774
  comisd %xmm0,%xmm5
  jb     L774
  comisd %xmm0,%xmm2
  jb     L774
  comisd %xmm0,%xmm8
  jae    L188
L774:
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L9:
  movsd  D278(%rip),%xmm0
  cvtss2sd %xmm3,%xmm3
  addsd  %xmm0,%xmm3
  cvtsd2ss %xmm3,%xmm3
  test   %al,%al
  jns    L515
  mov    $0x1,%esi
L345:
  movsd  D67(%rip),%xmm0
  cvtss2sd %xmm3,%xmm3
  addsd  %xmm0,%xmm3
  cvtsd2ss %xmm3,%xmm3
L527:
  test   %esi,%esi
  jne    L169
L532:
  movsd  D67(%rip),%xmm0
  cvtss2sd %xmm3,%xmm3
  addsd  %xmm0,%xmm3
  cvtsd2ss %xmm3,%xmm3
  cmp    $0x20,%bl
  jne    L758
L745:
  movsd  D278(%rip),%xmm0
  cvtss2sd %xmm2,%xmm2
  addsd  %xmm0,%xmm2
  cvtsd2ss %xmm2,%xmm2
  cmp    $0x9,%cl
  jbe    L469
  jmp    L484
  nopl   0x0(%rax)
L627:
  movsd  D278(%rip),%xmm0
  cvtss2sd %xmm1,%xmm1
  mov    $0x1,%ecx
  addsd  %xmm0,%xmm1
  cvtsd2ss %xmm1,%xmm1
L687:
  lea    -0x41(%rax),%esi
  cmp    $0x19,%sil
  ja     L556
  cvtss2sd %xmm1,%xmm1
  addsd  D278(%rip),%xmm1
  cvtsd2ss %xmm1,%xmm1
  test   %dl,%dl
  jns    L122
L477:
  cvtss2sd %xmm1,%xmm1
  addsd  D84(%rip),%xmm1
  cvtsd2ss %xmm1,%xmm1
  jmp    L293
L336:
  cmp    $0x20,%al
  je     L850
  lea    -0x30(%rax),%ecx
  cmp    $0x9,%cl
  ja     L524
  movsd  D278(%rip),%xmm0
  cvtss2sd %xmm1,%xmm1
  addsd  %xmm0,%xmm1
  cvtsd2ss %xmm1,%xmm1
  test   %dl,%dl
  jns    L122
  cvtss2sd %xmm1,%xmm1
  addsd  D84(%rip),%xmm1
  cvtsd2ss %xmm1,%xmm1
  jmp    L293
  nopl   0x0(%rax,%rax,1)
L241:
  mov    $0x20,%eax
L465:
  cvtss2sd %xmm3,%xmm3
  mov    $0x20,%ebx
  mov    $0x1,%esi
  movsd  D278(%rip),%xmm0
  addsd  %xmm0,%xmm3
  cvtsd2ss %xmm3,%xmm3
  jmp    L691
  nopl   0x0(%rax,%rax,1)
L102:
  movsd  D67(%rip),%xmm0
  cvtss2sd %xmm2,%xmm2
  addsd  %xmm0,%xmm2
  cvtsd2ss %xmm2,%xmm2
  test   %esi,%esi
  je     L522
  jmp    L26
  nopl   0x0(%rax)
L226:
  add    $0x1,%r14d
  addss  D44(%rip),%xmm4
  cmp    %r14d,%r13d
  jne    L728
  nopl   (%rax)
L246:
  movaps %xmm7,%xmm0
  movss  %xmm4,0x2c(%rsp)
  movss  %xmm1,0x20(%rsp)
  movss  %xmm2,0x8(%rsp)
  movss  %xmm3,(%rsp)
  call   <froundup@plt>
  movss  (%rsp),%xmm3
  movss  %xmm0,0x18(%rsp)
  movaps %xmm3,%xmm0
  call   <froundup@plt>
  movss  0x8(%rsp),%xmm2
  movss  %xmm0,0x10(%rsp)
  movaps %xmm2,%xmm0
  call   <froundup@plt>
  movss  0x20(%rsp),%xmm1
  movss  %xmm0,0x8(%rsp)
  movaps %xmm1,%xmm0
  call   <froundup@plt>
  movss  0x2c(%rsp),%xmm4
  movss  %xmm0,(%rsp)
  movaps %xmm4,%xmm0
  call   <froundup@plt>
  movss  (%rsp),%xmm6
  movss  0x8(%rsp),%xmm2
  movss  0x10(%rsp),%xmm3
  movss  0x18(%rsp),%xmm5
L213:
  cvttss2si %xmm6,%eax
  pxor   %xmm1,%xmm1
  cvtsi2ss %eax,%xmm1
  mov    $0x1,%eax
  comiss %xmm2,%xmm1
  jb     L244
  cvttss2si %xmm2,%eax
  pxor   %xmm1,%xmm1
  cvtsi2ss %eax,%xmm1
  mov    $0x4,%eax
L244:
  comiss %xmm3,%xmm1
  jb     L471
  cvttss2si %xmm3,%eax
  pxor   %xmm1,%xmm1
  cvtsi2ss %eax,%xmm1
  mov    $0x2,%eax
L471:
  comiss %xmm5,%xmm1
  jb     L694
  cvttss2si %xmm5,%eax
  pxor   %xmm1,%xmm1
  cvtsi2ss %eax,%xmm1
  mov    $0x1,%eax
L694:
  comiss %xmm0,%xmm1
  jb     L774
L188:
  add    $0x48,%rsp
  mov    $0x6,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L275:
  addss  0x34(%rsp),%xmm7
  jmp    L606
  nopl   0x0(%rax,%rax,1)
L611:
  movss  D341(%rip),%xmm6
  movss  D44(%rip),%xmm4
  movaps %xmm6,%xmm1
  movaps %xmm6,%xmm2
  cmp    $0x2,%ecx
  jne    L725
  movss  D221(%rip),%xmm5
  pxor   %xmm3,%xmm3
  mov    %edx,%r14d
  movaps %xmm5,%xmm7
  jmp    L190
  xchg   %ax,%ax
L675:
  movss  D44(%rip),%xmm4
  movss  D341(%rip),%xmm6
  pxor   %xmm1,%xmm1
  jmp    L558
  nopl   0x0(%rax)
L860:
  movss  D221(%rip),%xmm5
  movss  D341(%rip),%xmm6
  pxor   %xmm7,%xmm7
  mov    %edx,%r14d
  movaps %xmm6,%xmm4
  movaps %xmm5,%xmm1
  movaps %xmm5,%xmm2
  movaps %xmm5,%xmm3
  jmp    L190
  nopl   0x0(%rax,%rax,1)
L426:
  movss  D341(%rip),%xmm6
  movss  D221(%rip),%xmm5
  pxor   %xmm2,%xmm2
  mov    %edx,%r14d
  movss  D44(%rip),%xmm4
  movaps %xmm6,%xmm1
  movaps %xmm6,%xmm3
  movaps %xmm5,%xmm7
  jmp    L190
  nopl   (%rax)
L445:
  cvtss2sd %xmm0,%xmm0
  comisd %xmm7,%xmm0
  mov    $0x1,%eax
  jb     L737
  comisd %xmm7,%xmm2
  sbb    %eax,%eax
  and    $0xfffffffc,%eax
  add    $0x5,%eax
  jmp    L737
L615:
  movaps %xmm7,%xmm0
  movss  %xmm4,0x20(%rsp)
  movss  %xmm1,0x2c(%rsp)
  movss  %xmm2,(%rsp)
  movss  %xmm3,0x8(%rsp)
  call   <froundup@plt>
  movss  0x8(%rsp),%xmm3
  movss  %xmm0,0x18(%rsp)
  movaps %xmm3,%xmm0
  call   <froundup@plt>
  movss  (%rsp),%xmm2
  movss  %xmm0,0x10(%rsp)
  movaps %xmm2,%xmm0
  call   <froundup@plt>
  movss  0x2c(%rsp),%xmm1
  movss  %xmm0,0x8(%rsp)
  movaps %xmm1,%xmm0
  call   <froundup@plt>
  movss  0x20(%rsp),%xmm4
  movss  %xmm0,(%rsp)
  movaps %xmm4,%xmm0
  call   <froundup@plt>
  cmp    %r13d,0x30(%rsp)
  movss  (%rsp),%xmm6
  movss  0x8(%rsp),%xmm2
  movss  0x10(%rsp),%xmm3
  movss  0x18(%rsp),%xmm5
  jne    L159
  jmp    L213
  nopl   0x0(%rax,%rax,1)
L145:
  mov    $0x2,%eax
  jmp    L406
L805:
  mov    0x30(%rsp),%edx
  mov    0x38(%rsp),%rdi
  mov    %r13d,%esi
  movsd  %xmm0,0x20(%rsp)
  movsd  %xmm2,0x18(%rsp)
  movsd  %xmm5,0x10(%rsp)
  movsd  %xmm1,0x8(%rsp)
  movsd  %xmm8,(%rsp)
  call   <dq4bi@plt>
  movsd  (%rsp),%xmm8
  movsd  0x8(%rsp),%xmm1
  test   %rax,%rax
  mov    D106(%rip),%rax
  movsd  0x10(%rsp),%xmm5
  movsd  0x18(%rsp),%xmm2
  movsd  0x20(%rsp),%xmm0
  movq   %rax,%xmm4
  je     L145
  mov    $0x5,%eax
  jmp    L406
L524:
  xor    %ecx,%ecx
  jmp    L687
L29:
  movss  D44(%rip),%xmm4
  jmp    L72
L593:
  movsd  D278(%rip),%xmm0
  jmp    L469
L165:
  test   %dl,%dl
  jns    L527
  jmp    L345
L104:
  mov    %r12d,%ebx
  jmp    L878
L515:
  mov    %eax,%r12d
  jmp    L570
```

tool_calls: name: extract_symbolic_data
arguments: label: D341
data_type: f32
name: extract_symbolic_data
arguments: label: D221
data_type: f32
name: extract_symbolic_data
arguments: label: D91
data_type: f32
name: extract_symbolic_data
arguments: label: D278
data_type: byte[8]
name: extract_symbolic_data
arguments: label: D67
data_type: byte[8]
name: extract_symbolic_data
arguments: label: D37
data_type: byte[8]
name: extract_symbolic_data
arguments: label: D106
data_type: f32[2]
name: extract_symbolic_data
arguments: label: D84
data_type: byte[8]
name: extract_symbolic_data
arguments: label: D44
data_type: f32

tool: D341: 2

tool: D221: 1

tool: D91: 0.5

tool: {"D278": [0x55,0x55,0x55,0x55,0x55,0x55,0xe5,0x3f]}

tool: {"D67": [0x55,0x55,0x55,0x55,0x55,0x55,0xf5,0x3f]}

tool: {"D37": [0xab,0xaa,0xaa,0xaa,0xaa,0xaa,0x0a,0x40]}

tool: {"D106": [0.0,1.875]}

tool: {"D84": [0x55,0x55,0x55,0x55,0x55,0x55,0x11,0x40]}

tool: D44: 3

assistant: ```c
int c1_look_ahead_test(unsigned char source[], int sourcelen, int position, int current_mode, int gs1) {
  float ascii_count, c40_count, text_count, edi_count, byte_count;
  char reduced_char;
  int done, best_scheme, best_count, sp;
  if (current_mode == 1) {
    ascii_count = 0.0;
    c40_count = 1.0;
    text_count = 1.0;
    edi_count = 1.0;
    byte_count = 2.0;
  } else {
    ascii_count = 1.0;
    c40_count = 2.0;
    text_count = 2.0;
    edi_count = 2.0;
    byte_count = 3.0;
  }
  switch (current_mode) {
  case 2:
    c40_count = 0.0;
    break;
  case 4:
    text_count = 0.0;
    break;
  case 6:
    byte_count = 0.0;
    break;
  case 5:
    edi_count = 0.0;
    break;
  }
  for (sp = position; (sp < sourcelen) && (sp <= (position + 8)); sp++) {
    if (source[sp] <= 127) {
      reduced_char = source[sp];
    } else {
      reduced_char = source[sp] - 127;
    }
    if ((source[sp] >= '0') && (source[sp] <= '9')) {
      ascii_count += 0.5;
    } else {
      ascii_count = froundup(ascii_count);
      if (source[sp] > 127) {
        ascii_count += 2.0;
      } else {
        ascii_count += 1.0;
      }
    }
    done = 0;
    if (reduced_char == ' ') {
      c40_count += (2.0 / 3.0);
      done = 1;
    }
    if ((reduced_char >= '0') && (reduced_char <= '9')) {
      c40_count += (2.0 / 3.0);
      done = 1;
    }
    if ((reduced_char >= 'A') && (reduced_char <= 'Z')) {
      c40_count += (2.0 / 3.0);
      done = 1;
    }
    if (source[sp] > 127) {
      c40_count += (4.0 / 3.0);
    }
    if (done == 0) {
      c40_count += (4.0 / 3.0);
    }
    done = 0;
    if (reduced_char == ' ') {
      text_count += (2.0 / 3.0);
      done = 1;
    }
    if ((reduced_char >= '0') && (reduced_char <= '9')) {
      text_count += (2.0 / 3.0);
      done = 1;
    }
    if ((reduced_char >= 'a') && (reduced_char <= 'z')) {
      text_count += (2.0 / 3.0);
      done = 1;
    }
    if (source[sp] > 127) {
      text_count += (4.0 / 3.0);
    }
    if (done == 0) {
      text_count += (4.0 / 3.0);
    }
    done = 0;
    if (source[sp] == 13) {
      edi_count += (2.0 / 3.0);
      done = 1;
    }
    if (source[sp] == '*') {
      edi_count += (2.0 / 3.0);
      done = 1;
    }
    if (source[sp] == '>') {
      edi_count += (2.0 / 3.0);
      done = 1;
    }
    if (source[sp] == ' ') {
      edi_count += (2.0 / 3.0);
      done = 1;
    }
    if ((source[sp] >= '0') && (source[sp] <= '9')) {
      edi_count += (2.0 / 3.0);
      done = 1;
    }
    if ((source[sp] >= 'A') && (source[sp] <= 'Z')) {
      edi_count += (2.0 / 3.0);
      done = 1;
    }
    if (source[sp] > 127) {
      edi_count += (13.0 / 3.0);
    } else {
      if (done == 0) {
        edi_count += (10.0 / 3.0);
      }
    }
    if (gs1 && (source[sp] == '[')) {
      byte_count += 3.0;
    } else {
      byte_count += 1.0;
    }
  }
  ascii_count = froundup(ascii_count);
  c40_count = froundup(c40_count);
  text_count = froundup(text_count);
  edi_count = froundup(edi_count);
  byte_count = froundup(byte_count);
  best_scheme = 1;
  if (sp == sourcelen) {
    best_count = edi_count;
    if (text_count <= best_count) {
      best_count = text_count;
      best_scheme = 4;
    }
    if (c40_count <= best_count) {
      best_count = c40_count;
      best_scheme = 2;
    }
    if (ascii_count <= best_count) {
      best_count = ascii_count;
      best_scheme = 1;
    }
    if (byte_count <= best_count) {
      best_count = byte_count;
      best_scheme = 6;
    }
  } else {
    if (((edi_count + 1.0 <= ascii_count) && (edi_count + 1.0 <= c40_count)) && ((edi_count + 1.0 <= byte_count) && (edi_count + 1.0 <= text_count))) {
      best_scheme = 5;
    }
    if ((c40_count + 1.0 <= ascii_count) && (c40_count + 1.0 <= text_count)) {
      if (c40_count < edi_count) {
        best_scheme = 2;
      } else {
        done = 0;
        if (c40_count == edi_count) {
          if (dq4bi(source, sourcelen, position)) {
            best_scheme = 5;
          } else {
            best_scheme = 2;
          }
        }
      }
    }
    if (((text_count + 1.0 <= ascii_count) && (text_count + 1.0 <= c40_count)) && ((text_count + 1.0 <= byte_count) && (text_count + 1.0 <= edi_count))) {
      best_scheme = 4;
    }
    if (((ascii_count + 1.0 <= byte_count) && (ascii_count + 1.0 <= c40_count)) && ((ascii_count + 1.0 <= text_count) && (ascii_count + 1.0 <= edi_count))) {
      best_scheme = 1;
    }
    if (((byte_count + 1.0 <= ascii_count) && (byte_count + 1.0 <= c40_count)) && ((byte_count + 1.0 <= text_count) && (byte_count + 1.0 <= edi_count))) {
      best_scheme = 6;
    }
  }
  return best_scheme;
}
```