// File: /workspace/github_cpp_makefile_star2_O3/redpony[P]libpopt/./lbfgs.h
// Function: scitbx::lbfgs::minimizer<double, unsigned long>::minimizer(unsigned long, unsigned long, unsigned long, double, double, double, double)
explicit
      minimizer(
        SizeType n,
        SizeType m = 5,
        SizeType maxfev = 20,
        FloatType gtol = FloatType(0.9),
        FloatType xtol = FloatType(1.e-16),
        FloatType stpmin = FloatType(1.e-20),
        FloatType stpmax = FloatType(1.e20))
        : n_(n), m_(m), maxfev_(maxfev),
          gtol_(gtol), xtol_(xtol),
          stpmin_(stpmin), stpmax_(stpmax),
          iflag_(0), requests_f_and_g_(false), requests_diag_(false),
          iter_(0), nfun_(0), stp_(0),
          stp1(0), ftol(0.0001), ys(0), point(0), npt(0),
          ispt(n+2*m), iypt((n+2*m)+n*m),
          info(0), bound(0), nfev(0)
      {
        if (n_ == 0) {
          throw error_improper_input_parameter("n = 0.");
        }
        if (m_ == 0) {
          throw error_improper_input_parameter("m = 0.");
        }
        if (maxfev_ == 0) {
         throw error_improper_input_parameter("maxfev = 0.");
        }
        if (gtol_ <= FloatType(1.e-4)) {
          throw error_improper_input_parameter("gtol <= 1.e-4.");
        }
        if (xtol_ < FloatType(0)) {
          throw error_improper_input_parameter("xtol < 0.");
        }
        if (stpmin_ < FloatType(0)) {
          throw error_improper_input_parameter("stpmin < 0.");
        }
        if (stpmax_ < stpmin) {
          throw error_improper_input_parameter("stpmax < stpmin");
        }
        w_.resize(n_*(2*m_+1)+2*m_);
        scratch_array_.resize(n_);
      }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq %rsi, 0x78(%rdi)
