	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function btc8723b2ant_ps_tdma
_btc8723b2ant_ps_tdma:                  ## @btc8723b2ant_ps_tdma
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%edx, %r12d
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movq	16(%rdi), %r15
	movq	_BT_8723B_2ANT_WIFI_RSSI_COEXSWITCH_THRES@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_coex_dm@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	subl	(%rax), %ecx
	xorl	%esi, %esi
	movl	$2, %edx
	xorl	%r8d, %r8d
	callq	_btc8723b2ant_wifi_rssi_state
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_BT_8723B_2ANT_BT_RSSI_COEXSWITCH_THRES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%r14), %rax
	subl	(%rax), %edx
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	%r12d, %ebx
	movl	$2, %esi
	xorl	%ecx, %ecx
	callq	_btc8723b2ant_bt_rssi_state
	movl	%eax, %r12d
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r13d, -56(%rbp)                ## 4-byte Spill
	testl	%r13d, %r13d
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %r8
	cmoveq	%rax, %r8
	testl	%ebx, %ebx
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.4(%rip), %r9
	cmovneq	%rax, %r9
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movl	%r13d, (%rsp)
	leaq	L_.str(%rip), %rcx
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	(%r14), %rax
	movl	%ebx, %r15d
	movl	%ebx, 4(%rax)
	movl	%r13d, 8(%rax)
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_BTC_RSSI_HIGH
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movl	%r12d, %edi
	callq	_BTC_RSSI_HIGH
	testl	%r15d, %r15d
	je	LBB0_6
## %bb.2:
	testq	%rax, %rax
	movq	_coex_dm@GOTPCREL(%rip), %r14
	je	LBB0_5
	jmp	LBB0_7
LBB0_4:
	testl	%r15d, %r15d
	movq	_coex_dm@GOTPCREL(%rip), %r14
	je	LBB0_7
LBB0_5:
	addl	$100, %r13d
	movl	$1, %ecx
	jmp	LBB0_8
LBB0_6:
	movq	_coex_dm@GOTPCREL(%rip), %r14
LBB0_7:
	xorl	%ecx, %ecx
LBB0_8:
	movq	(%r14), %rax
	movl	%ecx, 12(%rax)
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_11
## %bb.9:
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	4(%rax), %r9d
	movl	16(%rax), %r8d
	leaq	L_.str.5(%rip), %rcx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	(%r12), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%r14), %rax
	movl	8(%rax), %r9d
	movl	20(%rax), %r8d
	leaq	L_.str.6(%rip), %rcx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	(%r14), %rax
	movl	16(%rax), %ecx
	cmpl	4(%rax), %ecx
	jne	LBB0_11
## %bb.10:
	movl	20(%rax), %ecx
	cmpl	8(%rax), %ecx
	je	LBB0_50
LBB0_11:
	movq	_coex_sta@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %ecx
	cmpl	$5, %ecx
	jg	LBB0_14
## %bb.12:
	movl	4(%rax), %eax
	movl	$-15, %edx
	cmpl	$44, %eax
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jg	LBB0_20
## %bb.13:
	cmpl	$35, %eax
	movl	$-10, %eax
	movl	$5, %edx
	cmovgel	%eax, %edx
	cmpq	$0, 8(%rdi)
	jne	LBB0_21
LBB0_26:
	xorl	%r9d, %r9d
	testl	%r15d, %r15d
	jne	LBB0_22
LBB0_27:
	cmpl	$1, %r13d
	je	LBB0_29
## %bb.28:
	testl	%r13d, %r13d
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$64, %r8d
	jmp	LBB0_30
LBB0_14:
	cmpl	$20, %ecx
	ja	LBB0_17
## %bb.15:
	movl	4(%rax), %eax
	movl	$-15, %edx
	cmpl	$44, %eax
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jg	LBB0_20
## %bb.16:
	xorl	%ecx, %ecx
	cmpl	$35, %eax
	movl	$-10, %edx
	cmovll	%ecx, %edx
	cmpq	$0, 8(%rdi)
	jne	LBB0_21
	jmp	LBB0_26
