	.file	"extr_ieee80211_wx.c_ieee80211_wx_set_auth_rsl.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ieee80211_wx_set_auth
	.type	ieee80211_wx_set_auth, @function
ieee80211_wx_set_auth:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdx]
	and	eax, DWORD PTR IW_AUTH_INDEX[rip]
	add	eax, -128
	cmp	eax, 9
	ja	.L2
	lea	rcx, .L4[rip]
	movsx	rax, DWORD PTR [rcx+rax*4]
	add	rax, rcx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L14-.L4
	.long	.L10-.L4
	.long	.L9-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L14-.L4
	.long	.L6-.L4
	.long	.L14-.L4
	.long	.L14-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L14:
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edx, DWORD PTR 4[rdx]
	mov	eax, edx
	and	eax, DWORD PTR IW_AUTH_ALG_SHARED_KEY[rip]
	je	.L11
	movabs	rax, 4294967296
	mov	QWORD PTR 8[rdi], rax
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edx, DWORD PTR 4[rdx]
	xor	eax, eax
	test	edx, edx
	setne	al
	mov	DWORD PTR 16[rdi], eax
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	mov	eax, DWORD PTR 4[rdx]
	mov	DWORD PTR [rdi], eax
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	mov	eax, DWORD PTR 4[rdx]
	mov	DWORD PTR 20[rdi], eax
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	mov	eax, DWORD PTR 4[rdx]
	mov	DWORD PTR 24[rdi], eax
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	mov	eax, DWORD PTR 4[rdx]
	mov	DWORD PTR 4[rdi], eax
	xor	eax, eax
	ret
.L2:
	mov	eax, DWORD PTR EOPNOTSUPP[rip]
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	test	DWORD PTR IW_AUTH_ALG_OPEN_SYSTEM[rip], edx
	jne	.L16
	test	DWORD PTR IW_AUTH_ALG_LEAP[rip], edx
	je	.L13
	movabs	rsi, 8589934593
	mov	QWORD PTR 8[rdi], rsi
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	mov	QWORD PTR 8[rdi], 1
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	ieee80211_wx_set_auth, .-ieee80211_wx_set_auth
	.comm	IW_AUTH_INDEX,4,4
	.comm	IW_AUTH_ALG_SHARED_KEY,4,4
	.comm	IW_AUTH_ALG_OPEN_SYSTEM,4,4
	.comm	IW_AUTH_ALG_LEAP,4,4
	.comm	EOPNOTSUPP,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_wx.c_ieee80211_wx_set_auth_rsl.c"
	.text
	.align	2
	.global	ieee80211_wx_set_auth
	.syntax unified
	.arm
	.fpu softvfp
	.type	ieee80211_wx_set_auth, %function
ieee80211_wx_set_auth:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r1, .L16
	ldr	r3, [r2]
	ldr	r1, [r1]
	mov	ip, r0
	and	r3, r3, r1
	sub	r3, r3, #128
	cmp	r3, #9
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L14
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L14
	.word	.L6
	.word	.L14
	.word	.L14
	.word	.L3
.L14:
	mov	r0, #0
	bx	lr
.L3:
	ldr	r1, .L16+4
	ldr	r3, [r2, #4]
	ldr	r0, [r1]
	ands	r0, r3, r0
	beq	.L11
	mov	r0, #0
	mov	r3, #1
	str	r0, [ip, #8]
	str	r3, [ip, #12]
	bx	lr
.L10:
	mov	r0, #0
	ldr	r3, [r2, #4]
	subs	r3, r3, r0
	movne	r3, #1
	str	r3, [ip, #16]
	bx	lr
.L9:
	ldr	r3, [r2, #4]
	mov	r0, #0
	str	r3, [ip]
	bx	lr
.L8:
	ldr	r3, [r2, #4]
	mov	r0, #0
	str	r3, [ip, #20]
	bx	lr
.L7:
	ldr	r3, [r2, #4]
	mov	r0, #0
	str	r3, [ip, #24]
	bx	lr
.L6:
	ldr	r3, [r2, #4]
	mov	r0, #0
	str	r3, [ip, #4]
	bx	lr
.L11:
	ldr	r2, .L16+8
	ldr	r2, [r2]
	tst	r3, r2
	beq	.L12
	mov	r3, #1
	str	r0, [ip, #12]
	str	r3, [ip, #8]
	bx	lr
.L12:
	ldr	r2, .L16+12
	ldr	r2, [r2]
	tst	r3, r2
	movne	r2, #1
	movne	r3, #2
	ldreq	r3, .L16+16
	strne	r2, [ip, #8]
	ldreq	r0, [r3]
	strne	r3, [ip, #12]
	rsbeq	r0, r0, #0
	bx	lr
.L2:
	ldr	r3, .L16+20
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bx	lr
.L17:
	.align	2
.L16:
	.word	IW_AUTH_INDEX
	.word	IW_AUTH_ALG_SHARED_KEY
	.word	IW_AUTH_ALG_OPEN_SYSTEM
	.word	IW_AUTH_ALG_LEAP
	.word	EINVAL
	.word	EOPNOTSUPP
	.size	ieee80211_wx_set_auth, .-ieee80211_wx_set_auth
	.comm	IW_AUTH_INDEX,4,4
	.comm	IW_AUTH_ALG_SHARED_KEY,4,4
	.comm	IW_AUTH_ALG_OPEN_SYSTEM,4,4
	.comm	IW_AUTH_ALG_LEAP,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
