	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8723e_dm_bt_bt_tx_rx_counter_level
_rtl8723e_dm_bt_bt_tx_rx_counter_level: ## @rtl8723e_dm_bt_bt_tx_rx_counter_level
	.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
	movq	%rdi, %rbx
	callq	_rtl_priv
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_rtl8723e_dm_bt_tx_rx_couter_h
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_rtl8723e_dm_bt_tx_rx_couter_l
	movq	%rax, %rbx
	addq	%r15, %rbx
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_DBG_DMESG@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	movq	%rbx, %r8
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	_BT_COEX_STATE_BT_CNT_LEVEL_0@GOTPCREL(%rip), %rcx
	movq	_BT_COEX_STATE_BT_CNT_LEVEL_1@GOTPCREL(%rip), %rdi
	movl	(%rdi), %eax
	orl	(%rcx), %eax
	movq	_BT_COEX_STATE_BT_CNT_LEVEL_2@GOTPCREL(%rip), %r15
	orl	(%r15), %eax
	notl	%eax
	andl	%eax, (%r14)
	movq	_BT_TXRX_CNT_THRES_3@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jge	LBB0_1
## %bb.2:
	movq	_BT_TXRX_CNT_THRES_2@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jge	LBB0_3
## %bb.4:
	movq	_BT_TXRX_CNT_THRES_1@GOTPCREL(%rip), %rax
	movl	(%r13), %esi
	movl	(%r12), %edx
	cmpq	(%rax), %rbx
	jge	LBB0_5
