user: Please show me the C implementation that matches the assembly code listed below:

```asm
<cvt_d2s_mat2pmat>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %edi,-0x24(%rbp)
  mov    %esi,-0x28(%rbp)
  mov    %edx,-0x2c(%rbp)
  mov    %ecx,-0x30(%rbp)
  mov    %r8,-0x38(%rbp)
  mov    %r9d,-0x3c(%rbp)
  movl   $0x8,-0x8(%rbp)
  mov    -0x2c(%rbp),%eax
  cltd
  idivl  -0x8(%rbp)
  mov    -0x8(%rbp),%eax
  sub    %edx,%eax
  cltd
  idivl  -0x8(%rbp)
  mov    %edx,-0x10(%rbp)
  mov    -0x10(%rbp),%eax
  cmp    -0x24(%rbp),%eax
  jle    L51
  mov    -0x24(%rbp),%eax
  mov    %eax,-0x10(%rbp)
L51:
  mov    -0x24(%rbp),%eax
  sub    -0x10(%rbp),%eax
  mov    %eax,-0x4(%rbp)
  movl   $0x0,-0x18(%rbp)
  cmpl   $0x0,-0x10(%rbp)
  jle    L168
  movl   $0x0,-0x14(%rbp)
  jmp    L90
L63:
  movl   $0x0,-0x1c(%rbp)
  jmp    L132
L83:
  mov    -0x1c(%rbp),%edx
  mov    -0x18(%rbp),%eax
  add    %eax,%edx
  mov    -0x14(%rbp),%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  imul   -0x8(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %eax,%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  addl   $0x1,-0x1c(%rbp)
L132:
  mov    -0x1c(%rbp),%eax
  cmp    -0x10(%rbp),%eax
  jl     L83
  addl   $0x1,-0x14(%rbp)
L90:
  mov    -0x14(%rbp),%eax
  cmp    -0x28(%rbp),%eax
  jl     L63
  mov    -0x10(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x38(%rbp)
  mov    0x18(%rbp),%eax
  sub    $0x1,%eax
  imul   -0x8(%rbp),%eax
  mov    %eax,%edx
  mov    -0x10(%rbp),%eax
  add    %edx,%eax
  cltq
  shl    $0x2,%rax
  add    %rax,0x10(%rbp)
L168:
  movl   $0x0,-0x18(%rbp)
  jmp    L39
L116:
  movl   $0x0,-0x14(%rbp)
  jmp    L105
L70:
  mov    -0x14(%rbp),%eax
  imul   -0x3c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  imul   -0x8(%rbp),%eax
  mov    %eax,%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x14(%rbp),%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  imul   -0x8(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x2(%rax),%edx
  mov    -0x14(%rbp),%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  imul   -0x8(%rbp),%eax
  lea    0x2(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x3(%rax),%edx
  mov    -0x14(%rbp),%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  imul   -0x8(%rbp),%eax
  lea    0x3(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x4(%rax),%edx
  mov    -0x14(%rbp),%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  imul   -0x8(%rbp),%eax
  lea    0x4(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x5(%rax),%edx
  mov    -0x14(%rbp),%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  imul   -0x8(%rbp),%eax
  lea    0x5(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x6(%rax),%edx
  mov    -0x14(%rbp),%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  imul   -0x8(%rbp),%eax
  lea    0x6(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x7(%rax),%edx
  mov    -0x14(%rbp),%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  imul   -0x8(%rbp),%eax
  lea    0x7(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x14(%rbp),%eax
  add    $0x1,%eax
  imul   -0x3c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x1,%eax
  imul   -0x8(%rbp),%eax
  mov    %eax,%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x1,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x1,%eax
  imul   -0x8(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x2(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x1,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x1,%eax
  imul   -0x8(%rbp),%eax
  lea    0x2(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x3(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x1,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x1,%eax
  imul   -0x8(%rbp),%eax
  lea    0x3(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x4(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x1,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x1,%eax
  imul   -0x8(%rbp),%eax
  lea    0x4(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x5(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x1,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x1,%eax
  imul   -0x8(%rbp),%eax
  lea    0x5(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x6(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x1,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x1,%eax
  imul   -0x8(%rbp),%eax
  lea    0x6(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x7(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x1,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x1,%eax
  imul   -0x8(%rbp),%eax
  lea    0x7(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x14(%rbp),%eax
  add    $0x2,%eax
  imul   -0x3c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x2,%eax
  imul   -0x8(%rbp),%eax
  mov    %eax,%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x2,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x2,%eax
  imul   -0x8(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x2(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x2,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x2,%eax
  imul   -0x8(%rbp),%eax
  lea    0x2(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x3(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x2,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x2,%eax
  imul   -0x8(%rbp),%eax
  lea    0x3(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x4(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x2,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x2,%eax
  imul   -0x8(%rbp),%eax
  lea    0x4(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x5(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x2,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x2,%eax
  imul   -0x8(%rbp),%eax
  lea    0x5(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x6(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x2,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x2,%eax
  imul   -0x8(%rbp),%eax
  lea    0x6(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x7(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x2,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x2,%eax
  imul   -0x8(%rbp),%eax
  lea    0x7(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x14(%rbp),%eax
  add    $0x3,%eax
  imul   -0x3c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x3,%eax
  imul   -0x8(%rbp),%eax
  mov    %eax,%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x3,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x3,%eax
  imul   -0x8(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x2(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x3,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x3,%eax
  imul   -0x8(%rbp),%eax
  lea    0x2(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x3(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x3,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x3,%eax
  imul   -0x8(%rbp),%eax
  lea    0x3(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x4(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x3,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x3,%eax
  imul   -0x8(%rbp),%eax
  lea    0x4(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x5(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x3,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x3,%eax
  imul   -0x8(%rbp),%eax
  lea    0x5(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x6(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x3,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x3,%eax
  imul   -0x8(%rbp),%eax
  lea    0x6(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x7(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x3,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x3,%eax
  imul   -0x8(%rbp),%eax
  lea    0x7(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x14(%rbp),%eax
  add    $0x4,%eax
  imul   -0x3c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x4,%eax
  imul   -0x8(%rbp),%eax
  mov    %eax,%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x4,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x4,%eax
  imul   -0x8(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x2(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x4,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x4,%eax
  imul   -0x8(%rbp),%eax
  lea    0x2(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x3(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x4,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x4,%eax
  imul   -0x8(%rbp),%eax
  lea    0x3(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x4(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x4,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x4,%eax
  imul   -0x8(%rbp),%eax
  lea    0x4(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x5(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x4,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x4,%eax
  imul   -0x8(%rbp),%eax
  lea    0x5(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x6(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x4,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x4,%eax
  imul   -0x8(%rbp),%eax
  lea    0x6(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x7(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x4,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x4,%eax
  imul   -0x8(%rbp),%eax
  lea    0x7(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x14(%rbp),%eax
  add    $0x5,%eax
  imul   -0x3c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x5,%eax
  imul   -0x8(%rbp),%eax
  mov    %eax,%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x5,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x5,%eax
  imul   -0x8(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x2(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x5,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x5,%eax
  imul   -0x8(%rbp),%eax
  lea    0x2(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x3(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x5,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x5,%eax
  imul   -0x8(%rbp),%eax
  lea    0x3(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x4(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x5,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x5,%eax
  imul   -0x8(%rbp),%eax
  lea    0x4(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x5(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x5,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x5,%eax
  imul   -0x8(%rbp),%eax
  lea    0x5(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x6(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x5,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x5,%eax
  imul   -0x8(%rbp),%eax
  lea    0x6(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x7(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x5,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x5,%eax
  imul   -0x8(%rbp),%eax
  lea    0x7(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x14(%rbp),%eax
  add    $0x6,%eax
  imul   -0x3c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x6,%eax
  imul   -0x8(%rbp),%eax
  mov    %eax,%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x6,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x6,%eax
  imul   -0x8(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x2(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x6,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x6,%eax
  imul   -0x8(%rbp),%eax
  lea    0x2(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x3(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x6,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x6,%eax
  imul   -0x8(%rbp),%eax
  lea    0x3(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x4(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x6,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x6,%eax
  imul   -0x8(%rbp),%eax
  lea    0x4(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x5(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x6,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x6,%eax
  imul   -0x8(%rbp),%eax
  lea    0x5(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x6(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x6,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x6,%eax
  imul   -0x8(%rbp),%eax
  lea    0x6(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x7(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x6,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x6,%eax
  imul   -0x8(%rbp),%eax
  lea    0x7(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x14(%rbp),%eax
  add    $0x7,%eax
  imul   -0x3c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x7,%eax
  imul   -0x8(%rbp),%eax
  mov    %eax,%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x7,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x7,%eax
  imul   -0x8(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x2(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x7,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x7,%eax
  imul   -0x8(%rbp),%eax
  lea    0x2(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x3(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x7,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x7,%eax
  imul   -0x8(%rbp),%eax
  lea    0x3(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x4(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x7,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x7,%eax
  imul   -0x8(%rbp),%eax
  lea    0x4(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x5(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x7,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x7,%eax
  imul   -0x8(%rbp),%eax
  lea    0x5(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x6(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x7,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x7,%eax
  imul   -0x8(%rbp),%eax
  lea    0x6(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x7(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x7,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  add    $0x7,%eax
  imul   -0x8(%rbp),%eax
  lea    0x7(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  addl   $0x8,-0x14(%rbp)
L105:
  mov    -0x28(%rbp),%eax
  sub    $0x7,%eax
  cmp    %eax,-0x14(%rbp)
  jl     L70
  jmp    L93
L71:
  mov    -0x14(%rbp),%eax
  imul   -0x3c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  imul   -0x8(%rbp),%eax
  mov    %eax,%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x14(%rbp),%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  imul   -0x8(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x2(%rax),%edx
  mov    -0x14(%rbp),%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  imul   -0x8(%rbp),%eax
  lea    0x2(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x3(%rax),%edx
  mov    -0x14(%rbp),%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  imul   -0x8(%rbp),%eax
  lea    0x3(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x4(%rax),%edx
  mov    -0x14(%rbp),%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  imul   -0x8(%rbp),%eax
  lea    0x4(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x5(%rax),%edx
  mov    -0x14(%rbp),%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  imul   -0x8(%rbp),%eax
  lea    0x5(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x6(%rax),%edx
  mov    -0x14(%rbp),%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  imul   -0x8(%rbp),%eax
  lea    0x6(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  lea    0x7(%rax),%edx
  mov    -0x14(%rbp),%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  imul   -0x8(%rbp),%eax
  lea    0x7(%rax),%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  addl   $0x1,-0x14(%rbp)
L93:
  mov    -0x14(%rbp),%eax
  cmp    -0x28(%rbp),%eax
  jl     L71
  mov    -0x8(%rbp),%eax
  add    %eax,-0x18(%rbp)
L39:
  mov    -0x4(%rbp),%eax
  sub    $0x7,%eax
  cmp    %eax,-0x18(%rbp)
  jl     L116
  mov    -0x18(%rbp),%eax
  cmp    -0x4(%rbp),%eax
  jge    L169
  mov    -0x4(%rbp),%eax
  sub    -0x18(%rbp),%eax
  mov    %eax,-0xc(%rbp)
  mov    -0x8(%rbp),%eax
  cmp    -0xc(%rbp),%eax
  jge    L122
  mov    -0x8(%rbp),%eax
  mov    %eax,-0xc(%rbp)
L122:
  movl   $0x0,-0x14(%rbp)
  jmp    L153
L165:
  movl   $0x0,-0x1c(%rbp)
  jmp    L33
L43:
  mov    -0x1c(%rbp),%edx
  mov    -0x18(%rbp),%eax
  add    %eax,%edx
  mov    -0x14(%rbp),%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  imul   -0x8(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %eax,%edx
  mov    -0x18(%rbp),%eax
  imul   0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  addl   $0x1,-0x1c(%rbp)
L33:
  mov    -0x1c(%rbp),%eax
  cmp    -0xc(%rbp),%eax
  jl     L43
  addl   $0x1,-0x14(%rbp)
L153:
  mov    -0x14(%rbp),%eax
  cmp    -0x28(%rbp),%eax
  jl     L165
L169:
  nop
  pop    %rbp
  ret
```

