// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/classes/xml/xul/button.cpp
// Function: smooth::XML::XUL::Button::Button(smooth::XML::Node*)
S::XML::XUL::Button::Button(Node *node) : Widget(node)
{
	button = NIL;

	defaultWidth = 80;
	defaultHeight = 22;

	if (node != NIL)
	{
		button = new GUI::Button(GetXMLAttributeValue(node, "label"), GUI::Point(0, 0), GUI::Size(0, 0));

		if (GetXMLAttributeValue(node, "disabled") == "true") button->Deactivate();
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0xa0(%rbp)
movq -0x10(%rbp), %rsi
callq 0x5c180
movq -0xa0(%rbp), %rax
leaq 0xf542b(%rip), %rcx     # 0x2064e0
addq $0x10, %rcx
movq %rcx, (%rax)
movq $0x0, 0x80(%rax)
movl $0x50, 0x48(%rax)
movl $0x16, 0x4c(%rax)
cmpq $0x0, -0x10(%rbp)
je 0x1112c7
movl $0x5c8, %edi            # imm = 0x5C8
callq 0x59820
movq %rax, -0xa8(%rbp)
jmp 0x1110f3
movb $0x1, -0x61(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq 0x952a4(%rip), %rsi     # 0x1a63ad
leaq -0x50(%rbp), %rdi
callq 0x5c1f0
jmp 0x111114
movq -0xb0(%rbp), %rdx
movq -0xa0(%rbp), %rsi
leaq -0x38(%rbp), %rdi
leaq -0x50(%rbp), %rcx
callq 0x5a8d0
jmp 0x111131
leaq -0x58(%rbp), %rdi
xorl %edx, %edx
movl %edx, %esi
callq 0x5c2c0
jmp 0x111140
leaq -0x60(%rbp), %rdi
xorl %edx, %edx
movl %edx, %esi
callq 0x59260
jmp 0x11114f
movq -0xa8(%rbp), %rdi
leaq -0x38(%rbp), %rsi
leaq -0x58(%rbp), %rdx
leaq -0x60(%rbp), %rcx
callq 0x5ba60
jmp 0x111169
movq -0xa0(%rbp), %rax
movq -0xa8(%rbp), %rcx
movb $0x0, -0x61(%rbp)
movq %rcx, 0x80(%rax)
leaq -0x38(%rbp), %rdi
callq 0x5df00
leaq -0x50(%rbp), %rdi
callq 0x5df00
movq -0x10(%rbp), %rax
movq %rax, -0xb8(%rbp)
leaq 0x95257(%rip), %rsi     # 0x1a63fd
leaq -0x98(%rbp), %rdi
callq 0x5c1f0
jmp 0x1111b4
movq -0xb8(%rbp), %rdx
movq -0xa0(%rbp), %rsi
leaq -0x80(%rbp), %rdi
leaq -0x98(%rbp), %rcx
callq 0x5a8d0
jmp 0x1111d4
leaq 0x94f02(%rip), %rsi     # 0x1a60dd
leaq -0x80(%rbp), %rdi
callq 0x5c7f0
movb %al, -0xb9(%rbp)
jmp 0x1111ec
leaq -0x80(%rbp), %rdi
callq 0x5df00
leaq -0x98(%rbp), %rdi
callq 0x5df00
movb -0xb9(%rbp), %al
testb $0x1, %al
jne 0x111210
jmp 0x1112c5
movq -0xa0(%rbp), %rax
movq 0x80(%rax), %rdi
movq (%rdi), %rax
movq 0x70(%rax), %rax
callq *%rax
jmp 0x111229
jmp 0x1112c5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x1112d0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x111279
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x111270
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
testb $0x1, -0x61(%rbp)
jne 0x111281
jmp 0x111292
movq -0xa8(%rbp), %rdi
movl $0x5c8, %esi            # imm = 0x5C8
callq 0x595b0
jmp 0x1112d0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0x1112b7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
leaq -0x80(%rbp), %rdi
callq 0x5df00
leaq -0x98(%rbp), %rdi
callq 0x5df00
jmp 0x1112d0
jmp 0x1112c7
addq $0xc0, %rsp
popq %rbp
retq
movq -0xa0(%rbp), %rdi
callq 0x5dd00
movq -0x18(%rbp), %rdi
callq 0x5b6b0
nopw %cs:(%rax,%rax)