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

```asm
<sqrt32>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %edi,-0x14(%rbp)
  mov    -0x14(%rbp),%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x14(%rbp),%eax
  cltd
  idivl  -0x4(%rbp)
  mov    %eax,%edx
  mov    -0x4(%rbp),%eax
  add    %edx,%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x4(%rbp)
  mov    -0x14(%rbp),%eax
  cltd
  idivl  -0x4(%rbp)
  mov    %eax,%edx
  mov    -0x4(%rbp),%eax
  add    %edx,%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x4(%rbp)
  mov    -0x14(%rbp),%eax
  cltd
  idivl  -0x4(%rbp)
  mov    %eax,%edx
  mov    -0x4(%rbp),%eax
  add    %edx,%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x4(%rbp)
  mov    -0x14(%rbp),%eax
  cltd
  idivl  -0x4(%rbp)
  mov    %eax,%edx
  mov    -0x4(%rbp),%eax
  add    %edx,%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x4(%rbp)
  mov    -0x14(%rbp),%eax
  cltd
  idivl  -0x4(%rbp)
  mov    %eax,%edx
  mov    -0x4(%rbp),%eax
  add    %edx,%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x4(%rbp)
  mov    -0x14(%rbp),%eax
  cltd
  idivl  -0x4(%rbp)
  mov    %eax,%edx
  mov    -0x4(%rbp),%eax
  add    %edx,%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x4(%rbp)
  cmpl   $0x3ff,-0x14(%rbp)
  jg     L2
  mov    -0x4(%rbp),%eax
  jmp    L36
L2:
  mov    -0x14(%rbp),%eax
  cltd
  idivl  -0x4(%rbp)
  mov    %eax,%edx
  mov    -0x4(%rbp),%eax
  add    %edx,%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x4(%rbp)
  mov    -0x14(%rbp),%eax
  cltd
  idivl  -0x4(%rbp)
  mov    %eax,%edx
  mov    -0x4(%rbp),%eax
  add    %edx,%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x4(%rbp)
  mov    -0x14(%rbp),%eax
  cltd
  idivl  -0x4(%rbp)
  mov    %eax,%edx
  mov    -0x4(%rbp),%eax
  add    %edx,%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x4(%rbp)
  mov    $0x10000,%edi
  call   <INT32_C@plt>
  cmp    %eax,-0x14(%rbp)
  jge    L55
  mov    -0x4(%rbp),%eax
  jmp    L36
L55:
  mov    -0x14(%rbp),%eax
  cltd
  idivl  -0x4(%rbp)
  mov    %eax,%edx
  mov    -0x4(%rbp),%eax
  add    %edx,%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x4(%rbp)
  mov    -0x14(%rbp),%eax
  cltd
  idivl  -0x4(%rbp)
  mov    %eax,%edx
  mov    -0x4(%rbp),%eax
  add    %edx,%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x4(%rbp)
  mov    -0x14(%rbp),%eax
  cltd
  idivl  -0x4(%rbp)
  mov    %eax,%edx
  mov    -0x4(%rbp),%eax
  add    %edx,%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x4(%rbp)
  mov    $0x100000,%edi
  call   <INT32_C@plt>
  cmp    %eax,-0x14(%rbp)
  jge    L31
  mov    -0x4(%rbp),%eax
  jmp    L36
L31:
  mov    -0x14(%rbp),%eax
  cltd
  idivl  -0x4(%rbp)
  mov    %eax,%edx
  mov    -0x4(%rbp),%eax
  add    %edx,%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x4(%rbp)
  mov    -0x14(%rbp),%eax
  cltd
  idivl  -0x4(%rbp)
  mov    %eax,%edx
  mov    -0x4(%rbp),%eax
  add    %edx,%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x4(%rbp)
  mov    -0x14(%rbp),%eax
  cltd
  idivl  -0x4(%rbp)
  mov    %eax,%edx
  mov    -0x4(%rbp),%eax
  add    %edx,%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x4(%rbp)
  mov    -0x4(%rbp),%eax
L36:
  leave
  ret
```

assistant: ```c
int32_t sqrt32(int32_t radicand) {
  int32_t x;
  x = radicand;
  x = (x + radicand / x) / 2;
  x = (x + radicand / x) / 2;
  x = (x + radicand / x) / 2;
  x = (x + radicand / x) / 2;
  x = (x + radicand / x) / 2;
  x = (x + radicand / x) / 2;
  if (radicand < 1024)
    return x;
  x = (x + radicand / x) / 2;
  x = (x + radicand / x) / 2;
  x = (x + radicand / x) / 2;
  if (radicand < INT32_C(65536))
    return x;
  x = (x + radicand / x) / 2;
  x = (x + radicand / x) / 2;
  x = (x + radicand / x) / 2;
  if (radicand < INT32_C(1048576))
    return x;
  x = (x + radicand / x) / 2;
  x = (x + radicand / x) / 2;
  x = (x + radicand / x) / 2;
  return x;
}
```