	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8723e_dm_bt_set_fw_tdma_ctrl
_rtl8723e_dm_bt_set_fw_tdma_ctrl:       ## @rtl8723e_dm_bt_set_fw_tdma_ctrl
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %r12
	movl	%esi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	callq	_rtl_priv
	movq	%rax, %r14
	movq	$0, -56(%rbp)
	movq	$0, -64(%rbp)
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%ebx, %ebx
	je	LBB0_16
## %bb.1:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	xorl	%edi, %edi
	callq	_BIT
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, -64(%rbp)
	movl	(%r13), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	xorl	%edi, %edi
	callq	_BIT
	movq	%rax, %r15
	movq	%rax, -56(%rbp)
	movq	_TDMA_1ANT@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	movq	%r13, %rbx
	jne	LBB0_3
## %bb.2:
	movl	(%rbx), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	$1, %edi
	callq	_BIT
	orq	%rax, %r15
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, -56(%rbp)
	jmp	LBB0_7
LBB0_16:
	leaq	L_.str.9(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	(%r13), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	leaq	L_.str.10(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	xorl	%r8d, %r8d
	movq	%r13, %rbx
	movq	%r15, %r13
	xorl	%r15d, %r15d
	jmp	LBB0_17
LBB0_3:
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	_TDMA_2ANT@GOTPCREL(%rip), %rax
	movl	(%rbx), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	cmpq	%r12, (%rax)
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.3(%rip), %rcx
	jmp	LBB0_6
LBB0_5:
	leaq	L_.str.4(%rip), %rcx
LBB0_6:
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
LBB0_7:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	_TDMA_NAV_OFF@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	jne	LBB0_9
## %bb.8:
	movl	(%rbx), %esi
	movl	(%r13), %edx
	leaq	L_.str.5(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_9:
	movq	_TDMA_NAV_ON@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_11
## %bb.10:
	movl	(%rbx), %esi
	movl	(%r13), %edx
	leaq	L_.str.6(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	$2, %edi
	callq	_BIT
	orq	%rax, %r15
	movq	%r15, -56(%rbp)
LBB0_11:
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	_TDMA_DAC_SWING_OFF@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	jne	LBB0_13
## %bb.12:
	movl	(%rbx), %esi
	movl	(%r13), %edx
	leaq	L_.str.7(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	jmp	LBB0_15
LBB0_13:
	movq	_TDMA_DAC_SWING_ON@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	jne	LBB0_15
## %bb.14:
	movl	(%rbx), %esi
	movl	(%r13), %edx
	leaq	L_.str.8(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	$4, %edi
	callq	_BIT
	orq	%rax, %r15
	movq	%r15, -56(%rbp)
LBB0_15:
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movl	$0, (%r14)
LBB0_17:
	movl	(%rbx), %esi
	movl	(%r13), %edx
	leaq	L_.str.11(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	leaq	-64(%rbp), %rcx
	movq	%rbx, %r12
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movl	$38, %esi
	movl	$1, %edx
	callq	_rtl8723e_fill_h2c_cmd
	movl	(%r12), %esi
	movl	(%r13), %edx
	leaq	L_.str.12(%rip), %rcx
	movq	%r14, %rdi
	movq	%r15, %r8
	xorl	%eax, %eax
	callq	_RT_TRACE
	leaq	-56(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$20, %esi
	movl	$1, %edx
	callq	_rtl8723e_fill_h2c_cmd
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_19
## %bb.18:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.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	"[BTCoex], set BT PTA update manager to trigger update!!\n"

L_.str.1:                               ## @.str.1
	.asciz	"[BTCoex], turn TDMA mode ON!!\n"

	.comm	_TDMA_1ANT,8,3                  ## @TDMA_1ANT
L_.str.2:                               ## @.str.2
	.asciz	"[BTCoex], TDMA_1ANT\n"

	.comm	_TDMA_2ANT,8,3                  ## @TDMA_2ANT
L_.str.3:                               ## @.str.3
	.asciz	"[BTCoex], TDMA_2ANT\n"

L_.str.4:                               ## @.str.4
	.asciz	"[BTCoex], Unknown Ant\n"

	.comm	_TDMA_NAV_OFF,8,3               ## @TDMA_NAV_OFF
L_.str.5:                               ## @.str.5
	.asciz	"[BTCoex], TDMA_NAV_OFF\n"

	.comm	_TDMA_NAV_ON,8,3                ## @TDMA_NAV_ON
L_.str.6:                               ## @.str.6
	.asciz	"[BTCoex], TDMA_NAV_ON\n"

	.comm	_TDMA_DAC_SWING_OFF,8,3         ## @TDMA_DAC_SWING_OFF
L_.str.7:                               ## @.str.7
	.asciz	"[BTCoex], TDMA_DAC_SWING_OFF\n"

	.comm	_TDMA_DAC_SWING_ON,8,3          ## @TDMA_DAC_SWING_ON
L_.str.8:                               ## @.str.8
	.asciz	"[BTCoex], TDMA_DAC_SWING_ON\n"

L_.str.9:                               ## @.str.9
	.asciz	"[BTCoex], set BT PTA update manager to no update!!\n"

L_.str.10:                              ## @.str.10
	.asciz	"[BTCoex], turn TDMA mode OFF!!\n"

L_.str.11:                              ## @.str.11
	.asciz	"[BTCoex], FW2AntTDMA, write 0x26=0x%x\n"

L_.str.12:                              ## @.str.12
	.asciz	"[BTCoex], FW2AntTDMA, write 0x14=0x%x\n"

	.no_dead_strip	_rtl8723e_dm_bt_set_fw_tdma_ctrl
.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_set_fw_tdma_ctrl
_rtl8723e_dm_bt_set_fw_tdma_ctrl:       ; @rtl8723e_dm_bt_set_fw_tdma_ctrl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x23, x4
	mov	x24, x3
	mov	x25, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	bl	_rtl_priv
	mov	x20, x0
	stp	xzr, xzr, [sp, #8]
Lloh3:
	adrp	x26, _COMP_BT_COEXIST@GOTPAGE
Lloh4:
	ldr	x26, [x26, _COMP_BT_COEXIST@GOTPAGEOFF]
	ldr	w1, [x26]
Lloh5:
	adrp	x27, _DBG_TRACE@GOTPAGE
Lloh6:
	ldr	x27, [x27, _DBG_TRACE@GOTPAGEOFF]
	ldr	w2, [x27]
	cbz	w21, LBB0_3
; %bb.1:
Lloh7:
	adrp	x3, l_.str@PAGE
Lloh8:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	w0, #0
	bl	_BIT
	mov	x22, x0
	str	x0, [sp, #8]
	ldr	w1, [x26]
	ldr	w2, [x27]
Lloh9:
	adrp	x3, l_.str.1@PAGE
Lloh10:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	w0, #0
	bl	_BIT
	mov	x21, x0
	str	x0, [sp, #16]
Lloh11:
	adrp	x8, _TDMA_1ANT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TDMA_1ANT@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x8, x25
	b.ne	LBB0_4
; %bb.2:
	ldr	w1, [x26]
	ldr	w2, [x27]
Lloh14:
	adrp	x3, l_.str.2@PAGE
Lloh15:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	w0, #1
	bl	_BIT
	orr	x21, x21, x0
	str	x21, [sp, #16]
	b	LBB0_8
LBB0_3:
Lloh16:
	adrp	x3, l_.str.9@PAGE
Lloh17:
	add	x3, x3, l_.str.9@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	ldr	w1, [x26]
	ldr	w2, [x27]
Lloh18:
	adrp	x3, l_.str.10@PAGE
Lloh19:
	add	x3, x3, l_.str.10@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	x21, #0
	mov	x22, #0
	b	LBB0_17
LBB0_4:
Lloh20:
	adrp	x8, _TDMA_2ANT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TDMA_2ANT@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	ldr	w1, [x26]
	ldr	w2, [x27]
	cmp	x8, x25
	b.ne	LBB0_6
; %bb.5:
Lloh23:
	adrp	x3, l_.str.3@PAGE
Lloh24:
	add	x3, x3, l_.str.3@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh25:
	adrp	x3, l_.str.4@PAGE
Lloh26:
	add	x3, x3, l_.str.4@PAGEOFF
LBB0_7:
	mov	x0, x20
	bl	_RT_TRACE
LBB0_8:
Lloh27:
	adrp	x8, _TDMA_NAV_OFF@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TDMA_NAV_OFF@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	cmp	x8, x24
	b.ne	LBB0_10
; %bb.9:
	ldr	w1, [x26]
	ldr	w2, [x27]
Lloh30:
	adrp	x3, l_.str.5@PAGE
Lloh31:
	add	x3, x3, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	b	LBB0_12
LBB0_10:
Lloh32:
	adrp	x8, _TDMA_NAV_ON@GOTPAGE
Lloh33:
	ldr	x8, [x8, _TDMA_NAV_ON@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	cmp	x8, x24
	b.ne	LBB0_12
; %bb.11:
	ldr	w1, [x26]
	ldr	w2, [x27]
Lloh35:
	adrp	x3, l_.str.6@PAGE
Lloh36:
	add	x3, x3, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	w0, #2
	bl	_BIT
	orr	x21, x21, x0
	str	x21, [sp, #16]
LBB0_12:
Lloh37:
	adrp	x8, _TDMA_DAC_SWING_OFF@GOTPAGE
Lloh38:
	ldr	x8, [x8, _TDMA_DAC_SWING_OFF@GOTPAGEOFF]
Lloh39:
	ldr	x8, [x8]
	cmp	x8, x23
	b.ne	LBB0_14
; %bb.13:
	ldr	w1, [x26]
	ldr	w2, [x27]
Lloh40:
	adrp	x3, l_.str.7@PAGE
Lloh41:
	add	x3, x3, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	b	LBB0_16
LBB0_14:
Lloh42:
	adrp	x8, _TDMA_DAC_SWING_ON@GOTPAGE
Lloh43:
	ldr	x8, [x8, _TDMA_DAC_SWING_ON@GOTPAGEOFF]
Lloh44:
	ldr	x8, [x8]
	cmp	x8, x23
	b.ne	LBB0_16
; %bb.15:
	ldr	w1, [x26]
	ldr	w2, [x27]
Lloh45:
	adrp	x3, l_.str.8@PAGE
Lloh46:
	add	x3, x3, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	w0, #4
	bl	_BIT
	orr	x21, x21, x0
	str	x21, [sp, #16]
LBB0_16:
	str	wzr, [x20]
LBB0_17:
	ldr	w1, [x26]
	ldr	w2, [x27]
	str	x22, [sp]
Lloh47:
	adrp	x3, l_.str.11@PAGE
Lloh48:
	add	x3, x3, l_.str.11@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	add	x3, sp, #8
	mov	x0, x19
	mov	w1, #38
	mov	w2, #1
	bl	_rtl8723e_fill_h2c_cmd
	ldr	w1, [x26]
	ldr	w2, [x27]
	str	x21, [sp]
Lloh49:
	adrp	x3, l_.str.12@PAGE
Lloh50:
	add	x3, x3, l_.str.12@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	add	x3, sp, #16
	mov	x0, x19
	mov	w1, #20
	mov	w2, #1
	bl	_rtl8723e_fill_h2c_cmd
	ldr	x8, [sp, #24]
Lloh51:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh52:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh53:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.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	"[BTCoex], set BT PTA update manager to trigger update!!\n"

l_.str.1:                               ; @.str.1
	.asciz	"[BTCoex], turn TDMA mode ON!!\n"

	.comm	_TDMA_1ANT,8,3                  ; @TDMA_1ANT
l_.str.2:                               ; @.str.2
	.asciz	"[BTCoex], TDMA_1ANT\n"

	.comm	_TDMA_2ANT,8,3                  ; @TDMA_2ANT
l_.str.3:                               ; @.str.3
	.asciz	"[BTCoex], TDMA_2ANT\n"

l_.str.4:                               ; @.str.4
	.asciz	"[BTCoex], Unknown Ant\n"

	.comm	_TDMA_NAV_OFF,8,3               ; @TDMA_NAV_OFF
l_.str.5:                               ; @.str.5
	.asciz	"[BTCoex], TDMA_NAV_OFF\n"

	.comm	_TDMA_NAV_ON,8,3                ; @TDMA_NAV_ON
l_.str.6:                               ; @.str.6
	.asciz	"[BTCoex], TDMA_NAV_ON\n"

	.comm	_TDMA_DAC_SWING_OFF,8,3         ; @TDMA_DAC_SWING_OFF
l_.str.7:                               ; @.str.7
	.asciz	"[BTCoex], TDMA_DAC_SWING_OFF\n"

	.comm	_TDMA_DAC_SWING_ON,8,3          ; @TDMA_DAC_SWING_ON
l_.str.8:                               ; @.str.8
	.asciz	"[BTCoex], TDMA_DAC_SWING_ON\n"

l_.str.9:                               ; @.str.9
	.asciz	"[BTCoex], set BT PTA update manager to no update!!\n"

l_.str.10:                              ; @.str.10
	.asciz	"[BTCoex], turn TDMA mode OFF!!\n"

l_.str.11:                              ; @.str.11
	.asciz	"[BTCoex], FW2AntTDMA, write 0x26=0x%x\n"

l_.str.12:                              ; @.str.12
	.asciz	"[BTCoex], FW2AntTDMA, write 0x14=0x%x\n"

	.no_dead_strip	_rtl8723e_dm_bt_set_fw_tdma_ctrl
.subsections_via_symbols
