// File: /workspace/github_c_makefile_star2_O2/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 %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r12
movq %rdi, %r13
movq 0xb115e(%rip), %rax     # 0x161b80
addq $0x10, %rax
movq %rax, (%rdi)
leaq 0x8(%rdi), %rbx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x5a180
leaq 0x50(%r13), %r14
movq %r14, %rdi
xorl %esi, %esi
callq 0x5a180
leaq 0x68(%r13), %r15
movq %r15, %rdi
xorl %esi, %esi
callq 0x5a180
movabsq $0x1400000064, %rax     # imm = 0x1400000064
movq %rax, 0x48(%r13)
testq %r12, %r12
je 0xb0da7
leaq 0x53127(%rip), %rsi     # 0x103b98
movq %rsp, %rdi
callq 0x58c40
leaq 0x18(%rsp), %rdi
movq %rsp, %rcx
movq %r12, %rdx
callq 0x57590
leaq 0x18(%rsp), %rsi
movq %rbx, %rdi
callq 0x56630
leaq 0x18(%rsp), %rdi
callq 0x5a588
movq %rsp, %rdi
callq 0x5a588
leaq 0x520ac(%rip), %rsi     # 0x102b5b
movq %rsp, %rdi
callq 0x58c40
leaq 0x18(%rsp), %rdi
movq %rsp, %rcx
movq %r12, %rdx
callq 0x57590
leaq 0x52094(%rip), %rsi     # 0x102b62
leaq 0x18(%rsp), %rdi
callq 0x59180
movzbl %al, %eax
movw %ax, 0x20(%r13)
leaq 0x18(%rsp), %rdi
callq 0x5a588
movq %rsp, %rdi
callq 0x5a588
leaq 0x6968b(%rip), %rsi     # 0x11a184
movq %rsp, %rdi
callq 0x58c40
leaq 0x18(%rsp), %rdi
movq %rsp, %rcx
movq %r12, %rdx
callq 0x57590
leaq 0x18(%rsp), %rdi
callq 0x57a10
movl %eax, 0x24(%r13)
leaq 0x18(%rsp), %rdi
callq 0x5a588
movq %rsp, %rdi
callq 0x5a588
leaq 0x51b1b(%rip), %rsi     # 0x102653
movq %rsp, %rdi
callq 0x58c40
leaq 0x18(%rsp), %rdi
movq %rsp, %rcx
movq %r12, %rdx
callq 0x57590
leaq 0x18(%rsp), %rdi
callq 0x57a10
movl %eax, 0x28(%r13)
leaq 0x18(%rsp), %rdi
callq 0x5a588
movq %rsp, %rdi
callq 0x5a588
leaq 0x67fb3(%rip), %rsi     # 0x118b2a
movq %rsp, %rdi
callq 0x58c40
leaq 0x18(%rsp), %rdi
movq %rsp, %rcx
movq %r12, %rdx
callq 0x57590
leaq 0x18(%rsp), %rdi
callq 0x57a10
movl %eax, 0x2c(%r13)
leaq 0x18(%rsp), %rdi
callq 0x5a588
movq %rsp, %rdi
callq 0x5a588
leaq 0x6d43d(%rip), %rsi     # 0x11dff3
movq %rsp, %rdi
callq 0x58c40
leaq 0x18(%rsp), %rdi
movq %rsp, %rcx
movq %r12, %rdx
callq 0x57590
leaq 0x18(%rsp), %rdi
callq 0x57a10
movl %eax, 0x30(%r13)
leaq 0x18(%rsp), %rdi
callq 0x5a588
movq %rsp, %rdi
callq 0x5a588
leaq 0x51f76(%rip), %rsi     # 0x102b6b
movq %rsp, %rdi
callq 0x58c40
leaq 0x18(%rsp), %rdi
movq %rsp, %rcx
movq %r12, %rdx
callq 0x57590
leaq 0x18(%rsp), %rdi
callq 0x57a10
movl %eax, 0x34(%r13)
leaq 0x18(%rsp), %rdi
callq 0x5a588
movq %rsp, %rdi
callq 0x5a588
leaq 0x51f40(%rip), %rsi     # 0x102b74
movq %rsp, %rdi
callq 0x58c40
leaq 0x18(%rsp), %rdi
movq %rsp, %rcx
movq %r12, %rdx
callq 0x57590
leaq 0x18(%rsp), %rdi
callq 0x57a10
movl %eax, 0x38(%r13)
leaq 0x18(%rsp), %rdi
callq 0x5a588
movq %rsp, %rdi
callq 0x5a588
leaq 0x51f0b(%rip), %rsi     # 0x102b7e
movq %rsp, %rdi
callq 0x58c40
leaq 0x18(%rsp), %rdi
movq %rsp, %rcx
movq %r12, %rdx
callq 0x57590
leaq 0x18(%rsp), %rdi
callq 0x57a10
movl %eax, 0x3c(%r13)
leaq 0x18(%rsp), %rdi
callq 0x5a588
movq %rsp, %rdi
callq 0x5a588
leaq 0x51ed5(%rip), %rsi     # 0x102b87
movq %rsp, %rdi
callq 0x58c40
leaq 0x18(%rsp), %rdi
movq %rsp, %rcx
movq %r12, %rdx
callq 0x57590
leaq 0x18(%rsp), %rdi
callq 0x57a10
movl %eax, 0x40(%r13)
leaq 0x18(%rsp), %rdi
callq 0x5a588
movq %rsp, %rdi
callq 0x5a588
leaq 0x51ea0(%rip), %rsi     # 0x102b91
movq %rsp, %rdi
callq 0x58c40
leaq 0x18(%rsp), %rdi
movq %rsp, %rcx
movq %r12, %rdx
callq 0x57590
leaq 0x18(%rsp), %rdi
callq 0x57a10
movl %eax, 0x44(%r13)
leaq 0x18(%rsp), %rdi
callq 0x5a588
movq %rsp, %rdi
callq 0x5a588
leaq 0x51e66(%rip), %rsi     # 0x102b96
movq %rsp, %rdi
callq 0x58c40
leaq 0x18(%rsp), %rdi
movq %rsp, %rcx
movq %r12, %rdx
callq 0x57590
leaq 0x18(%rsp), %rsi
movq %r14, %rdi
callq 0x56630
leaq 0x18(%rsp), %rdi
callq 0x5a588
movq %rsp, %rdi
callq 0x5a588
leaq 0x51e33(%rip), %rsi     # 0x102ba1
movq %rsp, %rdi
callq 0x58c40
leaq 0x18(%rsp), %rdi
movq %rsp, %rcx
movq %r12, %rdx
callq 0x57590
leaq 0x18(%rsp), %rsi
movq %r15, %rdi
callq 0x56630
leaq 0x18(%rsp), %rdi
callq 0x5a588
movq %rsp, %rdi
callq 0x5a588
jmp 0xb0dbf
andw $0x0, 0x20(%r13)
xorps %xmm0, %xmm0
movups %xmm0, 0x24(%r13)
movups %xmm0, 0x34(%r13)
andl $0x0, 0x44(%r13)
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0xb0e15
jmp 0xb0e24
jmp 0xb0e31
jmp 0xb0e15
jmp 0xb0e24
jmp 0xb0e31
jmp 0xb0e15
jmp 0xb0e24
jmp 0xb0e31
jmp 0xb0e15
jmp 0xb0e24
jmp 0xb0e31
jmp 0xb0e15
jmp 0xb0e24
jmp 0xb0e31
jmp 0xb0e15
jmp 0xb0e24
jmp 0xb0e31
jmp 0xb0e15
jmp 0xb0e24
jmp 0xb0e31
jmp 0xb0e15
jmp 0xb0e24
jmp 0xb0e31
jmp 0xb0e15
jmp 0xb0e24
jmp 0xb0e31
jmp 0xb0e15
jmp 0xb0e24
jmp 0xb0e31
jmp 0xb0e15
jmp 0xb0e24
jmp 0xb0e31
jmp 0xb0e15
jmp 0xb0e24
jmp 0xb0e31
movq %rax, %r12
leaq 0x18(%rsp), %rdi
callq 0x5a588
jmp 0xb0e27
movq %rax, %r12
movq %rsp, %rdi
callq 0x5a588
jmp 0xb0e34
movq %rax, %r12
movq %r15, %rdi
callq 0x5a588
movq %r14, %rdi
callq 0x5a588
movq %rbx, %rdi
callq 0x5a588
movq %r12, %rdi
callq 0x58260
movq %rax, %r12
jmp 0xb0e3c
movq %rax, %r12
jmp 0xb0e44