	.file	"extr_cfg80211.c_wil_cfg80211_validate_change_iface.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	wil_cfg80211_validate_change_iface, @function
wil_cfg80211_validate_change_iface:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pxor	xmm0, xmm0
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	xor	r13d, r13d
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	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
	xor	ebx, ebx
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	movaps	XMMWORD PTR [rsp], xmm0
	mov	DWORD PTR [rsp], 1
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 8[rbp]
	mov	rdi, QWORD PTR [rax+rbx*8]
	test	rdi, rdi
	je	.L3
	cmp	rdi, r12
	je	.L3
	call	vif_to_wdev@PLT
	mov	r13d, 1
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rsp]
	add	DWORD PTR [rax+rdx*4], 1
.L3:
	add	rbx, 1
.L2:
	mov	rdi, rbp
	call	GET_MAX_VIFS@PLT
	cmp	eax, ebx
	jg	.L4
	test	r13d, r13d
	jne	.L18
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r13d
	pop	rbx
	.cfi_def_cfa_offset 40
	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
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[rsp]
	mov	rsi, rsp
	add	DWORD PTR [rax+r14*4], 1
	mov	edi, DWORD PTR 0[rbp]
	call	cfg80211_check_combinations@PLT
	mov	r13d, eax
	jmp	.L1
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	wil_cfg80211_validate_change_iface, .-wil_cfg80211_validate_change_iface
	.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_cfg80211.c_wil_cfg80211_validate_change_iface.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wil_cfg80211_validate_change_iface, %function
wil_cfg80211_validate_change_iface:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	mov	ip, #1
	push	{r4, r5, r6, r7, r8, lr}
	mov	r8, r2
	ldr	r2, .L18
	sub	sp, sp, #16
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	mov	r7, r3
	mov	r5, r0
	mov	r6, r1
	mov	r4, r3
	str	r3, [sp, #8]
	str	ip, [sp, #4]
	b	.L2
.L3:
	add	r4, r4, #1
.L2:
	mov	r0, r5
	bl	GET_MAX_VIFS
	cmp	r0, r4
	ble	.L15
	ldr	r3, [r5, #4]
	ldr	r0, [r3, r4, lsl #2]
	cmp	r0, #0
	cmpne	r0, r6
	beq	.L3
	bl	vif_to_wdev
	mov	r7, #1
	ldr	r1, [r0]
	ldr	r2, [sp, #8]
	ldr	r3, [r2, r1, lsl #2]
	add	r3, r3, r7
	str	r3, [r2, r1, lsl #2]
	b	.L3
.L15:
	cmp	r7, #0
	bne	.L16
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	mov	r0, r7
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	ldr	r2, [sp, #8]
	add	r1, sp, #4
	ldr	r3, [r2, r8, lsl #2]
	add	r3, r3, #1
	str	r3, [r2, r8, lsl #2]
	ldr	r0, [r5]
	bl	cfg80211_check_combinations
	mov	r7, r0
	b	.L1
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC0
	.size	wil_cfg80211_validate_change_iface, .-wil_cfg80211_validate_change_iface
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
