	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_p2p_notify_ap_sta_authorized ## -- Begin function wpas_p2p_notify_ap_sta_authorized
	.p2align	4, 0x90
_wpas_p2p_notify_ap_sta_authorized:     ## @wpas_p2p_notify_ap_sta_authorized
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	_wpas_p2p_group_formation_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	36(%rbx), %esi
	xorl	%edx, %edx
	callq	_eloop_cancel_timeout
	testq	%rax, %rax
	jle	LBB0_6
## %bb.1:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	cmpl	$0, (%rbx)
	jne	LBB0_6
## %bb.2:
	cmpl	$0, 32(%rbx)
	je	LBB0_3
LBB0_6:
	cmpl	$0, (%rbx)
	je	LBB0_8
LBB0_7:
	movq	8(%rbx), %rax
	jmp	LBB0_9
LBB0_3:
	movq	8(%rbx), %rax
	movq	16(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	movq	%r14, %rsi
	callq	_p2p_wps_success_cb
LBB0_5:
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_wpas_group_formation_completed
	cmpl	$0, (%rbx)
	jne	LBB0_7
LBB0_8:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	callq	_wpa_dbg
	movl	$1, (%rbx)
	movq	8(%rbx), %rax
	movq	$0, 8(%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
LBB0_9:
	movq	$0, (%rax)
	testq	%r14, %r14
	je	LBB0_10
## %bb.11:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_wpas_p2p_add_persistent_group_client ## TAILCALL
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_wpas_p2p_group_formation_timeout,4,2 ## @wpas_p2p_group_formation_timeout
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"P2P: Canceled P2P group formation timeout on data connection"

L_.str.1:                               ## @.str.1
	.asciz	"P2P: Marking group formation completed on GO on first data connection"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_p2p_notify_ap_sta_authorized ; -- Begin function wpas_p2p_notify_ap_sta_authorized
	.p2align	2
_wpas_p2p_notify_ap_sta_authorized:     ; @wpas_p2p_notify_ap_sta_authorized
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _wpas_p2p_group_formation_timeout@GOTPAGE
Lloh1:
	ldr	x8, [x8, _wpas_p2p_group_formation_timeout@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x20, #36]
	mov	x2, #0
	bl	_eloop_cancel_timeout
Lloh3:
	adrp	x21, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x21, [x21, _MSG_DEBUG@GOTPAGEOFF]
	cmp	x0, #1
	b.lt	LBB0_3
; %bb.1:
	ldr	w0, [x21]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	w8, [x20]
	cbnz	w8, LBB0_3
; %bb.2:
	ldr	w8, [x20, #32]
	cbz	w8, LBB0_6
LBB0_3:
	ldr	w8, [x20]
	cbz	w8, LBB0_9
LBB0_4:
	ldr	x8, [x20, #8]
	str	xzr, [x8]
	cbz	x19, LBB0_10
LBB0_5:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_wpas_p2p_add_persistent_group_client
LBB0_6:
	ldr	x8, [x20, #8]
	ldr	x0, [x8, #16]
	cbz	x0, LBB0_8
; %bb.7:
	mov	x1, x19
	bl	_p2p_wps_success_cb
LBB0_8:
	mov	x0, x20
	mov	w1, #1
	mov	w2, #0
	bl	_wpas_group_formation_completed
	ldr	w8, [x20]
	cbnz	w8, LBB0_4
LBB0_9:
	ldr	w1, [x21]
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_wpa_dbg
	mov	w8, #1
	str	w8, [x20]
	ldr	x8, [x20, #8]
	str	xzr, [x8, #8]
	stp	xzr, xzr, [x20, #16]
	str	xzr, [x8]
	cbnz	x19, LBB0_5
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_wpas_p2p_group_formation_timeout,4,2 ; @wpas_p2p_group_formation_timeout
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"P2P: Canceled P2P group formation timeout on data connection"

l_.str.1:                               ; @.str.1
	.asciz	"P2P: Marking group formation completed on GO on first data connection"

.subsections_via_symbols
