	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ex_btc8821a1ant_special_packet_notify ## -- Begin function ex_btc8821a1ant_special_packet_notify
	.p2align	4, 0x90
_ex_btc8821a1ant_special_packet_notify: ## @ex_btc8821a1ant_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	24(%rdi), %r14
	movl	$0, -52(%rbp)
	movl	$0, -48(%rbp)
	movl	$0, -44(%rbp)
	cmpq	$0, 16(%rdi)
	jne	LBB0_25
## %bb.1:
	movq	%rdi, %rbx
	cmpq	$0, 8(%rdi)
	jne	LBB0_25
## %bb.2:
	movq	_coex_sta@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	cmpq	$0, 24(%rax)
	jne	LBB0_25
## %bb.3:
	movq	%rsi, %r15
	movq	_BTC_GET_BL_WIFI_UNDER_5G@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rbx)
	cmpl	$0, -48(%rbp)
	je	LBB0_5
## %bb.4:
	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	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%rbx, %rdi
	callq	_btc8821a1ant_coex_under_5g
	jmp	LBB0_25
LBB0_5:
	movq	_BTC_PACKET_DHCP@GOTPCREL(%rip), %rdx
	movq	_BTC_PACKET_EAPOL@GOTPCREL(%rip), %r13
	movq	_BTC_PACKET_ARP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r12), %rcx
	cmpq	%r15, (%rdx)
	je	LBB0_8
## %bb.6:
	cmpq	%r15, (%r13)
	je	LBB0_8
## %bb.7:
	cmpq	%r15, %rax
	je	LBB0_8
## %bb.12:
	movl	$0, (%rcx)
	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	%r14, %rdi
	movq	%r15, %r8
	xorl	%eax, %eax
	callq	_RT_TRACE
	jmp	LBB0_13
LBB0_8:
	movl	$1, (%rcx)
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	cmpq	%r15, %rax
	jne	LBB0_11
## %bb.9:
	leaq	L_.str.1(%rip), %rcx
	jmp	LBB0_10
LBB0_11:
	leaq	L_.str.2(%rip), %rcx
LBB0_10:
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
LBB0_13:
	movq	(%r12), %rax
	movq	$0, 16(%rax)
	movq	_BTC_GET_U4_WIFI_LINK_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rbx)
	cmpl	$131072, -44(%rbp)              ## imm = 0x20000
	jl	LBB0_15
## %bb.14:
	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	_btc8821a1ant_limited_tx
	movl	(%r14), %esi
	movl	$5, %r8d
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_btc8821a1ant_limited_rx
	movq	%rbx, %rdi
	callq	_btc8821a1ant_action_wifi_multi_port
	jmp	LBB0_25
LBB0_15:
	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_17
## %bb.16:
	movq	%rbx, %rdi
	callq	_btc8821a1ant_action_bt_inquiry
	jmp	LBB0_25
LBB0_17:
	cmpl	$0, -52(%rbp)
	je	LBB0_19
## %bb.18:
	movq	%rbx, %rdi
	callq	_btc8821a1ant_action_hs
	jmp	LBB0_25
LBB0_19:
	movq	_BTC_PACKET_ARP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_BTC_PACKET_DHCP@GOTPCREL(%rip), %rcx
	cmpq	%r15, (%rcx)
	je	LBB0_22
## %bb.20:
	cmpq	%r15, (%r13)
	je	LBB0_22
## %bb.21:
	cmpq	%r15, %rax
	jne	LBB0_25
LBB0_22:
	cmpq	%r15, %rax
	jne	LBB0_24
## %bb.23:
	movq	_coex_dm@GOTPCREL(%rip), %r12
	movq	(%r12), %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.4(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	(%r12), %rax
	cmpq	$9, (%rax)
	jg	LBB0_25
LBB0_24:
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.5(%rip), %rcx
	movq	%r14, %rdi
	movq	%r15, %r8
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%rbx, %rdi
	callq	_btc8821a1ant_act_wifi_conn_sp_pkt
LBB0_25:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_coex_sta,8,3                   ## @coex_sta
	.comm	_BTC_GET_BL_WIFI_UNDER_5G,4,2   ## @BTC_GET_BL_WIFI_UNDER_5G
	.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], RunCoexistMechanism(), return for 5G <===\n"

	.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
