	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function btc8821a1ant_is_common_action
_btc8821a1ant_is_common_action:         ## @btc8821a1ant_is_common_action
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	movl	$0, -24(%rbp)
	movl	$0, -20(%rbp)
	movq	_BTC_GET_BL_WIFI_CONNECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	callq	*(%rdi)
	movq	_BTC_GET_BL_WIFI_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rbx)
	cmpl	$0, -24(%rbp)
	movq	_BT_8821A_1ANT_BT_STATUS_NON_CONNECTED_IDLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_coex_dm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	je	LBB0_1
## %bb.3:
	cmpq	%rax, %rcx
	jne	LBB0_8
## %bb.4:
	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
	jmp	LBB0_7
LBB0_1:
	cmpq	%rax, %rcx
	jne	LBB0_5
## %bb.2:
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	jmp	LBB0_7
LBB0_8:
	movq	_BT_8821A_1ANT_BT_STATUS_CONNECTED_IDLE@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_11
## %bb.9:
	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
	jmp	LBB0_7
LBB0_5:
	movq	_BT_8821A_1ANT_BT_STATUS_CONNECTED_IDLE@GOTPCREL(%rip), %rcx
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	cmpq	%rax, (%rcx)
	jne	LBB0_10
## %bb.6:
	leaq	L_.str.2(%rip), %rcx
	jmp	LBB0_7
LBB0_11:
	cmpl	$0, -20(%rbp)
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	je	LBB0_13
## %bb.12:
	leaq	L_.str.5(%rip), %rcx
	jmp	LBB0_14
LBB0_10:
	leaq	L_.str.4(%rip), %rcx
LBB0_7:
	movq	%r14, %rdi
	callq	_RT_TRACE
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_btc8821a1ant_sw_mechanism
	movl	$1, %eax
LBB0_15:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_13:
	leaq	L_.str.6(%rip), %rcx
LBB0_14:
	movq	%r14, %rdi
	callq	_RT_TRACE
	xorl	%eax, %eax
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_BTC_GET_BL_WIFI_CONNECTED,4,2  ## @BTC_GET_BL_WIFI_CONNECTED
	.comm	_BTC_GET_BL_WIFI_BUSY,4,2       ## @BTC_GET_BL_WIFI_BUSY
	.comm	_BT_8821A_1ANT_BT_STATUS_NON_CONNECTED_IDLE,8,3 ## @BT_8821A_1ANT_BT_STATUS_NON_CONNECTED_IDLE
	.comm	_coex_dm,8,3                    ## @coex_dm
	.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], Wifi non connected-idle + BT non connected-idle!!\n"

L_.str.1:                               ## @.str.1
	.asciz	"[BTCoex], Wifi connected + BT non connected-idle!!\n"

	.comm	_BT_8821A_1ANT_BT_STATUS_CONNECTED_IDLE,8,3 ## @BT_8821A_1ANT_BT_STATUS_CONNECTED_IDLE
L_.str.2:                               ## @.str.2
	.asciz	"[BTCoex], Wifi non connected-idle + BT connected-idle!!\n"

L_.str.3:                               ## @.str.3
	.asciz	"[BTCoex], Wifi connected + BT connected-idle!!\n"

L_.str.4:                               ## @.str.4
	.asciz	"[BTCoex], Wifi non connected-idle + BT Busy!!\n"

L_.str.5:                               ## @.str.5
	.asciz	"[BTCoex], Wifi Connected-Busy + BT Busy!!\n"

