user: 请从给定的汇编指令推导出C源代码：

```asm
<print_control1_reg>:
  endbr64
  push   %rbx
  mov    0x2c(%rdi),%ebx
  lea    D41(%rip),%rdi
  call   <puts@plt>
  mov    %ebx,%esi
  lea    D94(%rip),%rdi
  xor    %eax,%eax
  sar    $0x1a,%esi
  and    $0x1,%esi
  call   <printf@plt>
  mov    %ebx,%esi
  lea    D14(%rip),%rdi
  xor    %eax,%eax
  sar    $0x19,%esi
  and    $0x1,%esi
  call   <printf@plt>
  mov    %ebx,%esi
  lea    D8(%rip),%rdi
  xor    %eax,%eax
  sar    $0x18,%esi
  and    $0x1,%esi
  call   <printf@plt>
  mov    %ebx,%esi
  lea    D98(%rip),%rdi
  xor    %eax,%eax
  sar    $0x10,%esi
  and    $0xf,%esi
  call   <printf@plt>
  movzbl %bh,%esi
  lea    D80(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %ebx,%esi
  lea    D60(%rip),%rdi
  xor    %eax,%eax
  sar    $0x6,%esi
  and    $0x3,%esi
  call   <printf@plt>
  mov    %ebx,%esi
  lea    D49(%rip),%rdi
  xor    %eax,%eax
  sar    $0x5,%esi
  and    $0x1,%esi
  call   <printf@plt>
  mov    %ebx,%esi
  lea    D12(%rip),%rdi
  xor    %eax,%eax
  sar    $0x2,%esi
  and    $0x1,%esi
  call   <printf@plt>
  mov    %ebx,%esi
  lea    D17(%rip),%rdi
  sar    %esi
  and    $0x1,%esi
  and    $0x1,%ebx
  xor    %eax,%eax
  call   <printf@plt>
  mov    %ebx,%esi
  lea    D16(%rip),%rdi
  xor    %eax,%eax
  pop    %rbx
  jmp    1070 <printf@plt>
```

tool_calls: name: retrieve_data
arguments: data_label: D41
data_type: string
name: retrieve_data
arguments: data_label: D94
data_type: string
name: retrieve_data
arguments: data_label: D14
data_type: string
name: retrieve_data
arguments: data_label: D8
data_type: string
name: retrieve_data
arguments: data_label: D98
data_type: string
name: retrieve_data
arguments: data_label: D80
data_type: string
name: retrieve_data
arguments: data_label: D60
data_type: string
name: retrieve_data
arguments: data_label: D49
data_type: string
name: retrieve_data
arguments: data_label: D12
data_type: string
name: retrieve_data
arguments: data_label: D17
data_type: string
name: retrieve_data
arguments: data_label: D16
data_type: string

tool: D41: CONTROL1:--------------------------------------

tool: D94: SRST_DATA:     %i


tool: D14: SRST_CMD:      %i


tool: D8: SRST_HC:       %i


tool: D98: DATA_TOUNIT:   %i


tool: D80: CLK_FREQ8:     %i


tool: D60: CLK_FREQ_MS2:  %i


tool: D49: CLK_GENSEL:    %i


tool: D12: CLK_EN:        %i


tool: D17: CLK_STABLE:    %i


tool: D16: CLK_INTLEN:    %i


assistant: ```c
void print_control1_reg(uint32_t *emmc) {
  uint32_t ctrl1 = (*(emmc + 0x2C / 4));
  printf("CONTROL1:--------------------------------------\n");
  printf("SRST_DATA:     %i\n", ((ctrl1 & (1 << 26)) != 0) ? 1 : 0);
  printf("SRST_CMD:      %i\n", ((ctrl1 & (1 << 25)) != 0) ? 1 : 0);
  printf("SRST_HC:       %i\n", ((ctrl1 & (1 << 24)) != 0) ? 1 : 0);
  printf("DATA_TOUNIT:   %i\n", ((ctrl1 & 0x0F0000) >> 16));
  printf("CLK_FREQ8:     %i\n", ((ctrl1 & 0xFF00) >> 8));
  printf("CLK_FREQ_MS2:  %i\n", ((ctrl1 & 0xC0) >> 6));
  printf("CLK_GENSEL:    %i\n", ((ctrl1 & (1 << 5)) != 0) ? 1 : 0);
  printf("CLK_EN:        %i\n", ((ctrl1 & (1 << 2)) != 0) ? 1 : 0);
  printf("CLK_STABLE:    %i\n", ((ctrl1 & (1 << 1)) != 0) ? 1 : 0);
  printf("CLK_INTLEN:    %i\n", ((ctrl1 & (1 << 0)) != 0) ? 1 : 0);
}
```