	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_p2p_deauth_notif          ## -- Begin function wpas_p2p_deauth_notif
	.p2align	4, 0x90
_wpas_p2p_deauth_notif:                 ## @wpas_p2p_deauth_notif
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	8(%rdi), %rdx
	xorl	%eax, %eax
	cmpq	$0, 8(%rdx)
	jne	LBB0_9
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rdx), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.2:
	testl	%r9d, %r9d
	jne	LBB0_8
## %bb.3:
	movq	%r14, %rdx
	callq	_p2p_deauth_notif
	movq	_WLAN_REASON_DEAUTH_LEAVING@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_8
## %bb.4:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	cmpq	$0, 8(%rax)
	je	LBB0_8
## %bb.6:
	movq	(%rax), %rax
	movq	_WPAS_MODE_INFRA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	_P2P_GROUP_REMOVAL_GO_ENDING_SESSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_wpas_p2p_group_delete
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	jg	LBB0_9
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_REASON_DEAUTH_LEAVING,8,3 ## @WLAN_REASON_DEAUTH_LEAVING
	.comm	_WPAS_MODE_INFRA,8,3            ## @WPAS_MODE_INFRA
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"P2P: GO indicated that the P2P Group session is ending"

	.comm	_P2P_GROUP_REMOVAL_GO_ENDING_SESSION,4,2 ## @P2P_GROUP_REMOVAL_GO_ENDING_SESSION
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_p2p_deauth_notif          ; -- Begin function wpas_p2p_deauth_notif
	.p2align	2
_wpas_p2p_deauth_notif:                 ; @wpas_p2p_deauth_notif
	.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
	ldr	x8, [x0, #8]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_3
LBB0_1:
	mov	w0, #0
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x19, x0
	ldr	x0, [x8]
	cbz	x0, LBB0_2
; %bb.4:
	cbnz	w5, LBB0_1
; %bb.5:
	mov	x20, x2
	bl	_p2p_deauth_notif
Lloh0:
	adrp	x8, _WLAN_REASON_DEAUTH_LEAVING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WLAN_REASON_DEAUTH_LEAVING@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_1
; %bb.6:
	ldr	x8, [x19]
	cbz	x8, LBB0_1
; %bb.7:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_1
; %bb.8:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _WPAS_MODE_INFRA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WPAS_MODE_INFRA@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_1
; %bb.9:
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
	bl	_wpa_printf
Lloh11:
	adrp	x8, _P2P_GROUP_REMOVAL_GO_ENDING_SESSION@GOTPAGE
Lloh12:
	ldr	x8, [x8, _P2P_GROUP_REMOVAL_GO_ENDING_SESSION@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_wpas_p2p_group_delete
	cmp	x0, #0
	b.le	LBB0_1
; %bb.10:
	mov	w0, #1
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_REASON_DEAUTH_LEAVING,8,3 ; @WLAN_REASON_DEAUTH_LEAVING
	.comm	_WPAS_MODE_INFRA,8,3            ; @WPAS_MODE_INFRA
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"P2P: GO indicated that the P2P Group session is ending"

	.comm	_P2P_GROUP_REMOVAL_GO_ENDING_SESSION,4,2 ; @P2P_GROUP_REMOVAL_GO_ENDING_SESSION
.subsections_via_symbols
