// File: /workspace/github_cpp_makefile_star2_O1/Luthaf[P]zeopp/network.cc
// Function: NEWcalculateFreeSphereParametersPrint(MATERIAL*, char*, bool)
void NEWcalculateFreeSphereParametersPrint(MATERIAL *Mat, char *filename, bool extendedPrintout){
  fstream output;
  output.setf(ios::fixed,ios::floatfield);
  output.precision(5);
  output.width(12);
  output.open(filename, fstream::out);

  output << filename << "    " << Mat->Di << " ";

  output << Mat->Df << "  " << Mat->Dif;

  if(extendedPrintout==true){
    output << "  ";
    for(unsigned int i = 0; i < Mat->directionDf.size(); i++)
       output << Mat->directionDf.at(i) << "  ";

    for(unsigned int i = 0; i < Mat->directionDif.size(); i++)
       output << Mat->directionDif.at(i) << "  ";
    };

 /* 
  for(unsigned int i = 0; i < NtoN.size(); i++)
    output << (NtoN[i] ? "t" : "f") << "  ";
 */

  output << "\n";


}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x218, %rsp            # imm = 0x218
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x4520
movq (%r14), %rax
movq -0x18(%rax), %rcx
movl $0xfffffefb, %edx       # imm = 0xFFFFFEFB
andl 0x20(%rsp,%rcx), %edx
orl $0x4, %edx
movl %edx, 0x20(%rsp,%rcx)
movq -0x18(%rax), %rcx
movq $0x5, 0x10(%rsp,%rcx)
movq -0x18(%rax), %rax
movq $0xc, 0x18(%rsp,%rax)
movq %r14, %rdi
movq %r15, %rsi
movl $0x10, %edx
callq 0x43d0
leaq 0x18(%rsp), %r14
testq %r15, %r15
je 0x937c
movq %r15, %rdi
callq 0x41e0
movq %r14, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x44e0
jmp 0x9395
movq 0x18(%rsp), %rax
movq -0x18(%rax), %rax
leaq (%r14,%rax), %rdi
movl 0x38(%rsp,%rax), %esi
orl $0x1, %esi
callq 0x4710
leaq 0x1460f1(%rip), %rsi    # 0x14f48d
movl $0x4, %edx
movq %r14, %rdi
callq 0x44e0
movsd 0xc28(%rbx), %xmm0
movq %r14, %rdi
callq 0x46b0
leaq 0x14e0c6(%rip), %rsi    # 0x157486
movl $0x1, %edx
movq %rax, %rdi
callq 0x44e0
movsd 0xc30(%rbx), %xmm0
movq %r14, %rdi
callq 0x46b0
movq %rax, %r15
leaq 0x1460a8(%rip), %rsi    # 0x14f48f
movl $0x2, %edx
movq %rax, %rdi
callq 0x44e0
movsd 0xc38(%rbx), %xmm0
movq %r15, %rdi
callq 0x46b0
testb %bpl, %bpl
je 0x94d3
leaq 0x14607b(%rip), %rsi    # 0x14f48f
movl $0x2, %edx
movq %r14, %rdi
callq 0x44e0
movq 0xc40(%rbx), %rax
cmpq %rax, 0xc48(%rbx)
je 0x947a
movl $0x1, %ebp
xorl %ecx, %ecx
leaq 0x146050(%rip), %r15    # 0x14f48f
movsd (%rax,%rcx,8), %xmm0
movq %r14, %rdi
callq 0x46b0
movl $0x2, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x44e0
movl %ebp, %ecx
movq 0xc40(%rbx), %rax
movq 0xc48(%rbx), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
incl %ebp
cmpq %rcx, %rdx
ja 0x943f
movq 0xc58(%rbx), %rax
cmpq %rax, 0xc60(%rbx)
je 0x94d3
movl $0x1, %ebp
xorl %ecx, %ecx
leaq 0x145ff7(%rip), %r15    # 0x14f48f
movsd (%rax,%rcx,8), %xmm0
movq %r14, %rdi
callq 0x46b0
movl $0x2, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x44e0
movl %ebp, %ecx
movq 0xc58(%rbx), %rax
movq 0xc60(%rbx), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
incl %ebp
cmpq %rcx, %rdx
ja 0x9498
leaq 0x14c054(%rip), %rsi    # 0x15552e
movl $0x1, %edx
movq %r14, %rdi
callq 0x44e0
leaq 0x8(%rsp), %rdi
callq 0x4110
addq $0x218, %rsp            # imm = 0x218
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x9503
jmp 0x9503
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x4110
movq %rbx, %rdi
callq 0x4780