user: 下面的汇编指令对应的C源代码是什么：

```asm
<jtag_configure_fpga>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x18(%rbp)
  mov    %rsi,-0x20(%rbp)
  mov    %edx,-0x24(%rbp)
  mov    -0x18(%rbp),%rax
  mov    %rax,%rdi
  call   <jtag_reset_to_idle@plt>
  mov    -0x18(%rbp),%rax
  mov    $0x2d0,%esi
  mov    %rax,%rdi
  call   <jtag_instruction@plt>
  mov    -0x18(%rbp),%rax
  movl   $0x80030003,(%rax)
  mov    -0x18(%rbp),%rax
  movl   $0x40090002,(%rax)
  mov    -0x18(%rbp),%rax
  movl   $0x80030006,(%rax)
  mov    -0x18(%rbp),%rax
  movl   $0xb0d30000,(%rax)
  mov    -0x18(%rbp),%rax
  movl   $0xb0d30000,(%rax)
  mov    -0x24(%rbp),%eax
  lea    0x0(,%rax,8),%edx
  mov    -0x20(%rbp),%rsi
  mov    -0x18(%rbp),%rax
  mov    $0x0,%ecx
  mov    %rax,%rdi
  call   <jtag_senddata@plt>
  mov    -0x18(%rbp),%rax
  movl   $0x80030003,(%rax)
  mov    -0x18(%rbp),%rax
  movl   $0x40090004,(%rax)
  mov    -0x18(%rbp),%rax
  movl   $0x80000000,(%rax)
  mov    -0x18(%rbp),%rax
  movl   $0x80020003,(%rax)
  mov    -0x18(%rbp),%rax
  movl   $0x807c0000,(%rax)
  mov    -0x18(%rbp),%rax
  movl   $0x80020001,(%rax)
  mov    -0x18(%rbp),%rax
  movl   $0x42db0000,(%rax)
  mov    -0x18(%rbp),%rax
  movl   $0x80010001,(%rax)
  mov    -0x18(%rbp),%rax
  mov    $0x3,%esi
  mov    %rax,%rdi
  call   <jtag_instruction_pause_ir@plt>
  mov    -0x18(%rbp),%rax
  movl   $0x3fff0000,(%rax)
  mov    -0x18(%rbp),%rax
  movl   $0x3fff0000,(%rax)
  mov    -0x18(%rbp),%rax
  movl   $0x3fff0000,(%rax)
  mov    -0x18(%rbp),%rax
  movl   $0x3fff0000,(%rax)
  mov    -0x18(%rbp),%rax
  movl   $0x3fff0000,(%rax)
  mov    -0x18(%rbp),%rax
  movl   $0x3fff0000,(%rax)
  mov    -0x18(%rbp),%rax
  movl   $0x3fff0000,(%rax)
  mov    -0x18(%rbp),%rax
  movl   $0x3fff0000,(%rax)
  mov    -0x18(%rbp),%rax
  movl   $0x3fff0000,(%rax)
  mov    -0x18(%rbp),%rax
  movl   $0x11ff0000,(%rax)
  mov    -0x18(%rbp),%rax
  mov    $0x3ff,%esi
  mov    %rax,%rdi
  call   <jtag_pause_ir_instruction@plt>
  mov    -0x18(%rbp),%rax
  movl   $0x30d30000,(%rax)
  mov    -0x18(%rbp),%rax
  movl   $0x30d30000,(%rax)
  mov    -0x18(%rbp),%rax
  movl   $0x30d30000,(%rax)
  mov    -0x18(%rbp),%rax
  mov    %rax,%rdi
  call   <jtag_exit_pause_ir@plt>
  mov    -0x18(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,-0x4(%rbp)
  nop
  leave
  ret
```

assistant: ```c
void jtag_configure_fpga(volatile uint32_t *host, uint8_t *data, int length) {
  jtag_reset_to_idle(host);
  jtag_instruction(host, 0x2D0);
  host[0] = 0x80000000 | (3 << 16) | 0x03;
  host[0] = 0x40000000 | (9 << 16) | 2;
  host[0] = 0x80000000 | (3 << 16) | 0x06;
  host[0] = 0x80000000 | (12499 << 16);
  host[0] = 0x80000000 | (12499 << 16);
  jtag_senddata(host, data, 8 * length, NULL);
  host[0] = 0x80000000 | (3 << 16) | 0x03;
  host[0] = 0x40000000 | (9 << 16) | 4;
  host[0] = 0x80000000 | (0 << 16) | 0x00;
  host[0] = 0x80000000 | (2 << 16) | 0X03;
  host[0] = 0x80000000 | (124 << 16);
  host[0] = 0x80000000 | (2 << 16) | 0x01;
  host[0] = 0x40000000 | (731 << 16);
  host[0] = 0x80000000 | (1 << 16) | 0x01;
  jtag_instruction_pause_ir(host, 3);
  host[0] = (16383 << 16);
  host[0] = (16383 << 16);
  host[0] = (16383 << 16);
  host[0] = (16383 << 16);
  host[0] = (16383 << 16);
  host[0] = (16383 << 16);
  host[0] = (16383 << 16);
  host[0] = (16383 << 16);
  host[0] = (16383 << 16);
  host[0] = (4607 << 16);
  jtag_pause_ir_instruction(host, 0x3FF);
  host[0] = (12499 << 16);
  host[0] = (12499 << 16);
  host[0] = (12499 << 16);
  jtag_exit_pause_ir(host);
  volatile uint32_t read = host[0];
}
```