	.file	"extr_rtw_security.c_getcrc32.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	getcrc32, @function
getcrc32:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	cmp	QWORD PTR bcrc32initialized[rip], 0
	je	.L9
	test	rbx, rbx
	jle	.L5
.L10:
	mov	rcx, QWORD PTR crc32_table[rip]
	xor	eax, eax
	mov	edi, -1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edx, DWORD PTR 0[rbp+rax*4]
	add	rax, 1
	xor	edx, edi
	sar	edi, 8
	movzx	edx, dl
	xor	edi, DWORD PTR [rcx+rdx*4]
	cmp	rbx, rax
	jne	.L4
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	not	edi
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	cpu_to_le32@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	xor	eax, eax
	call	crc32_init@PLT
	test	rbx, rbx
	jg	.L10
.L5:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	edi, edi
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	cpu_to_le32@PLT
	.cfi_endproc
.LFE0:
	.size	getcrc32, .-getcrc32
	.comm	crc32_table,8,8
	.comm	bcrc32initialized,8,8
	.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_rtw_security.c_getcrc32.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	getcrc32, %function
getcrc32:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L11
	push	{r4, r5, r6, lr}
	ldr	r3, [r3]
	mov	r5, r0
	cmp	r3, #0
	mov	r4, r1
	beq	.L9
	cmp	r4, #0
	ble	.L5
.L10:
	mvn	r2, #0
	ldr	r3, .L11+4
	ldr	r1, [r3]
.L4:
	ldr	r3, [r5], #4
	subs	r4, r4, #1
	eor	r3, r3, r2
	and	r3, r3, #255
	ldr	r3, [r1, r3, lsl #2]
	eor	r2, r3, r2, asr #8
	bne	.L4
	pop	{r4, r5, r6, lr}
	mvn	r0, r2
	b	cpu_to_le32
.L9:
	bl	crc32_init
	cmp	r4, #0
	bgt	.L10
.L5:
	pop	{r4, r5, r6, lr}
	mov	r0, #0
	b	cpu_to_le32
.L12:
	.align	2
.L11:
	.word	bcrc32initialized
	.word	crc32_table
	.size	getcrc32, .-getcrc32
	.comm	crc32_table,4,4
	.comm	bcrc32initialized,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
