	.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_bt_enable_disable_check
LCPI0_0:
	.long	60138                           ## 0xeaea
	.long	60138                           ## 0xeaea
	.long	60138                           ## 0xeaea
	.long	60138                           ## 0xeaea
LCPI0_1:
	.long	65535                           ## 0xffff
	.long	65535                           ## 0xffff
	.long	65535                           ## 0xffff
	.long	65535                           ## 0xffff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_rtl8723e_dm_bt_bt_enable_disable_check: ## @rtl8723e_dm_bt_bt_enable_disable_check
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_rtl_priv
	movq	%rax, %rbx
	movq	_hal_coex_8723@GOTPCREL(%rip), %rax
	movdqu	(%rax), %xmm0
	movdqa	%xmm0, %xmm1
	psubd	LCPI0_1(%rip), %xmm1
	ptest	%xmm1, %xmm1
	je	LBB0_4
## %bb.1:
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [60138,60138,60138,60138]
	pcmpeqd	%xmm0, %xmm1
	movmskps	%xmm1, %eax
	xorl	$15, %eax
	testb	%al, %al
	je	LBB0_4
## %bb.2:
	pxor	%xmm1, %xmm1
	pcmpeqd	%xmm1, %xmm0
	movmskps	%xmm0, %eax
	xorl	$15, %eax
	testb	%al, %al
	je	LBB0_4
## %bb.3:
	movq	$0, (%rbx)
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	jmp	LBB0_6
LBB0_4:
	movl	(%rbx), %r8d
	incl	%r8d
	movl	%r8d, (%rbx)
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	cmpl	$2, (%rbx)
	jl	LBB0_7
## %bb.5:
	movl	$1, 4(%rbx)
	movl	(%r14), %esi
	movl	(%r15), %edx
	leaq	L_.str.2(%rip), %rcx
LBB0_6:
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
LBB0_7:
	movl	4(%rbx), %eax
	movl	8(%rbx), %ecx
	cmpl	%eax, %ecx
	je	LBB0_9
## %bb.8:
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rdx
	testl	%ecx, %ecx
	leaq	L_.str.5(%rip), %rcx
	leaq	L_.str.4(%rip), %r9
	movq	%r9, %r8
	cmoveq	%rcx, %r8
	movl	(%rdx), %edx
	testl	%eax, %eax
	cmoveq	%rcx, %r9
	leaq	L_.str.3(%rip), %rcx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	4(%rbx), %eax
	movl	%eax, 8(%rbx)
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hal_coex_8723,16,2             ## @hal_coex_8723
	.comm	_COMP_BT_COEXIST,4,2            ## @COMP_BT_COEXIST
	.comm	_DBG_TRACE,4,2                  ## @DBG_TRACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"8723A BT is enabled !!\n"

L_.str.1:                               ## @.str.1
	.asciz	"8723A bt all counters=0, %d times!!\n"

L_.str.2:                               ## @.str.2
	.asciz	"8723A BT is disabled !!\n"

L_.str.3:                               ## @.str.3
	.asciz	"8723A BT is from %s to %s!!\n"

L_.str.4:                               ## @.str.4
	.asciz	"disabled"

L_.str.5:                               ## @.str.5
	.asciz	"enabled"

	.no_dead_strip	_rtl8723e_dm_bt_bt_enable_disable_check
.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_enable_disable_check
_rtl8723e_dm_bt_bt_enable_disable_check: ; @rtl8723e_dm_bt_bt_enable_disable_check
	.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
	bl	_rtl_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _hal_coex_8723@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hal_coex_8723@GOTPAGEOFF]
	ldp	w9, w10, [x8]
	orr	w11, w9, w10
	ldp	w12, w8, [x8, #8]
	orr	w11, w11, w12
	orr	w11, w11, w8
	cmp	w11, #0
	cset	w11, ne
	mov	w13, #60138
	cmp	w9, w13
	ccmp	w10, w13, #0, eq
	ccmp	w12, w13, #0, eq
	ccmp	w8, w13, #0, eq
	cset	w13, ne
	mov	w14, #65535
	cmp	w8, w14
	ccmp	w12, w14, #0, eq
	ccmp	w10, w14, #0, eq
	ccmp	w9, w14, #0, eq
	ccmp	w13, #0, #4, ne
	ccmp	w11, #0, #4, ne
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
Lloh2:
	adrp	x20, _COMP_BT_COEXIST@GOTPAGE
Lloh3:
	ldr	x20, [x20, _COMP_BT_COEXIST@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh4:
	adrp	x21, _DBG_TRACE@GOTPAGE
Lloh5:
	ldr	x21, [x21, _DBG_TRACE@GOTPAGEOFF]
	ldr	w2, [x21]
	str	x8, [sp]
Lloh6:
	adrp	x3, l_.str.1@PAGE
Lloh7:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
	ldr	w8, [x19]
	cmp	w8, #2
	b.lt	LBB0_5
; %bb.2:
	mov	w8, #1
	str	w8, [x19, #4]
	ldr	w1, [x20]
	ldr	w2, [x21]
Lloh8:
	adrp	x3, l_.str.2@PAGE
Lloh9:
	add	x3, x3, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_3:
	str	xzr, [x19]
Lloh10:
	adrp	x8, _COMP_BT_COEXIST@GOTPAGE
Lloh11:
	ldr	x8, [x8, _COMP_BT_COEXIST@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _DBG_TRACE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DBG_TRACE@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	adrp	x3, l_.str@PAGE
Lloh17:
	add	x3, x3, l_.str@PAGEOFF
LBB0_4:
	mov	x0, x19
	bl	_RT_TRACE
LBB0_5:
	ldp	w8, w9, [x19, #4]
	cmp	w9, w8
	b.eq	LBB0_7
; %bb.6:
Lloh18:
	adrp	x10, _COMP_BT_COEXIST@GOTPAGE
Lloh19:
	ldr	x10, [x10, _COMP_BT_COEXIST@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x10]
Lloh21:
	adrp	x10, _DBG_TRACE@GOTPAGE
Lloh22:
	ldr	x10, [x10, _DBG_TRACE@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x10]
Lloh24:
	adrp	x10, l_.str.4@PAGE
Lloh25:
	add	x10, x10, l_.str.4@PAGEOFF
Lloh26:
	adrp	x11, l_.str.5@PAGE
Lloh27:
	add	x11, x11, l_.str.5@PAGEOFF
	cmp	w9, #0
	csel	x9, x11, x10, eq
	cmp	w8, #0
	csel	x8, x11, x10, eq
	stp	x9, x8, [sp]
Lloh28:
	adrp	x3, l_.str.3@PAGE
Lloh29:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
	ldr	w8, [x19, #4]
	str	w8, [x19, #8]
LBB0_7:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_hal_coex_8723,16,2             ; @hal_coex_8723
	.comm	_COMP_BT_COEXIST,4,2            ; @COMP_BT_COEXIST
	.comm	_DBG_TRACE,4,2                  ; @DBG_TRACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"8723A BT is enabled !!\n"

l_.str.1:                               ; @.str.1
	.asciz	"8723A bt all counters=0, %d times!!\n"

l_.str.2:                               ; @.str.2
	.asciz	"8723A BT is disabled !!\n"

l_.str.3:                               ; @.str.3
	.asciz	"8723A BT is from %s to %s!!\n"

l_.str.4:                               ; @.str.4
	.asciz	"disabled"

l_.str.5:                               ; @.str.5
	.asciz	"enabled"

	.no_dead_strip	_rtl8723e_dm_bt_bt_enable_disable_check
.subsections_via_symbols
