user: Please show me the C implementation that matches the assembly code listed below:

```asm
<lineTwoStep>:
  endbr64
  push   %r15
  mov    %ecx,%r9d
  mov    %edx,%r15d
  mov    %edx,%r8d
  push   %r14
  sub    %edi,%r15d
  push   %r13
  mov    %edi,%r13d
  push   %r12
  mov    %ecx,%r12d
  push   %rbp
  mov    %esi,%ebp
  push   %rbx
  mov    $0x1,%ebx
  sub    $0x48,%rsp
  sub    %esi,%r9d
  jns    L386
  mov    %esi,%r9d
  mov    $0xffffffff,%ebx
  sub    %ecx,%r9d
L386:
  mov    $0x1,%r14d
  test   %r15d,%r15d
  jns    L529
  mov    %r13d,%r15d
  mov    $0xffffffff,%r14d
  sub    %r8d,%r15d
L529:
  xor    %eax,%eax
  mov    %ebp,%esi
  mov    %r13d,%edi
  mov    %r8d,0x8(%rsp)
  mov    %r9d,0x4(%rsp)
  call   <lpoint@plt>
  mov    0x4(%rsp),%eax
  or     %r15d,%eax
  jne    L147
L525:
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L147:
  mov    0x8(%rsp),%edi
  xor    %eax,%eax
  mov    %r12d,%esi
  call   <lpoint@plt>
  mov    0x4(%rsp),%r9d
  mov    0x8(%rsp),%r8d
  cmp    %r15d,%r9d
  jge    L629
  lea    -0x1(%r15),%eax
  lea    0x0(,%r9,4),%edx
  mov    %eax,%ecx
  mov    %eax,0x34(%rsp)
  and    $0x3,%eax
  mov    %edx,%edi
  mov    %eax,0x2c(%rsp)
  lea    (%r15,%r15,1),%eax
  sar    $0x2,%ecx
  sub    %eax,%edi
  mov    %ecx,0x4(%rsp)
  mov    %edx,0x28(%rsp)
  mov    %edi,0x8(%rsp)
  js     L224
  mov    %r9d,%edx
  mov    0x4(%rsp),%r9d
  sub    %r15d,%edx
  lea    (%rdx,%rdx,1),%eax
  mov    %eax,0x24(%rsp)
  lea    0x0(,%rdx,4),%eax
  mov    %eax,0x28(%rsp)
  lea    (%r15,%rax,1),%edx
  test   %r9d,%r9d
  jle    L263
  mov    %r14d,%eax
  sub    %r14d,%r8d
  mov    %r13d,0x38(%rsp)
  mov    %r13d,%r15d
  neg    %eax
  sub    %r14d,%r8d
  mov    %r12d,%r9d
  xor    %r10d,%r10d
  sub    %r14d,%eax
  mov    %r8d,0x30(%rsp)
  mov    %r8d,%r13d
  mov    %ebx,%r12d
  mov    %eax,0xc(%rsp)
  lea    (%r14,%r14,1),%eax
  mov    %edx,%ebx
  mov    %ebp,%r8d
  mov    %eax,0x10(%rsp)
  mov    %r14d,%edx
  jmp    L279
  xchg   %ax,%ax
L446:
  mov    %r9d,0x14(%rsp)
  cmp    %ebx,0x24(%rsp)
  jle    L355
  mov    %r8d,%esi
  xor    %eax,%eax
  mov    %r10d,0x20(%rsp)
  mov    %edx,0x1c(%rsp)
  mov    %r11d,0x18(%rsp)
  call   <lpoint@plt>
  mov    %r14d,%esi
  mov    %r15d,%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    0x14(%rsp),%esi
  mov    0x18(%rsp),%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    %ebp,%esi
  mov    %r13d,%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    0x1c(%rsp),%edx
  mov    0x20(%rsp),%r10d
L15:
  add    0x8(%rsp),%ebx
  mov    %ebp,%r9d
  mov    %r14d,%r8d
  add    $0x1,%r10d
  add    0xc(%rsp),%r13d
  cmp    %r10d,0x4(%rsp)
  je     L684
L279:
  mov    %r9d,%ebp
  lea    (%rdx,%r15,1),%edi
  lea    (%rdx,%r13,1),%r11d
  add    0x10(%rsp),%r15d
  lea    (%r12,%r8,1),%r14d
  sub    %r12d,%ebp
  test   %ebx,%ebx
  jle    L446
  mov    %r14d,%esi
  xor    %eax,%eax
  mov    %r10d,0x20(%rsp)
  mov    %edx,0x1c(%rsp)
  mov    %r11d,0x14(%rsp)
  call   <lpoint@plt>
  lea    (%r14,%r12,1),%r8d
  mov    %r15d,%edi
  xor    %eax,%eax
  mov    %r8d,%esi
  mov    %r8d,0x18(%rsp)
  call   <lpoint@plt>
  mov    0x14(%rsp),%edi
  mov    %ebp,%esi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    %ebp,%r9d
  mov    %r13d,%edi
  xor    %eax,%eax
  sub    %r12d,%r9d
  mov    %r9d,%esi
  mov    %r9d,0x14(%rsp)
  call   <lpoint@plt>
  mov    0x20(%rsp),%r10d
  mov    0x14(%rsp),%r9d
  mov    0x18(%rsp),%r8d
  mov    0x1c(%rsp),%edx
  add    0x28(%rsp),%ebx
  add    $0x1,%r10d
  add    0xc(%rsp),%r13d
  cmp    %r10d,0x4(%rsp)
  jne    L279
L684:
  mov    0x4(%rsp),%eax
  mov    %edx,%r14d
  mov    0x38(%rsp),%r13d
  mov    %r8d,%ebp
  mov    %r14d,%esi
  mov    0x30(%rsp),%r8d
  mov    %ebx,%edx
  mov    %r12d,%ebx
  sub    $0x1,%eax
  lea    0x0(%r13,%r14,2),%ecx
  mov    %r9d,%r12d
  imul   %eax,%esi
  imul   0xc(%rsp),%eax
  lea    (%rcx,%rsi,2),%r13d
  add    %eax,%r8d
L263:
  mov    0x2c(%rsp),%edi
  test   %edi,%edi
  je     L525
  mov    0x34(%rsp),%r15d
  add    %r14d,%r13d
  and    $0x2,%r15d
  test   %edx,%edx
  jg     L77
  cmp    %edx,0x24(%rsp)
  jle    L46
  mov    %r8d,0x4(%rsp)
L345:
  xor    %eax,%eax
  mov    %ebp,%esi
  mov    %r13d,%edi
  call   <lpoint@plt>
  test   %r15d,%r15d
  mov    0x4(%rsp),%r8d
  jne    L672
L246:
  cmpl   $0x3,0x2c(%rsp)
  jne    L525
  mov    %r8d,%edi
  mov    %r12d,%esi
  sub    %r14d,%edi
L457:
  add    $0x48,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1050 <lpoint@plt>
  nopl   0x0(%rax,%rax,1)
L629:
  lea    -0x1(%r9),%eax
  lea    0x0(,%r15,4),%ecx
  mov    %eax,%edx
  mov    %eax,0x34(%rsp)
  and    $0x3,%eax
  mov    %ecx,%esi
  mov    %eax,0x2c(%rsp)
  lea    (%r9,%r9,1),%eax
  sar    $0x2,%edx
  sub    %eax,%esi
  mov    %edx,0x8(%rsp)
  mov    %ecx,0x28(%rsp)
  mov    %esi,0x10(%rsp)
  js     L688
  mov    %r15d,%edx
  mov    0x8(%rsp),%ecx
  sub    %r9d,%edx
  lea    (%rdx,%rdx,1),%eax
  mov    %eax,0x24(%rsp)
  lea    0x0(,%rdx,4),%eax
  mov    %eax,0x28(%rsp)
  lea    (%r9,%rax,1),%edx
  test   %ecx,%ecx
  jle    L87
  mov    %ebx,%eax
  sub    %ebx,%r12d
  mov    %ebp,0x38(%rsp)
  mov    %ebp,%r15d
  neg    %eax
  sub    %ebx,%r12d
  mov    %r13d,%r9d
  mov    %r14d,0x4(%rsp)
  sub    %ebx,%eax
  mov    %r12d,0x30(%rsp)
  xor    %r10d,%r10d
  mov    %edx,%r13d
  mov    %eax,0x14(%rsp)
  lea    (%rbx,%rbx,1),%eax
  mov    %r8d,%ebp
  mov    %eax,0x18(%rsp)
  jmp    L390
  nopl   0x0(%rax)
L752:
  mov    %ebp,%eax
  sub    0x4(%rsp),%eax
  cmp    %r13d,0x24(%rsp)
  mov    %r10d,0x20(%rsp)
  mov    %eax,0xc(%rsp)
  mov    %r11d,0x1c(%rsp)
  jle    L696
  mov    %r9d,%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    %r15d,%esi
  mov    %r14d,%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    0x1c(%rsp),%esi
  mov    %ebp,%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    0xc(%rsp),%edi
  mov    %r12d,%esi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    0x20(%rsp),%r10d
L296:
  mov    0xc(%rsp),%ebp
  add    0x10(%rsp),%r13d
  mov    %r14d,%r9d
  add    $0x1,%r10d
  add    0x14(%rsp),%r12d
  cmp    %r10d,0x8(%rsp)
  je     L412
L390:
  mov    0x4(%rsp),%eax
  lea    (%r15,%rbx,1),%esi
  lea    (%r12,%rbx,1),%r11d
  add    0x18(%rsp),%r15d
  lea    (%rax,%r9,1),%r14d
  test   %r13d,%r13d
  jle    L752
  mov    %r14d,%edi
  xor    %eax,%eax
  mov    %r10d,0x20(%rsp)
  sub    %ebx,%ebp
  mov    %r11d,0x1c(%rsp)
  call   <lpoint@plt>
  mov    0x4(%rsp),%eax
  mov    %r15d,%esi
  lea    (%r14,%rax,1),%r9d
  xor    %eax,%eax
  mov    %r9d,%edi
  mov    %r9d,0xc(%rsp)
  call   <lpoint@plt>
  mov    0x1c(%rsp),%esi
  mov    %ebp,%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  sub    0x4(%rsp),%ebp
  mov    %r12d,%esi
  xor    %eax,%eax
  mov    %ebp,%edi
  call   <lpoint@plt>
  mov    0x20(%rsp),%r10d
  mov    0xc(%rsp),%r9d
  add    0x28(%rsp),%r13d
  add    0x14(%rsp),%r12d
  add    $0x1,%r10d
  cmp    %r10d,0x8(%rsp)
  jne    L390
L412:
  mov    0x8(%rsp),%eax
  mov    %ebx,%esi
  mov    %ebp,%r8d
  mov    0x38(%rsp),%ebp
  mov    0x30(%rsp),%r12d
  mov    0x4(%rsp),%r14d
  mov    %r13d,%edx
  mov    %r9d,%r13d
  sub    $0x1,%eax
  lea    0x0(%rbp,%rbx,2),%ecx
  imul   %eax,%esi
  imul   0x14(%rsp),%eax
  lea    (%rcx,%rsi,2),%ebp
  add    %eax,%r12d
L87:
  mov    0x2c(%rsp),%eax
  test   %eax,%eax
  je     L525
  mov    0x34(%rsp),%r15d
  add    %ebx,%ebp
  and    $0x2,%r15d
  test   %edx,%edx
  jg     L43
  cmp    %edx,0x24(%rsp)
  jle    L606
  mov    %r8d,0x4(%rsp)
L80:
  xor    %eax,%eax
  mov    %ebp,%esi
  mov    %r13d,%edi
  call   <lpoint@plt>
  test   %r15d,%r15d
  mov    0x4(%rsp),%r8d
  jne    L434
L218:
  cmpl   $0x3,0x2c(%rsp)
  jne    L525
  mov    %r12d,%esi
  mov    %r8d,%edi
  sub    %ebx,%esi
  jmp    L457
  xchg   %ax,%ax
L224:
  lea    (%r9,%r9,1),%eax
  sub    %r15d,%edx
  mov    %eax,0x18(%rsp)
  mov    %edx,%r9d
  test   %ecx,%ecx
  jle    L756
  mov    %r14d,%eax
  sub    %r14d,%r8d
  mov    %ebx,0x14(%rsp)
  mov    %r13d,%r15d
  neg    %eax
  sub    %r14d,%r8d
  mov    %r13d,0x3c(%rsp)
  mov    %r14d,%edx
  sub    %r14d,%eax
  mov    %r8d,%ecx
  mov    %r8d,0x38(%rsp)
  xor    %r8d,%r8d
  mov    %eax,0xc(%rsp)
  lea    (%r14,%r14,1),%eax
  mov    %r9d,%ebx
  mov    %ecx,%r13d
  mov    %eax,0x10(%rsp)
  mov    %r8d,%ecx
  mov    %ebp,%r9d
  mov    %r12d,%r14d
  jmp    L599
  nopl   0x0(%rax,%rax,1)
L426:
  mov    %r9d,%esi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    %r12d,%esi
  mov    %r15d,%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    0x1c(%rsp),%edi
  mov    %r14d,%esi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    %ebp,%esi
  mov    %r13d,%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    0x20(%rsp),%edx
  mov    0x24(%rsp),%ecx
L428:
  add    0x8(%rsp),%ebx
  mov    %ebp,%r14d
  mov    %r12d,%r9d
L759:
  add    $0x1,%ecx
  add    0xc(%rsp),%r13d
  cmp    %ecx,0x4(%rsp)
  je     L272
L599:
  lea    (%r15,%rdx,1),%edi
  lea    0x0(%r13,%rdx,1),%r11d
  add    0x10(%rsp),%r15d
  test   %ebx,%ebx
  js     L255
  mov    0x14(%rsp),%eax
  mov    %r14d,%ebp
  mov    %ecx,0x24(%rsp)
  mov    %edx,0x20(%rsp)
  sub    %eax,%ebp
  cmp    %ebx,0x18(%rsp)
  mov    %r11d,0x1c(%rsp)
  lea    (%rax,%r9,1),%r12d
  jg     L426
  mov    %r12d,%esi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    %r12d,%esi
  mov    %r15d,%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    0x1c(%rsp),%edi
  mov    %ebp,%esi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    %ebp,%esi
  mov    %r13d,%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    0x24(%rsp),%ecx
  mov    0x20(%rsp),%edx
  jmp    L428
  nopl   0x0(%rax)
L688:
  lea    (%r15,%r15,1),%eax
  sub    %r9d,%ecx
  mov    %eax,0x18(%rsp)
  test   %edx,%edx
  jle    L691
  mov    %ebx,%eax
  sub    %ebx,%r12d
  xor    %r9d,%r9d
  mov    %ebp,0x3c(%rsp)
  neg    %eax
  sub    %ebx,%r12d
  mov    %ebp,%r15d
  mov    %r13d,%r10d
  sub    %ebx,%eax
  mov    %ecx,%ebp
  mov    %r12d,0x38(%rsp)
  mov    %ebx,%edx
  mov    %eax,0x4(%rsp)
  lea    (%rbx,%rbx,1),%eax
  mov    %r9d,%ecx
  mov    %r8d,%r13d
  mov    %eax,0xc(%rsp)
  mov    %r14d,0x14(%rsp)
  jmp    L493
  nopl   (%rax)
L534:
  mov    %r10d,%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    %r15d,%esi
  mov    %r14d,%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    0x1c(%rsp),%esi
  mov    %r13d,%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    %r12d,%esi
  mov    %ebx,%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    0x20(%rsp),%edx
  mov    0x24(%rsp),%ecx
L597:
  add    0x10(%rsp),%ebp
  mov    %ebx,%r13d
  mov    %r14d,%r10d
L616:
  add    $0x1,%ecx
  add    0x4(%rsp),%r12d
  cmp    %ecx,0x8(%rsp)
  je     L416
L493:
  lea    (%r15,%rdx,1),%esi
  lea    (%r12,%rdx,1),%r11d
  add    0xc(%rsp),%r15d
  test   %ebp,%ebp
  js     L508
  mov    0x14(%rsp),%eax
  mov    %r13d,%ebx
  mov    %ecx,0x24(%rsp)
  mov    %edx,0x20(%rsp)
  sub    %eax,%ebx
  cmp    %ebp,0x18(%rsp)
  mov    %r11d,0x1c(%rsp)
  lea    (%rax,%r10,1),%r14d
  jg     L534
  mov    %r14d,%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    %r15d,%esi
  mov    %r14d,%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    0x1c(%rsp),%esi
  mov    %ebx,%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    %r12d,%esi
  mov    %ebx,%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    0x24(%rsp),%ecx
  mov    0x20(%rsp),%edx
  jmp    L597
  nopl   0x0(%rax,%rax,1)
L696:
  mov    %r14d,%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    %r15d,%esi
  mov    %r14d,%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    0xc(%rsp),%ebp
  mov    0x1c(%rsp),%esi
  xor    %eax,%eax
  mov    %ebp,%edi
  call   <lpoint@plt>
  mov    %r12d,%esi
  mov    %ebp,%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    0x20(%rsp),%r10d
  jmp    L296
  xchg   %ax,%ax
L355:
  mov    %r14d,%esi
  xor    %eax,%eax
  mov    %r10d,0x1c(%rsp)
  mov    %edx,0x18(%rsp)
  mov    %r11d,0x14(%rsp)
  call   <lpoint@plt>
  mov    %r14d,%esi
  mov    %r15d,%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    0x14(%rsp),%edi
  mov    %ebp,%esi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    %ebp,%esi
  mov    %r13d,%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    0x1c(%rsp),%r10d
  mov    0x18(%rsp),%edx
  jmp    L15
  nopl   0x0(%rax)
L255:
  mov    %r9d,%esi
  xor    %eax,%eax
  mov    %ecx,0x30(%rsp)
  mov    %edx,0x24(%rsp)
  mov    %r9d,0x1c(%rsp)
  mov    %r11d,0x20(%rsp)
  call   <lpoint@plt>
  mov    0x1c(%rsp),%esi
  mov    %r15d,%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    0x20(%rsp),%edi
  mov    %r14d,%esi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    %r14d,%esi
  mov    %r13d,%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    0x1c(%rsp),%r9d
  mov    0x24(%rsp),%edx
  mov    0x30(%rsp),%ecx
  add    0x28(%rsp),%ebx
  jmp    L759
  nopl   0x0(%rax,%rax,1)
L508:
  mov    %r10d,%edi
  xor    %eax,%eax
  mov    %ecx,0x30(%rsp)
  mov    %edx,0x24(%rsp)
  mov    %r10d,0x1c(%rsp)
  mov    %r11d,0x20(%rsp)
  call   <lpoint@plt>
  mov    0x1c(%rsp),%edi
  mov    %r15d,%esi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    0x20(%rsp),%esi
  mov    %r13d,%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    %r12d,%esi
  mov    %r13d,%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    0x1c(%rsp),%r10d
  mov    0x24(%rsp),%edx
  mov    0x30(%rsp),%ecx
  add    0x28(%rsp),%ebp
  jmp    L616
  nopl   0x0(%rax,%rax,1)
L272:
  mov    %r14d,%r12d
  mov    %edx,%r14d
  mov    0x4(%rsp),%edx
  mov    0xc(%rsp),%eax
  mov    0x3c(%rsp),%r13d
  mov    0x38(%rsp),%r8d
  mov    %r9d,%ebp
  mov    %ebx,%r9d
  sub    $0x1,%edx
  mov    0x14(%rsp),%ebx
  imul   %edx,%eax
  imul   %r14d,%edx
  add    %eax,%r8d
  lea    0x0(%r13,%r14,2),%eax
  lea    (%rax,%rdx,2),%r13d
L756:
  mov    0x2c(%rsp),%r10d
  test   %r10d,%r10d
  je     L525
  mov    0x34(%rsp),%r15d
  add    %r14d,%r13d
  and    $0x2,%r15d
  test   %r9d,%r9d
  js     L379
  cmp    %r9d,0x18(%rsp)
  mov    %r8d,0x4(%rsp)
  jg     L345
  add    %ebx,%ebp
  xor    %eax,%eax
  mov    %r13d,%edi
  mov    %ebp,%esi
  call   <lpoint@plt>
  test   %r15d,%r15d
  mov    0x4(%rsp),%r8d
  je     L311
  lea    0x0(%r13,%r14,1),%edi
  mov    %ebp,%esi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    0x4(%rsp),%r8d
  jmp    L311
  nop
L416:
  mov    %edx,%ebx
  mov    0x8(%rsp),%edx
  mov    0x4(%rsp),%eax
  mov    %ebp,%ecx
  mov    0x38(%rsp),%r12d
  mov    0x3c(%rsp),%ebp
  mov    %r13d,%r8d
  mov    %r10d,%r13d
  sub    $0x1,%edx
  mov    0x14(%rsp),%r14d
  imul   %edx,%eax
  imul   %ebx,%edx
  add    %eax,%r12d
  lea    0x0(%rbp,%rbx,2),%eax
  lea    (%rax,%rdx,2),%ebp
L691:
  mov    0x2c(%rsp),%esi
  test   %esi,%esi
  je     L525
  mov    0x34(%rsp),%r15d
  add    %ebx,%ebp
  and    $0x2,%r15d
  test   %ecx,%ecx
  js     L78
  cmp    %ecx,0x18(%rsp)
  mov    %r8d,0x4(%rsp)
  jg     L80
  add    %r14d,%r13d
  xor    %eax,%eax
  mov    %ebp,%esi
  mov    %r13d,%edi
  call   <lpoint@plt>
  test   %r15d,%r15d
  mov    0x4(%rsp),%r8d
  jne    L168
  xchg   %ax,%ax
L311:
  cmpl   $0x3,0x2c(%rsp)
  jne    L525
  mov    %r12d,%esi
  mov    %r8d,%edi
  sub    %ebx,%esi
  sub    %r14d,%edi
  jmp    L457
  nopl   0x0(%rax,%rax,1)
L77:
  mov    %r8d,0x4(%rsp)
  add    %ebx,%ebp
L439:
  xor    %eax,%eax
  mov    %ebp,%esi
  mov    %r13d,%edi
  call   <lpoint@plt>
  test   %r15d,%r15d
  mov    0x4(%rsp),%r8d
  je     L311
  lea    (%rbx,%rbp,1),%esi
  lea    (%r14,%r13,1),%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    0x4(%rsp),%r8d
  jmp    L311
  nopw   0x0(%rax,%rax,1)
L43:
  mov    %r8d,0x4(%rsp)
  add    %r14d,%r13d
  jmp    L439
L78:
  xor    %eax,%eax
  mov    %ebp,%esi
  mov    %r13d,%edi
  mov    %r8d,0x4(%rsp)
  call   <lpoint@plt>
  test   %r15d,%r15d
  mov    0x4(%rsp),%r8d
  je     L218
  lea    (%rbx,%rbp,1),%esi
  mov    %r13d,%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    0x4(%rsp),%r8d
  jmp    L218
L379:
  xor    %eax,%eax
  mov    %ebp,%esi
  mov    %r13d,%edi
  mov    %r8d,0x4(%rsp)
  call   <lpoint@plt>
  test   %r15d,%r15d
  mov    0x4(%rsp),%r8d
  je     L246
  lea    0x0(%r13,%r14,1),%edi
  mov    %ebp,%esi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    0x4(%rsp),%r8d
  jmp    L246
  nop
L46:
  add    %ebx,%ebp
  xor    %eax,%eax
  mov    %r13d,%edi
  mov    %r8d,0x8(%rsp)
  mov    %ebp,%esi
  mov    %edx,0x4(%rsp)
  call   <lpoint@plt>
  test   %r15d,%r15d
  mov    0x4(%rsp),%edx
  mov    0x8(%rsp),%r8d
  jne    L308
L247:
  cmpl   $0x3,0x2c(%rsp)
  jne    L525
  mov    %r8d,%edi
  mov    %r12d,%esi
  sub    %r14d,%edi
  cmp    %edx,0x24(%rsp)
  jge    L457
  sub    %ebx,%esi
  jmp    L457
  xchg   %ax,%ax
L606:
  add    %r14d,%r13d
  xor    %eax,%eax
  mov    %ebp,%esi
  mov    %r8d,0x8(%rsp)
  mov    %r13d,%edi
  mov    %edx,0x4(%rsp)
  call   <lpoint@plt>
  test   %r15d,%r15d
  mov    0x4(%rsp),%edx
  mov    0x8(%rsp),%r8d
  jne    L504
L354:
  cmpl   $0x3,0x2c(%rsp)
  jne    L525
  mov    %r12d,%esi
  mov    %r8d,%edi
  sub    %ebx,%esi
  cmp    %edx,0x24(%rsp)
  jge    L457
  sub    %r14d,%edi
  jmp    L457
  nopl   0x0(%rax,%rax,1)
L672:
  lea    (%rbx,%rbp,1),%esi
  lea    0x0(%r13,%r14,1),%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    0x4(%rsp),%r8d
  jmp    L246
  nopl   0x0(%rax)
L434:
  lea    (%rbx,%rbp,1),%esi
  lea    (%r14,%r13,1),%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    0x4(%rsp),%r8d
  jmp    L218
L308:
  lea    0x0(%r13,%r14,1),%edi
  mov    %ebp,%esi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    0x8(%rsp),%r8d
  mov    0x4(%rsp),%edx
  jmp    L247
L504:
  lea    (%rbx,%rbp,1),%esi
  mov    %r13d,%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    0x8(%rsp),%r8d
  mov    0x4(%rsp),%edx
  jmp    L354
L168:
  lea    (%rbx,%rbp,1),%esi
  mov    %r13d,%edi
  xor    %eax,%eax
  call   <lpoint@plt>
  mov    0x4(%rsp),%r8d
  jmp    L311
```

