	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_auth_pmksa_add2            ## -- Begin function wpa_auth_pmksa_add2
	.p2align	4, 0x90
_wpa_auth_pmksa_add2:                   ## @wpa_auth_pmksa_add2
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r9d killed $r9d def $r9
	movl	$-1, %ebx
	cmpq	$0, 8(%rdi)
	jne	LBB0_2
## %bb.1:
	movq	%r8, %r12
	movq	%rcx, %r13
	movq	%rdx, %r14
	movq	%rdi, %r15
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PMK_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rsi
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	callq	_wpa_hexdump_key
	movl	(%r15), %r10d
	movl	4(%r15), %edi
	subq	$8, %rsp
	xorl	%ebx, %ebx
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	movl	16(%rbp), %eax
	pushq	%rax
	pushq	$0
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	%r10
	callq	_pmksa_cache_auth_add
	addq	$48, %rsp
	cmpq	$1, %rax
	sbbl	%ebx, %ebx
LBB0_2:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RSN: Cache PMK (2)"

	.comm	_PMK_LEN,4,2                    ## @PMK_LEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_auth_pmksa_add2            ; -- Begin function wpa_auth_pmksa_add2
	.p2align	2
_wpa_auth_pmksa_add2:                   ; @wpa_auth_pmksa_add2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w0, #-1
	b	LBB0_3
LBB0_2:
	mov	x24, x6
	mov	x23, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x25, x0
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _PMK_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PMK_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_hexdump_key
	ldp	w6, w0, [x25]
	str	w24, [sp, #16]
	str	xzr, [sp, #8]
	str	w23, [sp]
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, #0
	mov	w5, #0
	mov	x7, x19
	bl	_pmksa_cache_auth_add
	cmp	x0, #0
	csetm	w0, eq
LBB0_3:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RSN: Cache PMK (2)"

	.comm	_PMK_LEN,4,2                    ; @PMK_LEN
.subsections_via_symbols
