	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ex_btc8723b1ant_special_packet_notify ## -- Begin function ex_btc8723b1ant_special_packet_notify
	.p2align	4, 0x90
_ex_btc8723b1ant_special_packet_notify: ## @ex_btc8723b1ant_special_packet_notify
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	24(%rdi), %r15
	movl	$0, -52(%rbp)
	movl	$0, -48(%rbp)
	movl	$0, -44(%rbp)
	movq	_BTC_GET_BL_WIFI_4_WAY_PROGRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	callq	*(%rdi)
	cmpq	$0, 16(%rbx)
	jne	LBB0_23
## %bb.1:
	cmpq	$0, 8(%rbx)
	jne	LBB0_23
## %bb.2:
	movq	_coex_sta@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	cmpq	$0, 24(%rax)
	jne	LBB0_23
## %bb.3:
	movq	_BTC_PACKET_DHCP@GOTPCREL(%rip), %rdx
	movq	_BTC_PACKET_EAPOL@GOTPCREL(%rip), %r13
	movq	_BTC_PACKET_ARP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%r14, (%rdx)
	je	LBB0_7
## %bb.4:
	cmpq	%r14, (%r13)
	je	LBB0_7
## %bb.5:
	cmpq	%r14, %rcx
	je	LBB0_7
## %bb.6:
	movl	$0, (%rax)
	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
	movq	%r15, %rdi
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_RT_TRACE
	jmp	LBB0_14
LBB0_7:
	cmpq	%r14, %rcx
	jne	LBB0_11
## %bb.8:
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	_coex_dm@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	(%rax), %r8
	incq	%r8
	movq	%r8, (%rax)
	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
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	(%r13), %rax
	cmpq	$10, (%rax)
	movq	(%r12), %rax
	jl	LBB0_12
## %bb.9:
	cmpl	$0, -44(%rbp)
	jne	LBB0_12
## %bb.10:
	movl	$0, (%rax)
	jmp	LBB0_13
LBB0_11:
	movl	$1, (%rax)
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	jmp	LBB0_14
LBB0_12:
	movl	$1, (%rax)
LBB0_13:
	movq	_BTC_PACKET_EAPOL@GOTPCREL(%rip), %r13
LBB0_14:
	movq	_BTC_GET_U4_WIFI_LINK_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rbx)
	cmpl	$131072, -48(%rbp)              ## imm = 0x20000
	jl	LBB0_16
## %bb.15:
	movq	_NORMAL_EXEC@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_halbtc8723b1ant_limited_tx
	movl	(%r14), %esi
	movl	$5, %r8d
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_halbtc8723b1ant_limited_rx
	movq	%rbx, %rdi
	callq	_halbtc8723b1ant_action_wifi_multiport
	jmp	LBB0_23
LBB0_16:
	movq	(%r12), %rax
	movq	$0, 16(%rax)
	movq	_BTC_GET_BL_HS_OPERATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-52(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rbx)
	movq	(%r12), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_18
## %bb.17:
	movq	%rbx, %rdi
	callq	_halbtc8723b1ant_action_bt_inquiry
	jmp	LBB0_23
LBB0_18:
	cmpl	$0, -52(%rbp)
	je	LBB0_20
## %bb.19:
	movq	%rbx, %rdi
	callq	_halbtc8723b1ant_action_hs
	jmp	LBB0_23
LBB0_20:
	movq	_BTC_PACKET_DHCP@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	je	LBB0_22
## %bb.21:
	cmpq	%r14, (%r13)
	jne	LBB0_23
LBB0_22:
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.4(%rip), %rcx
	movq	%r15, %rdi
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%rbx, %rdi
	callq	_halbtc8723b1ant_action_wifi_connected_special_packet
LBB0_23:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BTC_GET_BL_WIFI_4_WAY_PROGRESS,4,2 ## @BTC_GET_BL_WIFI_4_WAY_PROGRESS
	.comm	_coex_sta,8,3                   ## @coex_sta
	.comm	_BTC_PACKET_DHCP,8,3            ## @BTC_PACKET_DHCP
	.comm	_BTC_PACKET_EAPOL,8,3           ## @BTC_PACKET_EAPOL
	.comm	_BTC_PACKET_ARP,8,3             ## @BTC_PACKET_ARP
	.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], special Packet ARP notify\n"

	.comm	_coex_dm,8,3                    ## @coex_dm
