	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8723be_dm_cck_packet_detection_thresh
_rtl8723be_dm_cck_packet_detection_thresh: ## @rtl8723be_dm_cck_packet_detection_thresh
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_rtl_priv
	movq	%rax, %r14
	movq	8(%rax), %rax
	movq	_MAC80211_LINKED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_3
## %bb.1:
	movl	16(%r14), %eax
	movl	$205, %ebx
	cmpl	$25, %eax
	jg	LBB0_4
## %bb.2:
	movl	$131, %ebx
	cmpl	$10, %eax
	jg	LBB0_4
LBB0_3:
	cmpl	$1001, (%r14)                   ## imm = 0x3E9
	movl	$131, %eax
	movl	$64, %ebx
	cmovgel	%eax, %ebx
LBB0_4:
	movl	%ebx, %eax
	cmpl	%ebx, 20(%r14)
	je	LBB0_6
## %bb.5:
	movq	_RCCK0_CCA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MASKBYTE2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%ebx, %ecx
	callq	_rtl_set_bbreg
	movl	20(%r14), %eax
LBB0_6:
	movl	%eax, 24(%r14)
	movl	%ebx, 20(%r14)
	movq	_COMP_DIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	movl	%ebx, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RT_TRACE                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAC80211_LINKED,8,3            ## @MAC80211_LINKED
	.comm	_RCCK0_CCA,4,2                  ## @RCCK0_CCA
	.comm	_MASKBYTE2,4,2                  ## @MASKBYTE2
	.comm	_COMP_DIG,4,2                   ## @COMP_DIG
	.comm	_DBG_TRACE,4,2                  ## @DBG_TRACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CCK cca thresh hold =%x\n"

	.no_dead_strip	_rtl8723be_dm_cck_packet_detection_thresh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8723be_dm_cck_packet_detection_thresh
_rtl8723be_dm_cck_packet_detection_thresh: ; @rtl8723be_dm_cck_packet_detection_thresh
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
	bl	_rtl_priv
	mov	x19, x0
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _MAC80211_LINKED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAC80211_LINKED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_5
; %bb.1:
	ldr	w8, [x19, #16]
	cmp	w8, #25
	b.le	LBB0_3
; %bb.2:
	mov	w21, #205
	b	LBB0_6
LBB0_3:
	cmp	w8, #10
	b.le	LBB0_5
; %bb.4:
	mov	w21, #131
	b	LBB0_6
LBB0_5:
	ldr	w8, [x19]
	mov	w9, #64
	mov	w10, #131
	cmp	w8, #1000
	csel	w21, w10, w9, gt
LBB0_6:
	ldr	w9, [x19, #20]
	mov	x8, x21
	cmp	w9, w21
	b.eq	LBB0_8
; %bb.7:
Lloh3:
	adrp	x8, _RCCK0_CCA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RCCK0_CCA@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _MASKBYTE2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MASKBYTE2@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x3, x21
	bl	_rtl_set_bbreg
	ldr	w8, [x19, #20]
LBB0_8:
Lloh9:
	adrp	x9, _COMP_DIG@GOTPAGE
Lloh10:
	ldr	x9, [x9, _COMP_DIG@GOTPAGEOFF]
	stp	w21, w8, [x19, #20]
Lloh11:
	ldr	w1, [x9]
Lloh12:
	adrp	x8, _DBG_TRACE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DBG_TRACE@GOTPAGEOFF]
Lloh14:
	adrp	x3, l_.str@PAGE
Lloh15:
	add	x3, x3, l_.str@PAGEOFF
Lloh16:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x4, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_RT_TRACE
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MAC80211_LINKED,8,3            ; @MAC80211_LINKED
	.comm	_RCCK0_CCA,4,2                  ; @RCCK0_CCA
	.comm	_MASKBYTE2,4,2                  ; @MASKBYTE2
	.comm	_COMP_DIG,4,2                   ; @COMP_DIG
	.comm	_DBG_TRACE,4,2                  ; @DBG_TRACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CCK cca thresh hold =%x\n"

	.no_dead_strip	_rtl8723be_dm_cck_packet_detection_thresh
.subsections_via_symbols
