	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function halbtc8723b1ant_action_wifi_connected_special_packet
_halbtc8723b1ant_action_wifi_connected_special_packet: ## @halbtc8723b1ant_action_wifi_connected_special_packet
	.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
	movl	$0, -20(%rbp)
	movq	_BTC_GET_BL_WIFI_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	callq	*(%rdi)
	cmpl	$0, -20(%rbp)
	je	LBB0_3
## %bb.1:
	cmpq	$0, 8(%rbx)
	jne	LBB0_13
## %bb.2:
	movq	_coex_sta@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$1, (%rax)
	jg	LBB0_13
LBB0_3:
	movq	_BTC_PS_WIFI_NATIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_halbtc8723b1ant_power_save_state
	cmpq	$0, 32(%rbx)
	jne	LBB0_5
## %bb.4:
	cmpq	$0, 24(%rbx)
	je	LBB0_6
LBB0_5:
	movq	_NORMAL_EXEC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	movl	$32, %ecx
	callq	_halbtc8723b1ant_ps_tdma
	movl	$5, %edx
LBB0_12:
	movq	_NORMAL_EXEC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_halbtc8723b1ant_coex_table_with_type
LBB0_13:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	cmpq	$0, 16(%rbx)
	je	LBB0_8
## %bb.7:
	movq	_NORMAL_EXEC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	movl	$32, %ecx
	jmp	LBB0_10
LBB0_8:
	cmpq	$0, 8(%rbx)
	movq	_NORMAL_EXEC@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	je	LBB0_11
## %bb.9:
	movl	$1, %edx
	movl	$20, %ecx
LBB0_10:
	callq	_halbtc8723b1ant_ps_tdma
	movl	$4, %edx
	jmp	LBB0_12
LBB0_11:
	xorl	%edx, %edx
	movl	$8, %ecx
	callq	_halbtc8723b1ant_ps_tdma
	movq	_BTC_ANT_PATH_PTA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_halbtc8723b1ant_set_ant_path
	movl	$2, %edx
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_BTC_GET_BL_WIFI_BUSY,4,2       ## @BTC_GET_BL_WIFI_BUSY
	.comm	_coex_sta,8,3                   ## @coex_sta
	.comm	_BTC_PS_WIFI_NATIVE,4,2         ## @BTC_PS_WIFI_NATIVE
	.comm	_NORMAL_EXEC,4,2                ## @NORMAL_EXEC
	.comm	_BTC_ANT_PATH_PTA,4,2           ## @BTC_ANT_PATH_PTA
	.no_dead_strip	_halbtc8723b1ant_action_wifi_connected_special_packet
.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_special_packet
_halbtc8723b1ant_action_wifi_connected_special_packet: ; @halbtc8723b1ant_action_wifi_connected_special_packet
	.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	wzr, [sp, #12]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _BTC_GET_BL_WIFI_BUSY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BTC_GET_BL_WIFI_BUSY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	add	x2, sp, #12
	blr	x8
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_7
; %bb.2:
Lloh3:
	adrp	x8, _coex_sta@GOTPAGE
Lloh4:
	ldr	x8, [x8, _coex_sta@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cmp	w8, #1
	b.gt	LBB0_7
LBB0_3:
Lloh6:
	adrp	x8, _BTC_PS_WIFI_NATIVE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BTC_PS_WIFI_NATIVE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	bl	_halbtc8723b1ant_power_save_state
	ldr	x8, [x19, #32]
Lloh9:
	adrp	x20, _NORMAL_EXEC@GOTPAGE
Lloh10:
	ldr	x20, [x20, _NORMAL_EXEC@GOTPAGEOFF]
	cbnz	x8, LBB0_5
; %bb.4:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_8
LBB0_5:
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #32
	bl	_halbtc8723b1ant_ps_tdma
	mov	w2, #5
LBB0_6:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_halbtc8723b1ant_coex_table_with_type
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_8:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_10
; %bb.9:
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #32
	b	LBB0_12
LBB0_10:
	ldr	x8, [x19, #8]
	ldr	w1, [x20]
	mov	x0, x19
	cbz	x8, LBB0_13
; %bb.11:
	mov	w2, #1
	mov	w3, #20
LBB0_12:
	bl	_halbtc8723b1ant_ps_tdma
	mov	w2, #4
	b	LBB0_6
LBB0_13:
	mov	w2, #0
	mov	w3, #8
	bl	_halbtc8723b1ant_ps_tdma
Lloh11:
	adrp	x8, _BTC_ANT_PATH_PTA@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BTC_ANT_PATH_PTA@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w3, #0
	mov	w4, #0
	bl	_halbtc8723b1ant_set_ant_path
	mov	w2, #2
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_BTC_GET_BL_WIFI_BUSY,4,2       ; @BTC_GET_BL_WIFI_BUSY
	.comm	_coex_sta,8,3                   ; @coex_sta
	.comm	_BTC_PS_WIFI_NATIVE,4,2         ; @BTC_PS_WIFI_NATIVE
	.comm	_NORMAL_EXEC,4,2                ; @NORMAL_EXEC
	.comm	_BTC_ANT_PATH_PTA,4,2           ; @BTC_ANT_PATH_PTA
	.no_dead_strip	_halbtc8723b1ant_action_wifi_connected_special_packet
.subsections_via_symbols
