	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function btc8821a1ant_act_wifi_con_bt_acl_busy
_btc8821a1ant_act_wifi_con_bt_acl_busy: ## @btc8821a1ant_act_wifi_con_bt_acl_busy
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	$2, %esi
	movl	$28, %edx
	xorl	%ecx, %ecx
	callq	_btc8821a1ant_bt_rssi_state
	cmpq	$0, 40(%r15)
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_btc8821a1ant_act_bt_sco_hid_only_busy
	jmp	LBB0_19
LBB0_2:
	cmpq	$0, 32(%r15)
	je	LBB0_7
## %bb.3:
	movq	%rax, %r14
	movq	_BT_8821A_1ANT_WIFI_STATUS_CONNECTED_IDLE@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_5
## %bb.4:
	movq	_NORMAL_EXEC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$32, %ecx
LBB0_17:
	callq	_btc8821a1ant_ps_tdma
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	jmp	LBB0_18
LBB0_7:
	cmpq	$0, 16(%r15)
	je	LBB0_12
## %bb.8:
	cmpq	$0, 8(%r15)
	je	LBB0_9
## %bb.21:
	movq	_NORMAL_EXEC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$14, %ecx
	callq	_btc8821a1ant_ps_tdma
	movq	_coex_dm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$0, (%rax)
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_btc8821a1ant_coex_table_with_type ## TAILCALL
LBB0_5:
	movq	_BTC_RSSI_STATE_HIGH@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_BTC_RSSI_STATE_STAY_HIGH@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	_NORMAL_EXEC@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$14, %ecx
	callq	_btc8821a1ant_ps_tdma
	movl	(%r13), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_btc8821a1ant_coex_table_with_type
	cmpq	%rbx, %r14
	je	LBB0_19
## %bb.6:
	cmpq	%r12, %r14
	je	LBB0_20
	jmp	LBB0_19
LBB0_12:
	cmpq	$0, 24(%r15)
	jne	LBB0_11
## %bb.13:
	cmpq	$0, 8(%r15)
	je	LBB0_16
## %bb.14:
	cmpq	$0, (%r15)
	je	LBB0_16
## %bb.15:
	movq	_NORMAL_EXEC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$43, %ecx
	jmp	LBB0_17
LBB0_9:
	cmpq	$0, 24(%r15)
	jne	LBB0_11
## %bb.10:
	cmpq	$0, (%r15)
	je	LBB0_16
LBB0_11:
	movq	_NORMAL_EXEC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$3, %ecx
	callq	_btc8821a1ant_ps_tdma
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	$6, %edx
LBB0_18:
	callq	_btc8821a1ant_coex_table_with_type
LBB0_19:
	movq	_coex_dm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$0, (%rax)
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	_NORMAL_EXEC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$11, %ecx
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_coex_dm,8,3                    ## @coex_dm
	.comm	_BT_8821A_1ANT_WIFI_STATUS_CONNECTED_IDLE,8,3 ## @BT_8821A_1ANT_WIFI_STATUS_CONNECTED_IDLE
	.comm	_NORMAL_EXEC,4,2                ## @NORMAL_EXEC
	.comm	_BTC_RSSI_STATE_HIGH,8,3        ## @BTC_RSSI_STATE_HIGH
	.comm	_BTC_RSSI_STATE_STAY_HIGH,8,3   ## @BTC_RSSI_STATE_STAY_HIGH
	.no_dead_strip	_btc8821a1ant_act_wifi_con_bt_acl_busy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function btc8821a1ant_act_wifi_con_bt_acl_busy
_btc8821a1ant_act_wifi_con_bt_acl_busy: ; @btc8821a1ant_act_wifi_con_bt_acl_busy
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x1
	mov	x19, x0
	mov	w1, #2
	mov	w2, #28
	mov	w3, #0
	bl	_btc8821a1ant_bt_rssi_state
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x21
	bl	_btc8821a1ant_act_bt_sco_hid_only_busy
	b	LBB0_18
