// File: manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImgList<unsigned char>::get_crop_font() const
CImgList<T> get_crop_font() const {
      CImgList<T> res;
      cimglist_for(*this,l) {
        const CImg<T>& letter = (*this)[l];
        int xmin = letter._width, xmax = 0;
        cimg_forXY(letter,x,y) if (letter(x,y)) { if (x<xmin) xmin = x; if (x>xmax) xmax = x; }
        if (xmin>xmax) CImg<T>(letter._width,letter._height,1,letter._spectrum,0).move_to(res);
        else letter.get_crop(xmin,0,xmax,letter._height-1).move_to(res);
      }
      res[' '].resize(res['f']._width,-100,-100,-100,0);
      if (' '+256<res.size()) res[' '+256].resize(res['f']._width,-100,-100,-100,0);
      return res;
    }

// Assembly:
subq $0xd8, %rsp
movq %rdi, 0x40(%rsp)
movq %rdi, %rax
movq %rax, 0x48(%rsp)
movq %rdi, 0xd0(%rsp)
movq %rsi, 0xc8(%rsp)
movq 0xc8(%rsp), %rax
movq %rax, 0x50(%rsp)
movb $0x0, 0xc7(%rsp)
callq 0x15690
movl $0x0, 0xc0(%rsp)
movq 0x50(%rsp), %rcx
movl 0xc0(%rsp), %eax
cmpl (%rcx), %eax
jge 0x22d08
movq 0x50(%rsp), %rdi
callq 0x228b0
movslq 0xc0(%rsp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0xb8(%rsp)
movq 0xb8(%rsp), %rax
movl (%rax), %eax
movl %eax, 0xb4(%rsp)
movl $0x0, 0xb0(%rsp)
movl $0x0, 0xac(%rsp)
movl 0xac(%rsp), %eax
movq 0xb8(%rsp), %rcx
cmpl 0x4(%rcx), %eax
jge 0x22bd9
movl $0x0, 0xa8(%rsp)
movl 0xa8(%rsp), %eax
movq 0xb8(%rsp), %rcx
cmpl (%rcx), %eax
jge 0x22bc1
movq 0xb8(%rsp), %rdi
movl 0xa8(%rsp), %esi
movl 0xac(%rsp), %edx
callq 0x20030
cmpb $0x0, (%rax)
je 0x22ba9
movl 0xa8(%rsp), %eax
cmpl 0xb4(%rsp), %eax
jge 0x22b89
movl 0xa8(%rsp), %eax
movl %eax, 0xb4(%rsp)
movl 0xa8(%rsp), %eax
cmpl 0xb0(%rsp), %eax
jle 0x22ba7
movl 0xa8(%rsp), %eax
movl %eax, 0xb0(%rsp)
jmp 0x22ba9
jmp 0x22bab
movl 0xa8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xa8(%rsp)
jmp 0x22b38
jmp 0x22bc3
movl 0xac(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xac(%rsp)
jmp 0x22b15
movl 0xb4(%rsp), %eax
cmpl 0xb0(%rsp), %eax
jle 0x22c79
movq 0xb8(%rsp), %rax
movl (%rax), %esi
movl 0x4(%rax), %edx
movl 0xc(%rax), %r8d
leaq 0x88(%rsp), %rdi
movl $0x1, %ecx
xorl %r9d, %r9d
callq 0x22e50
jmp 0x22c15
movq 0x40(%rsp), %rsi
leaq 0x88(%rsp), %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x15880
jmp 0x22c2e
leaq 0x88(%rsp), %rdi
callq 0x15650
jmp 0x22cf0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x80(%rsp)
movl %eax, 0x7c(%rsp)
jmp 0x22e2a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x80(%rsp)
movl %eax, 0x7c(%rsp)
leaq 0x88(%rsp), %rdi
callq 0x15650
jmp 0x22e2a
movq 0xb8(%rsp), %rsi
movl 0xb4(%rsp), %edx
movl 0xb0(%rsp), %r8d
movl 0x4(%rsi), %r9d
decl %r9d
movq %rsp, %rax
movl $0x0, (%rax)
leaq 0x58(%rsp), %rdi
xorl %ecx, %ecx
callq 0x23170
jmp 0x22cae
movq 0x40(%rsp), %rsi
leaq 0x58(%rsp), %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x15880
jmp 0x22cc4
leaq 0x58(%rsp), %rdi
callq 0x15650
jmp 0x22cf0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x80(%rsp)
movl %eax, 0x7c(%rsp)
leaq 0x58(%rsp), %rdi
callq 0x15650
jmp 0x22e2a
jmp 0x22cf2
movl 0xc0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc0(%rsp)
jmp 0x22ab9
movq 0x40(%rsp), %rdi
callq 0x15910
movq %rax, 0x38(%rsp)
jmp 0x22d19
movq 0x40(%rsp), %rdi
movq 0x38(%rsp), %rax
addq $0x400, %rax            # imm = 0x400
movq %rax, 0x28(%rsp)
callq 0x15910
movq %rax, 0x30(%rsp)
jmp 0x22d3a
movq 0x28(%rsp), %rdi
movq 0x30(%rsp), %rax
movl 0xcc0(%rax), %esi
movq %rsp, %rax
movl $0x0, (%rax)
movl $0xffffff9c, %r8d       # imm = 0xFFFFFF9C
xorl %r9d, %r9d
xorps %xmm3, %xmm3
movl %r8d, %edx
movl %r8d, %ecx
movaps %xmm3, %xmm0
movaps %xmm3, %xmm1
movaps %xmm3, %xmm2
callq 0x15920
jmp 0x22d75
movq 0x40(%rsp), %rdi
callq 0x23200
movl %eax, 0x24(%rsp)
jmp 0x22d85
movl 0x24(%rsp), %ecx
movl $0x120, %eax            # imm = 0x120
cmpl %ecx, %eax
jae 0x22e01
movq 0x40(%rsp), %rdi
callq 0x15910
movq %rax, 0x18(%rsp)
jmp 0x22da3
movq 0x40(%rsp), %rdi
movq 0x18(%rsp), %rax
addq $0x2400, %rax           # imm = 0x2400
movq %rax, 0x8(%rsp)
callq 0x15910
movq %rax, 0x10(%rsp)
jmp 0x22dc4
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rax
movl 0xcc0(%rax), %esi
movq %rsp, %rax
movl $0x0, (%rax)
movl $0xffffff9c, %r8d       # imm = 0xFFFFFF9C
xorl %r9d, %r9d
xorps %xmm3, %xmm3
movl %r8d, %edx
movl %r8d, %ecx
movaps %xmm3, %xmm0
movaps %xmm3, %xmm1
movaps %xmm3, %xmm2
callq 0x15920
jmp 0x22dff
jmp 0x22e01
movb $0x1, 0xc7(%rsp)
testb $0x1, 0xc7(%rsp)
jne 0x22e1d
movq 0x40(%rsp), %rdi
callq 0x18310
movq 0x48(%rsp), %rax
addq $0xd8, %rsp
retq
movq 0x40(%rsp), %rdi
callq 0x18310
movq 0x80(%rsp), %rdi
callq 0x5970
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)