	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function rtl8723e_dm_bt_2_ant_hid_sco_esco
LCPI0_0:
	.long	1431655765                      ## 0x55555555
	.long	65535                           ## 0xffff
	.long	3                               ## 0x3
	.long	0                               ## 0x0
LCPI0_1:
	.long	163                             ## 0xa3
	.long	5                               ## 0x5
	.long	5                               ## 0x5
	.long	2                               ## 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_rtl8723e_dm_bt_2_ant_hid_sco_esco:     ## @rtl8723e_dm_bt_2_ant_hid_sco_esco
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_rtl_priv
	movq	%rax, %r12
	leaq	-120(%rbp), %rsi
	movq	%r14, %rdi
	callq	_rtl8723e_dm_bt_btdm_structure_reload
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -120(%rbp)
	movl	$0, -112(%rbp)
	movq	%r14, %rdi
	callq	_rtl8723e_dm_bt_bt_tx_rx_counter_level
	movq	%rax, %rbx
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_DBG_DMESG@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r12, %rdi
	movq	%rax, %r8
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	(%r12), %rax
	movq	_HT_CHANNEL_WIDTH_20_40@GOTPCREL(%rip), %rcx
	movl	(%r15), %esi
	movl	(%r13), %edx
	cmpq	(%rcx), %rax
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	jne	LBB0_5
## %bb.1:
	leaq	L_.str.1(%rip), %rcx
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1431655765,65535,3,0]
	movups	%xmm0, -108(%rbp)
	movq	$0, -92(%rbp)
	movl	$1, -84(%rbp)
	movq	_BT_TXRX_CNT_LEVEL_2@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_3
## %bb.2:
	movl	(%r15), %esi
	movl	(%r13), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	$2, %eax
	movl	$5, %ecx
	jmp	LBB0_18
LBB0_5:
	leaq	L_.str.5(%rip), %rcx
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%r14, %rdi
	movl	$2, %esi
	movl	$47, %edx
	xorl	%ecx, %ecx
	callq	_rtl8723e_dm_bt_check_coex_rssi_state
	movq	%rax, %rbx
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movl	$2, %esi
	movl	$27, %edx
	xorl	%ecx, %ecx
	callq	_rtl8723e_dm_bt_check_coex_rssi_state1
	movq	%r13, %r14
	movq	%rax, %r13
	movabsq	$281472113399125, %rax          ## imm = 0xFFFF55555555
	movq	%rax, -108(%rbp)
	movl	$3, -100(%rbp)
	movq	_BT_RSSI_STATE_HIGH@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	sete	%al
	movq	_BT_RSSI_STATE_STAY_HIGH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rbx
	sete	%bl
	orb	%al, %bl
	movl	(%r15), %esi
	movl	(%r14), %edx
	leaq	L_.str.6(%rip), %rax
	leaq	L_.str.7(%rip), %rcx
	cmovneq	%rax, %rcx
	movzbl	%bl, %ebx
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	%ebx, -96(%rbp)
	movl	%ebx, -92(%rbp)
	movabsq	$4294967296, %rax               ## imm = 0x100000000
	movq	%rax, -88(%rbp)
	movq	%r15, %r12
	movl	(%r15), %esi
	movl	(%r14), %edx
	movq	_BT_RSSI_STATE_HIGH@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	je	LBB0_7
## %bb.6:
	movq	_BT_RSSI_STATE_STAY_HIGH@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	je	LBB0_7
## %bb.13:
	leaq	L_.str.10(%rip), %rcx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	_BT_TXRX_CNT_LEVEL_2@GOTPCREL(%rip), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpq	(%rax), %rcx
	jne	LBB0_15
## %bb.14:
	movq	%r12, %r15
	movl	(%r12), %esi
	movq	_DBG_DMESG@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	$2, %eax
	jmp	LBB0_9
