	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_eid_vht_operation      ## -- Begin function hostapd_eid_vht_operation
	.p2align	4, 0x90
_hostapd_eid_vht_operation:             ## @hostapd_eid_vht_operation
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_WLAN_EID_VHT_OPERATION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsi)
	leaq	8(%rsi), %r14
	movl	$16, 4(%rsi)
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_os_memset
	movq	(%r15), %rcx
	movl	(%rcx), %eax
	movl	%eax, 8(%rbx)
	movl	4(%rcx), %edx
	movl	%edx, 12(%rbx)
	movl	8(%rcx), %edx
	movl	%edx, 16(%rbx)
	cmpl	$3, %edx
	je	LBB0_4
## %bb.1:
	cmpl	$2, %edx
	jne	LBB0_7
## %bb.2:
	movslq	%eax, %rdx
	movl	$1, 16(%rbx)
	movl	%eax, 12(%rbx)
	cmpq	%rdx, 16(%rcx)
	jge	LBB0_5
## %bb.3:
	addl	$-8, %eax
	jmp	LBB0_6
LBB0_4:
	movl	$1, 16(%rbx)
	jmp	LBB0_7
LBB0_5:
	addl	$8, %eax
LBB0_6:
	movl	%eax, (%r14)
LBB0_7:
	movl	$65532, %edi                    ## imm = 0xFFFC
	callq	_host_to_le16
	movl	%eax, 20(%rbx)
	addq	$72, %rbx
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_EID_VHT_OPERATION,4,2     ## @WLAN_EID_VHT_OPERATION
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_eid_vht_operation      ; -- Begin function hostapd_eid_vht_operation
	.p2align	2
_hostapd_eid_vht_operation:             ; @hostapd_eid_vht_operation
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _WLAN_EID_VHT_OPERATION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WLAN_EID_VHT_OPERATION@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	x20, x1, #8
	mov	w9, #16
	stp	w8, w9, [x1]
	mov	x0, x20
	mov	w1, #0
	mov	w2, #16
	bl	_os_memset
	ldr	x8, [x21]
	ldr	d0, [x8]
	str	d0, [x19, #8]
	ldr	w9, [x8, #8]
	str	w9, [x19, #16]
	cmp	w9, #3
	b.eq	LBB0_4
; %bb.1:
	cmp	w9, #2
	b.ne	LBB0_7
; %bb.2:
	mov	w9, #1
	str	w9, [x19, #16]
	fmov	w9, s0
	str	s0, [x19, #12]
	ldr	x8, [x8, #16]
	cmp	x8, w9, sxtw
	b.ge	LBB0_5
; %bb.3:
	sub	w8, w9, #8
	b	LBB0_6
LBB0_4:
	mov	w8, #1
	str	w8, [x19, #16]
	b	LBB0_7
LBB0_5:
	add	w8, w9, #8
LBB0_6:
	str	w8, [x20]
LBB0_7:
	mov	w0, #65532
	bl	_host_to_le16
	str	w0, [x19, #20]
	add	x0, x19, #72
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_EID_VHT_OPERATION,4,2     ; @WLAN_EID_VHT_OPERATION
.subsections_via_symbols
