	.file	"extr_cxacru.c_cxacru_cm_get_array.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"invalid data length from cm %#x: %d\n"
	.align 8
.LC1:
	.string	"wrong index %#x in response to cm %#x\n"
	.text
	.p2align 4
	.type	cxacru_cm_get_array, @function
cxacru_cm_get_array:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, ecx
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	eax, DWORD PTR CMD_PACKET_SIZE[rip]
	mov	DWORD PTR 28[rsp], esi
	test	eax, eax
	lea	r13d, 7[rax]
	mov	QWORD PTR 16[rsp], rdi
	cmovns	r13d, eax
	sar	r13d, 3
	lea	eax, -1[r13]
	mov	esi, eax
	mov	DWORD PTR 12[rsp], eax
	lea	eax, -1[rcx]
	cdq
	idiv	esi
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	lea	ebp, 1[rax+rcx*2]
	sal	ebp, 2
	mov	edi, ebp
	call	kmalloc@PLT
	mov	r14d, DWORD PTR ENOMEM[rip]
	neg	r14d
	test	rax, rax
	je	.L1
	mov	esi, DWORD PTR 28[rsp]
	mov	rdi, QWORD PTR 16[rsp]
	mov	r9d, ebp
	mov	r8, rax
	xor	ecx, ecx
	xor	edx, edx
	mov	r15, rax
	call	cxacru_cm@PLT
	mov	r14d, eax
	test	eax, eax
	js	.L4
	xor	ebp, ebp
	sar	r14d, 2
	mov	DWORD PTR 24[rsp], r14d
	je	.L13
.L5:
	movsx	r14, ebp
	lea	r13d, 1[rbp]
	mov	edi, DWORD PTR [r15+r14*4]
	call	le32_to_cpu@PLT
	mov	r9d, eax
	cmp	DWORD PTR 12[rsp], eax
	jl	.L6
	mov	ecx, DWORD PTR 24[rsp]
	sub	ecx, r13d
	mov	edx, ecx
	shr	edx, 31
	add	edx, ecx
	sar	edx
	cmp	edx, eax
	jl	.L6
	test	eax, eax
	je	.L26
	sub	eax, 1
	add	ebp, 3
	lea	rax, 5[r14+rax*2]
	movsx	r13, ebp
	mov	QWORD PTR [rsp], rax
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edi, DWORD PTR -4[r15+r13*4]
	movsx	rdx, eax
	mov	ebp, r13d
	add	r13, 2
	lea	r14, [r12+rdx*8]
	call	le32_to_cpu@PLT
	mov	QWORD PTR [r14], rax
	cmp	r13, QWORD PTR [rsp]
	je	.L8
.L12:
	mov	edi, DWORD PTR -8[r15+r13*4]
	call	le32_to_cpu@PLT
	cmp	ebx, eax
	jg	.L10
	mov	QWORD PTR [rsp], rax
	xor	eax, eax
	call	printk_ratelimit@PLT
	mov	rdx, QWORD PTR [rsp]
	test	rax, rax
	jne	.L27
.L11:
	mov	r14d, DWORD PTR EIO[rip]
	neg	r14d
.L4:
	mov	rdi, r15
	call	kfree@PLT
.L1:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r14d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L26:
	.cfi_restore_state
	mov	ebp, r13d
	.p2align 4,,10
	.p2align 3
.L8:
	cmp	DWORD PTR 24[rsp], ebp
	jg	.L5
.L13:
	xor	r14d, r14d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L27:
	mov	rax, QWORD PTR 16[rsp]
	mov	ecx, DWORD PTR 28[rsp]
	lea	rsi, .LC1[rip]
	mov	edi, DWORD PTR [rax]
	call	usb_err@PLT
	jmp	.L11
.L6:
	xor	eax, eax
	mov	DWORD PTR [rsp], r9d
	call	printk_ratelimit@PLT
	mov	r9d, DWORD PTR [rsp]
	test	rax, rax
	je	.L11
	mov	rax, QWORD PTR 16[rsp]
	mov	edx, DWORD PTR 28[rsp]
	mov	ecx, r9d
	lea	rsi, .LC0[rip]
	mov	edi, DWORD PTR [rax]
	call	usb_err@PLT
	jmp	.L11
	.cfi_endproc
