	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtw_coex_update_wl_link_info
_rtw_coex_update_wl_link_info:          ## @rtw_coex_update_wl_link_info
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	32(%rdi), %r12
	movq	_RTW_FLAG_SCANNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_rtw_flag_check
	movq	%rax, %r15
	xorl	%eax, %eax
	cmpl	$0, 8(%rbx)
	setne	%al
	movl	%eax, 56(%rbx)
	movq	_RTW_FLAG_BUSY_TRAFFIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rtw_flag_check
	movq	%rax, 72(%rbx)
	movq	16(%rbx), %rax
	cmpq	24(%rbx), %rax
	jle	LBB0_1
## %bb.2:
	movq	_COEX_WL_TPUT_TX@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_COEX_WL_TPUT_RX@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, 64(%rbx)
	testl	%r15d, %r15d
	setne	%al
	leal	-131(%r14), %ecx
	cmpl	$3, %ecx
	setb	%cl
	orb	%al, %cl
	movzbl	%cl, %eax
	movl	%eax, 60(%rbx)
	movq	%rbx, %rdi
	callq	_rtw_coex_wl_noisy_detect
	movq	48(%rbx), %rax
	movl	(%rax), %esi
	movq	(%r12), %rax
	movl	(%rax), %ecx
	movl	4(%rbx), %edx
	movq	%rbx, %rdi
	callq	_rtw_coex_next_rssi_state
	movq	48(%rbx), %rcx
	movl	%eax, (%rcx)
	movl	4(%rcx), %esi
	movq	(%r12), %rax
	movl	4(%rax), %ecx
	movl	4(%rbx), %edx
	movq	%rbx, %rdi
	callq	_rtw_coex_next_rssi_state
	movq	48(%rbx), %rcx
	movl	%eax, 4(%rcx)
	movl	8(%rcx), %esi
	movq	(%r12), %rax
	movl	8(%rax), %ecx
	movl	4(%rbx), %edx
	movq	%rbx, %rdi
	callq	_rtw_coex_next_rssi_state
	movq	48(%rbx), %rcx
	movl	%eax, 8(%rcx)
	movl	12(%rcx), %esi
	movq	(%r12), %rax
	movl	12(%rax), %ecx
	movl	4(%rbx), %edx
	movq	%rbx, %rdi
	callq	_rtw_coex_next_rssi_state
	movq	48(%rbx), %rcx
	movl	%eax, 12(%rcx)
	addl	$-128, %r14d
	cmpl	$6, %r14d
	jae	LBB0_4
## %bb.5:
	movslq	%r14d, %rax
	leaq	l_switch.table.rtw_coex_update_wl_link_info(%rip), %rcx
	movl	(%rcx,%rax,4), %eax
	jmp	LBB0_6
LBB0_4:
	movl	(%rbx), %ecx
	movq	_RTW_BAND_5G@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpl	(%rdx), %ecx
	sete	%al
