	.file	"extr_driver_hostap.c_hostap_get_seqnum.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Failed to get encryption.\n"
	.text
	.p2align 4
	.type	hostap_get_seqnum, @function
hostap_get_seqnum:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	edi, 64
	mov	r14, r8
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, ecx
	call	os_zalloc@PLT
	test	rax, rax
	je	.L7
	mov	rbp, rax
	mov	eax, DWORD PTR PRISM2_GET_ENCRYPTION[rip]
	mov	edx, DWORD PTR ETH_ALEN[rip]
	mov	rdi, QWORD PTR 16[rbp]
	mov	DWORD PTR 24[rbp], eax
	test	r12, r12
	je	.L10
	mov	rsi, r12
	call	os_memcpy@PLT
.L4:
	mov	DWORD PTR 0[rbp], ebx
	mov	edx, 64
	mov	rsi, rbp
	mov	rdi, r13
	call	hostapd_ioctl@PLT
	test	rax, rax
	jne	.L11
	mov	rsi, QWORD PTR 8[rbp]
	mov	edx, 8
	mov	rdi, r14
	xor	r12d, r12d
	call	os_memcpy@PLT
.L6:
	mov	rdi, rbp
	call	os_free@PLT
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	mov	r12d, -1
	call	printf@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L10:
	mov	esi, 255
	call	os_memset@PLT
	jmp	.L4
.L7:
	mov	r12d, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	hostap_get_seqnum, .-hostap_get_seqnum
	.comm	PRISM2_GET_ENCRYPTION,4,4
	.comm	ETH_ALEN,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_driver_hostap.c_hostap_get_seqnum.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to get encryption.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hostap_get_seqnum, %function
hostap_get_seqnum:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r0, #48
	mov	r7, r1
	mov	r5, r2
	mov	r6, r3
	bl	os_zalloc
	subs	r4, r0, #0
	beq	.L7
	ldr	r2, .L12
	ldr	r3, .L12+4
	ldr	r2, [r2]
	cmp	r5, #0
	str	r2, [r4, #12]
	ldr	r0, [r4, #8]
	ldr	r2, [r3]
	beq	.L10
	mov	r1, r5
	bl	os_memcpy
.L4:
	mov	r0, r7
	mov	r2, #48
	mov	r1, r4
	str	r6, [r4]
	bl	hostapd_ioctl
	subs	r5, r0, #0
	bne	.L11
	mov	r2, #8
	ldr	r1, [r4, #4]
	ldr	r0, [sp, #24]
	bl	os_memcpy
.L6:
	mov	r0, r4
	bl	os_free
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	ldr	r0, .L12+8
	bl	printf
	mvn	r5, #0
	b	.L6
.L10:
	mov	r1, #255
	bl	os_memset
	b	.L4
.L7:
	mvn	r5, #0
	b	.L1
.L13:
	.align	2
.L12:
	.word	PRISM2_GET_ENCRYPTION
	.word	ETH_ALEN
	.word	.LC0
	.size	hostap_get_seqnum, .-hostap_get_seqnum
	.comm	PRISM2_GET_ENCRYPTION,4,4
	.comm	ETH_ALEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
