	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ex_btc8723b1ant_pnp_notify     ## -- Begin function ex_btc8723b1ant_pnp_notify
	.p2align	4, 0x90
_ex_btc8723b1ant_pnp_notify:            ## @ex_btc8723b1ant_pnp_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	8(%rdi), %r15
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	callq	_RT_TRACE
	movq	_BTC_WIFI_PNP_SLEEP@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_2
## %bb.1:
	movl	(%r12), %esi
	movl	(%r13), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%r15, %rdi
	callq	_RT_TRACE
	movq	_BTC_ANT_PATH_BT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FORCE_EXEC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	_halbtc8723b1ant_set_ant_path
	movq	_BTC_PS_WIFI_NATIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_halbtc8723b1ant_power_save_state
	movq	_NORMAL_EXEC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_halbtc8723b1ant_ps_tdma
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$2, %edx
	callq	_halbtc8723b1ant_coex_table_with_type
	movq	_coex_sta@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	$0, (%rax)
	movl	$1, (%r14)
	jmp	LBB0_3
LBB0_2:
	movq	_BTC_WIFI_PNP_WAKE_UP@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_3
## %bb.4:
	movl	(%r12), %esi
	movl	(%r13), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%r15, %rdi
	callq	_RT_TRACE
	movl	$0, (%r14)
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_halbtc8723b1ant_init_hw_config
	movq	%r14, %rdi
	callq	_halbtc8723b1ant_init_coex_dm
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_halbtc8723b1ant_query_bt_info  ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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], Pnp notify\n"

	.comm	_BTC_WIFI_PNP_SLEEP,8,3         ## @BTC_WIFI_PNP_SLEEP
L_.str.1:                               ## @.str.1
	.asciz	"[BTCoex], Pnp notify to SLEEP\n"

	.comm	_BTC_ANT_PATH_BT,4,2            ## @BTC_ANT_PATH_BT
	.comm	_FORCE_EXEC,4,2                 ## @FORCE_EXEC
	.comm	_BTC_PS_WIFI_NATIVE,4,2         ## @BTC_PS_WIFI_NATIVE
	.comm	_NORMAL_EXEC,4,2                ## @NORMAL_EXEC
	.comm	_coex_sta,8,3                   ## @coex_sta
	.comm	_BTC_WIFI_PNP_WAKE_UP,8,3       ## @BTC_WIFI_PNP_WAKE_UP
L_.str.2:                               ## @.str.2
	.asciz	"[BTCoex], Pnp notify to WAKE UP\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ex_btc8723b1ant_pnp_notify     ; -- Begin function ex_btc8723b1ant_pnp_notify
	.p2align	2
_ex_btc8723b1ant_pnp_notify:            ; @ex_btc8723b1ant_pnp_notify
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x1
	mov	x19, x0
	ldr	x20, [x0, #8]
Lloh0:
	adrp	x22, _COMP_BT_COEXIST@GOTPAGE
Lloh1:
	ldr	x22, [x22, _COMP_BT_COEXIST@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh2:
	adrp	x23, _DBG_LOUD@GOTPAGE
Lloh3:
	ldr	x23, [x23, _DBG_LOUD@GOTPAGEOFF]
	ldr	w2, [x23]
Lloh4:
	adrp	x3, l_.str@PAGE
Lloh5:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
Lloh6:
	adrp	x8, _BTC_WIFI_PNP_SLEEP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BTC_WIFI_PNP_SLEEP@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_2
; %bb.1:
	ldr	w1, [x22]
	ldr	w2, [x23]
Lloh9:
	adrp	x3, l_.str.1@PAGE
Lloh10:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
Lloh11:
	adrp	x8, _BTC_ANT_PATH_BT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BTC_ANT_PATH_BT@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _FORCE_EXEC@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FORCE_EXEC@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	w20, #1
	mov	x0, x19
	mov	w3, #0
	mov	w4, #1
	bl	_halbtc8723b1ant_set_ant_path
Lloh17:
	adrp	x8, _BTC_PS_WIFI_NATIVE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _BTC_PS_WIFI_NATIVE@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	bl	_halbtc8723b1ant_power_save_state
Lloh20:
	adrp	x21, _NORMAL_EXEC@GOTPAGE
Lloh21:
	ldr	x21, [x21, _NORMAL_EXEC@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	bl	_halbtc8723b1ant_ps_tdma
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #2
	bl	_halbtc8723b1ant_coex_table_with_type
Lloh22:
	adrp	x8, _coex_sta@GOTPAGE
Lloh23:
	ldr	x8, [x8, _coex_sta@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	str	xzr, [x8]
	str	w20, [x19]
	b	LBB0_4
LBB0_2:
Lloh25:
	adrp	x8, _BTC_WIFI_PNP_WAKE_UP@GOTPAGE
Lloh26:
	ldr	x8, [x8, _BTC_WIFI_PNP_WAKE_UP@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_4
; %bb.3:
	ldr	w1, [x22]
	ldr	w2, [x23]
Lloh28:
	adrp	x3, l_.str.2@PAGE
Lloh29:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	str	wzr, [x19]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_halbtc8723b1ant_init_hw_config
	mov	x0, x19
	bl	_halbtc8723b1ant_init_coex_dm
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_halbtc8723b1ant_query_bt_info
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.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], Pnp notify\n"

	.comm	_BTC_WIFI_PNP_SLEEP,8,3         ; @BTC_WIFI_PNP_SLEEP
l_.str.1:                               ; @.str.1
	.asciz	"[BTCoex], Pnp notify to SLEEP\n"

	.comm	_BTC_ANT_PATH_BT,4,2            ; @BTC_ANT_PATH_BT
	.comm	_FORCE_EXEC,4,2                 ; @FORCE_EXEC
	.comm	_BTC_PS_WIFI_NATIVE,4,2         ; @BTC_PS_WIFI_NATIVE
	.comm	_NORMAL_EXEC,4,2                ; @NORMAL_EXEC
	.comm	_coex_sta,8,3                   ; @coex_sta
	.comm	_BTC_WIFI_PNP_WAKE_UP,8,3       ; @BTC_WIFI_PNP_WAKE_UP
l_.str.2:                               ; @.str.2
	.asciz	"[BTCoex], Pnp notify to WAKE UP\n"

.subsections_via_symbols
