	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_group_init                 ## -- Begin function p2p_group_init
	.p2align	4, 0x90
_p2p_group_init:                        ## @p2p_group_init
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	$24, %edi
	callq	_os_zalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movq	(%r15), %rdi
	movq	8(%r15), %rsi
	incq	%rsi
	movl	$8, %edx
	callq	_os_realloc_array
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	8(%r15), %rcx
	leaq	1(%rcx), %rdx
	movq	%rdx, 8(%r15)
	movq	%rbx, (%rax,%rcx,8)
	movq	%rax, (%r15)
	movq	%r15, 16(%rbx)
	movq	%r14, 8(%rbx)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	callq	_p2p_group_update_ies
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	*8(%rax)
	jmp	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	callq	_os_free
LBB0_5:
	xorl	%ebx, %ebx
LBB0_6:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_group_init                 ; -- Begin function p2p_group_init
	.p2align	2
_p2p_group_init:                        ; @p2p_group_init
	.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	x20, x1
	mov	x21, x0
	mov	w0, #24
	bl	_os_zalloc
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.1:
	ldp	x0, x8, [x21]
	add	x1, x8, #1
	mov	w2, #8
	bl	_os_realloc_array
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x8, [x21, #8]
	add	x9, x8, #1
	str	x19, [x0, x8, lsl #3]
	stp	x0, x9, [x21]
	stp	x20, x21, [x19, #8]
	movi.2s	v0, #1
	str	d0, [x19]
	mov	x0, x19
	bl	_p2p_group_update_ies
	ldr	x8, [x19, #8]
	ldr	x9, [x8, #8]
	ldr	w0, [x8]
	mov	w1, #1
	blr	x9
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_os_free
	mov	x19, #0
LBB0_4:
	mov	x0, 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
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
