	.file	"extr_ap_drv_ops.c_hostapd_set_drv_ieee8021x.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	hostapd_set_drv_ieee8021x
	.type	hostapd_set_drv_ieee8021x, @function
hostapd_set_drv_ieee8021x:
.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
	mov	r12, rsi
	xor	esi, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, edx
	mov	edx, 40
	sub	rsp, 56
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	r13, rsp
	mov	rdi, r13
	call	os_memset@PLT
	mov	QWORD PTR [rsp], r12
	mov	DWORD PTR 8[rsp], ebx
	test	ebx, ebx
	je	.L2
	mov	rax, QWORD PTR 0[rbp]
	mov	edi, DWORD PTR WPA_PROTO_WPA[rip]
	mov	esi, DWORD PTR WPA_PROTO_RSN[rip]
	mov	ecx, DWORD PTR 28[rax]
	mov	edx, DWORD PTR [rax]
	mov	DWORD PTR 36[rsp], ecx
	mov	ecx, DWORD PTR 24[rax]
	mov	r8d, edx
	mov	DWORD PTR 12[rsp], edx
	mov	DWORD PTR 32[rsp], ecx
	mov	ecx, edi
	or	ecx, esi
	and	r8d, ecx
	cmp	ecx, r8d
	je	.L15
	test	edx, esi
	jne	.L16
	test	edx, edi
	je	.L4
	mov	edx, DWORD PTR 4[rax]
	mov	DWORD PTR 16[rsp], edx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L15:
	mov	edx, DWORD PTR 4[rax]
	or	edx, DWORD PTR 8[rax]
	mov	DWORD PTR 16[rsp], edx
.L4:
	mov	edx, DWORD PTR 20[rax]
	mov	eax, DWORD PTR 16[rax]
	mov	DWORD PTR 28[rsp], edx
	mov	DWORD PTR 24[rsp], eax
.L2:
	mov	rsi, r13
	mov	rdi, rbp
	call	hostapd_set_ieee8021x@PLT
	mov	rbx, QWORD PTR 40[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L17
	add	rsp, 56
	.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
.L16:
	.cfi_restore_state
	mov	edx, DWORD PTR 8[rax]
	mov	DWORD PTR 16[rsp], edx
	jmp	.L4
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	hostapd_set_drv_ieee8021x, .-hostapd_set_drv_ieee8021x
	.comm	WPA_PROTO_WPA,4,4
	.comm	WPA_PROTO_RSN,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_ap_drv_ops.c_hostapd_set_drv_ieee8021x.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	hostapd_set_drv_ieee8021x
	.syntax unified
	.arm
	.fpu softvfp
	.type	hostapd_set_drv_ieee8021x, %function
hostapd_set_drv_ieee8021x:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r2
	mov	r6, r1
	sub	sp, sp, #40
	ldr	r3, .L17
	mov	r5, r0
	mov	r2, #36
	mov	r0, sp
	mov	r1, #0
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	bl	os_memset
	cmp	r4, #0
	str	r6, [sp]
	str	r4, [sp, #4]
	beq	.L2
	ldr	r1, .L17+4
	ldr	r2, .L17+8
	ldr	r3, [r5]
	ldr	r0, [r1]
	ldr	r1, [r2]
	ldr	r2, [r3]
	orr	ip, r0, r1
	ldr	lr, [r3, #28]
	bics	ip, ip, r2
	ldr	ip, [r3, #24]
	str	r2, [sp, #8]
	str	lr, [sp, #32]
	str	ip, [sp, #28]
	beq	.L15
	tst	r2, r1
	beq	.L5
	ldr	r2, [r3, #8]
	str	r2, [sp, #12]
	ldr	r2, [r3, #20]
	ldr	r3, [r3, #16]
	str	r2, [sp, #24]
	str	r3, [sp, #20]
.L2:
	mov	r1, sp
	mov	r0, r5
	bl	hostapd_set_ieee8021x
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	add	sp, sp, #40
	@ sp needed
	pop	{r4, r5, r6, pc}
.L15:
	ldmib	r3, {r1, r2}
	orr	r2, r2, r1
	str	r2, [sp, #12]
.L4:
	ldr	r2, [r3, #20]
	ldr	r3, [r3, #16]
	str	r2, [sp, #24]
	str	r3, [sp, #20]
	b	.L2
.L5:
	tst	r2, r0
	ldrne	r2, [r3, #4]
	strne	r2, [sp, #12]
	b	.L4
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC0
	.word	WPA_PROTO_WPA
	.word	WPA_PROTO_RSN
	.size	hostapd_set_drv_ieee8021x, .-hostapd_set_drv_ieee8021x
	.comm	WPA_PROTO_WPA,4,4
	.comm	WPA_PROTO_RSN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
