	.file	"extr_cfg80211.c_qtnf_validate_iface_combinations.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	qtnf_validate_iface_combinations, @function
qtnf_validate_iface_combinations:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pxor	xmm0, xmm0
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, edx
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	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
	call	wiphy_priv@PLT
	test	rax, rax
	je	.L2
	mov	edx, DWORD PTR QTNF_MAX_INTF[rip]
	mov	rcx, QWORD PTR 8[rsp]
	test	edx, edx
	jle	.L9
	mov	r8, QWORD PTR NL80211_IFTYPE_UNSPECIFIED[rip]
	mov	r9, QWORD PTR [rax]
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdx, QWORD PTR [r9+rax*8]
	cmp	rdx, r8
	je	.L7
	add	DWORD PTR [rcx+rdx*4], 1
.L7:
	add	rax, 1
	cmp	DWORD PTR QTNF_MAX_INTF[rip], eax
	jg	.L8
.L9:
	lea	rdx, [rcx+rbx*4]
	mov	eax, DWORD PTR [rdx]
	add	eax, 1
	test	r12, r12
	je	.L16
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR [r12]
	sub	DWORD PTR [rcx+rax*4], 1
.L10:
	mov	rsi, rsp
	mov	rdi, rbp
	call	cfg80211_check_combinations@PLT
.L1:
	mov	rbx, QWORD PTR 24[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L17
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	DWORD PTR [rdx], eax
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR EFAULT[rip]
	neg	eax
	jmp	.L1
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	qtnf_validate_iface_combinations, .-qtnf_validate_iface_combinations
	.comm	QTNF_MAX_INTF,4,4
	.comm	NL80211_IFTYPE_UNSPECIFIED,8,8
	.comm	EFAULT,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_cfg80211.c_qtnf_validate_iface_combinations.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qtnf_validate_iface_combinations, %function
qtnf_validate_iface_combinations:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r3, #1
	mov	r4, #0
	mov	r5, r2
	ldr	r2, .L18
	sub	sp, sp, #20
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	mov	r6, r1
	mov	r7, r0
	stmib	sp, {r3, r4}
	bl	wiphy_priv
	cmp	r0, #0
	beq	.L2
	ldr	r1, .L18+4
	ldr	r2, [sp, #8]
	ldr	r3, [r1]
	cmp	r3, r4
	ble	.L9
	ldr	r3, .L18+8
	mov	ip, r4
	ldr	r4, [r0]
	ldr	r0, [r3]
	sub	r4, r4, #4
.L8:
	ldr	r3, [r4, #4]!
	add	ip, ip, #1
	cmp	r3, r0
	ldrne	lr, [r2, r3, lsl #2]
	addne	lr, lr, #1
	strne	lr, [r2, r3, lsl #2]
	ldr	r3, [r1]
	cmp	r3, ip
	bgt	.L8
.L9:
	ldr	r3, [r2, r5, lsl #2]
	cmp	r6, #0
	add	r3, r3, #1
	beq	.L16
	ldr	r1, [r6]
	str	r3, [r2, r5, lsl #2]
	ldr	r3, [r2, r1, lsl #2]
	sub	r3, r3, #1
	str	r3, [r2, r1, lsl #2]
.L10:
	mov	r0, r7
	add	r1, sp, #4
	bl	cfg80211_check_combinations
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L16:
	str	r3, [r2, r5, lsl #2]
	b	.L10
.L2:
	ldr	r3, .L18+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC0
	.word	QTNF_MAX_INTF
	.word	NL80211_IFTYPE_UNSPECIFIED
	.word	EFAULT
	.size	qtnf_validate_iface_combinations, .-qtnf_validate_iface_combinations
	.comm	QTNF_MAX_INTF,4,4
	.comm	NL80211_IFTYPE_UNSPECIFIED,4,4
	.comm	EFAULT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
