// File: /workspace/github_cpp_makefile_star2_O3/Alcaro[P]bridges/arlib/bmlwrite.cpp
// Function: bmlwriter::node(cstring, cstring, bmlwriter::mode, bool)
void bmlwriter::node(cstring name, cstring val, mode m, bool enter)
{
	m = type(val, m);
	bool inlined = (m <= icol && m_caninline && !enter);
	if (m_data)
	{
		if (inlined) m_data += " ";
		else m_data += "\n"+indent();
	}
	
	m_indent++;
	
	if ((m==anon || m==eq || m==quote) && enter) m_caninline = true;
	if (m==icol || m==col || m==multiline) m_caninline = false;
	//for other modes, inlinability isn't affected
	
	switch (m)
	{
		case ianon:
		case anon:
			m_data += name;
			break;
		case ieq:
		case eq:
			m_data += name+"="+val;
			break;
		case iquote:
		case quote:
			m_data += name+"=\""+val+"\"";
			break;
		case icol:
		case col:
			m_data += name+": "+val;
			break;
		case multiline:
			string prefix = "\n"+indent()+":";
			m_data += name + prefix + val.replace("\n", prefix);
			break;
	}
	if (!enter) m_indent--;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movl %r9d, %ebp
movq %r8, %r13
movq %rcx, %r14
movq %rdx, 0x30(%rsp)
movq %rsi, 0x18(%rsp)
movq %rdi, %rbx
movq %rcx, 0x48(%rsp)
movq %r8, 0x50(%rsp)
leal 0x4(%rbp), %r12d
cmpl $0x4, %r9d
cmovgel %r9d, %r12d
movq %rcx, %rdi
movq %r8, %rsi
callq 0x7574
cmpl %eax, %r12d
cmovlel %eax, %r12d
movb 0x14(%rbx), %cl
leal -0x4(%r12), %r15d
testb $0x1, %cl
cmovel %r12d, %r15d
cmpl $0x8, %r12d
cmovel %r12d, %r15d
cmpl $0x4, %ebp
movb 0xa0(%rsp), %bpl
cmovgel %r12d, %r15d
cmpl $0x3, %r15d
ja 0x6d9c
movl %ebp, %eax
xorb $0x1, %al
andb %cl, %al
jmp 0x6d9e
xorl %eax, %eax
movzbl 0xf(%rbx), %ecx
testb %cl, %cl
jns 0x6dab
movl 0x8(%rbx), %ecx
jmp 0x6dae
xorl $0xf, %ecx
testl %ecx, %ecx
je 0x6eaf
testb %al, %al
je 0x6dd3
leaq 0x28d58(%rip), %rsi     # 0x2fb19
movl $0x1, %edx
movq %rbx, %rdi
callq 0x1967e
jmp 0x6eaf
leaq 0x8(%rsp), %rbp
movb $0xf, 0xf(%rbp)
movb $0x0, (%rbp)
movslq 0x10(%rbx), %rsi
addq %rsi, %rsi
movq %rbp, %rdi
callq 0x193c4
cmpb $0x0, 0xf(%rbp)
jns 0x6dfa
movq 0x8(%rsp), %rbp
movslq 0x10(%rbx), %rdx
addq %rdx, %rdx
movq %rbp, %rdi
movl $0x20, %esi
callq 0x3170
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rax
leaq 0x20(%rsp), %rbp
movw $0xa, (%rbp)
movb $0xe, 0xf(%rbp)
leaq 0x38(%rsp), %r12
movq %rsi, (%r12)
movq %rax, 0x8(%r12)
movq %rax, %rcx
shrq $0x38, %rcx
xorq $0xf, %rcx
testq %rax, %rax
movl %eax, %edx
cmovnsq %rcx, %rdx
cmovnsq %r12, %rsi
movq %rbp, %rdi
callq 0x1967e
movq (%rbp), %rsi
movq 0x8(%rbp), %rax
movq %rsi, (%r12)
movq %rax, 0x8(%r12)
movq %rax, %rcx
shrq $0x38, %rcx
xorq $0xf, %rcx
testq %rax, %rax
movl %eax, %edx
cmovnsq %rcx, %rdx
cmovnsq %r12, %rsi
movq %rbx, %rdi
callq 0x1967e
cmpb $0x0, 0xf(%rbp)
jns 0x6e96
movq 0x20(%rsp), %rdi
callq 0x3430
cmpb $0x0, 0x17(%rsp)
movb 0xa0(%rsp), %bpl
jns 0x6eaf
movq 0x8(%rsp), %rdi
callq 0x3430
movslq 0x10(%rbx), %rsi
incq %rsi
movl %esi, 0x10(%rbx)
leal -0x4(%r15), %eax
cmpl $0x3, %eax
setae %al
movl %ebp, %ecx
xorb $0x1, %cl
orb %al, %cl
jne 0x6ed0
movb $0x1, 0x14(%rbx)
cmpl $0x8, %r15d
ja 0x7151
movl %r15d, %eax
leaq 0x2842c(%rip), %rcx     # 0x2f310
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movb $0x0, 0x14(%rbx)
addl $-0x3, %r15d
leaq 0x28438(%rip), %rax     # 0x2f334
movslq (%rax,%r15,4), %rcx
addq %rax, %rcx
jmpq *%rcx
leaq 0x38(%rsp), %rbp
movq 0x18(%rsp), %rax
movq %rax, (%rbp)
movq 0x30(%rsp), %rax
movq %rax, 0x8(%rbp)
leaq 0x20(%rsp), %r15
movq %r15, %rdi
movq %rbp, %rsi
callq 0x19592
leaq 0x2841e(%rip), %rsi     # 0x2f351
movl $0x2, %edx
jmp 0x70bb
leaq 0x38(%rsp), %rbp
movq 0x18(%rsp), %rax
movq %rax, (%rbp)
movq 0x30(%rsp), %rax
movq %rax, 0x8(%rbp)
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %rbp, %rsi
callq 0x19592
leaq 0x283e3(%rip), %rsi     # 0x2f34e
movl $0x2, %edx
movq %r15, %rdi
callq 0x1967e
movq %r14, (%rbp)
movq %r13, 0x8(%rbp)
movq %r13, %rax
shrq $0x38, %rax
xorq $0xf, %rax
testq %r13, %r13
movl %r13d, %edx
cmovnsq %rax, %rdx
cmovnsq %rbp, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x1967e
movups (%r15), %xmm0
leaq 0x20(%rsp), %r12
movaps %xmm0, (%r12)
movb $0xf, %al
movb %al, 0xf(%r15)
xorl %r13d, %r13d
movb %r13b, (%r15)
leaq 0x2838a(%rip), %rsi     # 0x2f34f
movl $0x1, %edx
movq %r12, %rdi
callq 0x1967e
movq (%r12), %r14
movq 0x8(%r12), %r15
movb $0xf, %al
movb %al, 0xf(%r12)
movb %r13b, (%r12)
movq %r14, (%rbp)
movq %r15, 0x8(%rbp)
movq %r15, %rax
shrq $0x38, %rax
xorq $0xf, %rax
testq %r15, %r15
movl %r15d, %edx
cmovnsq %rax, %rdx
cmovsq %r14, %rbp
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x1967e
testq %r15, %r15
jns 0x701f
movq %r14, %rdi
callq 0x3430
cmpb $0x0, 0x2f(%rsp)
jns 0x7030
movq 0x20(%rsp), %rdi
callq 0x3430
cmpb $0x0, 0x17(%rsp)
movb 0xa0(%rsp), %bpl
jns 0x7151
movq 0x8(%rsp), %rdi
jmp 0x714c
leaq 0x38(%rsp), %rax
movq 0x18(%rsp), %rsi
movq %rsi, (%rax)
movq 0x30(%rsp), %rdx
movq %rdx, 0x8(%rax)
movq %rdx, %rcx
shrq $0x38, %rcx
xorq $0xf, %rcx
testq %rdx, %rdx
movl %edx, %edx
cmovnsq %rcx, %rdx
cmovnsq %rax, %rsi
movq %rbx, %rdi
callq 0x1967e
jmp 0x7151
leaq 0x38(%rsp), %rbp
movq 0x18(%rsp), %rax
movq %rax, (%rbp)
movq 0x30(%rsp), %rax
movq %rax, 0x8(%rbp)
leaq 0x20(%rsp), %r15
movq %r15, %rdi
movq %rbp, %rsi
callq 0x19592
leaq 0x28296(%rip), %rsi     # 0x2f34c
movl $0x1, %edx
movq %r15, %rdi
callq 0x1967e
movq %r14, (%rbp)
movq %r13, 0x8(%rbp)
movq %r13, %rax
shrq $0x38, %rax
xorq $0xf, %rax
testq %r13, %r13
movl %r13d, %edx
cmovnsq %rax, %rdx
cmovnsq %rbp, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x1967e
movq (%r15), %r14
movq 0x8(%r15), %r12
movb $0xf, 0xf(%r15)
movb $0x0, (%r15)
movq %r14, (%rbp)
movq %r12, 0x8(%rbp)
movq %r12, %rax
shrq $0x38, %rax
xorq $0xf, %rax
testq %r12, %r12
movl %r12d, %edx
cmovnsq %rax, %rdx
cmovsq %r14, %rbp
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x1967e
testq %r12, %r12
jns 0x7138
movq %r14, %rdi
callq 0x3430
cmpb $0x0, 0x2f(%rsp)
movb 0xa0(%rsp), %bpl
jns 0x7151
movq 0x20(%rsp), %rdi
callq 0x3430
testb %bpl, %bpl
jne 0x7159
decl 0x10(%rbx)
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movb $0xf, %r12b
leaq 0x8(%rsp), %r14
movb %r12b, 0xf(%r14)
xorl %r15d, %r15d
movb %r15b, (%r14)
addq %rsi, %rsi
movq %r14, %rdi
callq 0x193c4
cmpb %r15b, 0xf(%r14)
jns 0x7190
movq 0x8(%rsp), %r14
movslq 0x10(%rbx), %rdx
addq %rdx, %rdx
movq %r14, %rdi
movl $0x20, %esi
callq 0x3170
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rax
leaq 0x20(%rsp), %rbp
movw $0xa, (%rbp)
movb $0xe, 0xf(%rbp)
leaq 0x38(%rsp), %rcx
movq %rsi, (%rcx)
movq %rax, 0x8(%rcx)
movq %rax, %rdi
shrq $0x38, %rdi
xorq $0xf, %rdi
testq %rax, %rax
movl %eax, %edx
cmovnsq %rdi, %rdx
cmovnsq %rcx, %rsi
movq %rbp, %rdi
callq 0x1967e
leaq 0x28164(%rip), %rsi     # 0x2f354
movl $0x1, %edx
movq %rbp, %rdi
callq 0x1967e
movq (%rbp), %r14
movq 0x8(%rbp), %r13
movb %r12b, 0xf(%rbp)
movb %r15b, (%rbp)
cmpb %r15b, 0x17(%rsp)
jns 0x721e
movq 0x8(%rsp), %rdi
callq 0x3430
leaq 0x38(%rsp), %rbp
movq 0x18(%rsp), %rax
movq %rax, (%rbp)
movq 0x30(%rsp), %rax
movq %rax, 0x8(%rbp)
leaq 0x20(%rsp), %r15
movq %r15, %rdi
movq %rbp, %rsi
callq 0x19592
movq %r14, (%rbp)
movq %r13, %rax
shrq $0x38, %rax
xorq $0xf, %rax
testq %r13, %r13
movl %r13d, %edx
cmovnsq %rax, %rdx
movq %r13, 0x8(%rbp)
movq %r14, %rsi
cmovnsq %rbp, %rsi
movq %r15, %rdi
callq 0x1967e
leaq 0x2b634(%rip), %rsi     # 0x328ac
leaq 0x58(%rsp), %r12
movl $0x1, %edx
movq %r12, %rdi
movl $0x1, %ecx
callq 0x5990
movq (%r12), %rdx
movq 0x8(%r12), %rcx
leaq 0x8(%rsp), %r12
leaq 0x48(%rsp), %rsi
movq %r12, %rdi
movq %r14, 0x18(%rsp)
movq %r14, %r8
movq %r13, %r9
callq 0x19c90
movq (%r12), %rsi
movq 0x8(%r12), %rax
movq %rsi, (%rbp)
movq %rax, 0x8(%rbp)
movq %rax, %rcx
shrq $0x38, %rcx
xorq $0xf, %rcx
testq %rax, %rax
movl %eax, %edx
cmovnsq %rcx, %rdx
cmovnsq %rbp, %rsi
movq %r15, %rdi
callq 0x1967e
movq (%r15), %r12
movq 0x8(%r15), %r14
movb $0xf, 0xf(%r15)
movb $0x0, (%r15)
movq %r12, (%rbp)
movq %r14, 0x8(%rbp)
movq %r14, %rax
shrq $0x38, %rax
xorq $0xf, %rax
testq %r14, %r14
movl %r14d, %edx
cmovnsq %rax, %rdx
cmovsq %r12, %rbp
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x1967e
testq %r14, %r14
jns 0x732f
movq %r12, %rdi
callq 0x3430
cmpb $0x0, 0x17(%rsp)
movb 0xa0(%rsp), %bpl
jns 0x7348
movq 0x8(%rsp), %rdi
callq 0x3430
cmpb $0x0, 0x2f(%rsp)
movq 0x18(%rsp), %r14
jns 0x735e
movq 0x20(%rsp), %rdi
callq 0x3430
testq %r13, %r13
jns 0x7151
movq %r14, %rdi
jmp 0x714c
nop