user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<jacobi>:
  endbr64
  push   %r13
  lea    D96(%rip),%rdi
  push   %r12
  xor    %r12d,%r12d
  push   %rbp
  push   %rbx
  sub    $0xe8,%rsp
  movapd D113(%rip),%xmm0
  mov    %fs:0x28,%rax
  mov    %rax,0xd8(%rsp)
  xor    %eax,%eax
  mov    D6(%rip),%rax
  movq   $0x0,0x80(%rsp)
  lea    0x50(%rsp),%rbp
  movaps %xmm0,0x90(%rsp)
  movapd D78(%rip),%xmm0
  lea    0x70(%rsp),%r13
  lea    0x90(%rsp),%rbx
  mov    %rax,0xd0(%rsp)
  mov    D124(%rip),%rax
  movaps %xmm0,0xa0(%rsp)
  movapd D14(%rip),%xmm0
  mov    %rax,0x60(%rsp)
  movaps %xmm0,0xb0(%rsp)
  movapd D20(%rip),%xmm0
  movaps %xmm0,0xc0(%rsp)
  movapd D27(%rip),%xmm0
  movaps %xmm0,0x50(%rsp)
  pxor   %xmm0,%xmm0
  movaps %xmm0,0x70(%rsp)
  call   <puts@plt>
  movsd  D113(%rip),%xmm0
  movsd  0x98(%rsp),%xmm7
  movapd %xmm0,%xmm1
  movsd  %xmm7,(%rsp)
  movapd %xmm0,%xmm7
  divsd  0x90(%rsp),%xmm1
  divsd  0xb0(%rsp),%xmm7
  movq   %xmm1,%xmm3
  movsd  %xmm7,0x38(%rsp)
  movsd  0xc8(%rsp),%xmm7
  divsd  0xd0(%rsp),%xmm0
  movaps %xmm3,0x10(%rsp)
  movsd  0xa0(%rsp),%xmm3
  movsd  %xmm7,0x20(%rsp)
  movsd  0xc0(%rsp),%xmm7
  movsd  %xmm3,0x48(%rsp)
  movsd  0xa8(%rsp),%xmm3
  movsd  %xmm0,0x28(%rsp)
  movsd  %xmm3,0x40(%rsp)
  movsd  0xb8(%rsp),%xmm3
  movsd  %xmm7,0x8(%rsp)
  movsd  %xmm3,0x30(%rsp)
  pxor   %xmm3,%xmm3
  jmp    L30
  nopl   0x0(%rax)
L46:
  cmp    $0xf9,%r12d
  pxor   %xmm3,%xmm3
  jg     L16
L30:
  movsd  0x70(%rsp),%xmm1
  pxor   %xmm6,%xmm6
  mov    %rbp,%rdx
  mov    %r13,%rsi
  movsd  0x78(%rsp),%xmm7
  movsd  (%rsp),%xmm0
  mov    %rbx,%rdi
  add    $0x1,%r12d
  movsd  0x80(%rsp),%xmm4
  movapd %xmm1,%xmm2
  mulsd  %xmm3,%xmm2
  mulsd  %xmm7,%xmm0
  addsd  %xmm3,%xmm2
  addsd  %xmm0,%xmm2
  movsd  0x48(%rsp),%xmm0
  mulsd  %xmm4,%xmm0
  addsd  %xmm0,%xmm2
  movsd  0x50(%rsp),%xmm0
  subsd  %xmm2,%xmm0
  movsd  0x40(%rsp),%xmm2
  mulsd  %xmm1,%xmm2
  mulsd  0x8(%rsp),%xmm1
  movapd %xmm0,%xmm5
  movapd %xmm7,%xmm0
  mulsd  %xmm3,%xmm0
  unpcklpd %xmm5,%xmm5
  mulpd  0x10(%rsp),%xmm5
  mulsd  0x20(%rsp),%xmm7
  addsd  %xmm3,%xmm2
  addsd  %xmm3,%xmm1
  addsd  %xmm0,%xmm2
  movsd  0x30(%rsp),%xmm0
  addpd  %xmm6,%xmm5
  movsd  0x58(%rsp),%xmm6
  addsd  %xmm7,%xmm1
  mulsd  %xmm4,%xmm0
  mulsd  %xmm3,%xmm4
  addsd  %xmm0,%xmm2
  addsd  %xmm4,%xmm1
  subsd  %xmm2,%xmm6
  movsd  0x60(%rsp),%xmm2
  subsd  %xmm1,%xmm2
  movapd %xmm6,%xmm0
  mulsd  %xmm3,%xmm0
  mulsd  0x38(%rsp),%xmm6
  movapd %xmm2,%xmm4
  mulsd  %xmm3,%xmm4
  mulsd  0x28(%rsp),%xmm2
  movapd %xmm0,%xmm1
  unpcklpd %xmm6,%xmm1
  addpd  %xmm5,%xmm1
  unpckhpd %xmm5,%xmm5
  unpcklpd %xmm4,%xmm4
  addsd  %xmm5,%xmm0
  addpd  %xmm4,%xmm1
  addsd  %xmm2,%xmm0
  movaps %xmm1,0x70(%rsp)
  movsd  %xmm0,0x80(%rsp)
  call   <check_convergence@plt>
  test   %eax,%eax
  je     L46
