	.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_tra_tdma_ctrl
_rtl8723e_dm_bt_set_fw_tra_tdma_ctrl:   ## @rtl8723e_dm_bt_set_fw_tra_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r13
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_rtl_priv
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_hal
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movl	(%rax), %edi
	callq	_IS_VENDOR_8723_A_CUT
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_19
## %bb.2:
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RT_TRACE                       ## TAILCALL
LBB0_3:
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.4:
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	xorl	%edi, %edi
	callq	_BIT
	movq	%rax, %rbx
	movq	%rax, -64(%rbp)
	movq	_TDMA_1ANT@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	jne	LBB0_7
## %bb.5:
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	$1, %edi
	callq	_BIT
	orq	%rax, %rbx
	movq	%rbx, -64(%rbp)
	jmp	LBB0_11
LBB0_6:
	leaq	L_.str.7(%rip), %rcx
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	xorl	%ebx, %ebx
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %r13
	jmp	LBB0_17
LBB0_7:
	movq	_TDMA_2ANT@GOTPCREL(%rip), %rax
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	cmpq	%r13, (%rax)
	jne	LBB0_9
## %bb.8:
	leaq	L_.str.3(%rip), %rcx
	jmp	LBB0_10
LBB0_9:
	leaq	L_.str.4(%rip), %rcx
LBB0_10:
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %r13
LBB0_11:
	movq	_TDMA_NAV_OFF@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	jne	LBB0_13
## %bb.12:
	movl	(%r13), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.5(%rip), %rcx
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	jmp	LBB0_16
LBB0_13:
	movq	_TDMA_NAV_ON@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	jne	LBB0_15
## %bb.14:
	movl	(%r13), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.6(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	xorl	%edi, %edi
	callq	_BIT
	movq	%rax, %r12
	movq	%rax, -56(%rbp)
	jmp	LBB0_16
LBB0_15:
	xorl	%r12d, %r12d
LBB0_16:
	movl	$0, (%r14)
LBB0_17:
	movl	(%r13), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shlq	$8, %rbx
	orq	%r12, %rbx
	leaq	L_.str.8(%rip), %rcx
	movq	%r14, %rdi
	movq	%rbx, %r8
	xorl	%eax, %eax
	callq	_RT_TRACE
	leaq	-64(%rbp), %rcx
	movq	%r15, %rdi
	movl	$51, %esi
	movl	$2, %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	$24, %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], not 8723B cut, don't set Traditional TDMA!!\n"

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

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

	.comm	_TDMA_2ANT,8,3                  ## @TDMA_2ANT
L_.str.3:                               ## @.str.3
	.asciz	"[BTCoex], TTDMA_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], TTDMA_NAV_OFF\n"

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

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

L_.str.8:                               ## @.str.8
	.asciz	"[BTCoex], FW Traditional TDMA, write 0x33=0x%x\n"

	.no_dead_strip	_rtl8723e_dm_bt_set_fw_tra_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_tra_tdma_ctrl
