	.file	"extr_main.c_ath9k_assign_hw_queues.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ath9k_assign_hw_queues, @function
ath9k_assign_hw_queues:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xor	eax, eax
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	ath9k_is_chanctx_enabled@PLT
	test	eax, eax
	je	.L1
	mov	eax, DWORD PTR IEEE80211_NUM_ACS[rip]
	test	eax, eax
	jle	.L3
	mov	rdx, QWORD PTR [rbx]
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L4:
	mov	DWORD PTR [rdx+rax*4], eax
	add	rax, 1
	cmp	DWORD PTR IEEE80211_NUM_ACS[rip], eax
	jg	.L4
.L3:
	mov	rax, QWORD PTR 8[rbx]
	cmp	rax, QWORD PTR NL80211_IFTYPE_AP[rip]
	je	.L5
	cmp	rax, QWORD PTR NL80211_IFTYPE_MESH_POINT[rip]
	je	.L5
	mov	rax, QWORD PTR IEEE80211_INVAL_HW_QUEUE[rip]
	mov	QWORD PTR 16[rbx], rax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rax, QWORD PTR 0[rbp]
	sub	rax, 2
	mov	QWORD PTR 16[rbx], rax
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ath9k_assign_hw_queues, .-ath9k_assign_hw_queues
	.comm	NL80211_IFTYPE_MESH_POINT,8,8
	.comm	NL80211_IFTYPE_AP,8,8
	.comm	IEEE80211_NUM_ACS,4,4
	.comm	IEEE80211_INVAL_HW_QUEUE,8,8
	.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_main.c_ath9k_assign_hw_queues.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ath9k_assign_hw_queues, %function
ath9k_assign_hw_queues:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r4, r1
	bl	ath9k_is_chanctx_enabled
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	lr, .L13
	ldr	r3, [lr]
	cmp	r3, #0
	ble	.L3
	mov	r3, #0
	ldr	r2, [r4]
	sub	r2, r2, #4
.L4:
	str	r3, [r2, #4]!
	ldr	ip, [lr]
	add	r3, r3, #1
	cmp	ip, r3
	bgt	.L4
.L3:
	ldr	r2, .L13+4
	ldr	r3, [r4, #4]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L5
	ldr	r2, .L13+8
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L5
	ldr	r3, .L13+12
	ldr	r3, [r3]
	str	r3, [r4, #8]
	pop	{r4, r5, r6, pc}
.L5:
	ldr	r3, [r5]
	sub	r3, r3, #2
	str	r3, [r4, #8]
	pop	{r4, r5, r6, pc}
.L14:
	.align	2
.L13:
	.word	IEEE80211_NUM_ACS
	.word	NL80211_IFTYPE_AP
	.word	NL80211_IFTYPE_MESH_POINT
	.word	IEEE80211_INVAL_HW_QUEUE
	.size	ath9k_assign_hw_queues, .-ath9k_assign_hw_queues
	.comm	NL80211_IFTYPE_MESH_POINT,4,4
	.comm	NL80211_IFTYPE_AP,4,4
	.comm	IEEE80211_NUM_ACS,4,4
	.comm	IEEE80211_INVAL_HW_QUEUE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
