user: What would the C source look like for the assembly code provided here:

```asm
<print_control1_reg>:
  endbr64
  push   %rbx
  mov    0x2c(%rdi),%ebx
  lea    D31(%rip),%rdi
  call   <puts@plt>
  mov    %ebx,%esi
  lea    D28(%rip),%rdi
  xor    %eax,%eax
  sar    $0x1a,%esi
  and    $0x1,%esi
  call   <printf@plt>
  mov    %ebx,%esi
  lea    D103(%rip),%rdi
  xor    %eax,%eax
  sar    $0x19,%esi
  and    $0x1,%esi
  call   <printf@plt>
  mov    %ebx,%esi
  lea    D6(%rip),%rdi
  xor    %eax,%eax
  sar    $0x18,%esi
  and    $0x1,%esi
  call   <printf@plt>
  mov    %ebx,%esi
  lea    D52(%rip),%rdi
  xor    %eax,%eax
  sar    $0x10,%esi
  and    $0xf,%esi
  call   <printf@plt>
  movzbl %bh,%esi
  lea    D33(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %ebx,%esi
  lea    D73(%rip),%rdi
  xor    %eax,%eax
  sar    $0x6,%esi
  and    $0x3,%esi
  call   <printf@plt>
  mov    %ebx,%esi
  lea    D44(%rip),%rdi
  xor    %eax,%eax
  sar    $0x5,%esi
  and    $0x1,%esi
  call   <printf@plt>
  mov    %ebx,%esi
  lea    D18(%rip),%rdi
  xor    %eax,%eax
  sar    $0x2,%esi
  and    $0x1,%esi
  call   <printf@plt>
  mov    %ebx,%esi
  lea    D42(%rip),%rdi
  sar    %esi
  and    $0x1,%esi
  and    $0x1,%ebx
  xor    %eax,%eax
  call   <printf@plt>
  mov    %ebx,%esi
  lea    D70(%rip),%rdi
  xor    %eax,%eax
  pop    %rbx
  jmp    1070 <printf@plt>
```

tool_calls: name: parse_data
arguments: data_tag: D31
datatype: string
name: parse_data
arguments: data_tag: D28
datatype: string
name: parse_data
arguments: data_tag: D103
datatype: string
name: parse_data
arguments: data_tag: D6
datatype: string
name: parse_data
arguments: data_tag: D52
datatype: string
name: parse_data
arguments: data_tag: D33
datatype: string
name: parse_data
arguments: data_tag: D73
datatype: string
name: parse_data
arguments: data_tag: D44
datatype: string
name: parse_data
arguments: data_tag: D18
datatype: string
name: parse_data
arguments: data_tag: D42
datatype: string
name: parse_data
arguments: data_tag: D70
datatype: string

tool: D31: CONTROL1:--------------------------------------

tool: D28: SRST_DATA:     %i


tool: D103: SRST_CMD:      %i


tool: D6: SRST_HC:       %i


tool: D52: DATA_TOUNIT:   %i


tool: D33: CLK_FREQ8:     %i


tool: D73: CLK_FREQ_MS2:  %i


tool: D44: CLK_GENSEL:    %i


tool: D18: CLK_EN:        %i


tool: D42: CLK_STABLE:    %i


tool: D70: 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);
}
```