LBB0_2:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _BT_8821A_1ANT_WIFI_STATUS_CONNECTED_IDLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BT_8821A_1ANT_WIFI_STATUS_CONNECTED_IDLE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_9
; %bb.4:
Lloh3:
	adrp	x20, _NORMAL_EXEC@GOTPAGE
Lloh4:
	ldr	x20, [x20, _NORMAL_EXEC@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #32
LBB0_5:
	bl	_btc8821a1ant_ps_tdma
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #1
	b	LBB0_17
LBB0_6:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_10
; %bb.7:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_14
; %bb.8:
Lloh5:
	adrp	x20, _NORMAL_EXEC@GOTPAGE
Lloh6:
	ldr	x20, [x20, _NORMAL_EXEC@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #14
	bl	_btc8821a1ant_ps_tdma
Lloh7:
	adrp	x8, _coex_dm@GOTPAGE
Lloh8:
	ldr	x8, [x8, _coex_dm@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	str	wzr, [x8]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #1
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_btc8821a1ant_coex_table_with_type
LBB0_9:
	mov	x20, x0
Lloh10:
	adrp	x8, _BTC_RSSI_STATE_HIGH@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BTC_RSSI_STATE_HIGH@GOTPAGEOFF]
Lloh12:
	ldr	x21, [x8]
Lloh13:
	adrp	x8, _BTC_RSSI_STATE_STAY_HIGH@GOTPAGE
Lloh14:
	ldr	x8, [x8, _BTC_RSSI_STATE_STAY_HIGH@GOTPAGEOFF]
Lloh15:
	ldr	x22, [x8]
Lloh16:
	adrp	x23, _NORMAL_EXEC@GOTPAGE
Lloh17:
	ldr	x23, [x23, _NORMAL_EXEC@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #14
	bl	_btc8821a1ant_ps_tdma
	ldr	w1, [x23]
	mov	x0, x19
	mov	w2, #1
	bl	_btc8821a1ant_coex_table_with_type
	cmp	x20, x21
	ccmp	x20, x22, #0, ne
	b.ne	LBB0_18
	b	LBB0_19
LBB0_10:
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_16
; %bb.11:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_20
; %bb.12:
	ldr	x8, [x19]
	cbz	x8, LBB0_20
; %bb.13:
Lloh18:
	adrp	x20, _NORMAL_EXEC@GOTPAGE
Lloh19:
	ldr	x20, [x20, _NORMAL_EXEC@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #43
	b	LBB0_5
LBB0_14:
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_16
; %bb.15:
	ldr	x8, [x19]
	cbz	x8, LBB0_20
LBB0_16:
Lloh20:
	adrp	x20, _NORMAL_EXEC@GOTPAGE
Lloh21:
	ldr	x20, [x20, _NORMAL_EXEC@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #3
	bl	_btc8821a1ant_ps_tdma
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #6
LBB0_17:
	bl	_btc8821a1ant_coex_table_with_type
LBB0_18:
Lloh22:
	adrp	x8, _coex_dm@GOTPAGE
Lloh23:
	ldr	x8, [x8, _coex_dm@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	str	wzr, [x8]
LBB0_19:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_20:
Lloh25:
	adrp	x20, _NORMAL_EXEC@GOTPAGE
Lloh26:
	ldr	x20, [x20, _NORMAL_EXEC@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #11
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_coex_dm,8,3                    ; @coex_dm
	.comm	_BT_8821A_1ANT_WIFI_STATUS_CONNECTED_IDLE,8,3 ; @BT_8821A_1ANT_WIFI_STATUS_CONNECTED_IDLE
	.comm	_NORMAL_EXEC,4,2                ; @NORMAL_EXEC
	.comm	_BTC_RSSI_STATE_HIGH,8,3        ; @BTC_RSSI_STATE_HIGH
	.comm	_BTC_RSSI_STATE_STAY_HIGH,8,3   ; @BTC_RSSI_STATE_STAY_HIGH
	.no_dead_strip	_btc8821a1ant_act_wifi_con_bt_acl_busy
.subsections_via_symbols
