	.file	"extr_mac.c_ath10k_mac_remove_vendor_ie.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ath10k_mac_remove_vendor_ie, @function
ath10k_mac_remove_vendor_ie:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	cmp	QWORD PTR [rdi], rcx
	mov	rbx, rcx
	setb	dil
	movzx	edi, dil
	call	WARN_ON@PLT
	test	rax, rax
	je	.L2
.L7:
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rcx, QWORD PTR 0[rbp]
	mov	rax, QWORD PTR 8[rbp]
	mov	edi, r12d
	mov	esi, r13d
	sub	rcx, rbx
	lea	rdx, [rax+rbx*4]
	call	cfg80211_find_vendor_ie@PLT
	mov	r12, rax
	test	rax, rax
	jne	.L4
	mov	eax, DWORD PTR ENOENT[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	eax, DWORD PTR 4[rax]
	mov	rdx, QWORD PTR 0[rbp]
	xor	edi, edi
	lea	r13d, 2[rax]
	mov	rax, QWORD PTR 8[rbp]
	movsx	r13, r13d
	lea	rbx, [rax+rdx*4]
	lea	r14, [r12+r13*4]
	cmp	rbx, r14
	setb	dil
	call	WARN_ON@PLT
	test	rax, rax
	jne	.L7
	sub	rbx, r14
	mov	rsi, r14
	mov	rdi, r12
	mov	rdx, rbx
	sar	rdx, 2
	call	memmove@PLT
	mov	rsi, QWORD PTR 0[rbp]
	mov	rdi, rbp
	sub	rsi, r13
	call	skb_trim@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ath10k_mac_remove_vendor_ie, .-ath10k_mac_remove_vendor_ie
	.comm	ENOENT,4,4
	.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_mac.c_ath10k_mac_remove_vendor_ie.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ath10k_mac_remove_vendor_ie, %function
ath10k_mac_remove_vendor_ie:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	ldr	r0, [r0]
	mov	r5, r3
	cmp	r0, r3
	movcs	r0, #0
	movcc	r0, #1
	mov	r7, r1
	mov	r6, r2
	bl	WARN_ON
	cmp	r0, #0
	beq	.L2
.L7:
	ldr	r3, .L9
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	ldr	r3, [r4]
	ldr	r2, [r4, #4]
	mov	r1, r6
	mov	r0, r7
	sub	r3, r3, r5
	add	r2, r2, r5, lsl #2
	bl	cfg80211_find_vendor_ie
	subs	r6, r0, #0
	bne	.L4
	ldr	r3, .L9+4
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L4:
	ldr	r8, [r6, #4]
	ldm	r4, {r2, r7}
	add	r8, r8, #2
	add	r7, r7, r2, lsl #2
	add	r9, r6, r8, lsl #2
	cmp	r7, r9
	movcs	r0, #0
	movcc	r0, #1
	bl	WARN_ON
	subs	r5, r0, #0
	bne	.L7
	sub	r2, r7, r9
	mov	r1, r9
	asr	r2, r2, #2
	mov	r0, r6
	bl	memmove
	ldr	r1, [r4]
	mov	r0, r4
	sub	r1, r1, r8
	bl	skb_trim
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L10:
	.align	2
.L9:
	.word	EINVAL
	.word	ENOENT
	.size	ath10k_mac_remove_vendor_ie, .-ath10k_mac_remove_vendor_ie
	.comm	ENOENT,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
