user: Demonstrate the C code that generates the assembly output below:

```asm
<rowswap>:
  endbr64
  push   %r15
  lea    -0x1(%rdx),%eax
  lea    0x1(%rsi),%r15d
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %eax,0xc(%rsp)
  cmp    %eax,%r15d
  jge    L113
  mov    %rdi,%r12
  mov    %esi,%ebx
  mov    %edx,%ebp
  movslq %esi,%r13
  cmp    $0x1,%edx
  jne    L15
  movslq %r15d,%r14
  lea    (%rdi,%r13,4),%r15
  jmp    L13
  nopw   0x0(%rax,%rax,1)
L178:
  add    $0x1,%r14
  test   %r14d,%r14d
  jns    L113
L13:
  pxor   %xmm0,%xmm0
  cvtss2sd (%r15,%r14,4),%xmm0
  call   <abs@plt>
  test   %eax,%eax
  jle    L178
L172:
  cmp    %ebp,%ebx
  jge    L113
  mov    %ebx,%eax
  imul   %ebp,%eax
  sub    %ebx,%ebp
  movslq %eax,%rdi
  lea    (%rdi,%r13,1),%r9
  add    %r14,%r13
  lea    0x0(,%r13,4),%rcx
  lea    0x0(,%r9,4),%rsi
  lea    0x10(%rcx),%rax
  lea    0x10(,%r9,4),%r8
  cmp    %rsi,%rax
  setle  %al
  cmp    %r8,%rcx
  setge  %r8b
  or     %r8b,%al
  je     L193
  cmp    $0x1,%ebp
  je     L193
  lea    -0x1(%rbp),%eax
  cmp    $0x2,%eax
  jbe    L139
  mov    %ebp,%r8d
  add    %r12,%rsi
  add    %r12,%rcx
  xor    %eax,%eax
  shr    $0x2,%r8d
  shl    $0x4,%r8
  nopl   0x0(%rax,%rax,1)
L102:
  movups (%rsi,%rax,1),%xmm0
  movups (%rcx,%rax,1),%xmm2
  movups %xmm2,(%rsi,%rax,1)
  movups %xmm0,(%rcx,%rax,1)
  add    $0x10,%rax
  cmp    %r8,%rax
  jne    L102
  mov    %ebp,%eax
  and    $0xfffffffc,%eax
  add    %eax,%ebx
  cmp    %eax,%ebp
  je     L113
  sub    %eax,%ebp
  cmp    $0x1,%ebp
  je     L108
L65:
  add    %rax,%r9
  add    %rax,%r13
  lea    (%r12,%r13,4),%rax
  lea    (%r12,%r9,4),%rcx
  mov    (%rax),%r8
  mov    (%rcx),%rsi
  mov    %r8,(%rcx)
  mov    %rsi,(%rax)
  mov    %ebp,%eax
  and    $0xfffffffe,%eax
  add    %eax,%ebx
  cmp    %eax,%ebp
  je     L113
L108:
  movslq %ebx,%rbx
  lea    (%rdi,%rbx,1),%rax
  add    %r14,%rbx
  lea    (%r12,%rax,4),%rcx
  lea    (%r12,%rbx,4),%rax
  movss  (%rcx),%xmm0
  movss  (%rax),%xmm1
  movss  %xmm1,(%rcx)
  movss  %xmm0,(%rax)
L113:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L15:
  movslq %edx,%rax
  mov    %r15d,%edx
  imul   %ebp,%edx
  mov    %rax,0x18(%rsp)
  lea    (%rdi,%r13,4),%rax
  mov    %rax,0x10(%rsp)
  movslq %edx,%r14
  jmp    L84
  nopl   0x0(%rax)
L125:
  add    $0x1,%r15d
  add    0x18(%rsp),%r14
  cmp    0xc(%rsp),%r15d
  je     L113
L84:
  mov    0x10(%rsp),%rax
  pxor   %xmm0,%xmm0
  cvtss2sd (%rax,%r14,4),%xmm0
  call   <abs@plt>
  test   %eax,%eax
  jle    L125
  jmp    L172
L193:
  mov    0xc(%rsp),%edx
  lea    (%r12,%r9,4),%rax
  sub    %ebx,%edx
  lea    (%rdx,%r9,1),%rcx
  mov    %r14,%rdx
  lea    0x4(%r12,%rcx,4),%rcx
  sub    %rdi,%rdx
  xchg   %ax,%ax
L140:
  movss  (%rax),%xmm0
  movss  (%rax,%rdx,4),%xmm1
  movss  %xmm1,(%rax)
  movss  %xmm0,(%rax,%rdx,4)
  add    $0x4,%rax
  cmp    %rcx,%rax
  jne    L140
  jmp    L113
L139:
  xor    %eax,%eax
  jmp    L65
```

assistant: ```c
void rowswap(float *array, int j, int n) {
  int i, k;
  for (i = j + 1; i < n - 1; i++) {
    if (abs(*(array + (n)*i + j)) > 0.01) {
      for (k = j; k < n; k++) {
        float tmp = *(array + n * j + k);
        *(array + n * j + k) = *(array + n * i + k);
        *(array + n * i + k) = tmp;
      }
      break;
    }
  }
}
```