// File: Windfisch[P]production-flow/flowgraph.cpp
// Function: FlowGraph::Node::label[abi:cxx11]() const
string FlowGraph::Node::label() const
{
	string color;
	if (incoming() < -max_production)
		color = "color=red,";
	else if (excess > 0)
		color = "color=blue,";
	string label("label=\""s + str(incoming())+"in, "s + str(actual_production)+"/"s+str(max_production)+"prod\\n"s + str(available()) + "avail, "s +  str(excess)+"exc\""s);
	return color+label;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x300, %rsp            # imm = 0x300
movq %rdi, -0x2f8(%rbp)
movq %rdi, %rax
movq %rax, -0x2f0(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x2e8(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x33e0
movq -0x2e8(%rbp), %rdi
callq 0x12f70
movq -0x2e8(%rbp), %rdx
xorl %ecx, %ecx
subl (%rdx), %ecx
cmpl %ecx, %eax
jge 0x13ff8
leaq 0x115ec(%rip), %rsi     # 0x255c6
leaq -0x30(%rbp), %rdi
callq 0x33d0
jmp 0x13fe5
jmp 0x1401b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x145d3
movq -0x2e8(%rbp), %rax
cmpl $0x0, 0x8(%rax)
jle 0x14019
leaq 0x115c8(%rip), %rsi     # 0x255d4
leaq -0x30(%rbp), %rdi
callq 0x33d0
jmp 0x14017
jmp 0x14019
jmp 0x1401b
leaq 0x113c1(%rip), %rsi     # 0x253e3
leaq -0x1a0(%rbp), %rdi
movl $0x7, %edx
callq 0x14da0
jmp 0x14035
movq -0x2e8(%rbp), %rdi
callq 0x12f70
movl %eax, %esi
leaq -0x1c0(%rbp), %rdi
movl $0x3, %edx
callq 0x14e30
jmp 0x14056
leaq -0x180(%rbp), %rdi
leaq -0x1a0(%rbp), %rsi
leaq -0x1c0(%rbp), %rdx
callq 0x14cd0
jmp 0x14072
leaq 0x11567(%rip), %rsi     # 0x255e0
leaq -0x1e0(%rbp), %rdi
movl $0x4, %edx
callq 0x14da0
jmp 0x1408c
leaq -0x160(%rbp), %rdi
leaq -0x180(%rbp), %rsi
leaq -0x1e0(%rbp), %rdx
callq 0x14cd0
jmp 0x140a8
movq -0x2e8(%rbp), %rax
movl 0x4(%rax), %esi
leaq -0x200(%rbp), %rdi
movl $0x3, %edx
callq 0x14e30
jmp 0x140c5
leaq -0x140(%rbp), %rdi
leaq -0x160(%rbp), %rsi
leaq -0x200(%rbp), %rdx
callq 0x14cd0
jmp 0x140e1
leaq 0x11303(%rip), %rsi     # 0x253eb
leaq -0x220(%rbp), %rdi
movl $0x1, %edx
callq 0x14da0
jmp 0x140fb
leaq -0x120(%rbp), %rdi
leaq -0x140(%rbp), %rsi
leaq -0x220(%rbp), %rdx
callq 0x14cd0
jmp 0x14117
movq -0x2e8(%rbp), %rax
movl (%rax), %esi
leaq -0x240(%rbp), %rdi
movl $0x3, %edx
callq 0x14e30
jmp 0x14133
leaq -0x100(%rbp), %rdi
leaq -0x120(%rbp), %rsi
leaq -0x240(%rbp), %rdx
callq 0x14cd0
jmp 0x1414f
leaq 0x1148f(%rip), %rsi     # 0x255e5
leaq -0x260(%rbp), %rdi
movl $0x6, %edx
callq 0x14da0
jmp 0x14169
leaq -0xe0(%rbp), %rdi
leaq -0x100(%rbp), %rsi
leaq -0x260(%rbp), %rdx
callq 0x14cd0
jmp 0x14185
movq -0x2e8(%rbp), %rdi
callq 0x12ff0
movl %eax, -0x2fc(%rbp)
jmp 0x14199
movl -0x2fc(%rbp), %esi
leaq -0x280(%rbp), %rdi
movl $0x3, %edx
callq 0x14e30
jmp 0x141b2
leaq -0xc0(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
leaq -0x280(%rbp), %rdx
callq 0x14cd0
jmp 0x141ce
leaq 0x11417(%rip), %rsi     # 0x255ec
leaq -0x2a0(%rbp), %rdi
movl $0x7, %edx
callq 0x14da0
jmp 0x141e8
leaq -0xa0(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
leaq -0x2a0(%rbp), %rdx
callq 0x14cd0
jmp 0x14204
movq -0x2e8(%rbp), %rax
movl 0x8(%rax), %esi
leaq -0x2c0(%rbp), %rdi
movl $0x3, %edx
callq 0x14e30
jmp 0x14221
leaq -0x80(%rbp), %rdi
leaq -0xa0(%rbp), %rsi
leaq -0x2c0(%rbp), %rdx
callq 0x14cd0
jmp 0x1423a
leaq 0x113b3(%rip), %rsi     # 0x255f4
leaq -0x2e0(%rbp), %rdi
movl $0x4, %edx
callq 0x14da0
jmp 0x14254
leaq -0x60(%rbp), %rdi
leaq -0x80(%rbp), %rsi
leaq -0x2e0(%rbp), %rdx
callq 0x14cd0
jmp 0x1426a
leaq -0x2e0(%rbp), %rdi
callq 0x3588
leaq -0x80(%rbp), %rdi
callq 0x3588
leaq -0x2c0(%rbp), %rdi
callq 0x3588
leaq -0xa0(%rbp), %rdi
callq 0x3588
leaq -0x2a0(%rbp), %rdi
callq 0x3588
leaq -0xc0(%rbp), %rdi
callq 0x3588
leaq -0x280(%rbp), %rdi
callq 0x3588
leaq -0xe0(%rbp), %rdi
callq 0x3588
leaq -0x260(%rbp), %rdi
callq 0x3588
leaq -0x100(%rbp), %rdi
callq 0x3588
leaq -0x240(%rbp), %rdi
callq 0x3588
leaq -0x120(%rbp), %rdi
callq 0x3588
leaq -0x220(%rbp), %rdi
callq 0x3588
leaq -0x140(%rbp), %rdi
callq 0x3588
leaq -0x200(%rbp), %rdi
callq 0x3588
leaq -0x160(%rbp), %rdi
callq 0x3588
leaq -0x1e0(%rbp), %rdi
callq 0x3588
leaq -0x180(%rbp), %rdi
callq 0x3588
leaq -0x1c0(%rbp), %rdi
callq 0x3588
leaq -0x1a0(%rbp), %rdi
callq 0x3588
movq -0x2f8(%rbp), %rdi
leaq -0x30(%rbp), %rsi
leaq -0x60(%rbp), %rdx
callq 0x14f10
jmp 0x1436d
leaq -0x60(%rbp), %rdi
callq 0x3588
leaq -0x30(%rbp), %rdi
callq 0x3588
movq -0x2f0(%rbp), %rax
addq $0x300, %rsp            # imm = 0x300
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x145b0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x145a4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x14598
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x1458c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x14580
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x14574
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x14568
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x1455c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x14550
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x14544
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x14538
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x1452c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x14520
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x14514
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x14508
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x144fc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x144f0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x144e4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x144db
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x2e0(%rbp), %rdi
callq 0x3588
leaq -0x80(%rbp), %rdi
callq 0x3588
leaq -0x2c0(%rbp), %rdi
callq 0x3588
leaq -0xa0(%rbp), %rdi
callq 0x3588
leaq -0x2a0(%rbp), %rdi
callq 0x3588
leaq -0xc0(%rbp), %rdi
callq 0x3588
leaq -0x280(%rbp), %rdi
callq 0x3588
leaq -0xe0(%rbp), %rdi
callq 0x3588
leaq -0x260(%rbp), %rdi
callq 0x3588
leaq -0x100(%rbp), %rdi
callq 0x3588
leaq -0x240(%rbp), %rdi
callq 0x3588
leaq -0x120(%rbp), %rdi
callq 0x3588
leaq -0x220(%rbp), %rdi
callq 0x3588
leaq -0x140(%rbp), %rdi
callq 0x3588
leaq -0x200(%rbp), %rdi
callq 0x3588
leaq -0x160(%rbp), %rdi
callq 0x3588
leaq -0x1e0(%rbp), %rdi
callq 0x3588
leaq -0x180(%rbp), %rdi
callq 0x3588
leaq -0x1c0(%rbp), %rdi
callq 0x3588
leaq -0x1a0(%rbp), %rdi
callq 0x3588
jmp 0x145d3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x3588
leaq -0x30(%rbp), %rdi
callq 0x3588
movq -0x38(%rbp), %rdi
callq 0x34f0
nopw %cs:(%rax,%rax)