	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpas_get_persistent_group
_wpas_get_persistent_group:             ## @wpas_get_persistent_group
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movq	%r8, %r12
	movq	%rdi, %r13
	callq	_wpas_p2p_get_persistent
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %rbx
	movl	20(%rax), %esi
	movq	(%rax), %rdx
	movq	%r15, %rdi
	callq	_os_memcpy
	movq	(%rbx), %rax
	movq	16(%rbp), %rcx
	movq	%rax, (%rcx)
	movl	16(%rbx), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %r15
	movq	(%r15), %rdx
	movq	%r12, %rdi
	callq	_os_memcpy
	movq	8(%rbx), %rax
	movq	_WPAS_MODE_P2P_GO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.3:
	movq	24(%rbp), %rbx
	movq	%r13, %rdi
	callq	_wpas_p2p_create_iface
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	_WPA_IF_P2P_GO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_wpas_p2p_add_group_interface
	testq	%rax, %rax
	jne	LBB0_9
## %bb.5:
	movl	4(%r13), %esi
	jmp	LBB0_7
LBB0_2:
	movq	(%r15), %rdx
	movq	24(%rbp), %rdi
	xorl	%esi, %esi
	callq	_os_memset
	jmp	LBB0_8
LBB0_6:
	movl	(%r13), %esi
LBB0_7:
	movq	(%r15), %rdx
	movq	%rbx, %rdi
	callq	_os_memcpy
LBB0_8:
	movl	$1, %r14d
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,8,3                   ## @ETH_ALEN
	.comm	_WPAS_MODE_P2P_GO,8,3           ## @WPAS_MODE_P2P_GO
	.comm	_WPA_IF_P2P_GO,4,2              ## @WPA_IF_P2P_GO
	.no_dead_strip	_wpas_get_persistent_group
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpas_get_persistent_group
_wpas_get_persistent_group:             ; @wpas_get_persistent_group
	.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
	mov	x19, x7
	mov	x22, x6
	mov	x24, x5
	mov	x21, x4
	mov	x20, x0
	bl	_wpas_p2p_get_persistent
	cbz	x0, LBB0_10
; %bb.1:
	mov	x23, x0
	ldr	w1, [x0, #20]
	ldr	x2, [x0]
	mov	x0, x24
	bl	_os_memcpy
	ldr	x8, [x23]
	str	x8, [x22]
	ldr	w1, [x23, #16]
Lloh0:
	adrp	x22, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ETH_ALEN@GOTPAGEOFF]
	ldr	x2, [x22]
	mov	x0, x21
	bl	_os_memcpy
	ldr	x8, [x23, #8]
Lloh2:
	adrp	x9, _WPAS_MODE_P2P_GO@GOTPAGE
Lloh3:
	ldr	x9, [x9, _WPAS_MODE_P2P_GO@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x20
	bl	_wpas_p2p_create_iface
	cbz	x0, LBB0_6
; %bb.3:
Lloh5:
	adrp	x8, _WPA_IF_P2P_GO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WPA_IF_P2P_GO@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_wpas_p2p_add_group_interface
	cbz	x0, LBB0_7
; %bb.4:
	mov	w0, #0
	b	LBB0_10
LBB0_5:
	ldr	x2, [x22]
	mov	x0, x19
	mov	w1, #0
	bl	_os_memset
	b	LBB0_9
LBB0_6:
	ldr	w1, [x20]
	b	LBB0_8
LBB0_7:
	ldr	w1, [x20, #4]
LBB0_8:
	ldr	x2, [x22]
	mov	x0, x19
	bl	_os_memcpy
LBB0_9:
	mov	w0, #1
LBB0_10:
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,8,3                   ; @ETH_ALEN
	.comm	_WPAS_MODE_P2P_GO,8,3           ; @WPAS_MODE_P2P_GO
	.comm	_WPA_IF_P2P_GO,4,2              ; @WPA_IF_P2P_GO
	.no_dead_strip	_wpas_get_persistent_group
.subsections_via_symbols
