// File: /workspace/github_c_makefile_star2_O2/Tarsnap[P]kivaloo/liball/../libcperciva/alg/crc32c.c
// Function: CRC32C_Init
void
CRC32C_Init(CRC32C_CTX * ctx)
{
	static int initdone = 0;

	/* Initialize tables. */
	if (initdone == 0) {
		init();
		initdone = 1;
	}

	/* Set state to the CRC of the implicit leading 1 bit. */
	ctx->state = T_0_0x80;

#ifdef HWACCEL
	/* Ensure that we've chosen the type of hardware acceleration. */
	hwaccel_init();
#endif
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
cmpb $0x0, 0x38bfe(%rip)     # 0x3f6c0
jne 0x6c3d
movq %rdi, (%rsp)
xorl %r14d, %r14d
movl $0xf0f0f0f, %ebp        # imm = 0xF0F0F0F
movl $0x33333333, %r15d      # imm = 0x33333333
movl $0x55555555, %r12d      # imm = 0x55555555
leaq 0x397e9(%rip), %rbx     # 0x402d0
xorl %r13d, %r13d
cmpq $0x100, %r13            # imm = 0x100
je 0x6c22
movl %r13d, %eax
bswapl %eax
movl %eax, %ecx
shrl $0x4, %ecx
andl %ebp, %ecx
andl %ebp, %eax
shll $0x4, %eax
orl %ecx, %eax
movl %eax, %ecx
andl %r15d, %ecx
shrl $0x2, %eax
andl %r15d, %eax
leal (%rax,%rcx,4), %eax
movl %eax, %ecx
andl %r12d, %ecx
shrl %eax
andl %r12d, %eax
leal (%rax,%rcx,2), %edi
callq 0x6dc8
movl %eax, %ecx
bswapl %ecx
movl %ecx, %edx
shrl $0x4, %edx
andl %ebp, %edx
andl %ebp, %ecx
shll $0x4, %ecx
orl %edx, %ecx
movl %ecx, %edx
andl %r15d, %edx
shrl $0x2, %ecx
andl %r15d, %ecx
leal (%rcx,%rdx,4), %ecx
movl %ecx, %edx
andl %r12d, %edx
shrl %ecx
andl %r12d, %ecx
leal (%rcx,%rdx,2), %ecx
leaq 0x38b72(%rip), %rdx     # 0x3f6d0
movl %ecx, (%r14,%rdx)
movl %eax, %edi
callq 0x6dc8
movl %eax, %ecx
bswapl %ecx
movl %ecx, %edx
shrl $0x4, %edx
andl %ebp, %edx
andl %ebp, %ecx
shll $0x4, %ecx
orl %edx, %ecx
movl %ecx, %edx
andl %r15d, %edx
shrl $0x2, %ecx
andl %r15d, %ecx
leal (%rcx,%rdx,4), %ecx
movl %ecx, %edx
andl %r12d, %edx
shrl %ecx
andl %r12d, %ecx
leal (%rcx,%rdx,2), %ecx
leaq 0x38f33(%rip), %rdx     # 0x3fad0
movl %ecx, (%r14,%rdx)
movl %eax, %edi
callq 0x6dc8
movl %eax, %ecx
bswapl %ecx
movl %ecx, %edx
shrl $0x4, %edx
andl %ebp, %edx
andl %ebp, %ecx
shll $0x4, %ecx
orl %edx, %ecx
movl %ecx, %edx
andl %r15d, %edx
shrl $0x2, %ecx
andl %r15d, %ecx
leal (%rcx,%rdx,4), %ecx
movl %ecx, %edx
andl %r12d, %edx
shrl %ecx
andl %r12d, %ecx
leal (%rcx,%rdx,2), %ecx
leaq 0x392f4(%rip), %rdx     # 0x3fed0
movl %ecx, (%r14,%rdx)
movl %eax, %edi
callq 0x6dc8
bswapl %eax
movl %eax, %ecx
shrl $0x4, %ecx
andl %ebp, %ecx
andl %ebp, %eax
shll $0x4, %eax
orl %ecx, %eax
movl %eax, %ecx
andl %r15d, %ecx
shrl $0x2, %eax
andl %r15d, %eax
leal (%rax,%rcx,4), %eax
movl %eax, %ecx
andl %r12d, %ecx
shrl %eax
andl %r12d, %eax
leal (%rax,%rcx,2), %eax
movl %eax, (%r14,%rbx)
incq %r13
addq $0x4, %r14
jmp 0x6aea
cmpl $0x82f63b78, 0x38ca4(%rip) # imm = 0x82F63B78
jne 0x6ccc
movb $0x1, 0x38a87(%rip)     # 0x3f6c0
movq (%rsp), %rdi
movl $0x82f63b78, (%rdi)     # imm = 0x82F63B78
cmpl $0x2, 0x8906(%rip)      # 0xf550
jne 0x6cbd
andl $0x0, 0x88fd(%rip)      # 0xf550
leaq 0x39a76(%rip), %rbx     # 0x406d0
cmpl $0x0, (%rbx)
je 0x6c86
leaq 0x323a(%rip), %rsi      # 0x9ea0
pushq $0xb
popq %rdx
movl $0x82f63b78, %edi       # imm = 0x82F63B78
callq 0x6de8
cmpl $0xaa0b13ca, %eax       # imm = 0xAA0B13CA
jne 0x6ca7
movl $0x1, 0x88cc(%rip)      # 0xf550
jmp 0x6cbd
leaq 0x39a47(%rip), %r14     # 0x406d4
cmpl $0x0, (%r14)
jne 0x6cbd
callq 0x6eb4
movl %eax, (%rbx)
movl $0x1, (%r14)
testl %eax, %eax
jne 0x6c5f
jmp 0x6cbd
leaq 0x31c3(%rip), %rdi      # 0x9e71
xorl %eax, %eax
callq 0x4be4
callq 0x2090
andl $0x0, (%rax)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x315d(%rip), %rdi      # 0x9e30
leaq 0x316b(%rip), %rsi      # 0x9e45
leaq 0x3180(%rip), %rcx      # 0x9e61
pushq $0x61
popq %rdx
callq 0x2180