	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_driver_ndis_remove_pmkid
_wpa_driver_ndis_remove_pmkid:          ## @wpa_driver_ndis_remove_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
	movq	8(%rsi), %r12
	movl	$-1, %eax
	testq	%r12, %r12
	je	LBB0_4
## %bb.1:
	movq	(%rsi), %r15
	testq	%r15, %r15
	je	LBB0_4
## %bb.2:
	cmpq	$0, (%rdi)
	je	LBB0_3
## %bb.5:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addq	$8, %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movq	_ETH_ALEN@GOTPCREL(%rip), %r14
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rbx), %rax
	movq	%rbx, %r13
	testq	%rax, %rax
	je	LBB0_11
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	movl	12(%rax), %edi
	movl	(%r14), %edx
	movq	%r12, %rsi
	callq	_os_memcmp
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	8(%rbx), %edi
	movq	%r15, %rsi
	movl	$16, %edx
	callq	_os_memcmp
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	testq	%r13, %r13
	movq	(%rbx), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmovneq	%r13, %rcx
	movq	%rax, (%rcx)
	movq	%rbx, %rdi
	callq	_os_free
LBB0_11:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_driver_ndis_set_pmkid      ## TAILCALL
LBB0_3:
	xorl	%eax, %eax
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.no_dead_strip	_wpa_driver_ndis_remove_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_remove_pmkid
_wpa_driver_ndis_remove_pmkid:          ; @wpa_driver_ndis_remove_pmkid
	.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
	ldp	x21, x20, [x1]
	cmp	x20, #0
	ccmp	x21, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #-1
	b	LBB0_11
LBB0_2:
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_10
; %bb.3:
	mov	x23, x19
	ldr	x8, [x23, #8]!
	cbz	x8, LBB0_9
; %bb.4:
	mov	x24, #0
Lloh0:
	adrp	x25, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x25, [x25, _ETH_ALEN@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x22]
	mov	x24, x22
	cbz	x8, LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x22, x8
	ldr	w0, [x8, #12]
	ldr	w2, [x25]
	mov	x1, x20
	bl	_os_memcmp
	cbnz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x22, #8]
	mov	x1, x21
	mov	w2, #16
	bl	_os_memcmp
	cbnz	x0, LBB0_5
; %bb.8:
	ldr	x8, [x22]
	cmp	x24, #0
	csel	x9, x23, x24, eq
	str	x8, [x9]
	mov	x0, x22
	bl	_os_free
LBB0_9:
	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
	b	_wpa_driver_ndis_set_pmkid
LBB0_10:
	mov	w0, #0
LBB0_11:
	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	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.no_dead_strip	_wpa_driver_ndis_remove_pmkid
.subsections_via_symbols
