user: What is the c source code of the assembly code below?

```asm
<PositionInChild>:
  endbr64
  push   %r13
  push   %r12
  mov    %edx,%r12d
  push   %rbp
  mov    %edi,%ebp
  push   %rbx
  mov    %esi,%ebx
  sub    $0x48,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x38(%rsp)
  xor    %eax,%eax
  call   <XtIsRectObj@plt>
  test   %eax,%eax
  jne    L38
L27:
  mov    D1(%rip),%rax
  mov    (%rax),%eax
L109:
  mov    0x38(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L15
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  cs nopw 0x0(%rax,%rax,1)
L38:
  mov    D18(%rip),%rax
  mov    0x20(%rsp),%edi
  lea    0x14(%rsp),%rdx
  mov    (%rax),%esi
  call   <XtSetArg@plt>
  mov    D34(%rip),%rax
  mov    0x24(%rsp),%edi
  mov    %rsp,%rdx
  mov    (%rax),%esi
  call   <XtSetArg@plt>
  mov    D62(%rip),%rax
  mov    0x28(%rsp),%edi
  lea    0x4(%rsp),%rdx
  mov    (%rax),%esi
  call   <XtSetArg@plt>
  mov    D68(%rip),%rax
  mov    0x2c(%rsp),%edi
  lea    0xc(%rsp),%rdx
  mov    (%rax),%esi
  call   <XtSetArg@plt>
  mov    D17(%rip),%rax
  mov    0x30(%rsp),%edi
  lea    0x10(%rsp),%rdx
  mov    (%rax),%esi
  call   <XtSetArg@plt>
  mov    D75(%rip),%rax
  mov    0x34(%rsp),%edi
  lea    0x8(%rsp),%rdx
  mov    (%rax),%esi
  call   <XtSetArg@plt>
  mov    %ebp,%edi
  lea    0x20(%rsp),%rsi
  mov    $0x6,%edx
  call   <XtGetValues@plt>
  mov    %ebp,%edi
  call   <XtIsWidget@plt>
  test   %rax,%rax
  je     L67
  mov    0x14(%rsp),%eax
  test   %eax,%eax
  jne    L65
L25:
  mov    %ebp,%edi
  call   <XtWindow@plt>
  mov    %ebp,%edi
  mov    %eax,%r13d
  call   <XtDisplay@plt>
  lea    0x18(%rsp),%rdx
  mov    %r13d,%esi
  mov    %eax,%edi
  call   <XGetWindowAttributes@plt>
  test   %rax,%rax
  je     L67
  mov    D74(%rip),%rax
  mov    (%rax),%rax
  cmp    %rax,0x18(%rsp)
  jne    L27
  nopl   0x0(%rax,%rax,1)
L67:
  mov    0xc(%rsp),%edx
  xor    %eax,%eax
  cmp    %ebx,%edx
  jg     L109
  mov    0x8(%rsp),%ecx
  add    (%rsp),%edx
  add    %ecx,%ecx
  add    %ecx,%edx
  cmp    %ebx,%edx
  jl     L109
  mov    0x10(%rsp),%edx
  cmp    %r12d,%edx
  jg     L109
  add    0x4(%rsp),%edx
  xor    %eax,%eax
  add    %ecx,%edx
  cmp    %r12d,%edx
  setge  %al
  jmp    L109
  nopl   0x0(%rax)
L65:
  mov    %ebp,%edi
  call   <XtIsManaged@plt>
  test   %rax,%rax
  je     L25
  jmp    L67
L15:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
Bool PositionInChild(Widget child, int x, int y) {
  Arg args[6];
  Cardinal num;
  Dimension width, height, border_width;
  Position child_x, child_y;
  Boolean mapped_when_managed;
  if (!XtIsRectObj(child))
    return (False);
  num = 0;
  XtSetArg(args[num], XtNmappedWhenManaged, &mapped_when_managed);
  num++;
  XtSetArg(args[num], XtNwidth, &width);
  num++;
  XtSetArg(args[num], XtNheight, &height);
  num++;
  XtSetArg(args[num], XtNx, &child_x);
  num++;
  XtSetArg(args[num], XtNy, &child_y);
  num++;
  XtSetArg(args[num], XtNborderWidth, &border_width);
  num++;
  XtGetValues(child, args, num);
  if (XtIsWidget(child) && !(mapped_when_managed && XtIsManaged(child))) {
    XWindowAttributes attrs;
    if (XGetWindowAttributes(XtDisplay(child), XtWindow(child), &attrs) && attrs.map_state != IsViewable)
      return (False);
  }
  return ((x >= child_x) && (x <= (child_x + (Position)width + 2 * (Position)border_width)) && (y >= child_y) && (y <= (child_y + (Position)height + 2 * (Position)border_width)));
}
```