// File: /workspace/github_c_makefile_star2_O0/ryo[P]shmqueue/shmqueue.c
// Function: shmqueue_dumpall
void
shmqueue_dumpall(struct shmqueue *shmq_header)
{
	struct shmqueue_header *header;
	struct shmqueue_item *item;
	int i;

	header = shmq_header->header;


	printf("======== FREELIST ========\n");
	RTAILQ_DUMP_HEAD(&header->sha_freelist, shmqueue_item, "");
	for (item = RTAILQ_FIRST(&header->sha_freelist, shmqueue_item);
	    item != NULL;
	    item = RTAILQ_NEXT(item, &header->sha_freelist, shmqueue_item, shi_list)) {

		RTAILQ_DUMP(item, &header->sha_freelist, shmqueue_item, shi_list, "");
	}

	printf("======== LRULIST ========\n");
	RTAILQ_DUMP_HEAD(&header->sha_lrulist, shmqueue_item, "");
	for (item = RTAILQ_FIRST(&header->sha_lrulist, shmqueue_item);
	    item != NULL;
	    item = RTAILQ_NEXT(item, &header->sha_lrulist, shmqueue_item, shi_list)) {

		RTAILQ_DUMP(item, &header->sha_lrulist, shmqueue_item, shi_list, "");
		shmqueue_dumpitem(item);
	}

	printf("======== HASHLIST ========\n");
	for (i = 0; i < header->sha_hashnum; i++) {
		if (RTAILQ_EMPTY(&header->sha_hashlist[i]))
			continue;

		printf("    ======== HASHLIST[%d] ========\n", i);
		RTAILQ_DUMP_HEAD(&header->sha_hashlist[i], shmqueue_item, "    ");
		for (item = RTAILQ_FIRST(&header->sha_hashlist[i], shmqueue_item);
		    item != NULL;
		    item = RTAILQ_NEXT(item, &header->sha_hashlist[i], shmqueue_item, shi_hashlist)) {

			RTAILQ_DUMP(item, &header->sha_hashlist[i], shmqueue_item, shi_hashlist, "    ");
			shmqueue_dumpitem(item);
		}
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x10(%rbp)
leaq 0x2c3e(%rip), %rdi      # 0x410c
movb $0x0, %al
callq 0x1050
movq -0x10(%rbp), %rsi
leaq 0x2ca7(%rip), %rdi      # 0x4187
movb $0x0, %al
callq 0x1050
movq -0x10(%rbp), %rax
movq (%rax), %rsi
movq -0x10(%rbp), %rax
movq (%rax), %rdx
movq -0x10(%rbp), %rax
addq %rax, %rdx
leaq 0x2c93(%rip), %rdi      # 0x4196
movb $0x0, %al
callq 0x1050
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rsi
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rdx
movq -0x10(%rbp), %rax
addq %rax, %rdx
leaq 0x2c96(%rip), %rdi      # 0x41be
movb $0x0, %al
callq 0x1050
movq -0x10(%rbp), %rax
cmpq $0x0, (%rax)
jne 0x1541
xorl %eax, %eax
movq %rax, -0x28(%rbp)
jmp 0x1553
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq -0x10(%rbp), %rcx
addq %rcx, %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x15f5
jmp 0x1568
movq -0x18(%rbp), %rsi
leaq 0x2c72(%rip), %rdi      # 0x41e5
movb $0x0, %al
callq 0x1050
movq -0x18(%rbp), %rax
movq (%rax), %rsi
movq -0x18(%rbp), %rax
movq (%rax), %rdx
movq -0x10(%rbp), %rax
addq %rax, %rdx
leaq 0x2c5d(%rip), %rdi      # 0x41f3
movb $0x0, %al
callq 0x1050
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rsi
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rdx
movq -0x10(%rbp), %rax
addq %rax, %rdx
leaq 0x2c5e(%rip), %rdi      # 0x4219
movb $0x0, %al
callq 0x1050
jmp 0x15c4
movq -0x18(%rbp), %rax
cmpq $0x0, (%rax)
jne 0x15d6
xorl %eax, %eax
movq %rax, -0x30(%rbp)
jmp 0x15e8
movq -0x18(%rbp), %rax
movq (%rax), %rax
movq -0x10(%rbp), %rcx
addq %rcx, %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x18(%rbp)
jmp 0x155b
leaq 0x2b2c(%rip), %rdi      # 0x4128
movb $0x0, %al
callq 0x1050
movq -0x10(%rbp), %rsi
addq $0x10, %rsi
leaq 0x2b75(%rip), %rdi      # 0x4187
movb $0x0, %al
callq 0x1050
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rsi
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rdx
movq -0x10(%rbp), %rax
addq $0x10, %rax
addq %rax, %rdx
leaq 0x2b5b(%rip), %rdi      # 0x4196
movb $0x0, %al
callq 0x1050
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rsi
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rdx
movq -0x10(%rbp), %rax
addq $0x10, %rax
addq %rax, %rdx
leaq 0x2b5a(%rip), %rdi      # 0x41be
movb $0x0, %al
callq 0x1050
movq -0x10(%rbp), %rax
cmpq $0x0, 0x10(%rax)
jne 0x167e
xorl %eax, %eax
movq %rax, -0x38(%rbp)
jmp 0x1695
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x10(%rbp), %rcx
addq $0x10, %rcx
addq %rcx, %rax
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x174a
jmp 0x16aa
movq -0x18(%rbp), %rsi
leaq 0x2b30(%rip), %rdi      # 0x41e5
movb $0x0, %al
callq 0x1050
movq -0x18(%rbp), %rax
movq (%rax), %rsi
movq -0x18(%rbp), %rax
movq (%rax), %rdx
movq -0x10(%rbp), %rax
addq $0x10, %rax
addq %rax, %rdx
leaq 0x2b17(%rip), %rdi      # 0x41f3
movb $0x0, %al
callq 0x1050
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rsi
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rdx
movq -0x10(%rbp), %rax
addq $0x10, %rax
addq %rax, %rdx
leaq 0x2b14(%rip), %rdi      # 0x4219
movb $0x0, %al
callq 0x1050
movq -0x18(%rbp), %rdi
callq 0x1390
movq -0x18(%rbp), %rax
cmpq $0x0, (%rax)
jne 0x1727
xorl %eax, %eax
movq %rax, -0x40(%rbp)
jmp 0x173d
movq -0x18(%rbp), %rax
movq (%rax), %rax
movq -0x10(%rbp), %rcx
addq $0x10, %rcx
addq %rcx, %rax
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x18(%rbp)
jmp 0x169d
leaq 0x29f2(%rip), %rdi      # 0x4143
movb $0x0, %al
callq 0x1050
movl $0x0, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
movq -0x10(%rbp), %rcx
cmpl 0x28(%rcx), %eax
jae 0x19bb
movq -0x10(%rbp), %rax
addq $0x150, %rax            # imm = 0x150
movslq -0x1c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
cmpq $0x0, (%rax)
jne 0x178f
jmp 0x19ad
movl -0x1c(%rbp), %esi
leaq 0x29c6(%rip), %rdi      # 0x415f
movb $0x0, %al
callq 0x1050
movq -0x10(%rbp), %rsi
addq $0x150, %rsi            # imm = 0x150
movslq -0x1c(%rbp), %rax
shlq $0x4, %rax
addq %rax, %rsi
leaq 0x29c6(%rip), %rdi      # 0x4183
movb $0x0, %al
callq 0x1050
movq -0x10(%rbp), %rax
addq $0x150, %rax            # imm = 0x150
movslq -0x1c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq (%rax), %rsi
movq -0x10(%rbp), %rax
addq $0x150, %rax            # imm = 0x150
movslq -0x1c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq (%rax), %rdx
movq -0x10(%rbp), %rax
addq $0x150, %rax            # imm = 0x150
movslq -0x1c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
addq %rax, %rdx
leaq 0x297f(%rip), %rdi      # 0x4192
movb $0x0, %al
callq 0x1050
movq -0x10(%rbp), %rax
addq $0x150, %rax            # imm = 0x150
movslq -0x1c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
movq -0x10(%rbp), %rax
addq $0x150, %rax            # imm = 0x150
movslq -0x1c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rdx
movq -0x10(%rbp), %rax
addq $0x150, %rax            # imm = 0x150
movslq -0x1c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
addq %rax, %rdx
leaq 0x294f(%rip), %rdi      # 0x41ba
movb $0x0, %al
callq 0x1050
movq -0x10(%rbp), %rax
addq $0x150, %rax            # imm = 0x150
movslq -0x1c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
cmpq $0x0, (%rax)
jne 0x1895
xorl %eax, %eax
movq %rax, -0x48(%rbp)
jmp 0x18ca
movq -0x10(%rbp), %rax
addq $0x150, %rax            # imm = 0x150
movslq -0x1c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq (%rax), %rax
movq -0x10(%rbp), %rcx
addq $0x150, %rcx            # imm = 0x150
movslq -0x1c(%rbp), %rdx
shlq $0x4, %rdx
addq %rdx, %rcx
addq %rcx, %rax
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x19ab
jmp 0x18df
movq -0x18(%rbp), %rsi
leaq 0x28f7(%rip), %rdi      # 0x41e1
movb $0x0, %al
callq 0x1050
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rsi
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rdx
movq -0x10(%rbp), %rax
addq $0x150, %rax            # imm = 0x150
movslq -0x1c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
addq %rax, %rdx
leaq 0x28cf(%rip), %rdi      # 0x41ef
movb $0x0, %al
callq 0x1050
movq -0x18(%rbp), %rax
movq 0x18(%rax), %rsi
movq -0x18(%rbp), %rax
movq 0x18(%rax), %rdx
movq -0x10(%rbp), %rax
addq $0x150, %rax            # imm = 0x150
movslq -0x1c(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
addq %rax, %rdx
leaq 0x28bf(%rip), %rdi      # 0x4215
movb $0x0, %al
callq 0x1050
movq -0x18(%rbp), %rdi
callq 0x1390
movq -0x18(%rbp), %rax
cmpq $0x0, 0x10(%rax)
jne 0x1979
xorl %eax, %eax
movq %rax, -0x50(%rbp)
jmp 0x199e
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x10(%rbp), %rcx
addq $0x150, %rcx            # imm = 0x150
movslq -0x1c(%rbp), %rdx
shlq $0x4, %rdx
addq %rdx, %rcx
addq %rcx, %rax
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x18(%rbp)
jmp 0x18d2
jmp 0x19ad
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x175f
addq $0x50, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)