user: 提供的汇编代码用C语言表示会是什么样子：

```asm
<pretvorba>:
  endbr64
  push   %r13
  pxor   %xmm0,%xmm0
  xor    %ecx,%ecx
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  movaps %xmm0,(%rsp)
  mov    %edi,%eax
  movq   $0x0,0x20(%rsp)
  movaps %xmm0,0x10(%rsp)
  nopl   0x0(%rax,%rax,1)
L30:
  mov    %eax,%edx
  shr    $0x1f,%eax
  mov    %ecx,%esi
  lea    0x1(%rcx),%ecx
  add    %edx,%eax
  sar    %eax
  cmp    $0x1,%edx
  jg     L30
  mov    %edi,%edx
  movslq %esi,%rcx
  mov    $0xffffffff,%ebp
  shr    $0x1f,%edx
  lea    (%rdi,%rdx,1),%eax
  and    $0x1,%eax
  sub    %edx,%eax
  mov    %eax,(%rsp,%rcx,4)
  mov    %edx,%eax
  add    %edi,%eax
  mov    %eax,%ecx
  sar    %ecx
  test   %esi,%esi
  je     L1
  shr    $0x1f,%eax
  lea    -0x1(%rsi),%ebp
  lea    (%rcx,%rax,1),%edx
  movslq %ebp,%rdi
  and    $0x1,%edx
  sub    %eax,%edx
  mov    %ecx,%eax
  shr    $0x1f,%eax
  mov    %edx,(%rsp,%rdi,4)
  add    %ecx,%eax
  mov    %eax,%ecx
  sar    %ecx
  cmp    $0x1,%esi
  je     L1
  shr    $0x1f,%eax
  lea    -0x2(%rsi),%edi
  lea    (%rcx,%rax,1),%edx
  movslq %edi,%rdi
  and    $0x1,%edx
  sub    %eax,%edx
  mov    %ecx,%eax
  shr    $0x1f,%eax
  mov    %edx,(%rsp,%rdi,4)
  add    %ecx,%eax
  mov    %eax,%ecx
  sar    %ecx
  cmp    $0x2,%esi
  je     L1
  shr    $0x1f,%eax
  lea    -0x3(%rsi),%edi
  lea    (%rcx,%rax,1),%edx
  movslq %edi,%rdi
  and    $0x1,%edx
  sub    %eax,%edx
  mov    %ecx,%eax
  shr    $0x1f,%eax
  mov    %edx,(%rsp,%rdi,4)
  add    %ecx,%eax
  mov    %eax,%ecx
  sar    %ecx
  cmp    $0x3,%esi
  je     L1
  shr    $0x1f,%eax
  lea    -0x4(%rsi),%edi
  lea    (%rcx,%rax,1),%edx
  movslq %edi,%rdi
  and    $0x1,%edx
  sub    %eax,%edx
  mov    %ecx,%eax
  shr    $0x1f,%eax
  mov    %edx,(%rsp,%rdi,4)
  add    %ecx,%eax
  mov    %eax,%ecx
  sar    %ecx
  cmp    $0x4,%esi
  je     L1
  shr    $0x1f,%eax
  lea    -0x5(%rsi),%edi
  lea    (%rcx,%rax,1),%edx
  movslq %edi,%rdi
  and    $0x1,%edx
  sub    %eax,%edx
  mov    %ecx,%eax
  shr    $0x1f,%eax
  mov    %edx,(%rsp,%rdi,4)
  add    %ecx,%eax
  mov    %eax,%ecx
  sar    %ecx
  cmp    $0x5,%esi
  je     L1
  shr    $0x1f,%eax
  lea    -0x6(%rsi),%edi
  lea    (%rcx,%rax,1),%edx
  movslq %edi,%rdi
  and    $0x1,%edx
  sub    %eax,%edx
  mov    %ecx,%eax
  shr    $0x1f,%eax
  mov    %edx,(%rsp,%rdi,4)
  add    %ecx,%eax
  mov    %eax,%ecx
  sar    %ecx
  cmp    $0x6,%esi
  je     L1
  shr    $0x1f,%eax
  lea    -0x7(%rsi),%edi
  lea    (%rcx,%rax,1),%edx
  movslq %edi,%rdi
  and    $0x1,%edx
  sub    %eax,%edx
  mov    %ecx,%eax
  shr    $0x1f,%eax
  mov    %edx,(%rsp,%rdi,4)
  add    %ecx,%eax
  mov    %eax,%ecx
  sar    %ecx
  cmp    $0x7,%esi
  je     L1
  shr    $0x1f,%eax
  lea    -0x8(%rsi),%edi
  lea    (%rcx,%rax,1),%edx
  movslq %edi,%rdi
  and    $0x1,%edx
  sub    %eax,%edx
  mov    %ecx,%eax
  shr    $0x1f,%eax
  mov    %edx,(%rsp,%rdi,4)
  add    %ecx,%eax
  sar    %eax
  cmp    $0x8,%esi
  je     L1
  mov    %eax,%ecx
  lea    -0x9(%rsi),%edx
  shr    $0x1f,%ecx
  movslq %edx,%rdx
  add    %ecx,%eax
  and    $0x1,%eax
  sub    %ecx,%eax
  mov    %eax,(%rsp,%rdx,4)
L1:
  mov    %rsp,%r13
  xor    %r12d,%r12d
  jmp    L36
  cs nopw 0x0(%rax,%rax,1)
L21:
  sub    $0x1,%ebp
L36:
  mov    $0xa,%edi
  mov    0x0(%r13),%ebx
  add    $0x4,%r13
  call   <pow@plt>
  mov    %eax,%edi
  call   <round@plt>
  mov    %ebp,%esi
  imul   %eax,%ebx
  add    %ebx,%r12d
  cmp    $0xffffffff,%ebp
  jne    L21
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L95
  add    $0x38,%rsp
  mov    %r12d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L95:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
int pretvorba(int broj) {
  int i = 0, j, binarni[10] = {}, rezultat = 0, br_znam = 0, temp;
  temp = broj;
  do {
    broj = broj / 2;
    br_znam++;
    i++;
  } while (broj > 0);
  broj = temp;
  for (i = 0; i < br_znam; i++) {
    binarni[(br_znam - 1) - i] = broj % 2;
    broj = broj / 2;
  }
  for (i = 0, j = br_znam - 1; i < br_znam; i++, j--) {
    rezultat += binarni[i] * round(pow(10, j));
  }
  return rezultat;
}
```