	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtw_coex_bt_info_notify        ## -- Begin function rtw_coex_bt_info_notify
	.p2align	4, 0x90
_rtw_coex_bt_info_notify:               ## @rtw_coex_bt_info_notify
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r13
	movq	%rdi, %r14
	movl	(%rsi), %ebx
	andl	$15, %ebx
	movq	_COEX_BTINFO_SRC_MAX@GOTPCREL(%rip), %rax
	movq	_COEX_BTINFO_SRC_WL_FW@GOTPCREL(%rip), %r12
	cmpl	(%rax), %ebx
	jl	LBB0_2
## %bb.1:
	movl	(%r12), %ebx
LBB0_2:
	movq	_COEX_BTINFO_SRC_BT_IQK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_9
## %bb.3:
	movl	4(%r13), %eax
	movl	%eax, 24(%r14)
	cmpl	$2, %eax
	je	LBB0_8
## %bb.4:
	cmpl	$1, %eax
	jne	LBB0_7
## %bb.5:
	movq	32(%r14), %rax
	movq	_COEX_CNT_BT_IQK@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_9:
	movq	_COEX_BTINFO_SRC_BT_SCBD@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_13
## %bb.10:
	movq	%r14, %rdi
	callq	_rtw_coex_monitor_bt_enable
	movl	40(%r14), %eax
	cmpl	44(%r14), %eax
	je	LBB0_7
## %bb.11:
	movl	%eax, 44(%r14)
	jmp	LBB0_12
LBB0_13:
	movq	8(%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_COEX_BTINFO_SRC_BT_RSP@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_15
## %bb.14:
	movq	_COEX_BTINFO_SRC_BT_ACT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_17
LBB0_15:
	cmpl	$0, 40(%r14)
	je	LBB0_17
## %bb.16:
	movl	$0, 40(%r14)
	movl	$1, 48(%r14)
	movl	(%r14), %edi
	leaq	20(%r14), %rsi
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rax,%rax,4), %rax
	leaq	(%rax,%rax,2), %rdx
	callq	_ieee80211_queue_delayed_work
LBB0_17:
	movslq	%ebx, %r8
	testl	%r15d, %r15d
	jle	LBB0_22
## %bb.18:
	movq	_COEX_BTINFO_LENGTH_MAX@GOTPCREL(%rip), %r9
	cmpl	$0, (%r9)
	jle	LBB0_22
## %bb.19:
	movq	56(%r14), %rdx
	movq	(%rdx,%r8,8), %rdx
	movl	%r15d, %esi
	movl	$1, %edi
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movl	-4(%r13,%rdi,4), %eax
	movl	%eax, -4(%rdx,%rdi,4)
	cmpq	%rsi, %rdi
	jae	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	leaq	1(%rdi), %rax
	movslq	(%r9), %rcx
	cmpq	%rcx, %rdi
	movq	%rax, %rdi
	jl	LBB0_20
LBB0_22:
	cmpl	(%r12), %ebx
	je	LBB0_23
## %bb.24:
	movq	56(%r14), %rax
	movq	(%rax,%r8,8), %rax
	movl	4(%rax), %r15d
	cmpl	64(%r14), %r15d
	jne	LBB0_30
## %bb.25:
	movl	8(%rax), %ecx
	cmpl	68(%r14), %ecx
	jne	LBB0_30
## %bb.26:
	movl	12(%rax), %ecx
	cmpl	72(%r14), %ecx
	jne	LBB0_30
## %bb.27:
	movl	16(%rax), %ecx
	cmpl	76(%r14), %ecx
	jne	LBB0_30
## %bb.28:
	movl	20(%rax), %ecx
	cmpl	80(%r14), %ecx
	jne	LBB0_30
## %bb.29:
	movl	24(%rax), %ecx
	cmpl	84(%r14), %ecx
	je	LBB0_7
LBB0_30:
	movl	%r15d, 64(%r14)
	movl	8(%rax), %ecx
	movl	%ecx, 68(%r14)
	movl	12(%rax), %ecx
	movl	%ecx, 72(%r14)
	movl	16(%rax), %ecx
	movl	%ecx, 76(%r14)
	movl	20(%rax), %ecx
	movl	%ecx, 80(%r14)
	movl	24(%rax), %eax
	movl	%eax, 84(%r14)
	xorl	%eax, %eax
	cmpl	$255, %r15d
	sete	%al
	movl	%eax, 88(%r14)
	movl	$2, %edi
	callq	_BIT
	movl	%eax, %ebx
	andl	%r15d, %ebx
	movl	$2, %edi
	callq	_BIT
	xorl	%ecx, %ecx
	cmpl	%eax, %ebx
	sete	%cl
	movl	%ecx, 92(%r14)
	movl	64(%r14), %r15d
	movl	$3, %edi
	callq	_BIT
	movl	%eax, %ebx
	andl	%r15d, %ebx
	movl	$3, %edi
	callq	_BIT
	xorl	%ecx, %ecx
	cmpl	%eax, %ebx
	sete	%cl
	movl	%ecx, 96(%r14)
	movl	68(%r14), %ecx
	movq	32(%r14), %rax
	movq	_COEX_CNT_BT_RETRY@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	andl	$15, %ecx
	movl	%ecx, (%rax,%rdx,4)
	je	LBB0_32