_rtl8723e_dm_bt_set_fw_tra_tdma_ctrl:   ; @rtl8723e_dm_bt_set_fw_tra_tdma_ctrl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x21, x3
	mov	x23, x2
	mov	x22, 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
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_hal
	stp	xzr, xzr, [sp, #8]
	ldr	w0, [x0]
	bl	_IS_VENDOR_8723_A_CUT
	cbz	x0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _COMP_BT_COEXIST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _COMP_BT_COEXIST@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _DBG_TRACE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DBG_TRACE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	ldr	x8, [sp, #24]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.2:
Lloh12:
	adrp	x3, l_.str@PAGE
Lloh13:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	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
	add	sp, sp, #112
	b	_RT_TRACE
LBB0_3:
Lloh14:
	adrp	x24, _COMP_BT_COEXIST@GOTPAGE
Lloh15:
	ldr	x24, [x24, _COMP_BT_COEXIST@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh16:
	adrp	x25, _DBG_TRACE@GOTPAGE
Lloh17:
	ldr	x25, [x25, _DBG_TRACE@GOTPAGEOFF]
	ldr	w2, [x25]
	cbz	w22, LBB0_6
; %bb.4:
Lloh18:
	adrp	x3, l_.str.1@PAGE
Lloh19:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	w0, #0
	bl	_BIT
	mov	x22, x0
	str	x0, [sp, #8]
Lloh20:
	adrp	x8, _TDMA_1ANT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TDMA_1ANT@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cmp	x8, x23
	b.ne	LBB0_7
; %bb.5:
	ldr	w1, [x24]
	ldr	w2, [x25]
Lloh23:
	adrp	x3, l_.str.2@PAGE
Lloh24:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	w0, #1
	bl	_BIT
	orr	x22, x22, x0
	str	x22, [sp, #8]
	b	LBB0_11
LBB0_6:
Lloh25:
	adrp	x3, l_.str.7@PAGE
Lloh26:
	add	x3, x3, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	x0, #0
	mov	x22, #0
	b	LBB0_17
LBB0_7:
Lloh27:
	adrp	x8, _TDMA_2ANT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TDMA_2ANT@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	ldr	w1, [x24]
	ldr	w2, [x25]
	cmp	x8, x23
	b.ne	LBB0_9
; %bb.8:
Lloh30:
	adrp	x3, l_.str.3@PAGE
Lloh31:
	add	x3, x3, l_.str.3@PAGEOFF
	b	LBB0_10
LBB0_9:
Lloh32:
	adrp	x3, l_.str.4@PAGE
Lloh33:
	add	x3, x3, l_.str.4@PAGEOFF
LBB0_10:
	mov	x0, x20
	bl	_RT_TRACE
LBB0_11:
Lloh34:
	adrp	x8, _TDMA_NAV_OFF@GOTPAGE
Lloh35:
	ldr	x8, [x8, _TDMA_NAV_OFF@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_13
; %bb.12:
	ldr	w1, [x24]
	ldr	w2, [x25]
Lloh37:
	adrp	x3, l_.str.5@PAGE
Lloh38:
	add	x3, x3, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	b	LBB0_15
LBB0_13:
Lloh39:
	adrp	x8, _TDMA_NAV_ON@GOTPAGE
Lloh40:
	ldr	x8, [x8, _TDMA_NAV_ON@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_15
; %bb.14:
	ldr	w1, [x24]
	ldr	w2, [x25]
Lloh42:
	adrp	x3, l_.str.6@PAGE
Lloh43:
	add	x3, x3, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	w0, #0
	bl	_BIT
	str	x0, [sp, #16]
	b	LBB0_16
LBB0_15:
	mov	x0, #0
LBB0_16:
	str	wzr, [x20]
LBB0_17:
	ldr	w1, [x24]
	ldr	w2, [x25]
	orr	x8, x0, x22, lsl #8
	str	x8, [sp]
Lloh44:
	adrp	x3, l_.str.8@PAGE
Lloh45:
	add	x3, x3, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	add	x3, sp, #8
	mov	x0, x19
	mov	w1, #51
	mov	w2, #2
	bl	_rtl8723e_fill_h2c_cmd
	ldr	x8, [sp, #24]
Lloh46:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh47:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh48:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	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
	add	sp, sp, #112
	ret
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh44, Lloh45
	.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], not 8723B cut, don't set Traditional TDMA!!\n"

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

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

	.comm	_TDMA_2ANT,8,3                  ; @TDMA_2ANT
l_.str.3:                               ; @.str.3
	.asciz	"[BTCoex], TTDMA_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], TTDMA_NAV_OFF\n"

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

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

l_.str.8:                               ; @.str.8
	.asciz	"[BTCoex], FW Traditional TDMA, write 0x33=0x%x\n"

	.no_dead_strip	_rtl8723e_dm_bt_set_fw_tra_tdma_ctrl
.subsections_via_symbols
