	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_driver_ndis_flush_pmkid
_wpa_driver_ndis_flush_pmkid:           ## @wpa_driver_ndis_flush_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	%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
	cmpq	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r13
	movq	8(%rdi), %rdi
	movq	$0, 8(%r13)
	testq	%rdi, %rdi
	je	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi), %rbx
	callq	_os_free
	movq	%rbx, %rdi
	testq	%rbx, %rbx
	jne	LBB0_3
LBB0_4:
	movq	%r13, %rdi
	callq	_ndis_get_auth_mode
	movl	%eax, %r14d
	movq	_Ndis802_11AuthModeWPA2@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	cmpl	%esi, %eax
	je	LBB0_6
## %bb.5:
	movq	%r13, %rdi
	callq	_ndis_set_auth_mode
LBB0_6:
	leaq	-56(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_os_memset
	movl	$8, -56(%rbp)
	movq	$0, -48(%rbp)
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	movl	$8, %ecx
	callq	_wpa_hexdump
	movq	_OID_802_11_PMKID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movq	%r15, %rdx
	movl	$8, %ecx
	callq	_ndis_set_oid
	movl	%eax, %r15d
	cmpl	(%r12), %r14d
	je	LBB0_8
## %bb.7:
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_ndis_set_auth_mode
	jmp	LBB0_8
LBB0_1:
	xorl	%r15d, %r15d
LBB0_8:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Ndis802_11AuthModeWPA2,4,2     ## @Ndis802_11AuthModeWPA2
	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NDIS: OID_802_11_PMKID (flush)"

	.comm	_OID_802_11_PMKID,4,2           ## @OID_802_11_PMKID
	.no_dead_strip	_wpa_driver_ndis_flush_pmkid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpa_driver_ndis_flush_pmkid
_wpa_driver_ndis_flush_pmkid:           ; @wpa_driver_ndis_flush_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
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.1:
	mov	x19, x0
	ldr	x0, [x0, #8]
	str	xzr, [x19, #8]
	cbz	x0, LBB0_3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x20, [x0]
	bl	_os_free
	mov	x0, x20
	cbnz	x20, LBB0_2
LBB0_3:
	mov	x0, x19
	bl	_ndis_get_auth_mode
	mov	x20, x0
Lloh0:
	adrp	x22, _Ndis802_11AuthModeWPA2@GOTPAGE
Lloh1:
	ldr	x22, [x22, _Ndis802_11AuthModeWPA2@GOTPAGEOFF]
	ldr	w1, [x22]
	cmp	w0, w1
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_ndis_set_auth_mode
LBB0_5:
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_os_memset
	mov	w8, #8
	str	w8, [sp]
	str	xzr, [sp, #8]
Lloh2:
	adrp	x8, _MSG_MSGDUMP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MSG_MSGDUMP@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, sp
	mov	w3, #8
	bl	_wpa_hexdump
Lloh7:
	adrp	x8, _OID_802_11_PMKID@GOTPAGE
Lloh8:
	ldr	x8, [x8, _OID_802_11_PMKID@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x2, sp
	mov	x0, x19
	mov	w3, #8
	bl	_ndis_set_oid
	mov	x21, x0
	ldr	w8, [x22]
	cmp	w20, w8
	b.eq	LBB0_8
; %bb.6:
	mov	x0, x19
	mov	x1, x20
	bl	_ndis_set_auth_mode
	b	LBB0_8
LBB0_7:
	mov	w21, #0
LBB0_8:
	mov	x0, x21
	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	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_Ndis802_11AuthModeWPA2,4,2     ; @Ndis802_11AuthModeWPA2
	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NDIS: OID_802_11_PMKID (flush)"

	.comm	_OID_802_11_PMKID,4,2           ; @OID_802_11_PMKID
	.no_dead_strip	_wpa_driver_ndis_flush_pmkid
.subsections_via_symbols