## %bb.31:
	movq	_COEX_CNT_BT_POPEVENT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	incl	(%rax,%rcx,4)
LBB0_32:
	movl	68(%r14), %r15d
	movl	$4, %edi
	callq	_BIT
	movl	%eax, %ebx
	andl	%r15d, %ebx
	movl	$4, %edi
	callq	_BIT
	xorl	%ecx, %ecx
	cmpl	%eax, %ebx
	sete	%cl
	movl	%ecx, 100(%r14)
	movl	68(%r14), %r15d
	movl	$5, %edi
	callq	_BIT
	movl	%eax, %ebx
	andl	%r15d, %ebx
	movl	$5, %edi
	callq	_BIT
	xorl	%ecx, %ecx
	cmpl	%eax, %ebx
	sete	%cl
	movl	%ecx, 104(%r14)
	jne	LBB0_34
## %bb.33:
	movq	32(%r14), %rax
	movq	_COEX_CNT_BT_INQ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	incl	(%rax,%rcx,4)
LBB0_34:
	movl	68(%r14), %r15d
	movl	$7, %edi
	callq	_BIT
	movl	%eax, %ebx
	andl	%r15d, %ebx
	movl	$7, %edi
	callq	_BIT
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	cmpl	%eax, %ebx
	sete	%cl
	movl	%ecx, 108(%r14)
	jne	LBB0_39
## %bb.35:
	movq	32(%r14), %rax
	movq	_COEX_CNT_BT_PAGE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	incl	(%rax,%rcx,4)
	movl	$1, %edx
	cmpq	$0, 200(%r14)
	jne	LBB0_39
## %bb.36:
	cmpq	$0, 192(%r14)
	jne	LBB0_39
## %bb.37:
	cmpq	$0, 184(%r14)
	jne	LBB0_39
## %bb.38:
	xorl	%edx, %edx
	cmpq	$0, 176(%r14)
	setne	%dl
LBB0_39:
	movq	_COEX_SCBD_SCAN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_rtw_coex_write_scbd
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rcx
	movq	_COEX_BTRSSI_RATIO@GOTPCREL(%rip), %rdx
	movl	72(%r14), %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_41
## %bb.40:
	leal	(%rax,%rax), %ecx
	addl	$10, %ecx
	jmp	LBB0_43
LBB0_8:
	movq	32(%r14), %rax
	movq	_COEX_CNT_BT_IQKFAIL@GOTPCREL(%rip), %rcx
LBB0_6:
	movq	(%rcx), %rcx
	incl	(%rax,%rcx,4)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_41:
	movl	$100, %ecx
	cmpl	$128, %eax
	jl	LBB0_43
## %bb.42:
	leal	-156(%rax), %edx
	xorl	%ecx, %ecx
	cmpl	$156, %eax
	cmovael	%edx, %ecx
LBB0_43:
	movl	%ecx, 112(%r14)
	movl	76(%r14), %r15d
	xorl	%edi, %edi
	callq	_BIT
	movl	%eax, %ebx
	andl	%r15d, %ebx
	xorl	%edi, %edi
	callq	_BIT
	xorl	%ecx, %ecx
	cmpl	%eax, %ebx
	sete	%cl
	movl	%ecx, 116(%r14)
	movl	76(%r14), %ebx
	movl	$1, %edi
	callq	_BIT
	testl	%ebx, %eax
	je	LBB0_45
## %bb.44:
	movq	32(%r14), %rax
	movq	_COEX_CNT_BT_REINIT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	incl	(%rax,%rcx,4)
LBB0_45:
	movl	76(%r14), %ebx
	movl	$2, %edi
	callq	_BIT
	testl	%ebx, %eax
	je	LBB0_47
## %bb.46:
	movq	32(%r14), %rax
	movq	_COEX_CNT_BT_SETUPLINK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	incl	(%rax,%rcx,4)
	leaq	16(%r14), %rsi
	movl	$1, 120(%r14)
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	cmpl	$0, 48(%r14)
	leal	(%rax,%rax,2), %ecx
	cmovel	%eax, %ecx
	movslq	%ecx, %rdx
	movl	(%r14), %edi
	callq	_ieee80211_queue_delayed_work
LBB0_47:
	movl	76(%r14), %ebx
	movl	$3, %edi
	callq	_BIT
	testl	%ebx, %eax
	je	LBB0_49
## %bb.48:
	movq	32(%r14), %rax
	movq	_COEX_CNT_BT_IGNWLANACT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	incl	(%rax,%rcx,4)
