	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function btc8821a2ant_run_coexist_mechanism
_btc8821a2ant_run_coexist_mechanism:    ## @btc8821a2ant_run_coexist_mechanism
	.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	32(%rdi), %r14
	movl	$0, -64(%rbp)
	movl	$0, -60(%rbp)
	movl	$0, -44(%rbp)
	movl	$0, -56(%rbp)
	movl	$0, -52(%rbp)
	movl	$0, -48(%rbp)
	cmpq	$0, 16(%rdi)
	je	LBB0_1
## %bb.35:
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	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_1:
	movq	%rdi, %rbx
	movq	_BTC_GET_BL_WIFI_UNDER_5G@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rdx
	callq	*8(%rdi)
	cmpl	$0, -64(%rbp)
	je	LBB0_3
## %bb.2:
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%rbx, %rdi
	callq	_btc8821a2ant_coex_under_5g
	jmp	LBB0_34
LBB0_3:
	movq	_coex_sta@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_5
## %bb.4:
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	jmp	LBB0_34
LBB0_5:
	movq	%rbx, %rdi
	callq	_btc8821a2ant_action_algorithm
	movq	%rax, %r15
	movq	(%r12), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.6:
	cmpq	$129, %r15
	je	LBB0_8
## %bb.7:
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%rbx, %rdi
	callq	_btc8821a2ant_action_bt_inquiry
	jmp	LBB0_34
