	.file	"extr_ieee80211_ioctl.c_ieee80211_ioctl_getwmeparam.c"
	.intel_syntax noprefix
	.text
	.section	.text.unlikely,"ax",@progbits
.LCOLDB0:
	.text
.LHOTB0:
	.p2align 4
	.type	ieee80211_ioctl_getwmeparam, @function
ieee80211_ioctl_getwmeparam:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rdx, QWORD PTR [rdi]
	mov	eax, DWORD PTR [rdx]
	test	DWORD PTR IEEE80211_C_WME[rip], eax
	je	.L16
	mov	edi, DWORD PTR [rsi]
	mov	eax, DWORD PTR IEEE80211_WMEPARAM_VAL[rip]
	and	eax, edi
	cmp	DWORD PTR WME_NUM_AC[rip], eax
	jg	.L4
	mov	eax, DWORD PTR WME_AC_BE[rip]
.L4:
	cdqe
	lea	rcx, [rax+rax*2]
	sal	rcx, 3
	mov	r8, rcx
	test	DWORD PTR IEEE80211_WMEPARAM_BSS[rip], edi
	jne	.L17
	add	r8, QWORD PTR 8[rdx]
.L6:
	mov	eax, DWORD PTR 4[rsi]
	add	eax, -128
	cmp	eax, 5
	ja	.L14
	lea	rdi, .L8[rip]
	movsx	rax, DWORD PTR [rdi+rax*4]
	add	rax, rdi
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L8:
	.long	.L13-.L8
	.long	.L12-.L8
	.long	.L11-.L8
	.long	.L10-.L8
	.long	.L9-.L8
	.long	.L7-.L8
	.text
	.p2align 4,,10
	.p2align 3
.L17:
	add	r8, QWORD PTR 16[rdx]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L16:
	mov	eax, DWORD PTR EINVAL[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rax, QWORD PTR 16[rdx]
	mov	eax, DWORD PTR 16[rax+rcx]
	mov	DWORD PTR 8[rsi], eax
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	mov	eax, DWORD PTR 8[r8]
	mov	DWORD PTR 8[rsi], eax
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	mov	eax, DWORD PTR 4[r8]
	mov	DWORD PTR 8[rsi], eax
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	mov	eax, DWORD PTR [r8]
	mov	DWORD PTR 8[rsi], eax
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	mov	eax, DWORD PTR 12[r8]
	mov	DWORD PTR 8[rsi], eax
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rax, QWORD PTR 8[rdx]
	mov	eax, DWORD PTR 20[rax+rcx]
	test	eax, eax
	sete	al
	movzx	eax, al
	mov	DWORD PTR 8[rsi], eax
	xor	eax, eax
	ret
	.cfi_endproc
	.section	.text.unlikely
	.cfi_startproc
	.type	ieee80211_ioctl_getwmeparam.cold, @function
ieee80211_ioctl_getwmeparam.cold:
.LFSB0:
.L14:
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.text
	.size	ieee80211_ioctl_getwmeparam, .-ieee80211_ioctl_getwmeparam
	.section	.text.unlikely
	.size	ieee80211_ioctl_getwmeparam.cold, .-ieee80211_ioctl_getwmeparam.cold
.LCOLDE0:
	.text
.LHOTE0:
	.comm	WME_NUM_AC,4,4
	.comm	WME_AC_BE,4,4
	.comm	IEEE80211_WMEPARAM_VAL,4,4
	.comm	IEEE80211_WMEPARAM_BSS,4,4
	.comm	IEEE80211_C_WME,4,4
	.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_ieee80211_ioctl.c_ieee80211_ioctl_getwmeparam.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ieee80211_ioctl_getwmeparam, %function
ieee80211_ioctl_getwmeparam:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	ip, [r0]
	ldr	r3, .L17
	ldr	r2, [ip]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L16
	ldr	r3, .L17+4
	ldr	r0, .L17+8
	ldr	r2, [r1]
	ldr	r3, [r3]
	ldr	r0, [r0]
	and	r3, r3, r2
	cmp	r0, r3
	ldr	r0, .L17+12
	ldrle	r3, .L17+16
	ldr	r0, [r0]
	ldrle	r3, [r3]
	tst	r2, r0
	ldr	r2, [r1, #4]
	ldrne	r0, [ip, #8]
	ldreq	r0, [ip, #4]
	add	r3, r3, r3, lsl #1
	lsl	r3, r3, #3
	sub	r2, r2, #128
	add	r0, r0, r3
	cmp	r2, #5
	ldrls	pc, [pc, r2, asl #2]
	b	.L14
.L8:
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L7
.L16:
	ldr	r3, .L17+20
	ldr	r0, [r3]
	bx	lr
.L7:
	ldr	r2, [ip, #4]
	mov	r0, #0
	add	r3, r2, r3
	ldr	r3, [r3, #20]
	clz	r3, r3
	lsr	r3, r3, #5
	str	r3, [r1, #8]
	bx	lr
.L13:
	ldr	r3, [r0, #12]
	mov	r0, #0
	str	r3, [r1, #8]
	bx	lr
.L12:
	ldr	r3, [r0]
	mov	r0, #0
	str	r3, [r1, #8]
	bx	lr
.L11:
	ldr	r3, [r0, #4]
	mov	r0, #0
	str	r3, [r1, #8]
	bx	lr
.L10:
	ldr	r3, [r0, #8]
	mov	r0, #0
	str	r3, [r1, #8]
	bx	lr
.L9:
	ldr	r2, [ip, #8]
	mov	r0, #0
	add	r3, r2, r3
	ldr	r3, [r3, #16]
	str	r3, [r1, #8]
	bx	lr
.L14:
	mov	r0, #0
	bx	lr
.L18:
	.align	2
.L17:
	.word	IEEE80211_C_WME
	.word	IEEE80211_WMEPARAM_VAL
	.word	WME_NUM_AC
	.word	IEEE80211_WMEPARAM_BSS
	.word	WME_AC_BE
	.word	EINVAL
	.size	ieee80211_ioctl_getwmeparam, .-ieee80211_ioctl_getwmeparam
	.comm	WME_NUM_AC,4,4
	.comm	WME_AC_BE,4,4
	.comm	IEEE80211_WMEPARAM_VAL,4,4
	.comm	IEEE80211_WMEPARAM_BSS,4,4
	.comm	IEEE80211_C_WME,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
