	.file	"extr_applespi.c_applespi_verify_crc.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Received corrupted packet (crc mismatch)\n"
	.text
	.p2align 4
	.type	applespi_verify_crc, @function
applespi_verify_crc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	xor	edi, edi
	call	crc16@PLT
	mov	r8, rax
	mov	eax, 1
	test	r8, r8
	jne	.L8
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, QWORD PTR [rbx]
	lea	rsi, .LC0[rip]
	call	dev_warn_ratelimited@PLT
	mov	esi, DWORD PTR READ[rip]
	mov	rcx, r13
	mov	rdx, r12
	mov	edi, DWORD PTR ET_RD_CRC[rip]
	call	trace_applespi_bad_crc@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	applespi_verify_crc, .-applespi_verify_crc
	.comm	READ,4,4
	.comm	ET_RD_CRC,4,4
	.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_applespi.c_applespi_verify_crc.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Received corrupted packet (crc mismatch)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	applespi_verify_crc, %function
applespi_verify_crc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r0
	mov	r0, #0
	mov	r4, r1
	mov	r5, r2
	bl	crc16
	cmp	r0, #0
	bne	.L6
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L6:
	ldr	r0, [r6]
	ldr	r1, .L7
	bl	dev_warn_ratelimited
	ldr	r1, .L7+4
	ldr	r0, .L7+8
	mov	r3, r5
	mov	r2, r4
	ldr	r1, [r1]
	ldr	r0, [r0]
	bl	trace_applespi_bad_crc
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	READ
	.word	ET_RD_CRC
	.size	applespi_verify_crc, .-applespi_verify_crc
	.comm	READ,4,4
	.comm	ET_RD_CRC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
