// File: /workspace/github_cpp_makefile_star2_O2/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 %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %r15
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)
andl $0x0, 0xb0(%rdi)
andw $0x0, 0xb4(%rdi)
xorpd %xmm4, %xmm4
movupd %xmm4, 0xb8(%rdi)
movupd %xmm4, 0xc8(%rdi)
movabsq $0x3f1a36e2eb1c432d, %rax # imm = 0x3F1A36E2EB1C432D
movq %rax, 0xd8(%rdi)
leaq (%rsi,%rdx,2), %rax
movupd %xmm4, 0xe0(%rdi)
andq $0x0, 0xf0(%rdi)
movq %rax, 0xf8(%rdi)
movq %rdx, %rdi
imulq %rsi, %rdi
addq %rax, %rdi
movq %rdi, 0x100(%r15)
andl $0x0, 0x108(%r15)
leaq 0x120(%r15), %rbx
leaq 0x138(%r15), %r14
movupd %xmm4, 0x140(%r15)
movupd %xmm4, 0x130(%r15)
movupd %xmm4, 0x120(%r15)
movupd %xmm4, 0x110(%r15)
testq %rsi, %rsi
je 0x4f97
testq %rdx, %rdx
je 0x4fe0
testq %rcx, %rcx
je 0x5029
movsd 0x34a9(%rip), %xmm4     # 0x83e0
ucomisd %xmm0, %xmm4
jae 0x5072
xorpd %xmm0, %xmm0
ucomisd %xmm1, %xmm0
ja 0x50bb
ucomisd %xmm2, %xmm0
ja 0x5104
ucomisd %xmm3, %xmm2
ja 0x514a
addq %rdx, %rdx
movq %rdx, %rax
orq $0x1, %rax
imulq %rsi, %rax
addq %rdx, %rax
movq %rbx, %rdi
movq %rax, %rsi
callq 0x5674
movq 0x78(%r15), %rsi
movq %r14, %rdi
callq 0x5674
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
pushq $0x28
popq %rdi
callq 0x30d0
movq %rax, %r12
leaq 0x31ea(%rip), %rsi      # 0x8193
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x432a
leaq 0x8(%rsp), %rsi
movq %r12, %rdi
callq 0x4366
leaq 0x6aec(%rip), %rsi      # 0xbab8
leaq -0xc1d(%rip), %rdx      # 0x43b6
movq %r12, %rdi
callq 0x32c0
jmp 0x518e
pushq $0x28
popq %rdi
callq 0x30d0
movq %rax, %r12
leaq 0x34da(%rip), %rsi      # 0x84cc
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x432a
leaq 0x8(%rsp), %rsi
movq %r12, %rdi
callq 0x4366
leaq 0x6aa3(%rip), %rsi      # 0xbab8
leaq -0xc66(%rip), %rdx      # 0x43b6
movq %r12, %rdi
callq 0x32c0
jmp 0x518e
pushq $0x28
popq %rdi
callq 0x30d0
movq %rax, %r12
leaq 0x3498(%rip), %rsi      # 0x84d3
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x432a
leaq 0x8(%rsp), %rsi
movq %r12, %rdi
callq 0x4366
leaq 0x6a5a(%rip), %rsi      # 0xbab8
leaq -0xcaf(%rip), %rdx      # 0x43b6
movq %r12, %rdi
callq 0x32c0
jmp 0x518e
pushq $0x28
popq %rdi
callq 0x30d0
movq %rax, %r12
leaq 0x345b(%rip), %rsi      # 0x84df
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x432a
leaq 0x8(%rsp), %rsi
movq %r12, %rdi
callq 0x4366
leaq 0x6a11(%rip), %rsi      # 0xbab8
leaq -0xcf8(%rip), %rdx      # 0x43b6
movq %r12, %rdi
callq 0x32c0
jmp 0x518e
pushq $0x28
popq %rdi
callq 0x30d0
movq %rax, %r12
leaq 0x3421(%rip), %rsi      # 0x84ee
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x432a
leaq 0x8(%rsp), %rsi
movq %r12, %rdi
callq 0x4366
leaq 0x69c8(%rip), %rsi      # 0xbab8
leaq -0xd41(%rip), %rdx      # 0x43b6
movq %r12, %rdi
callq 0x32c0
jmp 0x518e
pushq $0x28
popq %rdi
callq 0x30d0
movq %rax, %r12
leaq 0x33e2(%rip), %rsi      # 0x84f8
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x432a
leaq 0x8(%rsp), %rsi
movq %r12, %rdi
callq 0x4366
leaq 0x697f(%rip), %rsi      # 0xbab8
leaq -0xd8a(%rip), %rdx      # 0x43b6
movq %r12, %rdi
callq 0x32c0
jmp 0x518e
pushq $0x28
popq %rdi
callq 0x30d0
movq %rax, %r12
leaq 0x33a8(%rip), %rsi      # 0x8504
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x432a
leaq 0x8(%rsp), %rsi
movq %r12, %rdi
callq 0x4366
leaq 0x6939(%rip), %rsi      # 0xbab8
leaq -0xdd0(%rip), %rdx      # 0x43b6
movq %r12, %rdi
callq 0x32c0
jmp 0x51a6
jmp 0x51b5
jmp 0x51a6
jmp 0x51b5
jmp 0x51a6
jmp 0x51b5
jmp 0x51a6
jmp 0x51b5
jmp 0x51a6
jmp 0x51b5
jmp 0x51a6
jmp 0x51b5
movq %rax, %r15
leaq 0x8(%rsp), %rdi
callq 0x30a0
jmp 0x51c5
movq %rax, %r15
movq %r12, %rdi
callq 0x3120
jmp 0x51c5
movq %rax, %r15
movq %r14, %rdi
callq 0x4682
movq %rbx, %rdi
callq 0x4682
movq %r15, %rdi
callq 0x32e0
nop