	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_find_assoc_pmkid
_wpa_find_assoc_pmkid:                  ## @wpa_find_assoc_pmkid
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	4(%rdi), %edi
	leaq	-48(%rbp), %rsi
	callq	_wpa_sm_parse_own_wpa_ie
	testq	%rax, %rax
	js	LBB0_9
## %bb.1:
	movq	-40(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.2:
	leaq	L_.str.2(%rip), %r14
	cmpq	$0, -48(%rbp)
	je	LBB0_8
## %bb.3:
	movl	4(%r15), %edi
	movl	$0, (%rsp)
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_pmksa_cache_set_current
	testl	%eax, %eax
	je	LBB0_7
## %bb.4:
	movl	$1, %ebx
	movq	_PMKID_LEN@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	-48(%rbp), %rbx
	jae	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	4(%r15), %edi
	movq	(%r12), %rsi
	imulq	%rbx, %rsi
	shlq	$2, %rsi
	addq	-40(%rbp), %rsi
	movl	$0, (%rsp)
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_pmksa_cache_set_current
	incq	%rbx
	testl	%eax, %eax
	jne	LBB0_5
LBB0_7:
	movl	(%r15), %edi
	callq	_eapol_sm_notify_pmkid_attempt
	leaq	L_.str.1(%rip), %r14
LBB0_8:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movq	%r14, %rcx
	callq	_wpa_dbg
LBB0_9:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PMKID_LEN,8,3                  ## @PMKID_LEN
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RSN: PMKID from assoc IE %sfound from PMKSA cache"

L_.str.1:                               ## @.str.1
	.space	1

L_.str.2:                               ## @.str.2
	.asciz	"not "

	.no_dead_strip	_wpa_find_assoc_pmkid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpa_find_assoc_pmkid
_wpa_find_assoc_pmkid:                  ; @wpa_find_assoc_pmkid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	ldr	w0, [x0, #4]
	mov	x1, sp
	bl	_wpa_sm_parse_own_wpa_ie
	tbnz	x0, #63, LBB0_10
; %bb.1:
	ldr	x1, [sp, #8]
	cbz	x1, LBB0_10
; %bb.2:
	ldr	x8, [sp]
	cbz	x8, LBB0_8
; %bb.3:
	ldr	w0, [x19, #4]
	mov	x2, #0
	mov	x3, #0
	mov	w4, #0
	mov	x5, #0
	mov	w6, #0
	bl	_pmksa_cache_set_current
	cbz	w0, LBB0_7
; %bb.4:
	mov	w21, #1
Lloh0:
	adrp	x20, l_.str.2@PAGE
Lloh1:
	add	x20, x20, l_.str.2@PAGEOFF
Lloh2:
	adrp	x22, _PMKID_LEN@GOTPAGE
Lloh3:
	ldr	x22, [x22, _PMKID_LEN@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp]
	cmp	x21, x8
	b.hs	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #8]
	ldr	w0, [x19, #4]
	ldr	x9, [x22]
	mul	x9, x9, x21
	add	x1, x8, x9, lsl #2
	mov	x2, #0
	mov	x3, #0
	mov	w4, #0
	mov	x5, #0
	mov	w6, #0
	bl	_pmksa_cache_set_current
	add	x21, x21, #1
	cbnz	w0, LBB0_5
LBB0_7:
	ldr	w0, [x19]
	bl	_eapol_sm_notify_pmkid_attempt
Lloh4:
	adrp	x20, l_.str.1@PAGE
Lloh5:
	add	x20, x20, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_8:
Lloh6:
	adrp	x20, l_.str.2@PAGE
Lloh7:
	add	x20, x20, l_.str.2@PAGEOFF
LBB0_9:
Lloh8:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x2, l_.str@PAGE
Lloh12:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x3, x20
	bl	_wpa_dbg
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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_PMKID_LEN,8,3                  ; @PMKID_LEN
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RSN: PMKID from assoc IE %sfound from PMKSA cache"

l_.str.1:                               ; @.str.1
	.space	1

l_.str.2:                               ; @.str.2
	.asciz	"not "

	.no_dead_strip	_wpa_find_assoc_pmkid
.subsections_via_symbols
