	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl92d_bandtype_2_4G
_rtl92d_bandtype_2_4G:                  ## @rtl92d_bandtype_2_4G
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	callq	_rtl_priv
	movq	%rax, %r12
	movq	$0, -64(%rbp)
	leaq	-64(%rbp), %r15
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_rtl92d_acquire_cckandrw_pagea_ctl
	movq	_RCCK0_TXFILTER2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MASKDWORD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_rtl_get_bbreg
	movq	%rax, %r14
	movq	_MASKCCK@GOTPCREL(%rip), %rax
	andq	(%rax), %r14
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_rtl92d_release_cckandrw_pagea_ctl
	movq	_CCK_TABLE_LENGTH@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_7
## %bb.1:
	xorl	%ebx, %ebx
	movq	_cckswing_table_ch14@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%r12)
	movq	%r13, %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_cckswing_table_ch1ch13@GOTPCREL(%rip), %rax
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rax
	movl	16(%rax), %edi
	callq	_le32_to_cpu
	cmpq	%rax, %r14
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
	jmp	LBB0_7
LBB0_5:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
	movq	_COMP_POWER_TRACKING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_RCCK0_TXFILTER2@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str(%rip), %rcx
	movq	%r12, %rdi
	movq	%r14, %r9
	pushq	(%r12)
	pushq	%rbx
	callq	_RT_TRACE
	addq	$16, %rsp
LBB0_7:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r14, (%rax)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RCCK0_TXFILTER2,4,2            ## @RCCK0_TXFILTER2
	.comm	_MASKDWORD,4,2                  ## @MASKDWORD
	.comm	_MASKCCK,8,3                    ## @MASKCCK
	.comm	_CCK_TABLE_LENGTH,4,2           ## @CCK_TABLE_LENGTH
	.comm	_cckswing_table_ch14,8,3        ## @cckswing_table_ch14
	.comm	_cckswing_table_ch1ch13,8,3     ## @cckswing_table_ch1ch13
	.comm	_COMP_POWER_TRACKING,4,2        ## @COMP_POWER_TRACKING
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Initial reg0x%x = 0x%lx, cck_index = 0x%x, ch14 %d\n"

	.no_dead_strip	_rtl92d_bandtype_2_4G
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl92d_bandtype_2_4G
_rtl92d_bandtype_2_4G:                  ; @rtl92d_bandtype_2_4G
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x2
	mov	x19, x1
	mov	x23, x0
	bl	_rtl_priv
	mov	x20, x0
	str	xzr, [sp, #8]
	add	x1, sp, #8
	mov	x0, x23
	bl	_rtl92d_acquire_cckandrw_pagea_ctl
Lloh0:
	adrp	x24, _RCCK0_TXFILTER2@GOTPAGE
Lloh1:
	ldr	x24, [x24, _RCCK0_TXFILTER2@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh2:
	adrp	x8, _MASKDWORD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MASKDWORD@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x23
	bl	_rtl_get_bbreg
Lloh5:
	adrp	x8, _MASKCCK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MASKCCK@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	and	x22, x8, x0
	add	x1, sp, #8
	mov	x0, x23
	bl	_rtl92d_release_cckandrw_pagea_ctl
Lloh8:
	adrp	x25, _CCK_TABLE_LENGTH@GOTPAGE
Lloh9:
	ldr	x25, [x25, _CCK_TABLE_LENGTH@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x23, #0
Lloh10:
	adrp	x26, _cckswing_table_ch14@GOTPAGE
Lloh11:
	ldr	x26, [x26, _cckswing_table_ch14@GOTPAGEOFF]
Lloh12:
	adrp	x27, _cckswing_table_ch1ch13@GOTPAGE
Lloh13:
	ldr	x27, [x27, _cckswing_table_ch1ch13@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	cmp	x8, #0
	csel	x8, x27, x26, eq
	ldr	x8, [x8]
	ldr	x8, [x8, x23, lsl #3]
	ldr	w0, [x8, #16]
	bl	_le32_to_cpu
	cmp	x22, x0
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x25]
	cmp	x23, x8
	b.lt	LBB0_2
	b	LBB0_5
LBB0_4:
	str	x23, [x21]
Lloh14:
	adrp	x8, _COMP_POWER_TRACKING@GOTPAGE
Lloh15:
	ldr	x8, [x8, _COMP_POWER_TRACKING@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	ldr	w4, [x24]
	ldr	x7, [x20]
Lloh20:
	adrp	x3, l_.str@PAGE
Lloh21:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	mov	x5, x22
	mov	x6, x23
	bl	_RT_TRACE
LBB0_5:
	str	x22, [x19]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_RCCK0_TXFILTER2,4,2            ; @RCCK0_TXFILTER2
	.comm	_MASKDWORD,4,2                  ; @MASKDWORD
	.comm	_MASKCCK,8,3                    ; @MASKCCK
	.comm	_CCK_TABLE_LENGTH,4,2           ; @CCK_TABLE_LENGTH
	.comm	_cckswing_table_ch14,8,3        ; @cckswing_table_ch14
	.comm	_cckswing_table_ch1ch13,8,3     ; @cckswing_table_ch1ch13
	.comm	_COMP_POWER_TRACKING,4,2        ; @COMP_POWER_TRACKING
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Initial reg0x%x = 0x%lx, cck_index = 0x%x, ch14 %d\n"

	.no_dead_strip	_rtl92d_bandtype_2_4G
.subsections_via_symbols