LBB0_17:
	movl	4(%rax), %eax
	cmpl	$40, %ecx
	ja	LBB0_25
## %bb.18:
	movl	$-15, %edx
	cmpl	$44, %eax
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jg	LBB0_20
## %bb.19:
	xorl	%ecx, %ecx
	cmpl	$35, %eax
	setl	%cl
	leal	(%rcx,%rcx,4), %edx
	addl	$-10, %edx
LBB0_20:
	cmpq	$0, 8(%rdi)
	je	LBB0_26
LBB0_21:
	xorl	%r9d, %r9d
	cmpq	$0, (%rdi)
	setne	%r9b
	testl	%r15d, %r15d
	je	LBB0_27
LBB0_22:
	addl	$-2, %r13d
	cmpl	$169, %r13d
	ja	LBB0_45
## %bb.23:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r13,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_24:
	addl	$58, %edx
	jmp	LBB0_32
LBB0_29:
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$72, %r8d
LBB0_30:
	xorl	%r9d, %r9d
	jmp	LBB0_49
LBB0_25:
	xorl	%ecx, %ecx
	cmpl	$45, %eax
	setl	%cl
	leal	(%rcx,%rcx,4), %edx
	addl	$-15, %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	cmpq	$0, 8(%rdi)
	jne	LBB0_21
	jmp	LBB0_26
LBB0_31:
	addl	$45, %edx
LBB0_32:
	orl	$80, %r9d
	movl	$211, %esi
	jmp	LBB0_42
LBB0_33:
	orl	$80, %r9d
	movl	$211, %esi
	jmp	LBB0_41
LBB0_34:
	orl	$80, %r9d
	movl	$211, %esi
	movl	$16, %edx
	jmp	LBB0_42
LBB0_35:
	orl	$144, %r9d
	movl	$227, %esi
	movl	$45, %edx
	jmp	LBB0_48
LBB0_36:
	orl	$144, %r9d
	movl	$227, %esi
	movl	$28, %edx
	jmp	LBB0_48
LBB0_37:
	orl	$144, %r9d
	movl	$227, %esi
	movl	$16, %edx
	jmp	LBB0_48
LBB0_38:
	orl	$144, %r9d
	movl	$227, %esi
	movl	$60, %edx
	jmp	LBB0_42
LBB0_39:
	orl	$144, %r9d
	movl	$227, %esi
	movl	$45, %edx
	jmp	LBB0_42
LBB0_40:
	orl	$144, %r9d
	movl	$227, %esi
LBB0_41:
	movl	$28, %edx
LBB0_42:
	movl	$3, %ecx
	movl	$112, %r8d
	jmp	LBB0_49
LBB0_43:
	movl	$227, %esi
	movl	$53, %edx
	movl	$3, %ecx
	movl	$113, %r8d
	movl	$17, %r9d
	jmp	LBB0_49
LBB0_44:
	movl	$227, %esi
	movl	$53, %edx
	movl	$3, %ecx
	movl	$113, %r8d
	movl	$16, %r9d
	jmp	LBB0_49
LBB0_45:
	orl	$144, %r9d
	movl	$227, %esi
	movl	$60, %edx
	jmp	LBB0_48
LBB0_46:
	orl	$144, %r9d
	movl	$163, %esi
	movl	$16, %edx
	jmp	LBB0_42
LBB0_47:
	addl	$60, %edx
	orl	$144, %r9d
	movl	$227, %esi
LBB0_48:
	movl	$3, %ecx
	movl	$241, %r8d
LBB0_49:
	callq	_btc8723b2ant_set_fw_ps_tdma
	movq	(%r14), %rax
	movq	4(%rax), %rcx
	movq	%rcx, 16(%rax)
LBB0_50:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_51:
	orl	$144, %r9d
	movl	$227, %esi
	movl	$16, %edx
	jmp	LBB0_42
