	.file	"extr_patch_ca0132.c_dspio_get_response_data.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dspio_get_response_data, @function
dspio_get_response_data:
.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
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rbx, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	rsi, 4[rsp]
	mov	DWORD PTR 4[rsp], 0
	call	dspio_read@PLT
	test	rax, rax
	js	.L4
	mov	eax, DWORD PTR 4[rsp]
	mov	edx, eax
	and	edx, 16777215
	cmp	edx, DWORD PTR [rbx]
	je	.L8
.L4:
	mov	eax, DWORD PTR EIO[rip]
	neg	eax
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L9
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	DWORD PTR 4[rbx], eax
	shr	eax, 27
	mov	ecx, DWORD PTR 12[rbx]
	lea	rdx, 8[rbx]
	mov	DWORD PTR 8[rbx], eax
	mov	esi, DWORD PTR 16[rbx]
	mov	rdi, rbp
	call	dspio_read_multiple@PLT
	xor	eax, eax
	jmp	.L1
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	dspio_get_response_data, .-dspio_get_response_data
	.comm	EIO,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_patch_ca0132.c_dspio_get_response_data.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dspio_get_response_data, %function
dspio_get_response_data:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, #0
	sub	sp, sp, #8
	ldr	r3, .L10
	mov	r1, sp
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r5, r0
	ldr	r6, [r0]
	str	r4, [sp]
	bl	dspio_read
	cmp	r0, r4
	blt	.L4
	ldr	r3, [sp]
	ldr	r2, [r6]
	bic	r1, r3, #-16777216
	cmp	r1, r2
	beq	.L8
.L4:
	ldr	r3, .L10+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L1:
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L8:
	lsr	r2, r3, #27
	str	r3, [r6, #4]
	str	r2, [r6, #8]
	mov	r0, r5
	ldr	r3, [r6, #12]
	ldr	r1, [r6, #16]
	add	r2, r6, #8
	bl	dspio_read_multiple
	mov	r0, r4
	b	.L1
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	EIO
	.size	dspio_get_response_data, .-dspio_get_response_data
	.comm	EIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
