	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_p2p_get_persistent        ## -- Begin function wpas_p2p_get_persistent
	.p2align	4, 0x90
_wpas_p2p_get_persistent:               ## @wpas_p2p_get_persistent
	.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	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.1:
	movq	%rdx, %r15
	movq	%rsi, %r12
	jmp	LBB0_2
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rax
	movq	_WPAS_MODE_P2P_GO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_18
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	56(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_16 Depth 2
	cmpl	$2, (%rbx)
	jne	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%r15, %r15
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, 8(%rbx)
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	48(%rbx), %rsi
	movq	%r15, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_os_memcmp
	testq	%rax, %rax
	jne	LBB0_8
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%r12, %r12
	je	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	40(%rbx), %rdi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r12, %rsi
	callq	_os_memcmp
	testq	%rax, %rax
	je	LBB0_18
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rax
	movq	_WPAS_MODE_P2P_GO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 24(%rbx)
	je	LBB0_8
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r12, %rsi
	callq	_os_memcmp
	testq	%rax, %rax
	je	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$2, %edi
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incq	%r13
	cmpq	24(%rbx), %r13
	jae	LBB0_8
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=2
	leaq	2(%rdi), %r14
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	imulq	%rdx, %rdi
	shlq	$2, %rdi
	addq	32(%rbx), %rdi
	movq	%r12, %rsi
	callq	_os_memcmp
	movq	%r14, %rdi
	testq	%rax, %rax
	jne	LBB0_16
	jmp	LBB0_18
LBB0_9:
	xorl	%ebx, %ebx
LBB0_18:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WPAS_MODE_P2P_GO,8,3           ## @WPAS_MODE_P2P_GO
	.comm	_ETH_ALEN,8,3                   ## @ETH_ALEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_p2p_get_persistent        ; -- Begin function wpas_p2p_get_persistent
	.p2align	2
_wpas_p2p_get_persistent:               ; @wpas_p2p_get_persistent
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x8, [x0]
	ldr	x19, [x8]
	cbz	x19, LBB0_17
; %bb.1:
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
Lloh0:
	adrp	x23, _WPAS_MODE_P2P_GO@GOTPAGE
Lloh1:
	ldr	x23, [x23, _WPAS_MODE_P2P_GO@GOTPAGEOFF]
Lloh2:
	adrp	x24, _ETH_ALEN@GOTPAGE
Lloh3:
	ldr	x24, [x24, _ETH_ALEN@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #16]
	ldr	x9, [x23]
	cmp	x8, x9
	b.eq	LBB0_17
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x19, [x19, #56]
	cbz	x19, LBB0_17
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
	ldr	w8, [x19]
	cmp	w8, #2
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	x21, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	cmp	x8, x20
	b.ne	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x19, #48]
	mov	x0, x21
	mov	x2, x20
	bl	_os_memcmp
	cbnz	x0, LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbz	x22, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19, #40]
	ldr	x2, [x24]
	mov	x1, x22
	bl	_os_memcmp
	cbz	x0, LBB0_17
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #16]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_3
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x2, [x24]
	mov	x1, x22
	bl	_os_memcmp
	cbz	x0, LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, #0
	mov	w8, #2
LBB0_15:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x25, x25, #1
	ldr	x9, [x19, #24]
	cmp	x25, x9
	b.hs	LBB0_3
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	add	x26, x8, #2
	ldr	x9, [x19, #32]
	ldr	x2, [x24]
	mul	x8, x8, x2
	add	x0, x9, x8, lsl #2
	mov	x1, x22
	bl	_os_memcmp
	mov	x8, x26
	cbnz	x0, LBB0_15
LBB0_17:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_WPAS_MODE_P2P_GO,8,3           ; @WPAS_MODE_P2P_GO
	.comm	_ETH_ALEN,8,3                   ; @ETH_ALEN
.subsections_via_symbols
