	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_peer_assoc_h_vht_limit
_ath10k_peer_assoc_h_vht_limit:         ## @ath10k_peer_assoc_h_vht_limit
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movq	_NL80211_VHT_NSS_MAX@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_10
## %bb.1:
	movq	%rsi, %r14
	xorl	%r15d, %r15d
	movq	_IEEE80211_VHT_MCS_NOT_SUPPORTED@GOTPCREL(%rip), %r13
	xorl	%r12d, %r12d
	jmp	LBB0_2
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_IEEE80211_VHT_MCS_SUPPORT_0_7@GOTPCREL(%rip), %rdx
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$3, %eax
	movl	%r15d, %ecx
	shll	%cl, %eax
	movl	(%rdx), %edx
	notl	%eax
	andl	%eax, %ebx
	shll	%cl, %edx
	orl	%edx, %ebx
	incq	%r12
	movq	_NL80211_VHT_NSS_MAX@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addl	$2, %r15d
	cmpq	%rax, %r12
	jge	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movl	%r12d, %esi
	callq	_ath10k_mac_get_max_vht_mcs_map
	movq	%r13, %rdx
	andl	(%r14,%r12,4), %eax
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %edi
	callq	_fls
	cmpl	$10, %eax
	ja	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	movq	%r13, %rdx
	jmpq	*%rax
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_IEEE80211_VHT_MCS_SUPPORT_0_8@GOTPCREL(%rip), %rdx
	jmp	LBB0_9
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	callq	_WARN_ON
	movq	%r13, %rdx
	jmp	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_IEEE80211_VHT_MCS_SUPPORT_0_9@GOTPCREL(%rip), %rdx
	jmp	LBB0_9
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_NL80211_VHT_NSS_MAX,4,2        ## @NL80211_VHT_NSS_MAX
	.comm	_IEEE80211_VHT_MCS_NOT_SUPPORTED,4,2 ## @IEEE80211_VHT_MCS_NOT_SUPPORTED
	.comm	_IEEE80211_VHT_MCS_SUPPORT_0_7,4,2 ## @IEEE80211_VHT_MCS_SUPPORT_0_7
	.comm	_IEEE80211_VHT_MCS_SUPPORT_0_8,4,2 ## @IEEE80211_VHT_MCS_SUPPORT_0_8
	.comm	_IEEE80211_VHT_MCS_SUPPORT_0_9,4,2 ## @IEEE80211_VHT_MCS_SUPPORT_0_9
	.no_dead_strip	_ath10k_peer_assoc_h_vht_limit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_peer_assoc_h_vht_limit
_ath10k_peer_assoc_h_vht_limit:         ; @ath10k_peer_assoc_h_vht_limit
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x22, _NL80211_VHT_NSS_MAX@GOTPAGE
Lloh1:
	ldr	x22, [x22, _NL80211_VHT_NSS_MAX@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x20, x1
	mov	w23, #0
	mov	x21, #0
Lloh2:
	adrp	x24, _IEEE80211_VHT_MCS_NOT_SUPPORTED@GOTPAGE
Lloh3:
	ldr	x24, [x24, _IEEE80211_VHT_MCS_NOT_SUPPORTED@GOTPAGEOFF]
	mov	w25, #3
Lloh4:
	adrp	x27, _IEEE80211_VHT_MCS_SUPPORT_0_8@GOTPAGE
Lloh5:
	ldr	x27, [x27, _IEEE80211_VHT_MCS_SUPPORT_0_8@GOTPAGEOFF]
Lloh6:
	adrp	x28, _IEEE80211_VHT_MCS_SUPPORT_0_9@GOTPAGE
Lloh7:
	ldr	x28, [x28, _IEEE80211_VHT_MCS_SUPPORT_0_9@GOTPAGEOFF]
Lloh8:
	adrp	x26, lJTI0_0@PAGE
Lloh9:
	add	x26, x26, lJTI0_0@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
	bl	_WARN_ON
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x8, x24
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x8]
	lsl	w9, w25, w23
	bic	w9, w19, w9
	lsl	w8, w8, w23
	orr	w19, w8, w9
	add	x21, x21, #1
	ldrsw	x8, [x22]
	add	w23, w23, #2
	cmp	x21, x8
	b.ge	LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_ath10k_mac_get_max_vht_mcs_map
	ldr	w8, [x20, x21, lsl #2]
	ands	w0, w8, w0
	b.eq	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_fls
	cmp	w0, #10
	b.hi	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, w0
	adr	x9, LBB0_2
	ldrb	w10, [x26, x8]
	add	x9, x9, x10, lsl #2
	mov	x8, x24
	br	x9
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
Lloh10:
	adrp	x8, _IEEE80211_VHT_MCS_SUPPORT_0_7@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IEEE80211_VHT_MCS_SUPPORT_0_7@GOTPAGEOFF]
	b	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x8, x27
	b	LBB0_4
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x8, x28
	b	LBB0_4
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
                                        ; -- End function
	.comm	_NL80211_VHT_NSS_MAX,4,2        ; @NL80211_VHT_NSS_MAX
	.comm	_IEEE80211_VHT_MCS_NOT_SUPPORTED,4,2 ; @IEEE80211_VHT_MCS_NOT_SUPPORTED
	.comm	_IEEE80211_VHT_MCS_SUPPORT_0_7,4,2 ; @IEEE80211_VHT_MCS_SUPPORT_0_7
	.comm	_IEEE80211_VHT_MCS_SUPPORT_0_8,4,2 ; @IEEE80211_VHT_MCS_SUPPORT_0_8
	.comm	_IEEE80211_VHT_MCS_SUPPORT_0_9,4,2 ; @IEEE80211_VHT_MCS_SUPPORT_0_9
	.no_dead_strip	_ath10k_peer_assoc_h_vht_limit
.subsections_via_symbols
