	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pfkey_spdflush
_pfkey_spdflush:                        ## @pfkey_spdflush
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rdi, %r12
	callq	_sock_net
	movq	%rax, %r14
	movq	_current@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_audit_get_loginuid
	movl	%eax, -44(%rbp)
	movl	(%rbx), %edi
	callq	_audit_get_sessionid
	movl	%eax, -48(%rbp)
	movq	$0, -56(%rbp)
	movq	_XFRM_POLICY_TYPE_MAIN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-56(%rbp), %rdx
	movq	%r14, %rdi
	callq	_xfrm_policy_flush
	movl	%eax, %r13d
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_unicast_flush_resp
	orl	%r13d, %eax
	je	LBB0_2
## %bb.1:
	movq	_ESRCH@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	movl	(%rax), %eax
	addl	%r13d, %eax
	cmovnel	%r13d, %ebx
	jmp	LBB0_3
LBB0_2:
	movl	(%rbx), %eax
	movl	%eax, -60(%rbp)
	movq	_XFRM_MSG_FLUSHPOLICY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movl	4(%r15), %eax
	movl	%eax, -68(%rbp)
	movl	(%r15), %eax
	movl	%eax, -72(%rbp)
	movq	%r14, -80(%rbp)
	xorl	%ebx, %ebx
	leaq	-80(%rbp), %rdx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_km_policy_notify
LBB0_3:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current,4,2                    ## @current
	.comm	_XFRM_POLICY_TYPE_MAIN,4,2      ## @XFRM_POLICY_TYPE_MAIN
	.comm	_ESRCH,4,2                      ## @ESRCH
	.comm	_XFRM_MSG_FLUSHPOLICY,4,2       ## @XFRM_MSG_FLUSHPOLICY
	.no_dead_strip	_pfkey_spdflush
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pfkey_spdflush
_pfkey_spdflush:                        ; @pfkey_spdflush
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x19, x2
	mov	x22, x0
	bl	_sock_net
	mov	x20, x0
Lloh0:
	adrp	x21, _current@GOTPAGE
Lloh1:
	ldr	x21, [x21, _current@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_audit_get_loginuid
	str	w0, [sp, #20]
	ldr	w0, [x21]
	bl	_audit_get_sessionid
	str	w0, [sp, #16]
	str	xzr, [sp, #8]
Lloh2:
	adrp	x23, _XFRM_POLICY_TYPE_MAIN@GOTPAGE
Lloh3:
	ldr	x23, [x23, _XFRM_POLICY_TYPE_MAIN@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x2, sp, #8
	mov	x0, x20
	bl	_xfrm_policy_flush
	mov	x21, x0
	mov	x0, x22
	mov	x1, x19
	bl	_unicast_flush_resp
	orr	w8, w21, w0
	cbz	w8, LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _ESRCH@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ESRCH@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmn	w21, w8
	csel	w0, wzr, w21, eq
	b	LBB0_3
LBB0_2:
	ldr	w8, [x23]
Lloh7:
	adrp	x9, _XFRM_MSG_FLUSHPOLICY@GOTPAGE
Lloh8:
	ldr	x9, [x9, _XFRM_MSG_FLUSHPOLICY@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #40]
	ldr	d0, [x19]
	str	d0, [sp, #32]
	str	x20, [sp, #24]
	add	x2, sp, #24
	mov	x0, #0
	mov	w1, #0
	bl	_km_policy_notify
	mov	w0, #0
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
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_current,4,2                    ; @current
	.comm	_XFRM_POLICY_TYPE_MAIN,4,2      ; @XFRM_POLICY_TYPE_MAIN
	.comm	_ESRCH,4,2                      ; @ESRCH
	.comm	_XFRM_MSG_FLUSHPOLICY,4,2       ; @XFRM_MSG_FLUSHPOLICY
	.no_dead_strip	_pfkey_spdflush
.subsections_via_symbols
