	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_p2p_notif_connected       ## -- Begin function wpas_p2p_notif_connected
	.p2align	4, 0x90
_wpas_p2p_notif_connected:              ## @wpas_p2p_notif_connected
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cmpq	$0, (%rdi)
	je	LBB0_1
LBB0_4:
	movq	%rbx, %rdi
	callq	_wpas_p2p_disable_cross_connect
	cmpq	$0, (%rbx)
	je	LBB0_7
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	(%rax), %rax
	movq	_WPAS_MODE_INFRA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	cmpq	$0, 8(%rbx)
	jne	LBB0_4
## %bb.5:
	movq	%rbx, %rdi
	callq	_wpas_p2p_enable_cross_connect
	cmpq	$0, (%rbx)
	jne	LBB0_8
LBB0_7:
	movq	_wpas_p2p_group_idle_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_eloop_cancel_timeout
	testq	%rax, %rax
	jle	LBB0_8
## %bb.9:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_wpa_printf                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WPAS_MODE_INFRA,8,3            ## @WPAS_MODE_INFRA
	.comm	_wpas_p2p_group_idle_timeout,4,2 ## @wpas_p2p_group_idle_timeout
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"P2P: Cancelled P2P group idle timeout"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_p2p_notif_connected       ; -- Begin function wpas_p2p_notif_connected
	.p2align	2
_wpas_p2p_notif_connected:              ; @wpas_p2p_notif_connected
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_3
LBB0_1:
	mov	x0, x19
	bl	_wpas_p2p_disable_cross_connect
	ldr	x8, [x19]
	cbz	x8, LBB0_7
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_1
; %bb.4:
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _WPAS_MODE_INFRA@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WPAS_MODE_INFRA@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_1
; %bb.5:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_1
; %bb.6:
	mov	x0, x19
	bl	_wpas_p2p_enable_cross_connect
	ldr	x8, [x19]
	cbnz	x8, LBB0_2
LBB0_7:
Lloh3:
	adrp	x8, _wpas_p2p_group_idle_timeout@GOTPAGE
Lloh4:
	ldr	x8, [x8, _wpas_p2p_group_idle_timeout@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	mov	x2, #0
	bl	_eloop_cancel_timeout
	cmp	x0, #1
	b.lt	LBB0_2
; %bb.8:
Lloh6:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wpa_printf
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_WPAS_MODE_INFRA,8,3            ; @WPAS_MODE_INFRA
	.comm	_wpas_p2p_group_idle_timeout,4,2 ; @wpas_p2p_group_idle_timeout
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"P2P: Cancelled P2P group idle timeout"

.subsections_via_symbols
