	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtw_coex_wl_noisy_detect
_rtw_coex_wl_noisy_detect:              ## @rtw_coex_wl_noisy_detect
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$0, 20(%rdi)
	je	LBB0_1
## %bb.22:
	popq	%rbp
	retq
LBB0_1:
	movl	4(%rdi), %ecx
	addl	(%rdi), %ecx
	cmpl	$251, %ecx
	jl	LBB0_6
## %bb.2:
	movq	8(%rdi), %rax
	movq	_COEX_CNT_WL_NOISY2@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movl	(%rax,%rdx,4), %ecx
	cmpl	$4, %ecx
	jg	LBB0_4
## %bb.3:
	incl	%ecx
	movl	%ecx, (%rax,%rdx,4)
LBB0_4:
	cmpl	$5, %ecx
	jne	LBB0_17
## %bb.5:
	movq	_COEX_CNT_WL_NOISY1@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_6:
	movq	8(%rdi), %rax
	cmpl	$99, %ecx
	jg	LBB0_11
## %bb.7:
	movq	_COEX_CNT_WL_NOISY0@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movl	(%rax,%rdx,4), %ecx
	cmpl	$4, %ecx
	jg	LBB0_9
## %bb.8:
	incl	%ecx
	movl	%ecx, (%rax,%rdx,4)
LBB0_9:
	cmpl	$5, %ecx
	jne	LBB0_17
## %bb.10:
	movq	_COEX_CNT_WL_NOISY2@GOTPCREL(%rip), %rcx
	movq	_COEX_CNT_WL_NOISY1@GOTPCREL(%rip), %rdx
	jmp	LBB0_16
LBB0_11:
	movq	_COEX_CNT_WL_NOISY1@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movl	(%rax,%rdx,4), %ecx
	cmpl	$4, %ecx
	jg	LBB0_13
## %bb.12:
	incl	%ecx
	movl	%ecx, (%rax,%rdx,4)
LBB0_13:
	cmpl	$5, %ecx
	jne	LBB0_17
## %bb.14:
	movq	_COEX_CNT_WL_NOISY2@GOTPCREL(%rip), %rcx
LBB0_15:
	movq	_COEX_CNT_WL_NOISY0@GOTPCREL(%rip), %rdx
LBB0_16:
	movq	(%rdx), %rdx
	movl	$0, (%rax,%rdx,4)
	movq	(%rcx), %rcx
	movl	$0, (%rax,%rcx,4)
LBB0_17:
	movq	_COEX_CNT_WL_NOISY2@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$5, (%rax,%rcx,4)
	jne	LBB0_19
## %bb.18:
	movl	$2, 16(%rdi)
	popq	%rbp
	retq
LBB0_19:
	movq	_COEX_CNT_WL_NOISY1@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$5, (%rax,%rcx,4)
	jne	LBB0_21
## %bb.20:
	movl	$1, 16(%rdi)
	popq	%rbp
	retq
