	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p2ps_add_new_group_info
_p2ps_add_new_group_info:               ## @p2ps_add_new_group_info
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_SSID_MAX_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	16(%rbx), %rcx
	movq	(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.1:
	movl	16(%rcx), %edi
	leaq	-64(%rbp), %rcx
	leaq	-56(%rbp), %r8
	leaq	-52(%rbp), %r9
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	*%rax
	testl	%eax, %eax
	je	LBB0_8
## %bb.2:
	movl	-52(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movq	40(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	$0, 8(%rcx)
	testq	%r12, %r12
	je	LBB0_5
## %bb.4:
	movl	-52(%rbp), %edx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_p2p_prepare_channel
LBB0_5:
	movq	16(%rbx), %rax
	movq	8(%rax), %rsi
	movq	-64(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r13, %rdx
	callq	_p2p_buf_add_group_id
	cmpl	$0, -56(%rbp)
	jne	LBB0_6
## %bb.7:
	movq	%r14, %rdi
	movq	%r15, %rsi
	jmp	LBB0_13
LBB0_8:
	cmpl	$0, (%rbx)
	jne	LBB0_10
## %bb.9:
	movq	32(%rbx), %rsi
	leaq	8(%rbx), %rdx
	movq	%rbx, %rdi
	callq	_p2p_build_ssid
	movl	$1, (%rbx)
LBB0_10:
	movq	8(%rbx), %rcx
	movq	16(%rbx), %rax
	movq	8(%rax), %rsi
	movq	32(%rbx), %rdx
	movq	%r14, %rdi
	callq	_p2p_buf_add_group_id
	cmpl	$0, -56(%rbp)
	je	LBB0_11
LBB0_6:
	movq	24(%rbx), %rsi
LBB0_12:
	movq	%r14, %rdi
LBB0_13:
	callq	_p2p_buf_add_intended_addr
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	16(%rbx), %rax
	movq	8(%rax), %rsi
	jmp	LBB0_12
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_SSID_MAX_LEN,4,2               ## @SSID_MAX_LEN
	.no_dead_strip	_p2ps_add_new_group_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p2ps_add_new_group_info
_p2ps_add_new_group_info:               ; @p2ps_add_new_group_info
	.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, #32
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	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
Lloh8:
	adrp	x8, _SSID_MAX_LEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SSID_MAX_LEN@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x23, x9, x8
	mov	sp, x23
	ldr	x9, [x0, #16]
	ldr	x8, [x9]
	cbz	x8, LBB0_13
; %bb.1:
	ldr	w0, [x9, #16]
	sub	x3, x29, #64
	sub	x4, x29, #68
	sub	x5, x29, #72
	mov	x1, x21
	mov	x2, x23
	blr	x8
	cbz	w0, LBB0_7
; %bb.2:
	ldur	w8, [x29, #-72]
	cbz	w8, LBB0_5
; %bb.3:
	ldr	x9, [x20, #40]
	str	w8, [x9]
	str	xzr, [x9, #8]
	cbz	x22, LBB0_5
; %bb.4:
	ldur	w2, [x29, #-72]
	mov	x0, x20
	mov	x1, x22
	mov	w3, #0
	mov	w4, #0
	bl	_p2p_prepare_channel
LBB0_5:
	ldr	x8, [x20, #16]
	ldr	x1, [x8, #8]
	ldur	x3, [x29, #-64]
	mov	x0, x19
	mov	x2, x23
	bl	_p2p_buf_add_group_id
	ldur	w8, [x29, #-68]
	cbnz	w8, LBB0_10
; %bb.6:
	mov	x0, x19
	mov	x1, x21
	b	LBB0_12
LBB0_7:
	ldr	w8, [x20]
	cbnz	w8, LBB0_9
; %bb.8:
	ldr	x1, [x20, #32]
	add	x2, x20, #8
	mov	x0, x20
	bl	_p2p_build_ssid
	mov	w8, #1
	str	w8, [x20]
LBB0_9:
	ldp	x3, x8, [x20, #8]
	ldr	x1, [x8, #8]
	ldr	x2, [x20, #32]
	mov	x0, x19
	bl	_p2p_buf_add_group_id
	ldur	w8, [x29, #-68]
	cbz	w8, LBB0_15
LBB0_10:
	ldr	x1, [x20, #24]
LBB0_11:
	mov	x0, x19
LBB0_12:
	bl	_p2p_buf_add_intended_addr
LBB0_13:
	ldur	x8, [x29, #-56]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.14:
	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_15:
	ldr	x8, [x20, #16]
	ldr	x1, [x8, #8]
	b	LBB0_11
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_SSID_MAX_LEN,4,2               ; @SSID_MAX_LEN
	.no_dead_strip	_p2ps_add_new_group_info
.subsections_via_symbols