assistant: ```c
void cvt_d2s_mat2pmat(int row, int col, int offset, int bs_dummy, double *A, int lda, float *pA, int sda) {
  const int bs = 8;
  int i, ii, j, row0, row1, row2;
  row0 = (bs - offset % bs) % bs;
  if (row0 > row)
    row0 = row;
  row1 = row - row0;
  ii = 0;
  if (row0 > 0) {
    for (j = 0; j < col; j++) {
      for (i = 0; i < row0; i++) {
        pA[i + j * bs + ii * sda] = (float)A[i + ii + j * lda];
      }
    }
    A += row0;
    pA += row0 + bs * (sda - 1);
  }
  ii = 0;
  for (; ii < row1 - 7; ii += bs) {
    j = 0;
    for (; j < col - 7; j += 8) {
      pA[0 + (j + 0) * bs + ii * sda] = (float)A[ii + 0 + (j + 0) * lda];
      pA[1 + (j + 0) * bs + ii * sda] = (float)A[ii + 1 + (j + 0) * lda];
      pA[2 + (j + 0) * bs + ii * sda] = (float)A[ii + 2 + (j + 0) * lda];
      pA[3 + (j + 0) * bs + ii * sda] = (float)A[ii + 3 + (j + 0) * lda];
      pA[4 + (j + 0) * bs + ii * sda] = (float)A[ii + 4 + (j + 0) * lda];
      pA[5 + (j + 0) * bs + ii * sda] = (float)A[ii + 5 + (j + 0) * lda];
      pA[6 + (j + 0) * bs + ii * sda] = (float)A[ii + 6 + (j + 0) * lda];
      pA[7 + (j + 0) * bs + ii * sda] = (float)A[ii + 7 + (j + 0) * lda];
      pA[0 + (j + 1) * bs + ii * sda] = (float)A[ii + 0 + (j + 1) * lda];
      pA[1 + (j + 1) * bs + ii * sda] = (float)A[ii + 1 + (j + 1) * lda];
      pA[2 + (j + 1) * bs + ii * sda] = (float)A[ii + 2 + (j + 1) * lda];
      pA[3 + (j + 1) * bs + ii * sda] = (float)A[ii + 3 + (j + 1) * lda];
      pA[4 + (j + 1) * bs + ii * sda] = (float)A[ii + 4 + (j + 1) * lda];
      pA[5 + (j + 1) * bs + ii * sda] = (float)A[ii + 5 + (j + 1) * lda];
      pA[6 + (j + 1) * bs + ii * sda] = (float)A[ii + 6 + (j + 1) * lda];
      pA[7 + (j + 1) * bs + ii * sda] = (float)A[ii + 7 + (j + 1) * lda];
      pA[0 + (j + 2) * bs + ii * sda] = (float)A[ii + 0 + (j + 2) * lda];
      pA[1 + (j + 2) * bs + ii * sda] = (float)A[ii + 1 + (j + 2) * lda];
      pA[2 + (j + 2) * bs + ii * sda] = (float)A[ii + 2 + (j + 2) * lda];
      pA[3 + (j + 2) * bs + ii * sda] = (float)A[ii + 3 + (j + 2) * lda];
      pA[4 + (j + 2) * bs + ii * sda] = (float)A[ii + 4 + (j + 2) * lda];
      pA[5 + (j + 2) * bs + ii * sda] = (float)A[ii + 5 + (j + 2) * lda];
      pA[6 + (j + 2) * bs + ii * sda] = (float)A[ii + 6 + (j + 2) * lda];
      pA[7 + (j + 2) * bs + ii * sda] = (float)A[ii + 7 + (j + 2) * lda];
      pA[0 + (j + 3) * bs + ii * sda] = (float)A[ii + 0 + (j + 3) * lda];
      pA[1 + (j + 3) * bs + ii * sda] = (float)A[ii + 1 + (j + 3) * lda];
      pA[2 + (j + 3) * bs + ii * sda] = (float)A[ii + 2 + (j + 3) * lda];
      pA[3 + (j + 3) * bs + ii * sda] = (float)A[ii + 3 + (j + 3) * lda];
      pA[4 + (j + 3) * bs + ii * sda] = (float)A[ii + 4 + (j + 3) * lda];
      pA[5 + (j + 3) * bs + ii * sda] = (float)A[ii + 5 + (j + 3) * lda];
      pA[6 + (j + 3) * bs + ii * sda] = (float)A[ii + 6 + (j + 3) * lda];
      pA[7 + (j + 3) * bs + ii * sda] = (float)A[ii + 7 + (j + 3) * lda];
      pA[0 + (j + 4) * bs + ii * sda] = (float)A[ii + 0 + (j + 4) * lda];
      pA[1 + (j + 4) * bs + ii * sda] = (float)A[ii + 1 + (j + 4) * lda];
      pA[2 + (j + 4) * bs + ii * sda] = (float)A[ii + 2 + (j + 4) * lda];
      pA[3 + (j + 4) * bs + ii * sda] = (float)A[ii + 3 + (j + 4) * lda];
      pA[4 + (j + 4) * bs + ii * sda] = (float)A[ii + 4 + (j + 4) * lda];
      pA[5 + (j + 4) * bs + ii * sda] = (float)A[ii + 5 + (j + 4) * lda];
      pA[6 + (j + 4) * bs + ii * sda] = (float)A[ii + 6 + (j + 4) * lda];
      pA[7 + (j + 4) * bs + ii * sda] = (float)A[ii + 7 + (j + 4) * lda];
      pA[0 + (j + 5) * bs + ii * sda] = (float)A[ii + 0 + (j + 5) * lda];
      pA[1 + (j + 5) * bs + ii * sda] = (float)A[ii + 1 + (j + 5) * lda];
      pA[2 + (j + 5) * bs + ii * sda] = (float)A[ii + 2 + (j + 5) * lda];
      pA[3 + (j + 5) * bs + ii * sda] = (float)A[ii + 3 + (j + 5) * lda];
      pA[4 + (j + 5) * bs + ii * sda] = (float)A[ii + 4 + (j + 5) * lda];
      pA[5 + (j + 5) * bs + ii * sda] = (float)A[ii + 5 + (j + 5) * lda];
      pA[6 + (j + 5) * bs + ii * sda] = (float)A[ii + 6 + (j + 5) * lda];
      pA[7 + (j + 5) * bs + ii * sda] = (float)A[ii + 7 + (j + 5) * lda];
      pA[0 + (j + 6) * bs + ii * sda] = (float)A[ii + 0 + (j + 6) * lda];
      pA[1 + (j + 6) * bs + ii * sda] = (float)A[ii + 1 + (j + 6) * lda];
      pA[2 + (j + 6) * bs + ii * sda] = (float)A[ii + 2 + (j + 6) * lda];
      pA[3 + (j + 6) * bs + ii * sda] = (float)A[ii + 3 + (j + 6) * lda];
      pA[4 + (j + 6) * bs + ii * sda] = (float)A[ii + 4 + (j + 6) * lda];
      pA[5 + (j + 6) * bs + ii * sda] = (float)A[ii + 5 + (j + 6) * lda];
      pA[6 + (j + 6) * bs + ii * sda] = (float)A[ii + 6 + (j + 6) * lda];
      pA[7 + (j + 6) * bs + ii * sda] = (float)A[ii + 7 + (j + 6) * lda];
      pA[0 + (j + 7) * bs + ii * sda] = (float)A[ii + 0 + (j + 7) * lda];
      pA[1 + (j + 7) * bs + ii * sda] = (float)A[ii + 1 + (j + 7) * lda];
      pA[2 + (j + 7) * bs + ii * sda] = (float)A[ii + 2 + (j + 7) * lda];
      pA[3 + (j + 7) * bs + ii * sda] = (float)A[ii + 3 + (j + 7) * lda];
      pA[4 + (j + 7) * bs + ii * sda] = (float)A[ii + 4 + (j + 7) * lda];
      pA[5 + (j + 7) * bs + ii * sda] = (float)A[ii + 5 + (j + 7) * lda];
      pA[6 + (j + 7) * bs + ii * sda] = (float)A[ii + 6 + (j + 7) * lda];
      pA[7 + (j + 7) * bs + ii * sda] = (float)A[ii + 7 + (j + 7) * lda];
    }
    for (; j < col; j++) {
      pA[0 + (j + 0) * bs + ii * sda] = (float)A[ii + 0 + (j + 0) * lda];
      pA[1 + (j + 0) * bs + ii * sda] = (float)A[ii + 1 + (j + 0) * lda];
      pA[2 + (j + 0) * bs + ii * sda] = (float)A[ii + 2 + (j + 0) * lda];
      pA[3 + (j + 0) * bs + ii * sda] = (float)A[ii + 3 + (j + 0) * lda];
      pA[4 + (j + 0) * bs + ii * sda] = (float)A[ii + 4 + (j + 0) * lda];
      pA[5 + (j + 0) * bs + ii * sda] = (float)A[ii + 5 + (j + 0) * lda];
      pA[6 + (j + 0) * bs + ii * sda] = (float)A[ii + 6 + (j + 0) * lda];
      pA[7 + (j + 0) * bs + ii * sda] = (float)A[ii + 7 + (j + 0) * lda];
    }
  }
  if (ii < row1) {
    row2 = row1 - ii;
    if (bs < row2)
      row2 = bs;
    for (j = 0; j < col; j++) {
      for (i = 0; i < row2; i++) {
        pA[i + j * bs + ii * sda] = (float)A[i + ii + j * lda];
      }
    }
  }
}
```