	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtw_phy_cck_pd
_rtw_phy_cck_pd:                        ## @rtw_phy_cck_pd
	.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	(%rdi), %rax
	movq	_RTW_BAND_2G@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	movl	16(%rdi), %eax
	movl	20(%rdi), %ecx
	movq	_CCK_FA_AVG_RESET@GOTPCREL(%rip), %rdx
	leal	(%rcx,%rcx,2), %esi
	addl	%eax, %esi
	sarl	$2, %esi
	cmpl	(%rdx), %ecx
	movq	8(%rdi), %r14
	cmovel	%eax, %esi
	movl	%esi, 20(%rdi)
	callq	_rtw_phy_cck_pd_lv
	movq	_CCK_PD_LV_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_3
## %bb.2:
	movq	(%r14), %rcx
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rcx                           ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTW_BAND_2G,8,3                ## @RTW_BAND_2G
	.comm	_CCK_FA_AVG_RESET,4,2           ## @CCK_FA_AVG_RESET
	.comm	_CCK_PD_LV_MAX,8,3              ## @CCK_PD_LV_MAX
	.no_dead_strip	_rtw_phy_cck_pd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtw_phy_cck_pd
_rtw_phy_cck_pd:                        ; @rtw_phy_cck_pd
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _RTW_BAND_2G@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RTW_BAND_2G@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x20, [x0, #8]
	ldp	w8, w9, [x0, #16]
Lloh3:
	adrp	x10, _CCK_FA_AVG_RESET@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CCK_FA_AVG_RESET@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	add	w11, w9, w9, lsl #1
	add	w11, w11, w8
	asr	w11, w11, #2
	cmp	w9, w10
	csel	w8, w8, w11, eq
	str	w8, [x0, #20]
	bl	_rtw_phy_cck_pd_lv
Lloh6:
	adrp	x8, _CCK_PD_LV_MAX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CCK_PD_LV_MAX@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_4
; %bb.2:
	ldr	x8, [x20]
	ldr	x2, [x8]
	cbz	x2, LBB0_4
; %bb.3:
	mov	x1, x0
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x2
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_RTW_BAND_2G,8,3                ; @RTW_BAND_2G
	.comm	_CCK_FA_AVG_RESET,4,2           ; @CCK_FA_AVG_RESET
	.comm	_CCK_PD_LV_MAX,8,3              ; @CCK_PD_LV_MAX
	.no_dead_strip	_rtw_phy_cck_pd
.subsections_via_symbols