LBB0_49:
	movl	76(%r14), %r15d
	movl	$4, %edi
	callq	_BIT
	movl	%eax, %ebx
	andl	%r15d, %ebx
	movl	$4, %edi
	callq	_BIT
	xorl	%ecx, %ecx
	cmpl	%eax, %ebx
	sete	%cl
	movl	%ecx, 124(%r14)
	movl	76(%r14), %r15d
	movl	$5, %edi
	callq	_BIT
	movl	%eax, %ebx
	andl	%r15d, %ebx
	movl	$5, %edi
	callq	_BIT
	xorl	%ecx, %ecx
	cmpl	%eax, %ebx
	sete	%cl
	movl	%ecx, 128(%r14)
	movl	76(%r14), %ebx
	movl	$6, %edi
	callq	_BIT
	testl	%ebx, %eax
	je	LBB0_51
## %bb.50:
	movq	32(%r14), %rax
	movq	_COEX_CNT_BT_ROLESWITCH@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	incl	(%rax,%rcx,4)
LBB0_51:
	movl	76(%r14), %r15d
	movl	$7, %edi
	callq	_BIT
	movl	%eax, %ebx
	andl	%r15d, %ebx
	movl	$7, %edi
	callq	_BIT
	xorl	%ecx, %ecx
	cmpl	%eax, %ebx
	sete	%cl
	movl	%ecx, 132(%r14)
	movl	76(%r14), %ebx
	movl	$1, %edi
	callq	_BIT
	testl	%ebx, %eax
	je	LBB0_56
## %bb.52:
	cmpq	$0, 168(%r14)
	jne	LBB0_53
## %bb.54:
	movq	_COEX_MEDIA_DISCONNECT@GOTPCREL(%rip), %rax
	jmp	LBB0_55
LBB0_53:
	movq	_COEX_MEDIA_CONNECT@GOTPCREL(%rip), %rax
LBB0_55:
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_rtw_coex_update_wl_ch_info
LBB0_56:
	movl	76(%r14), %ebx
	movl	$3, %edi
	callq	_BIT
	testl	%ebx, %eax
	je	LBB0_59
## %bb.57:
	movl	76(%r14), %ebx
	movl	$2, %edi
	callq	_BIT
	testl	%ebx, %eax
	jne	LBB0_59
## %bb.58:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_rtw_coex_ignore_wlan_act
LBB0_59:
	movl	80(%r14), %r12d
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	callq	_BIT
	movl	%eax, %ebx
	andl	%r12d, %ebx
	xorl	%edi, %edi
	callq	_BIT
	xorl	%ecx, %ecx
	cmpl	%eax, %ebx
	sete	%cl
	movl	%ecx, 136(%r14)
	movl	80(%r14), %ebx
	movl	$1, %edi
	callq	_BIT
	testl	%ebx, %eax
	je	LBB0_61
## %bb.60:
	movq	32(%r14), %rax
	movq	_COEX_CNT_BT_AFHUPDATE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	incl	(%rax,%rcx,4)
LBB0_61:
	movl	80(%r14), %r12d
	movl	$2, %edi
	callq	_BIT
	movl	%eax, %ebx
	andl	%r12d, %ebx
	movl	$2, %edi
	callq	_BIT
	xorl	%ecx, %ecx
	cmpl	%eax, %ebx
	sete	%cl
	movl	%ecx, 140(%r14)
	movl	80(%r14), %r12d
	movl	$3, %edi
	callq	_BIT
	movl	%eax, %ebx
	andl	%r12d, %ebx
	movl	$3, %edi
	callq	_BIT
	xorl	%ecx, %ecx
	cmpl	%eax, %ebx
	sete	%cl
	movl	%ecx, 144(%r14)
	movl	80(%r14), %ecx
	movl	%ecx, %eax
	shrl	$4, %eax
	andl	$3, %eax
	movl	%eax, 148(%r14)
	shrl	$6, %ecx
	andl	$3, %ecx
	movl	%ecx, 152(%r14)
	je	LBB0_63
## %bb.62:
	movl	$1, %r15d
	cmpl	$2, %eax
	jb	LBB0_64
LBB0_63:
	movl	%r15d, 156(%r14)
LBB0_64:
	movl	64(%r14), %eax
	movl	84(%r14), %r15d
	notl	%eax
	movl	%r15d, %ecx
	andl	$127, %ecx
	xorl	%edx, %edx
	testb	$73, %al
	cmovel	%ecx, %edx
	movl	%edx, 160(%r14)
	movl	$7, %edi
	callq	_BIT
	movl	%eax, %ebx
	andl	%r15d, %ebx
	movl	$7, %edi
	callq	_BIT
	xorl	%ecx, %ecx
	cmpl	%eax, %ebx
	sete	%cl
	movl	%ecx, 164(%r14)
LBB0_23:
	movq	%r14, %rdi
	callq	_rtw_coex_update_bt_link_info
