	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xfrm_flush_sa
_xfrm_flush_sa:                         ## @xfrm_flush_sa
	.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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_sock_net
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_nlmsg_data
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_NETLINK_CB
	movl	%edx, -40(%rbp)
	movq	%rbx, %rdi
	callq	_NETLINK_CB
	shrq	$32, %rax
	movl	%eax, -44(%rbp)
	movq	%rbx, %rdi
	callq	_NETLINK_CB
	movl	%eax, -48(%rbp)
	movl	(%r15), %esi
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	callq	_xfrm_state_flush
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_ESRCH@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	cmovnel	%eax, %ebx
	jmp	LBB0_3
LBB0_2:
	movl	(%r15), %eax
	movl	%eax, -52(%rbp)
	movl	8(%r12), %eax
	movl	%eax, -56(%rbp)
	movl	4(%r12), %eax
	movl	%eax, -60(%rbp)
	movl	(%r12), %eax
	movl	%eax, -64(%rbp)
	movq	%r14, -72(%rbp)
	xorl	%ebx, %ebx
	leaq	-72(%rbp), %rsi
	xorl	%edi, %edi
	callq	_km_state_notify
LBB0_3:
	movl	%ebx, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ESRCH,4,2                      ## @ESRCH
	.no_dead_strip	_xfrm_flush_sa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xfrm_flush_sa
_xfrm_flush_sa:                         ; @xfrm_flush_sa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x1
	mov	x22, x0
	ldr	w0, [x0]
	bl	_sock_net
	mov	x20, x0
	mov	x0, x19
	bl	_nlmsg_data
	mov	x21, x0
	mov	x0, x22
	bl	_NETLINK_CB
	str	w1, [sp, #16]
	mov	x0, x22
	bl	_NETLINK_CB
	lsr	x8, x0, #32
	str	w8, [sp, #12]
	mov	x0, x22
	bl	_NETLINK_CB
	str	w0, [sp, #8]
	ldr	w1, [x21]
	add	x2, sp, #8
	mov	x0, x20
	bl	_xfrm_state_flush
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ESRCH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ESRCH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmn	w0, w8
	csel	w0, wzr, w0, eq
	b	LBB0_3
LBB0_2:
	ldr	w8, [x21]
	ldr	w9, [x19, #8]
	stp	w9, w8, [sp, #40]
	ldr	d0, [x19]
	str	d0, [sp, #32]
	str	x20, [sp, #24]
	add	x1, sp, #24
	mov	x0, #0
	bl	_km_state_notify
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ESRCH,4,2                      ; @ESRCH
	.no_dead_strip	_xfrm_flush_sa
.subsections_via_symbols
