	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function htinfo_update
_htinfo_update:                         ## @htinfo_update
	.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	(%rdi), %rax
	cmpq	8(%rdi), %rax
	jne	LBB0_1
## %bb.3:
	movq	_IEEE80211_FHT_NONHT_PR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%rbx)
	je	LBB0_5
## %bb.4:
	movq	_IEEE80211_HTINFO_OPMODE_PROTOPT@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_1:
	movq	_IEEE80211_HTINFO_OPMODE_MIXED@GOTPCREL(%rip), %rcx
LBB0_2:
	movq	_IEEE80211_HTINFO_NONHT_PRESENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	cmpl	40(%rbx), %eax
	jne	LBB0_13
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	movq	24(%rbx), %rdi
	movq	_IEEE80211_CHAN_ANYC@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_9
## %bb.6:
	callq	_IEEE80211_IS_CHAN_HT40
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	(%rbx), %rax
	cmpq	32(%rbx), %rax
	jne	LBB0_8
LBB0_9:
	movq	_IEEE80211_HTINFO_OPMODE_PURE@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	cmpl	40(%rbx), %eax
	je	LBB0_12
LBB0_13:
	movl	%eax, 40(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_htinfo_notify                  ## TAILCALL
LBB0_8:
	movq	_IEEE80211_HTINFO_OPMODE_HT20PR@GOTPCREL(%rip), %rax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_HTINFO_OPMODE_MIXED,4,2 ## @IEEE80211_HTINFO_OPMODE_MIXED
	.comm	_IEEE80211_HTINFO_NONHT_PRESENT,4,2 ## @IEEE80211_HTINFO_NONHT_PRESENT
	.comm	_IEEE80211_FHT_NONHT_PR,4,2     ## @IEEE80211_FHT_NONHT_PR
	.comm	_IEEE80211_HTINFO_OPMODE_PROTOPT,4,2 ## @IEEE80211_HTINFO_OPMODE_PROTOPT
	.comm	_IEEE80211_CHAN_ANYC,8,3        ## @IEEE80211_CHAN_ANYC
	.comm	_IEEE80211_HTINFO_OPMODE_HT20PR,4,2 ## @IEEE80211_HTINFO_OPMODE_HT20PR
	.comm	_IEEE80211_HTINFO_OPMODE_PURE,4,2 ## @IEEE80211_HTINFO_OPMODE_PURE
	.no_dead_strip	_htinfo_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function htinfo_update
_htinfo_update:                         ; @htinfo_update
	.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
	ldp	x8, x9, [x0]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x19, #16]
Lloh0:
	adrp	x9, _IEEE80211_FHT_NONHT_PR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_FHT_NONHT_PR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.2:
Lloh3:
	adrp	x8, _IEEE80211_HTINFO_OPMODE_PROTOPT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_HTINFO_OPMODE_PROTOPT@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _IEEE80211_HTINFO_OPMODE_MIXED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IEEE80211_HTINFO_OPMODE_MIXED@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _IEEE80211_HTINFO_NONHT_PRESENT@GOTPAGE
Lloh8:
	ldr	x9, [x9, _IEEE80211_HTINFO_NONHT_PRESENT@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w9, w8
LBB0_5:
	ldr	w9, [x19, #40]
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	str	w8, [x19, #40]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_htinfo_notify
LBB0_8:
	ldr	x0, [x19, #24]
Lloh10:
	adrp	x8, _IEEE80211_CHAN_ANYC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IEEE80211_CHAN_ANYC@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_11
; %bb.9:
	bl	_IEEE80211_IS_CHAN_HT40
	cbz	x0, LBB0_11
; %bb.10:
	ldr	x8, [x19]
	ldr	x9, [x19, #32]
	cmp	x8, x9
	b.ne	LBB0_13
LBB0_11:
Lloh13:
	adrp	x8, _IEEE80211_HTINFO_OPMODE_PURE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IEEE80211_HTINFO_OPMODE_PURE@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	b	LBB0_5
LBB0_13:
Lloh15:
	adrp	x8, _IEEE80211_HTINFO_OPMODE_HT20PR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IEEE80211_HTINFO_OPMODE_HT20PR@GOTPAGEOFF]
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_HTINFO_OPMODE_MIXED,4,2 ; @IEEE80211_HTINFO_OPMODE_MIXED
	.comm	_IEEE80211_HTINFO_NONHT_PRESENT,4,2 ; @IEEE80211_HTINFO_NONHT_PRESENT
	.comm	_IEEE80211_FHT_NONHT_PR,4,2     ; @IEEE80211_FHT_NONHT_PR
	.comm	_IEEE80211_HTINFO_OPMODE_PROTOPT,4,2 ; @IEEE80211_HTINFO_OPMODE_PROTOPT
	.comm	_IEEE80211_CHAN_ANYC,8,3        ; @IEEE80211_CHAN_ANYC
	.comm	_IEEE80211_HTINFO_OPMODE_HT20PR,4,2 ; @IEEE80211_HTINFO_OPMODE_HT20PR
	.comm	_IEEE80211_HTINFO_OPMODE_PURE,4,2 ; @IEEE80211_HTINFO_OPMODE_PURE
	.no_dead_strip	_htinfo_update
.subsections_via_symbols
