// File: /workspace/github_cpp_makefile_star2_O3/hzeller[P]gcode-multi-shell-extrude/third_party/clipper.cpp
// Function: ClipperLib::MinkowskiSum(std::vector<ClipperLib::IntPoint, std::allocator<ClipperLib::IntPoint>> const&, std::vector<std::vector<ClipperLib::IntPoint, std::allocator<ClipperLib::IntPoint>>, std::allocator<std::vector<ClipperLib::IntPoint, std::allocator<ClipperLib::IntPoint>>>> const&, std::vector<std::vector<ClipperLib::IntPoint, std::allocator<ClipperLib::IntPoint>>, std::allocator<std::vector<ClipperLib::IntPoint, std::allocator<ClipperLib::IntPoint>>>>&, ClipperLib::PolyFillType, bool)
void MinkowskiSum(const Path& pattern, const Paths& paths, Paths& solution, 
    PolyFillType pathFillType, bool pathIsClosed)
{
  Clipper c;
  for (size_t i = 0; i < paths.size(); ++i)
  {
    Paths tmp;
    Minkowski(pattern, paths[i], tmp, true, pathIsClosed);
    c.AddPaths(tmp, ptSubject, true);
  }
  if (pathIsClosed) c.AddPaths(paths, ptClip, true);
  c.Execute(ctUnion, solution, pathFillType, pathFillType);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x148, %rsp            # imm = 0x148
movl %r8d, 0xc(%rsp)
movl %ecx, 0x10(%rsp)
movq %rdx, 0x38(%rsp)
movq %rdi, 0x40(%rsp)
leaq 0x108(%rsp), %rdx
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rdx)
xorl %eax, %eax
movq %rax, 0x30(%rdx)
movups %xmm0, 0x8(%rdx)
leaq 0xa650(%rip), %rcx      # 0x1bcb8
movq %rcx, -0xc0(%rdx)
leaq 0xa68a(%rip), %rcx      # 0x1bd00
movq %rcx, (%rdx)
leaq 0xc0(%rsp), %rcx
movl $0x0, (%rcx)
movq %rax, 0x8(%rcx)
movups %xmm0, -0x70(%rcx)
movups %xmm0, -0x60(%rcx)
movups %xmm0, -0x50(%rcx)
movups %xmm0, -0x40(%rcx)
movups %xmm0, -0x30(%rcx)
movups %xmm0, -0x20(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movb %al, 0x60(%rcx)
movups %xmm0, 0x20(%rcx)
movups %xmm0, 0x29(%rcx)
movb %al, 0x44(%rcx)
movb %al, 0x46(%rcx)
movw $0x0, 0x38(%rdx)
movq (%rsi), %rax
movq %rsi, 0x18(%rsp)
cmpq %rax, 0x8(%rsi)
je 0x117a4
xorl %ebx, %ebx
movzbl 0xc(%rsp), %ecx
movl %ecx, 0x14(%rsp)
leaq 0x20(%rsp), %r14
movabsq $-0x5555555555555555, %r13 # imm = 0xAAAAAAAAAAAAAAAB
xorps %xmm0, %xmm0
movaps %xmm0, 0x20(%rsp)
movq $0x0, 0x30(%rsp)
leaq (%rbx,%rbx,2), %rcx
leaq (%rax,%rcx,8), %rsi
movq 0x40(%rsp), %rdi
movq %r14, %r15
movq %r14, %rdx
movl $0x1, %ecx
movl 0x14(%rsp), %r8d
callq 0x10f0b
movq 0x20(%rsp), %rsi
cmpq %rsi, 0x28(%rsp)
je 0x11776
movq 0x48(%rsp), %rax
movq -0x18(%rax), %r12
leaq 0x48(%rsp), %rax
addq %rax, %r12
xorl %ebp, %ebp
xorl %r14d, %r14d
addq %rbp, %rsi
movq %r12, %rdi
xorl %edx, %edx
movl $0x1, %ecx
callq 0x985a
incq %r14
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rax
subq %rsi, %rax
sarq $0x3, %rax
imulq %r13, %rax
addq $0x18, %rbp
cmpq %rax, %r14
jb 0x11743
movq %r15, %r14
movq %r15, %rdi
callq 0x727a
incq %rbx
movq 0x18(%rsp), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
imulq %r13, %rcx
cmpq %rcx, %rbx
jb 0x116ee
cmpb $0x0, 0xc(%rsp)
je 0x117cb
leaq 0x48(%rsp), %rdi
movq (%rdi), %rax
addq -0x18(%rax), %rdi
movq 0x18(%rsp), %rsi
movl $0x1, %edx
movl $0x1, %ecx
callq 0x9e96
leaq 0x48(%rsp), %rdi
movl $0x1, %esi
movq 0x38(%rsp), %rdx
movl 0x10(%rsp), %ecx
movl %ecx, %r8d
callq 0xa41c
leaq 0xa533(%rip), %rsi      # 0x1bd20
leaq 0x48(%rsp), %rdi
callq 0xa258
leaq 0x108(%rsp), %rdi
callq 0x9440
addq $0x148, %rsp            # imm = 0x148
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x1182a
jmp 0x1181d
movq %rax, %r14
leaq 0x20(%rsp), %rdi
callq 0x727a
leaq 0x108(%rsp), %rbx
leaq 0xa4e7(%rip), %rsi      # 0x1bd20
leaq 0x48(%rsp), %rdi
callq 0xa258
movq %rbx, %rdi
callq 0x9440
movq %r14, %rdi
callq 0x3380