	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipsec_invalidate_cache
_ipsec_invalidate_cache:                ## @ipsec_invalidate_cache
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_INP_WLOCK_ASSERT
	movq	_IPSEC_DIR_OUTBOUND@GOTPCREL(%rip), %rdx
	movq	(%rbx), %rax
	movl	(%rax), %ecx
	cmpq	%r14, (%rdx)
	jne	LBB0_3
## %bb.1:
	movq	_INP_INBOUND_POLICY@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	jne	LBB0_7
## %bb.2:
	addq	$16, %rax
	jmp	LBB0_5
LBB0_3:
	movq	_INP_OUTBOUND_POLICY@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	jne	LBB0_7
## %bb.4:
	addq	$8, %rax
LBB0_5:
	movq	(%rax), %rcx
	movq	%rcx, -24(%rbp)
	movq	$0, (%rax)
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.6:
	leaq	-24(%rbp), %rdi
	callq	_key_freesp
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPSEC_DIR_OUTBOUND,8,3         ## @IPSEC_DIR_OUTBOUND
	.comm	_INP_INBOUND_POLICY,4,2         ## @INP_INBOUND_POLICY
	.comm	_INP_OUTBOUND_POLICY,4,2        ## @INP_OUTBOUND_POLICY
	.no_dead_strip	_ipsec_invalidate_cache
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipsec_invalidate_cache
_ipsec_invalidate_cache:                ; @ipsec_invalidate_cache
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	bl	_INP_WLOCK_ASSERT
Lloh0:
	adrp	x8, _IPSEC_DIR_OUTBOUND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPSEC_DIR_OUTBOUND@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x8]
	ldr	x8, [x20]
	ldr	w9, [x8]
	cmp	x10, x19
	b.ne	LBB0_3
; %bb.1:
Lloh3:
	adrp	x10, _INP_INBOUND_POLICY@GOTPAGE
Lloh4:
	ldr	x10, [x10, _INP_INBOUND_POLICY@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_7
; %bb.2:
	add	x8, x8, #16
	b	LBB0_5
LBB0_3:
Lloh6:
	adrp	x10, _INP_OUTBOUND_POLICY@GOTPAGE
Lloh7:
	ldr	x10, [x10, _INP_OUTBOUND_POLICY@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_7
; %bb.4:
	add	x8, x8, #8
LBB0_5:
	ldr	x9, [x8]
	str	x9, [sp, #8]
	str	xzr, [x8]
	cbz	x9, LBB0_7
; %bb.6:
	add	x0, sp, #8
	bl	_key_freesp
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IPSEC_DIR_OUTBOUND,8,3         ; @IPSEC_DIR_OUTBOUND
	.comm	_INP_INBOUND_POLICY,4,2         ; @INP_INBOUND_POLICY
	.comm	_INP_OUTBOUND_POLICY,4,2        ; @INP_OUTBOUND_POLICY
	.no_dead_strip	_ipsec_invalidate_cache
.subsections_via_symbols