LBB0_3:
	movq	_BT_TXRX_CNT_LEVEL_1@GOTPCREL(%rip), %rax
	movl	(%r15), %esi
	movl	(%r13), %edx
	cmpq	(%rax), %rbx
	jne	LBB0_16
LBB0_4:
	leaq	L_.str.3(%rip), %rcx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	$2, %eax
	movl	$10, %ecx
	jmp	LBB0_18
LBB0_7:
	leaq	L_.str.8(%rip), %rcx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%rbx, %rdi
	movl	$2179, %esi                     ## imm = 0x883
	movl	$64, %edx
	callq	_rtl_write_byte
	movq	_BT_TXRX_CNT_LEVEL_2@GOTPCREL(%rip), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpq	(%rax), %rcx
	jne	LBB0_10
## %bb.8:
	movq	%r12, %r15
	movl	(%r12), %esi
	movq	_DBG_DMESG@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	$131, %eax
LBB0_9:
	movl	$5, %ecx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_18
LBB0_15:
	movq	_BT_TXRX_CNT_LEVEL_1@GOTPCREL(%rip), %rax
	movq	%r12, %r15
	movl	(%r12), %esi
	movq	_DBG_DMESG@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	cmpq	(%rax), %rcx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_4
LBB0_16:
	leaq	L_.str.4(%rip), %rcx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	$2, %eax
	jmp	LBB0_17
LBB0_10:
	movq	_BT_TXRX_CNT_LEVEL_1@GOTPCREL(%rip), %rax
	movq	%r12, %r15
	movl	(%r12), %esi
	movq	_DBG_DMESG@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	cmpq	(%rax), %rcx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_12
## %bb.11:
	leaq	L_.str.9(%rip), %rcx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	$131, %eax
	movl	$10, %ecx
	jmp	LBB0_18
LBB0_12:
	leaq	L_.str.4(%rip), %rcx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	$131, %eax
LBB0_17:
	movl	$15, %ecx
LBB0_18:
	movq	-80(%rbp), %rdx
	movl	$163, (%rdx)
	movl	%ecx, 4(%rdx)
	movl	%ecx, 8(%rdx)
	movl	%eax, 12(%rdx)
	movl	$128, 16(%rdx)
	movq	%r14, %rdi
	callq	_rtl8723e_dm_bt_need_to_dec_bt_pwr
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movl	$1, -72(%rbp)
LBB0_20:
	movl	(%r15), %esi
	movl	(%r13), %edx
	movq	_hal_coex_8723@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r8
	leaq	L_.str.11(%rip), %rcx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %r9
	xorl	%eax, %eax
	callq	_RT_TRACE
	cmpq	$0, (%rbx)
	jne	LBB0_22
## %bb.21:
	movq	_BT_TXRX_CNT_LEVEL_3@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	jne	LBB0_23
LBB0_22:
	movl	(%r15), %esi
	movl	(%r13), %edx
	leaq	L_.str.12(%rip), %rcx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	$1, -84(%rbp)
	movq	-80(%rbp), %rax
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [163,5,5,2]
	movups	%xmm0, (%rax)
	movl	$128, 16(%rax)
LBB0_23:
	movq	%r14, %rdi
	callq	_rtl8723e_dm_bt_is_coexist_state_changed
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:
	leaq	-120(%rbp), %rsi
	movq	%r14, %rdi
	callq	_rtl8723e_dm_bt_set_bt_dm
LBB0_25:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COMP_BT_COEXIST,4,2            ## @COMP_BT_COEXIST
	.comm	_DBG_DMESG,4,2                  ## @DBG_DMESG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[BTCoex], BT TxRx Counters = %d\n"

	.comm	_HT_CHANNEL_WIDTH_20_40,8,3     ## @HT_CHANNEL_WIDTH_20_40
L_.str.1:                               ## @.str.1
	.asciz	"HT40\n"

	.comm	_BT_TXRX_CNT_LEVEL_2,8,3        ## @BT_TXRX_CNT_LEVEL_2