assistant: ```c
void lineTwoStep(int x0, int y0, int x1, int y1) {
  int dy = y1 - y0;
  int dx = x1 - x0;
  int stepx, stepy;
  if (dy < 0) {
    dy = -dy;
    stepy = -1;
  } else {
    stepy = 1;
  }
  if (dx < 0) {
    dx = -dx;
    stepx = -1;
  } else {
    stepx = 1;
  }
  lpoint(x0, y0);
  if (dx == 0 && dy == 0)
    return;
  lpoint(x1, y1);
  if (dx > dy) {
    int length = (dx - 1) >> 2;
    int extras = (dx - 1) & 3;
    int incr2 = (dy << 2) - (dx << 1);
    if (incr2 < 0) {
      int c = dy << 1;
      int incr1 = c << 1;
      int d = incr1 - dx;
      int i;
      for (i = 0; i < length; i++) {
        x0 += stepx;
        x1 -= stepx;
        if (d < 0) {
          lpoint(x0, y0);
          lpoint(x0 += stepx, y0);
          lpoint(x1, y1);
          lpoint(x1 -= stepx, y1);
          d += incr1;
        } else {
          if (d < c) {
            lpoint(x0, y0);
            lpoint(x0 += stepx, y0 += stepy);
            lpoint(x1, y1);
            lpoint(x1 -= stepx, y1 -= stepy);
          } else {
            lpoint(x0, y0 += stepy);
            lpoint(x0 += stepx, y0);
            lpoint(x1, y1 -= stepy);
            lpoint(x1 -= stepx, y1);
          }
          d += incr2;
        }
      }
      if (extras > 0) {
        if (d < 0) {
          lpoint(x0 += stepx, y0);
          if (extras > 1)
            lpoint(x0 += stepx, y0);
          if (extras > 2)
            lpoint(x1 -= stepx, y1);
        } else if (d < c) {
          lpoint(x0 += stepx, y0);
          if (extras > 1)
            lpoint(x0 += stepx, y0 += stepy);
          if (extras > 2)
            lpoint(x1 -= stepx, y1);
        } else {
          lpoint(x0 += stepx, y0 += stepy);
          if (extras > 1)
            lpoint(x0 += stepx, y0);
          if (extras > 2)
            lpoint(x1 -= stepx, y1 -= stepy);
        }
      }
    } else {
      int c = (dy - dx) << 1;
      int incr1 = c << 1;
      int d = incr1 + dx;
      int i;
      for (i = 0; i < length; i++) {
        x0 += stepx;
        x1 -= stepx;
        if (d > 0) {
          lpoint(x0, y0 += stepy);
          lpoint(x0 += stepx, y0 += stepy);
          lpoint(x1, y1 -= stepy);
          lpoint(x1 -= stepx, y1 -= stepy);
          d += incr1;
        } else {
          if (d < c) {
            lpoint(x0, y0);
            lpoint(x0 += stepx, y0 += stepy);
            lpoint(x1, y1);
            lpoint(x1 -= stepx, y1 -= stepy);
          } else {
            lpoint(x0, y0 += stepy);
            lpoint(x0 += stepx, y0);
            lpoint(x1, y1 -= stepy);
            lpoint(x1 -= stepx, y1);
          }
          d += incr2;
        }
      }
      if (extras > 0) {
        if (d > 0) {
          lpoint(x0 += stepx, y0 += stepy);
          if (extras > 1)
            lpoint(x0 += stepx, y0 += stepy);
          if (extras > 2)
            lpoint(x1 -= stepx, y1 -= stepy);
        } else if (d < c) {
          lpoint(x0 += stepx, y0);
          if (extras > 1)
            lpoint(x0 += stepx, y0 += stepy);
          if (extras > 2)
            lpoint(x1 -= stepx, y1);
        } else {
          lpoint(x0 += stepx, y0 += stepy);
          if (extras > 1)
            lpoint(x0 += stepx, y0);
          if (extras > 2) {
            if (d > c)
              lpoint(x1 -= stepx, y1 -= stepy);
            else
              lpoint(x1 -= stepx, y1);
          }
        }
      }
    }
  } else {
    int length = (dy - 1) >> 2;
    int extras = (dy - 1) & 3;
    int incr2 = (dx << 2) - (dy << 1);
    if (incr2 < 0) {
      int c = dx << 1;
      int incr1 = c << 1;
      int d = incr1 - dy;
      int i;
      for (i = 0; i < length; i++) {
        y0 += stepy;
        y1 -= stepy;
        if (d < 0) {
          lpoint(x0, y0);
          lpoint(x0, y0 += stepy);
          lpoint(x1, y1);
          lpoint(x1, y1 -= stepy);
          d += incr1;
        } else {
          if (d < c) {
            lpoint(x0, y0);
            lpoint(x0 += stepx, y0 += stepy);
            lpoint(x1, y1);
            lpoint(x1 -= stepx, y1 -= stepy);
          } else {
            lpoint(x0 += stepx, y0);
            lpoint(x0, y0 += stepy);
            lpoint(x1 -= stepx, y1);
            lpoint(x1, y1 -= stepy);
          }
          d += incr2;
        }
      }
      if (extras > 0) {
        if (d < 0) {
          lpoint(x0, y0 += stepy);
          if (extras > 1)
            lpoint(x0, y0 += stepy);
          if (extras > 2)
            lpoint(x1, y1 -= stepy);
        } else if (d < c) {
          lpoint(x0, y0 += stepy);
          if (extras > 1)
            lpoint(x0 += stepx, y0 += stepy);
          if (extras > 2)
            lpoint(x1, y1 -= stepy);
        } else {
          lpoint(x0 += stepx, y0 += stepy);
          if (extras > 1)
            lpoint(x0, y0 += stepy);
          if (extras > 2)
            lpoint(x1 -= stepx, y1 -= stepy);
        }
      }
    } else {
      int c = (dx - dy) << 1;
      int incr1 = c << 1;
      int d = incr1 + dy;
      int i;
      for (i = 0; i < length; i++) {
        y0 += stepy;
        y1 -= stepy;
        if (d > 0) {
          lpoint(x0 += stepx, y0);
          lpoint(x0 += stepx, y0 += stepy);
          lpoint(x1 -= stepy, y1);
          lpoint(x1 -= stepx, y1 -= stepy);
          d += incr1;
        } else {
          if (d < c) {
            lpoint(x0, y0);
            lpoint(x0 += stepx, y0 += stepy);
            lpoint(x1, y1);
            lpoint(x1 -= stepx, y1 -= stepy);
          } else {
            lpoint(x0 += stepx, y0);
            lpoint(x0, y0 += stepy);
            lpoint(x1 -= stepx, y1);
            lpoint(x1, y1 -= stepy);
          }
          d += incr2;
        }
      }
      if (extras > 0) {
        if (d > 0) {
          lpoint(x0 += stepx, y0 += stepy);
          if (extras > 1)
            lpoint(x0 += stepx, y0 += stepy);
          if (extras > 2)
            lpoint(x1 -= stepx, y1 -= stepy);
        } else if (d < c) {
          lpoint(x0, y0 += stepy);
          if (extras > 1)
            lpoint(x0 += stepx, y0 += stepy);
          if (extras > 2)
            lpoint(x1, y1 -= stepy);
        } else {
          lpoint(x0 += stepx, y0 += stepy);
          if (extras > 1)
            lpoint(x0, y0 += stepy);
          if (extras > 2) {
            if (d > c)
              lpoint(x1 -= stepx, y1 -= stepy);
            else
              lpoint(x1, y1 -= stepy);
          }
        }
      }
    }
  }
}
```