// File: /workspace/github_cpp_makefile_star2_O3/sundale[P]gcode/rs274ngc/interp_convert.cc
// Function: Interp::convert_axis_offsets(int, block_struct*, setup_struct*)
int Interp::convert_axis_offsets(int g_code,     //!< g_code being executed (must be in G_92 series)
                                block_pointer block,    //!< pointer to a block of RS274/NGC instructions  
                                setup_pointer settings) //!< pointer to machine settings                   
{
  double *pars;                 /* short name for settings->parameters            */

  CHKS((settings->cutter_comp_side != OFF),      /* not "== ON" */
      NCE_CANNOT_CHANGE_AXIS_OFFSETS_WITH_CUTTER_RADIUS_COMP);
  CHKS((block->a_flag && settings->a_axis_wrapped && (block->a_number <= -360.0 || block->a_number >= 360.0)), (_("Invalid absolute position %5.2f for wrapped rotary axis %c")), block->a_number, 'A');
  CHKS((block->b_flag && settings->b_axis_wrapped && (block->b_number <= -360.0 || block->b_number >= 360.0)), (_("Invalid absolute position %5.2f for wrapped rotary axis %c")), block->b_number, 'B');
  CHKS((block->c_flag && settings->c_axis_wrapped && (block->c_number <= -360.0 || block->c_number >= 360.0)), (_("Invalid absolute position %5.2f for wrapped rotary axis %c")), block->c_number, 'C');
  pars = settings->parameters;
  if (g_code == G_92) {
    pars[5210] = 1.0;
    if (block->x_flag == ON) {
      settings->axis_offset_x =
        (settings->current_x + settings->axis_offset_x - block->x_number);
      settings->current_x = block->x_number;
    }

    if (block->y_flag == ON) {
      settings->axis_offset_y =
        (settings->current_y + settings->axis_offset_y - block->y_number);
      settings->current_y = block->y_number;
    }

    if (block->z_flag == ON) {
      settings->axis_offset_z =
        (settings->current_z + settings->axis_offset_z - block->z_number);
      settings->current_z = block->z_number;
    }
    if (block->a_flag == ON) {
      settings->AA_axis_offset = (settings->AA_current +
                                  settings->AA_axis_offset - block->a_number);
      settings->AA_current = block->a_number;
    }
    if (block->b_flag == ON) {
      settings->BB_axis_offset = (settings->BB_current +
                                  settings->BB_axis_offset - block->b_number);
      settings->BB_current = block->b_number;
    }
    if (block->c_flag == ON) {
      settings->CC_axis_offset = (settings->CC_current +
                                  settings->CC_axis_offset - block->c_number);
      settings->CC_current = block->c_number;
    }
    if (block->u_flag == ON) {
      settings->u_axis_offset = (settings->u_current +
                                 settings->u_axis_offset - block->u_number);
      settings->u_current = block->u_number;
    }
    if (block->v_flag == ON) {
      settings->v_axis_offset = (settings->v_current +
                                 settings->v_axis_offset - block->v_number);
      settings->v_current = block->v_number;
    }
    if (block->w_flag == ON) {
      settings->w_axis_offset = (settings->w_current +
                                 settings->w_axis_offset - block->w_number);
      settings->w_current = block->w_number;
    }

    SET_ORIGIN_OFFSETS(settings->origin_offset_x + settings->axis_offset_x,
                       settings->origin_offset_y + settings->axis_offset_y,
                       settings->origin_offset_z + settings->axis_offset_z,
                       (settings->AA_origin_offset +
                        settings->AA_axis_offset),
                       (settings->BB_origin_offset +
                        settings->BB_axis_offset),
                       (settings->CC_origin_offset +
                        settings->CC_axis_offset),
                       (settings->u_origin_offset +
                        settings->u_axis_offset),
                       (settings->v_origin_offset +
                        settings->v_axis_offset),
                       (settings->w_origin_offset +
                        settings->w_axis_offset));
    
    pars[5211] = PROGRAM_TO_USER_LEN(settings->axis_offset_x);
    pars[5212] = PROGRAM_TO_USER_LEN(settings->axis_offset_y);
    pars[5213] = PROGRAM_TO_USER_LEN(settings->axis_offset_z);
    pars[5214] = PROGRAM_TO_USER_ANG(settings->AA_axis_offset);
    pars[5215] = PROGRAM_TO_USER_ANG(settings->BB_axis_offset);
    pars[5216] = PROGRAM_TO_USER_ANG(settings->CC_axis_offset);
    pars[5217] = PROGRAM_TO_USER_LEN(settings->u_axis_offset);
    pars[5218] = PROGRAM_TO_USER_LEN(settings->v_axis_offset);
    pars[5219] = PROGRAM_TO_USER_LEN(settings->w_axis_offset);
  } else if ((g_code == G_92_1) || (g_code == G_92_2)) {
    pars[5210] = 0.0;
    settings->current_x = settings->current_x + settings->axis_offset_x;
    settings->current_y = settings->current_y + settings->axis_offset_y;
    settings->current_z = settings->current_z + settings->axis_offset_z;
    settings->AA_current = (settings->AA_current + settings->AA_axis_offset);
    settings->BB_current = (settings->BB_current + settings->BB_axis_offset);
    settings->CC_current = (settings->CC_current + settings->CC_axis_offset);
    settings->u_current = (settings->u_current + settings->u_axis_offset);
    settings->v_current = (settings->v_current + settings->v_axis_offset);
    settings->w_current = (settings->w_current + settings->w_axis_offset);
    SET_ORIGIN_OFFSETS(settings->origin_offset_x,
                       settings->origin_offset_y, settings->origin_offset_z,
                       settings->AA_origin_offset,
                       settings->BB_origin_offset,
                       settings->CC_origin_offset,
                       settings->u_origin_offset,
                       settings->v_origin_offset,
                       settings->w_origin_offset);
    settings->axis_offset_x = 0.0;
    settings->axis_offset_y = 0.0;
    settings->axis_offset_z = 0.0;
    settings->AA_axis_offset = 0.0;
    settings->BB_axis_offset = 0.0;
    settings->CC_axis_offset = 0.0;
    settings->u_axis_offset = 0.0;
    settings->v_axis_offset = 0.0;
    settings->w_axis_offset = 0.0;
    if (g_code == G_92_1) {
      pars[5211] = 0.0;
      pars[5212] = 0.0;
      pars[5213] = 0.0;
      pars[5214] = 0.0;
      pars[5215] = 0.0;
      pars[5216] = 0.0;
      pars[5217] = 0.0;
      pars[5218] = 0.0;
      pars[5219] = 0.0;
    }
  } else if (g_code == G_92_3) {
    pars[5210] = 1.0;
    settings->current_x =
      settings->current_x + settings->axis_offset_x - USER_TO_PROGRAM_LEN(pars[5211]);
    settings->current_y =
      settings->current_y + settings->axis_offset_y - USER_TO_PROGRAM_LEN(pars[5212]);
    settings->current_z =
      settings->current_z + settings->axis_offset_z - USER_TO_PROGRAM_LEN(pars[5213]);
    settings->AA_current =
      settings->AA_current + settings->AA_axis_offset - USER_TO_PROGRAM_ANG(pars[5214]);
    settings->BB_current =
      settings->BB_current + settings->BB_axis_offset - USER_TO_PROGRAM_ANG(pars[5215]);
    settings->CC_current =
      settings->CC_current + settings->CC_axis_offset - USER_TO_PROGRAM_ANG(pars[5216]);
    settings->u_current =
      settings->u_current + settings->u_axis_offset - USER_TO_PROGRAM_LEN(pars[5217]);
    settings->v_current =
      settings->v_current + settings->v_axis_offset - USER_TO_PROGRAM_LEN(pars[5218]);
    settings->w_current =
      settings->w_current + settings->w_axis_offset - USER_TO_PROGRAM_LEN(pars[5219]);

    settings->axis_offset_x = USER_TO_PROGRAM_LEN(pars[5211]);
    settings->axis_offset_y = USER_TO_PROGRAM_LEN(pars[5212]);
    settings->axis_offset_z = USER_TO_PROGRAM_LEN(pars[5213]);
    settings->AA_axis_offset = USER_TO_PROGRAM_ANG(pars[5214]);
    settings->BB_axis_offset = USER_TO_PROGRAM_ANG(pars[5215]);
    settings->CC_axis_offset = USER_TO_PROGRAM_ANG(pars[5216]);
    settings->u_axis_offset = USER_TO_PROGRAM_LEN(pars[5217]);
    settings->v_axis_offset = USER_TO_PROGRAM_LEN(pars[5218]);
    settings->w_axis_offset = USER_TO_PROGRAM_LEN(pars[5219]);
    SET_ORIGIN_OFFSETS(settings->origin_offset_x + settings->axis_offset_x,
                       settings->origin_offset_y + settings->axis_offset_y,
                       settings->origin_offset_z + settings->axis_offset_z,
                       (settings->AA_origin_offset +
                        settings->AA_axis_offset),
                       (settings->BB_origin_offset +
                        settings->BB_axis_offset),
                       (settings->CC_origin_offset +
                        settings->CC_axis_offset),
                       (settings->u_origin_offset +
                        settings->u_axis_offset),
                       (settings->v_origin_offset +
                        settings->v_axis_offset),
                       (settings->w_origin_offset +
                        settings->w_axis_offset));

  } else
    ERS(NCE_BUG_CODE_NOT_IN_G92_SERIES);

  return INTERP_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rdi, %r12
cmpl $0x0, 0x624(%rcx)
je 0xf224
leaq 0x261a8(%rip), %rdi     # 0x35372
callq 0xa1f0
movq %r12, %rdi
movq %rax, %rsi
xorl %eax, %eax
callq 0xa850
movq 0x31d7d(%rip), %rbx     # 0x40f60
leaq 0xc6d0(%rbx), %rdi
leaq 0x25042(%rip), %rsi     # 0x34233
movl $0x50, %edx
callq 0xa8a0
movw $0x0, 0xc71f(%rbx)
movl $0x1, 0xd670(%rbx)
movl $0x5, %r14d
movl %r14d, %eax
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rcx, %rbx
movq %rdx, %r14
movl %esi, %r15d
movb (%rdx), %al
cmpb $0x1, %al
jne 0xf258
cmpl $0x0, 0x1e6cc(%rbx)
je 0xf258
movsd 0x8(%r14), %xmm0
andpd 0x22dd6(%rip), %xmm0    # 0x32020
ucomisd 0x24c66(%rip), %xmm0    # 0x33eb8
jae 0xf5dc
movb 0x10(%r14), %cl
cmpb $0x1, %cl
jne 0xf286
cmpl $0x0, 0x1e6d0(%rbx)
je 0xf286
movsd 0x18(%r14), %xmm0
andpd 0x22da8(%rip), %xmm0    # 0x32020
ucomisd 0x24c38(%rip), %xmm0    # 0x33eb8
jae 0xfed9
movb 0x20(%r14), %dl
cmpb $0x1, %dl
jne 0xf2b4
cmpl $0x0, 0x1e6d4(%rbx)
je 0xf2b4
movsd 0x28(%r14), %xmm0
andpd 0x22d7a(%rip), %xmm0    # 0x32020
ucomisd 0x24c0a(%rip), %xmm0    # 0x33eb8
jae 0xfef8
cmpl $0x398, %r15d           # imm = 0x398
jne 0xf46f
movabsq $0x3ff0000000000000, %rsi # imm = 0x3FF0000000000000
movq %rsi, 0xba90(%rbx)
cmpb $0x1, 0x270(%r14)
jne 0xf309
movsd 0x600(%rbx), %xmm0
addsd 0x118(%rbx), %xmm0
movsd 0x278(%r14), %xmm1
subsd %xmm1, %xmm0
movsd %xmm0, 0x118(%rbx)
movsd %xmm1, 0x600(%rbx)
cmpb $0x1, 0x280(%r14)
jne 0xf340
movsd 0x608(%rbx), %xmm0
addsd 0x120(%rbx), %xmm0
movsd 0x288(%r14), %xmm1
subsd %xmm1, %xmm0
movsd %xmm0, 0x120(%rbx)
movsd %xmm1, 0x608(%rbx)
cmpb $0x1, 0x290(%r14)
jne 0xf377
movsd 0x610(%rbx), %xmm0
addsd 0x128(%rbx), %xmm0
movsd 0x298(%r14), %xmm1
subsd %xmm1, %xmm0
movsd %xmm0, 0x128(%rbx)
movsd %xmm1, 0x610(%rbx)
testb %al, %al
je 0xf397
movsd 0x8(%rbx), %xmm0
addsd (%rbx), %xmm0
movsd 0x8(%r14), %xmm1
subsd %xmm1, %xmm0
movsd %xmm0, (%rbx)
movsd %xmm1, 0x8(%rbx)
testb %cl, %cl
je 0xf3b9
movsd 0x20(%rbx), %xmm0
addsd 0x18(%rbx), %xmm0
movsd 0x18(%r14), %xmm1
subsd %xmm1, %xmm0
movsd %xmm0, 0x18(%rbx)
movsd %xmm1, 0x20(%rbx)
testb %dl, %dl
je 0xf3db
movsd 0x38(%rbx), %xmm0
addsd 0x30(%rbx), %xmm0
movsd 0x28(%r14), %xmm1
subsd %xmm1, %xmm0
movsd %xmm0, 0x30(%rbx)
movsd %xmm1, 0x38(%rbx)
cmpb $0x1, 0x244(%r14)
jne 0xf406
movsd 0x50(%rbx), %xmm0
addsd 0x48(%rbx), %xmm0
movsd 0x248(%r14), %xmm1
subsd %xmm1, %xmm0
movsd %xmm0, 0x48(%rbx)
movsd %xmm1, 0x50(%rbx)
cmpb $0x1, 0x250(%r14)
jne 0xf431
movsd 0x68(%rbx), %xmm0
addsd 0x60(%rbx), %xmm0
movsd 0x258(%r14), %xmm1
subsd %xmm1, %xmm0
movsd %xmm0, 0x60(%rbx)
movsd %xmm1, 0x68(%rbx)
cmpb $0x0, 0x260(%r14)
je 0xf5fe
movsd 0x80(%rbx), %xmm8
addsd 0x78(%rbx), %xmm8
movsd 0x268(%r14), %xmm0
subsd %xmm0, %xmm8
movsd %xmm8, 0x78(%rbx)
movsd %xmm0, 0x80(%rbx)
jmp 0xf604
leal -0x399(%r15), %eax
cmpl $0x1, %eax
ja 0xf8a4
xorl %r14d, %r14d
movq %r14, 0xba90(%rbx)
movsd 0x600(%rbx), %xmm0
addsd 0x118(%rbx), %xmm0
movsd %xmm0, 0x600(%rbx)
movsd 0x608(%rbx), %xmm0
addsd 0x120(%rbx), %xmm0
movsd %xmm0, 0x608(%rbx)
movsd 0x610(%rbx), %xmm0
addsd 0x128(%rbx), %xmm0
movsd %xmm0, 0x610(%rbx)
movsd 0x8(%rbx), %xmm0
movsd 0x20(%rbx), %xmm1
addsd (%rbx), %xmm0
movsd %xmm0, 0x8(%rbx)
addsd 0x18(%rbx), %xmm1
movsd %xmm1, 0x20(%rbx)
movsd 0x38(%rbx), %xmm0
addsd 0x30(%rbx), %xmm0
movsd %xmm0, 0x38(%rbx)
movsd 0x50(%rbx), %xmm0
addsd 0x48(%rbx), %xmm0
movsd %xmm0, 0x50(%rbx)
movsd 0x68(%rbx), %xmm0
addsd 0x60(%rbx), %xmm0
movsd %xmm0, 0x68(%rbx)
movsd 0x80(%rbx), %xmm0
addsd 0x78(%rbx), %xmm0
movsd %xmm0, 0x80(%rbx)
movsd 0x17a0(%rbx), %xmm0
movsd 0x17a8(%rbx), %xmm1
movsd 0x17b0(%rbx), %xmm2
movsd 0x10(%rbx), %xmm3
movsd 0x28(%rbx), %xmm4
movsd 0x40(%rbx), %xmm5
movsd 0x58(%rbx), %xmm6
movsd 0x70(%rbx), %xmm7
movsd 0x88(%rbx), %xmm8
movsd %xmm8, (%rsp)
callq 0xa510
movq %r14, (%rbx)
movq %r14, 0x18(%rbx)
movq %r14, 0x30(%rbx)
movq %r14, 0x48(%rbx)
movq %r14, 0x60(%rbx)
movq %r14, 0x78(%rbx)
xorpd %xmm0, %xmm0
movupd %xmm0, 0x118(%rbx)
movq %r14, 0x128(%rbx)
cmpl $0x399, %r15d           # imm = 0x399
jne 0xf214
movupd %xmm0, 0xbac8(%rbx)
movupd %xmm0, 0xbab8(%rbx)
movupd %xmm0, 0xbaa8(%rbx)
movupd %xmm0, 0xba98(%rbx)
movq $0x0, 0xbad8(%rbx)
jmp 0xf214
leaq 0x25dc2(%rip), %rdi     # 0x353a5
callq 0xa1f0
movsd 0x8(%r14), %xmm0
movq %r12, %rdi
movq %rax, %rsi
movl $0x41, %edx
jmp 0xff15
movsd 0x78(%rbx), %xmm8
movsd 0x17a0(%rbx), %xmm0
addsd 0x118(%rbx), %xmm0
movsd 0x17a8(%rbx), %xmm1
addsd 0x120(%rbx), %xmm1
movsd 0x17b0(%rbx), %xmm2
addsd 0x128(%rbx), %xmm2
movsd 0x10(%rbx), %xmm3
movsd 0x28(%rbx), %xmm4
addsd (%rbx), %xmm3
addsd 0x18(%rbx), %xmm4
movsd 0x40(%rbx), %xmm5
addsd 0x30(%rbx), %xmm5
movsd 0x58(%rbx), %xmm6
addsd 0x48(%rbx), %xmm6
movsd 0x70(%rbx), %xmm7
addsd 0x60(%rbx), %xmm7
addsd 0x88(%rbx), %xmm8
movsd %xmm8, (%rsp)
callq 0xa510
movq 0x318e0(%rip), %r14     # 0x40f60
movl 0x1690(%r14), %eax
movsd 0x24831(%rip), %xmm0    # 0x33ec0
movsd %xmm0, -0x40(%rbp)
cmpl $0x3, %eax
je 0xf6a1
movsd 0x247ff(%rip), %xmm0    # 0x33ea0
movsd 0x2481f(%rip), %xmm1    # 0x33ec8
movsd %xmm1, -0x38(%rbp)
cmpl $0x1, %eax
je 0xf6b7
movapd %xmm0, %xmm1
mulsd 0x118(%rbx), %xmm1
movsd %xmm1, -0x28(%rbp)
callq 0xa990
mulsd -0x28(%rbp), %xmm0
movsd %xmm0, 0xba98(%rbx)
movl 0x1690(%r14), %eax
movsd 0x247db(%rip), %xmm0    # 0x33ec0
cmpl $0x3, %eax
je 0xf6f2
movsd 0x247ae(%rip), %xmm0    # 0x33ea0
movsd 0x247ce(%rip), %xmm1    # 0x33ec8
cmpl $0x1, %eax
je 0xf703
movapd %xmm0, %xmm1
mulsd 0x120(%rbx), %xmm1
movsd %xmm1, -0x28(%rbp)
callq 0xa990
mulsd -0x28(%rbp), %xmm0
movsd %xmm0, 0xbaa0(%rbx)
movl 0x1690(%r14), %eax
movsd 0x2478f(%rip), %xmm0    # 0x33ec0
cmpl $0x3, %eax
je 0xf73e
movsd 0x24762(%rip), %xmm0    # 0x33ea0
movsd 0x24782(%rip), %xmm1    # 0x33ec8
cmpl $0x1, %eax
je 0xf74f
movapd %xmm0, %xmm1
mulsd 0x128(%rbx), %xmm1
movsd %xmm1, -0x28(%rbp)
callq 0xa990
mulsd -0x28(%rbp), %xmm0
movsd %xmm0, 0xbaa8(%rbx)
movsd (%rbx), %xmm0
movsd %xmm0, -0x28(%rbp)
callq 0xaf60
mulsd -0x28(%rbp), %xmm0
movsd %xmm0, 0xbab0(%rbx)
movsd 0x18(%rbx), %xmm0
movsd %xmm0, -0x28(%rbp)
callq 0xaf60
mulsd -0x28(%rbp), %xmm0
movsd %xmm0, 0xbab8(%rbx)
movsd 0x30(%rbx), %xmm0
movsd %xmm0, -0x28(%rbp)
callq 0xaf60
mulsd -0x28(%rbp), %xmm0
movsd %xmm0, 0xbac0(%rbx)
movl 0x1690(%r14), %eax
movsd 0x246f0(%rip), %xmm0    # 0x33ec0
cmpl $0x3, %eax
je 0xf7dd
movsd 0x246c3(%rip), %xmm0    # 0x33ea0
movsd 0x246e3(%rip), %xmm1    # 0x33ec8
cmpl $0x1, %eax
je 0xf7ee
movapd %xmm0, %xmm1
mulsd 0x48(%rbx), %xmm1
movsd %xmm1, -0x28(%rbp)
callq 0xa990
mulsd -0x28(%rbp), %xmm0
movsd %xmm0, 0xbac8(%rbx)
movl 0x1690(%r14), %eax
movsd 0x246a7(%rip), %xmm0    # 0x33ec0
cmpl $0x3, %eax
je 0xf826
movsd 0x2467a(%rip), %xmm0    # 0x33ea0
movsd 0x2469a(%rip), %xmm1    # 0x33ec8
cmpl $0x1, %eax
je 0xf837
movapd %xmm0, %xmm1
mulsd 0x60(%rbx), %xmm1
movsd %xmm1, -0x28(%rbp)
callq 0xa990
mulsd -0x28(%rbp), %xmm0
movsd %xmm0, 0xbad0(%rbx)
movl 0x1690(%r14), %eax
cmpl $0x3, %eax
je 0xf86c
movsd 0x24639(%rip), %xmm0    # 0x33ea0
movsd %xmm0, -0x40(%rbp)
cmpl $0x1, %eax
je 0xf87b
movsd -0x40(%rbp), %xmm0
movsd %xmm0, -0x38(%rbp)
movsd -0x38(%rbp), %xmm0
mulsd 0x78(%rbx), %xmm0
movsd %xmm0, -0x38(%rbp)
callq 0xa990
mulsd -0x38(%rbp), %xmm0
movsd %xmm0, 0xbad8(%rbx)
xorl %r14d, %r14d
jmp 0xf214
cmpl $0x39b, %r15d           # imm = 0x39B
jne 0xff21
movabsq $0x3ff0000000000000, %rax # imm = 0x3FF0000000000000
movq %rax, 0xba90(%rbx)
movsd 0x600(%rbx), %xmm0
addsd 0x118(%rbx), %xmm0
movsd %xmm0, -0x28(%rbp)
movsd 0xba98(%rbx), %xmm0
movsd %xmm0, -0x38(%rbp)
callq 0xa990
movq 0x31670(%rip), %r14     # 0x40f60
movl 0x1690(%r14), %eax
movsd 0x245c1(%rip), %xmm1    # 0x33ec0
movsd %xmm1, -0x40(%rbp)
cmpl $0x3, %eax
je 0xf911
movsd 0x2458f(%rip), %xmm1    # 0x33ea0
movsd -0x38(%rbp), %xmm2
divsd %xmm0, %xmm2
movsd 0x245a6(%rip), %xmm0    # 0x33ec8
movsd %xmm0, -0x38(%rbp)
cmpl $0x1, %eax
je 0xf930
movapd %xmm1, %xmm0
divsd %xmm0, %xmm2
movsd -0x28(%rbp), %xmm0
subsd %xmm2, %xmm0
movsd %xmm0, 0x600(%rbx)
movsd 0x608(%rbx), %xmm0
addsd 0x120(%rbx), %xmm0
movsd %xmm0, -0x28(%rbp)
movsd 0xbaa0(%rbx), %xmm0
movsd %xmm0, -0x30(%rbp)
callq 0xa990
movl 0x1690(%r14), %eax
movsd 0x24545(%rip), %xmm1    # 0x33ec0
cmpl $0x3, %eax
je 0xf988
movsd 0x24518(%rip), %xmm1    # 0x33ea0
movsd -0x30(%rbp), %xmm2
divsd %xmm0, %xmm2
movsd 0x2452f(%rip), %xmm0    # 0x33ec8
cmpl $0x1, %eax
je 0xf9a2
movapd %xmm1, %xmm0
divsd %xmm0, %xmm2
movsd -0x28(%rbp), %xmm0
subsd %xmm2, %xmm0
movsd %xmm0, 0x608(%rbx)
movsd 0x610(%rbx), %xmm0
addsd 0x128(%rbx), %xmm0
movsd %xmm0, -0x28(%rbp)
movsd 0xbaa8(%rbx), %xmm0
movsd %xmm0, -0x30(%rbp)
callq 0xa990
movl 0x1690(%r14), %eax
movsd 0x244d3(%rip), %xmm1    # 0x33ec0
cmpl $0x3, %eax
je 0xf9fa
movsd 0x244a6(%rip), %xmm1    # 0x33ea0
movsd -0x30(%rbp), %xmm2
divsd %xmm0, %xmm2
movsd 0x244bd(%rip), %xmm0    # 0x33ec8
cmpl $0x1, %eax
je 0xfa14
movapd %xmm1, %xmm0
divsd %xmm0, %xmm2
movsd -0x28(%rbp), %xmm0
subsd %xmm2, %xmm0
movsd %xmm0, 0x610(%rbx)
movsd 0x8(%rbx), %xmm0
addsd (%rbx), %xmm0
movsd %xmm0, -0x28(%rbp)
movsd 0xbab0(%rbx), %xmm0
movsd %xmm0, -0x30(%rbp)
callq 0xaf60
movsd -0x30(%rbp), %xmm1
divsd %xmm0, %xmm1
movsd -0x28(%rbp), %xmm0
subsd %xmm1, %xmm0
movsd %xmm0, 0x8(%rbx)
movsd 0x20(%rbx), %xmm0
addsd 0x18(%rbx), %xmm0
movsd %xmm0, -0x28(%rbp)
movsd 0xbab8(%rbx), %xmm0
movsd %xmm0, -0x30(%rbp)
callq 0xaf60
movsd -0x30(%rbp), %xmm1
divsd %xmm0, %xmm1
movsd -0x28(%rbp), %xmm0
subsd %xmm1, %xmm0
movsd %xmm0, 0x20(%rbx)
movsd 0x38(%rbx), %xmm0
addsd 0x30(%rbx), %xmm0
movsd %xmm0, -0x28(%rbp)
movsd 0xbac0(%rbx), %xmm0
movsd %xmm0, -0x30(%rbp)
callq 0xaf60
movsd -0x30(%rbp), %xmm1
divsd %xmm0, %xmm1
movsd -0x28(%rbp), %xmm0
subsd %xmm1, %xmm0
movsd %xmm0, 0x38(%rbx)
movsd 0x50(%rbx), %xmm0
addsd 0x48(%rbx), %xmm0
movsd %xmm0, -0x28(%rbp)
movsd 0xbac8(%rbx), %xmm0
movsd %xmm0, -0x30(%rbp)
callq 0xa990
movl 0x1690(%r14), %eax
movsd 0x243c0(%rip), %xmm1    # 0x33ec0
cmpl $0x3, %eax
je 0xfb0d
movsd 0x24393(%rip), %xmm1    # 0x33ea0
movsd -0x30(%rbp), %xmm2
divsd %xmm0, %xmm2
movsd 0x243aa(%rip), %xmm0    # 0x33ec8
cmpl $0x1, %eax
je 0xfb27
movapd %xmm1, %xmm0
divsd %xmm0, %xmm2
movsd -0x28(%rbp), %xmm0
subsd %xmm2, %xmm0
movsd %xmm0, 0x50(%rbx)
movsd 0x68(%rbx), %xmm0
addsd 0x60(%rbx), %xmm0
movsd %xmm0, -0x28(%rbp)
movsd 0xbad0(%rbx), %xmm0
movsd %xmm0, -0x30(%rbp)
callq 0xa990
movl 0x1690(%r14), %eax
movsd 0x24357(%rip), %xmm1    # 0x33ec0
cmpl $0x3, %eax
je 0xfb76
movsd 0x2432a(%rip), %xmm1    # 0x33ea0
movsd -0x30(%rbp), %xmm2
divsd %xmm0, %xmm2
movsd 0x24341(%rip), %xmm0    # 0x33ec8
cmpl $0x1, %eax
je 0xfb90
movapd %xmm1, %xmm0
divsd %xmm0, %xmm2
movsd -0x28(%rbp), %xmm0
subsd %xmm2, %xmm0
movsd %xmm0, 0x68(%rbx)
movsd 0x80(%rbx), %xmm0
addsd 0x78(%rbx), %xmm0
movsd %xmm0, -0x28(%rbp)
movsd 0xbad8(%rbx), %xmm0
movsd %xmm0, -0x30(%rbp)
callq 0xa990
movl 0x1690(%r14), %eax
movsd 0x242eb(%rip), %xmm1    # 0x33ec0
cmpl $0x3, %eax
je 0xfbe2
movsd 0x242be(%rip), %xmm1    # 0x33ea0
movsd -0x30(%rbp), %xmm2
divsd %xmm0, %xmm2
movsd 0x242d5(%rip), %xmm0    # 0x33ec8
cmpl $0x1, %eax
je 0xfbfc
movapd %xmm1, %xmm0
divsd %xmm0, %xmm2
movsd -0x28(%rbp), %xmm0
subsd %xmm2, %xmm0
movsd %xmm0, 0x80(%rbx)
movsd 0xba98(%rbx), %xmm0
movsd %xmm0, -0x28(%rbp)
callq 0xa990
movl 0x1690(%r14), %eax
movsd 0x2428e(%rip), %xmm1    # 0x33ec0
cmpl $0x3, %eax
je 0xfc3f
movsd 0x24261(%rip), %xmm1    # 0x33ea0
movsd -0x28(%rbp), %xmm2
divsd %xmm0, %xmm2
movsd 0x24278(%rip), %xmm0    # 0x33ec8
cmpl $0x1, %eax
je 0xfc59
movapd %xmm1, %xmm0
divsd %xmm0, %xmm2
movsd %xmm2, 0x118(%rbx)
movsd 0xbaa0(%rbx), %xmm0
movsd %xmm0, -0x28(%rbp)
callq 0xa990
movl 0x1690(%r14), %eax
movsd 0x2423a(%rip), %xmm1    # 0x33ec0
cmpl $0x3, %eax
je 0xfc93
movsd 0x2420d(%rip), %xmm1    # 0x33ea0
movsd -0x28(%rbp), %xmm2
divsd %xmm0, %xmm2
movsd 0x24224(%rip), %xmm0    # 0x33ec8
cmpl $0x1, %eax
je 0xfcad
movapd %xmm1, %xmm0
divsd %xmm0, %xmm2
movsd %xmm2, 0x120(%rbx)
movsd 0xbaa8(%rbx), %xmm0
movsd %xmm0, -0x28(%rbp)
callq 0xa990
movl 0x1690(%r14), %eax
movsd 0x241e6(%rip), %xmm1    # 0x33ec0
cmpl $0x3, %eax
je 0xfce7
movsd 0x241b9(%rip), %xmm1    # 0x33ea0
movsd -0x28(%rbp), %xmm2
divsd %xmm0, %xmm2
movsd 0x241d0(%rip), %xmm0    # 0x33ec8
cmpl $0x1, %eax
je 0xfd01
movapd %xmm1, %xmm0
divsd %xmm0, %xmm2
movsd %xmm2, 0x128(%rbx)
movsd 0xbab0(%rbx), %xmm0
movsd %xmm0, -0x28(%rbp)
callq 0xaf60
movsd -0x28(%rbp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, (%rbx)
movsd 0xbab8(%rbx), %xmm0
movsd %xmm0, -0x28(%rbp)
callq 0xaf60
movsd -0x28(%rbp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x18(%rbx)
movsd 0xbac0(%rbx), %xmm0
movsd %xmm0, -0x28(%rbp)
callq 0xaf60
movsd -0x28(%rbp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x30(%rbx)
movsd 0xbac8(%rbx), %xmm0
movsd %xmm0, -0x28(%rbp)
callq 0xa990
movl 0x1690(%r14), %eax
movsd 0x24133(%rip), %xmm1    # 0x33ec0
cmpl $0x3, %eax
je 0xfd9a
movsd 0x24106(%rip), %xmm1    # 0x33ea0
movsd -0x28(%rbp), %xmm2
divsd %xmm0, %xmm2
movsd 0x2411d(%rip), %xmm0    # 0x33ec8
cmpl $0x1, %eax
je 0xfdb4
movapd %xmm1, %xmm0
divsd %xmm0, %xmm2
movsd %xmm2, 0x48(%rbx)
movsd 0xbad0(%rbx), %xmm0
movsd %xmm0, -0x28(%rbp)
callq 0xa990
movl 0x1690(%r14), %eax
movsd 0x240e2(%rip), %xmm1    # 0x33ec0
cmpl $0x3, %eax
je 0xfdeb
movsd 0x240b5(%rip), %xmm1    # 0x33ea0
movsd -0x28(%rbp), %xmm2
divsd %xmm0, %xmm2
movsd 0x240cc(%rip), %xmm0    # 0x33ec8
cmpl $0x1, %eax
je 0xfe05
movapd %xmm1, %xmm0
divsd %xmm0, %xmm2
movsd %xmm2, 0x60(%rbx)
movsd 0xbad8(%rbx), %xmm0
movsd %xmm0, -0x28(%rbp)
callq 0xa990
movl 0x1690(%r14), %eax
cmpl $0x3, %eax
je 0xfe39
movsd 0x2406c(%rip), %xmm1    # 0x33ea0
movsd %xmm1, -0x40(%rbp)
movsd -0x28(%rbp), %xmm8
divsd %xmm0, %xmm8
cmpl $0x1, %eax
je 0xfe53
movsd -0x40(%rbp), %xmm0
movsd %xmm0, -0x38(%rbp)
divsd -0x38(%rbp), %xmm8
movsd %xmm8, 0x78(%rbx)
movsd 0x17a0(%rbx), %xmm0
addsd 0x118(%rbx), %xmm0
movsd 0x17a8(%rbx), %xmm1
addsd 0x120(%rbx), %xmm1
movsd 0x17b0(%rbx), %xmm2
addsd 0x128(%rbx), %xmm2
movsd 0x10(%rbx), %xmm3
movsd 0x28(%rbx), %xmm4
addsd (%rbx), %xmm3
addsd 0x18(%rbx), %xmm4
movsd 0x40(%rbx), %xmm5
addsd 0x30(%rbx), %xmm5
movsd 0x58(%rbx), %xmm6
addsd 0x48(%rbx), %xmm6
movsd 0x70(%rbx), %xmm7
addsd 0x60(%rbx), %xmm7
addsd 0x88(%rbx), %xmm8
movsd %xmm8, (%rsp)
callq 0xa510
jmp 0xf89c
leaq 0x254c5(%rip), %rdi     # 0x353a5
callq 0xa1f0
movsd 0x18(%r14), %xmm0
movq %r12, %rdi
movq %rax, %rsi
movl $0x42, %edx
jmp 0xff15
leaq 0x254a6(%rip), %rdi     # 0x353a5
callq 0xa1f0
movsd 0x28(%r14), %xmm0
movq %r12, %rdi
movq %rax, %rsi
movl $0x43, %edx
movb $0x1, %al
callq 0xa850
jmp 0xf1dc
leaq 0x254b8(%rip), %rdi     # 0x353e0
jmp 0xf1ca
nop