L_.str.2:                               ## @.str.2
	.asciz	"[BTCoex], BT TxRx Counters >= 1400\n"

	.comm	_BT_TXRX_CNT_LEVEL_1,8,3        ## @BT_TXRX_CNT_LEVEL_1
L_.str.3:                               ## @.str.3
	.asciz	"[BTCoex], BT TxRx Counters >= 1200 && < 1400\n"

L_.str.4:                               ## @.str.4
	.asciz	"[BTCoex], BT TxRx Counters < 1200\n"

L_.str.5:                               ## @.str.5
	.asciz	"HT20 or Legacy\n"

	.comm	_BT_RSSI_STATE_HIGH,8,3         ## @BT_RSSI_STATE_HIGH
	.comm	_BT_RSSI_STATE_STAY_HIGH,8,3    ## @BT_RSSI_STATE_STAY_HIGH
L_.str.6:                               ## @.str.6
	.asciz	"Wifi rssi high\n"

L_.str.7:                               ## @.str.7
	.asciz	"Wifi rssi low\n"

L_.str.8:                               ## @.str.8
	.asciz	"Wifi rssi-1 high\n"

L_.str.9:                               ## @.str.9
	.asciz	"[BTCoex], BT TxRx Counters>= 1200 && < 1400\n"

L_.str.10:                              ## @.str.10
	.asciz	"Wifi rssi-1 low\n"

L_.str.11:                              ## @.str.11
	.asciz	"[BTCoex], BT btInqPageStartTime = 0x%x, btTxRxCntLvl = %d\n"

	.comm	_hal_coex_8723,8,3              ## @hal_coex_8723
	.comm	_BT_TXRX_CNT_LEVEL_3,8,3        ## @BT_TXRX_CNT_LEVEL_3
L_.str.12:                              ## @.str.12
	.asciz	"[BTCoex], Set BT inquiry / page scan 0x3a setting\n"

	.no_dead_strip	_rtl8723e_dm_bt_2_ant_hid_sco_esco
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function rtl8723e_dm_bt_2_ant_hid_sco_esco
lCPI0_0:
	.long	1431655765                      ; 0x55555555
	.long	65535                           ; 0xffff
lCPI0_1:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
lCPI0_2:
	.long	15                              ; 0xf
	.long	2                               ; 0x2
lCPI0_3:
	.long	10                              ; 0xa
	.long	2                               ; 0x2
lCPI0_4:
	.long	5                               ; 0x5
	.long	2                               ; 0x2
lCPI0_5:
	.long	15                              ; 0xf
	.long	131                             ; 0x83
lCPI0_6:
	.long	10                              ; 0xa
	.long	131                             ; 0x83
lCPI0_7:
	.long	5                               ; 0x5
	.long	131                             ; 0x83
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
lCPI0_8:
	.long	1431655765                      ; 0x55555555
	.long	65535                           ; 0xffff
	.long	3                               ; 0x3
	.long	0                               ; 0x0
