// File: jliesch[P]ofxget/ofxhome.cc
// Function: ofxget::operator<<(std::ostream&, ofxget::Institution const&)
std::ostream& operator<<(std::ostream& stream,
                         const Institution& inst) {
  stream << "OFXHome id: " << inst.ofxhome_id << endl;
  stream << "Name      : " << inst.name << endl;
  stream << "URL       : " << inst.url << endl;
  stream << "FID       : " << inst.fid << endl;
  stream << "ORG       : " << inst.org << endl;
  if (!inst.brokerid.empty()) {
    stream << "BROKERID  : " << inst.brokerid << endl;
  }
  if (!inst.bankid.empty()) {
    stream << "BANKID    : " << inst.bankid << endl;
  }
  stream << "OFX Fail  : " << inst.ofxfail << endl;
  stream << "SSL Fail  : " << inst.sslfail << endl;
  stream << "OFX Last  : " << inst.lastofxvalidation << endl;
  stream << "SSL Last  : " << inst.lastsslvalidation << endl;
  for (const auto& p : inst.profile) {
    stream << "Profile   : " << p.first << "=" << p.second << endl;
  }
  return stream;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
leaq 0x5a4b9(%rip), %rsi     # 0x694e4
callq 0x7580
movq %rax, %rdi
movq -0x10(%rbp), %rax
movl (%rax), %esi
callq 0x72c0
movq %rax, %rdi
movq 0x85f80(%rip), %rsi     # 0x94fc8
callq 0x7970
movq -0x8(%rbp), %rdi
leaq 0x5a499(%rip), %rsi     # 0x694f1
callq 0x7580
movq %rax, %rdi
movq -0x10(%rbp), %rsi
addq $0x8, %rsi
callq 0x72a0
movq %rax, %rdi
movq 0x85f51(%rip), %rsi     # 0x94fc8
callq 0x7970
movq -0x8(%rbp), %rdi
leaq 0x5a477(%rip), %rsi     # 0x694fe
callq 0x7580
movq %rax, %rdi
movq -0x10(%rbp), %rsi
addq $0x68, %rsi
callq 0x72a0
movq %rax, %rdi
movq 0x85f22(%rip), %rsi     # 0x94fc8
callq 0x7970
movq -0x8(%rbp), %rdi
leaq 0x5a455(%rip), %rsi     # 0x6950b
callq 0x7580
movq %rax, %rdi
movq -0x10(%rbp), %rsi
addq $0x28, %rsi
callq 0x72a0
movq %rax, %rdi
movq 0x85ef3(%rip), %rsi     # 0x94fc8
callq 0x7970
movq -0x8(%rbp), %rdi
leaq 0x5a433(%rip), %rsi     # 0x69518
callq 0x7580
movq %rax, %rdi
movq -0x10(%rbp), %rsi
addq $0x48, %rsi
callq 0x72a0
movq %rax, %rdi
movq 0x85ec4(%rip), %rsi     # 0x94fc8
callq 0x7970
movq -0x10(%rbp), %rdi
addq $0xd0, %rdi
callq 0x7250
testb $0x1, %al
jne 0xf14f
movq -0x8(%rbp), %rdi
leaq 0x5a3fd(%rip), %rsi     # 0x69525
callq 0x7580
movq %rax, %rdi
movq -0x10(%rbp), %rsi
addq $0xd0, %rsi
callq 0x72a0
movq %rax, %rdi
movq 0x85e7e(%rip), %rsi     # 0x94fc8
callq 0x7970
movq -0x10(%rbp), %rdi
addq $0xf0, %rdi
callq 0x7250
testb $0x1, %al
jne 0xf195
movq -0x8(%rbp), %rdi
leaq 0x5a3c4(%rip), %rsi     # 0x69532
callq 0x7580
movq %rax, %rdi
movq -0x10(%rbp), %rsi
addq $0xf0, %rsi
callq 0x72a0
movq %rax, %rdi
movq 0x85e38(%rip), %rsi     # 0x94fc8
callq 0x7970
movq -0x8(%rbp), %rdi
leaq 0x5a39f(%rip), %rsi     # 0x6953f
callq 0x7580
movq %rax, %rdi
movq -0x10(%rbp), %rax
movl 0x88(%rax), %esi
callq 0x72c0
movq %rax, %rdi
movq 0x85e07(%rip), %rsi     # 0x94fc8
callq 0x7970
movq -0x8(%rbp), %rdi
leaq 0x5a37b(%rip), %rsi     # 0x6954c
callq 0x7580
movq %rax, %rdi
movq -0x10(%rbp), %rax
movl 0x8c(%rax), %esi
callq 0x72c0
movq %rax, %rdi
movq 0x85dd6(%rip), %rsi     # 0x94fc8
callq 0x7970
movq -0x8(%rbp), %rdi
leaq 0x5a357(%rip), %rsi     # 0x69559
callq 0x7580
movq %rax, %rdi
movq -0x10(%rbp), %rsi
addq $0x90, %rsi
callq 0x72a0
movq %rax, %rdi
movq 0x85da4(%rip), %rsi     # 0x94fc8
callq 0x7970
movq -0x8(%rbp), %rdi
leaq 0x5a332(%rip), %rsi     # 0x69566
callq 0x7580
movq %rax, %rdi
movq -0x10(%rbp), %rsi
addq $0xb0, %rsi
callq 0x72a0
movq %rax, %rdi
movq 0x85d72(%rip), %rsi     # 0x94fc8
callq 0x7970
movq -0x10(%rbp), %rax
addq $0x110, %rax            # imm = 0x110
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
callq 0x10820
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rdi
callq 0xb670
movq %rax, -0x28(%rbp)
leaq -0x20(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0xb4d0
testb $0x1, %al
jne 0xf296
jmp 0xf2f8
leaq -0x20(%rbp), %rdi
callq 0x10850
movq %rax, -0x30(%rbp)
movq -0x8(%rbp), %rdi
leaq 0x5a2c5(%rip), %rsi     # 0x69573
callq 0x7580
movq %rax, %rdi
movq -0x30(%rbp), %rsi
callq 0x72a0
movq %rax, %rdi
leaq 0x5a384(%rip), %rsi     # 0x6964d
callq 0x7580
movq %rax, %rdi
movq -0x30(%rbp), %rsi
addq $0x20, %rsi
callq 0x72a0
movq %rax, %rdi
movq 0x85ce0(%rip), %rsi     # 0x94fc8
callq 0x7970
leaq -0x20(%rbp), %rdi
callq 0x10880
jmp 0xf283
movq -0x8(%rbp), %rax
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)