user: Converte this assembly snippet into its equivalent C code:

```asm
<Pstar>:
  endbr64
  cmp    $0x1,%esi
  jg     L17
  ret
  nopw   0x0(%rax,%rax,1)
L17:
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  mov    %esi,%r12d
  push   %rbp
  sar    %r12d
  mov    %edi,%ebp
  push   %rbx
  mov    %esi,%ebx
  sub    $0x18,%rsp
  cmp    $0x1,%r12d
  jne    L61
  sub    %r12d,%ebx
  lea    (%r12,%rbp,1),%r13d
  cmp    $0x1,%ebx
  jg     L34
L88:
  add    $0x18,%rsp
  mov    %ebx,%ecx
  mov    %r13d,%edx
  mov    %r12d,%esi
  pop    %rbx
  mov    %ebp,%edi
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1050 <Pbracket@plt>
  nopl   0x0(%rax,%rax,1)
L61:
  mov    %esi,%r13d
  sar    $0x2,%r13d
  cmp    $0x1,%r13d
  je     L6
  mov    %esi,%r14d
  sar    $0x3,%r14d
  mov    %r14d,%esi
  lea    0x0(%rbp,%r14,1),%r15d
  call   <Pstar>
  mov    %r13d,%ecx
  mov    %r15d,%edi
  sub    %r14d,%ecx
  mov    %ecx,%esi
  mov    %ecx,(%rsp)
  call   <Pstar>
  mov    (%rsp),%ecx
  mov    %r15d,%edx
  mov    %r14d,%esi
  mov    %ebp,%edi
  call   <Pbracket@plt>
L6:
  mov    %r12d,%r14d
  lea    0x0(%rbp,%r13,1),%r15d
  sub    %r13d,%r14d
  cmp    $0x1,%r14d
  jle    L68
  mov    %r14d,%r8d
  mov    %r15d,%edi
  sar    %r8d
  mov    %r8d,%esi
  mov    %r8d,(%rsp)
  call   <Pstar>
  mov    (%rsp),%r8d
  mov    %r14d,%ecx
  sub    %r8d,%ecx
  lea    (%r15,%r8,1),%edx
  mov    %r8d,0x8(%rsp)
  mov    %ecx,%esi
  mov    %edx,%edi
  mov    %ecx,0x4(%rsp)
  mov    %edx,(%rsp)
  call   <Pstar>
  mov    0x4(%rsp),%ecx
  mov    (%rsp),%edx
  mov    %r15d,%edi
  mov    0x8(%rsp),%esi
  call   <Pbracket@plt>
L68:
  mov    %r13d,%esi
  mov    %r14d,%ecx
  mov    %r15d,%edx
  mov    %ebp,%edi
  call   <Pbracket@plt>
  sub    %r12d,%ebx
  lea    (%r12,%rbp,1),%r13d
  cmp    $0x1,%ebx
  jle    L88
L34:
  mov    %ebx,%r14d
  sar    %r14d
  cmp    $0x1,%r14d
  je     L7
  mov    %ebx,%r15d
  mov    %r13d,%edi
  sar    $0x2,%r15d
  mov    %r15d,%esi
  call   <Pstar>
  mov    %r14d,%ecx
  lea    0x0(%r13,%r15,1),%edx
  sub    %r15d,%ecx
  mov    %edx,%edi
  mov    %edx,(%rsp)
  mov    %ecx,%esi
  mov    %ecx,0x4(%rsp)
  call   <Pstar>
  mov    0x4(%rsp),%ecx
  mov    (%rsp),%edx
  mov    %r15d,%esi
  mov    %r13d,%edi
  call   <Pbracket@plt>
L7:
  mov    %ebx,%r15d
  lea    0x0(%r13,%r14,1),%r8d
  sub    %r14d,%r15d
  cmp    $0x1,%r15d
  jle    L1
  mov    %r15d,%r9d
  mov    %r8d,%edi
  mov    %r8d,(%rsp)
  sar    %r9d
  mov    %r9d,%esi
  mov    %r9d,0x4(%rsp)
  call   <Pstar>
  mov    0x4(%rsp),%r9d
  mov    (%rsp),%r8d
  mov    %r15d,%ecx
  lea    (%r8,%r9,1),%edx
  sub    %r9d,%ecx
  mov    %r9d,0xc(%rsp)
  mov    %ecx,%esi
  mov    %edx,%edi
  mov    %r8d,0x8(%rsp)
  mov    %ecx,0x4(%rsp)
  mov    %edx,(%rsp)
  call   <Pstar>
  mov    0x8(%rsp),%r8d
  mov    (%rsp),%edx
  mov    0x4(%rsp),%ecx
  mov    0xc(%rsp),%esi
  mov    %r8d,%edi
  mov    %r8d,(%rsp)
  call   <Pbracket@plt>
  mov    (%rsp),%r8d
L1:
  mov    %r15d,%ecx
  mov    %r8d,%edx
  mov    %r14d,%esi
  mov    %r13d,%edi
  call   <Pbracket@plt>
  jmp    L88
```

assistant: ```c
void Pstar(int i, int m) {
  int a;
  if (m > 1) {
    a = m / 2;
    Pstar(i, a);
    Pstar((i + a), (m - a));
    Pbracket(i, a, (i + a), (m - a));
  }
}
```