	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function halbtc8723b1ant_action_wifi_connected_bt_acl_busy
_halbtc8723b1ant_action_wifi_connected_bt_acl_busy: ## @halbtc8723b1ant_action_wifi_connected_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_coex_sta@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$950, (%rax)                    ## imm = 0x3B6
	jl	LBB0_3
## %bb.1:
	cmpl	$0, 4(%rax)
	je	LBB0_2
LBB0_3:
	xorl	%eax, %eax
LBB0_4:
	movl	%eax, (%rbx)
	cmpq	$0, 48(%rbx)
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_btc8723b1ant_act_bt_sco_hid_only_busy
	jmp	LBB0_21
LBB0_6:
	cmpq	$0, 40(%rbx)
	je	LBB0_10
## %bb.7:
	movq	_BT_8723B_1ANT_WIFI_STATUS_CONNECTED_IDLE@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_9
## %bb.8:
	movq	_NORMAL_EXEC@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	movl	$32, %ecx
	jmp	LBB0_20
LBB0_2:
	movl	$1, %eax
	jmp	LBB0_4
LBB0_10:
	cmpq	$0, 32(%rbx)
	je	LBB0_14
## %bb.11:
	cmpq	$0, 8(%rbx)
	je	LBB0_12
## %bb.23:
	movq	_NORMAL_EXEC@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	movl	$13, %ecx
	jmp	LBB0_20
LBB0_9:
	movq	%rbx, %rdi
	callq	_btc8723b1ant_tdma_dur_adj_for_acl
	movq	_NORMAL_EXEC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_halbtc8723b1ant_coex_table_with_type
	movq	_coex_dm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$1, (%rax)
	jmp	LBB0_22
LBB0_14:
	cmpq	$0, 24(%rbx)
	je	LBB0_15
LBB0_17:
	movq	_NORMAL_EXEC@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	movl	$3, %ecx
	jmp	LBB0_20
LBB0_12:
	cmpq	$0, 16(%rbx)
	je	LBB0_18
## %bb.13:
	movq	_NORMAL_EXEC@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	movl	$14, %ecx
	callq	_halbtc8723b1ant_ps_tdma
	movq	_coex_dm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$0, (%rax)
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$4, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_halbtc8723b1ant_coex_table_with_type ## TAILCALL
LBB0_15:
	cmpq	$0, 16(%rbx)
	je	LBB0_19
## %bb.16:
	cmpq	$0, 8(%rbx)
	jne	LBB0_17
	jmp	LBB0_19
LBB0_18:
	cmpq	$0, 24(%rbx)
	jne	LBB0_17
LBB0_19:
	movq	_NORMAL_EXEC@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	movl	$33, %ecx
LBB0_20:
	callq	_halbtc8723b1ant_ps_tdma
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_halbtc8723b1ant_coex_table_with_type
LBB0_21:
	movq	_coex_dm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$0, (%rax)
LBB0_22:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_coex_sta,8,3                   ## @coex_sta
	.comm	_coex_dm,8,3                    ## @coex_dm
	.comm	_BT_8723B_1ANT_WIFI_STATUS_CONNECTED_IDLE,8,3 ## @BT_8723B_1ANT_WIFI_STATUS_CONNECTED_IDLE
	.comm	_NORMAL_EXEC,4,2                ## @NORMAL_EXEC
	.no_dead_strip	_halbtc8723b1ant_action_wifi_connected_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 halbtc8723b1ant_action_wifi_connected_bt_acl_busy
_halbtc8723b1ant_action_wifi_connected_bt_acl_busy: ; @halbtc8723b1ant_action_wifi_connected_bt_acl_busy
	.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, _coex_sta@GOTPAGE
Lloh1:
	ldr	x8, [x8, _coex_sta@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w9, [x8]
	cmp	w9, #950
	b.lt	LBB0_2
; %bb.1:
	ldr	w8, [x8, #4]
	cbz	w8, LBB0_8
LBB0_2:
	mov	w8, #0
LBB0_3:
	str	w8, [x19]
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_btc8723b1ant_act_bt_sco_hid_only_busy
	b	LBB0_22
LBB0_5:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_9
; %bb.6:
Lloh3:
	adrp	x8, _BT_8723B_1ANT_WIFI_STATUS_CONNECTED_IDLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BT_8723B_1ANT_WIFI_STATUS_CONNECTED_IDLE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ne	LBB0_12
; %bb.7:
Lloh6:
	adrp	x20, _NORMAL_EXEC@GOTPAGE
Lloh7:
	ldr	x20, [x20, _NORMAL_EXEC@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #32
	b	LBB0_21
LBB0_8:
	mov	w8, #1
	b	LBB0_3
LBB0_9:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_13
; %bb.10:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_15
; %bb.11:
Lloh8:
	adrp	x20, _NORMAL_EXEC@GOTPAGE
Lloh9:
	ldr	x20, [x20, _NORMAL_EXEC@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #13
	b	LBB0_21
LBB0_12:
	mov	x0, x19
	bl	_btc8723b1ant_tdma_dur_adj_for_acl
Lloh10:
	adrp	x8, _NORMAL_EXEC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NORMAL_EXEC@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	w20, #1
	mov	x0, x19
	mov	w2, #1
	bl	_halbtc8723b1ant_coex_table_with_type
Lloh13:
	adrp	x8, _coex_dm@GOTPAGE
Lloh14:
	ldr	x8, [x8, _coex_dm@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	str	w20, [x8]
	b	LBB0_23
LBB0_13:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_17
LBB0_14:
Lloh16:
	adrp	x20, _NORMAL_EXEC@GOTPAGE
Lloh17:
	ldr	x20, [x20, _NORMAL_EXEC@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #3
	b	LBB0_21
LBB0_15:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_19
; %bb.16:
Lloh18:
	adrp	x20, _NORMAL_EXEC@GOTPAGE
Lloh19:
	ldr	x20, [x20, _NORMAL_EXEC@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #14
	bl	_halbtc8723b1ant_ps_tdma
Lloh20:
	adrp	x8, _coex_dm@GOTPAGE
Lloh21:
	ldr	x8, [x8, _coex_dm@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	str	wzr, [x8]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #4
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_halbtc8723b1ant_coex_table_with_type
LBB0_17:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_20
; %bb.18:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_14
	b	LBB0_20
LBB0_19:
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_14
LBB0_20:
Lloh23:
	adrp	x20, _NORMAL_EXEC@GOTPAGE
Lloh24:
	ldr	x20, [x20, _NORMAL_EXEC@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #33
LBB0_21:
	bl	_halbtc8723b1ant_ps_tdma
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #4
	bl	_halbtc8723b1ant_coex_table_with_type
LBB0_22:
Lloh25:
	adrp	x8, _coex_dm@GOTPAGE
Lloh26:
	ldr	x8, [x8, _coex_dm@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	str	wzr, [x8]
LBB0_23:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_coex_sta,8,3                   ; @coex_sta
	.comm	_coex_dm,8,3                    ; @coex_dm
	.comm	_BT_8723B_1ANT_WIFI_STATUS_CONNECTED_IDLE,8,3 ; @BT_8723B_1ANT_WIFI_STATUS_CONNECTED_IDLE
	.comm	_NORMAL_EXEC,4,2                ; @NORMAL_EXEC
	.no_dead_strip	_halbtc8723b1ant_action_wifi_connected_bt_acl_busy
.subsections_via_symbols