L16:
  cmp    $0xfa,%r12d
  je     L37
  mov    %r12d,%esi
  lea    D58(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    D69(%rip),%rdi
  call   <puts@plt>
  mov    $0x3,%esi
  mov    %r13,%rdi
  call   <print_vector@plt>
L17:
  lea    D17(%rip),%rdi
  call   <puts@plt>
  mov    0xd8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L59
  add    $0xe8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L37:
  lea    D29(%rip),%rdi
  call   <puts@plt>
  jmp    L17
L59:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: label: D96
datatype: string
name: parse_data
arguments: label: D113
datatype: f64[2]
name: parse_data
arguments: label: D6
datatype: f64
name: parse_data
arguments: label: D78
datatype: f64[2]
name: parse_data
arguments: label: D124
datatype: f64
name: parse_data
arguments: label: D14
datatype: f64[2]
name: parse_data
arguments: label: D20
datatype: f64[2]
name: parse_data
arguments: label: D27
datatype: f64[2]
name: parse_data
arguments: label: D58
datatype: string
name: parse_data
arguments: label: D69
datatype: string
name: parse_data
arguments: label: D17
datatype: string
name: parse_data
arguments: label: D29
datatype: string

tool: D96: 
----------Question1_Jacobi : ----------


tool: {"D113": [1.0,1.0]}

tool: D6: 6

tool: {"D78": [2.0,2.0]}

tool: D124: 36

tool: {"D14": [3.0,5.0]}

tool: {"D20": [3.0,3.0]}

tool: {"D27": [12.0,27.0]}

tool: D58: Jacobi Method is converged in %d iterations.

tool: D69: Solution,  x: 

tool: D17: 
----------EndOfJacobiMethod----------


tool: D29: Jacobi Method is failed! (Maximum number of iterations is reached)

assistant: ```c
void jacobi() {
  double A[3][3] = {{1.0, 1.0, 2.0}, {2.0, 3.0, 5.0}, {3.0, 3.0, 6.0}};
  double b[3] = {12.0, 27.0, 36.0};
  double D[3][3] = {0};
  double D_1[3][3] = {0};
  double R[3][3] = {0};
  double x[3] = {0.0, 0.0, 0.0};
  double temp1[3] = {0};
  double temp2[3] = {0};
  double temp3[3] = {0};
  double b_check[3] = {0};
  int check = 0;
  int count = 0;
  int i, j;
  printf("\n----------Question1_Jacobi : ----------\n\n");
  for (i = 0; i < 3; i++) {
    for (j = 0; j < 3; j++) {
      if (i == j) {
        D[i][j] = A[i][j];
        D_1[i][j] = 1.0 / A[i][j];
      } else {
        R[i][j] = A[i][j];
      }
    }
  }
  while ((check == 0) && (count < 250)) {
    for (i = 0; i < 3; i++) {
      temp1[i] = 0.0;
      temp2[i] = 0.0;
      temp3[i] = 0.0;
    }
    for (i = 0; i < 3; i++) {
      for (j = 0; j < 3; j++) {
        temp1[i] = temp1[i] + R[i][j] * x[j];
      }
      temp2[i] = b[i] - temp1[i];
    }
    for (i = 0; i < 3; i++) {
      for (j = 0; j < 3; j++) {
        temp3[i] = temp3[i] + D_1[i][j] * temp2[j];
      }
      x[i] = temp3[i];
    }
    count = count + 1;
    check = check_convergence(A, x, b);
  }
  for (i = 0; i < 3; i++) {
    for (j = 0; j < 3; j++) {
      b_check[i] = b_check[i] + A[i][j] * x[j];
    }
  }
  if (count == 250) {
    printf("Jacobi Method is failed! (Maximum number of iterations is reached)\n");
  } else {
    printf("Jacobi Method is converged in %d iterations.", count);
    printf("Solution,  x: \n");
    print_vector(x, 3);
  }
  printf("\n----------EndOfJacobiMethod----------\n\n");
}
```