// File: /workspace/github_c_makefile_star2_O0/phluid61[P]hsf/main.c
// Function: do_sh_bareitem
void do_sh_bareitem(SH_BareItem* obj) {
	SH_Item_type t;
	sh_char_t* s;
	void* x;

	int err = 0;

	t = SH_BareItem__type(obj, 0);
	printf("    - type =: %u\n", (unsigned int)t);

	x = (void*)SH_BareItem__get_integer(obj, &err);
	printf("    o get_integer: [%llX] 0x%08X\n", (long long)x, err);
	err = 0;

	x = (void*)SH_BareItem__get_decimal(obj, &err);
	printf("    o get_decimal: [%llX] 0x%08X\n", (long long)x, err);
	err = 0;

	x = (void*)SH_BareItem__get_string(obj, &err);
	printf("    o get_string: [%llX] 0x%08X\n", (long long)x, err);
	err = 0;

	x = (void*)SH_BareItem__get_token(obj, &err);
	printf("    o get_token: [%llX] 0x%08X\n", (long long)x, err);
	err = 0;

	x = (void*)SH_BareItem__get_bytesequence(obj, &err);
	printf("    o get_bytesequence: [%llX] 0x%08X\n", (long long)x, err);
	err = 0;

	x = (void*)SH_BareItem__get_boolean(obj, &err);
	printf("    o get_boolean: [%llX] 0x%08X\n", (long long)x, err);
	err = 0;

	s = SH_BareItem__to_s(obj, &err);
	if ((sh_char_t*)0 == s || err) {
		printf("    * unable to to_s: [%llX] 0x%08X\n", (long long)s, err);
	} else {
		printf("    - to_s =:\n");
		hexdump_string(s);
		free(s);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movl $0x0, -0x24(%rbp)
movq -0x8(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x50d0
movl %eax, -0xc(%rbp)
movl -0xc(%rbp), %esi
leaq 0x6e1f(%rip), %rdi      # 0x802c
movb $0x0, %al
callq 0x1050
movq -0x8(%rbp), %rdi
leaq -0x24(%rbp), %rsi
callq 0x5120
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rsi
movl -0x24(%rbp), %edx
leaq 0x6e0b(%rip), %rdi      # 0x803e
movb $0x0, %al
callq 0x1050
movl $0x0, -0x24(%rbp)
movq -0x8(%rbp), %rdi
leaq -0x24(%rbp), %rsi
callq 0x51a0
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rsi
movl -0x24(%rbp), %edx
leaq 0x6e00(%rip), %rdi      # 0x8060
movb $0x0, %al
callq 0x1050
movl $0x0, -0x24(%rbp)
movq -0x8(%rbp), %rdi
leaq -0x24(%rbp), %rsi
callq 0x5220
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rsi
movl -0x24(%rbp), %edx
leaq 0x6df5(%rip), %rdi      # 0x8082
movb $0x0, %al
callq 0x1050
movl $0x0, -0x24(%rbp)
movq -0x8(%rbp), %rdi
leaq -0x24(%rbp), %rsi
callq 0x52a0
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rsi
movl -0x24(%rbp), %edx
leaq 0x6de9(%rip), %rdi      # 0x80a3
movb $0x0, %al
callq 0x1050
movl $0x0, -0x24(%rbp)
movq -0x8(%rbp), %rdi
leaq -0x24(%rbp), %rsi
callq 0x5320
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rsi
movl -0x24(%rbp), %edx
leaq 0x6ddc(%rip), %rdi      # 0x80c3
movb $0x0, %al
callq 0x1050
movl $0x0, -0x24(%rbp)
movq -0x8(%rbp), %rdi
leaq -0x24(%rbp), %rsi
callq 0x53a0
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rsi
movl -0x24(%rbp), %edx
leaq 0x6dd6(%rip), %rdi      # 0x80ea
movb $0x0, %al
callq 0x1050
movl $0x0, -0x24(%rbp)
movq -0x8(%rbp), %rdi
leaq -0x24(%rbp), %rsi
callq 0x54a0
movq %rax, -0x18(%rbp)
xorl %eax, %eax
cmpq -0x18(%rbp), %rax
je 0x1341
cmpl $0x0, -0x24(%rbp)
je 0x1358
movq -0x18(%rbp), %rsi
movl -0x24(%rbp), %edx
leaq 0x6dbd(%rip), %rdi      # 0x810c
movb $0x0, %al
callq 0x1050
jmp 0x1378
leaq 0x6dd2(%rip), %rdi      # 0x8131
movb $0x0, %al
callq 0x1050
movq -0x18(%rbp), %rdi
callq 0x1380
movq -0x18(%rbp), %rdi
callq 0x1030
addq $0x30, %rsp
popq %rbp
retq
nop