// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/classes/xml/xul/widget.cpp
// Function: smooth::XML::XUL::Widget::Widget(smooth::XML::Node*)
S::XML::XUL::Widget::Widget(Node *node)
{
	defaultWidth  = 100;
	defaultHeight = 20;

	if (node != NIL)
	{
		id	    = GetXMLAttributeValue(node, "id");

		orient	    = (GetXMLAttributeValue(node, "orient") == "vertical") ? VERTICAL : HORIZONTAL;

		left	    = GetXMLAttributeValue(node, "left").ToInt();
		top	    = GetXMLAttributeValue(node, "top").ToInt();

		width	    = GetXMLAttributeValue(node, "width").ToInt();
		height	    = GetXMLAttributeValue(node, "height").ToInt();

		minwidth    = GetXMLAttributeValue(node, "minwidth").ToInt();
		minheight   = GetXMLAttributeValue(node, "minheight").ToInt();

		maxwidth    = GetXMLAttributeValue(node, "maxwidth").ToInt();
		maxheight   = GetXMLAttributeValue(node, "maxheight").ToInt();

		flex	    = GetXMLAttributeValue(node, "flex").ToInt();

		statustext  = GetXMLAttributeValue(node, "statustext");
		tooltiptext = GetXMLAttributeValue(node, "tooltiptext");
	}
	else
	{
		orient	    = HORIZONTAL;

		left	    = 0;
		top	    = 0;

		width	    = 0;
		height	    = 0;

		minwidth    = 0;
		minheight   = 0;

		maxwidth    = 0;
		maxheight   = 0;

		flex	    = 0;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x370, %rsp            # imm = 0x370
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x2a8(%rbp)
movq 0xf5bd3(%rip), %rax     # 0x208b68
addq $0x10, %rax
movq %rax, (%rdi)
addq $0x8, %rdi
movq %rdi, -0x2b0(%rbp)
xorl %esi, %esi
movl %esi, -0x29c(%rbp)
callq 0x5da90
movq -0x2a8(%rbp), %rdi
movl -0x29c(%rbp), %esi
addq $0x50, %rdi
movq %rdi, -0x298(%rbp)
callq 0x5da90
jmp 0x112fd3
movq -0x2a8(%rbp), %rdi
addq $0x68, %rdi
movq %rdi, -0x2b8(%rbp)
xorl %esi, %esi
callq 0x5da90
jmp 0x112fee
movq -0x2a8(%rbp), %rax
movl $0x64, 0x48(%rax)
movl $0x14, 0x4c(%rax)
cmpq $0x0, -0x10(%rbp)
je 0x113950
movq -0x10(%rbp), %rax
movq %rax, -0x2c0(%rbp)
leaq 0x94518(%rip), %rsi     # 0x1a7538
leaq -0x50(%rbp), %rdi
callq 0x5c1f0
jmp 0x11302b
movq -0x2c0(%rbp), %rdx
movq -0x2a8(%rbp), %rsi
leaq -0x38(%rbp), %rdi
leaq -0x50(%rbp), %rcx
callq 0x5a8d0
jmp 0x113048
movq -0x2a8(%rbp), %rdi
addq $0x8, %rdi
leaq -0x38(%rbp), %rsi
callq 0x59760
jmp 0x11305e
leaq -0x38(%rbp), %rdi
callq 0x5df00
leaq -0x50(%rbp), %rdi
callq 0x5df00
movq -0x10(%rbp), %rax
movq %rax, -0x2c8(%rbp)
leaq 0x934e5(%rip), %rsi     # 0x1a6567
leaq -0x80(%rbp), %rdi
callq 0x5c1f0
jmp 0x11308d
movq -0x2c8(%rbp), %rdx
movq -0x2a8(%rbp), %rsi
leaq -0x68(%rbp), %rdi
leaq -0x80(%rbp), %rcx
callq 0x5a8d0
jmp 0x1130aa
leaq 0x934bd(%rip), %rsi     # 0x1a656e
leaq -0x68(%rbp), %rdi
callq 0x5c7f0
movb %al, -0x2c9(%rbp)
jmp 0x1130c2
movq -0x2a8(%rbp), %rax
movb -0x2c9(%rbp), %cl
movzbl %cl, %ecx
andl $0x1, %ecx
movw %cx, 0x20(%rax)
leaq -0x68(%rbp), %rdi
callq 0x5df00
leaq -0x80(%rbp), %rdi
callq 0x5df00
movq -0x10(%rbp), %rax
movq %rax, -0x2d8(%rbp)
leaq 0xaafdc(%rip), %rsi     # 0x1be0d9
leaq -0xb0(%rbp), %rdi
callq 0x5c1f0
jmp 0x11310b
movq -0x2d8(%rbp), %rdx
movq -0x2a8(%rbp), %rsi
leaq -0x98(%rbp), %rdi
leaq -0xb0(%rbp), %rcx
callq 0x5a8d0
jmp 0x11312e
leaq -0x98(%rbp), %rdi
callq 0x5adc0
movq %rax, -0x2e0(%rbp)
jmp 0x113143
movq -0x2a8(%rbp), %rax
movq -0x2e0(%rbp), %rcx
movl %ecx, 0x24(%rax)
leaq -0x98(%rbp), %rdi
callq 0x5df00
leaq -0xb0(%rbp), %rdi
callq 0x5df00
movq -0x10(%rbp), %rax
movq %rax, -0x2e8(%rbp)
leaq 0x92ee0(%rip), %rsi     # 0x1a605e
leaq -0xe0(%rbp), %rdi
callq 0x5c1f0
jmp 0x11318c
movq -0x2e8(%rbp), %rdx
movq -0x2a8(%rbp), %rsi
leaq -0xc8(%rbp), %rdi
leaq -0xe0(%rbp), %rcx
callq 0x5a8d0
jmp 0x1131af
leaq -0xc8(%rbp), %rdi
callq 0x5adc0
movq %rax, -0x2f0(%rbp)
jmp 0x1131c4
movq -0x2a8(%rbp), %rax
movq -0x2f0(%rbp), %rcx
movl %ecx, 0x28(%rax)
leaq -0xc8(%rbp), %rdi
callq 0x5df00
leaq -0xe0(%rbp), %rdi
callq 0x5df00
movq -0x10(%rbp), %rax
movq %rax, -0x2f8(%rbp)
leaq 0xa9698(%rip), %rsi     # 0x1bc897
leaq -0x110(%rbp), %rdi
callq 0x5c1f0
jmp 0x11320d
movq -0x2f8(%rbp), %rdx
movq -0x2a8(%rbp), %rsi
leaq -0xf8(%rbp), %rdi
leaq -0x110(%rbp), %rcx
callq 0x5a8d0
jmp 0x113230
leaq -0xf8(%rbp), %rdi
callq 0x5adc0
movq %rax, -0x300(%rbp)
jmp 0x113245
movq -0x2a8(%rbp), %rax
movq -0x300(%rbp), %rcx
movl %ecx, 0x2c(%rax)
leaq -0xf8(%rbp), %rdi
callq 0x5df00
leaq -0x110(%rbp), %rdi
callq 0x5df00
movq -0x10(%rbp), %rax
movq %rax, -0x308(%rbp)
leaq 0xac520(%rip), %rsi     # 0x1bf7a0
leaq -0x140(%rbp), %rdi
callq 0x5c1f0
jmp 0x11328e
movq -0x308(%rbp), %rdx
movq -0x2a8(%rbp), %rsi
leaq -0x128(%rbp), %rdi
leaq -0x140(%rbp), %rcx
callq 0x5a8d0
jmp 0x1132b1
leaq -0x128(%rbp), %rdi
callq 0x5adc0
movq %rax, -0x310(%rbp)
jmp 0x1132c6
movq -0x2a8(%rbp), %rax
movq -0x310(%rbp), %rcx
movl %ecx, 0x30(%rax)
leaq -0x128(%rbp), %rdi
callq 0x5df00
leaq -0x140(%rbp), %rdi
callq 0x5df00
movq -0x10(%rbp), %rax
movq %rax, -0x318(%rbp)
leaq 0x93276(%rip), %rsi     # 0x1a6577
leaq -0x170(%rbp), %rdi
callq 0x5c1f0
jmp 0x11330f
movq -0x318(%rbp), %rdx
movq -0x2a8(%rbp), %rsi
leaq -0x158(%rbp), %rdi
leaq -0x170(%rbp), %rcx
callq 0x5a8d0
jmp 0x113332
leaq -0x158(%rbp), %rdi
callq 0x5adc0
movq %rax, -0x320(%rbp)
jmp 0x113347
movq -0x2a8(%rbp), %rax
movq -0x320(%rbp), %rcx
movl %ecx, 0x34(%rax)
leaq -0x158(%rbp), %rdi
callq 0x5df00
leaq -0x170(%rbp), %rdi
callq 0x5df00
movq -0x10(%rbp), %rax
movq %rax, -0x328(%rbp)
leaq 0x931fe(%rip), %rsi     # 0x1a6580
leaq -0x1a0(%rbp), %rdi
callq 0x5c1f0
jmp 0x113390
movq -0x328(%rbp), %rdx
movq -0x2a8(%rbp), %rsi
leaq -0x188(%rbp), %rdi
leaq -0x1a0(%rbp), %rcx
callq 0x5a8d0
jmp 0x1133b3
leaq -0x188(%rbp), %rdi
callq 0x5adc0
movq %rax, -0x330(%rbp)
jmp 0x1133c8
movq -0x2a8(%rbp), %rax
movq -0x330(%rbp), %rcx
movl %ecx, 0x38(%rax)
leaq -0x188(%rbp), %rdi
callq 0x5df00
leaq -0x1a0(%rbp), %rdi
callq 0x5df00
movq -0x10(%rbp), %rax
movq %rax, -0x338(%rbp)
leaq 0x93187(%rip), %rsi     # 0x1a658a
leaq -0x1d0(%rbp), %rdi
callq 0x5c1f0
jmp 0x113411
movq -0x338(%rbp), %rdx
movq -0x2a8(%rbp), %rsi
leaq -0x1b8(%rbp), %rdi
leaq -0x1d0(%rbp), %rcx
callq 0x5a8d0
jmp 0x113434
leaq -0x1b8(%rbp), %rdi
callq 0x5adc0
movq %rax, -0x340(%rbp)
jmp 0x113449
movq -0x2a8(%rbp), %rax
movq -0x340(%rbp), %rcx
movl %ecx, 0x3c(%rax)
leaq -0x1b8(%rbp), %rdi
callq 0x5df00
leaq -0x1d0(%rbp), %rdi
callq 0x5df00
movq -0x10(%rbp), %rax
movq %rax, -0x348(%rbp)
leaq 0x9310f(%rip), %rsi     # 0x1a6593
leaq -0x200(%rbp), %rdi
callq 0x5c1f0
jmp 0x113492
movq -0x348(%rbp), %rdx
movq -0x2a8(%rbp), %rsi
leaq -0x1e8(%rbp), %rdi
leaq -0x200(%rbp), %rcx
callq 0x5a8d0
jmp 0x1134b5
leaq -0x1e8(%rbp), %rdi
callq 0x5adc0
movq %rax, -0x350(%rbp)
jmp 0x1134ca
movq -0x2a8(%rbp), %rax
movq -0x350(%rbp), %rcx
movl %ecx, 0x40(%rax)
leaq -0x1e8(%rbp), %rdi
callq 0x5df00
leaq -0x200(%rbp), %rdi
callq 0x5df00
movq -0x10(%rbp), %rax
movq %rax, -0x358(%rbp)
leaq 0x93098(%rip), %rsi     # 0x1a659d
leaq -0x230(%rbp), %rdi
callq 0x5c1f0
jmp 0x113513
movq -0x358(%rbp), %rdx
movq -0x2a8(%rbp), %rsi
leaq -0x218(%rbp), %rdi
leaq -0x230(%rbp), %rcx
callq 0x5a8d0
jmp 0x113536
leaq -0x218(%rbp), %rdi
callq 0x5adc0
movq %rax, -0x360(%rbp)
jmp 0x11354b
movq -0x2a8(%rbp), %rax
movq -0x360(%rbp), %rcx
movl %ecx, 0x44(%rax)
leaq -0x218(%rbp), %rdi
callq 0x5df00
leaq -0x230(%rbp), %rdi
callq 0x5df00
movq -0x10(%rbp), %rax
movq %rax, -0x368(%rbp)
leaq 0x9301c(%rip), %rsi     # 0x1a65a2
leaq -0x260(%rbp), %rdi
callq 0x5c1f0
jmp 0x113594
movq -0x368(%rbp), %rdx
movq -0x2a8(%rbp), %rsi
leaq -0x248(%rbp), %rdi
leaq -0x260(%rbp), %rcx
callq 0x5a8d0
jmp 0x1135b7
movq -0x2a8(%rbp), %rdi
addq $0x50, %rdi
leaq -0x248(%rbp), %rsi
callq 0x59760
jmp 0x1135d0
leaq -0x248(%rbp), %rdi
callq 0x5df00
leaq -0x260(%rbp), %rdi
callq 0x5df00
movq -0x10(%rbp), %rax
movq %rax, -0x370(%rbp)
leaq 0x92fb3(%rip), %rsi     # 0x1a65ad
leaq -0x290(%rbp), %rdi
callq 0x5c1f0
jmp 0x113608
movq -0x370(%rbp), %rdx
movq -0x2a8(%rbp), %rsi
leaq -0x278(%rbp), %rdi
leaq -0x290(%rbp), %rcx
callq 0x5a8d0
jmp 0x11362b
movq -0x2a8(%rbp), %rdi
addq $0x68, %rdi
leaq -0x278(%rbp), %rsi
callq 0x59760
jmp 0x113644
leaq -0x278(%rbp), %rdi
callq 0x5df00
leaq -0x290(%rbp), %rdi
callq 0x5df00
jmp 0x11399c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x1139bd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x1139b1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x1139a5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x1136b7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x5df00
leaq -0x50(%rbp), %rdi
callq 0x5df00
jmp 0x1139a5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x1136e8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0x68(%rbp), %rdi
callq 0x5df00
leaq -0x80(%rbp), %rdi
callq 0x5df00
jmp 0x1139a5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x11371c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0x98(%rbp), %rdi
callq 0x5df00
leaq -0xb0(%rbp), %rdi
callq 0x5df00
jmp 0x1139a5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x113753
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0xc8(%rbp), %rdi
callq 0x5df00
leaq -0xe0(%rbp), %rdi
callq 0x5df00
jmp 0x1139a5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x11378a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0xf8(%rbp), %rdi
callq 0x5df00
leaq -0x110(%rbp), %rdi
callq 0x5df00
jmp 0x1139a5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x1137c1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0x128(%rbp), %rdi
callq 0x5df00
leaq -0x140(%rbp), %rdi
callq 0x5df00
jmp 0x1139a5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x1137f8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0x158(%rbp), %rdi
callq 0x5df00
leaq -0x170(%rbp), %rdi
callq 0x5df00
jmp 0x1139a5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x11382f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0x188(%rbp), %rdi
callq 0x5df00
leaq -0x1a0(%rbp), %rdi
callq 0x5df00
jmp 0x1139a5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x113866
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0x1b8(%rbp), %rdi
callq 0x5df00
leaq -0x1d0(%rbp), %rdi
callq 0x5df00
jmp 0x1139a5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x11389d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0x1e8(%rbp), %rdi
callq 0x5df00
leaq -0x200(%rbp), %rdi
callq 0x5df00
jmp 0x1139a5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x1138d4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0x218(%rbp), %rdi
callq 0x5df00
leaq -0x230(%rbp), %rdi
callq 0x5df00
jmp 0x1139a5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x11390b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0x248(%rbp), %rdi
callq 0x5df00
leaq -0x260(%rbp), %rdi
callq 0x5df00
jmp 0x1139a5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x113942
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0x278(%rbp), %rdi
callq 0x5df00
leaq -0x290(%rbp), %rdi
callq 0x5df00
jmp 0x1139a5
movq -0x2a8(%rbp), %rax
movw $0x0, 0x20(%rax)
movl $0x0, 0x24(%rax)
movl $0x0, 0x28(%rax)
movl $0x0, 0x2c(%rax)
movl $0x0, 0x30(%rax)
movl $0x0, 0x34(%rax)
movl $0x0, 0x38(%rax)
movl $0x0, 0x3c(%rax)
movl $0x0, 0x40(%rax)
movl $0x0, 0x44(%rax)
addq $0x370, %rsp            # imm = 0x370
popq %rbp
retq
movq -0x2b8(%rbp), %rdi
callq 0x5df00
movq -0x298(%rbp), %rdi
callq 0x5df00
movq -0x2b0(%rbp), %rdi
callq 0x5df00
movq -0x18(%rbp), %rdi
callq 0x5b6b0
nopw %cs:(%rax,%rax)