## %bb.6:
	movq	%rcx, %r15
	leaq	L_.str.4(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	_BT_TXRX_CNT_LEVEL_0@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movl	(%r13), %esi
	movl	(%r12), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	_BT_COEX_STATE_BT_CNT_LEVEL_3@GOTPCREL(%rip), %r15
	movq	_BT_TXRX_CNT_LEVEL_3@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	movl	(%r13), %esi
	movl	(%r12), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	_BT_TXRX_CNT_LEVEL_2@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	leaq	L_.str.3(%rip), %rcx
	movq	%rdi, %r15
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	_BT_TXRX_CNT_LEVEL_1@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	movl	(%r15), %ecx
	orl	%ecx, (%r14)
	addq	$8, %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	_BT_COEX_STATE_BT_CNT_LEVEL_0,4,2 ## @BT_COEX_STATE_BT_CNT_LEVEL_0
	.comm	_BT_COEX_STATE_BT_CNT_LEVEL_1,4,2 ## @BT_COEX_STATE_BT_CNT_LEVEL_1
	.comm	_BT_COEX_STATE_BT_CNT_LEVEL_2,4,2 ## @BT_COEX_STATE_BT_CNT_LEVEL_2
	.comm	_BT_TXRX_CNT_THRES_3,8,3        ## @BT_TXRX_CNT_THRES_3
L_.str.1:                               ## @.str.1
	.asciz	"[BTCoex], BT TxRx Counters at level 3\n"

	.comm	_BT_TXRX_CNT_LEVEL_3,4,2        ## @BT_TXRX_CNT_LEVEL_3
	.comm	_BT_COEX_STATE_BT_CNT_LEVEL_3,4,2 ## @BT_COEX_STATE_BT_CNT_LEVEL_3
	.comm	_BT_TXRX_CNT_THRES_2,8,3        ## @BT_TXRX_CNT_THRES_2
L_.str.2:                               ## @.str.2
	.asciz	"[BTCoex], BT TxRx Counters at level 2\n"

	.comm	_BT_TXRX_CNT_LEVEL_2,4,2        ## @BT_TXRX_CNT_LEVEL_2
	.comm	_BT_TXRX_CNT_THRES_1,8,3        ## @BT_TXRX_CNT_THRES_1
L_.str.3:                               ## @.str.3
	.asciz	"[BTCoex], BT TxRx Counters at level 1\n"

	.comm	_BT_TXRX_CNT_LEVEL_1,4,2        ## @BT_TXRX_CNT_LEVEL_1
L_.str.4:                               ## @.str.4
	.asciz	"[BTCoex], BT TxRx Counters at level 0\n"

	.comm	_BT_TXRX_CNT_LEVEL_0,4,2        ## @BT_TXRX_CNT_LEVEL_0
	.no_dead_strip	_rtl8723e_dm_bt_bt_tx_rx_counter_level
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8723e_dm_bt_bt_tx_rx_counter_level
_rtl8723e_dm_bt_bt_tx_rx_counter_level: ; @rtl8723e_dm_bt_bt_tx_rx_counter_level
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x0
	bl	_rtl_priv
	mov	x19, x0
	mov	x0, x20
	bl	_rtl8723e_dm_bt_tx_rx_couter_h
	mov	x21, x0
	mov	x0, x20
	bl	_rtl8723e_dm_bt_tx_rx_couter_l
	add	x20, x0, x21
Lloh0:
	adrp	x22, _COMP_BT_COEXIST@GOTPAGE
Lloh1:
	ldr	x22, [x22, _COMP_BT_COEXIST@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh2:
	adrp	x21, _DBG_DMESG@GOTPAGE
Lloh3:
	ldr	x21, [x21, _DBG_DMESG@GOTPAGEOFF]
	ldr	w2, [x21]
	str	x20, [sp]
Lloh4:
	adrp	x3, l_.str@PAGE
Lloh5:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
Lloh6:
	adrp	x8, _BT_COEX_STATE_BT_CNT_LEVEL_0@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BT_COEX_STATE_BT_CNT_LEVEL_0@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _BT_COEX_STATE_BT_CNT_LEVEL_1@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BT_COEX_STATE_BT_CNT_LEVEL_1@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh12:
	adrp	x9, _BT_COEX_STATE_BT_CNT_LEVEL_2@GOTPAGE
Lloh13:
	ldr	x9, [x9, _BT_COEX_STATE_BT_CNT_LEVEL_2@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
Lloh15:
	adrp	x8, _BT_TXRX_CNT_THRES_3@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BT_TXRX_CNT_THRES_3@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ge	LBB0_4
; %bb.1:
Lloh18:
	adrp	x8, _BT_TXRX_CNT_THRES_2@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BT_TXRX_CNT_THRES_2@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ge	LBB0_5
; %bb.2:
Lloh21:
	adrp	x8, _BT_TXRX_CNT_THRES_1@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BT_TXRX_CNT_THRES_1@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	ldr	w1, [x22]
	ldr	w2, [x21]
	cmp	x20, x8
	b.ge	LBB0_6
; %bb.3:
Lloh24:
	adrp	x3, l_.str.4@PAGE
Lloh25:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
Lloh26:
	adrp	x8, _BT_COEX_STATE_BT_CNT_LEVEL_0@GOTPAGE
Lloh27:
	ldr	x8, [x8, _BT_COEX_STATE_BT_CNT_LEVEL_0@GOTPAGEOFF]
Lloh28:
	adrp	x9, _BT_TXRX_CNT_LEVEL_0@GOTPAGE
Lloh29:
	ldr	x9, [x9, _BT_TXRX_CNT_LEVEL_0@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
	ldr	w1, [x22]
	ldr	w2, [x21]
Lloh30:
	adrp	x3, l_.str.1@PAGE
Lloh31:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
Lloh32:
	adrp	x8, _BT_COEX_STATE_BT_CNT_LEVEL_3@GOTPAGE
Lloh33:
	ldr	x8, [x8, _BT_COEX_STATE_BT_CNT_LEVEL_3@GOTPAGEOFF]
Lloh34:
	adrp	x9, _BT_TXRX_CNT_LEVEL_3@GOTPAGE
Lloh35:
	ldr	x9, [x9, _BT_TXRX_CNT_LEVEL_3@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	ldr	w1, [x22]
	ldr	w2, [x21]
Lloh36:
	adrp	x3, l_.str.2@PAGE
Lloh37:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
Lloh38:
	adrp	x8, _BT_COEX_STATE_BT_CNT_LEVEL_2@GOTPAGE
Lloh39:
	ldr	x8, [x8, _BT_COEX_STATE_BT_CNT_LEVEL_2@GOTPAGEOFF]
Lloh40:
	adrp	x9, _BT_TXRX_CNT_LEVEL_2@GOTPAGE
Lloh41:
	ldr	x9, [x9, _BT_TXRX_CNT_LEVEL_2@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh42:
	adrp	x3, l_.str.3@PAGE
Lloh43:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
Lloh44:
	adrp	x8, _BT_COEX_STATE_BT_CNT_LEVEL_1@GOTPAGE
Lloh45:
	ldr	x8, [x8, _BT_COEX_STATE_BT_CNT_LEVEL_1@GOTPAGEOFF]
Lloh46:
	adrp	x9, _BT_TXRX_CNT_LEVEL_1@GOTPAGE
Lloh47:
	ldr	x9, [x9, _BT_TXRX_CNT_LEVEL_1@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x9]
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.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	_BT_COEX_STATE_BT_CNT_LEVEL_0,4,2 ; @BT_COEX_STATE_BT_CNT_LEVEL_0
	.comm	_BT_COEX_STATE_BT_CNT_LEVEL_1,4,2 ; @BT_COEX_STATE_BT_CNT_LEVEL_1
	.comm	_BT_COEX_STATE_BT_CNT_LEVEL_2,4,2 ; @BT_COEX_STATE_BT_CNT_LEVEL_2
	.comm	_BT_TXRX_CNT_THRES_3,8,3        ; @BT_TXRX_CNT_THRES_3
l_.str.1:                               ; @.str.1
	.asciz	"[BTCoex], BT TxRx Counters at level 3\n"

	.comm	_BT_TXRX_CNT_LEVEL_3,4,2        ; @BT_TXRX_CNT_LEVEL_3
	.comm	_BT_COEX_STATE_BT_CNT_LEVEL_3,4,2 ; @BT_COEX_STATE_BT_CNT_LEVEL_3
	.comm	_BT_TXRX_CNT_THRES_2,8,3        ; @BT_TXRX_CNT_THRES_2
l_.str.2:                               ; @.str.2
	.asciz	"[BTCoex], BT TxRx Counters at level 2\n"

	.comm	_BT_TXRX_CNT_LEVEL_2,4,2        ; @BT_TXRX_CNT_LEVEL_2
	.comm	_BT_TXRX_CNT_THRES_1,8,3        ; @BT_TXRX_CNT_THRES_1
l_.str.3:                               ; @.str.3
	.asciz	"[BTCoex], BT TxRx Counters at level 1\n"

	.comm	_BT_TXRX_CNT_LEVEL_1,4,2        ; @BT_TXRX_CNT_LEVEL_1
l_.str.4:                               ; @.str.4
	.asciz	"[BTCoex], BT TxRx Counters at level 0\n"

	.comm	_BT_TXRX_CNT_LEVEL_0,4,2        ; @BT_TXRX_CNT_LEVEL_0
	.no_dead_strip	_rtl8723e_dm_bt_bt_tx_rx_counter_level
.subsections_via_symbols
