// File: /workspace/github_cpp_makefile_star2_O3/kobanium[P]Ray/src/mcts/Rating.cpp
// Function: PartialRating(game_info_t*, int, long long*, long long*, long long*)
void
PartialRating( game_info_t *game, int color, long long *sum_rate, long long *sum_rate_row, long long *rate )
{
  const int other = GetOppositeColor(color);
  int pm1 = PASS, pm2 = PASS, pm3 = PASS;
  int distance_2[4], distance_3[4], distance_4[4];
  bool flag[BOARD_MAX] = { false };  
  int *update_pos = game->update_pos[color - 1];
  int &update_num = game->update_num[color - 1];
  int nakade_pos[4] = { 0 };
  int nakade_num = 0;
  const int prev_feature = game->update_num[color - 1];
  int prev_feature_pos[PURE_BOARD_MAX];

  for (int i = 0; i < prev_feature; i++){
    prev_feature_pos[i] = update_pos[i];
  }

  game->update_num[color - 1] = 0;

  pm1 = game->record[game->moves - 1].pos;
  if (game->moves > 2) pm2 = game->record[game->moves - 2].pos;
  if (game->moves > 3) pm3 = game->record[game->moves - 3].pos;

  if (game->ko_move == game->moves - 2){
    CheckCaptureAfterKoForSimulation(game, color, update_pos, update_num);
  }

  if (pm1 != PASS) {
    Neighbor12(pm1, distance_2, distance_3, distance_4);
    CheckFeaturesForSimulation(game, color, update_pos, update_num);
    CheckRemove2StonesForSimulation(game, color, update_pos, update_num);

    SearchNakade(game, &nakade_num, nakade_pos);
    UpdateCriticalPoint(game, color, sum_rate, sum_rate_row, rate, nakade_pos, nakade_num, flag, pm1);
    // 着手距離2の更新
    UpdateAroundPreviousMove(game, color, sum_rate, sum_rate_row, rate, distance_2, flag, 0);
    // 着手距離3の更新
    UpdateAroundPreviousMove(game, color, sum_rate, sum_rate_row, rate, distance_3, flag, 1);
    // 着手距離4の更新
    UpdateAroundPreviousMove(game, color, sum_rate, sum_rate_row, rate, distance_4, flag, 2);
  }

  // 2手前の着手の12近傍の更新
  if (pm2 != PASS) UpdateNeighborCoordinates(game, color, sum_rate, sum_rate_row, rate, 1, &pm2, flag);
  // 3手前の着手の12近傍の更新
  if (pm3 != PASS) UpdateNeighborCoordinates(game, color, sum_rate, sum_rate_row, rate, 1, &pm3, flag);

  // 以前の着手で戦術的特徴が現れた箇所の更新
  OtherUpdate(game, color, sum_rate, sum_rate_row, rate, prev_feature, prev_feature_pos, flag);
  // 最近の自分の着手の時に戦術的特徴が現れた箇所の更新
  OtherUpdate(game, color, sum_rate, sum_rate_row, rate, game->update_num[color - 1], game->update_pos[color - 1], flag);
  // 最近の相手の着手の時に戦術的特徴が現れた箇所の更新
  OtherUpdate(game, color, sum_rate, sum_rate_row, rate, game->update_num[other - 1], game->update_pos[other - 1], flag);
  // 自分の着手で石を打ち上げた箇所のとその周囲の更新
  CaptureUpdateColor(game, color, sum_rate, sum_rate_row, rate, game->capture_pos[color - 1], flag);
  // 相手の着手で石を打ち上げられた箇所とその周囲の更新
  CaptureUpdateOther(game, color, sum_rate, sum_rate_row, rate, game->capture_pos[other - 1], flag);

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x9b8, %rsp            # imm = 0x9B8
movq %r8, 0x38(%rsp)
movq %rcx, 0x20(%rsp)
movq %rdx, 0x18(%rsp)
movl %esi, %ebp
movq %rdi, %rbx
xorl %eax, %eax
movl %eax, 0x54(%rsp)
movl %eax, 0x50(%rsp)
leaq 0xc0(%rsp), %rdi
movl $0x349, %edx            # imm = 0x349
xorl %esi, %esi
callq 0x6200
movslq %ebp, %rax
leaq -0x1(%rax), %rcx
movq %rcx, 0x58(%rsp)
imulq $0x5a4, %rcx, %rcx      # imm = 0x5A4
leaq (%rbx,%rcx), %r14
addq $0x99d00, %r14          # imm = 0x99D00
movq %rbx, 0x10(%rsp)
leaq (%rbx,%rax,4), %r13
addq $0x99cf4, %r13          # imm = 0x99CF4
xorl %ebx, %ebx
xorpd %xmm0, %xmm0
movapd %xmm0, 0xb0(%rsp)
movl %ebx, 0x6c(%rsp)
movslq (%r13), %rax
testq %rax, %rax
movq %rax, 0xa0(%rsp)
jle 0x46dee
leaq (,%rax,4), %rdx
leaq 0x410(%rsp), %rdi
movq %r14, %rsi
callq 0x6320
movl $0x0, (%r13)
movq 0x10(%rsp), %rdi
movslq 0x43b0(%rdi), %rdx
movq %rdx, %rax
shlq $0x4, %rax
leal -0x2(%rdx), %ecx
movb $0x1, 0xf(%rsp)
cmpq $0x3, %rdx
jl 0x46e47
movl %ecx, %esi
shlq $0x4, %rsi
movl 0x4(%rdi,%rsi), %ebx
movl %ebx, 0x54(%rsp)
cmpl $0x3, %edx
jne 0x46e31
movl $0x1, %ecx
jmp 0x46e47
addl $-0x3, %edx
shlq $0x4, %rdx
movl 0x4(%rdi,%rdx), %edx
movl %edx, 0x50(%rsp)
testl %edx, %edx
sete 0xf(%rsp)
movq 0x10(%rsp), %rdx
movslq -0xc(%rax,%rdx), %rsi
cmpl %ecx, 0x43c8(%rdx)
movq %rsi, 0x40(%rsp)
jne 0x46e75
movq 0x10(%rsp), %rdi
movl %ebp, %esi
movq %r14, %rdx
movq %r13, %rcx
callq 0x58535
movq 0x40(%rsp), %rsi
testl %esi, %esi
movq %r14, 0xa8(%rsp)
movl %ebp, 0x34(%rsp)
je 0x47218
movl %ebx, 0x68(%rsp)
movl 0x33e55(%rip), %eax     # 0x7ace8
addl %esi, %eax
movl %eax, 0x90(%rsp)
movl 0x33e52(%rip), %eax     # 0x7acf4
addl %esi, %eax
movl %eax, 0x94(%rsp)
movl 0x33e4b(%rip), %eax     # 0x7acfc
addl %esi, %eax
movl %eax, 0x98(%rsp)
movl 0x33e48(%rip), %eax     # 0x7ad08
addl %esi, %eax
movl %eax, 0x9c(%rsp)
movl 0x33e15(%rip), %eax     # 0x7ace4
addl %esi, %eax
movl %eax, 0x80(%rsp)
movl 0x33e0e(%rip), %eax     # 0x7acec
addl %esi, %eax
movl %eax, 0x84(%rsp)
movl 0x33e17(%rip), %eax     # 0x7ad04
addl %esi, %eax
movl %eax, 0x88(%rsp)
movl 0x33e10(%rip), %eax     # 0x7ad0c
addl %esi, %eax
movl %eax, 0x8c(%rsp)
movl 0x33dd5(%rip), %eax     # 0x7ace0
addl %esi, %eax
movl %eax, 0x70(%rsp)
movl 0x33dd9(%rip), %eax     # 0x7acf0
addl %esi, %eax
movl %eax, 0x74(%rsp)
movl 0x33ddd(%rip), %eax     # 0x7ad00
addl %esi, %eax
movl %eax, 0x78(%rsp)
movl 0x33de1(%rip), %eax     # 0x7ad10
addl %esi, %eax
movl %eax, 0x7c(%rsp)
movq 0x10(%rsp), %rbx
movq %rbx, %rdi
movl %ebp, %esi
movq %r14, %rdx
movq %r13, %rcx
callq 0x5712c
movq %rbx, %rdi
movl %ebp, %esi
movq %r14, %rdx
movq %r13, %rcx
callq 0x58dc7
leaq 0x6c(%rsp), %r13
leaq 0xb0(%rsp), %rdx
movq %rbx, %rdi
movq %r13, %rsi
callq 0x5984f
movslq (%r13), %r12
testq %r12, %r12
jle 0x4718e
movq 0x10(%rsp), %rax
leaq 0x4748(%rax), %rcx
movq %rcx, 0x60(%rsp)
leaq 0x97372(%rax), %rbp
xorl %r14d, %r14d
leaq 0x1aac7a0f(%rip), %r8   # 0x1ab0e9b0
movq %r12, 0x28(%rsp)
movl 0x34(%rsp), %r15d
movslq 0xb0(%rsp,%r14,4), %r13
cmpq $-0x1, %r13
je 0x47182
movq 0x10(%rsp), %rax
cmpb $0x1, 0x96ce0(%rax,%r13)
jne 0x47182
movq 0x10(%rsp), %rbx
movq %rbx, %rdi
movl %r15d, %esi
movl %r13d, %edx
movq %r8, %r12
callq 0x5871b
movq %r12, %r8
movq 0x38(%rsp), %rsi
movq (%rsi,%r13,8), %rcx
movq 0x18(%rsp), %rdx
subq %rcx, (%rdx)
movq (%rsi,%r13,8), %rcx
movslq (%r12,%r13,4), %rdx
movq 0x20(%rsp), %rdi
subq %rcx, (%rdi,%rdx,8)
testb %al, %al
je 0x47153
movq %rbx, %rdi
movl %r15d, %esi
movl %r13d, %edx
movq %r8, %rbx
callq 0x58c25
movq 0x40(%rsp), %rdx
leaq 0x1aac6c4f(%rip), %rcx  # 0x1ab0dc80
movl (%rcx,%rdx,4), %eax
subl (%rcx,%r13,4), %eax
movl %eax, %ecx
negl %ecx
cmovsl %eax, %ecx
movl (%rbx,%rdx,4), %eax
subl (%rbx,%r13,4), %eax
movl %eax, %edx
negl %edx
cmovsl %eax, %edx
imulq $0x4c, %rcx, %rax
addq 0x2ef18(%rip), %rax     # 0x75f70
movslq (%rax,%rdx,4), %rax
movsd 0x15fbc(%rip), %xmm0    # 0x5d020
cmpq $0x4, %rax
jg 0x47082
leaq 0x4033caf(%rip), %rcx   # 0x407ad20
xorps %xmm0, %xmm0
cvtss2sd -0x8(%rcx,%rax,4), %xmm0
mulsd 0x15f9e(%rip), %xmm0    # 0x5d020
movsd %xmm0, 0x48(%rsp)
movq 0x60(%rsp), %rdi
movl %r13d, %esi
callq 0x4fc36
movl %eax, %eax
leaq 0x33c82(%rip), %rcx     # 0x7ad20
xorps %xmm0, %xmm0
cvtss2sd (%rcx,%rax,4), %xmm0
movq %r13, %rax
addq %r13, %rax
leaq (%rax,%rax,2), %rax
movzbl (%rbp,%rax), %ecx
leaq 0x4033c84(%rip), %rdx   # 0x407ad40
movss (%rdx,%rcx,4), %xmm1
movzbl 0x1(%rbp,%rax), %ecx
leaq 0x4033cc3(%rip), %rdx   # 0x407ad90
mulss (%rdx,%rcx,4), %xmm1
movzbl 0x2(%rbp,%rax), %ecx
leaq 0x4033cd2(%rip), %rdx   # 0x407adb0
mulss (%rdx,%rcx,4), %xmm1
mulsd 0x48(%rsp), %xmm0
movzbl 0x3(%rbp,%rax), %ecx
leaq 0x4033ceb(%rip), %rdx   # 0x407ade0
mulss (%rdx,%rcx,4), %xmm1
movzbl 0x4(%rbp,%rax), %ecx
leaq 0x4033cee(%rip), %rdx   # 0x407adf4
mulss (%rdx,%rcx,4), %xmm1
movzbl 0x5(%rbp,%rax), %ecx
leaq 0x4033ce9(%rip), %rdx   # 0x407ae00
mulss (%rdx,%rcx,4), %xmm1
cvtss2sd %xmm1, %xmm1
mulsd %xmm0, %xmm1
cvttsd2si %xmm1, %rcx
incq %rcx
movq 0x38(%rsp), %rdx
movq %rcx, (%rdx,%r13,8)
movq 0x18(%rsp), %rsi
addq %rcx, (%rsi)
movq (%rdx,%r13,8), %rcx
movq %r12, %r8
movslq (%r12,%r13,4), %rdx
movq 0x20(%rsp), %rsi
addq %rcx, (%rsi,%rdx,8)
jmp 0x47165
movq $0x0, (%rsi,%r13,8)
movq %r13, %rax
addq %r13, %rax
leaq (%rax,%rax,2), %rax
movw $0x0, 0x4(%rbp,%rax)
movl $0x0, (%rbp,%rax)
movb $0x1, 0xc0(%rsp,%r13)
movq 0x28(%rsp), %r12
incq %r14
cmpq %r14, %r12
jne 0x46fab
leaq 0x90(%rsp), %r9
movq 0x10(%rsp), %r14
movq %r14, %rdi
movl 0x34(%rsp), %ebp
movl %ebp, %esi
movq 0x20(%rsp), %r13
movq 0x18(%rsp), %r12
movq %r12, %rdx
movq %r13, %rcx
movq 0x38(%rsp), %rbx
movq %rbx, %r8
pushq $0x0
leaq 0xc8(%rsp), %r15
pushq %r15
callq 0x47778
addq $0x10, %rsp
leaq 0x80(%rsp), %r9
movq %r14, %rdi
movl %ebp, %esi
movq %r12, %rdx
movq %r13, %rcx
movq %rbx, %r8
pushq $0x1
pushq %r15
callq 0x47778
addq $0x10, %rsp
leaq 0x70(%rsp), %r9
movq %r14, %rdi
movl %ebp, %esi
movq %r12, %rdx
movq %r13, %rcx
movq %rbx, %r8
pushq $0x2
pushq %r15
callq 0x47778
addq $0x10, %rsp
movl 0x68(%rsp), %ebx
testl %ebx, %ebx
movq 0x10(%rsp), %r15
je 0x47250
subq $0x8, %rsp
leaq 0x5c(%rsp), %r9
movq %r15, %rdi
movl %ebp, %esi
movq 0x20(%rsp), %rdx
movq 0x28(%rsp), %rcx
movq 0x40(%rsp), %r8
leaq 0xc8(%rsp), %rax
pushq %rax
callq 0x47a34
addq $0x10, %rsp
movl %ebp, %r13d
xorl $0x3, %ebp
leaq 0x99d00(%r15), %rax
movq %rax, 0x28(%rsp)
cmpb $0x0, 0xf(%rsp)
jne 0x47299
subq $0x8, %rsp
leaq 0x58(%rsp), %r9
movq %r15, %rdi
movl %r13d, %esi
movq 0x20(%rsp), %rdx
movq 0x28(%rsp), %rcx
movq 0x40(%rsp), %r8
leaq 0xc8(%rsp), %rax
pushq %rax
callq 0x47a34
addq $0x10, %rsp
leaq 0x410(%rsp), %rax
movq %r15, %rdi
movl %r13d, %esi
movq 0x20(%rsp), %r12
movq 0x18(%rsp), %rbx
movq %rbx, %rdx
movq %r12, %rcx
movq 0x38(%rsp), %r14
movq %r14, %r8
movq 0xa0(%rsp), %r9
leaq 0xc0(%rsp), %r10
pushq %r10
pushq %rax
callq 0x47c43
addq $0x10, %rsp
movq 0x58(%rsp), %rax
movl 0x99cf8(%r15,%rax,4), %r9d
movq %r15, %rdi
movl %r13d, %esi
movq %rbx, %rdx
movq %r12, %rcx
movq %r14, %r8
leaq 0xc0(%rsp), %rax
pushq %rax
pushq 0xb0(%rsp)
callq 0x47c43
addq $0x10, %rsp
movslq %ebp, %rax
movl 0x99cf4(%r15,%rax,4), %r9d
decq %rax
movq %rax, 0x60(%rsp)
imulq $0x5a4, %rax, %rax      # imm = 0x5A4
movq 0x28(%rsp), %r10
addq %rax, %r10
movq %r15, %rdi
movl %r13d, %esi
movq %rbx, %rdx
movq %r12, %rcx
movq %r14, %r8
leaq 0xc0(%rsp), %rax
pushq %rax
pushq %r10
callq 0x47c43
addq $0x10, %rsp
leaq 0x98738(%r15), %rax
movq %rax, 0x40(%rsp)
imulq $0xae0, 0x58(%rsp), %rcx # imm = 0xAE0
movl 0x98738(%r15,%rcx), %eax
leaq 0x33967(%rip), %rdx     # 0x7ace0
cmpl $0x2b6, %eax            # imm = 0x2B6
movq %r15, %r12
jg 0x47572
addq %r12, %rcx
addq $0x98738, %rcx          # imm = 0x98738
movq %rcx, 0x58(%rsp)
leaq 0x4748(%r12), %rcx
movq %rcx, 0x48(%rsp)
leaq 0x97372(%r12), %rsi
leaq 0x1aac75fe(%rip), %r8   # 0x1ab0e9b0
movq %rsi, 0x28(%rsp)
movl 0x34(%rsp), %r15d
movq 0x38(%rsp), %r14
movslq %eax, %r9
xorl %ebx, %ebx
movq %r9, 0x10(%rsp)
movslq (%rbx,%rdx), %r13
addq %r9, %r13
cmpb $0x0, 0xc0(%rsp,%r13)
jne 0x47548
cmpb $0x1, 0x96ce0(%r12,%r13)
jne 0x47524
movq %r12, %rdi
movl %r15d, %esi
movl %r13d, %edx
movq %r8, %rbp
callq 0x5871b
movq (%r14,%r13,8), %rcx
movq 0x18(%rsp), %rsi
subq %rcx, (%rsi)
movq (%r14,%r13,8), %rcx
movslq (%rbp,%r13,4), %rdx
movq 0x20(%rsp), %rdi
subq %rcx, (%rdi,%rdx,8)
testb %al, %al
je 0x47508
movq %r12, %rdi
movl %r15d, %esi
movl %r13d, %edx
callq 0x58c25
movq 0x48(%rsp), %rdi
movl %r13d, %esi
callq 0x4fc36
movq %rbp, %r8
movl %eax, %eax
leaq 0x338d2(%rip), %rcx     # 0x7ad20
cvtss2sd (%rcx,%rax,4), %xmm0
movslq %r13d, %rax
leaq (%rax,%rax,2), %rax
movzbl 0x97372(%r12,%rax,2), %ecx
leaq 0x40338d6(%rip), %rdx   # 0x407ad40
movss (%rdx,%rcx,4), %xmm1
movzbl 0x97373(%r12,%rax,2), %ecx
leaq 0x4033911(%rip), %rdx   # 0x407ad90
mulss (%rdx,%rcx,4), %xmm1
movzbl 0x97374(%r12,%rax,2), %ecx
leaq 0x403391c(%rip), %rdx   # 0x407adb0
mulss (%rdx,%rcx,4), %xmm1
movzbl 0x97375(%r12,%rax,2), %ecx
leaq 0x4033937(%rip), %rdx   # 0x407ade0
mulss (%rdx,%rcx,4), %xmm1
movzbl 0x97376(%r12,%rax,2), %ecx
leaq 0x4033936(%rip), %rdx   # 0x407adf4
mulss (%rdx,%rcx,4), %xmm1
movzbl 0x97377(%r12,%rax,2), %eax
leaq 0x403392d(%rip), %rcx   # 0x407ae00
mulss (%rcx,%rax,4), %xmm1
cvtss2sd %xmm1, %xmm1
mulsd %xmm0, %xmm1
cvttsd2si %xmm1, %rax
incq %rax
movq %rax, (%r14,%r13,8)
movq 0x18(%rsp), %rcx
addq %rax, (%rcx)
movq (%r14,%r13,8), %rax
movslq (%rbp,%r13,4), %rcx
movq 0x20(%rsp), %rdx
addq %rax, (%rdx,%rcx,8)
jmp 0x47513
movq %rbp, %r8
movq $0x0, (%r14,%r13,8)
leaq 0x337c6(%rip), %rdx     # 0x7ace0
movq 0x28(%rsp), %rsi
movq 0x10(%rsp), %r9
leal (,%r13,2), %eax
leal (%rax,%rax,2), %eax
cltq
movw $0x0, 0x4(%rsi,%rax)
movl $0x0, (%rsi,%rax)
movb $0x1, 0xc0(%rsp,%r13)
addq $0x4, %rbx
cmpq $0x34, %rbx
jne 0x473cb
movq 0x58(%rsp), %rcx
movl (%rcx,%r9,4), %eax
movl $0x0, (%rcx,%r9,4)
cmpl $0x2b7, %eax            # imm = 0x2B7
jl 0x473c1
imulq $0xae0, 0x60(%rsp), %rcx # imm = 0xAE0
movq 0x40(%rsp), %rax
movl (%rax,%rcx), %eax
cmpl $0x2b6, %eax            # imm = 0x2B6
jg 0x47766
addq %rcx, 0x40(%rsp)
leaq 0x4748(%r12), %rcx
movq %rcx, 0x48(%rsp)
leaq 0x97372(%r12), %rcx
leaq 0x1aac7401(%rip), %r8   # 0x1ab0e9b0
movq %rcx, 0x28(%rsp)
movl 0x34(%rsp), %r15d
movq 0x38(%rsp), %r14
movslq %eax, %rsi
xorl %ebx, %ebx
movq %rsi, 0x10(%rsp)
movslq (%rbx,%rdx), %r13
addq %rsi, %r13
cmpb $0x0, 0xc0(%rsp,%r13)
jne 0x47745
cmpb $0x1, 0x96ce0(%r12,%r13)
jne 0x47721
movq %r12, %rdi
movl %r15d, %esi
movl %r13d, %edx
movq %r8, %rbp
callq 0x5871b
movq (%r14,%r13,8), %rcx
movq 0x18(%rsp), %rsi
subq %rcx, (%rsi)
movq (%r14,%r13,8), %rcx
movslq (%rbp,%r13,4), %rdx
movq 0x20(%rsp), %rdi
subq %rcx, (%rdi,%rdx,8)
testb %al, %al
je 0x47705
movq %r12, %rdi
movl %r15d, %esi
movl %r13d, %edx
callq 0x58c25
movq 0x48(%rsp), %rdi
movl %r13d, %esi
callq 0x4fc36
movq %rbp, %r8
movl %eax, %eax
leaq 0x336d5(%rip), %rcx     # 0x7ad20
cvtss2sd (%rcx,%rax,4), %xmm0
movslq %r13d, %rax
leaq (%rax,%rax,2), %rax
movzbl 0x97372(%r12,%rax,2), %ecx
leaq 0x40336d9(%rip), %rdx   # 0x407ad40
movss (%rdx,%rcx,4), %xmm1
movzbl 0x97373(%r12,%rax,2), %ecx
leaq 0x4033714(%rip), %rdx   # 0x407ad90
mulss (%rdx,%rcx,4), %xmm1
movzbl 0x97374(%r12,%rax,2), %ecx
leaq 0x403371f(%rip), %rdx   # 0x407adb0
mulss (%rdx,%rcx,4), %xmm1
movzbl 0x97375(%r12,%rax,2), %ecx
leaq 0x403373a(%rip), %rdx   # 0x407ade0
mulss (%rdx,%rcx,4), %xmm1
movzbl 0x97376(%r12,%rax,2), %ecx
leaq 0x4033739(%rip), %rdx   # 0x407adf4
mulss (%rdx,%rcx,4), %xmm1
movzbl 0x97377(%r12,%rax,2), %eax
leaq 0x4033730(%rip), %rcx   # 0x407ae00
mulss (%rcx,%rax,4), %xmm1
cvtss2sd %xmm1, %xmm1
mulsd %xmm0, %xmm1
cvttsd2si %xmm1, %rax
incq %rax
movq %rax, (%r14,%r13,8)
movq 0x18(%rsp), %rcx
addq %rax, (%rcx)
movq (%r14,%r13,8), %rax
movslq (%rbp,%r13,4), %rcx
movq 0x20(%rsp), %rdx
addq %rax, (%rdx,%rcx,8)
jmp 0x47710
movq %rbp, %r8
movq $0x0, (%r14,%r13,8)
leaq 0x335c9(%rip), %rdx     # 0x7ace0
movq 0x28(%rsp), %rcx
movq 0x10(%rsp), %rsi
leal (,%r13,2), %eax
leal (%rax,%rax,2), %eax
cltq
movw $0x0, 0x4(%rcx,%rax)
movl $0x0, (%rcx,%rax)
movb $0x1, 0xc0(%rsp,%r13)
addq $0x4, %rbx
cmpq $0x34, %rbx
jne 0x475c8
movq 0x40(%rsp), %rax
movl (%rax,%rsi,4), %eax
cmpl $0x2b7, %eax            # imm = 0x2B7
jl 0x475be
addq $0x9b8, %rsp            # imm = 0x9B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq