user: 请从给定的汇编指令推导出C源代码：

```asm
<blur>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xc0,%rsp
  mov    %rdi,-0xa8(%rbp)
  mov    %esi,-0xac(%rbp)
  mov    %edx,-0xb0(%rbp)
  mov    %ecx,-0xb4(%rbp)
  mov    -0xac(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x5c(%rbp)
  mov    -0xb0(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x58(%rbp)
  mov    -0xac(%rbp),%eax
  imul   -0xb0(%rbp),%eax
  mov    %eax,-0x54(%rbp)
  mov    -0xb4(%rbp),%eax
  add    %eax,%eax
  add    $0x1,%eax
  mov    %eax,-0x50(%rbp)
  mov    -0x54(%rbp),%eax
  cltq
  shl    $0x2,%rax
  mov    %rax,%rdi
  call   <malloc@plt>
  mov    %rax,-0x38(%rbp)
  mov    -0x54(%rbp),%eax
  cltq
  shl    $0x2,%rax
  mov    %rax,%rdi
  call   <malloc@plt>
  mov    %rax,-0x30(%rbp)
  mov    -0x54(%rbp),%eax
  cltq
  shl    $0x2,%rax
  mov    %rax,%rdi
  call   <malloc@plt>
  mov    %rax,-0x28(%rbp)
  mov    -0xb0(%rbp),%edx
  mov    -0xac(%rbp),%eax
  cmp    %eax,%edx
  cmovge %edx,%eax
  cltq
  shl    $0x2,%rax
  mov    %rax,%rdi
  call   <malloc@plt>
  mov    %rax,-0x20(%rbp)
  mov    -0x50(%rbp),%eax
  add    $0x1,%eax
  sar    %eax
  mov    %eax,-0x4c(%rbp)
  mov    -0x4c(%rbp),%eax
  imul   %eax,%eax
  mov    %eax,-0x4c(%rbp)
  mov    -0x4c(%rbp),%eax
  shl    $0x8,%eax
  cltq
  shl    $0x2,%rax
  mov    %rax,%rdi
  call   <malloc@plt>
  mov    %rax,-0x18(%rbp)
  movl   $0x0,-0x88(%rbp)
  jmp    L35
L145:
  mov    -0x88(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x88(%rbp),%eax
  cltd
  idivl  -0x4c(%rbp)
  mov    %eax,(%rcx)
  addl   $0x1,-0x88(%rbp)
L35:
  mov    -0x4c(%rbp),%eax
  shl    $0x8,%eax
  cmp    %eax,-0x88(%rbp)
  jl     L145
  movl   $0x0,-0x80(%rbp)
  mov    -0x80(%rbp),%eax
  mov    %eax,-0x7c(%rbp)
  mov    -0x50(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  shl    $0x2,%rax
  mov    %rax,%rdi
  call   <malloc@plt>
  mov    %rax,-0x10(%rbp)
  mov    -0xb4(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x48(%rbp)
  movl   $0x0,-0x8c(%rbp)
  jmp    L31
L85:
  movl   $0x0,-0x94(%rbp)
  mov    -0x94(%rbp),%eax
  mov    %eax,-0x98(%rbp)
  mov    -0x98(%rbp),%eax
  mov    %eax,-0x9c(%rbp)
  mov    -0x9c(%rbp),%eax
  mov    %eax,-0x6c(%rbp)
  mov    -0x6c(%rbp),%eax
  mov    %eax,-0x70(%rbp)
  mov    -0x70(%rbp),%eax
  mov    %eax,-0x74(%rbp)
  mov    -0x74(%rbp),%eax
  mov    %eax,-0x60(%rbp)
  mov    -0x60(%rbp),%eax
  mov    %eax,-0x64(%rbp)
  mov    -0x64(%rbp),%eax
  mov    %eax,-0x68(%rbp)
  mov    -0xb4(%rbp),%eax
  neg    %eax
  mov    %eax,-0x88(%rbp)
  jmp    L112
L151:
  mov    -0x88(%rbp),%eax
  mov    $0x0,%edx
  test   %eax,%eax
  cmovns %eax,%edx
  mov    -0x5c(%rbp),%eax
  cmp    %eax,%edx
  cmovg  %eax,%edx
  mov    -0x80(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0xa8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x40(%rbp)
  mov    -0x88(%rbp),%edx
  mov    -0xb4(%rbp),%eax
  add    %edx,%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  mov    %rax,%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x40(%rbp),%eax
  sar    $0x10,%eax
  movzbl %al,%edx
  mov    -0x8(%rbp),%rax
  mov    %edx,(%rax)
  mov    -0x40(%rbp),%eax
  sar    $0x8,%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  lea    0x4(%rax),%rdx
  movzbl %cl,%eax
  mov    %eax,(%rdx)
  mov    -0x8(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    -0x40(%rbp),%eax
  movzbl %al,%eax
  mov    %eax,(%rdx)
  mov    -0x88(%rbp),%eax
  mov    %eax,%edx
  neg    %edx
  cmovs  %eax,%edx
  mov    -0x48(%rbp),%eax
  sub    %edx,%eax
  mov    %eax,-0x3c(%rbp)
  mov    -0x8(%rbp),%rax
  mov    (%rax),%eax
  imul   -0x3c(%rbp),%eax
  add    %eax,-0x9c(%rbp)
  mov    -0x8(%rbp),%rax
  add    $0x4,%rax
  mov    (%rax),%eax
  imul   -0x3c(%rbp),%eax
  add    %eax,-0x98(%rbp)
  mov    -0x8(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%eax
  imul   -0x3c(%rbp),%eax
  add    %eax,-0x94(%rbp)
  cmpl   $0x0,-0x88(%rbp)
  jle    L33
  mov    -0x8(%rbp),%rax
  mov    (%rax),%eax
  add    %eax,-0x68(%rbp)
  mov    -0x8(%rbp),%rax
  add    $0x4,%rax
  mov    (%rax),%eax
  add    %eax,-0x64(%rbp)
  mov    -0x8(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%eax
  add    %eax,-0x60(%rbp)
  jmp    L63
L33:
  mov    -0x8(%rbp),%rax
  mov    (%rax),%eax
  add    %eax,-0x74(%rbp)
  mov    -0x8(%rbp),%rax
  add    $0x4,%rax
  mov    (%rax),%eax
  add    %eax,-0x70(%rbp)
  mov    -0x8(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%eax
  add    %eax,-0x6c(%rbp)
L63:
  addl   $0x1,-0x88(%rbp)
L112:
  mov    -0x88(%rbp),%eax
  cmp    -0xb4(%rbp),%eax
  jle    L151
  mov    -0xb4(%rbp),%eax
  mov    %eax,-0x78(%rbp)
  movl   $0x0,-0x90(%rbp)
  jmp    L92
L4:
  mov    -0x9c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    -0x80(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    -0x38(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rax),%eax
  mov    %eax,(%rdx)
  mov    -0x98(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    -0x80(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    -0x30(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rax),%eax
  mov    %eax,(%rdx)
  mov    -0x94(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    -0x80(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    -0x28(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rax),%eax
  mov    %eax,(%rdx)
  mov    -0x74(%rbp),%eax
  sub    %eax,-0x9c(%rbp)
  mov    -0x70(%rbp),%eax
  sub    %eax,-0x98(%rbp)
  mov    -0x6c(%rbp),%eax
  sub    %eax,-0x94(%rbp)
  mov    -0x78(%rbp),%eax
  sub    -0xb4(%rbp),%eax
  mov    %eax,%edx
  mov    -0x50(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x44(%rbp)
  mov    -0x44(%rbp),%eax
  cltd
  idivl  -0x50(%rbp)
  mov    %edx,%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  mov    %rax,%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x8(%rbp),%rax
  mov    (%rax),%eax
  sub    %eax,-0x74(%rbp)
  mov    -0x8(%rbp),%rax
  add    $0x4,%rax
  mov    (%rax),%eax
  sub    %eax,-0x70(%rbp)
  mov    -0x8(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%eax
  sub    %eax,-0x6c(%rbp)
  cmpl   $0x0,-0x8c(%rbp)
  jne    L81
  mov    -0x90(%rbp),%edx
  mov    -0xb4(%rbp),%eax
  add    %edx,%eax
  lea    0x1(%rax),%edx
  mov    -0x90(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    -0x20(%rbp),%rax
  add    %rax,%rcx
  mov    -0x5c(%rbp),%eax
  cmp    %eax,%edx
  cmovle %edx,%eax
  mov    %eax,(%rcx)
L81:
  mov    -0x90(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x7c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0xa8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x40(%rbp)
  mov    -0x40(%rbp),%eax
  sar    $0x10,%eax
  movzbl %al,%edx
  mov    -0x8(%rbp),%rax
  mov    %edx,(%rax)
  mov    -0x40(%rbp),%eax
  sar    $0x8,%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  lea    0x4(%rax),%rdx
  movzbl %cl,%eax
  mov    %eax,(%rdx)
  mov    -0x8(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    -0x40(%rbp),%eax
  movzbl %al,%eax
  mov    %eax,(%rdx)
  mov    -0x8(%rbp),%rax
  mov    (%rax),%eax
  add    %eax,-0x68(%rbp)
  mov    -0x8(%rbp),%rax
  add    $0x4,%rax
  mov    (%rax),%eax
  add    %eax,-0x64(%rbp)
  mov    -0x8(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%eax
  add    %eax,-0x60(%rbp)
  mov    -0x68(%rbp),%eax
  add    %eax,-0x9c(%rbp)
  mov    -0x64(%rbp),%eax
  add    %eax,-0x98(%rbp)
  mov    -0x60(%rbp),%eax
  add    %eax,-0x94(%rbp)
  mov    -0x78(%rbp),%eax
  add    $0x1,%eax
  cltd
  idivl  -0x50(%rbp)
  mov    %edx,-0x78(%rbp)
  mov    -0x78(%rbp),%eax
  cltd
  idivl  -0x50(%rbp)
  mov    %edx,%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  mov    %rax,%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x8(%rbp),%rax
  mov    (%rax),%eax
  add    %eax,-0x74(%rbp)
  mov    -0x8(%rbp),%rax
  add    $0x4,%rax
  mov    (%rax),%eax
  add    %eax,-0x70(%rbp)
  mov    -0x8(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%eax
  add    %eax,-0x6c(%rbp)
  mov    -0x8(%rbp),%rax
  mov    (%rax),%eax
  sub    %eax,-0x68(%rbp)
  mov    -0x8(%rbp),%rax
  add    $0x4,%rax
  mov    (%rax),%eax
  sub    %eax,-0x64(%rbp)
  mov    -0x8(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%eax
  sub    %eax,-0x60(%rbp)
  addl   $0x1,-0x80(%rbp)
  addl   $0x1,-0x90(%rbp)
L92:
  mov    -0x90(%rbp),%eax
  cmp    -0xac(%rbp),%eax
  jl     L4
  mov    -0xac(%rbp),%eax
  add    %eax,-0x7c(%rbp)
  addl   $0x1,-0x8c(%rbp)
L31:
  mov    -0x8c(%rbp),%eax
  cmp    -0xb0(%rbp),%eax
  jl     L85
  movl   $0x0,-0x90(%rbp)
  jmp    L58
L57:
  movl   $0x0,-0x94(%rbp)
  mov    -0x94(%rbp),%eax
  mov    %eax,-0x98(%rbp)
  mov    -0x98(%rbp),%eax
  mov    %eax,-0x9c(%rbp)
  mov    -0x9c(%rbp),%eax
  mov    %eax,-0x6c(%rbp)
  mov    -0x6c(%rbp),%eax
  mov    %eax,-0x70(%rbp)
  mov    -0x70(%rbp),%eax
  mov    %eax,-0x74(%rbp)
  mov    -0x74(%rbp),%eax
  mov    %eax,-0x60(%rbp)
  mov    -0x60(%rbp),%eax
  mov    %eax,-0x64(%rbp)
  mov    -0x64(%rbp),%eax
  mov    %eax,-0x68(%rbp)
  mov    -0xb4(%rbp),%eax
  neg    %eax
  mov    %eax,%edx
  mov    -0xac(%rbp),%eax
  imul   %edx,%eax
  mov    %eax,-0x84(%rbp)
  mov    -0xb4(%rbp),%eax
  neg    %eax
  mov    %eax,-0x88(%rbp)
  jmp    L209
L116:
  mov    -0x84(%rbp),%eax
  mov    $0x0,%edx
  test   %eax,%eax
  cmovns %eax,%edx
  mov    -0x90(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x80(%rbp)
  mov    -0x88(%rbp),%edx
  mov    -0xb4(%rbp),%eax
  add    %edx,%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  mov    %rax,%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x80(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x8(%rbp),%rax
  mov    %edx,(%rax)
  mov    -0x80(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  mov    -0x8(%rbp),%rdx
  add    $0x4,%rdx
  mov    (%rax),%eax
  mov    %eax,(%rdx)
  mov    -0x80(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    -0x8(%rbp),%rdx
  add    $0x8,%rdx
  mov    (%rax),%eax
  mov    %eax,(%rdx)
  mov    -0x88(%rbp),%eax
  mov    %eax,%edx
  neg    %edx
  cmovs  %eax,%edx
  mov    -0x48(%rbp),%eax
  sub    %edx,%eax
  mov    %eax,-0x3c(%rbp)
  mov    -0x80(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  imul   -0x3c(%rbp),%eax
  add    %eax,-0x9c(%rbp)
  mov    -0x80(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  imul   -0x3c(%rbp),%eax
  add    %eax,-0x98(%rbp)
  mov    -0x80(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  imul   -0x3c(%rbp),%eax
  add    %eax,-0x94(%rbp)
  cmpl   $0x0,-0x88(%rbp)
  jle    L125
  mov    -0x8(%rbp),%rax
  mov    (%rax),%eax
  add    %eax,-0x68(%rbp)
  mov    -0x8(%rbp),%rax
  add    $0x4,%rax
  mov    (%rax),%eax
  add    %eax,-0x64(%rbp)
  mov    -0x8(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%eax
  add    %eax,-0x60(%rbp)
  jmp    L158
L125:
  mov    -0x8(%rbp),%rax
  mov    (%rax),%eax
  add    %eax,-0x74(%rbp)
  mov    -0x8(%rbp),%rax
  add    $0x4,%rax
  mov    (%rax),%eax
  add    %eax,-0x70(%rbp)
  mov    -0x8(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%eax
  add    %eax,-0x6c(%rbp)
L158:
  mov    -0x88(%rbp),%eax
  cmp    -0x58(%rbp),%eax
  jge    L59
  mov    -0xac(%rbp),%eax
  add    %eax,-0x84(%rbp)
L59:
  addl   $0x1,-0x88(%rbp)
L209:
  mov    -0x88(%rbp),%eax
  cmp    -0xb4(%rbp),%eax
  jle    L116
  mov    -0x90(%rbp),%eax
  mov    %eax,-0x80(%rbp)
  mov    -0xb4(%rbp),%eax
  mov    %eax,-0x78(%rbp)
  movl   $0x0,-0x8c(%rbp)
  jmp    L102
L164:
  mov    -0x80(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0xa8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  and    $0xff000000,%eax
  mov    %eax,%edx
  mov    -0x9c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  shl    $0x10,%eax
  or     %eax,%edx
  mov    -0x98(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  shl    $0x8,%eax
  or     %eax,%edx
  mov    -0x94(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  or     %eax,%edx
  mov    -0x80(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    -0xa8(%rbp),%rax
  add    %rcx,%rax
  mov    %edx,(%rax)
  mov    -0x74(%rbp),%eax
  sub    %eax,-0x9c(%rbp)
  mov    -0x70(%rbp),%eax
  sub    %eax,-0x98(%rbp)
  mov    -0x6c(%rbp),%eax
  sub    %eax,-0x94(%rbp)
  mov    -0x78(%rbp),%eax
  sub    -0xb4(%rbp),%eax
  mov    %eax,%edx
  mov    -0x50(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x44(%rbp)
  mov    -0x44(%rbp),%eax
  cltd
  idivl  -0x50(%rbp)
  mov    %edx,%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  mov    %rax,%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x8(%rbp),%rax
  mov    (%rax),%eax
  sub    %eax,-0x74(%rbp)
  mov    -0x8(%rbp),%rax
  add    $0x4,%rax
  mov    (%rax),%eax
  sub    %eax,-0x70(%rbp)
  mov    -0x8(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%eax
  sub    %eax,-0x6c(%rbp)
  cmpl   $0x0,-0x90(%rbp)
  jne    L32
  mov    -0x8c(%rbp),%edx
  mov    -0x48(%rbp),%eax
  add    %eax,%edx
  mov    -0x58(%rbp),%eax
  cmp    %eax,%edx
  cmovle %edx,%eax
  mov    -0x8c(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    -0x20(%rbp),%rdx
  add    %rcx,%rdx
  imul   -0xac(%rbp),%eax
  mov    %eax,(%rdx)
L32:
  mov    -0x8c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x90(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x40(%rbp)
  mov    -0x40(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x8(%rbp),%rax
  mov    %edx,(%rax)
  mov    -0x40(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  mov    -0x8(%rbp),%rdx
  add    $0x4,%rdx
  mov    (%rax),%eax
  mov    %eax,(%rdx)
  mov    -0x40(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    -0x8(%rbp),%rdx
  add    $0x8,%rdx
  mov    (%rax),%eax
  mov    %eax,(%rdx)
  mov    -0x8(%rbp),%rax
  mov    (%rax),%eax
  add    %eax,-0x68(%rbp)
  mov    -0x8(%rbp),%rax
  add    $0x4,%rax
  mov    (%rax),%eax
  add    %eax,-0x64(%rbp)
  mov    -0x8(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%eax
  add    %eax,-0x60(%rbp)
  mov    -0x68(%rbp),%eax
  add    %eax,-0x9c(%rbp)
  mov    -0x64(%rbp),%eax
  add    %eax,-0x98(%rbp)
  mov    -0x60(%rbp),%eax
  add    %eax,-0x94(%rbp)
  mov    -0x78(%rbp),%eax
  add    $0x1,%eax
  cltd
  idivl  -0x50(%rbp)
  mov    %edx,-0x78(%rbp)
  mov    -0x78(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  mov    %rax,%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x8(%rbp),%rax
  mov    (%rax),%eax
  add    %eax,-0x74(%rbp)
  mov    -0x8(%rbp),%rax
  add    $0x4,%rax
  mov    (%rax),%eax
  add    %eax,-0x70(%rbp)
  mov    -0x8(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%eax
  add    %eax,-0x6c(%rbp)
  mov    -0x8(%rbp),%rax
  mov    (%rax),%eax
  sub    %eax,-0x68(%rbp)
  mov    -0x8(%rbp),%rax
  add    $0x4,%rax
  mov    (%rax),%eax
  sub    %eax,-0x64(%rbp)
  mov    -0x8(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%eax
  sub    %eax,-0x60(%rbp)
  mov    -0xac(%rbp),%eax
  add    %eax,-0x80(%rbp)
  addl   $0x1,-0x8c(%rbp)
L102:
  mov    -0x8c(%rbp),%eax
  cmp    -0xb0(%rbp),%eax
  jl     L164
  addl   $0x1,-0x90(%rbp)
L58:
  mov    -0x90(%rbp),%eax
  cmp    -0xac(%rbp),%eax
  jl     L57
  mov    -0x38(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    -0x30(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    -0x20(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    -0x18(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    -0x10(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    -0xa8(%rbp),%rax
  leave
  ret
```

assistant: ```c
int *blur(int *pix, int w, int h, int radius) {
  int wm = w - 1;
  int hm = h - 1;
  int wh = w * h;
  int div = radius + radius + 1;
  int *r = (int *)malloc(wh * sizeof(int));
  int *g = (int *)malloc(wh * sizeof(int));
  int *b = (int *)malloc(wh * sizeof(int));
  int rsum, gsum, bsum, x, y, i, p, yp, yi, yw;
  int *vmin = (int *)malloc(((w) > (h) ? (w) : (h)) * sizeof(int));
  int divsum = (div + 1) >> 1;
  divsum *= divsum;
  int *dv = (int *)malloc(256 * divsum * sizeof(int));
  for (i = 0; i < 256 * divsum; i++) {
    dv[i] = (i / divsum);
  }
  yw = yi = 0;
  int(*stack)[3] = (int(*)[3])malloc(div * 3 * sizeof(int));
  int stackpointer;
  int stackstart;
  int *sir;
  int rbs;
  int r1 = radius + 1;
  int routsum, goutsum, boutsum;
  int rinsum, ginsum, binsum;
  for (y = 0; y < h; y++) {
    rinsum = ginsum = binsum = routsum = goutsum = boutsum = rsum = gsum = bsum = 0;
    for (i = -radius; i <= radius; i++) {
      p = pix[yi + (((wm) < (((i) > (0) ? (i) : (0))) ? (wm) : (((i) > (0) ? (i) : (0)))))];
      sir = stack[i + radius];
      sir[0] = (p & 0xff0000) >> 16;
      sir[1] = (p & 0x00ff00) >> 8;
      sir[2] = (p & 0x0000ff);
      rbs = r1 - ((i) < (0) ? (-i) : (i));
      rsum += sir[0] * rbs;
      gsum += sir[1] * rbs;
      bsum += sir[2] * rbs;
      if (i > 0) {
        rinsum += sir[0];
        ginsum += sir[1];
        binsum += sir[2];
      } else {
        routsum += sir[0];
        goutsum += sir[1];
        boutsum += sir[2];
      }
    }
    stackpointer = radius;
    for (x = 0; x < w; x++) {
      r[yi] = dv[rsum];
      g[yi] = dv[gsum];
      b[yi] = dv[bsum];
      rsum -= routsum;
      gsum -= goutsum;
      bsum -= boutsum;
      stackstart = stackpointer - radius + div;
      sir = stack[stackstart % div];
      routsum -= sir[0];
      goutsum -= sir[1];
      boutsum -= sir[2];
      if (y == 0) {
        vmin[x] = ((x + radius + 1) < (wm) ? (x + radius + 1) : (wm));
      }
      p = pix[yw + vmin[x]];
      sir[0] = (p & 0xff0000) >> 16;
      sir[1] = (p & 0x00ff00) >> 8;
      sir[2] = (p & 0x0000ff);
      rinsum += sir[0];
      ginsum += sir[1];
      binsum += sir[2];
      rsum += rinsum;
      gsum += ginsum;
      bsum += binsum;
      stackpointer = (stackpointer + 1) % div;
      sir = stack[(stackpointer) % div];
      routsum += sir[0];
      goutsum += sir[1];
      boutsum += sir[2];
      rinsum -= sir[0];
      ginsum -= sir[1];
      binsum -= sir[2];
      yi++;
    }
    yw += w;
  }
  for (x = 0; x < w; x++) {
    rinsum = ginsum = binsum = routsum = goutsum = boutsum = rsum = gsum = bsum = 0;
    yp = -radius * w;
    for (i = -radius; i <= radius; i++) {
      yi = ((0) > (yp) ? (0) : (yp)) + x;
      sir = stack[i + radius];
      sir[0] = r[yi];
      sir[1] = g[yi];
      sir[2] = b[yi];
      rbs = r1 - ((i) < (0) ? (-i) : (i));
      rsum += r[yi] * rbs;
      gsum += g[yi] * rbs;
      bsum += b[yi] * rbs;
      if (i > 0) {
        rinsum += sir[0];
        ginsum += sir[1];
        binsum += sir[2];
      } else {
        routsum += sir[0];
        goutsum += sir[1];
        boutsum += sir[2];
      }
      if (i < hm) {
        yp += w;
      }
    }
    yi = x;
    stackpointer = radius;
    for (y = 0; y < h; y++) {
      pix[yi] = (0xff000000 & pix[yi]) | (dv[rsum] << 16) | (dv[gsum] << 8) | dv[bsum];
      rsum -= routsum;
      gsum -= goutsum;
      bsum -= boutsum;
      stackstart = stackpointer - radius + div;
      sir = stack[stackstart % div];
      routsum -= sir[0];
      goutsum -= sir[1];
      boutsum -= sir[2];
      if (x == 0) {
        vmin[y] = ((y + r1) < (hm) ? (y + r1) : (hm)) * w;
      }
      p = x + vmin[y];
      sir[0] = r[p];
      sir[1] = g[p];
      sir[2] = b[p];
      rinsum += sir[0];
      ginsum += sir[1];
      binsum += sir[2];
      rsum += rinsum;
      gsum += ginsum;
      bsum += binsum;
      stackpointer = (stackpointer + 1) % div;
      sir = stack[stackpointer];
      routsum += sir[0];
      goutsum += sir[1];
      boutsum += sir[2];
      rinsum -= sir[0];
      ginsum -= sir[1];
      binsum -= sir[2];
      yi += w;
    }
  }
  free(r);
  free(g);
  free(b);
  free(vmin);
  free(dv);
  free(stack);
  return (pix);
}
```