	.file	"extr_control.c_snd_sof_bytes_get.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"error: data max %d exceeds ucontrol data array size\n"
	.align 8
.LC1:
	.string	"error: DSP sent %zu bytes max is %d\n"
	.text
	.p2align 4
	.globl	snd_sof_bytes_get
	.type	snd_sof_bytes_get, @function
snd_sof_bytes_get:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	rdx, QWORD PTR [rdi]
	mov	rax, rsi
	movsx	r8, DWORD PTR [rdx]
	mov	rsi, QWORD PTR 8[rdx]
	mov	rdi, QWORD PTR 8[rsi]
	cmp	r8d, 4
	ja	.L7
	mov	rdx, QWORD PTR [rsi]
	mov	rsi, QWORD PTR [rdx]
	movsx	rdx, DWORD PTR [rsi]
	add	rdx, 4
	cmp	rdx, r8
	ja	.L8
	mov	edi, DWORD PTR [rax]
	call	memcpy@PLT
	xor	eax, eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edi, DWORD PTR [rdi]
	mov	rcx, r8
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	dev_err_ratelimited@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	edi, DWORD PTR [rdi]
	mov	rdx, r8
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	dev_err_ratelimited@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	snd_sof_bytes_get, .-snd_sof_bytes_get
	.comm	EINVAL,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_control.c_snd_sof_bytes_get.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"error: data max %d exceeds ucontrol data array size"
	.ascii	"\012\000"
	.align	2
.LC1:
	.ascii	"error: DSP sent %zu bytes max is %d\012\000"
	.text
	.align	2
	.global	snd_sof_bytes_get
	.syntax unified
	.arm
	.fpu softvfp
	.type	snd_sof_bytes_get, %function
snd_sof_bytes_get:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r0]
	push	{r4, lr}
	ldr	r3, [r2]
	ldr	r2, [r2, #4]
	cmp	r3, #4
	ldr	lr, [r2, #4]
	bhi	.L7
	ldr	r2, [r2]
	mov	ip, r1
	ldr	r1, [r2]
	ldr	r0, [r1]
	add	r2, r0, #4
	cmp	r3, r2
	bcc	.L8
	ldr	r0, [ip]
	bl	memcpy
	mov	r0, #0
	pop	{r4, pc}
.L8:
	ldr	r0, [lr]
	ldr	r1, .L9
	bl	dev_err_ratelimited
	ldr	r3, .L9+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L7:
	mov	r2, r3
	ldr	r0, [lr]
	ldr	r1, .L9+8
	bl	dev_err_ratelimited
	ldr	r3, .L9+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L10:
	.align	2
.L9:
	.word	.LC1
	.word	EINVAL
	.word	.LC0
	.size	snd_sof_bytes_get, .-snd_sof_bytes_get
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