LBB0_8:
	movq	_BTC_GET_BL_WIFI_SCAN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*8(%rbx)
	movq	_BTC_GET_BL_WIFI_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-52(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*8(%rbx)
	movq	_BTC_GET_BL_WIFI_ROAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*8(%rbx)
	cmpl	$0, -56(%rbp)
	jne	LBB0_11
## %bb.9:
	cmpl	$0, -52(%rbp)
	jne	LBB0_11
## %bb.10:
	cmpl	$0, -48(%rbp)
	jne	LBB0_11
## %bb.12:
	movq	_BTC_GET_U4_WIFI_LINK_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-60(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*8(%rbx)
	movl	-60(%rbp), %r9d
	cmpl	$131071, %r9d                   ## imm = 0x1FFFF
	jg	LBB0_14
## %bb.13:
	movq	_WIFI_P2P_GO_CONNECTED@GOTPCREL(%rip), %rax
	testl	%r9d, (%rax)
	je	LBB0_15
LBB0_14:
	movl	%r9d, %r8d
	sarl	$16, %r8d
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.5(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	xorl	%eax, %eax
	cmpq	$0, 24(%rbx)
	setne	%al
	movl	%eax, -44(%rbp)
	movq	_BTC_SET_BL_MIRACAST_PLUS_BT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rbx)
	movq	%rbx, %rdi
	callq	_btc8821a2ant_action_wifi_multi_port
	jmp	LBB0_34
LBB0_11:
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.4(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%rbx, %rdi
	callq	_btc8821a2ant_action_wifi_link_process
LBB0_34:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movl	$0, -44(%rbp)
	movq	_BTC_SET_BL_MIRACAST_PLUS_BT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rbx)
	movq	_coex_dm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r15d, (%rax)
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	L_.str.6(%rip), %rcx
	movq	%r14, %rdi
	movl	%r15d, %r8d
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%rbx, %rdi
	callq	_btc8821a2ant_is_common_action
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movl	(%r13), %esi
	movl	(%r12), %edx
	leaq	L_.str.7(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	_coex_dm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$1, 4(%rax)
	jmp	LBB0_34
LBB0_17:
	movq	_coex_dm@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movl	(%rax), %r9d
	movl	8(%rax), %r8d
	cmpl	%r8d, %r9d
	jne	LBB0_19
## %bb.18:
	movq	%r12, %r13
	jmp	LBB0_20
LBB0_19:
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %r13
	movl	(%r12), %edx
	leaq	L_.str.8(%rip), %rcx
	movq	%r14, %rdi
                                        ## kill: def $r9d killed $r9d killed $r9
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	(%r15), %rax
	movl	$0, 4(%rax)
	movl	(%rax), %r9d
LBB0_20:
	movq	%r15, %r12
	addl	$-128, %r9d
	cmpl	$9, %r9d
	ja	LBB0_32
## %bb.21:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r9,4), %rcx
	addq	%rax, %rcx
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %r15
	jmpq	*%rcx
LBB0_22:
	movl	(%r15), %esi
	movl	(%r13), %edx
	leaq	L_.str.9(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%rbx, %rdi
	callq	_btc8821a2ant_action_sco
	jmp	LBB0_33
LBB0_32:
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	leaq	L_.str.19(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%rbx, %rdi
	callq	_btc8821a2ant_coex_all_off
	jmp	LBB0_33
LBB0_27:
	movl	(%r15), %esi
	movl	(%r13), %edx
	leaq	L_.str.14(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%rbx, %rdi
	callq	_btc8821a2ant_action_pan_hs
	jmp	LBB0_33
LBB0_29:
	movl	(%r15), %esi
	movl	(%r13), %edx
	leaq	L_.str.16(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%rbx, %rdi
	callq	_btc8821a2ant_action_pan_edr_hid
	jmp	LBB0_33
LBB0_28:
	movl	(%r15), %esi
	movl	(%r13), %edx
	leaq	L_.str.15(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%rbx, %rdi
	callq	_btc8821a2ant_action_pan_edr_a2dp
	jmp	LBB0_33
LBB0_26:
	movl	(%r15), %esi
	movl	(%r13), %edx
	leaq	L_.str.13(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%rbx, %rdi
	callq	_btc8821a2ant_action_pan_edr
	jmp	LBB0_33
LBB0_30:
	movl	(%r15), %esi
	movl	(%r13), %edx
	leaq	L_.str.17(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%rbx, %rdi
	callq	_btc8821a2ant_act_hid_a2dp_pan_edr
	jmp	LBB0_33
LBB0_31:
	movl	(%r15), %esi
	movl	(%r13), %edx
	leaq	L_.str.18(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%rbx, %rdi
	callq	_btc8821a2ant_action_hid_a2dp
	jmp	LBB0_33
LBB0_23:
	movl	(%r15), %esi
	movl	(%r13), %edx
	leaq	L_.str.10(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%rbx, %rdi
	callq	_btc8821a2ant_action_hid
	jmp	LBB0_33
LBB0_24:
	movl	(%r15), %esi
	movl	(%r13), %edx
	leaq	L_.str.11(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%rbx, %rdi
	callq	_btc8821a2ant_action_a2dp
	jmp	LBB0_33
LBB0_25:
	movl	(%r15), %esi
	movl	(%r13), %edx
	leaq	L_.str.12(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%rbx, %rdi
	callq	_btc8821a2ant_action_a2dp_pan_hs
LBB0_33:
	movq	(%r12), %rax
	movl	(%rax), %ecx
	movl	%ecx, 8(%rax)
	jmp	LBB0_34
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
LJTI0_0:
	.long	L0_0_set_22
	.long	L0_0_set_27
	.long	L0_0_set_29
	.long	L0_0_set_28
	.long	L0_0_set_26
	.long	L0_0_set_30
	.long	L0_0_set_31
	.long	L0_0_set_23
	.long	L0_0_set_25
	.long	L0_0_set_24
	.end_data_region
                                        ## -- End function
	.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], Manual control!!!\n"

	.comm	_BTC_GET_BL_WIFI_UNDER_5G,4,2   ## @BTC_GET_BL_WIFI_UNDER_5G
L_.str.1:                               ## @.str.1
	.asciz	"[BTCoex], RunCoexistMechanism(), run 5G coex setting!!<===\n"

	.comm	_coex_sta,8,3                   ## @coex_sta
L_.str.2:                               ## @.str.2
	.asciz	"[BTCoex], wifi is under IPS !!!\n"

L_.str.3:                               ## @.str.3
	.asciz	"[BTCoex], BT is under inquiry/page scan !!\n"

	.comm	_BTC_GET_BL_WIFI_SCAN,4,2       ## @BTC_GET_BL_WIFI_SCAN
	.comm	_BTC_GET_BL_WIFI_LINK,4,2       ## @BTC_GET_BL_WIFI_LINK
	.comm	_BTC_GET_BL_WIFI_ROAM,4,2       ## @BTC_GET_BL_WIFI_ROAM
L_.str.4:                               ## @.str.4
	.asciz	"[BTCoex], WiFi is under Link Process !!\n"

	.comm	_BTC_GET_U4_WIFI_LINK_STATUS,4,2 ## @BTC_GET_U4_WIFI_LINK_STATUS
	.comm	_WIFI_P2P_GO_CONNECTED,4,2      ## @WIFI_P2P_GO_CONNECTED
L_.str.5:                               ## @.str.5
	.asciz	"############# [BTCoex],  Multi-Port num_of_wifi_link = %d, wifi_link_status = 0x%x\n"

	.comm	_BTC_SET_BL_MIRACAST_PLUS_BT,4,2 ## @BTC_SET_BL_MIRACAST_PLUS_BT
	.comm	_coex_dm,8,3                    ## @coex_dm
L_.str.6:                               ## @.str.6
	.asciz	"[BTCoex], Algorithm = %d\n"

L_.str.7:                               ## @.str.7
	.asciz	"[BTCoex], Action 2-Ant common\n"

L_.str.8:                               ## @.str.8
	.asciz	"[BTCoex], pre_algorithm = %d, cur_algorithm = %d\n"

L_.str.9:                               ## @.str.9
	.asciz	"[BTCoex], Action 2-Ant, algorithm = SCO\n"

L_.str.10:                              ## @.str.10
	.asciz	"[BTCoex], Action 2-Ant, algorithm = HID\n"

L_.str.11:                              ## @.str.11
	.asciz	"[BTCoex], Action 2-Ant, algorithm = A2DP\n"

L_.str.12:                              ## @.str.12
	.asciz	"[BTCoex], Action 2-Ant, algorithm = A2DP+PAN(HS)\n"

L_.str.13:                              ## @.str.13
	.asciz	"[BTCoex], Action 2-Ant, algorithm = PAN(EDR)\n"

L_.str.14:                              ## @.str.14
	.asciz	"[BTCoex], Action 2-Ant, algorithm = HS mode\n"

L_.str.15:                              ## @.str.15
	.asciz	"[BTCoex], Action 2-Ant, algorithm = PAN+A2DP\n"

L_.str.16:                              ## @.str.16
	.asciz	"[BTCoex], Action 2-Ant, algorithm = PAN(EDR)+HID\n"

L_.str.17:                              ## @.str.17
	.asciz	"[BTCoex], Action 2-Ant, algorithm = HID+A2DP+PAN\n"

L_.str.18:                              ## @.str.18
	.asciz	"[BTCoex], Action 2-Ant, algorithm = HID+A2DP\n"

L_.str.19:                              ## @.str.19
	.asciz	"[BTCoex], Action 2-Ant, algorithm = coexist All Off!!\n"

	.no_dead_strip	_btc8821a2ant_run_coexist_mechanism
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function btc8821a2ant_run_coexist_mechanism
_btc8821a2ant_run_coexist_mechanism:    ; @btc8821a2ant_run_coexist_mechanism
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	ldr	x20, [x0, #32]
	stp	xzr, xzr, [sp, #32]
	str	xzr, [sp, #24]
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _COMP_BT_COEXIST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COMP_BT_COEXIST@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	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
	add	sp, sp, #112
	b	_RT_TRACE
LBB0_2:
	mov	x19, x0
	ldr	x8, [x0, #8]
Lloh8:
	adrp	x9, _BTC_GET_BL_WIFI_UNDER_5G@GOTPAGE
Lloh9:
	ldr	x9, [x9, _BTC_GET_BL_WIFI_UNDER_5G@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x9]
	add	x2, sp, #44
	blr	x8
	ldr	w8, [sp, #44]
	cbz	w8, LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _COMP_BT_COEXIST@GOTPAGE
Lloh12:
	ldr	x8, [x8, _COMP_BT_COEXIST@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
Lloh17:
	adrp	x3, l_.str.1@PAGE
Lloh18:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	x0, x19
	bl	_btc8821a2ant_coex_under_5g
	b	LBB0_16
LBB0_4:
Lloh19:
	adrp	x22, _coex_sta@GOTPAGE
Lloh20:
	ldr	x22, [x22, _coex_sta@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_6
; %bb.5:
Lloh21:
	adrp	x8, _COMP_BT_COEXIST@GOTPAGE
Lloh22:
	ldr	x8, [x8, _COMP_BT_COEXIST@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
Lloh27:
	adrp	x3, l_.str.2@PAGE
Lloh28:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	b	LBB0_16
LBB0_6:
	mov	x0, x19
	bl	_btc8821a2ant_action_algorithm
	mov	x21, x0
	ldr	x8, [x22]
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.7:
	cmp	x21, #129
	b.eq	LBB0_9
; %bb.8:
Lloh29:
	adrp	x8, _COMP_BT_COEXIST@GOTPAGE
Lloh30:
	ldr	x8, [x8, _COMP_BT_COEXIST@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
Lloh32:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh33:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x8]
Lloh35:
	adrp	x3, l_.str.3@PAGE
Lloh36:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	x0, x19
	bl	_btc8821a2ant_action_bt_inquiry
	b	LBB0_16
LBB0_9:
	ldr	x8, [x19, #8]
Lloh37:
	adrp	x9, _BTC_GET_BL_WIFI_SCAN@GOTPAGE
Lloh38:
	ldr	x9, [x9, _BTC_GET_BL_WIFI_SCAN@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x9]
	add	x2, sp, #32
	mov	x0, x19
	blr	x8
	ldr	x8, [x19, #8]
Lloh40:
	adrp	x9, _BTC_GET_BL_WIFI_LINK@GOTPAGE
Lloh41:
	ldr	x9, [x9, _BTC_GET_BL_WIFI_LINK@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x9]
	add	x2, sp, #28
	mov	x0, x19
	blr	x8
	ldr	x8, [x19, #8]
Lloh43:
	adrp	x9, _BTC_GET_BL_WIFI_ROAM@GOTPAGE
Lloh44:
	ldr	x9, [x9, _BTC_GET_BL_WIFI_ROAM@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x9]
	add	x2, sp, #24
	mov	x0, x19
	blr	x8
	ldr	w8, [sp, #32]
	cbnz	w8, LBB0_15
; %bb.10:
	ldr	w8, [sp, #28]
	cbnz	w8, LBB0_15
; %bb.11:
	ldr	w8, [sp, #24]
	cbnz	w8, LBB0_15
; %bb.12:
	ldr	x8, [x19, #8]
Lloh46:
	adrp	x9, _BTC_GET_U4_WIFI_LINK_STATUS@GOTPAGE
Lloh47:
	ldr	x9, [x9, _BTC_GET_U4_WIFI_LINK_STATUS@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x9]
	add	x2, sp, #40
	mov	x0, x19
	blr	x8
	ldr	w8, [sp, #40]
	cmp	w8, #32, lsl #12                ; =131072
	b.ge	LBB0_14
; %bb.13:
Lloh49:
	adrp	x9, _WIFI_P2P_GO_CONNECTED@GOTPAGE
Lloh50:
	ldr	x9, [x9, _WIFI_P2P_GO_CONNECTED@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
LBB0_14:
	asr	w9, w8, #16
Lloh52:
	adrp	x10, _COMP_BT_COEXIST@GOTPAGE
Lloh53:
	ldr	x10, [x10, _COMP_BT_COEXIST@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x10]
Lloh55:
	adrp	x10, _DBG_LOUD@GOTPAGE
Lloh56:
	ldr	x10, [x10, _DBG_LOUD@GOTPAGEOFF]
Lloh57:
	ldr	w2, [x10]
	stp	x9, x8, [sp]
Lloh58:
	adrp	x3, l_.str.5@PAGE
Lloh59:
	add	x3, x3, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	ldr	x8, [x19, #24]
	cmp	x8, #0
	cset	w8, ne
	str	w8, [sp, #36]
	ldr	x8, [x19]
Lloh60:
	adrp	x9, _BTC_SET_BL_MIRACAST_PLUS_BT@GOTPAGE
Lloh61:
	ldr	x9, [x9, _BTC_SET_BL_MIRACAST_PLUS_BT@GOTPAGEOFF]
Lloh62:
	ldr	w1, [x9]
	add	x2, sp, #36
	mov	x0, x19
	blr	x8
	mov	x0, x19
	bl	_btc8821a2ant_action_wifi_multi_port
	b	LBB0_16
LBB0_15:
Lloh63:
	adrp	x8, _COMP_BT_COEXIST@GOTPAGE
Lloh64:
	ldr	x8, [x8, _COMP_BT_COEXIST@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
Lloh66:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh67:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh68:
	ldr	w2, [x8]
Lloh69:
	adrp	x3, l_.str.4@PAGE
Lloh70:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	x0, x19
	bl	_btc8821a2ant_action_wifi_link_process
LBB0_16:
	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
	add	sp, sp, #112
	ret
LBB0_17:
	str	wzr, [sp, #36]
	ldr	x8, [x19]
Lloh71:
	adrp	x9, _BTC_SET_BL_MIRACAST_PLUS_BT@GOTPAGE
Lloh72:
	ldr	x9, [x9, _BTC_SET_BL_MIRACAST_PLUS_BT@GOTPAGEOFF]
Lloh73:
	ldr	w1, [x9]
	add	x2, sp, #36
	mov	x0, x19
	blr	x8
Lloh74:
	adrp	x22, _coex_dm@GOTPAGE
Lloh75:
	ldr	x22, [x22, _coex_dm@GOTPAGEOFF]
	ldr	x8, [x22]
	str	w21, [x8]
Lloh76:
	adrp	x24, _COMP_BT_COEXIST@GOTPAGE
Lloh77:
	ldr	x24, [x24, _COMP_BT_COEXIST@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh78:
	adrp	x23, _DBG_LOUD@GOTPAGE
Lloh79:
	ldr	x23, [x23, _DBG_LOUD@GOTPAGEOFF]
	ldr	w2, [x23]
	str	x21, [sp]
Lloh80:
	adrp	x3, l_.str.6@PAGE
Lloh81:
	add	x3, x3, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	x0, x19
	bl	_btc8821a2ant_is_common_action
	cbz	x0, LBB0_19
; %bb.18:
	ldr	w1, [x24]
	ldr	w2, [x23]
Lloh82:
	adrp	x3, l_.str.7@PAGE
Lloh83:
	add	x3, x3, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	ldr	x8, [x22]
	mov	w9, #1
	str	w9, [x8, #4]
	b	LBB0_16
LBB0_19:
	ldr	x9, [x22]
	ldr	w8, [x9]
	ldr	w9, [x9, #8]
	cmp	w8, w9
	b.eq	LBB0_21
; %bb.20:
	ldr	w1, [x24]
	ldr	w2, [x23]
	stp	x9, x8, [sp]
Lloh84:
	adrp	x3, l_.str.8@PAGE
Lloh85:
	add	x3, x3, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	ldr	x8, [x22]
	str	wzr, [x8, #4]
	ldr	w8, [x8]
LBB0_21:
	sub	w8, w8, #128
	cmp	w8, #9
	b.hi	LBB0_24
; %bb.22:
Lloh86:
	adrp	x9, lJTI0_0@PAGE
Lloh87:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_23
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_23:
	ldr	w1, [x24]
	ldr	w2, [x23]
Lloh88:
	adrp	x3, l_.str.9@PAGE
Lloh89:
	add	x3, x3, l_.str.9@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	x0, x19
	bl	_btc8821a2ant_action_sco
	b	LBB0_34
LBB0_24:
	ldr	w1, [x24]
	ldr	w2, [x23]
Lloh90:
	adrp	x3, l_.str.19@PAGE
Lloh91:
	add	x3, x3, l_.str.19@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	x0, x19
	bl	_btc8821a2ant_coex_all_off
	b	LBB0_34
LBB0_25:
	ldr	w1, [x24]
	ldr	w2, [x23]
Lloh92:
	adrp	x3, l_.str.14@PAGE
Lloh93:
	add	x3, x3, l_.str.14@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	x0, x19
	bl	_btc8821a2ant_action_pan_hs
	b	LBB0_34
LBB0_26:
	ldr	w1, [x24]
	ldr	w2, [x23]
Lloh94:
	adrp	x3, l_.str.16@PAGE
Lloh95:
	add	x3, x3, l_.str.16@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	x0, x19
	bl	_btc8821a2ant_action_pan_edr_hid
	b	LBB0_34
LBB0_27:
	ldr	w1, [x24]
	ldr	w2, [x23]
Lloh96:
	adrp	x3, l_.str.15@PAGE
Lloh97:
	add	x3, x3, l_.str.15@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	x0, x19
	bl	_btc8821a2ant_action_pan_edr_a2dp
	b	LBB0_34
LBB0_28:
	ldr	w1, [x24]
	ldr	w2, [x23]
Lloh98:
	adrp	x3, l_.str.13@PAGE
Lloh99:
	add	x3, x3, l_.str.13@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	x0, x19
	bl	_btc8821a2ant_action_pan_edr
	b	LBB0_34
LBB0_29:
	ldr	w1, [x24]
	ldr	w2, [x23]
Lloh100:
	adrp	x3, l_.str.17@PAGE
Lloh101:
	add	x3, x3, l_.str.17@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	x0, x19
	bl	_btc8821a2ant_act_hid_a2dp_pan_edr
	b	LBB0_34
LBB0_30:
	ldr	w1, [x24]
	ldr	w2, [x23]
Lloh102:
	adrp	x3, l_.str.18@PAGE
Lloh103:
	add	x3, x3, l_.str.18@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	x0, x19
	bl	_btc8821a2ant_action_hid_a2dp
	b	LBB0_34
LBB0_31:
	ldr	w1, [x24]
	ldr	w2, [x23]
Lloh104:
	adrp	x3, l_.str.10@PAGE
Lloh105:
	add	x3, x3, l_.str.10@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	x0, x19
	bl	_btc8821a2ant_action_hid
	b	LBB0_34
LBB0_32:
	ldr	w1, [x24]
	ldr	w2, [x23]
Lloh106:
	adrp	x3, l_.str.11@PAGE
Lloh107:
	add	x3, x3, l_.str.11@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	x0, x19
	bl	_btc8821a2ant_action_a2dp
	b	LBB0_34
LBB0_33:
	ldr	w1, [x24]
	ldr	w2, [x23]
Lloh108:
	adrp	x3, l_.str.12@PAGE
Lloh109:
	add	x3, x3, l_.str.12@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	x0, x19
	bl	_btc8821a2ant_action_a2dp_pan_hs
LBB0_34:
	ldr	x8, [x22]
	ldr	w9, [x8]
	str	w9, [x8, #8]
	b	LBB0_16
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpAdd	Lloh98, Lloh99
	.loh AdrpAdd	Lloh100, Lloh101
	.loh AdrpAdd	Lloh102, Lloh103
	.loh AdrpAdd	Lloh104, Lloh105
	.loh AdrpAdd	Lloh106, Lloh107
	.loh AdrpAdd	Lloh108, Lloh109
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_23-LBB0_23)>>2
	.byte	(LBB0_25-LBB0_23)>>2
	.byte	(LBB0_26-LBB0_23)>>2
	.byte	(LBB0_27-LBB0_23)>>2
	.byte	(LBB0_28-LBB0_23)>>2
	.byte	(LBB0_29-LBB0_23)>>2
	.byte	(LBB0_30-LBB0_23)>>2
	.byte	(LBB0_31-LBB0_23)>>2
	.byte	(LBB0_33-LBB0_23)>>2
	.byte	(LBB0_32-LBB0_23)>>2
                                        ; -- End function
	.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], Manual control!!!\n"

	.comm	_BTC_GET_BL_WIFI_UNDER_5G,4,2   ; @BTC_GET_BL_WIFI_UNDER_5G
l_.str.1:                               ; @.str.1
	.asciz	"[BTCoex], RunCoexistMechanism(), run 5G coex setting!!<===\n"

	.comm	_coex_sta,8,3                   ; @coex_sta
l_.str.2:                               ; @.str.2
	.asciz	"[BTCoex], wifi is under IPS !!!\n"

l_.str.3:                               ; @.str.3
	.asciz	"[BTCoex], BT is under inquiry/page scan !!\n"

	.comm	_BTC_GET_BL_WIFI_SCAN,4,2       ; @BTC_GET_BL_WIFI_SCAN
	.comm	_BTC_GET_BL_WIFI_LINK,4,2       ; @BTC_GET_BL_WIFI_LINK
	.comm	_BTC_GET_BL_WIFI_ROAM,4,2       ; @BTC_GET_BL_WIFI_ROAM
l_.str.4:                               ; @.str.4
	.asciz	"[BTCoex], WiFi is under Link Process !!\n"

	.comm	_BTC_GET_U4_WIFI_LINK_STATUS,4,2 ; @BTC_GET_U4_WIFI_LINK_STATUS
	.comm	_WIFI_P2P_GO_CONNECTED,4,2      ; @WIFI_P2P_GO_CONNECTED
l_.str.5:                               ; @.str.5
	.asciz	"############# [BTCoex],  Multi-Port num_of_wifi_link = %d, wifi_link_status = 0x%x\n"

	.comm	_BTC_SET_BL_MIRACAST_PLUS_BT,4,2 ; @BTC_SET_BL_MIRACAST_PLUS_BT
	.comm	_coex_dm,8,3                    ; @coex_dm
l_.str.6:                               ; @.str.6
	.asciz	"[BTCoex], Algorithm = %d\n"

l_.str.7:                               ; @.str.7
	.asciz	"[BTCoex], Action 2-Ant common\n"

l_.str.8:                               ; @.str.8
	.asciz	"[BTCoex], pre_algorithm = %d, cur_algorithm = %d\n"

l_.str.9:                               ; @.str.9
	.asciz	"[BTCoex], Action 2-Ant, algorithm = SCO\n"

l_.str.10:                              ; @.str.10
	.asciz	"[BTCoex], Action 2-Ant, algorithm = HID\n"

l_.str.11:                              ; @.str.11
	.asciz	"[BTCoex], Action 2-Ant, algorithm = A2DP\n"

l_.str.12:                              ; @.str.12
	.asciz	"[BTCoex], Action 2-Ant, algorithm = A2DP+PAN(HS)\n"

l_.str.13:                              ; @.str.13
	.asciz	"[BTCoex], Action 2-Ant, algorithm = PAN(EDR)\n"

l_.str.14:                              ; @.str.14
	.asciz	"[BTCoex], Action 2-Ant, algorithm = HS mode\n"

l_.str.15:                              ; @.str.15
	.asciz	"[BTCoex], Action 2-Ant, algorithm = PAN+A2DP\n"

l_.str.16:                              ; @.str.16
	.asciz	"[BTCoex], Action 2-Ant, algorithm = PAN(EDR)+HID\n"

l_.str.17:                              ; @.str.17
	.asciz	"[BTCoex], Action 2-Ant, algorithm = HID+A2DP+PAN\n"

l_.str.18:                              ; @.str.18
	.asciz	"[BTCoex], Action 2-Ant, algorithm = HID+A2DP\n"

l_.str.19:                              ; @.str.19
	.asciz	"[BTCoex], Action 2-Ant, algorithm = coexist All Off!!\n"

	.no_dead_strip	_btc8821a2ant_run_coexist_mechanism
.subsections_via_symbols
