	.file	"extr_eboot_command.c_crc_update.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	crc_update
	.type	crc_update, @function
crc_update:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, edi
	test	rdx, rdx
	je	.L2
	xor	r11d, r11d
	.p2align 4,,10
	.p2align 3
.L7:
	mov	r10d, DWORD PTR [rsi+r11*4]
	mov	r9d, 8
	mov	r8d, 128
	.p2align 4,,10
	.p2align 3
.L6:
	mov	ecx, eax
	not	ecx
	mov	edi, ecx
	mov	ecx, eax
	shr	edi, 31
	and	ecx, -2147483648
	test	r10d, r8d
	cmovne	ecx, edi
	add	eax, eax
	mov	edi, eax
	xor	edi, 79764919
	test	ecx, ecx
	cmovne	eax, edi
	sar	r8d
	sub	r9d, 1
	jne	.L6
	add	r11, 1
	cmp	r11, rdx
	jne	.L7
.L2:
	ret
	.cfi_endproc
.LFE0:
	.size	crc_update, .-crc_update
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_eboot_command.c_crc_update.c"
	.text
	.align	2
	.global	crc_update
	.syntax unified
	.arm
	.fpu softvfp
	.type	crc_update, %function
crc_update:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r2, #0
	bxeq	lr
	push	{r4, r5, lr}
	ldr	r4, .L21
	sub	r5, r2, #1
.L7:
	mov	r2, #8
	mov	r3, #128
	ldr	lr, [r1], #4
.L6:
	tst	lr, r3
	mvnne	ip, r0
	andeq	ip, r0, #-2147483648
	lsrne	ip, ip, #31
	cmp	ip, #0
	lsl	r0, r0, #1
	eorne	r0, r0, r4
	subs	r2, r2, #1
	asr	r3, r3, #1
	bne	.L6
	sub	r5, r5, #1
	cmn	r5, #1
	bne	.L7
	pop	{r4, r5, pc}
.L22:
	.align	2
.L21:
	.word	79764919
	.size	crc_update, .-crc_update
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
