	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_p2p_completed             ## -- Begin function wpas_p2p_completed
	.p2align	4, 0x90
_wpas_p2p_completed:                    ## @wpas_p2p_completed
	.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	$232, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	72(%rdi), %r14
	movq	_ETH_ALEN@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	movq	(%r14), %rax
	movq	_WPAS_MODE_P2P_GROUP_FORMATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
LBB0_2:
	movq	_wpas_p2p_group_formation_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %esi
	xorl	%edx, %edx
	callq	_eloop_cancel_timeout
LBB0_3:
	cmpq	$0, 64(%rbx)
	je	LBB0_27
## %bb.4:
	testq	%r14, %r14
	je	LBB0_27
## %bb.5:
	movq	$0, 64(%rbx)
	cmpl	$0, (%rbx)
	jne	LBB0_8
## %bb.6:
	movq	32(%rbx), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_8
## %bb.7:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_wpa_dbg
	movl	$1, (%rbx)
	movq	32(%rbx), %rax
	movq	$0, (%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%rbx)
LBB0_8:
	movl	(%r13), %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_os_memset
	cmpq	$0, 48(%r14)
	je	LBB0_10
## %bb.9:
	movq	40(%r14), %rsi
	movl	(%r13), %edx
	movq	%r15, %rdi
	callq	_os_memcpy
LBB0_10:
	movl	32(%r14), %ecx
	movl	36(%r14), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_wpas_p2p_persistent_group
	movl	%eax, %r12d
	movq	40(%rbx), %rdi
	movl	(%r13), %edx
	movq	%r15, %rsi
	callq	_os_memcpy
	movq	32(%rbx), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_12
## %bb.11:
	movq	$0, (%rax)
LBB0_12:
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movl	(%rax), %eax
	jmp	LBB0_15
LBB0_14:
	movl	16(%rbx), %eax
LBB0_15:
	movl	%eax, -212(%rbp)                ## 4-byte Spill
	movb	$0, -208(%rbp)
	movl	8(%rbx), %edi
	leaq	-96(%rbp), %r13
	movq	%r13, %rsi
	callq	_wpa_sm_get_p2p_ip_addr
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	xorl	%r13d, %r13d
	jmp	LBB0_19
LBB0_17:
	movl	-96(%rbp), %ecx
	movl	-92(%rbp), %r8d
	movl	-88(%rbp), %r9d
	movl	-84(%rbp), %eax
	movq	%rax, -264(%rbp)                ## 8-byte Spill
	movl	-80(%rbp), %eax
	movq	%rax, -256(%rbp)                ## 8-byte Spill
	movl	-76(%rbp), %eax
	movq	%rax, -248(%rbp)                ## 8-byte Spill
	movl	-72(%rbp), %eax
	movq	%rax, -240(%rbp)                ## 8-byte Spill
	movl	-68(%rbp), %eax
	movq	%rax, -232(%rbp)                ## 8-byte Spill
	movl	-64(%rbp), %eax
	movq	%rax, -224(%rbp)                ## 8-byte Spill
	movl	-60(%rbp), %r10d
	movl	-56(%rbp), %r11d
	movl	-52(%rbp), %eax
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rdx
	leaq	-208(%rbp), %rdi
	movl	$100, %esi
	pushq	%rax
	pushq	%r11
	pushq	%r10
	pushq	-224(%rbp)                      ## 8-byte Folded Reload
	pushq	-232(%rbp)                      ## 8-byte Folded Reload
	pushq	-240(%rbp)                      ## 8-byte Folded Reload
	pushq	-248(%rbp)                      ## 8-byte Folded Reload
	pushq	-256(%rbp)                      ## 8-byte Folded Reload
	pushq	-264(%rbp)                      ## 8-byte Folded Reload
	callq	_os_snprintf
	addq	$80, %rsp
	movl	$100, %edi
	movl	%eax, %esi
	callq	_os_snprintf_error
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movb	$0, -208(%rbp)
LBB0_19:
	movl	-212(%rbp), %ecx                ## 4-byte Reload
	movq	8(%r14), %r9
	testq	%r9, %r9
	je	LBB0_21
LBB0_23:
	xorl	%r8d, %r8d
	jmp	LBB0_24
LBB0_21:
	cmpq	$0, 24(%r14)
	je	LBB0_23
## %bb.22:
	movq	16(%r14), %r8
LBB0_24:
	subq	$8, %rsp
	leaq	-208(%rbp), %rax
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	pushq	%rax
	pushq	%r12
	pushq	%r15
	callq	_wpas_p2p_group_started
	addq	$32, %rsp
	testl	%r12d, %r12d
	je	LBB0_26
## %bb.25:
	movl	4(%rbx), %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_wpas_p2p_store_persistent_group
LBB0_26:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	movl	$1, %ecx
	movq	%r13, %r8
	callq	_wpas_notify_p2p_group_started
LBB0_27:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_29
## %bb.28:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_29:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_WPAS_MODE_P2P_GROUP_FORMATION,8,3 ## @WPAS_MODE_P2P_GROUP_FORMATION
	.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: Marking group formation completed on client on data connection"

L_.str.1:                               ## @.str.1
	.asciz	" ip_addr=%u.%u.%u.%u ip_mask=%u.%u.%u.%u go_ip_addr=%u.%u.%u.%u"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_p2p_completed             ; -- Begin function wpas_p2p_completed
	.p2align	2