.LFE0:
	.size	cxacru_cm_get_array, .-cxacru_cm_get_array
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EIO,4,4
	.comm	CMD_PACKET_SIZE,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_cxacru.c_cxacru_cm_get_array.c"
	.text
	.global	__aeabi_idiv
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"invalid data length from cm %#x: %d\012\000"
	.align	2
.LC1:
	.ascii	"wrong index %#x in response to cm %#x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cxacru_cm_get_array, %function
cxacru_cm_get_array:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, .L28
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r8, [ip]
	mov	r7, r3
	cmp	r8, #0
	mov	r3, r0
	add	r0, r8, #7
	movlt	r8, r0
	mov	fp, r1
	asr	r8, r8, #3
	sub	r8, r8, #1
	sub	sp, sp, #28
	mov	r1, r8
	sub	r0, r7, #1
	mov	r9, r2
	str	r3, [sp, #16]
	str	fp, [sp, #20]
	bl	__aeabi_idiv
	add	r4, r0, #1
	ldr	r3, .L28+4
	add	r4, r4, r7, lsl #1
	lsl	r4, r4, #2
	mov	r0, r4
	ldr	r1, [r3]
	bl	kmalloc
	subs	r10, r0, #0
	beq	.L26
	mov	r3, #0
	str	r4, [sp, #4]
	mov	r2, r3
	ldr	r1, [sp, #20]
	ldr	r0, [sp, #16]
	str	r10, [sp]
	bl	cxacru_cm
	subs	r4, r0, #0
	blt	.L4
	asrs	r3, r4, #2
	movne	r5, #0
	str	r3, [sp, #12]
	beq	.L13
.L5:
	ldr	r0, [r10, r5, lsl #2]
	bl	le32_to_cpu
	cmp	r8, r0
	add	r6, r5, #1
	mov	r4, r0
	add	r5, r10, r5, lsl #2
	blt	.L6
	ldr	r3, [sp, #12]
	sub	r3, r3, r6
	add	r3, r3, r3, lsr #31
	cmp	r0, r3, asr #1
	bgt	.L6
	cmp	r0, #0
	bne	.L12
	b	.L24
.L10:
	ldr	r0, [r5, #8]!
	bl	le32_to_cpu
	subs	r4, r4, #1
	add	r6, r6, #2
	str	r0, [r9, fp, lsl #2]
	beq	.L24
.L12:
	ldr	r0, [r5, #4]
	bl	le32_to_cpu
	cmp	r7, r0
	mov	fp, r0
	bgt	.L10
	bl	printk_ratelimit
	cmp	r0, #0
	bne	.L27
.L11:
	ldr	r3, .L28+8
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L4:
	mov	r0, r10
	bl	kfree
	mov	r0, r4
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L24:
	ldr	r3, [sp, #12]
	mov	r5, r6
	cmp	r3, r6
	bgt	.L5
.L13:
	mov	r4, #0
	b	.L4
.L26:
	ldr	r3, .L28+12
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L27:
	ldr	r1, [sp, #16]
	mov	r2, fp
	ldr	r3, [sp, #20]
	ldr	r0, [r1]
	ldr	r1, .L28+16
	bl	usb_err
	b	.L11
.L6:
	bl	printk_ratelimit
	cmp	r0, #0
	beq	.L11
	ldr	r1, [sp, #16]
	mov	r3, r4
	ldr	r2, [sp, #20]
	ldr	r0, [r1]
	ldr	r1, .L28+20
	bl	usb_err
	b	.L11
.L29:
	.align	2
.L28:
	.word	CMD_PACKET_SIZE
	.word	GFP_KERNEL
	.word	EIO
	.word	ENOMEM
	.word	.LC1
	.word	.LC0
	.size	cxacru_cm_get_array, .-cxacru_cm_get_array
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EIO,4,4
	.comm	CMD_PACKET_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
