user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<Print_MPU_register_map>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  movzbl %dil,%r12d
  push   %rbp
  push   %rbx
  sub    $0xa8,%rsp
  mov    %esi,0x4(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x98(%rsp)
  xor    %eax,%eax
  cmp    %r12d,%esi
  jl     L10
  lea    0x1c(%rsp),%rax
  mov    %edi,%r13d
  lea    0x1b(%rsp),%r15
  mov    %rax,0x8(%rsp)
  lea    0x30(%rsp),%rbx
  lea    0x26(%rsp),%rbp
  lea    D37(%rip),%r14
  nopl   0x0(%rax)
L12:
  mov    %r15,%rcx
  mov    %r12d,%esi
  mov    $0x1,%edx
  mov    $0x28,%edi
  call   <MPU_I2C_Read@plt>
  movzbl 0x1b(%rsp),%eax
  mov    %r14,%rsi
  mov    %rbx,%rdi
  movb   $0x0,0x25(%rsp)
  mov    %eax,%edx
  and    $0x1,%edx
  add    $0x30,%edx
  test   $0x2,%al
  mov    %dl,0x23(%rsp)
  setne  %dl
  add    $0x30,%edx
  test   $0x4,%al
  mov    %dl,0x22(%rsp)
  setne  %dl
  add    $0x30,%edx
  test   $0x8,%al
  mov    %dl,0x21(%rsp)
  setne  %dl
  add    $0x30,%edx
  test   $0x10,%al
  mov    %dl,0x20(%rsp)
  setne  %dl
  add    $0x30,%edx
  test   $0x20,%al
  mov    %dl,0x1f(%rsp)
  setne  %dl
  add    $0x30,%edx
  test   $0x40,%al
  mov    %dl,0x1e(%rsp)
  setne  %dl
  shr    $0x7,%al
  add    $0x1,%r13d
  add    $0x30,%edx
  add    $0x30,%eax
  mov    %dl,0x1d(%rsp)
  mov    %al,0x1c(%rsp)
  call   <strcpy@plt>
  mov    %r12d,%edi
  mov    %rbp,%rsi
  call   <ShortToStr@plt>
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <strcat@plt>
  mov    %r12d,%edi
  mov    %rbp,%rsi
  movzbl %r13b,%r12d
  call   <ShortToHex@plt>
  lea    D1(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcat@plt>
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <strcat@plt>
  lea    D2(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcat@plt>
  mov    0x8(%rsp),%rsi
  mov    %rbx,%rdi
  call   <strcat@plt>
  lea    D15(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcat@plt>
  mov    %rbx,%rdi
  call   <UART2_write_text@plt>
  mov    $0x14,%edi
  call   <delay_ms@plt>
  cmp    0x4(%rsp),%r12d
  jle    L12
L10:
  mov    0x98(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L8
  add    $0xa8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L8:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: data_label: D37
type: string
name: read_data
arguments: data_label: D1
type: string
name: read_data
arguments: data_label: D2
type: string
name: read_data
arguments: data_label: D15
type: string

tool: D37: Adresse =

tool: D1:  (0x

tool: D2: )  Inhalt = 0b

tool: D15: 

assistant: ```c
void Print_MPU_register_map(int startAdress, int EndAdress) {
  unsigned char dat, dat_temp, mask, registerAdress;
  char stn_out[100], bit_string[10], adress_string[10];
  int i;
  for (registerAdress = startAdress; registerAdress <= EndAdress; registerAdress++) {
    MPU_I2C_Read(0x28, registerAdress, 1, &dat);
    mask = 0b00000001;
    for (i = 7; i >= 0; i--) {
      dat_temp = dat & mask;
      if (dat_temp > 0)
        bit_string[i] = '1';
      else
        bit_string[i] = '0';
      mask = mask << 1;
    }
    bit_string[9] = 0;
    strcpy(stn_out, "Adresse =");
    ShortToStr((short)registerAdress, adress_string);
    strcat(stn_out, adress_string);
    ShortToHex((unsigned short)registerAdress, adress_string);
    strcat(stn_out, " (0x");
    strcat(stn_out, adress_string);
    strcat(stn_out, ")  Inhalt = 0b");
    strcat(stn_out, bit_string);
    strcat(stn_out, "\x0D");
    UART2_write_text(stn_out);
    delay_ms(20);
  }
}
```