LBB0_52:
	movl	$163, %esi
	movl	$47, %edx
	movl	$47, %ecx
	jmp	LBB0_57
LBB0_53:
	movl	$227, %esi
	movl	$5, %edx
	movl	$5, %ecx
	jmp	LBB0_55
LBB0_54:
	movl	$227, %esi
	movl	$37, %edx
	movl	$37, %ecx
LBB0_55:
	movl	$225, %r8d
	movl	$144, %r9d
	jmp	LBB0_49
LBB0_56:
	movl	$227, %esi
	movl	$37, %edx
	movl	$37, %ecx
LBB0_57:
	movl	$96, %r8d
	movl	$144, %r9d
	jmp	LBB0_49
LBB0_58:
	movl	$227, %esi
	movl	$21, %edx
	movl	$3, %ecx
	movl	$112, %r8d
	movl	$144, %r9d
	jmp	LBB0_49
LBB0_59:
	addl	$60, %edx
	movl	$227, %esi
	movl	$3, %ecx
	movl	$241, %r8d
	movl	$144, %r9d
	jmp	LBB0_49
LBB0_60:
	orl	$144, %r9d
	movl	$227, %esi
	movl	$21, %edx
	jmp	LBB0_42
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_35, LBB0_35-LJTI0_0
.set L0_0_set_36, LBB0_36-LJTI0_0
.set L0_0_set_37, LBB0_37-LJTI0_0
.set L0_0_set_38, LBB0_38-LJTI0_0
.set L0_0_set_39, LBB0_39-LJTI0_0
.set L0_0_set_40, LBB0_40-LJTI0_0
.set L0_0_set_46, LBB0_46-LJTI0_0
.set L0_0_set_47, LBB0_47-LJTI0_0
.set L0_0_set_51, LBB0_51-LJTI0_0
.set L0_0_set_52, LBB0_52-LJTI0_0
.set L0_0_set_53, LBB0_53-LJTI0_0
.set L0_0_set_54, LBB0_54-LJTI0_0
.set L0_0_set_56, LBB0_56-LJTI0_0
.set L0_0_set_58, LBB0_58-LJTI0_0
.set L0_0_set_43, LBB0_43-LJTI0_0
.set L0_0_set_44, LBB0_44-LJTI0_0
.set L0_0_set_45, LBB0_45-LJTI0_0
.set L0_0_set_59, LBB0_59-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_60, LBB0_60-LJTI0_0
LJTI0_0:
	.long	L0_0_set_35
	.long	L0_0_set_36
	.long	L0_0_set_37
	.long	L0_0_set_38
	.long	L0_0_set_39
	.long	L0_0_set_40
	.long	L0_0_set_46
	.long	L0_0_set_47
	.long	L0_0_set_35
	.long	L0_0_set_36
	.long	L0_0_set_37
	.long	L0_0_set_38
	.long	L0_0_set_39
	.long	L0_0_set_40
	.long	L0_0_set_51
	.long	L0_0_set_52
	.long	L0_0_set_53
	.long	L0_0_set_54
	.long	L0_0_set_56
	.long	L0_0_set_58
	.long	L0_0_set_43
	.long	L0_0_set_44
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_59
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_24
	.long	L0_0_set_31
	.long	L0_0_set_33
	.long	L0_0_set_34
	.long	L0_0_set_24
	.long	L0_0_set_31
	.long	L0_0_set_33
	.long	L0_0_set_34
	.long	L0_0_set_45
	.long	L0_0_set_31
	.long	L0_0_set_33
	.long	L0_0_set_34
	.long	L0_0_set_24
	.long	L0_0_set_31
	.long	L0_0_set_33
	.long	L0_0_set_34
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_60
	.long	L0_0_set_43
	.long	L0_0_set_44
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_45
	.long	L0_0_set_24
	.end_data_region
                                        ## -- End function
	.comm	_BT_8723B_2ANT_WIFI_RSSI_COEXSWITCH_THRES,4,2 ## @BT_8723B_2ANT_WIFI_RSSI_COEXSWITCH_THRES
	.comm	_coex_dm,8,3                    ## @coex_dm
	.comm	_BT_8723B_2ANT_BT_RSSI_COEXSWITCH_THRES,4,2 ## @BT_8723B_2ANT_BT_RSSI_COEXSWITCH_THRES
	.comm	_COMP_BT_COEXIST,4,2            ## @COMP_BT_COEXIST
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[BTCoex], %s turn %s PS TDMA, type=%d\n"

