	.file	"extr_quota.c_iwl_mvm_quota_iterator.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	iwl_mvm_quota_iterator, @function
iwl_mvm_quota_iterator:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	mov	rdi, rdx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	iwl_mvm_vif_from_mac80211@PLT
	cmp	QWORD PTR 40[rbp], rbx
	je	.L1
	mov	r12, rax
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L1
	mov	r13, QWORD PTR [rax]
	xor	edi, edi
	mov	rax, QWORD PTR MAX_BINDINGS[rip]
	cmp	QWORD PTR NUM_PHY_CTX[rip], rax
	setg	dil
	call	BUILD_BUG_ON@PLT
	xor	edi, edi
	cmp	QWORD PTR MAX_BINDINGS[rip], r13
	setle	dil
	call	WARN_ON_ONCE@PLT
	test	rax, rax
	jne	.L1
	mov	eax, DWORD PTR [rbx]
	cmp	eax, 130
	je	.L5
	jg	.L6
	cmp	eax, 128
	je	.L7
	cmp	eax, 129
	jne	.L8
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	sub	eax, 131
	cmp	eax, 1
	ja	.L8
	mov	ecx, DWORD PTR 20[r12]
	test	ecx, ecx
	je	.L1
.L10:
	mov	rax, QWORD PTR 0[rbp]
	mov	rcx, QWORD PTR 8[r12]
	lea	rax, [rax+r13*8]
	mov	rcx, QWORD PTR 8[rcx]
	mov	rdx, QWORD PTR [rax]
	test	rdx, rdx
	jns	.L11
	mov	QWORD PTR [rax], rcx
.L12:
	mov	rax, QWORD PTR 32[rbp]
	sal	r13, 2
	mov	rdi, r12
	add	rax, r13
	add	DWORD PTR [rax], 1
	call	iwl_mvm_vif_low_latency@PLT
	test	rax, rax
	je	.L1
	add	r13, QWORD PTR 8[rbp]
	mov	eax, DWORD PTR 0[r13]
	test	eax, eax
	jne	.L1
	add	DWORD PTR 16[rbp], 1
	mov	DWORD PTR 0[r13], 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	edi, 1
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	WARN_ON_ONCE@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	esi, DWORD PTR 4[rbx]
	test	esi, esi
	jne	.L10
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edx, DWORD PTR 16[r12]
	test	edx, edx
	jne	.L10
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	xor	edi, edi
	cmp	rdx, rcx
	setne	dil
	call	WARN_ON_ONCE@PLT
	jmp	.L12
	.cfi_endproc
.LFE0:
	.size	iwl_mvm_quota_iterator, .-iwl_mvm_quota_iterator
	.comm	NUM_PHY_CTX,8,8
	.comm	MAX_BINDINGS,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_quota.c_iwl_mvm_quota_iterator.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	iwl_mvm_quota_iterator, %function
iwl_mvm_quota_iterator:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	mov	r4, r2
	mov	r0, r2
	bl	iwl_mvm_vif_from_mac80211
	ldr	r3, [r5, #20]
	cmp	r3, r4
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r3, [r0, #4]
	mov	r6, r0
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r2, .L24
	ldr	r7, .L24+4
	ldr	r0, [r2]
	ldr	r2, [r7]
	ldr	r8, [r3]
	cmp	r0, r2
	movle	r0, #0
	movgt	r0, #1
	bl	BUILD_BUG_ON
	ldr	r0, [r7]
	cmp	r0, r8
	movgt	r0, #0
	movle	r0, #1
	bl	WARN_ON_ONCE
	cmp	r0, #0
	popne	{r4, r5, r6, r7, r8, pc}
	ldr	r3, [r4]
	sub	r3, r3, #128
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L5
.L7:
	.word	.L9
	.word	.L1
	.word	.L8
	.word	.L6
	.word	.L6
.L9:
	ldr	r3, [r4, #4]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, pc}
.L10:
	ldr	r3, [r5]
	ldr	r1, [r6, #4]
	ldr	r2, [r3, r8, lsl #2]
	ldr	r0, [r1, #4]
	cmp	r2, #0
	strlt	r0, [r3, r8, lsl #2]
	blt	.L12
	subs	r0, r2, r0
	movne	r0, #1
	bl	WARN_ON_ONCE
.L12:
	ldr	r2, [r5, #16]
	mov	r0, r6
	ldr	r3, [r2, r8, lsl #2]
	add	r3, r3, #1
	str	r3, [r2, r8, lsl #2]
	bl	iwl_mvm_vif_low_latency
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r3, [r5, #4]
	ldr	r2, [r3, r8, lsl #2]
	cmp	r2, #0
	popne	{r4, r5, r6, r7, r8, pc}
	mov	r1, #1
	ldr	r2, [r5, #8]
	add	r2, r2, r1
	str	r2, [r5, #8]
	str	r1, [r3, r8, lsl #2]
.L1:
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	ldr	r3, [r6, #12]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	b	.L10
.L8:
	ldr	r3, [r6, #8]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	b	.L10
.L5:
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, lr}
	b	WARN_ON_ONCE
.L25:
	.align	2
.L24:
	.word	NUM_PHY_CTX
	.word	MAX_BINDINGS
	.size	iwl_mvm_quota_iterator, .-iwl_mvm_quota_iterator
	.comm	NUM_PHY_CTX,4,4
	.comm	MAX_BINDINGS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
