	.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_is_2_ant_common_action
LCPI0_0:
	.long	1                               ## 0x1
	.long	1515891370                      ## 0x5a5aaaaa
	.long	52428                           ## 0xcccc
	.long	3                               ## 0x3
LCPI0_1:
	.long	1                               ## 0x1
	.long	1431655765                      ## 0x55555555
	.long	65535                           ## 0xffff
	.long	3                               ## 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_rtl8723e_dm_bt_is_2_ant_common_action: ## @rtl8723e_dm_bt_is_2_ant_common_action
	.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
	subq	$64, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_rtl_priv
	movq	%rax, %r14
	leaq	-96(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_rtl8723e_dm_bt_btdm_structure_reload
	movq	%rbx, %rdi
	callq	_rtl8723e_dm_bt_is_wifi_busy
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	cmpq	$0, 8(%r14)
	je	LBB0_2
LBB0_3:
	movq	%rbx, %rdi
	callq	_rtl8723e_dm_bt_is_wifi_busy
	movq	8(%r14), %rcx
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	testq	%rcx, %rcx
	jne	LBB0_8
## %bb.5:
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_DMESG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
	callq	_RT_TRACE
	movl	$1, -96(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -92(%rbp)
	movl	$0, -76(%rbp)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,1515891370,52428,3]
	jmp	LBB0_11
LBB0_6:
	testq	%rcx, %rcx
	je	LBB0_7
LBB0_8:
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_DBG_DMESG@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%r14, %rdi
	callq	_RT_TRACE
	movq	%rbx, %rdi
	callq	_mgnt_link_status_query
	movq	_RT_MEDIA_CONNECT@GOTPCREL(%rip), %rcx
	movl	(%r15), %esi
	movl	(%r12), %edx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.9:
	leaq	L_.str.3(%rip), %rcx
	movq	%r14, %rdi
	callq	_RT_TRACE
LBB0_7:
	xorl	%r15d, %r15d
	movb	$1, %r12b
	jmp	LBB0_13
LBB0_10:
	leaq	L_.str.4(%rip), %rcx
	movq	%r14, %rdi
	callq	_RT_TRACE
	movabsq	$4294967296, %rax               ## imm = 0x100000000
	movq	%rax, -96(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -88(%rbp)
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [1,1431655765,65535,3]
LBB0_11:
	movups	%xmm0, -72(%rbp)
	movq	$0, -56(%rbp)
	movq	_TDMA_DAC_SWING_OFF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	jmp	LBB0_12
LBB0_2:
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_DMESG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	callq	_RT_TRACE
	leaq	-96(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_rtl8723e_dm_bt_btdm_structure_reload_all_off
LBB0_12:
	movl	$1, %r15d
	xorl	%r12d, %r12d
LBB0_13:
	movq	%rbx, %rdi
	callq	_rtl8723e_dm_bt_need_to_dec_bt_pwr
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movl	$1, -48(%rbp)
LBB0_15:
	testb	%r12b, %r12b
	jne	LBB0_18
## %bb.16:
	movq	_BT_COEX_STATE_BTINFO_COMMON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
	movq	%rbx, %rdi
	callq	_rtl8723e_dm_bt_is_coexist_state_changed
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	leaq	-96(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_rtl8723e_dm_bt_set_bt_dm
LBB0_18:
	movl	%r15d, %eax
	addq	$64, %rsp
	popq	%rbx
	popq	%r12
	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	"Wifi idle + Bt idle, bt coex mechanism always off!!\n"

L_.str.1:                               ## @.str.1
	.asciz	"Wifi non-idle + Bt disabled/idle!!\n"

	.comm	_TDMA_DAC_SWING_OFF,8,3         ## @TDMA_DAC_SWING_OFF
L_.str.2:                               ## @.str.2
	.asciz	"Bt non-idle!\n"

	.comm	_RT_MEDIA_CONNECT,8,3           ## @RT_MEDIA_CONNECT
L_.str.3:                               ## @.str.3
	.asciz	"Wifi connection exist\n"

L_.str.4:                               ## @.str.4
	.asciz	"No Wifi connection!\n"

	.comm	_BT_COEX_STATE_BTINFO_COMMON,4,2 ## @BT_COEX_STATE_BTINFO_COMMON
	.no_dead_strip	_rtl8723e_dm_bt_is_2_ant_common_action
.subsections_via_symbols

	.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_is_2_ant_common_action
lCPI0_0:
	.long	1                               ; 0x1
	.long	1515891370                      ; 0x5a5aaaaa
	.long	52428                           ; 0xcccc
	.long	3                               ; 0x3
lCPI0_2:
	.long	1                               ; 0x1
	.long	1431655765                      ; 0x55555555
	.long	65535                           ; 0xffff
	.long	3                               ; 0x3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
lCPI0_1:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_rtl8723e_dm_bt_is_2_ant_common_action: ; @rtl8723e_dm_bt_is_2_ant_common_action
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x0
	bl	_rtl_priv
	mov	x20, x0
	mov	x1, sp
	mov	x0, x19
	bl	_rtl8723e_dm_bt_btdm_structure_reload
	mov	x0, x19
	bl	_rtl8723e_dm_bt_is_wifi_busy
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_10
LBB0_2:
	mov	x0, x19
	bl	_rtl8723e_dm_bt_is_wifi_busy
	ldr	x8, [x20, #8]
	cbz	x0, LBB0_5
; %bb.3:
	cbnz	x8, LBB0_6
; %bb.4:
Lloh0:
	adrp	x8, _COMP_BT_COEXIST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COMP_BT_COEXIST@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _DBG_DMESG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DBG_DMESG@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x3, l_.str.1@PAGE
Lloh7:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	w22, #0
	mov	w21, #1
	str	w21, [sp]
	stur	xzr, [sp, #12]
	stur	xzr, [sp, #4]
	str	wzr, [sp, #20]
Lloh8:
	adrp	x8, lCPI0_0@PAGE
Lloh9:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	stur	q0, [sp, #24]
Lloh10:
	adrp	x8, _TDMA_DAC_SWING_OFF@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TDMA_DAC_SWING_OFF@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	str	xzr, [sp, #40]
	b	LBB0_12
LBB0_5:
	cbz	x8, LBB0_8
LBB0_6:
Lloh13:
	adrp	x21, _COMP_BT_COEXIST@GOTPAGE
Lloh14:
	ldr	x21, [x21, _COMP_BT_COEXIST@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh15:
	adrp	x22, _DBG_DMESG@GOTPAGE
Lloh16:
	ldr	x22, [x22, _DBG_DMESG@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh17:
	adrp	x3, l_.str.2@PAGE
Lloh18:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	x0, x19
	bl	_mgnt_link_status_query
Lloh19:
	adrp	x8, _RT_MEDIA_CONNECT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _RT_MEDIA_CONNECT@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	ldr	w1, [x21]
	ldr	w2, [x22]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.7:
Lloh22:
	adrp	x3, l_.str.3@PAGE
Lloh23:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
LBB0_8:
	mov	w21, #0
	mov	w22, #1
	b	LBB0_12
LBB0_9:
Lloh24:
	adrp	x3, l_.str.4@PAGE
Lloh25:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	w22, #0
Lloh26:
	adrp	x8, lCPI0_1@PAGE
Lloh27:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	str	d0, [sp]
	stp	xzr, xzr, [sp, #8]
Lloh28:
	adrp	x8, lCPI0_2@PAGE
Lloh29:
	ldr	q0, [x8, lCPI0_2@PAGEOFF]
Lloh30:
	adrp	x8, _TDMA_DAC_SWING_OFF@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TDMA_DAC_SWING_OFF@GOTPAGEOFF]
	stur	q0, [sp, #24]
Lloh32:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	str	xzr, [sp, #40]
	b	LBB0_11
LBB0_10:
Lloh33:
	adrp	x8, _COMP_BT_COEXIST@GOTPAGE
Lloh34:
	ldr	x8, [x8, _COMP_BT_COEXIST@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
Lloh36:
	adrp	x8, _DBG_DMESG@GOTPAGE
Lloh37:
	ldr	x8, [x8, _DBG_DMESG@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x8]
Lloh39:
	adrp	x3, l_.str@PAGE
Lloh40:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	x1, sp
	mov	x0, x19
	bl	_rtl8723e_dm_bt_btdm_structure_reload_all_off
	mov	w22, #0
LBB0_11:
	mov	w21, #1
LBB0_12:
	mov	x0, x19
	bl	_rtl8723e_dm_bt_need_to_dec_bt_pwr
	cbz	x0, LBB0_14
; %bb.13:
	mov	w8, #1
	str	w8, [sp, #48]
LBB0_14:
	tbnz	w22, #0, LBB0_17
; %bb.15:
Lloh41:
	adrp	x8, _BT_COEX_STATE_BTINFO_COMMON@GOTPAGE
Lloh42:
	ldr	x8, [x8, _BT_COEX_STATE_BTINFO_COMMON@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	mov	x0, x19
	bl	_rtl8723e_dm_bt_is_coexist_state_changed
	cbz	x0, LBB0_17
; %bb.16:
	mov	x1, sp
	mov	x0, x19
	bl	_rtl8723e_dm_bt_set_bt_dm
LBB0_17:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdrp	Lloh8, Lloh10
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdrp	Lloh28, Lloh30
	.loh AdrpLdr	Lloh28, Lloh29
	.loh AdrpAdrp	Lloh26, Lloh28
	.loh AdrpLdr	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh41, 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	"Wifi idle + Bt idle, bt coex mechanism always off!!\n"

l_.str.1:                               ; @.str.1
	.asciz	"Wifi non-idle + Bt disabled/idle!!\n"

	.comm	_TDMA_DAC_SWING_OFF,8,3         ; @TDMA_DAC_SWING_OFF
l_.str.2:                               ; @.str.2
	.asciz	"Bt non-idle!\n"

	.comm	_RT_MEDIA_CONNECT,8,3           ; @RT_MEDIA_CONNECT
l_.str.3:                               ; @.str.3
	.asciz	"Wifi connection exist\n"

l_.str.4:                               ; @.str.4
	.asciz	"No Wifi connection!\n"

	.comm	_BT_COEX_STATE_BTINFO_COMMON,4,2 ; @BT_COEX_STATE_BTINFO_COMMON
	.no_dead_strip	_rtl8723e_dm_bt_is_2_ant_common_action
.subsections_via_symbols