LBB0_12:
	movq	_COEX_RSN_BTINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtw_coex_run_coex              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_COEX_BTINFO_SRC_MAX,4,2        ## @COEX_BTINFO_SRC_MAX
	.comm	_COEX_BTINFO_SRC_WL_FW,4,2      ## @COEX_BTINFO_SRC_WL_FW
	.comm	_COEX_BTINFO_SRC_BT_IQK,4,2     ## @COEX_BTINFO_SRC_BT_IQK
	.comm	_COEX_CNT_BT_IQK,8,3            ## @COEX_CNT_BT_IQK
	.comm	_COEX_CNT_BT_IQKFAIL,8,3        ## @COEX_CNT_BT_IQKFAIL
	.comm	_COEX_BTINFO_SRC_BT_SCBD,4,2    ## @COEX_BTINFO_SRC_BT_SCBD
	.comm	_COEX_RSN_BTINFO,4,2            ## @COEX_RSN_BTINFO
	.comm	_COEX_BTINFO_SRC_BT_RSP,4,2     ## @COEX_BTINFO_SRC_BT_RSP
	.comm	_COEX_BTINFO_SRC_BT_ACT,4,2     ## @COEX_BTINFO_SRC_BT_ACT
	.comm	_HZ,4,2                         ## @HZ
	.comm	_COEX_BTINFO_LENGTH_MAX,4,2     ## @COEX_BTINFO_LENGTH_MAX
	.comm	_COEX_CNT_BT_RETRY,8,3          ## @COEX_CNT_BT_RETRY
	.comm	_COEX_CNT_BT_POPEVENT,8,3       ## @COEX_CNT_BT_POPEVENT
	.comm	_COEX_CNT_BT_INQ,8,3            ## @COEX_CNT_BT_INQ
	.comm	_COEX_CNT_BT_PAGE,8,3           ## @COEX_CNT_BT_PAGE
	.comm	_COEX_SCBD_SCAN,4,2             ## @COEX_SCBD_SCAN
	.comm	_COEX_BTRSSI_RATIO,8,3          ## @COEX_BTRSSI_RATIO
	.comm	_COEX_CNT_BT_REINIT,8,3         ## @COEX_CNT_BT_REINIT
	.comm	_COEX_CNT_BT_SETUPLINK,8,3      ## @COEX_CNT_BT_SETUPLINK
	.comm	_COEX_CNT_BT_IGNWLANACT,8,3     ## @COEX_CNT_BT_IGNWLANACT
	.comm	_COEX_CNT_BT_ROLESWITCH,8,3     ## @COEX_CNT_BT_ROLESWITCH
	.comm	_COEX_MEDIA_CONNECT,4,2         ## @COEX_MEDIA_CONNECT
	.comm	_COEX_MEDIA_DISCONNECT,4,2      ## @COEX_MEDIA_DISCONNECT
	.comm	_COEX_CNT_BT_AFHUPDATE,8,3      ## @COEX_CNT_BT_AFHUPDATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtw_coex_bt_info_notify        ; -- Begin function rtw_coex_bt_info_notify
	.p2align	2
_rtw_coex_bt_info_notify:               ; @rtw_coex_bt_info_notify
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x1]
	and	w8, w8, #0xf
Lloh0:
	adrp	x9, _COEX_BTINFO_SRC_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _COEX_BTINFO_SRC_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x24, _COEX_BTINFO_SRC_WL_FW@GOTPAGE
Lloh4:
	ldr	x24, [x24, _COEX_BTINFO_SRC_WL_FW@GOTPAGEOFF]
	ldr	w10, [x24]
	cmp	w8, w9
	csel	w23, w8, w10, lt
Lloh5:
	adrp	x8, _COEX_BTINFO_SRC_BT_IQK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _COEX_BTINFO_SRC_BT_IQK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w23, w8
	b.ne	LBB0_4
