// File: /workspace/github_c_makefile_star2_O2/phluid61[P]hsf/main.c
// Function: do_sh_list
void do_sh_list() {
	SH_List* list;

	SH_Boolean* obj;
	SH_BareItem* bi;
	SH_Item* item;

	int err = 0;

	list = SH_List__init(&err);
	if ((SH_List*)0 == list || err) {
		printf("* unable to init SH_List: [%llX] 0x%08X\n", (long long)list, err);
	} else {
		printf("+ init SH_List: [%llX]\n", (long long)list);

		_print_list(list);

		obj = SH_Boolean__init(SH_FALSE, &err);
		if ((SH_Boolean*)0 == obj || err) {
			printf("  * unable to create SH_Boolean: [%llX] 0x%08X\n", (long long)obj, err);
		} else {
			bi = SH_BareItem__init_boolean(obj, &err);
			if ((SH_BareItem*)0 == bi || err) {
				printf("  * unable to create SH_BareItem: [%llX] 0x%08X\n", (long long)bi, err);
			} else {
				item = SH_Item__init(bi, (SH_dict*)0, &err);
				if ((SH_Item*)0 == item || err) {
					printf("  * unable to create SH_Item: [%llX] 0x%08X\n", (long long)item, err);
				} else {
					SH_List__add(list, item, &err);
					if (err) {
						printf("  * unable to add: 0x%08X\n", err);
					} else {
						_print_list(list);
					}

					SH_List__add(list, item, &err);
					if (err) {
						printf("  * unable to add: 0x%08X\n", err);
					} else {
						_print_list(list);
					}

					SH_List__add(list, item, &err);
					if (err) {
						printf("  * unable to add: 0x%08X\n", err);
					} else {
						_print_list(list);
					}

					SH_Item__destroy(item, SH_FALSE, 0);
				}
				SH_BareItem__destroy(bi, SH_FALSE, 0);
			}
			SH_Boolean__destroy(obj, 0);
		}
		SH_List__destroy(list, SH_FALSE, 0);
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
leaq 0xc(%rsp), %r14
andl $0x0, (%r14)
movq %r14, %rdi
callq 0x46c0
movq %rax, %rbx
testq %rax, %rax
sete %al
movl (%r14), %edx
testl %edx, %edx
setne %cl
orb %al, %cl
cmpb $0x1, %cl
jne 0x234a
leaq 0x32fc(%rip), %rdi      # 0x5637
movq %rbx, %rsi
xorl %eax, %eax
callq 0x1060
jmp 0x24e7
leaq 0x330f(%rip), %rdi      # 0x5660
movq %rbx, %rsi
xorl %eax, %eax
callq 0x1060
movq %rbx, %rdi
callq 0x227f
leaq 0xc(%rsp), %r15
xorl %edi, %edi
movq %r15, %rsi
callq 0x3268
movq %rax, %r14
testq %rax, %rax
sete %al
movl (%r15), %edx
testl %edx, %edx
setne %cl
orb %al, %cl
cmpb $0x1, %cl
jne 0x23a0
leaq 0x32e7(%rip), %rdi      # 0x5678
movq %r14, %rsi
xorl %eax, %eax
callq 0x1060
jmp 0x24db
leaq 0xc(%rsp), %r12
movq %r14, %rdi
movq %r12, %rsi
callq 0x3834
movq %rax, %r15
testq %rax, %rax
sete %al
movl (%r12), %edx
testl %edx, %edx
setne %cl
orb %al, %cl
cmpb $0x1, %cl
jne 0x23df
leaq 0x32d8(%rip), %rdi      # 0x56a8
movq %r15, %rsi
xorl %eax, %eax
callq 0x1060
jmp 0x24d1
leaq 0xc(%rsp), %r13
movq %r15, %rdi
xorl %esi, %esi
movq %r13, %rdx
callq 0x3b84
movq %rax, %r12
testq %rax, %rax
sete %al
movl (%r13), %edx
testl %edx, %edx
setne %cl
orb %al, %cl
cmpb $0x1, %cl
jne 0x2420
leaq 0x32c8(%rip), %rdi      # 0x56d9
movq %r12, %rsi
xorl %eax, %eax
callq 0x1060
jmp 0x24c5
leaq 0xc(%rsp), %r13
movq %rbx, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x478a
movl (%r13), %esi
testl %esi, %esi
je 0x244b
leaq 0x32c4(%rip), %rdi      # 0x5706
xorl %eax, %eax
callq 0x1060
jmp 0x2453
movq %rbx, %rdi
callq 0x227f
leaq 0xc(%rsp), %r13
movq %rbx, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x478a
movl (%r13), %esi
testl %esi, %esi
je 0x247e
leaq 0x3291(%rip), %rdi      # 0x5706
xorl %eax, %eax
callq 0x1060
jmp 0x2486
movq %rbx, %rdi
callq 0x227f
leaq 0xc(%rsp), %r13
movq %rbx, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x478a
movl (%r13), %esi
testl %esi, %esi
je 0x24b1
leaq 0x325e(%rip), %rdi      # 0x5706
xorl %eax, %eax
callq 0x1060
jmp 0x24b9
movq %rbx, %rdi
callq 0x227f
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3c13
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x38c6
movq %r14, %rdi
xorl %esi, %esi
callq 0x32b4
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x46fd
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq