	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_group_deinit               ## -- Begin function p2p_group_deinit
	.p2align	4, 0x90
_p2p_group_deinit:                      ## @p2p_group_deinit
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r9
	movq	(%r9), %rcx
	testq	%rcx, %rcx
	je	LBB0_15
## %bb.2:
	movq	8(%r9), %rax
	leal	2(%rcx), %edi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%rsi), %rdx
	cmpq	%rbx, (%rax,%rsi,8)
	je	LBB0_4
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	addb	$3, %dil
	movq	%rdx, %rsi
	cmpq	%rdx, %rcx
	jne	LBB0_3
	jmp	LBB0_15
LBB0_16:
	retq
LBB0_4:
	leaq	1(%rsi), %r10
	cmpq	%rcx, %r10
	jae	LBB0_13
## %bb.5:
	movq	(%rax,%rdx,8), %rdx
	movq	%rdx, (%rax,%rsi,8)
	leaq	-2(%rcx), %rax
	cmpq	%rsi, %rax
	je	LBB0_13
## %bb.6:
	movq	%rcx, %r8
	subq	%rsi, %r8
	addq	$2, %rsi
	leal	2(%r8), %eax
	addq	$-3, %r8
	testb	$3, %al
	je	LBB0_10
## %bb.7:
	movzbl	%dil, %eax
	andl	$3, %eax
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r9), %rdx
	movq	(%rdx,%rsi,8), %rdi
	movq	%rdi, -8(%rdx,%rsi,8)
	incq	%rsi
	decq	%rax
	jne	LBB0_8
## %bb.9:
	leaq	-1(%rsi), %r10
LBB0_10:
	cmpq	$3, %r8
	jb	LBB0_13
## %bb.11:
	movq	%rcx, %rax
	negq	%rax
	addq	$3, %rsi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r9), %rdx
	movq	-24(%rdx,%rsi,8), %rdi
	movq	%rdi, (%rdx,%r10,8)
	movq	8(%r9), %rdx
	movq	-16(%rdx,%rsi,8), %rdi
	movq	%rdi, -24(%rdx,%rsi,8)
	movq	8(%r9), %rdx
	movq	-8(%rdx,%rsi,8), %rdi
	movq	%rdi, -16(%rdx,%rsi,8)
	movq	8(%r9), %rdx
	movq	(%rdx,%rsi,8), %rdi
	movq	%rdi, -8(%rdx,%rsi,8)
	leaq	(%rax,%rsi), %rdx
	addq	$4, %rdx
	movq	%rsi, %r10
	addq	$4, %rsi
	cmpq	$3, %rdx
	jne	LBB0_12
LBB0_13:
	decq	%rcx
	movq	%rcx, (%r9)
LBB0_15:
	movq	%rbx, %rdi
	callq	_p2p_group_free_members
	movq	8(%rbx), %rdi
	callq	_os_free
	movl	4(%rbx), %edi
	callq	_wpabuf_free
	movl	(%rbx), %edi
	callq	_wpabuf_free
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_os_free                        ## TAILCALL
	.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_deinit               ; -- Begin function p2p_group_deinit
	.p2align	2
_p2p_group_deinit:                      ; @p2p_group_deinit
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_5
; %bb.1:
	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
	.cfi_remember_state
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	x9, [x8]
	cbz	x9, LBB0_10
; %bb.2:
	mov	x10, #0
	ldr	x11, [x8, #8]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x11]
	add	x12, x10, #1
	cmp	x13, x19
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x11, x11, #8
	mov	x10, x12
	cmp	x9, x12
	b.ne	LBB0_3
	b	LBB0_10
LBB0_5:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	ret
LBB0_6:
	.cfi_restore_state
	cmp	x12, x9
	b.hs	LBB0_9
; %bb.7:
	ldr	x12, [x11, #8]
	str	x12, [x11]
	sub	x11, x9, #2
	cmp	x11, x10
	b.eq	LBB0_9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x8, #8]
	add	x12, x12, x10, lsl #3
	ldr	x13, [x12, #16]
	str	x13, [x12, #8]
	add	x10, x10, #1
	cmp	x11, x10
	b.ne	LBB0_8
LBB0_9:
	sub	x9, x9, #1
	str	x9, [x8]
LBB0_10:
	mov	x0, x19
	bl	_p2p_group_free_members
	ldr	x0, [x19, #8]
	bl	_os_free
	ldr	w0, [x19, #4]
	bl	_wpabuf_free
	ldr	w0, [x19]
	bl	_wpabuf_free
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_os_free
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
