	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function minstrel_ht_update_cck
_minstrel_ht_update_cck:                ## @minstrel_ht_update_cck
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	(%rdx), %rsi
	movq	_IEEE80211_BAND_2GHZ@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jne	LBB0_15
## %bb.1:
	movq	%rcx, %r15
	movq	%rdi, %r12
	movq	8(%rdi), %rax
	movq	_IEEE80211_HW_SUPPORTS_HT_CCK_RATES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_15
## %bb.2:
	movq	%rdx, %rbx
	movl	$0, (%r14)
	movl	$0, 16(%r14)
	movq	(%r12), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_rate_supported
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	xorl	%edi, %edi
	callq	_BIT
	orl	%eax, (%r14)
	movq	8(%rbx), %rax
	movq	_IEEE80211_RATE_SHORT_PREAMBLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_5
## %bb.4:
	xorl	%edi, %edi
	callq	_BIT
	orl	%eax, 16(%r14)
LBB0_5:
	movq	(%rbx), %rsi
	movq	(%r12), %rax
	movl	4(%rax), %edx
	movq	%r15, %rdi
	callq	_rate_supported
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	movl	$1, %edi
	callq	_BIT
	orl	%eax, (%r14)
	movq	8(%rbx), %rax
	movq	_IEEE80211_RATE_SHORT_PREAMBLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 4(%rax)
	je	LBB0_8
## %bb.7:
	movl	$1, %edi
	callq	_BIT
	orl	%eax, 16(%r14)
LBB0_8:
	movq	(%rbx), %rsi
	movq	(%r12), %rax
	movl	8(%rax), %edx
	movq	%r15, %rdi
	callq	_rate_supported
	testl	%eax, %eax
	je	LBB0_11
## %bb.9:
	movl	$2, %edi
	callq	_BIT
	orl	%eax, (%r14)
	movq	8(%rbx), %rax
	movq	_IEEE80211_RATE_SHORT_PREAMBLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 8(%rax)
	je	LBB0_11
## %bb.10:
	movl	$2, %edi
	callq	_BIT
	orl	%eax, 16(%r14)
LBB0_11:
	movq	(%rbx), %rsi
	movq	(%r12), %rax
	movl	12(%rax), %edx
	movq	%r15, %rdi
	callq	_rate_supported
	testl	%eax, %eax
	je	LBB0_14
## %bb.12:
	movl	$3, %edi
	callq	_BIT
	orl	%eax, (%r14)
	movq	8(%rbx), %rax
	movq	_IEEE80211_RATE_SHORT_PREAMBLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 12(%rax)
	je	LBB0_14
## %bb.13:
	movl	$3, %edi
	callq	_BIT
	orl	%eax, 16(%r14)
LBB0_14:
	movl	(%r14), %eax
	movq	8(%r14), %rcx
	movq	_MINSTREL_CCK_GROUP@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%eax, (%rcx,%rdx,4)
LBB0_15:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_BAND_2GHZ,8,3        ## @IEEE80211_BAND_2GHZ
	.comm	_IEEE80211_HW_SUPPORTS_HT_CCK_RATES,4,2 ## @IEEE80211_HW_SUPPORTS_HT_CCK_RATES
	.comm	_IEEE80211_RATE_SHORT_PREAMBLE,4,2 ## @IEEE80211_RATE_SHORT_PREAMBLE
	.comm	_MINSTREL_CCK_GROUP,8,3         ## @MINSTREL_CCK_GROUP
	.no_dead_strip	_minstrel_ht_update_cck
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function minstrel_ht_update_cck
_minstrel_ht_update_cck:                ; @minstrel_ht_update_cck
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	ldr	x1, [x2]
Lloh0:
	adrp	x8, _IEEE80211_BAND_2GHZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_BAND_2GHZ@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x1, x8
	b.ne	LBB0_15
; %bb.1:
	mov	x22, x0
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _IEEE80211_HW_SUPPORTS_HT_CCK_RATES@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_HW_SUPPORTS_HT_CCK_RATES@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.2:
	mov	x21, x3
	mov	x20, x2
	str	wzr, [x19]
	str	wzr, [x19, #16]
	ldr	x8, [x22]
	ldr	w2, [x8]
	mov	x0, x3
	bl	_rate_supported
Lloh6:
	adrp	x23, _IEEE80211_RATE_SHORT_PREAMBLE@GOTPAGE
Lloh7:
	ldr	x23, [x23, _IEEE80211_RATE_SHORT_PREAMBLE@GOTPAGEOFF]
	cbz	w0, LBB0_5
; %bb.3:
	mov	w0, #0
	bl	_BIT
	ldr	w8, [x19]
	orr	w8, w8, w0
	str	w8, [x19]
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	mov	w0, #0
	bl	_BIT
	ldr	w8, [x19, #16]
	orr	w8, w8, w0
	str	w8, [x19, #16]
LBB0_5:
	ldr	x1, [x20]
	ldr	x8, [x22]
	ldr	w2, [x8, #4]
	mov	x0, x21
	bl	_rate_supported
	cbz	w0, LBB0_8
; %bb.6:
	mov	w0, #1
	bl	_BIT
	ldr	w8, [x19]
	orr	w8, w8, w0
	str	w8, [x19]
	ldr	x8, [x20, #8]
	ldr	w8, [x8, #4]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	mov	w0, #1
	bl	_BIT
	ldr	w8, [x19, #16]
	orr	w8, w8, w0
	str	w8, [x19, #16]
LBB0_8:
	ldr	x1, [x20]
	ldr	x8, [x22]
	ldr	w2, [x8, #8]
	mov	x0, x21
	bl	_rate_supported
	cbz	w0, LBB0_11
; %bb.9:
	mov	w0, #2
	bl	_BIT
	ldr	w8, [x19]
	orr	w8, w8, w0
	str	w8, [x19]
	ldr	x8, [x20, #8]
	ldr	w8, [x8, #8]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.10:
	mov	w0, #2
	bl	_BIT
	ldr	w8, [x19, #16]
	orr	w8, w8, w0
	str	w8, [x19, #16]
LBB0_11:
	ldr	x1, [x20]
	ldr	x8, [x22]
	ldr	w2, [x8, #12]
	mov	x0, x21
	bl	_rate_supported
	cbz	w0, LBB0_14
; %bb.12:
	mov	w0, #3
	bl	_BIT
	ldr	w8, [x19]
	orr	w8, w8, w0
	str	w8, [x19]
	ldr	x8, [x20, #8]
	ldr	w8, [x8, #12]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.13:
	mov	w0, #3
	bl	_BIT
	ldr	w8, [x19, #16]
	orr	w8, w8, w0
	str	w8, [x19, #16]
LBB0_14:
	ldr	w8, [x19]
	ldr	x9, [x19, #8]
Lloh8:
	adrp	x10, _MINSTREL_CCK_GROUP@GOTPAGE
Lloh9:
	ldr	x10, [x10, _MINSTREL_CCK_GROUP@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	str	w8, [x9, x10, lsl #2]
LBB0_15:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_BAND_2GHZ,8,3        ; @IEEE80211_BAND_2GHZ
	.comm	_IEEE80211_HW_SUPPORTS_HT_CCK_RATES,4,2 ; @IEEE80211_HW_SUPPORTS_HT_CCK_RATES
	.comm	_IEEE80211_RATE_SHORT_PREAMBLE,4,2 ; @IEEE80211_RATE_SHORT_PREAMBLE
	.comm	_MINSTREL_CCK_GROUP,8,3         ; @MINSTREL_CCK_GROUP
	.no_dead_strip	_minstrel_ht_update_cck
.subsections_via_symbols
