	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function il_ht_conf
_il_ht_conf:                            ## @il_ht_conf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_D_ASSOC
	cmpl	$0, 8(%rbx)
	je	LBB0_12
## %bb.1:
	movl	4(%r14), %eax
	movq	_IEEE80211_HT_OP_MODE_PROTECTION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movl	%ecx, (%rbx)
	movq	_IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	andl	(%rcx), %eax
	setne	%dl
	movl	%edx, 4(%rbx)
	movl	$0, 12(%rbx)
	movl	(%r14), %eax
	cmpl	$129, %eax
	je	LBB0_10
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_11
## %bb.3:
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movl	8(%r14), %esi
	movq	%r14, %rdi
	callq	_ieee80211_find_sta
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	_IEEE80211_HT_MCS_TX_MAX_STREAMS_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	(%rax), %edx
	movq	_IEEE80211_HT_MCS_TX_MAX_STREAMS_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %edx
	movq	8(%rax), %rax
	cmpl	$0, 4(%rax)
	jne	LBB0_7
## %bb.5:
	cmpl	$0, 8(%rax)
	jne	LBB0_7
## %bb.6:
	movl	$1, 12(%rbx)
LBB0_7:
	testl	%edx, %edx
	jg	LBB0_9
LBB0_8:
	movl	$1, 12(%rbx)
LBB0_9:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	jmp	LBB0_11
LBB0_12:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_10:
	movl	$1, 12(%rbx)
LBB0_11:
	leaq	L_.str.1(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_D_ASSOC                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"enter:\n"

	.comm	_IEEE80211_HT_OP_MODE_PROTECTION,4,2 ## @IEEE80211_HT_OP_MODE_PROTECTION
	.comm	_IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT,4,2 ## @IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT
	.comm	_IEEE80211_HT_MCS_TX_MAX_STREAMS_MASK,4,2 ## @IEEE80211_HT_MCS_TX_MAX_STREAMS_MASK
	.comm	_IEEE80211_HT_MCS_TX_MAX_STREAMS_SHIFT,4,2 ## @IEEE80211_HT_MCS_TX_MAX_STREAMS_SHIFT
L_.str.1:                               ## @.str.1
	.asciz	"leave\n"

	.no_dead_strip	_il_ht_conf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function il_ht_conf
_il_ht_conf:                            ; @il_ht_conf
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_D_ASSOC
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_10
; %bb.1:
Lloh2:
	adrp	x8, _IEEE80211_HT_OP_MODE_PROTECTION@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IEEE80211_HT_OP_MODE_PROTECTION@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x8]
	ldp	w8, w10, [x20]
	and	w9, w9, w10
	str	w9, [x19]
Lloh5:
	adrp	x9, _IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w10
	cset	w9, ne
	str	w9, [x19, #4]
	str	wzr, [x19, #12]
	cmp	w8, #129
	b.eq	LBB0_11
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_12
; %bb.3:
	bl	_rcu_read_lock
	ldr	w1, [x20, #8]
	mov	x0, x20
	bl	_ieee80211_find_sta
	cbz	x0, LBB0_8
; %bb.4:
	ldr	w8, [x0]
Lloh8:
	adrp	x9, _IEEE80211_HT_MCS_TX_MAX_STREAMS_MASK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IEEE80211_HT_MCS_TX_MAX_STREAMS_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh11:
	adrp	x9, _IEEE80211_HT_MCS_TX_MAX_STREAMS_SHIFT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IEEE80211_HT_MCS_TX_MAX_STREAMS_SHIFT@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	asr	w8, w8, w9
	ldr	x9, [x0, #8]
	ldr	w10, [x9, #4]
	cbnz	w10, LBB0_7
; %bb.5:
	ldr	w9, [x9, #8]
	cbnz	w9, LBB0_7
; %bb.6:
	mov	w9, #1
	str	w9, [x19, #12]
LBB0_7:
	cmp	w8, #0
	b.gt	LBB0_9
LBB0_8:
	mov	w8, #1
	str	w8, [x19, #12]
LBB0_9:
	bl	_rcu_read_unlock
	b	LBB0_12
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	w8, #1
	str	w8, [x19, #12]
LBB0_12:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_D_ASSOC
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"enter:\n"

	.comm	_IEEE80211_HT_OP_MODE_PROTECTION,4,2 ; @IEEE80211_HT_OP_MODE_PROTECTION
	.comm	_IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT,4,2 ; @IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT
	.comm	_IEEE80211_HT_MCS_TX_MAX_STREAMS_MASK,4,2 ; @IEEE80211_HT_MCS_TX_MAX_STREAMS_MASK
	.comm	_IEEE80211_HT_MCS_TX_MAX_STREAMS_SHIFT,4,2 ; @IEEE80211_HT_MCS_TX_MAX_STREAMS_SHIFT
l_.str.1:                               ; @.str.1
	.asciz	"leave\n"

	.no_dead_strip	_il_ht_conf
.subsections_via_symbols
