	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpas_p2p_deinit_global
_wpas_p2p_deinit_global:                ## @wpas_p2p_deinit_global
	.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	%rdi, %r14
	movq	(%rdi), %rdi
	movq	16(%r14), %rbx
	callq	_wpas_p2p_service_flush
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.1:
	movq	_NOT_P2P_GROUP_INTERFACE@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, (%rbx)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
LBB0_10:
	movq	16(%r14), %rbx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	16(%rbx), %rbx
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpq	$0, 8(%rbx)
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%rbx, %rdi
	callq	_wpas_p2p_group_deinit
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r15), %rax
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=2
	movq	16(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rbx, %rdi
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	cmpq	%rax, (%rdi)
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	callq	_wpas_p2p_disconnect
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	16(%r14), %rdi
	testq	%rdi, %rdi
	jne	LBB0_6
LBB0_15:
	movq	8(%r14), %rdi
	callq	_p2p_deinit
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NOT_P2P_GROUP_INTERFACE,8,3    ## @NOT_P2P_GROUP_INTERFACE
	.no_dead_strip	_wpas_p2p_deinit_global
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpas_p2p_deinit_global
_wpas_p2p_deinit_global:                ; @wpas_p2p_deinit_global
	.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, x0
	ldr	x20, [x0, #16]
	ldr	x0, [x0]
	bl	_wpas_p2p_service_flush
	cbz	x20, LBB0_4
; %bb.1:
Lloh0:
	adrp	x21, _NOT_P2P_GROUP_INTERFACE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _NOT_P2P_GROUP_INTERFACE@GOTPAGEOFF]
	ldr	x8, [x21]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20]
	cmp	x9, x8
	b.eq	LBB0_13
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x20, [x20, #16]
	cbnz	x20, LBB0_2
LBB0_4:
	ldr	x20, [x19, #16]
	cbnz	x20, LBB0_6
	b	LBB0_14
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x20, [x20, #16]
	cbz	x20, LBB0_14
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_wpas_p2p_group_deinit
	b	LBB0_5
LBB0_8:                                 ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x21]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	ldr	x0, [x0, #16]
	cbz	x0, LBB0_4
LBB0_10:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x0, x20
	b.eq	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	x9, [x0]
	cmp	x9, x8
	b.eq	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_13 Depth=1
	bl	_wpas_p2p_disconnect
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldr	x0, [x19, #16]
	cbnz	x0, LBB0_8
LBB0_14:
	ldr	x0, [x19, #8]
	bl	_p2p_deinit
	stp	xzr, xzr, [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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NOT_P2P_GROUP_INTERFACE,8,3    ; @NOT_P2P_GROUP_INTERFACE
	.no_dead_strip	_wpas_p2p_deinit_global
.subsections_via_symbols
