// File: ncbi[P]amr/common.cpp
// Function: Common_sp::Xml::Tag::Tag(Common_sp::Xml::File&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool)
Xml::Tag::Tag (Xml::File &f_arg,
               const string &name_arg,
               bool active_arg)
: f (f_arg)
, name (name_arg)
, active (active_arg)
{ 
	if (name. empty ())
		throw runtime_error (FUNC "Empty XML tag name");
  if (f. isText)
  	throw runtime_error (FUNC "Cannot put tag " + strQuote (name) + " after a text");
  if (active)
  	f. tagStart (name);
}

// Assembly:
subq $0x158, %rsp            # imm = 0x158
movb %cl, %al
movq %rdi, 0x150(%rsp)
movq %rsi, 0x148(%rsp)
movq %rdx, 0x140(%rsp)
andb $0x1, %al
movb %al, 0x13f(%rsp)
movq 0x150(%rsp), %rdi
movq %rdi, 0x28(%rsp)
movq 0x148(%rsp), %rax
movq %rax, (%rdi)
addq $0x8, %rdi
movq %rdi, 0x20(%rsp)
movq 0x140(%rsp), %rsi
callq 0xc320
movq 0x28(%rsp), %rdi
movb 0x13f(%rsp), %al
andb $0x1, %al
movb %al, 0x28(%rdi)
addq $0x8, %rdi
callq 0xcc10
testb $0x1, %al
jne 0x4d32b
jmp 0x4d448
movb $0x1, 0xe3(%rsp)
movl $0x10, %edi
callq 0xc3b0
movq %rax, 0x10(%rsp)
leaq 0xf7(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0xcd00
movq 0x18(%rsp), %rdx
leaq 0x8118f(%rip), %rsi     # 0xce4ef
leaq 0xf8(%rsp), %rdi
callq 0x29fd0
jmp 0x4d36f
leaq 0x811b5(%rip), %rdx     # 0xce52b
leaq 0x118(%rsp), %rdi
leaq 0xf8(%rsp), %rsi
callq 0x2a2f0
jmp 0x4d38d
movq 0x10(%rsp), %rdi
leaq 0x118(%rsp), %rsi
callq 0xcbb0
jmp 0x4d3a1
movq 0x10(%rsp), %rdi
movb $0x0, 0xe3(%rsp)
movq 0xb8c3b(%rip), %rsi     # 0x105ff0
movq 0xb8bb4(%rip), %rdx     # 0x105f70
callq 0xcc80
jmp 0x4d671
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xe8(%rsp)
movl %eax, 0xe4(%rsp)
jmp 0x4d420
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xe8(%rsp)
movl %eax, 0xe4(%rsp)
jmp 0x4d413
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xe8(%rsp)
movl %eax, 0xe4(%rsp)
leaq 0x118(%rsp), %rdi
callq 0xce98
leaq 0xf8(%rsp), %rdi
callq 0xce98
leaq 0xf7(%rsp), %rdi
callq 0xc7a0
testb $0x1, 0xe3(%rsp)
jne 0x4d439
jmp 0x4d443
movq 0x10(%rsp), %rdi
callq 0xc580
jmp 0x4d65a
movq 0x28(%rsp), %rax
movq (%rax), %rax
testb $0x1, 0x8(%rax)
je 0x4d618
movb $0x1, 0x37(%rsp)
movl $0x10, %edi
callq 0xc3b0
movq %rax, (%rsp)
leaq 0x5f(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0xcd00
movq 0x8(%rsp), %rdx
leaq 0x81067(%rip), %rsi     # 0xce4ef
leaq 0x60(%rsp), %rdi
callq 0x29fd0
jmp 0x4d494
leaq 0x810a5(%rip), %rdx     # 0xce540
leaq 0x80(%rsp), %rdi
leaq 0x60(%rsp), %rsi
callq 0x2a2f0
jmp 0x4d4af
movq 0x28(%rsp), %rsi
addq $0x8, %rsi
leaq 0x38(%rsp), %rdi
movl $0x22, %edx
callq 0x424f0
jmp 0x4d4c9
leaq 0xa0(%rsp), %rdi
leaq 0x80(%rsp), %rsi
leaq 0x38(%rsp), %rdx
callq 0x2dde0
jmp 0x4d4e5
leaq 0x81066(%rip), %rdx     # 0xce552
leaq 0xc0(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
callq 0x2a2f0
jmp 0x4d503
movq (%rsp), %rdi
leaq 0xc0(%rsp), %rsi
callq 0xcbb0
jmp 0x4d516
movq (%rsp), %rdi
movb $0x0, 0x37(%rsp)
movq 0xb8aca(%rip), %rsi     # 0x105ff0
movq 0xb8a43(%rip), %rdx     # 0x105f70
callq 0xcc80
jmp 0x4d671
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xe8(%rsp)
movl %eax, 0xe4(%rsp)
jmp 0x4d5fa
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xe8(%rsp)
movl %eax, 0xe4(%rsp)
jmp 0x4d5f0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xe8(%rsp)
movl %eax, 0xe4(%rsp)
jmp 0x4d5e3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xe8(%rsp)
movl %eax, 0xe4(%rsp)
jmp 0x4d5d9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xe8(%rsp)
movl %eax, 0xe4(%rsp)
jmp 0x4d5cc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xe8(%rsp)
movl %eax, 0xe4(%rsp)
leaq 0xc0(%rsp), %rdi
callq 0xce98
leaq 0xa0(%rsp), %rdi
callq 0xce98
leaq 0x38(%rsp), %rdi
callq 0xce98
leaq 0x80(%rsp), %rdi
callq 0xce98
leaq 0x60(%rsp), %rdi
callq 0xce98
leaq 0x5f(%rsp), %rdi
callq 0xc7a0
testb $0x1, 0x37(%rsp)
jne 0x4d60d
jmp 0x4d616
movq (%rsp), %rdi
callq 0xc580
jmp 0x4d65a
movq 0x28(%rsp), %rax
testb $0x1, 0x28(%rax)
je 0x4d652
movq 0x28(%rsp), %rsi
movq (%rsi), %rdi
addq $0x8, %rsi
movq (%rdi), %rax
movq 0x20(%rax), %rax
callq *%rax
jmp 0x4d63a
jmp 0x4d652
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xe8(%rsp)
movl %eax, 0xe4(%rsp)
jmp 0x4d65a
addq $0x158, %rsp            # imm = 0x158
retq
movq 0x20(%rsp), %rdi
callq 0xce98
movq 0xe8(%rsp), %rdi
callq 0xccf0
nopw %cs:(%rax,%rax)