; %bb.1:
	ldr	w8, [x20, #4]
	str	w8, [x19, #24]
	cmp	w8, #2
	b.eq	LBB0_31
; %bb.2:
	cmp	w8, #1
	b.ne	LBB0_33
; %bb.3:
	ldr	x8, [x19, #32]
Lloh8:
	adrp	x9, _COEX_CNT_BT_IQK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _COEX_CNT_BT_IQK@GOTPAGEOFF]
	b	LBB0_32
LBB0_4:
Lloh10:
	adrp	x8, _COEX_BTINFO_SRC_BT_SCBD@GOTPAGE
Lloh11:
	ldr	x8, [x8, _COEX_BTINFO_SRC_BT_SCBD@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w23, w8
	b.ne	LBB0_7
; %bb.5:
	mov	x0, x19
	bl	_rtw_coex_monitor_bt_enable
	ldp	w8, w9, [x19, #40]
	cmp	w8, w9
	b.eq	LBB0_33
; %bb.6:
	str	w8, [x19, #44]
	b	LBB0_62
LBB0_7:
	mov	x21, x2
	ldr	x22, [x19, #8]
Lloh13:
	adrp	x8, _COEX_BTINFO_SRC_BT_RSP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _COEX_BTINFO_SRC_BT_RSP@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _COEX_BTINFO_SRC_BT_ACT@GOTPAGE
Lloh17:
	ldr	x9, [x9, _COEX_BTINFO_SRC_BT_ACT@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	cmp	w23, w8
	ccmp	w23, w9, #4, ne
	b.ne	LBB0_10
; %bb.8:
	ldr	w8, [x19, #40]
	cbz	w8, LBB0_10
; %bb.9:
	str	wzr, [x19, #40]
	mov	w8, #1
	str	w8, [x19, #48]
	ldr	w0, [x19]
	add	x1, x19, #20
Lloh19:
	adrp	x8, _HZ@GOTPAGE
Lloh20:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh21:
	ldrsw	x8, [x8]
	lsl	x9, x8, #4
	sub	x2, x9, x8
	bl	_ieee80211_queue_delayed_work
LBB0_10:
	cmp	w21, #1
	b.lt	LBB0_15
; %bb.11:
Lloh22:
	adrp	x8, _COEX_BTINFO_LENGTH_MAX@GOTPAGE
Lloh23:
	ldr	x8, [x8, _COEX_BTINFO_LENGTH_MAX@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_15
; %bb.12:
	mov	x9, #0
	ldr	x10, [x19, #56]
	ldr	x10, [x10, w23, sxtw #3]
	mov	w11, w21
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	lsl	x12, x9, #2
	ldr	w13, [x20, x12]
	str	w13, [x10, x12]
	add	x9, x9, #1
	cmp	x9, x11
	b.hs	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldrsw	x12, [x8]
	cmp	x9, x12
	b.lt	LBB0_13
LBB0_15:
	ldr	w8, [x24]
	cmp	w23, w8
	b.eq	LBB0_61
; %bb.16:
	ldr	x8, [x19, #56]
	ldr	x8, [x8, w23, sxtw #3]
	ldr	w20, [x8, #4]
	ldr	w9, [x19, #64]
	cmp	w20, w9
	b.ne	LBB0_22
; %bb.17:
	ldr	w9, [x8, #8]
	ldr	w10, [x19, #68]
	cmp	w9, w10
	b.ne	LBB0_22
; %bb.18:
	ldr	w9, [x8, #12]
	ldr	w10, [x19, #72]
	cmp	w9, w10
	b.ne	LBB0_22
; %bb.19:
	ldr	w9, [x8, #16]
	ldr	w10, [x19, #76]
	cmp	w9, w10
	b.ne	LBB0_22
; %bb.20:
	ldr	w9, [x8, #20]
	ldr	w10, [x19, #80]
	cmp	w9, w10
	b.ne	LBB0_22
; %bb.21:
	ldr	w9, [x8, #24]
	ldr	w10, [x19, #84]
	cmp	w9, w10
	b.eq	LBB0_33
LBB0_22:
	str	w20, [x19, #64]
	ldr	w9, [x8, #8]
	str	w9, [x19, #68]
	ldr	w9, [x8, #12]
	str	w9, [x19, #72]
	ldr	w9, [x8, #16]
	str	w9, [x19, #76]
	ldr	w9, [x8, #20]
	str	w9, [x19, #80]
	ldr	w8, [x8, #24]
	cmp	w20, #255
	cset	w9, eq
	stp	w8, w9, [x19, #84]
	mov	w0, #2
	bl	_BIT
	and	w20, w0, w20
	mov	w0, #2
	bl	_BIT
	cmp	w20, w0
	cset	w8, eq
	str	w8, [x19, #92]
	ldr	w20, [x19, #64]
	mov	w0, #3
	bl	_BIT
	and	w20, w0, w20
	mov	w0, #3
	bl	_BIT
	cmp	w20, w0
	cset	w8, eq
	str	w8, [x19, #96]
	ldr	w9, [x19, #68]
	ldr	x8, [x19, #32]
Lloh24:
	adrp	x10, _COEX_CNT_BT_RETRY@GOTPAGE
Lloh25:
	ldr	x10, [x10, _COEX_CNT_BT_RETRY@GOTPAGEOFF]
Lloh26:
	ldr	x10, [x10]
	ands	w9, w9, #0xf
	str	w9, [x8, x10, lsl #2]
	b.eq	LBB0_24
; %bb.23:
Lloh27:
	adrp	x9, _COEX_CNT_BT_POPEVENT@GOTPAGE
Lloh28:
	ldr	x9, [x9, _COEX_CNT_BT_POPEVENT@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	lsl	x9, x9, #2
	ldr	w10, [x8, x9]
	add	w10, w10, #1
	str	w10, [x8, x9]
LBB0_24:
	ldr	w20, [x19, #68]
	mov	w0, #4
	bl	_BIT
	and	w20, w0, w20
	mov	w0, #4
	bl	_BIT
	cmp	w20, w0
	cset	w8, eq
	str	w8, [x19, #100]
	ldr	w20, [x19, #68]
	mov	w0, #5
	bl	_BIT
	and	w20, w0, w20
	mov	w0, #5
	bl	_BIT
	cmp	w20, w0
	cset	w8, eq
	str	w8, [x19, #104]
	b.ne	LBB0_26
; %bb.25:
	ldr	x8, [x19, #32]
Lloh30:
	adrp	x9, _COEX_CNT_BT_INQ@GOTPAGE
Lloh31:
	ldr	x9, [x9, _COEX_CNT_BT_INQ@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	lsl	x9, x9, #2
	ldr	w10, [x8, x9]
	add	w10, w10, #1
	str	w10, [x8, x9]
LBB0_26:
	ldr	w20, [x19, #68]
	mov	w0, #7
	bl	_BIT
	and	w20, w0, w20
	mov	w0, #7
	bl	_BIT
	cmp	w20, w0
	cset	w8, eq
	str	w8, [x19, #108]
	b.ne	LBB0_34
; %bb.27:
	ldr	x8, [x19, #32]
Lloh33:
	adrp	x9, _COEX_CNT_BT_PAGE@GOTPAGE
Lloh34:
	ldr	x9, [x9, _COEX_CNT_BT_PAGE@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	lsl	x9, x9, #2
	ldr	w10, [x8, x9]
	add	w10, w10, #1
	str	w10, [x8, x9]
	ldr	x8, [x19, #200]
	cbnz	x8, LBB0_30
; %bb.28:
	ldr	x8, [x19, #192]
	cbnz	x8, LBB0_30
; %bb.29:
	ldr	x8, [x19, #184]
	cbz	x8, LBB0_63
LBB0_30:
	mov	w2, #1
	b	LBB0_35
LBB0_31:
	ldr	x8, [x19, #32]
Lloh36:
	adrp	x9, _COEX_CNT_BT_IQKFAIL@GOTPAGE
Lloh37:
	ldr	x9, [x9, _COEX_CNT_BT_IQKFAIL@GOTPAGEOFF]
LBB0_32:
	ldr	x9, [x9]
	lsl	x9, x9, #2
	ldr	w10, [x8, x9]
	add	w10, w10, #1
	str	w10, [x8, x9]
LBB0_33:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_34:
	mov	w2, #0
LBB0_35:
Lloh38:
	adrp	x8, _COEX_SCBD_SCAN@GOTPAGE
Lloh39:
	ldr	x8, [x8, _COEX_SCBD_SCAN@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rtw_coex_write_scbd
	ldr	x9, [x22]
Lloh41:
	adrp	x8, _COEX_BTRSSI_RATIO@GOTPAGE
Lloh42:
	ldr	x8, [x8, _COEX_BTRSSI_RATIO@GOTPAGEOFF]
Lloh43:
	ldr	x10, [x8]
	ldr	w8, [x19, #72]
	cmp	x9, x10
	b.ne	LBB0_37
; %bb.36:
	lsl	w8, w8, #1
	add	w8, w8, #10
	b	LBB0_40
LBB0_37:
	cmp	w8, #128
	b.ge	LBB0_39
; %bb.38:
	mov	w8, #100
	b	LBB0_40
LBB0_39:
	sub	w9, w8, #156
	cmp	w8, #155
	csel	w8, w9, wzr, hi
LBB0_40:
	str	w8, [x19, #112]
	ldr	w20, [x19, #76]
	mov	w0, #0
	bl	_BIT
	and	w20, w0, w20
	mov	w0, #0
	bl	_BIT
	cmp	w20, w0
	cset	w8, eq
	str	w8, [x19, #116]
	ldr	w20, [x19, #76]
	mov	w0, #1
	bl	_BIT
	tst	w0, w20
	b.eq	LBB0_42
; %bb.41:
	ldr	x8, [x19, #32]
Lloh44:
	adrp	x9, _COEX_CNT_BT_REINIT@GOTPAGE
Lloh45:
	ldr	x9, [x9, _COEX_CNT_BT_REINIT@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	lsl	x9, x9, #2
	ldr	w10, [x8, x9]
	add	w10, w10, #1
	str	w10, [x8, x9]
LBB0_42:
	ldr	w20, [x19, #76]
	mov	w0, #2
	bl	_BIT
	tst	w0, w20
	b.eq	LBB0_44
; %bb.43:
	ldr	x8, [x19, #32]
Lloh47:
	adrp	x9, _COEX_CNT_BT_SETUPLINK@GOTPAGE
Lloh48:
	ldr	x9, [x9, _COEX_CNT_BT_SETUPLINK@GOTPAGEOFF]
Lloh49:
	ldr	x9, [x9]
	lsl	x9, x9, #2
	ldr	w10, [x8, x9]
	add	w10, w10, #1
	str	w10, [x8, x9]
	add	x1, x19, #16
	mov	w8, #1
	str	w8, [x19, #120]
	ldr	w8, [x19, #48]
Lloh50:
	adrp	x9, _HZ@GOTPAGE
Lloh51:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
	lsl	w10, w9, #1
	add	w9, w10, w9
	lsl	w9, w9, #1
	cmp	w8, #0
	csel	w8, w10, w9, eq
	sxtw	x2, w8
	ldr	w0, [x19]
	bl	_ieee80211_queue_delayed_work
LBB0_44:
	ldr	w20, [x19, #76]
	mov	w0, #3
	bl	_BIT
	tst	w0, w20
	b.eq	LBB0_46
; %bb.45:
	ldr	x8, [x19, #32]
Lloh53:
	adrp	x9, _COEX_CNT_BT_IGNWLANACT@GOTPAGE
Lloh54:
	ldr	x9, [x9, _COEX_CNT_BT_IGNWLANACT@GOTPAGEOFF]
Lloh55:
	ldr	x9, [x9]
	lsl	x9, x9, #2
	ldr	w10, [x8, x9]
	add	w10, w10, #1
	str	w10, [x8, x9]
LBB0_46:
	ldr	w20, [x19, #76]
	mov	w0, #4
	bl	_BIT
	and	w20, w0, w20
	mov	w0, #4
	bl	_BIT
	cmp	w20, w0
	cset	w8, eq
	str	w8, [x19, #124]
	ldr	w20, [x19, #76]
	mov	w0, #5
	bl	_BIT
	and	w20, w0, w20
	mov	w0, #5
	bl	_BIT
	cmp	w20, w0
	cset	w8, eq
	str	w8, [x19, #128]
	ldr	w20, [x19, #76]
	mov	w0, #6
	bl	_BIT
	tst	w0, w20
	b.eq	LBB0_48
; %bb.47:
	ldr	x8, [x19, #32]
Lloh56:
	adrp	x9, _COEX_CNT_BT_ROLESWITCH@GOTPAGE
Lloh57:
	ldr	x9, [x9, _COEX_CNT_BT_ROLESWITCH@GOTPAGEOFF]
Lloh58:
	ldr	x9, [x9]
	lsl	x9, x9, #2
	ldr	w10, [x8, x9]
	add	w10, w10, #1
	str	w10, [x8, x9]
LBB0_48:
	ldr	w20, [x19, #76]
	mov	w0, #7
	bl	_BIT
	and	w20, w0, w20
	mov	w0, #7
	bl	_BIT
	cmp	w20, w0
	cset	w8, eq
	str	w8, [x19, #132]
	ldr	w20, [x19, #76]
	mov	w0, #1
	bl	_BIT
	tst	w0, w20
	b.eq	LBB0_50
; %bb.49:
Lloh59:
	adrp	x8, _COEX_MEDIA_DISCONNECT@GOTPAGE
Lloh60:
	ldr	x8, [x8, _COEX_MEDIA_DISCONNECT@GOTPAGEOFF]
	ldr	x9, [x19, #168]
Lloh61:
	adrp	x10, _COEX_MEDIA_CONNECT@GOTPAGE
Lloh62:
	ldr	x10, [x10, _COEX_MEDIA_CONNECT@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x8, x10, eq
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rtw_coex_update_wl_ch_info
LBB0_50:
	ldr	w20, [x19, #76]
	mov	w0, #3
	bl	_BIT
	tst	w0, w20
	b.eq	LBB0_53
; %bb.51:
	ldr	w20, [x19, #76]
	mov	w0, #2
	bl	_BIT
	tst	w0, w20
	b.ne	LBB0_53
; %bb.52:
	mov	x0, x19
	mov	w1, #0
	bl	_rtw_coex_ignore_wlan_act
LBB0_53:
	ldr	w20, [x19, #80]
	mov	w0, #0
	bl	_BIT
	and	w20, w0, w20
	mov	w0, #0
	bl	_BIT
	cmp	w20, w0
	cset	w8, eq
	str	w8, [x19, #136]
	ldr	w20, [x19, #80]
	mov	w0, #1
	bl	_BIT
	tst	w0, w20
	b.eq	LBB0_55
; %bb.54:
	ldr	x8, [x19, #32]
Lloh63:
	adrp	x9, _COEX_CNT_BT_AFHUPDATE@GOTPAGE
Lloh64:
	ldr	x9, [x9, _COEX_CNT_BT_AFHUPDATE@GOTPAGEOFF]
Lloh65:
	ldr	x9, [x9]
	lsl	x9, x9, #2
	ldr	w10, [x8, x9]
	add	w10, w10, #1
	str	w10, [x8, x9]
LBB0_55:
	ldr	w20, [x19, #80]
	mov	w0, #2
	bl	_BIT
	and	w20, w0, w20
	mov	w0, #2
	bl	_BIT
	cmp	w20, w0
	cset	w8, eq
	str	w8, [x19, #140]
	ldr	w20, [x19, #80]
	mov	w0, #3
	bl	_BIT
	and	w20, w0, w20
	mov	w0, #3
	bl	_BIT
	cmp	w20, w0
	cset	w9, eq
	ldr	w10, [x19, #80]
	ubfx	w8, w10, #4, #2
	stp	w9, w8, [x19, #144]
	ubfx	w9, w10, #6, #2
	str	w9, [x19, #152]
	cbz	w9, LBB0_58
; %bb.56:
	cmp	w8, #2
	b.lo	LBB0_60
; %bb.57:
	mov	w8, #1
	b	LBB0_59
LBB0_58:
	mov	w8, #0
LBB0_59:
	str	w8, [x19, #156]
LBB0_60:
	ldr	w8, [x19, #64]
	ldr	w20, [x19, #84]
	and	w9, w20, #0x7f
	mov	w10, #73
	bics	wzr, w10, w8
	csel	w8, w9, wzr, eq
	str	w8, [x19, #160]
	mov	w0, #7
	bl	_BIT
	and	w20, w0, w20
	mov	w0, #7
	bl	_BIT
	cmp	w20, w0
	cset	w8, eq
	str	w8, [x19, #164]
LBB0_61:
	mov	x0, x19
	bl	_rtw_coex_update_bt_link_info
LBB0_62:
Lloh66:
	adrp	x8, _COEX_RSN_BTINFO@GOTPAGE
Lloh67:
	ldr	x8, [x8, _COEX_RSN_BTINFO@GOTPAGEOFF]
Lloh68:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_rtw_coex_run_coex
LBB0_63:
	ldr	x8, [x19, #176]
	cmp	x8, #0
	cset	w2, ne
	b	LBB0_35
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.cfi_endproc
                                        ; -- End function
	.comm	_COEX_BTINFO_SRC_MAX,4,2        ; @COEX_BTINFO_SRC_MAX
	.comm	_COEX_BTINFO_SRC_WL_FW,4,2      ; @COEX_BTINFO_SRC_WL_FW
	.comm	_COEX_BTINFO_SRC_BT_IQK,4,2     ; @COEX_BTINFO_SRC_BT_IQK
	.comm	_COEX_CNT_BT_IQK,8,3            ; @COEX_CNT_BT_IQK
	.comm	_COEX_CNT_BT_IQKFAIL,8,3        ; @COEX_CNT_BT_IQKFAIL
	.comm	_COEX_BTINFO_SRC_BT_SCBD,4,2    ; @COEX_BTINFO_SRC_BT_SCBD
	.comm	_COEX_RSN_BTINFO,4,2            ; @COEX_RSN_BTINFO
	.comm	_COEX_BTINFO_SRC_BT_RSP,4,2     ; @COEX_BTINFO_SRC_BT_RSP
	.comm	_COEX_BTINFO_SRC_BT_ACT,4,2     ; @COEX_BTINFO_SRC_BT_ACT
	.comm	_HZ,4,2                         ; @HZ
	.comm	_COEX_BTINFO_LENGTH_MAX,4,2     ; @COEX_BTINFO_LENGTH_MAX
	.comm	_COEX_CNT_BT_RETRY,8,3          ; @COEX_CNT_BT_RETRY
	.comm	_COEX_CNT_BT_POPEVENT,8,3       ; @COEX_CNT_BT_POPEVENT
	.comm	_COEX_CNT_BT_INQ,8,3            ; @COEX_CNT_BT_INQ
	.comm	_COEX_CNT_BT_PAGE,8,3           ; @COEX_CNT_BT_PAGE
	.comm	_COEX_SCBD_SCAN,4,2             ; @COEX_SCBD_SCAN
	.comm	_COEX_BTRSSI_RATIO,8,3          ; @COEX_BTRSSI_RATIO
	.comm	_COEX_CNT_BT_REINIT,8,3         ; @COEX_CNT_BT_REINIT
	.comm	_COEX_CNT_BT_SETUPLINK,8,3      ; @COEX_CNT_BT_SETUPLINK
	.comm	_COEX_CNT_BT_IGNWLANACT,8,3     ; @COEX_CNT_BT_IGNWLANACT
	.comm	_COEX_CNT_BT_ROLESWITCH,8,3     ; @COEX_CNT_BT_ROLESWITCH
	.comm	_COEX_MEDIA_CONNECT,4,2         ; @COEX_MEDIA_CONNECT
	.comm	_COEX_MEDIA_DISCONNECT,4,2      ; @COEX_MEDIA_DISCONNECT
	.comm	_COEX_CNT_BT_AFHUPDATE,8,3      ; @COEX_CNT_BT_AFHUPDATE
.subsections_via_symbols
