	.file	"extr_ieee802_11.c_hostapd_set_wds_encryption.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Could not set WEP keys for WDS interface; %s"
	.text
	.p2align 4
	.type	hostapd_set_wds_encryption, @function
hostapd_set_wds_encryption:
.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
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbp, QWORD PTR [rdi]
	cmp	QWORD PTR 8[rbp], 0
	jne	.L1
	cmp	QWORD PTR 0[rbp], 0
	jne	.L1
	mov	r12, rdi
	mov	r13, rdx
	xor	ebx, ebx
.L4:
	mov	rax, QWORD PTR 32[rbp]
	mov	rax, QWORD PTR [rax+rbx*8]
	test	rax, rax
	jne	.L14
.L3:
	add	rbx, 1
	cmp	rbx, 4
	jne	.L4
.L1:
	add	rsp, 8
	.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
.L14:
	.cfi_restore_state
	mov	rdx, QWORD PTR 24[rbp]
	cmp	DWORD PTR 16[rbp], ebx
	mov	r8d, ebx
	mov	rsi, r12
	sete	r9b
	mov	rdi, r13
	xor	ecx, ecx
	mov	edx, DWORD PTR [rdx+rbx*4]
	movzx	r9d, r9b
	push	rdx
	.cfi_def_cfa_offset 56
	mov	edx, DWORD PTR WPA_ALG_WEP[rip]
	push	rax
	.cfi_def_cfa_offset 64
	push	0
	.cfi_def_cfa_offset 72
	push	0
	.cfi_def_cfa_offset 80
	call	hostapd_drv_set_key@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 48
	test	rax, rax
	je	.L3
	mov	edi, DWORD PTR MSG_WARNING[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdx, r13
	lea	rsi, .LC0[rip]
	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
	jmp	wpa_printf@PLT
	.cfi_endproc
.LFE0:
	.size	hostapd_set_wds_encryption, .-hostapd_set_wds_encryption
	.comm	WPA_ALG_WEP,4,4
	.comm	MSG_WARNING,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_ieee802_11.c_hostapd_set_wds_encryption.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Could not set WEP keys for WDS interface; %s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hostapd_set_wds_encryption, %function
hostapd_set_wds_encryption:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r5, [r0]
	sub	sp, sp, #28
	ldr	r3, [r5, #4]
	cmp	r3, #0
	bne	.L1
	ldr	r4, [r5]
	cmp	r4, #0
	bne	.L1
	mov	r6, r0
	mov	r7, r2
	mov	r8, r4
	ldr	r9, .L15
.L4:
	ldr	r3, [r5, #16]
	ldr	r1, [r3, r4, lsl #2]
	cmp	r1, #0
	bne	.L14
.L3:
	add	r4, r4, #1
	cmp	r4, #4
	bne	.L4
.L1:
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L14:
	ldr	r2, [r5, #12]
	mov	r3, #0
	ldr	r2, [r2, r4, lsl #2]
	str	r1, [sp, #16]
	str	r2, [sp, #20]
	str	r8, [sp, #12]
	str	r8, [sp, #8]
	ldr	r1, [r5, #8]
	mov	r0, r7
	sub	r1, r1, r4
	clz	r1, r1
	lsr	r1, r1, #5
	str	r1, [sp, #4]
	ldr	r2, [r9]
	mov	r1, r6
	str	r4, [sp]
	bl	hostapd_drv_set_key
	cmp	r0, #0
	beq	.L3
	mov	r2, r7
	ldr	r3, .L15+4
	ldr	r1, .L15+8
	ldr	r0, [r3]
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, lr}
	b	wpa_printf
.L16:
	.align	2
.L15:
	.word	WPA_ALG_WEP
	.word	MSG_WARNING
	.word	.LC0
	.size	hostapd_set_wds_encryption, .-hostapd_set_wds_encryption
	.comm	WPA_ALG_WEP,4,4
	.comm	MSG_WARNING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
