// File: /workspace/github_cpp_makefile_star2_O1/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 0x568c
testq %rdx, %rdx
je 0x56e2
testq %rcx, %rcx
je 0x5738
movsd 0x3de7(%rip), %xmm4     # 0x9410
ucomisd %xmm0, %xmm4
jae 0x578e
xorpd %xmm0, %xmm0
ucomisd %xmm1, %xmm0
ja 0x57e4
ucomisd %xmm2, %xmm0
ja 0x583a
ucomisd %xmm3, %xmm2
ja 0x588d
addq %rdx, %rdx
movq %rdx, %rax
orq $0x1, %rax
imulq %rsi, %rax
addq %rdx, %rax
movq %r14, %rdi
movq %rax, %rsi
callq 0x5ea0
movq 0x78(%rbx), %rsi
movq %r15, %rdi
callq 0x5ea0
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 0x3b1a(%rip), %rsi      # 0x91c3
leaq 0x3b19(%rip), %rdx      # 0x91c9
leaq 0x8(%rsp), %rdi
callq 0x49c8
leaq 0x8(%rsp), %rsi
movq %r13, %rdi
callq 0x4936
leaq 0x73da(%rip), %rsi      # 0xcaa8
leaq -0xd3d(%rip), %rdx      # 0x4998
movq %r13, %rdi
callq 0x32e0
jmp 0x58de
movl $0x28, %edi
callq 0x30d0
movq %rax, %r13
leaq 0x18(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x3dfd(%rip), %rsi      # 0x94fc
leaq 0x3dfc(%rip), %rdx      # 0x9502
leaq 0x8(%rsp), %rdi
callq 0x49c8
leaq 0x8(%rsp), %rsi
movq %r13, %rdi
callq 0x4936
leaq 0x7384(%rip), %rsi      # 0xcaa8
leaq -0xd93(%rip), %rdx      # 0x4998
movq %r13, %rdi
callq 0x32e0
jmp 0x58de
movl $0x28, %edi
callq 0x30d0
movq %rax, %r13
leaq 0x18(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x3dae(%rip), %rsi      # 0x9503
leaq 0x3db2(%rip), %rdx      # 0x950e
leaq 0x8(%rsp), %rdi
callq 0x49c8
leaq 0x8(%rsp), %rsi
movq %r13, %rdi
callq 0x4936
leaq 0x732e(%rip), %rsi      # 0xcaa8
leaq -0xde9(%rip), %rdx      # 0x4998
movq %r13, %rdi
callq 0x32e0
jmp 0x58de
movl $0x28, %edi
callq 0x30d0
movq %rax, %r13
leaq 0x18(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x3d64(%rip), %rsi      # 0x950f
leaq 0x3d6b(%rip), %rdx      # 0x951d
leaq 0x8(%rsp), %rdi
callq 0x49c8
leaq 0x8(%rsp), %rsi
movq %r13, %rdi
callq 0x4936
leaq 0x72d8(%rip), %rsi      # 0xcaa8
leaq -0xe3f(%rip), %rdx      # 0x4998
movq %r13, %rdi
callq 0x32e0
jmp 0x58de
movl $0x28, %edi
callq 0x30d0
movq %rax, %r13
leaq 0x18(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x3d1d(%rip), %rsi      # 0x951e
leaq 0x3d1f(%rip), %rdx      # 0x9527
leaq 0x8(%rsp), %rdi
callq 0x49c8
leaq 0x8(%rsp), %rsi
movq %r13, %rdi
callq 0x4936
leaq 0x7282(%rip), %rsi      # 0xcaa8
leaq -0xe95(%rip), %rdx      # 0x4998
movq %r13, %rdi
callq 0x32e0
jmp 0x58de
movl $0x28, %edi
callq 0x30d0
movq %rax, %r13
leaq 0x18(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x3cd1(%rip), %rsi      # 0x9528
leaq 0x3cd5(%rip), %rdx      # 0x9533
leaq 0x8(%rsp), %rdi
callq 0x49c8
leaq 0x8(%rsp), %rsi
movq %r13, %rdi
callq 0x4936
leaq 0x722c(%rip), %rsi      # 0xcaa8
leaq -0xeeb(%rip), %rdx      # 0x4998
movq %r13, %rdi
callq 0x32e0
jmp 0x58de
movl $0x28, %edi
callq 0x30d0
movq %rax, %r13
leaq 0x18(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x3c8a(%rip), %rsi      # 0x9534
leaq 0x3c92(%rip), %rdx      # 0x9543
leaq 0x8(%rsp), %rdi
callq 0x49c8
leaq 0x8(%rsp), %rsi
movq %r13, %rdi
callq 0x4936
leaq 0x71d9(%rip), %rsi      # 0xcaa8
leaq -0xf3e(%rip), %rdx      # 0x4998
movq %r13, %rdi
callq 0x32e0
jmp 0x58f6
jmp 0x5914
jmp 0x58f6
jmp 0x5914
jmp 0x58f6
jmp 0x5914
jmp 0x58f6
jmp 0x5914
jmp 0x58f6
jmp 0x5914
jmp 0x58f6
jmp 0x5914
movq %rax, %r12
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x5910
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x31d0
xorl %eax, %eax
jmp 0x5919
movq %rax, %r12
movb $0x1, %al
testb %al, %al
je 0x592a
movq %r13, %rdi
callq 0x3150
jmp 0x592a
movq %rax, %r12
movq (%r15), %rdi
testq %rdi, %rdi
je 0x5941
movq 0x148(%rbx), %rsi
subq %rdi, %rsi
callq 0x31d0
movq (%r14), %rdi
testq %rdi, %rdi
je 0x5958
movq 0x130(%rbx), %rsi
subq %rdi, %rsi
callq 0x31d0
movq %r12, %rdi
callq 0x3300