	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_ht_state                ## -- Begin function update_ht_state
	.p2align	4, 0x90
_update_ht_state:                       ## @update_ht_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_WLAN_STA_HT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rsi)
	je	LBB0_3
## %bb.1:
	cmpq	$0, 8(%rsi)
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_update_sta_ht
	jmp	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	callq	_update_sta_no_ht
LBB0_4:
	movl	(%rbx), %edi
	callq	_hostapd_ht_operation_update
	testq	%rax, %rax
	jle	LBB0_5
## %bb.6:
	movl	(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ieee802_11_set_beacons         ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_STA_HT,4,2                ## @WLAN_STA_HT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_ht_state                ; -- Begin function update_ht_state
	.p2align	2
_update_ht_state:                       ; @update_ht_state
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _WLAN_STA_HT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WLAN_STA_HT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_update_sta_ht
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_update_sta_no_ht
LBB0_4:
	ldr	w0, [x19]
	bl	_hostapd_ht_operation_update
	cmp	x0, #1
	b.lt	LBB0_6
; %bb.5:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ieee802_11_set_beacons
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_STA_HT,4,2                ; @WLAN_STA_HT
.subsections_via_symbols