lCPI0_9:
	.long	163                             ; 0xa3
	.long	5                               ; 0x5
	.long	5                               ; 0x5
	.long	2                               ; 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_rtl8723e_dm_bt_2_ant_hid_sco_esco:     ; @rtl8723e_dm_bt_2_ant_hid_sco_esco
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	bl	_rtl_priv
	mov	x20, x0
	add	x1, sp, #24
	mov	x0, x19
	bl	_rtl8723e_dm_bt_btdm_structure_reload
	movi.2s	v0, #1
	str	d0, [sp, #24]
	str	wzr, [sp, #32]
	mov	x0, x19
	bl	_rtl8723e_dm_bt_bt_tx_rx_counter_level
	mov	x21, x0
Lloh0:
	adrp	x24, _COMP_BT_COEXIST@GOTPAGE
Lloh1:
	ldr	x24, [x24, _COMP_BT_COEXIST@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh2:
	adrp	x25, _DBG_DMESG@GOTPAGE
Lloh3:
	ldr	x25, [x25, _DBG_DMESG@GOTPAGEOFF]
	ldr	w2, [x25]
	str	x0, [sp]
Lloh4:
	adrp	x3, l_.str@PAGE
Lloh5:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _HT_CHANNEL_WIDTH_20_40@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HT_CHANNEL_WIDTH_20_40@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	w1, [x24]
	ldr	w2, [x25]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh9:
	adrp	x3, l_.str.1@PAGE
Lloh10:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
Lloh11:
	adrp	x8, lCPI0_8@PAGE
Lloh12:
	ldr	q0, [x8, lCPI0_8@PAGEOFF]
	stur	q0, [sp, #36]
	stp	wzr, wzr, [sp, #52]
	mov	w8, #1
	str	w8, [sp, #60]
	b	LBB0_5
LBB0_2:
Lloh13:
	adrp	x3, l_.str.5@PAGE
Lloh14:
	add	x3, x3, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	x0, x19
	mov	w1, #2
	mov	w2, #47
	mov	w3, #0
	bl	_rtl8723e_dm_bt_check_coex_rssi_state
	mov	x23, x0
	mov	x0, x19
	mov	w1, #2
	mov	w2, #27
	mov	w3, #0
	bl	_rtl8723e_dm_bt_check_coex_rssi_state1
	mov	x22, x0
Lloh15:
	adrp	x8, lCPI0_0@PAGE
Lloh16:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [sp, #36]
	mov	w8, #3
	str	w8, [sp, #44]
Lloh17:
	adrp	x27, _BT_RSSI_STATE_HIGH@GOTPAGE
Lloh18:
	ldr	x27, [x27, _BT_RSSI_STATE_HIGH@GOTPAGEOFF]
	ldr	x8, [x27]
	cmp	x23, x8
Lloh19:
	adrp	x26, _BT_RSSI_STATE_STAY_HIGH@GOTPAGE
Lloh20:
	ldr	x26, [x26, _BT_RSSI_STATE_STAY_HIGH@GOTPAGEOFF]
	ldr	x8, [x26]
	ccmp	x23, x8, #4, ne
	cset	w23, eq
	ldr	w1, [x24]
	ldr	w2, [x25]
Lloh21:
	adrp	x8, l_.str.7@PAGE
Lloh22:
	add	x8, x8, l_.str.7@PAGEOFF
Lloh23:
	adrp	x9, l_.str.6@PAGE
Lloh24:
	add	x9, x9, l_.str.6@PAGEOFF
	csel	x3, x9, x8, eq
	mov	x0, x20
	bl	_RT_TRACE
	stp	w23, w23, [sp, #48]
Lloh25:
	adrp	x8, lCPI0_1@PAGE
Lloh26:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	str	d0, [sp, #56]
	ldr	x8, [x27]
	ldr	w1, [x24]
	ldr	w2, [x25]
	cmp	x22, x8
	b.eq	LBB0_9
; %bb.3:
	ldr	x8, [x26]
	cmp	x22, x8
	b.eq	LBB0_9
; %bb.4:
Lloh27:
	adrp	x3, l_.str.10@PAGE
Lloh28:
	add	x3, x3, l_.str.10@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
LBB0_5:
Lloh29:
	adrp	x8, _BT_TXRX_CNT_LEVEL_2@GOTPAGE
Lloh30:
	ldr	x8, [x8, _BT_TXRX_CNT_LEVEL_2@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	cmp	x21, x8
	b.ne	LBB0_7
; %bb.6:
	ldr	w1, [x24]
	ldr	w2, [x25]
Lloh32:
	adrp	x3, l_.str.2@PAGE
Lloh33:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
Lloh34:
	adrp	x8, lCPI0_4@PAGE
Lloh35:
	ldr	d0, [x8, lCPI0_4@PAGEOFF]
	b	LBB0_15
LBB0_7:
Lloh36:
	adrp	x8, _BT_TXRX_CNT_LEVEL_1@GOTPAGE
Lloh37:
	ldr	x8, [x8, _BT_TXRX_CNT_LEVEL_1@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	ldr	w1, [x24]
	ldr	w2, [x25]
	cmp	x21, x8
	b.ne	LBB0_11
; %bb.8:
Lloh39:
	adrp	x3, l_.str.3@PAGE
Lloh40:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
Lloh41:
	adrp	x8, lCPI0_3@PAGE
Lloh42:
	ldr	d0, [x8, lCPI0_3@PAGEOFF]
	b	LBB0_15
LBB0_9:
Lloh43:
	adrp	x3, l_.str.8@PAGE
Lloh44:
	add	x3, x3, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	x0, x20
	mov	w1, #2179
	mov	w2, #64
	bl	_rtl_write_byte
Lloh45:
	adrp	x8, _BT_TXRX_CNT_LEVEL_2@GOTPAGE
Lloh46:
	ldr	x8, [x8, _BT_TXRX_CNT_LEVEL_2@GOTPAGEOFF]
Lloh47:
	ldr	x8, [x8]
	cmp	x21, x8
	b.ne	LBB0_12
; %bb.10:
	ldr	w1, [x24]
	ldr	w2, [x25]
Lloh48:
	adrp	x3, l_.str.2@PAGE
Lloh49:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
Lloh50:
	adrp	x8, lCPI0_7@PAGE
Lloh51:
	ldr	d0, [x8, lCPI0_7@PAGEOFF]
	b	LBB0_15
LBB0_11:
Lloh52:
	adrp	x3, l_.str.4@PAGE
Lloh53:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
Lloh54:
	adrp	x8, lCPI0_2@PAGE
Lloh55:
	ldr	d0, [x8, lCPI0_2@PAGEOFF]
	b	LBB0_15
LBB0_12:
Lloh56:
	adrp	x8, _BT_TXRX_CNT_LEVEL_1@GOTPAGE
Lloh57:
	ldr	x8, [x8, _BT_TXRX_CNT_LEVEL_1@GOTPAGEOFF]
Lloh58:
	ldr	x8, [x8]
	ldr	w1, [x24]
	ldr	w2, [x25]
	cmp	x21, x8
	b.ne	LBB0_14
; %bb.13:
Lloh59:
	adrp	x3, l_.str.9@PAGE
Lloh60:
	add	x3, x3, l_.str.9@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
Lloh61:
	adrp	x8, lCPI0_6@PAGE
Lloh62:
	ldr	d0, [x8, lCPI0_6@PAGEOFF]
	b	LBB0_15
LBB0_14:
Lloh63:
	adrp	x3, l_.str.4@PAGE
Lloh64:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
Lloh65:
	adrp	x8, lCPI0_5@PAGE
Lloh66:
	ldr	d0, [x8, lCPI0_5@PAGEOFF]
LBB0_15:
	ldr	x8, [sp, #64]
	mov	w9, #163
	str	w9, [x8]
	str	s0, [x8, #4]
	str	d0, [x8, #8]
	mov	w9, #128
	str	w9, [x8, #16]
	mov	x0, x19
	bl	_rtl8723e_dm_bt_need_to_dec_bt_pwr
	cbz	x0, LBB0_17
; %bb.16:
	mov	w8, #1
	str	w8, [sp, #72]
LBB0_17:
	ldr	w1, [x24]
	ldr	w2, [x25]
Lloh67:
	adrp	x22, _hal_coex_8723@GOTPAGE
Lloh68:
	ldr	x22, [x22, _hal_coex_8723@GOTPAGEOFF]
	ldr	x8, [x22]
	stp	x8, x21, [sp]
Lloh69:
	adrp	x3, l_.str.11@PAGE
Lloh70:
	add	x3, x3, l_.str.11@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	ldr	x8, [x22]
	cbnz	x8, LBB0_19
; %bb.18:
Lloh71:
	adrp	x8, _BT_TXRX_CNT_LEVEL_3@GOTPAGE
Lloh72:
	ldr	x8, [x8, _BT_TXRX_CNT_LEVEL_3@GOTPAGEOFF]
Lloh73:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_20
LBB0_19:
	ldr	w1, [x24]
	ldr	w2, [x25]
Lloh74:
	adrp	x3, l_.str.12@PAGE
Lloh75:
	add	x3, x3, l_.str.12@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	w8, #1
	str	w8, [sp, #60]
	ldr	x8, [sp, #64]
Lloh76:
	adrp	x9, lCPI0_9@PAGE
Lloh77:
	ldr	q0, [x9, lCPI0_9@PAGEOFF]
	str	q0, [x8]
	mov	w9, #128
	str	w9, [x8, #16]
LBB0_20:
	mov	x0, x19
	bl	_rtl8723e_dm_bt_is_coexist_state_changed
	cbz	x0, LBB0_22
; %bb.21:
	add	x1, sp, #24
	mov	x0, x19
	bl	_rtl8723e_dm_bt_set_bt_dm
LBB0_22:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdr	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdr	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdr	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdr	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdr	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdr	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdr	Lloh54, Lloh55
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdr	Lloh61, Lloh62
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdr	Lloh65, Lloh66
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdr	Lloh76, Lloh77
	.loh AdrpAdd	Lloh74, Lloh75
	.cfi_endproc
                                        ; -- End function
	.comm	_COMP_BT_COEXIST,4,2            ; @COMP_BT_COEXIST
	.comm	_DBG_DMESG,4,2                  ; @DBG_DMESG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[BTCoex], BT TxRx Counters = %d\n"

	.comm	_HT_CHANNEL_WIDTH_20_40,8,3     ; @HT_CHANNEL_WIDTH_20_40
l_.str.1:                               ; @.str.1
	.asciz	"HT40\n"

	.comm	_BT_TXRX_CNT_LEVEL_2,8,3        ; @BT_TXRX_CNT_LEVEL_2
l_.str.2:                               ; @.str.2
	.asciz	"[BTCoex], BT TxRx Counters >= 1400\n"

	.comm	_BT_TXRX_CNT_LEVEL_1,8,3        ; @BT_TXRX_CNT_LEVEL_1
l_.str.3:                               ; @.str.3
	.asciz	"[BTCoex], BT TxRx Counters >= 1200 && < 1400\n"

l_.str.4:                               ; @.str.4
	.asciz	"[BTCoex], BT TxRx Counters < 1200\n"

l_.str.5:                               ; @.str.5
	.asciz	"HT20 or Legacy\n"

	.comm	_BT_RSSI_STATE_HIGH,8,3         ; @BT_RSSI_STATE_HIGH
	.comm	_BT_RSSI_STATE_STAY_HIGH,8,3    ; @BT_RSSI_STATE_STAY_HIGH
l_.str.6:                               ; @.str.6
	.asciz	"Wifi rssi high\n"

l_.str.7:                               ; @.str.7
	.asciz	"Wifi rssi low\n"

l_.str.8:                               ; @.str.8
	.asciz	"Wifi rssi-1 high\n"

l_.str.9:                               ; @.str.9
	.asciz	"[BTCoex], BT TxRx Counters>= 1200 && < 1400\n"

l_.str.10:                              ; @.str.10
	.asciz	"Wifi rssi-1 low\n"

l_.str.11:                              ; @.str.11
	.asciz	"[BTCoex], BT btInqPageStartTime = 0x%x, btTxRxCntLvl = %d\n"

	.comm	_hal_coex_8723,8,3              ; @hal_coex_8723
	.comm	_BT_TXRX_CNT_LEVEL_3,8,3        ; @BT_TXRX_CNT_LEVEL_3
l_.str.12:                              ; @.str.12
	.asciz	"[BTCoex], Set BT inquiry / page scan 0x3a setting\n"

	.no_dead_strip	_rtl8723e_dm_bt_2_ant_hid_sco_esco
.subsections_via_symbols
