	.file	"extr_nl80211.c_parse_txq_params.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	parse_txq_params, @function
parse_txq_params:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR NL80211_TXQ_ATTR_AC[rip]
	mov	rdi, QWORD PTR [rdi+rax*8]
	test	rdi, rdi
	je	.L10
	mov	rax, QWORD PTR NL80211_TXQ_ATTR_TXOP[rip]
	cmp	QWORD PTR [rbx+rax*8], 0
	je	.L10
	mov	rax, QWORD PTR NL80211_TXQ_ATTR_CWMIN[rip]
	cmp	QWORD PTR [rbx+rax*8], 0
	je	.L10
	mov	rax, QWORD PTR NL80211_TXQ_ATTR_CWMAX[rip]
	cmp	QWORD PTR [rbx+rax*8], 0
	je	.L10
	mov	rax, QWORD PTR NL80211_TXQ_ATTR_AIFS[rip]
	cmp	QWORD PTR [rbx+rax*8], 0
	je	.L10
	mov	rbp, rsi
	call	nla_get_u8@PLT
	mov	QWORD PTR 0[rbp], rax
	mov	rax, QWORD PTR NL80211_TXQ_ATTR_TXOP[rip]
	mov	rdi, QWORD PTR [rbx+rax*8]
	call	nla_get_u16@PLT
	mov	QWORD PTR 32[rbp], rax
	mov	rax, QWORD PTR NL80211_TXQ_ATTR_CWMIN[rip]
	mov	rdi, QWORD PTR [rbx+rax*8]
	call	nla_get_u16@PLT
	mov	QWORD PTR 24[rbp], rax
	mov	rax, QWORD PTR NL80211_TXQ_ATTR_CWMAX[rip]
	mov	rdi, QWORD PTR [rbx+rax*8]
	call	nla_get_u16@PLT
	mov	QWORD PTR 16[rbp], rax
	mov	rax, QWORD PTR NL80211_TXQ_ATTR_AIFS[rip]
	mov	rdi, QWORD PTR [rbx+rax*8]
	call	nla_get_u8@PLT
	mov	rdx, QWORD PTR NL80211_NUM_ACS[rip]
	mov	QWORD PTR 8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR 0[rbp], rdx
	jl	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
.L1:
	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	parse_txq_params, .-parse_txq_params
	.comm	NL80211_TXQ_ATTR_TXOP,8,8
	.comm	NL80211_TXQ_ATTR_CWMIN,8,8
	.comm	NL80211_TXQ_ATTR_CWMAX,8,8
	.comm	NL80211_TXQ_ATTR_AIFS,8,8
	.comm	NL80211_TXQ_ATTR_AC,8,8
	.comm	NL80211_NUM_ACS,8,8
	.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_nl80211.c_parse_txq_params.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_txq_params, %function
parse_txq_params:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L21
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, [r3]
	mov	r4, r0
	ldr	r0, [r0, r3, lsl #2]
	cmp	r0, #0
	beq	.L19
	ldr	r6, .L21+4
	ldr	r3, [r6]
	ldr	r3, [r4, r3, lsl #2]
	cmp	r3, #0
	beq	.L19
	ldr	r7, .L21+8
	ldr	r3, [r7]
	ldr	r3, [r4, r3, lsl #2]
	cmp	r3, #0
	beq	.L19
	ldr	r8, .L21+12
	ldr	r3, [r8]
	ldr	r3, [r4, r3, lsl #2]
	cmp	r3, #0
	beq	.L19
	ldr	r9, .L21+16
	ldr	r3, [r9]
	ldr	r3, [r4, r3, lsl #2]
	cmp	r3, #0
	beq	.L19
	mov	r5, r1
	bl	nla_get_u8
	ldr	r3, [r6]
	str	r0, [r5]
	ldr	r0, [r4, r3, lsl #2]
	bl	nla_get_u16
	ldr	r3, [r7]
	str	r0, [r5, #16]
	ldr	r0, [r4, r3, lsl #2]
	bl	nla_get_u16
	ldr	r3, [r8]
	str	r0, [r5, #12]
	ldr	r0, [r4, r3, lsl #2]
	bl	nla_get_u16
	ldr	r3, [r9]
	str	r0, [r5, #8]
	ldr	r0, [r4, r3, lsl #2]
	bl	nla_get_u8
	ldr	r3, .L21+20
	ldr	r2, [r5]
	ldr	r3, [r3]
	str	r0, [r5, #4]
	cmp	r2, r3
	bge	.L19
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L19:
	ldr	r3, .L21+24
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L22:
	.align	2
.L21:
	.word	NL80211_TXQ_ATTR_AC
	.word	NL80211_TXQ_ATTR_TXOP
	.word	NL80211_TXQ_ATTR_CWMIN
	.word	NL80211_TXQ_ATTR_CWMAX
	.word	NL80211_TXQ_ATTR_AIFS
	.word	NL80211_NUM_ACS
	.word	EINVAL
	.size	parse_txq_params, .-parse_txq_params
	.comm	NL80211_TXQ_ATTR_TXOP,4,4
	.comm	NL80211_TXQ_ATTR_CWMIN,4,4
	.comm	NL80211_TXQ_ATTR_CWMAX,4,4
	.comm	NL80211_TXQ_ATTR_AIFS,4,4
	.comm	NL80211_TXQ_ATTR_AC,4,4
	.comm	NL80211_NUM_ACS,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