LBB0_6:
	movl	%eax, 40(%rbx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTW_FLAG_SCANNING,4,2          ## @RTW_FLAG_SCANNING
	.comm	_RTW_FLAG_BUSY_TRAFFIC,4,2      ## @RTW_FLAG_BUSY_TRAFFIC
	.comm	_COEX_WL_TPUT_TX,4,2            ## @COEX_WL_TPUT_TX
	.comm	_COEX_WL_TPUT_RX,4,2            ## @COEX_WL_TPUT_RX
	.comm	_RTW_BAND_5G,4,2                ## @RTW_BAND_5G
	.no_dead_strip	_rtw_coex_update_wl_link_info
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.rtw_coex_update_wl_link_info
l_switch.table.rtw_coex_update_wl_link_info:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtw_coex_update_wl_link_info
_rtw_coex_update_wl_link_info:          ; @rtw_coex_update_wl_link_info
	.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, x1
	mov	x19, x0
	ldr	x22, [x0, #32]
Lloh0:
	adrp	x8, _RTW_FLAG_SCANNING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RTW_FLAG_SCANNING@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_rtw_flag_check
	mov	x21, x0
	ldr	w8, [x19, #8]
	cmp	w8, #0
	cset	w8, ne
	str	w8, [x19, #56]
Lloh3:
	adrp	x8, _RTW_FLAG_BUSY_TRAFFIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RTW_FLAG_BUSY_TRAFFIC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rtw_flag_check
	str	x0, [x19, #72]
Lloh6:
	adrp	x8, _COEX_WL_TPUT_TX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _COEX_WL_TPUT_TX@GOTPAGEOFF]
	ldp	x9, x10, [x19, #16]
Lloh8:
	adrp	x11, _COEX_WL_TPUT_RX@GOTPAGE
Lloh9:
	ldr	x11, [x11, _COEX_WL_TPUT_RX@GOTPAGEOFF]
	cmp	x9, x10
	csel	x8, x8, x11, gt
	ldr	w8, [x8]
	sub	w9, w20, #131
	cmp	w9, #3
	ccmp	w21, #0, #0, hs
	cset	w9, ne
	stp	w9, w8, [x19, #60]
	mov	x0, x19
	bl	_rtw_coex_wl_noisy_detect
	ldr	x8, [x19, #48]
	ldr	w1, [x8]
	ldr	x8, [x22]
	ldr	w3, [x8]
	ldr	w2, [x19, #4]
	mov	x0, x19
	bl	_rtw_coex_next_rssi_state
	ldr	x8, [x19, #48]
	str	w0, [x8]
	ldr	w1, [x8, #4]
	ldr	x8, [x22]
	ldr	w3, [x8, #4]
	ldr	w2, [x19, #4]
	mov	x0, x19
	bl	_rtw_coex_next_rssi_state
	ldr	x8, [x19, #48]
	str	w0, [x8, #4]
	ldr	w1, [x8, #8]
	ldr	x8, [x22]
	ldr	w3, [x8, #8]
	ldr	w2, [x19, #4]
	mov	x0, x19
	bl	_rtw_coex_next_rssi_state
	ldr	x8, [x19, #48]
	str	w0, [x8, #8]
	ldr	w1, [x8, #12]
	ldr	x8, [x22]
	ldr	w3, [x8, #12]
	ldr	w2, [x19, #4]
	mov	x0, x19
	bl	_rtw_coex_next_rssi_state
	ldr	x8, [x19, #48]
	str	w0, [x8, #12]
	sub	w8, w20, #128
	cmp	w8, #6
	b.hs	LBB0_2
; %bb.1:
Lloh10:
	adrp	x9, l_switch.table.rtw_coex_update_wl_link_info@PAGE
Lloh11:
	add	x9, x9, l_switch.table.rtw_coex_update_wl_link_info@PAGEOFF
	ldr	w8, [x9, w8, sxtw #2]
	b	LBB0_3
LBB0_2:
	ldr	w8, [x19]
Lloh12:
	adrp	x9, _RTW_BAND_5G@GOTPAGE
Lloh13:
	ldr	x9, [x9, _RTW_BAND_5G@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w8, eq
LBB0_3:
	str	w8, [x19, #40]
	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
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_RTW_FLAG_SCANNING,4,2          ; @RTW_FLAG_SCANNING
	.comm	_RTW_FLAG_BUSY_TRAFFIC,4,2      ; @RTW_FLAG_BUSY_TRAFFIC
	.comm	_COEX_WL_TPUT_TX,4,2            ; @COEX_WL_TPUT_TX
	.comm	_COEX_WL_TPUT_RX,4,2            ; @COEX_WL_TPUT_RX
	.comm	_RTW_BAND_5G,4,2                ; @RTW_BAND_5G
	.no_dead_strip	_rtw_coex_update_wl_link_info
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.rtw_coex_update_wl_link_info
l_switch.table.rtw_coex_update_wl_link_info:
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0

.subsections_via_symbols