movq %rdx, 0x80(%rdi)
movq %rcx, 0x88(%rdi)
movsd %xmm0, 0x90(%rdi)
movsd %xmm1, 0x98(%rdi)
movsd %xmm2, 0xa0(%rdi)
movsd %xmm3, 0xa8(%rdi)
xorl %eax, %eax
movl %eax, 0xb0(%rdi)
movw $0x0, 0xb4(%rdi)
xorpd %xmm4, %xmm4
movupd %xmm4, 0xb8(%rdi)
movupd %xmm4, 0xc8(%rdi)
movabsq $0x3f1a36e2eb1c432d, %rdi # imm = 0x3F1A36E2EB1C432D
movq %rdi, 0xd8(%rbx)
leaq (%rsi,%rdx,2), %rdi
movupd %xmm4, 0xe0(%rbx)
movq $0x0, 0xf0(%rbx)
movq %rdi, 0xf8(%rbx)
movq %rdx, %r8
imulq %rsi, %r8
addq %rdi, %r8
movq %r8, 0x100(%rbx)
movl %eax, 0x108(%rbx)
leaq 0x120(%rbx), %r14
leaq 0x138(%rbx), %r15
movupd %xmm4, 0x140(%rbx)
movupd %xmm4, 0x130(%rbx)
movupd %xmm4, 0x120(%rbx)
movupd %xmm4, 0x110(%rbx)
testq %rsi, %rsi
je 0x5670
testq %rdx, %rdx
je 0x56c6
testq %rcx, %rcx
je 0x571c
movsd 0x3e03(%rip), %xmm4     # 0x9410
ucomisd %xmm0, %xmm4
jae 0x5772
xorpd %xmm0, %xmm0
ucomisd %xmm1, %xmm0
ja 0x57c8
ucomisd %xmm2, %xmm0
ja 0x581e
ucomisd %xmm3, %xmm2
ja 0x5871
addq %rdx, %rdx
movq %rdx, %rax
orq $0x1, %rax
imulq %rsi, %rax
addq %rdx, %rax
movq %r14, %rdi
movq %rax, %rsi
callq 0x5e7c
movq 0x78(%rbx), %rsi
movq %r15, %rdi
callq 0x5e7c
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x28, %edi
callq 0x30d0
movq %rax, %r13
leaq 0x18(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x3b36(%rip), %rsi      # 0x91c3
leaq 0x3b35(%rip), %rdx      # 0x91c9
leaq 0x8(%rsp), %rdi
callq 0x49a0
leaq 0x8(%rsp), %rsi
movq %r13, %rdi
callq 0x490e
leaq 0x73f6(%rip), %rsi      # 0xcaa8
leaq -0xd49(%rip), %rdx      # 0x4970
movq %r13, %rdi
callq 0x32e0
jmp 0x58c2
movl $0x28, %edi
callq 0x30d0
movq %rax, %r13
leaq 0x18(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x3e19(%rip), %rsi      # 0x94fc
leaq 0x3e18(%rip), %rdx      # 0x9502
leaq 0x8(%rsp), %rdi
callq 0x49a0
leaq 0x8(%rsp), %rsi
movq %r13, %rdi
callq 0x490e
leaq 0x73a0(%rip), %rsi      # 0xcaa8
leaq -0xd9f(%rip), %rdx      # 0x4970
movq %r13, %rdi
callq 0x32e0
jmp 0x58c2
movl $0x28, %edi
callq 0x30d0
movq %rax, %r13
leaq 0x18(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x3dca(%rip), %rsi      # 0x9503
leaq 0x3dce(%rip), %rdx      # 0x950e
leaq 0x8(%rsp), %rdi
callq 0x49a0
leaq 0x8(%rsp), %rsi
movq %r13, %rdi
callq 0x490e
leaq 0x734a(%rip), %rsi      # 0xcaa8
leaq -0xdf5(%rip), %rdx      # 0x4970
movq %r13, %rdi
callq 0x32e0
jmp 0x58c2
movl $0x28, %edi
callq 0x30d0
movq %rax, %r13
leaq 0x18(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x3d80(%rip), %rsi      # 0x950f
leaq 0x3d87(%rip), %rdx      # 0x951d
leaq 0x8(%rsp), %rdi
callq 0x49a0
leaq 0x8(%rsp), %rsi
movq %r13, %rdi
callq 0x490e
leaq 0x72f4(%rip), %rsi      # 0xcaa8
leaq -0xe4b(%rip), %rdx      # 0x4970
movq %r13, %rdi
callq 0x32e0
jmp 0x58c2
movl $0x28, %edi
callq 0x30d0
movq %rax, %r13
leaq 0x18(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x3d39(%rip), %rsi      # 0x951e
leaq 0x3d3b(%rip), %rdx      # 0x9527
leaq 0x8(%rsp), %rdi
callq 0x49a0
leaq 0x8(%rsp), %rsi
movq %r13, %rdi
callq 0x490e
leaq 0x729e(%rip), %rsi      # 0xcaa8
leaq -0xea1(%rip), %rdx      # 0x4970
movq %r13, %rdi
callq 0x32e0
jmp 0x58c2
movl $0x28, %edi
callq 0x30d0
movq %rax, %r13
leaq 0x18(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x3ced(%rip), %rsi      # 0x9528
leaq 0x3cf1(%rip), %rdx      # 0x9533
leaq 0x8(%rsp), %rdi
callq 0x49a0
leaq 0x8(%rsp), %rsi
movq %r13, %rdi
callq 0x490e
leaq 0x7248(%rip), %rsi      # 0xcaa8
leaq -0xef7(%rip), %rdx      # 0x4970
movq %r13, %rdi
callq 0x32e0
jmp 0x58c2
movl $0x28, %edi
callq 0x30d0
movq %rax, %r13
leaq 0x18(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x3ca6(%rip), %rsi      # 0x9534
leaq 0x3cae(%rip), %rdx      # 0x9543
leaq 0x8(%rsp), %rdi
callq 0x49a0
leaq 0x8(%rsp), %rsi
movq %r13, %rdi
callq 0x490e
leaq 0x71f5(%rip), %rsi      # 0xcaa8
leaq -0xf4a(%rip), %rdx      # 0x4970
movq %r13, %rdi
callq 0x32e0
jmp 0x58da
jmp 0x58f6
jmp 0x58da
jmp 0x58f6
jmp 0x58da
jmp 0x58f6
jmp 0x58da
jmp 0x58f6
jmp 0x58da
jmp 0x58f6
jmp 0x58da
jmp 0x58f6
movq %rax, %r12
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x5906
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x31d0
jmp 0x5906
movq %rax, %r12
movq %r13, %rdi
callq 0x3150
jmp 0x5906
movq %rax, %r12
movq (%r15), %rdi
testq %rdi, %rdi
je 0x591d
movq 0x148(%rbx), %rsi
subq %rdi, %rsi
callq 0x31d0
movq (%r14), %rdi
testq %rdi, %rdi
je 0x5934
movq 0x130(%rbx), %rsi
subq %rdi, %rsi
callq 0x31d0
movq %r12, %rdi
callq 0x3300