	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function btc8821a1ant_act_wifi_not_conn_scan
_btc8821a1ant_act_wifi_not_conn_scan:   ## @btc8821a1ant_act_wifi_not_conn_scan
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_BTC_PS_WIFI_NATIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_btc8821a1ant_power_save_state
	movq	_coex_dm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_BT_8821A_1ANT_BT_STATUS_ACL_BUSY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	cmpq	$0, 8(%rbx)
	movq	_NORMAL_EXEC@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	je	LBB0_4
## %bb.2:
	movl	$14, %ecx
	callq	_btc8821a1ant_ps_tdma
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	jmp	LBB0_3
LBB0_5:
	movq	_BT_8821A_1ANT_BT_STATUS_SCO_BUSY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.6:
	movq	_BT_8821A_1ANT_BT_STATUS_ACL_SCO_BUSY@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	je	LBB0_8
## %bb.7:
	movq	_NORMAL_EXEC@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	$8, %ecx
	callq	_btc8821a1ant_ps_tdma
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$2, %edx
	jmp	LBB0_3
LBB0_8:
	movq	_BT_8821A_1ANT_WIFI_STATUS_CONNECTED_SCAN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_btc8821a1ant_act_bt_sco_hid_only_busy ## TAILCALL
LBB0_4:
	movl	$20, %ecx
	callq	_btc8821a1ant_ps_tdma
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$4, %edx
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_btc8821a1ant_coex_table_with_type ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BTC_PS_WIFI_NATIVE,4,2         ## @BTC_PS_WIFI_NATIVE
	.comm	_coex_dm,8,3                    ## @coex_dm
	.comm	_BT_8821A_1ANT_BT_STATUS_ACL_BUSY,8,3 ## @BT_8821A_1ANT_BT_STATUS_ACL_BUSY
	.comm	_NORMAL_EXEC,4,2                ## @NORMAL_EXEC
	.comm	_BT_8821A_1ANT_BT_STATUS_SCO_BUSY,8,3 ## @BT_8821A_1ANT_BT_STATUS_SCO_BUSY
	.comm	_BT_8821A_1ANT_BT_STATUS_ACL_SCO_BUSY,8,3 ## @BT_8821A_1ANT_BT_STATUS_ACL_SCO_BUSY
	.comm	_BT_8821A_1ANT_WIFI_STATUS_CONNECTED_SCAN,4,2 ## @BT_8821A_1ANT_WIFI_STATUS_CONNECTED_SCAN
	.no_dead_strip	_btc8821a1ant_act_wifi_not_conn_scan
.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_not_conn_scan
_btc8821a1ant_act_wifi_not_conn_scan:   ; @btc8821a1ant_act_wifi_not_conn_scan
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _BTC_PS_WIFI_NATIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BTC_PS_WIFI_NATIVE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	mov	w3, #0
	bl	_btc8821a1ant_power_save_state
Lloh3:
	adrp	x8, _coex_dm@GOTPAGE
Lloh4:
	ldr	x8, [x8, _coex_dm@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _BT_8821A_1ANT_BT_STATUS_ACL_BUSY@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BT_8821A_1ANT_BT_STATUS_ACL_BUSY@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
Lloh9:
	adrp	x20, _NORMAL_EXEC@GOTPAGE
Lloh10:
	ldr	x20, [x20, _NORMAL_EXEC@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #1
	cbz	x8, LBB0_6
; %bb.2:
	mov	w3, #14
	bl	_btc8821a1ant_ps_tdma
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #1
	b	LBB0_7
LBB0_3:
Lloh11:
	adrp	x9, _BT_8821A_1ANT_BT_STATUS_SCO_BUSY@GOTPAGE
Lloh12:
	ldr	x9, [x9, _BT_8821A_1ANT_BT_STATUS_SCO_BUSY@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
Lloh14:
	adrp	x10, _BT_8821A_1ANT_BT_STATUS_ACL_SCO_BUSY@GOTPAGE
Lloh15:
	ldr	x10, [x10, _BT_8821A_1ANT_BT_STATUS_ACL_SCO_BUSY@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x10, x8, #4, ne
	b.ne	LBB0_5
; %bb.4:
Lloh17:
	adrp	x8, _BT_8821A_1ANT_WIFI_STATUS_CONNECTED_SCAN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _BT_8821A_1ANT_WIFI_STATUS_CONNECTED_SCAN@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_btc8821a1ant_act_bt_sco_hid_only_busy
LBB0_5:
Lloh20:
	adrp	x20, _NORMAL_EXEC@GOTPAGE
Lloh21:
	ldr	x20, [x20, _NORMAL_EXEC@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #8
	bl	_btc8821a1ant_ps_tdma
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #2
	b	LBB0_7
LBB0_6:
	mov	w3, #20
	bl	_btc8821a1ant_ps_tdma
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #4
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_btc8821a1ant_coex_table_with_type
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_BTC_PS_WIFI_NATIVE,4,2         ; @BTC_PS_WIFI_NATIVE
	.comm	_coex_dm,8,3                    ; @coex_dm
	.comm	_BT_8821A_1ANT_BT_STATUS_ACL_BUSY,8,3 ; @BT_8821A_1ANT_BT_STATUS_ACL_BUSY
	.comm	_NORMAL_EXEC,4,2                ; @NORMAL_EXEC
	.comm	_BT_8821A_1ANT_BT_STATUS_SCO_BUSY,8,3 ; @BT_8821A_1ANT_BT_STATUS_SCO_BUSY
	.comm	_BT_8821A_1ANT_BT_STATUS_ACL_SCO_BUSY,8,3 ; @BT_8821A_1ANT_BT_STATUS_ACL_SCO_BUSY
	.comm	_BT_8821A_1ANT_WIFI_STATUS_CONNECTED_SCAN,4,2 ; @BT_8821A_1ANT_WIFI_STATUS_CONNECTED_SCAN
	.no_dead_strip	_btc8821a1ant_act_wifi_not_conn_scan
.subsections_via_symbols