L_.str.1:                               ## @.str.1
	.asciz	"force to"

L_.str.2:                               ## @.str.2
	.space	1

L_.str.3:                               ## @.str.3
	.asciz	"ON"

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

L_.str.5:                               ## @.str.5
	.asciz	"[BTCoex], bPrePsTdmaOn = %d, bCurPsTdmaOn = %d!!\n"

L_.str.6:                               ## @.str.6
	.asciz	"[BTCoex], prePsTdma = %d, curPsTdma = %d!!\n"

	.comm	_coex_sta,8,3                   ## @coex_sta
	.no_dead_strip	_btc8723b2ant_ps_tdma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function btc8723b2ant_ps_tdma
_btc8723b2ant_ps_tdma:                  ; @btc8723b2ant_ps_tdma
	.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	x20, x3
	mov	x21, x2
	mov	x23, x1
	mov	x19, x0
	ldr	x22, [x0, #16]
Lloh0:
	adrp	x8, _BT_8723B_2ANT_WIFI_RSSI_COEXSWITCH_THRES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BT_8723B_2ANT_WIFI_RSSI_COEXSWITCH_THRES@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x26, _coex_dm@GOTPAGE
Lloh4:
	ldr	x26, [x26, _coex_dm@GOTPAGEOFF]
	ldr	x9, [x26]
	ldr	w9, [x9]
	sub	w3, w8, w9
	mov	w1, #0
	mov	w2, #2
	mov	w4, #0
	bl	_btc8723b2ant_wifi_rssi_state
	mov	x25, x0
Lloh5:
	adrp	x8, _BT_8723B_2ANT_BT_RSSI_COEXSWITCH_THRES@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BT_8723B_2ANT_BT_RSSI_COEXSWITCH_THRES@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	x9, [x26]
	ldr	w9, [x9]
	sub	w2, w8, w9
	mov	x0, x19
	mov	w1, #2
	mov	w3, #0
	bl	_btc8723b2ant_bt_rssi_state
	mov	x24, x0
Lloh8:
	adrp	x27, _COMP_BT_COEXIST@GOTPAGE
Lloh9:
	ldr	x27, [x27, _COMP_BT_COEXIST@GOTPAGEOFF]
	ldr	w1, [x27]
Lloh10:
	adrp	x28, _DBG_LOUD@GOTPAGE
Lloh11:
	ldr	x28, [x28, _DBG_LOUD@GOTPAGEOFF]
	ldr	w2, [x28]
Lloh12:
	adrp	x8, l_.str.1@PAGE
Lloh13:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh14:
	adrp	x9, l_.str.2@PAGE
Lloh15:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w23, #0
	csel	x8, x9, x8, eq
Lloh16:
	adrp	x9, l_.str.4@PAGE
Lloh17:
	add	x9, x9, l_.str.4@PAGEOFF
Lloh18:
	adrp	x10, l_.str.3@PAGE
Lloh19:
	add	x10, x10, l_.str.3@PAGEOFF
	cmp	w21, #0
	csel	x9, x10, x9, ne
	stp	x9, x20, [sp, #8]
	str	x8, [sp]
Lloh20:
	adrp	x3, l_.str@PAGE
Lloh21:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x22
	bl	_RT_TRACE
	ldr	x8, [x26]
	stp	w21, w20, [x8, #4]
	mov	x0, x25
	bl	_BTC_RSSI_HIGH
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x24
	bl	_BTC_RSSI_HIGH
	mov	w8, #0
	cbz	w21, LBB0_6
; %bb.2:
	cbz	x0, LBB0_4
	b	LBB0_6
LBB0_3:
	cbz	w21, LBB0_5
LBB0_4:
	add	w20, w20, #100
	mov	w8, #1
	b	LBB0_6
LBB0_5:
	mov	w8, #0
LBB0_6:
	ldr	x9, [x26]
	str	w8, [x9, #12]
	cbnz	w23, LBB0_9
; %bb.7:
	ldr	w1, [x27]
	ldr	w2, [x28]
	ldr	w8, [x9, #16]
	ldr	w9, [x9, #4]
	stp	x8, x9, [sp]
Lloh22:
	adrp	x3, l_.str.5@PAGE
Lloh23:
	add	x3, x3, l_.str.5@PAGEOFF
	mov	x0, x22
	bl	_RT_TRACE
	ldr	w1, [x27]
	ldr	w2, [x28]
	ldr	x8, [x26]
	ldr	w9, [x8, #20]
	ldr	w8, [x8, #8]
	stp	x9, x8, [sp]
Lloh24:
	adrp	x3, l_.str.6@PAGE
Lloh25:
	add	x3, x3, l_.str.6@PAGEOFF
	mov	x0, x22
	bl	_RT_TRACE
	ldr	x8, [x26]
	ldr	w9, [x8, #16]
	ldr	w10, [x8, #4]
	cmp	w9, w10
	b.ne	LBB0_9
; %bb.8:
	ldr	w9, [x8, #20]
	ldr	w8, [x8, #8]
	cmp	w9, w8
	b.eq	LBB0_50
LBB0_9:
Lloh26:
	adrp	x8, _coex_sta@GOTPAGE
Lloh27:
	ldr	x8, [x8, _coex_sta@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	ldr	w9, [x8]
	cmp	w9, #5
	b.gt	LBB0_13
; %bb.10:
	ldr	w8, [x8, #4]
	cmp	w8, #44
	b.gt	LBB0_18
; %bb.11:
	mov	w9, #5
LBB0_12:
	mov	w10, #-10
	cmp	w8, #34
	b	LBB0_20
LBB0_13:
	cmp	w9, #20
	b.hi	LBB0_16
; %bb.14:
	ldr	w8, [x8, #4]
	cmp	w8, #44
	b.gt	LBB0_18
; %bb.15:
	mov	w9, #-10
	cmp	w8, #34
	csel	w9, w9, wzr, gt
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_21
	b	LBB0_22
LBB0_16:
	ldr	w8, [x8, #4]
	cmp	w9, #40
	b.hi	LBB0_19
; %bb.17:
	cmp	w8, #44
	b.le	LBB0_30
LBB0_18:
	mov	w9, #-15
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_21
	b	LBB0_22
LBB0_19:
	mov	w9, #-10
	mov	w10, #-15
	cmp	w8, #44
LBB0_20:
	csel	w9, w10, w9, gt
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_22
LBB0_21:
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w8, ne
LBB0_22:
	cbz	w21, LBB0_26
; %bb.23:
	sub	w10, w20, #2
	cmp	w10, #169
	b.hi	LBB0_45
; %bb.24:
Lloh29:
	adrp	x11, lJTI0_0@PAGE
Lloh30:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_25
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_25:
	add	w2, w9, #58
	b	LBB0_32
LBB0_26:
	mov	x0, x19
	cmp	w20, #1
	b.eq	LBB0_28
; %bb.27:
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #64
	b	LBB0_29
LBB0_28:
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #72
LBB0_29:
	mov	w5, #0
	b	LBB0_49
LBB0_30:
	mov	w9, #-5
	b	LBB0_12
LBB0_31:
	add	w2, w9, #45
LBB0_32:
	mov	w9, #80
	orr	w5, w8, w9
	mov	x0, x19
	mov	w1, #211
	b	LBB0_42
LBB0_33:
	mov	w9, #80
	orr	w5, w8, w9
	mov	x0, x19
	mov	w1, #211
	b	LBB0_41
LBB0_34:
	mov	w9, #80
	orr	w5, w8, w9
	mov	x0, x19
	mov	w1, #211
	mov	w2, #16
	b	LBB0_42
LBB0_35:
	mov	w9, #144
	orr	w5, w8, w9
	mov	x0, x19
	mov	w1, #227
	mov	w2, #45
	b	LBB0_48
LBB0_36:
	mov	w9, #144
	orr	w5, w8, w9
	mov	x0, x19
	mov	w1, #227
	mov	w2, #28
	b	LBB0_48
LBB0_37:
	mov	w9, #144
	orr	w5, w8, w9
	mov	x0, x19
	mov	w1, #227
	mov	w2, #16
	b	LBB0_48
LBB0_38:
	mov	w9, #144
	orr	w5, w8, w9
	mov	x0, x19
	mov	w1, #227
	mov	w2, #60
	b	LBB0_42
LBB0_39:
	mov	w9, #144
	orr	w5, w8, w9
	mov	x0, x19
	mov	w1, #227
	mov	w2, #45
	b	LBB0_42
LBB0_40:
	mov	w9, #144
	orr	w5, w8, w9
	mov	x0, x19
	mov	w1, #227
LBB0_41:
	mov	w2, #28
LBB0_42:
	mov	w3, #3
	mov	w4, #112
	b	LBB0_49
LBB0_43:
	mov	x0, x19
	mov	w1, #227
	mov	w2, #53
	mov	w3, #3
	mov	w4, #113
	mov	w5, #17
	b	LBB0_49
LBB0_44:
	mov	x0, x19
	mov	w1, #227
	mov	w2, #53
	mov	w3, #3
	mov	w4, #113
	mov	w5, #16
	b	LBB0_49
LBB0_45:
	mov	w9, #144
	orr	w5, w8, w9
	mov	x0, x19
	mov	w1, #227
	mov	w2, #60
	b	LBB0_48
LBB0_46:
	mov	w9, #144
	orr	w5, w8, w9
	mov	x0, x19
	mov	w1, #163
	mov	w2, #16
	b	LBB0_42
LBB0_47:
	add	w2, w9, #60
	mov	w9, #144
	orr	w5, w8, w9
	mov	x0, x19
	mov	w1, #227
LBB0_48:
	mov	w3, #3
	mov	w4, #241
LBB0_49:
	bl	_btc8723b2ant_set_fw_ps_tdma
	ldr	x8, [x26]
	ldur	d0, [x8, #4]
	str	d0, [x8, #16]
LBB0_50:
	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_51:
	mov	w9, #144
	orr	w5, w8, w9
	mov	x0, x19
	mov	w1, #227
	mov	w2, #16
	b	LBB0_42
LBB0_52:
	mov	x0, x19
	mov	w1, #163
	mov	w2, #47
	mov	w3, #47
	b	LBB0_57
LBB0_53:
	mov	x0, x19
	mov	w1, #227
	mov	w2, #5
	mov	w3, #5
	b	LBB0_55
LBB0_54:
	mov	x0, x19
	mov	w1, #227
	mov	w2, #37
	mov	w3, #37
LBB0_55:
	mov	w4, #225
	mov	w5, #144
	b	LBB0_49
LBB0_56:
	mov	x0, x19
	mov	w1, #227
	mov	w2, #37
	mov	w3, #37
LBB0_57:
	mov	w4, #96
	mov	w5, #144
	b	LBB0_49
LBB0_58:
	mov	x0, x19
	mov	w1, #227
	mov	w2, #21
	mov	w3, #3
	mov	w4, #112
	mov	w5, #144
	b	LBB0_49
LBB0_59:
	add	w2, w9, #60
	mov	x0, x19
	mov	w1, #227
	mov	w3, #3
	mov	w4, #241
	mov	w5, #144
	b	LBB0_49
LBB0_60:
	mov	w9, #144
	orr	w5, w8, w9
	mov	x0, x19
	mov	w1, #227
	mov	w2, #21
	b	LBB0_42
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_35-LBB0_25)>>2
	.byte	(LBB0_36-LBB0_25)>>2
	.byte	(LBB0_37-LBB0_25)>>2
	.byte	(LBB0_38-LBB0_25)>>2
	.byte	(LBB0_39-LBB0_25)>>2
	.byte	(LBB0_40-LBB0_25)>>2
	.byte	(LBB0_46-LBB0_25)>>2
	.byte	(LBB0_47-LBB0_25)>>2
	.byte	(LBB0_35-LBB0_25)>>2
	.byte	(LBB0_36-LBB0_25)>>2
	.byte	(LBB0_37-LBB0_25)>>2
	.byte	(LBB0_38-LBB0_25)>>2
	.byte	(LBB0_39-LBB0_25)>>2
	.byte	(LBB0_40-LBB0_25)>>2
	.byte	(LBB0_51-LBB0_25)>>2
	.byte	(LBB0_52-LBB0_25)>>2
	.byte	(LBB0_53-LBB0_25)>>2
	.byte	(LBB0_54-LBB0_25)>>2
	.byte	(LBB0_56-LBB0_25)>>2
	.byte	(LBB0_58-LBB0_25)>>2
	.byte	(LBB0_43-LBB0_25)>>2
	.byte	(LBB0_44-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_59-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_25-LBB0_25)>>2
	.byte	(LBB0_31-LBB0_25)>>2
	.byte	(LBB0_33-LBB0_25)>>2
	.byte	(LBB0_34-LBB0_25)>>2
	.byte	(LBB0_25-LBB0_25)>>2
	.byte	(LBB0_31-LBB0_25)>>2
	.byte	(LBB0_33-LBB0_25)>>2
	.byte	(LBB0_34-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_31-LBB0_25)>>2
	.byte	(LBB0_33-LBB0_25)>>2
	.byte	(LBB0_34-LBB0_25)>>2
	.byte	(LBB0_25-LBB0_25)>>2
	.byte	(LBB0_31-LBB0_25)>>2
	.byte	(LBB0_33-LBB0_25)>>2
	.byte	(LBB0_34-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_60-LBB0_25)>>2
	.byte	(LBB0_43-LBB0_25)>>2
	.byte	(LBB0_44-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_45-LBB0_25)>>2
	.byte	(LBB0_25-LBB0_25)>>2
                                        ; -- End function
	.comm	_BT_8723B_2ANT_WIFI_RSSI_COEXSWITCH_THRES,4,2 ; @BT_8723B_2ANT_WIFI_RSSI_COEXSWITCH_THRES
	.comm	_coex_dm,8,3                    ; @coex_dm
	.comm	_BT_8723B_2ANT_BT_RSSI_COEXSWITCH_THRES,4,2 ; @BT_8723B_2ANT_BT_RSSI_COEXSWITCH_THRES
	.comm	_COMP_BT_COEXIST,4,2            ; @COMP_BT_COEXIST
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[BTCoex], %s turn %s PS TDMA, type=%d\n"

l_.str.1:                               ; @.str.1
	.asciz	"force to"

l_.str.2:                               ; @.str.2
	.space	1

l_.str.3:                               ; @.str.3
	.asciz	"ON"

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

l_.str.5:                               ; @.str.5
	.asciz	"[BTCoex], bPrePsTdmaOn = %d, bCurPsTdmaOn = %d!!\n"

l_.str.6:                               ; @.str.6
	.asciz	"[BTCoex], prePsTdma = %d, curPsTdma = %d!!\n"

	.comm	_coex_sta,8,3                   ; @coex_sta
	.no_dead_strip	_btc8723b2ant_ps_tdma
.subsections_via_symbols
