	.file	"extr_ipw2200.c_ipw_wpa_set_auth_algs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ipw_wpa_set_auth_algs, @function
ipw_wpa_set_auth_algs:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 24
	.cfi_def_cfa_offset 32
	mov	edx, DWORD PTR SEC_AUTH_MODE[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR [rdi]
	mov	DWORD PTR 4[rsp], edx
	test	DWORD PTR IW_AUTH_ALG_SHARED_KEY[rip], esi
	je	.L2
	mov	edx, DWORD PTR WLAN_AUTH_SHARED_KEY[rip]
	mov	DWORD PTR [rsp], edx
	mov	DWORD PTR [rax], 0
.L3:
	mov	rdx, QWORD PTR 8[rax]
	test	rdx, rdx
	je	.L7
.L12:
	mov	edi, DWORD PTR 4[rax]
	mov	rsi, rsp
	call	rdx
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L11
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	test	DWORD PTR IW_AUTH_ALG_OPEN_SYSTEM[rip], esi
	je	.L4
	mov	edx, DWORD PTR WLAN_AUTH_OPEN[rip]
	mov	DWORD PTR [rsp], edx
	mov	rdx, QWORD PTR 8[rax]
	mov	DWORD PTR [rax], 1
	test	rdx, rdx
	jne	.L12
.L7:
	mov	eax, DWORD PTR EOPNOTSUPP[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	test	DWORD PTR IW_AUTH_ALG_LEAP[rip], esi
	je	.L5
	mov	edx, DWORD PTR WLAN_AUTH_LEAP[rip]
	mov	DWORD PTR [rsp], edx
	mov	DWORD PTR [rax], 1
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ipw_wpa_set_auth_algs, .-ipw_wpa_set_auth_algs
	.comm	WLAN_AUTH_SHARED_KEY,4,4
	.comm	WLAN_AUTH_OPEN,4,4
	.comm	WLAN_AUTH_LEAP,4,4
	.comm	SEC_AUTH_MODE,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_ipw2200.c_ipw_wpa_set_auth_algs.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ipw_wpa_set_auth_algs, %function
ipw_wpa_set_auth_algs:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	str	lr, [sp, #-4]!
	ldr	r3, .L13
	ldr	r2, .L13+4
	ldr	r3, [r3]
	ldr	r2, [r2]
	tst	r1, r3
	ldr	r3, [r0]
	ldr	r0, .L13+8
	sub	sp, sp, #20
	ldr	r0, [r0]
	str	r0, [sp, #12]
	mov	r0,#0
	str	r2, [sp, #8]
	beq	.L2
	mov	r2, #0
	ldr	r1, .L13+12
	ldr	r1, [r1]
	str	r1, [sp, #4]
	str	r2, [r3]
.L3:
	ldr	r2, [r3, #8]
	cmp	r2, #0
	beq	.L7
.L12:
	ldr	r0, [r3, #4]
	add	r1, sp, #4
	blx	r2
	mov	r0, #0
.L1:
	ldr	r3, .L13+8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #20
	@ sp needed
	ldr	pc, [sp], #4
.L2:
	ldr	r2, .L13+16
	ldr	r2, [r2]
	tst	r1, r2
	beq	.L4
	mov	r2, #1
	ldr	r1, .L13+20
	ldr	r1, [r1]
	str	r1, [sp, #4]
	str	r2, [r3]
	ldr	r2, [r3, #8]
	cmp	r2, #0
	bne	.L12
.L7:
	ldr	r3, .L13+24
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L4:
	ldr	r2, .L13+28
	ldr	r2, [r2]
	tst	r1, r2
	beq	.L5
	mov	r2, #1
	ldr	r1, .L13+32
	ldr	r1, [r1]
	str	r1, [sp, #4]
	str	r2, [r3]
	b	.L3
.L5:
	ldr	r3, .L13+36
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L11:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	IW_AUTH_ALG_SHARED_KEY
	.word	SEC_AUTH_MODE
	.word	.LC0
	.word	WLAN_AUTH_SHARED_KEY
	.word	IW_AUTH_ALG_OPEN_SYSTEM
	.word	WLAN_AUTH_OPEN
	.word	EOPNOTSUPP
	.word	IW_AUTH_ALG_LEAP
	.word	WLAN_AUTH_LEAP
	.word	EINVAL
	.size	ipw_wpa_set_auth_algs, .-ipw_wpa_set_auth_algs
	.comm	WLAN_AUTH_SHARED_KEY,4,4
	.comm	WLAN_AUTH_OPEN,4,4
	.comm	WLAN_AUTH_LEAP,4,4
	.comm	SEC_AUTH_MODE,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