L_.str.1:                               ## @.str.1
	.asciz	"[BTCoex], ARP Packet Count = %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"[BTCoex], special Packet DHCP or EAPOL notify\n"

L_.str.3:                               ## @.str.3
	.asciz	"[BTCoex], special Packet [Type = %d] notify\n"

	.comm	_BTC_GET_U4_WIFI_LINK_STATUS,4,2 ## @BTC_GET_U4_WIFI_LINK_STATUS
	.comm	_NORMAL_EXEC,4,2                ## @NORMAL_EXEC
	.comm	_BTC_GET_BL_HS_OPERATION,4,2    ## @BTC_GET_BL_HS_OPERATION
L_.str.4:                               ## @.str.4
	.asciz	"[BTCoex], special Packet(%d) notify\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ex_btc8723b1ant_special_packet_notify ; -- Begin function ex_btc8723b1ant_special_packet_notify
	.p2align	2
_ex_btc8723b1ant_special_packet_notify: ; @ex_btc8723b1ant_special_packet_notify
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x19, x0
	ldr	x20, [x0, #24]
	str	xzr, [sp, #24]
	str	wzr, [sp, #20]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _BTC_GET_BL_WIFI_4_WAY_PROGRESS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BTC_GET_BL_WIFI_4_WAY_PROGRESS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	add	x2, sp, #20
	blr	x8
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_21
; %bb.1:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_21
; %bb.2:
Lloh3:
	adrp	x24, _coex_sta@GOTPAGE
Lloh4:
	ldr	x24, [x24, _coex_sta@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x9, [x8, #24]
	cbnz	x9, LBB0_21
; %bb.3:
Lloh5:
	adrp	x23, _BTC_PACKET_DHCP@GOTPAGE
Lloh6:
	ldr	x23, [x23, _BTC_PACKET_DHCP@GOTPAGEOFF]
	ldr	x10, [x23]
Lloh7:
	adrp	x22, _BTC_PACKET_EAPOL@GOTPAGE
Lloh8:
	ldr	x22, [x22, _BTC_PACKET_EAPOL@GOTPAGEOFF]
	ldr	x11, [x22]
Lloh9:
	adrp	x9, _BTC_PACKET_ARP@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BTC_PACKET_ARP@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x10, x21
	ccmp	x11, x21, #4, ne
	ccmp	x9, x21, #4, ne
	b.ne	LBB0_8
; %bb.4:
	cmp	x9, x21
	b.ne	LBB0_9
; %bb.5:
Lloh12:
	adrp	x25, _COMP_BT_COEXIST@GOTPAGE
Lloh13:
	ldr	x25, [x25, _COMP_BT_COEXIST@GOTPAGEOFF]
	ldr	w1, [x25]
Lloh14:
	adrp	x26, _DBG_LOUD@GOTPAGE
Lloh15:
	ldr	x26, [x26, _DBG_LOUD@GOTPAGEOFF]
	ldr	w2, [x26]
Lloh16:
	adrp	x3, l_.str@PAGE
Lloh17:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
Lloh18:
	adrp	x27, _coex_dm@GOTPAGE
Lloh19:
	ldr	x27, [x27, _coex_dm@GOTPAGEOFF]
	ldr	x8, [x27]
	ldr	x9, [x8]
	add	x9, x9, #1
	str	x9, [x8]
	ldr	w1, [x25]
	ldr	w2, [x26]
	str	x9, [sp]
Lloh20:
	adrp	x3, l_.str.1@PAGE
Lloh21:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	ldr	x8, [x27]
	ldr	x9, [x8]
	ldr	x8, [x24]
	cmp	x9, #10
	b.lt	LBB0_17
; %bb.6:
	ldr	w9, [sp, #20]
	cbnz	w9, LBB0_17
; %bb.7:
	str	wzr, [x8]
	b	LBB0_11
LBB0_8:
	str	wzr, [x8]
Lloh22:
	adrp	x8, _COMP_BT_COEXIST@GOTPAGE
Lloh23:
	ldr	x8, [x8, _COMP_BT_COEXIST@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
Lloh25:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh26:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	str	x21, [sp]
Lloh28:
	adrp	x3, l_.str.3@PAGE
Lloh29:
	add	x3, x3, l_.str.3@PAGEOFF
	b	LBB0_10
LBB0_9:
	mov	w9, #1
	str	w9, [x8]
Lloh30:
	adrp	x8, _COMP_BT_COEXIST@GOTPAGE
Lloh31:
	ldr	x8, [x8, _COMP_BT_COEXIST@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
Lloh33:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh34:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
Lloh36:
	adrp	x3, l_.str.2@PAGE
Lloh37:
	add	x3, x3, l_.str.2@PAGEOFF
LBB0_10:
	mov	x0, x20
	bl	_RT_TRACE
LBB0_11:
	ldr	x8, [x19]
Lloh38:
	adrp	x9, _BTC_GET_U4_WIFI_LINK_STATUS@GOTPAGE
Lloh39:
	ldr	x9, [x9, _BTC_GET_U4_WIFI_LINK_STATUS@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x9]
	add	x2, sp, #24
	mov	x0, x19
	blr	x8
	ldr	w8, [sp, #24]
	cmp	w8, #32, lsl #12                ; =131072
	b.lt	LBB0_13
; %bb.12:
Lloh41:
	adrp	x20, _NORMAL_EXEC@GOTPAGE
Lloh42:
	ldr	x20, [x20, _NORMAL_EXEC@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	bl	_halbtc8723b1ant_limited_tx
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	mov	w4, #5
	bl	_halbtc8723b1ant_limited_rx
	mov	x0, x19
	bl	_halbtc8723b1ant_action_wifi_multiport
	b	LBB0_21
LBB0_13:
	ldr	x8, [x24]
	str	xzr, [x8, #16]
	ldr	x8, [x19]
Lloh43:
	adrp	x9, _BTC_GET_BL_HS_OPERATION@GOTPAGE
Lloh44:
	ldr	x9, [x9, _BTC_GET_BL_HS_OPERATION@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x9]
	add	x2, sp, #28
	mov	x0, x19
	blr	x8
	ldr	x8, [x24]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_15
; %bb.14:
	mov	x0, x19
	bl	_halbtc8723b1ant_action_bt_inquiry
	b	LBB0_21
LBB0_15:
	ldr	w8, [sp, #28]
	cbz	w8, LBB0_18
; %bb.16:
	mov	x0, x19
	bl	_halbtc8723b1ant_action_hs
	b	LBB0_21
LBB0_17:
	mov	w9, #1
	str	w9, [x8]
	b	LBB0_11
LBB0_18:
	ldr	x8, [x23]
	cmp	x8, x21
	b.eq	LBB0_20
; %bb.19:
	ldr	x8, [x22]
	cmp	x8, x21
	b.ne	LBB0_21
LBB0_20:
Lloh46:
	adrp	x8, _COMP_BT_COEXIST@GOTPAGE
Lloh47:
	ldr	x8, [x8, _COMP_BT_COEXIST@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
Lloh49:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh50:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh51:
	ldr	w2, [x8]
	str	x21, [sp]
Lloh52:
	adrp	x3, l_.str.4@PAGE
Lloh53:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	x0, x19
	bl	_halbtc8723b1ant_action_wifi_connected_special_packet
LBB0_21:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_BTC_GET_BL_WIFI_4_WAY_PROGRESS,4,2 ; @BTC_GET_BL_WIFI_4_WAY_PROGRESS
	.comm	_coex_sta,8,3                   ; @coex_sta
	.comm	_BTC_PACKET_DHCP,8,3            ; @BTC_PACKET_DHCP
	.comm	_BTC_PACKET_EAPOL,8,3           ; @BTC_PACKET_EAPOL
	.comm	_BTC_PACKET_ARP,8,3             ; @BTC_PACKET_ARP
	.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], special Packet ARP notify\n"

	.comm	_coex_dm,8,3                    ; @coex_dm
l_.str.1:                               ; @.str.1
	.asciz	"[BTCoex], ARP Packet Count = %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"[BTCoex], special Packet DHCP or EAPOL notify\n"

l_.str.3:                               ; @.str.3
	.asciz	"[BTCoex], special Packet [Type = %d] notify\n"

	.comm	_BTC_GET_U4_WIFI_LINK_STATUS,4,2 ; @BTC_GET_U4_WIFI_LINK_STATUS
	.comm	_NORMAL_EXEC,4,2                ; @NORMAL_EXEC
	.comm	_BTC_GET_BL_HS_OPERATION,4,2    ; @BTC_GET_BL_HS_OPERATION
l_.str.4:                               ; @.str.4
	.asciz	"[BTCoex], special Packet(%d) notify\n"

.subsections_via_symbols
