	.file	"extr_ieee802_11_vht.c_hostapd_eid_vht_operation.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	hostapd_eid_vht_operation
	.type	hostapd_eid_vht_operation, @function
hostapd_eid_vht_operation:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	edx, 16
	mov	rbp, rdi
	lea	rdi, 8[rsi]
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	eax, DWORD PTR WLAN_EID_VHT_OPERATION[rip]
	mov	DWORD PTR 4[rsi], 16
	mov	DWORD PTR [rsi], eax
	xor	esi, esi
	call	os_memset@PLT
	mov	rdx, QWORD PTR 0[rbp]
	mov	eax, DWORD PTR 4[rdx]
	mov	ecx, DWORD PTR [rdx]
	mov	DWORD PTR 12[rbx], eax
	mov	eax, DWORD PTR 8[rdx]
	mov	DWORD PTR 8[rbx], ecx
	cmp	eax, 2
	je	.L8
	cmp	eax, 3
	mov	edx, 1
	cmove	eax, edx
	mov	DWORD PTR 16[rbx], eax
.L4:
	mov	edi, 65532
	call	host_to_le16@PLT
	mov	DWORD PTR 20[rbx], eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	lea	rax, 72[rbx]
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	DWORD PTR 16[rbx], 1
	movsx	rax, ecx
	mov	DWORD PTR 12[rbx], ecx
	cmp	QWORD PTR 16[rdx], rax
	jge	.L3
	sub	ecx, 8
	mov	DWORD PTR 8[rbx], ecx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	add	ecx, 8
	mov	DWORD PTR 8[rbx], ecx
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	hostapd_eid_vht_operation, .-hostapd_eid_vht_operation
	.comm	WLAN_EID_VHT_OPERATION,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_vht.c_hostapd_eid_vht_operation.c"
	.text
	.align	2
	.global	hostapd_eid_vht_operation
	.syntax unified
	.arm
	.fpu softvfp
	.type	hostapd_eid_vht_operation, %function
hostapd_eid_vht_operation:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r2, #16
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r4, r1
	ldr	r3, .L9
	str	r2, [r1, #4]
	ldr	r3, [r3]
	add	r0, r1, #8
	str	r3, [r1]
	mov	r1, #0
	bl	os_memset
	ldr	r3, [r5]
	ldr	r1, [r3, #8]
	ldr	r2, [r3]
	ldr	r0, [r3, #4]
	cmp	r1, #2
	str	r2, [r4, #8]
	str	r0, [r4, #12]
	beq	.L8
	cmp	r1, #3
	moveq	r3, #1
	strne	r1, [r4, #16]
	streq	r3, [r4, #16]
.L4:
	ldr	r0, .L9+4
	bl	host_to_le16
	mov	r3, r0
	add	r0, r4, #72
	str	r3, [r4, #20]
	pop	{r4, r5, r6, pc}
.L8:
	mov	r1, #1
	ldr	r3, [r3, #12]
	str	r2, [r4, #12]
	cmp	r2, r3
	subgt	r2, r2, #8
	addle	r2, r2, #8
	str	r1, [r4, #16]
	str	r2, [r4, #8]
	b	.L4
.L10:
	.align	2
.L9:
	.word	WLAN_EID_VHT_OPERATION
	.word	65532
	.size	hostapd_eid_vht_operation, .-hostapd_eid_vht_operation
	.comm	WLAN_EID_VHT_OPERATION,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