LBB0_21:
	movl	$0, 16(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COEX_CNT_WL_NOISY2,8,3         ## @COEX_CNT_WL_NOISY2
	.comm	_COEX_CNT_WL_NOISY0,8,3         ## @COEX_CNT_WL_NOISY0
	.comm	_COEX_CNT_WL_NOISY1,8,3         ## @COEX_CNT_WL_NOISY1
	.no_dead_strip	_rtw_coex_wl_noisy_detect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtw_coex_wl_noisy_detect
_rtw_coex_wl_noisy_detect:              ; @rtw_coex_wl_noisy_detect
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0, #20]
	cbz	w8, LBB0_2
; %bb.1:
	ret
LBB0_2:
	ldp	w8, w9, [x0]
	add	w10, w9, w8
Lloh0:
	adrp	x9, _COEX_CNT_WL_NOISY2@GOTPAGE
Lloh1:
	ldr	x9, [x9, _COEX_CNT_WL_NOISY2@GOTPAGEOFF]
	cmp	w10, #251
	b.lt	LBB0_7
; %bb.3:
	ldr	x8, [x0, #8]
	ldr	x11, [x9]
	ldr	w10, [x8, x11, lsl #2]
	cmp	w10, #4
	b.gt	LBB0_5
; %bb.4:
	add	w10, w10, #1
	str	w10, [x8, x11, lsl #2]
LBB0_5:
	cmp	w10, #5
	b.ne	LBB0_18
; %bb.6:
Lloh2:
	adrp	x10, _COEX_CNT_WL_NOISY1@GOTPAGE
Lloh3:
	ldr	x10, [x10, _COEX_CNT_WL_NOISY1@GOTPAGEOFF]
	b	LBB0_16
LBB0_7:
	ldr	x8, [x0, #8]
	cmp	w10, #99
	b.gt	LBB0_12
; %bb.8:
Lloh4:
	adrp	x10, _COEX_CNT_WL_NOISY0@GOTPAGE
Lloh5:
	ldr	x10, [x10, _COEX_CNT_WL_NOISY0@GOTPAGEOFF]
Lloh6:
	ldr	x11, [x10]
	ldr	w10, [x8, x11, lsl #2]
	cmp	w10, #4
	b.gt	LBB0_10
; %bb.9:
	add	w10, w10, #1
	str	w10, [x8, x11, lsl #2]
LBB0_10:
	cmp	w10, #5
	b.ne	LBB0_18
; %bb.11:
Lloh7:
	adrp	x10, _COEX_CNT_WL_NOISY2@GOTPAGE
Lloh8:
	ldr	x10, [x10, _COEX_CNT_WL_NOISY2@GOTPAGEOFF]
Lloh9:
	adrp	x11, _COEX_CNT_WL_NOISY1@GOTPAGE
Lloh10:
	ldr	x11, [x11, _COEX_CNT_WL_NOISY1@GOTPAGEOFF]
	b	LBB0_17
LBB0_12:
Lloh11:
	adrp	x10, _COEX_CNT_WL_NOISY1@GOTPAGE
Lloh12:
	ldr	x10, [x10, _COEX_CNT_WL_NOISY1@GOTPAGEOFF]
Lloh13:
	ldr	x11, [x10]
	ldr	w10, [x8, x11, lsl #2]
	cmp	w10, #4
	b.gt	LBB0_14
; %bb.13:
	add	w10, w10, #1
	str	w10, [x8, x11, lsl #2]
LBB0_14:
	cmp	w10, #5
	b.ne	LBB0_18
; %bb.15:
Lloh14:
	adrp	x10, _COEX_CNT_WL_NOISY2@GOTPAGE
Lloh15:
	ldr	x10, [x10, _COEX_CNT_WL_NOISY2@GOTPAGEOFF]
LBB0_16:
Lloh16:
	adrp	x11, _COEX_CNT_WL_NOISY0@GOTPAGE
Lloh17:
	ldr	x11, [x11, _COEX_CNT_WL_NOISY0@GOTPAGEOFF]
LBB0_17:
	ldr	x11, [x11]
	str	wzr, [x8, x11, lsl #2]
	ldr	x10, [x10]
	str	wzr, [x8, x10, lsl #2]
LBB0_18:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cmp	w9, #5
	b.ne	LBB0_20
; %bb.19:
	mov	w8, #2
	str	w8, [x0, #16]
	ret
LBB0_20:
Lloh18:
	adrp	x9, _COEX_CNT_WL_NOISY1@GOTPAGE
Lloh19:
	ldr	x9, [x9, _COEX_CNT_WL_NOISY1@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	cmp	w8, #5
	b.ne	LBB0_22
; %bb.21:
	mov	w8, #1
	str	w8, [x0, #16]
	ret
LBB0_22:
	str	wzr, [x0, #16]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_COEX_CNT_WL_NOISY2,8,3         ; @COEX_CNT_WL_NOISY2
	.comm	_COEX_CNT_WL_NOISY0,8,3         ; @COEX_CNT_WL_NOISY0
	.comm	_COEX_CNT_WL_NOISY1,8,3         ; @COEX_CNT_WL_NOISY1
	.no_dead_strip	_rtw_coex_wl_noisy_detect
.subsections_via_symbols
