	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8723e_dm_bt_parse_bt_info
_rtl8723e_dm_bt_parse_bt_info:          ## @rtl8723e_dm_bt_parse_bt_info
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	callq	_rtl_priv
	movq	%rax, %r14
	movq	_hal_coex_8723@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	$0, 8(%rax)
	testq	%r15, %r15
	je	LBB0_8
## %bb.1:
	leaq	8(%rbx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	-1(%r15), %r12
	movq	_hal_coex_8723@GOTPCREL(%rip), %rax
	leaq	8(%rax), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	addq	$16, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %rax
	movq	%rax, (%rcx)
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r13, %r12
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str(%rip), %rax
	cmoveq	%rax, %rcx
	movq	(%rbx,%r13,8), %r8
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	incq	%r13
	cmpq	%r13, %r15
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$1, %r13
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%r13, %r13
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_6
LBB0_8:
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_DBG_DMESG@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	_hal_coex_8723@GOTPCREL(%rip), %r13
	movq	16(%r13), %r8
	leaq	L_.str.2(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	16(%r13), %rbx
	movl	$2, %edi
	callq	_BIT
	xorl	%ecx, %ecx
	testq	%rbx, %rax
	setne	%cl
	movl	%ecx, 24(%r13)
	movq	_BTINFO_B_CONNECTION@GOTPCREL(%rip), %rax
	movl	(%r15), %esi
	movl	(%r12), %edx
	testq	%rbx, (%rax)
	je	LBB0_10
## %bb.9:
	leaq	L_.str.3(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	$1, (%r14)
	movq	_BT_COEX_STATE_BT_IDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 4(%r14)
	jmp	LBB0_11
LBB0_10:
	leaq	L_.str.4(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	$0, (%r14)
	movq	_BT_COEX_STATE_BT_IDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r14)
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hal_coex_8723,32,3             ## @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	"0x%2x]"

L_.str.1:                               ## @.str.1
	.asciz	"0x%2x, "

	.comm	_DBG_DMESG,4,2                  ## @DBG_DMESG
L_.str.2:                               ## @.str.2
	.asciz	"BT info bt_info (Data)= 0x%x\n"

	.comm	_BTINFO_B_CONNECTION,8,3        ## @BTINFO_B_CONNECTION
L_.str.3:                               ## @.str.3
	.asciz	"[BTC2H], BTInfo: bConnect=true\n"

	.comm	_BT_COEX_STATE_BT_IDLE,4,2      ## @BT_COEX_STATE_BT_IDLE
L_.str.4:                               ## @.str.4
	.asciz	"[BTC2H], BTInfo: bConnect=false\n"

	.no_dead_strip	_rtl8723e_dm_bt_parse_bt_info
.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_parse_bt_info
_rtl8723e_dm_bt_parse_bt_info:          ; @rtl8723e_dm_bt_parse_bt_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	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
	.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	x20, x2
	mov	x21, x1
	bl	_rtl_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _hal_coex_8723@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hal_coex_8723@GOTPAGEOFF]
	str	wzr, [x8]
	str	xzr, [x8, #8]
Lloh2:
	adrp	x23, _COMP_BT_COEXIST@GOTPAGE
Lloh3:
	ldr	x23, [x23, _COMP_BT_COEXIST@GOTPAGEOFF]
	cbz	x20, LBB0_8
; %bb.1:
	mov	x24, #0
	add	x25, x21, #8
	sub	x26, x20, #1
Lloh4:
	adrp	x27, _DBG_TRACE@GOTPAGE
Lloh5:
	ldr	x27, [x27, _DBG_TRACE@GOTPAGEOFF]
Lloh6:
	adrp	x28, l_.str.1@PAGE
Lloh7:
	add	x28, x28, l_.str.1@PAGEOFF
Lloh8:
	adrp	x22, l_.str@PAGE
Lloh9:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
Lloh10:
	adrp	x8, _hal_coex_8723@GOTPAGE
Lloh11:
	ldr	x8, [x8, _hal_coex_8723@GOTPAGEOFF]
	add	x8, x8, #8
	mov	x9, x25
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x9]
	str	x9, [x8]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x23]
	ldr	w2, [x27]
	cmp	x26, x24
	csel	x3, x22, x28, eq
	ldr	x8, [x21, x24, lsl #3]
	str	x8, [sp]
	mov	x0, x19
	bl	_RT_TRACE
	add	x24, x24, #1
	cmp	x20, x24
	b.eq	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x24, #1
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cbnz	x24, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh12:
	adrp	x8, _hal_coex_8723@GOTPAGE
Lloh13:
	ldr	x8, [x8, _hal_coex_8723@GOTPAGEOFF]
	add	x8, x8, #16
	mov	x9, x21
	b	LBB0_3
LBB0_8:
	ldr	w1, [x23]
Lloh14:
	adrp	x20, _DBG_DMESG@GOTPAGE
Lloh15:
	ldr	x20, [x20, _DBG_DMESG@GOTPAGEOFF]
	ldr	w2, [x20]
Lloh16:
	adrp	x22, _hal_coex_8723@GOTPAGE
Lloh17:
	ldr	x22, [x22, _hal_coex_8723@GOTPAGEOFF]
	ldr	x8, [x22, #16]
	str	x8, [sp]
Lloh18:
	adrp	x3, l_.str.2@PAGE
Lloh19:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
	ldr	x21, [x22, #16]
	mov	w0, #2
	bl	_BIT
	tst	x0, x21
	cset	w8, ne
	str	w8, [x22, #24]
Lloh20:
	adrp	x8, _BTINFO_B_CONNECTION@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BTINFO_B_CONNECTION@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	ldr	w1, [x23]
	ldr	w2, [x20]
	tst	x8, x21
	b.eq	LBB0_10
; %bb.9:
Lloh23:
	adrp	x3, l_.str.3@PAGE
Lloh24:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
	mov	w8, #1
	str	w8, [x19]
Lloh25:
	adrp	x8, _BT_COEX_STATE_BT_IDLE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _BT_COEX_STATE_BT_IDLE@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	bic	w8, w9, w8
	b	LBB0_11
LBB0_10:
Lloh28:
	adrp	x3, l_.str.4@PAGE
Lloh29:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
	str	wzr, [x19]
Lloh30:
	adrp	x8, _BT_COEX_STATE_BT_IDLE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _BT_COEX_STATE_BT_IDLE@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
LBB0_11:
	str	w8, [x19, #4]
	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
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_hal_coex_8723,32,3             ; @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	"0x%2x]"

l_.str.1:                               ; @.str.1
	.asciz	"0x%2x, "

	.comm	_DBG_DMESG,4,2                  ; @DBG_DMESG
l_.str.2:                               ; @.str.2
	.asciz	"BT info bt_info (Data)= 0x%x\n"

	.comm	_BTINFO_B_CONNECTION,8,3        ; @BTINFO_B_CONNECTION
l_.str.3:                               ; @.str.3
	.asciz	"[BTC2H], BTInfo: bConnect=true\n"

	.comm	_BT_COEX_STATE_BT_IDLE,4,2      ; @BT_COEX_STATE_BT_IDLE
l_.str.4:                               ; @.str.4
	.asciz	"[BTC2H], BTInfo: bConnect=false\n"

	.no_dead_strip	_rtl8723e_dm_bt_parse_bt_info
.subsections_via_symbols