_wpas_p2p_completed:                    ; @wpas_p2p_completed
	.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
	sub	sp, sp, #160
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	x20, [x0, #72]
Lloh3:
	adrp	x23, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x23, [x23, _ETH_ALEN@GOTPAGEOFF]
	ldr	w8, [x23]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	cbz	x20, LBB0_2
; %bb.1:
	ldr	x8, [x20]
Lloh7:
	adrp	x9, _WPAS_MODE_P2P_GROUP_FORMATION@GOTPAGE
Lloh8:
	ldr	x9, [x9, _WPAS_MODE_P2P_GROUP_FORMATION@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
LBB0_2:
Lloh10:
	adrp	x8, _wpas_p2p_group_formation_timeout@GOTPAGE
Lloh11:
	ldr	x8, [x8, _wpas_p2p_group_formation_timeout@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldr	w1, [x19, #4]
	mov	x2, #0
	bl	_eloop_cancel_timeout
LBB0_3:
	ldr	x8, [x19, #64]
	cmp	x8, #0
	ccmp	x20, #0, #4, ne
	b.eq	LBB0_25
; %bb.4:
	str	xzr, [x19, #64]
	ldr	w8, [x19]
	cbnz	w8, LBB0_7
; %bb.5:
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	cmp	x8, x19
	b.ne	LBB0_7
; %bb.6:
Lloh13:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x2, l_.str@PAGE
Lloh17:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_wpa_dbg
	mov	w8, #1
	str	w8, [x19]
	ldr	x8, [x19, #32]
	str	xzr, [x8]
	stp	xzr, xzr, [x19, #48]
LBB0_7:
	ldr	w2, [x23]
	mov	x0, x21
	mov	w1, #0
	bl	_os_memset
	ldr	x8, [x20, #48]
	cbz	x8, LBB0_9
; %bb.8:
	ldr	x1, [x20, #40]
	ldr	w2, [x23]
	mov	x0, x21
	bl	_os_memcpy
LBB0_9:
	ldp	w3, w2, [x20, #32]
	mov	x0, x19
	mov	x1, x21
	bl	_wpas_p2p_persistent_group
	mov	x22, x0
	ldr	x0, [x19, #40]
	ldr	w2, [x23]
	mov	x1, x21
	bl	_os_memcpy
	ldr	x8, [x19, #32]
	ldr	x9, [x8]
	cmp	x9, x19
	b.eq	LBB0_12
; %bb.10:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_13
LBB0_11:
	ldr	w23, [x8]
	b	LBB0_14
LBB0_12:
	str	xzr, [x8]
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_11
LBB0_13:
	ldr	w23, [x19, #16]
LBB0_14:
	sturb	wzr, [x29, #-204]
	ldr	w0, [x19, #8]
	sub	x1, x29, #104
	bl	_wpa_sm_get_p2p_ip_addr
	cbz	x0, LBB0_16
; %bb.15:
	mov	x24, #0
	b	LBB0_18
LBB0_16:
	sub	x8, x29, #104
	ldp	w3, w4, [x29, #-104]
	ldp	w5, w6, [x29, #-96]
	ldur	w7, [x29, #-88]
	ldur	q0, [x29, #-84]
	ldur	x8, [x8, #36]
	ldur	w9, [x29, #-60]
	sub	sp, sp, #32
	str	w9, [sp, #24]
	str	x8, [sp, #16]
	str	q0, [sp]
Lloh18:
	adrp	x2, l_.str.1@PAGE
Lloh19:
	add	x2, x2, l_.str.1@PAGEOFF
	sub	x0, x29, #204
	mov	w1, #100
	bl	_os_snprintf
	add	sp, sp, #32
	mov	x1, x0
	mov	w0, #100
	bl	_os_snprintf_error
	sub	x24, x29, #104
	cbz	x0, LBB0_18
; %bb.17:
	sturb	wzr, [x29, #-204]
LBB0_18:
	ldr	x5, [x20, #8]
	cbz	x5, LBB0_20
LBB0_19:
	mov	x4, #0
	b	LBB0_22
LBB0_20:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_19
; %bb.21:
	ldr	x4, [x20, #16]
LBB0_22:
	sub	x8, x29, #204
	str	x8, [sp, #-16]!
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	mov	x3, x23
	mov	x6, x21
	mov	x7, x22
	bl	_wpas_p2p_group_started
	add	sp, sp, #16
	cbz	w22, LBB0_24
; %bb.23:
	ldr	w0, [x19, #4]
	mov	x1, x20
	mov	x2, x21
	bl	_wpas_p2p_store_persistent_group
LBB0_24:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	mov	w3, #1
	mov	x4, x24
	bl	_wpas_notify_p2p_group_started
LBB0_25:
	ldur	x8, [x29, #-56]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_27
; %bb.26:
	sub	sp, x29, #48
	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
LBB0_27:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_WPAS_MODE_P2P_GROUP_FORMATION,8,3 ; @WPAS_MODE_P2P_GROUP_FORMATION
	.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: Marking group formation completed on client on data connection"

l_.str.1:                               ; @.str.1
	.asciz	" ip_addr=%u.%u.%u.%u ip_mask=%u.%u.%u.%u go_ip_addr=%u.%u.%u.%u"

.subsections_via_symbols