L_.str.6:                               ## @.str.6
	.asciz	"[BTCoex], Wifi Connected-Idle + BT Busy!!\n"

	.no_dead_strip	_btc8821a1ant_is_common_action
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function btc8821a1ant_is_common_action
_btc8821a1ant_is_common_action:         ; @btc8821a1ant_is_common_action
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	str	xzr, [sp, #8]
	ldp	x8, x20, [x0]
Lloh0:
	adrp	x9, _BTC_GET_BL_WIFI_CONNECTED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BTC_GET_BL_WIFI_CONNECTED@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	add	x2, sp, #12
	blr	x8
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _BTC_GET_BL_WIFI_BUSY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BTC_GET_BL_WIFI_BUSY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	add	x2, sp, #8
	mov	x0, x19
	blr	x8
Lloh6:
	adrp	x8, _BT_8821A_1ANT_BT_STATUS_NON_CONNECTED_IDLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BT_8821A_1ANT_BT_STATUS_NON_CONNECTED_IDLE@GOTPAGEOFF]
	ldr	w10, [sp, #12]
Lloh8:
	ldr	x9, [x8]
Lloh9:
	adrp	x8, _coex_dm@GOTPAGE
Lloh10:
	ldr	x8, [x8, _coex_dm@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cmp	x9, x8
	cbz	w10, LBB0_3
; %bb.1:
	b.ne	LBB0_5
; %bb.2:
Lloh12:
	adrp	x8, _COMP_BT_COEXIST@GOTPAGE
Lloh13:
	ldr	x8, [x8, _COMP_BT_COEXIST@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
Lloh18:
	adrp	x3, l_.str.1@PAGE
Lloh19:
	add	x3, x3, l_.str.1@PAGEOFF
	b	LBB0_12
LBB0_3:
	b.ne	LBB0_7
; %bb.4:
Lloh20:
	adrp	x8, _COMP_BT_COEXIST@GOTPAGE
Lloh21:
	ldr	x8, [x8, _COMP_BT_COEXIST@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh24:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
Lloh26:
	adrp	x3, l_.str@PAGE
Lloh27:
	add	x3, x3, l_.str@PAGEOFF
	b	LBB0_12
LBB0_5:
Lloh28:
	adrp	x9, _BT_8821A_1ANT_BT_STATUS_CONNECTED_IDLE@GOTPAGE
Lloh29:
	ldr	x9, [x9, _BT_8821A_1ANT_BT_STATUS_CONNECTED_IDLE@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.6:
Lloh31:
	adrp	x8, _COMP_BT_COEXIST@GOTPAGE
Lloh32:
	ldr	x8, [x8, _COMP_BT_COEXIST@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
Lloh34:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh35:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh36:
	ldr	w2, [x8]
Lloh37:
	adrp	x3, l_.str.3@PAGE
Lloh38:
	add	x3, x3, l_.str.3@PAGEOFF
	b	LBB0_12
LBB0_7:
Lloh39:
	adrp	x9, _BT_8821A_1ANT_BT_STATUS_CONNECTED_IDLE@GOTPAGE
Lloh40:
	ldr	x9, [x9, _BT_8821A_1ANT_BT_STATUS_CONNECTED_IDLE@GOTPAGEOFF]
Lloh41:
	adrp	x10, _COMP_BT_COEXIST@GOTPAGE
Lloh42:
	ldr	x10, [x10, _COMP_BT_COEXIST@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
Lloh44:
	ldr	w1, [x10]
Lloh45:
	adrp	x10, _DBG_LOUD@GOTPAGE
Lloh46:
	ldr	x10, [x10, _DBG_LOUD@GOTPAGEOFF]
Lloh47:
	ldr	w2, [x10]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.8:
Lloh48:
	adrp	x3, l_.str.2@PAGE
Lloh49:
	add	x3, x3, l_.str.2@PAGEOFF
	b	LBB0_12
LBB0_9:
	ldr	w8, [sp, #8]
Lloh50:
	adrp	x9, _COMP_BT_COEXIST@GOTPAGE
Lloh51:
	ldr	x9, [x9, _COMP_BT_COEXIST@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x9]
Lloh53:
	adrp	x9, _DBG_LOUD@GOTPAGE
Lloh54:
	ldr	x9, [x9, _DBG_LOUD@GOTPAGEOFF]
Lloh55:
	ldr	w2, [x9]
	cbz	w8, LBB0_14
; %bb.10:
Lloh56:
	adrp	x3, l_.str.5@PAGE
Lloh57:
	add	x3, x3, l_.str.5@PAGEOFF
	b	LBB0_15
LBB0_11:
Lloh58:
	adrp	x3, l_.str.4@PAGE
Lloh59:
	add	x3, x3, l_.str.4@PAGEOFF
LBB0_12:
	mov	x0, x20
	bl	_RT_TRACE
	mov	x0, x19
	mov	w1, #0
	bl	_btc8821a1ant_sw_mechanism
	mov	w0, #1
LBB0_13:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_14:
Lloh60:
	adrp	x3, l_.str.6@PAGE
Lloh61:
	add	x3, x3, l_.str.6@PAGEOFF
LBB0_15:
	mov	x0, x20
	bl	_RT_TRACE
	mov	w0, #0
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh43
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.cfi_endproc
                                        ; -- End function
	.comm	_BTC_GET_BL_WIFI_CONNECTED,4,2  ; @BTC_GET_BL_WIFI_CONNECTED
	.comm	_BTC_GET_BL_WIFI_BUSY,4,2       ; @BTC_GET_BL_WIFI_BUSY
	.comm	_BT_8821A_1ANT_BT_STATUS_NON_CONNECTED_IDLE,8,3 ; @BT_8821A_1ANT_BT_STATUS_NON_CONNECTED_IDLE
	.comm	_coex_dm,8,3                    ; @coex_dm
	.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], Wifi non connected-idle + BT non connected-idle!!\n"

l_.str.1:                               ; @.str.1
	.asciz	"[BTCoex], Wifi connected + BT non connected-idle!!\n"

	.comm	_BT_8821A_1ANT_BT_STATUS_CONNECTED_IDLE,8,3 ; @BT_8821A_1ANT_BT_STATUS_CONNECTED_IDLE
l_.str.2:                               ; @.str.2
	.asciz	"[BTCoex], Wifi non connected-idle + BT connected-idle!!\n"

l_.str.3:                               ; @.str.3
	.asciz	"[BTCoex], Wifi connected + BT connected-idle!!\n"

l_.str.4:                               ; @.str.4
	.asciz	"[BTCoex], Wifi non connected-idle + BT Busy!!\n"

l_.str.5:                               ; @.str.5
	.asciz	"[BTCoex], Wifi Connected-Busy + BT Busy!!\n"

l_.str.6:                               ; @.str.6
	.asciz	"[BTCoex], Wifi Connected-Idle + BT Busy!!\n"

	.no_dead_strip	_btc8821a1ant_is_common_action
.subsections_via_symbols