L_.str.1:                               ## @.str.1
	.asciz	"[BTCoex], specific Packet ARP notify\n"

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

L_.str.3:                               ## @.str.3
	.asciz	"[BTCoex], specific 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
	.comm	_coex_dm,8,3                    ## @coex_dm
L_.str.4:                               ## @.str.4
	.asciz	"[BTCoex], ARP Packet Count = %d\n"

L_.str.5:                               ## @.str.5
	.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_btc8821a1ant_special_packet_notify ; -- Begin function ex_btc8821a1ant_special_packet_notify
	.p2align	2
_ex_btc8821a1ant_special_packet_notify: ; @ex_btc8821a1ant_special_packet_notify
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	str	xzr, [sp, #24]
	str	wzr, [sp, #20]
	ldp	x8, x20, [x0, #16]
	cbnz	x8, LBB0_24
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbnz	x8, LBB0_24
; %bb.2:
Lloh0:
	adrp	x22, _coex_sta@GOTPAGE
Lloh1:
	ldr	x22, [x22, _coex_sta@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x8, [x8, #24]
	cbnz	x8, LBB0_24
; %bb.3:
	mov	x21, x1
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _BTC_GET_BL_WIFI_UNDER_5G@GOTPAGE
Lloh3:
	ldr	x9, [x9, _BTC_GET_BL_WIFI_UNDER_5G@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x9]
	add	x2, sp, #24
	mov	x0, x19
	blr	x8
	ldr	w8, [sp, #24]
	cbz	w8, LBB0_5
; %bb.4:
Lloh5:
	adrp	x8, _COMP_BT_COEXIST@GOTPAGE
Lloh6:
	ldr	x8, [x8, _COMP_BT_COEXIST@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x3, l_.str@PAGE
Lloh12:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	x0, x19
	bl	_btc8821a1ant_coex_under_5g
	b	LBB0_24
LBB0_5:
Lloh13:
	adrp	x24, _BTC_PACKET_DHCP@GOTPAGE
Lloh14:
	ldr	x24, [x24, _BTC_PACKET_DHCP@GOTPAGEOFF]
Lloh15:
	adrp	x23, _BTC_PACKET_EAPOL@GOTPAGE
Lloh16:
	ldr	x23, [x23, _BTC_PACKET_EAPOL@GOTPAGEOFF]
	ldr	x10, [x24]
Lloh17:
	adrp	x25, _BTC_PACKET_ARP@GOTPAGE
Lloh18:
	ldr	x25, [x25, _BTC_PACKET_ARP@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	x9, [x22]
	cmp	x10, x21
	b.eq	LBB0_9
; %bb.6:
	ldr	x10, [x23]
	cmp	x10, x21
	b.eq	LBB0_9
; %bb.7:
	cmp	x8, x21
	b.eq	LBB0_9
; %bb.8:
	str	wzr, [x9]
Lloh19:
	adrp	x8, _COMP_BT_COEXIST@GOTPAGE
Lloh20:
	ldr	x8, [x8, _COMP_BT_COEXIST@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
Lloh22:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh23:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	str	x21, [sp]
Lloh25:
	adrp	x3, l_.str.3@PAGE
Lloh26:
	add	x3, x3, l_.str.3@PAGEOFF
	b	LBB0_12
LBB0_9:
	mov	w10, #1
Lloh27:
	adrp	x11, _COMP_BT_COEXIST@GOTPAGE
Lloh28:
	ldr	x11, [x11, _COMP_BT_COEXIST@GOTPAGEOFF]
	str	w10, [x9]
Lloh29:
	ldr	w1, [x11]
Lloh30:
	adrp	x9, _DBG_LOUD@GOTPAGE
Lloh31:
	ldr	x9, [x9, _DBG_LOUD@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x9]
	cmp	x8, x21
	b.ne	LBB0_11
; %bb.10:
Lloh33:
	adrp	x3, l_.str.1@PAGE
Lloh34:
	add	x3, x3, l_.str.1@PAGEOFF
	b	LBB0_12
LBB0_11:
Lloh35:
	adrp	x3, l_.str.2@PAGE
Lloh36:
	add	x3, x3, l_.str.2@PAGEOFF
LBB0_12:
	mov	x0, x20
	bl	_RT_TRACE
	ldr	x8, [x22]
	str	xzr, [x8, #16]
	ldr	x8, [x19]
Lloh37:
	adrp	x9, _BTC_GET_U4_WIFI_LINK_STATUS@GOTPAGE
Lloh38:
	ldr	x9, [x9, _BTC_GET_U4_WIFI_LINK_STATUS@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x9]
	add	x2, sp, #20
	mov	x0, x19
	blr	x8
	ldr	w8, [sp, #20]
	cmp	w8, #32, lsl #12                ; =131072
	b.lt	LBB0_14
; %bb.13:
Lloh40:
	adrp	x20, _NORMAL_EXEC@GOTPAGE
Lloh41:
	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	_btc8821a1ant_limited_tx
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	mov	w4, #5
	bl	_btc8821a1ant_limited_rx
	mov	x0, x19
	bl	_btc8821a1ant_action_wifi_multi_port
	b	LBB0_24
LBB0_14:
	ldr	x8, [x19]
Lloh42:
	adrp	x9, _BTC_GET_BL_HS_OPERATION@GOTPAGE
Lloh43:
	ldr	x9, [x9, _BTC_GET_BL_HS_OPERATION@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x9]
	add	x2, sp, #28
	mov	x0, x19
	blr	x8
	ldr	x8, [x22]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_16
; %bb.15:
	mov	x0, x19
	bl	_btc8821a1ant_action_bt_inquiry
	b	LBB0_24
LBB0_16:
	ldr	w8, [sp, #28]
	cbz	w8, LBB0_18
; %bb.17:
	mov	x0, x19
	bl	_btc8821a1ant_action_hs
	b	LBB0_24
LBB0_18:
	ldr	x9, [x24]
	ldr	x8, [x25]
	cmp	x9, x21
	b.eq	LBB0_21
; %bb.19:
	ldr	x9, [x23]
	cmp	x9, x21
	b.eq	LBB0_21
; %bb.20:
	cmp	x8, x21
	b.ne	LBB0_24
LBB0_21:
	cmp	x8, x21
	b.ne	LBB0_23
; %bb.22:
Lloh45:
	adrp	x22, _coex_dm@GOTPAGE
Lloh46:
	ldr	x22, [x22, _coex_dm@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x9, [x8]
	add	x9, x9, #1
	str	x9, [x8]
Lloh47:
	adrp	x8, _COMP_BT_COEXIST@GOTPAGE
Lloh48:
	ldr	x8, [x8, _COMP_BT_COEXIST@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
Lloh50:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh51:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh52:
	ldr	w2, [x8]
	str	x9, [sp]
Lloh53:
	adrp	x3, l_.str.4@PAGE
Lloh54:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	ldr	x8, [x22]
	ldr	x8, [x8]
	cmp	x8, #9
	b.gt	LBB0_24
LBB0_23:
Lloh55:
	adrp	x8, _COMP_BT_COEXIST@GOTPAGE
Lloh56:
	ldr	x8, [x8, _COMP_BT_COEXIST@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
Lloh58:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh59:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh60:
	ldr	w2, [x8]
	str	x21, [sp]
Lloh61:
	adrp	x3, l_.str.5@PAGE
Lloh62:
	add	x3, x3, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	mov	x0, x19
	bl	_btc8821a1ant_act_wifi_conn_sp_pkt
LBB0_24:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.cfi_endproc
                                        ; -- End function
	.comm	_coex_sta,8,3                   ; @coex_sta
	.comm	_BTC_GET_BL_WIFI_UNDER_5G,4,2   ; @BTC_GET_BL_WIFI_UNDER_5G
	.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], RunCoexistMechanism(), return for 5G <===\n"

	.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
l_.str.1:                               ; @.str.1
	.asciz	"[BTCoex], specific Packet ARP notify\n"

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

l_.str.3:                               ; @.str.3
	.asciz	"[BTCoex], specific 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
	.comm	_coex_dm,8,3                    ; @coex_dm
l_.str.4:                               ; @.str.4
	.asciz	"[BTCoex], ARP Packet Count = %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"[BTCoex], special Packet(%d) notify\n"

.subsections_via_symbols
