	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xfrm_del_sa
_xfrm_del_sa:                           ## @xfrm_del_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	%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, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_sock_net
	movq	%rax, %r15
	movq	_ESRCH@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movl	%ecx, -44(%rbp)
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_nlmsg_data
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_NETLINK_CB
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_NETLINK_CB
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_NETLINK_CB
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	-44(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_xfrm_user_state_lookup
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %rbx
	shrq	$32, %r13
	movq	%rax, %rdi
	callq	_security_xfrm_state_delete
	movl	%eax, -44(%rbp)
	testl	%eax, %eax
	jne	LBB0_6
## %bb.2:
	movq	%rbx, %rdi
	callq	_xfrm_state_kern
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_EPERM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	movl	%eax, -44(%rbp)
	jmp	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	callq	_xfrm_state_delete
	movl	%eax, -44(%rbp)
	testl	%eax, %eax
	js	LBB0_6
## %bb.5:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	8(%rcx), %eax
	movl	%eax, -56(%rbp)
	movl	4(%rcx), %eax
	movl	%eax, -60(%rbp)
	movl	(%rcx), %eax
	movl	%eax, -64(%rbp)
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_km_state_notify
	movl	-44(%rbp), %eax
LBB0_6:
	xorl	%esi, %esi
	testl	%eax, %eax
	sete	%sil
	movq	%rbx, %rdi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	%r13d, %ecx
	movq	-80(%rbp), %r8                  ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_xfrm_audit_state_delete
	movq	%rbx, %rdi
	callq	_xfrm_state_put
LBB0_7:
	movl	-44(%rbp), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ESRCH,4,2                      ## @ESRCH
	.comm	_EPERM,4,2                      ## @EPERM
	.no_dead_strip	_xfrm_del_sa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xfrm_del_sa
_xfrm_del_sa:                           ; @xfrm_del_sa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	ldr	w0, [x0]
	bl	_sock_net
	mov	x24, x0
Lloh0:
	adrp	x8, _ESRCH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ESRCH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w8, w8
	str	w8, [sp, #12]
	mov	x0, x21
	bl	_nlmsg_data
	mov	x25, x0
	mov	x0, x20
	bl	_NETLINK_CB
	mov	x19, x1
	mov	x0, x20
	bl	_NETLINK_CB
	mov	x23, x0
	mov	x0, x20
	bl	_NETLINK_CB
	mov	x20, x0
	add	x3, sp, #12
	mov	x0, x24
	mov	x1, x25
	mov	x2, x22
	bl	_xfrm_user_state_lookup
	cbz	x0, LBB0_7
; %bb.1:
	mov	x22, x0
	lsr	x23, x23, #32
	bl	_security_xfrm_state_delete
	str	w0, [sp, #12]
	cbnz	w0, LBB0_6
; %bb.2:
	mov	x0, x22
	bl	_xfrm_state_kern
	cbz	x0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _EPERM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	str	w0, [sp, #12]
	b	LBB0_6
LBB0_4:
	mov	x0, x22
	bl	_xfrm_state_delete
	str	w0, [sp, #12]
	tbnz	w0, #31, LBB0_6
; %bb.5:
	ldr	w8, [x21, #8]
	str	w8, [sp, #8]
	ldr	d0, [x21]
	str	d0, [sp]
	mov	x1, sp
	mov	x0, x22
	bl	_km_state_notify
	ldr	w0, [sp, #12]
LBB0_6:
	cmp	w0, #0
	cset	w1, eq
	mov	x0, x22
	mov	x2, x19
	mov	x3, x23
	mov	x4, x20
	bl	_xfrm_audit_state_delete
	mov	x0, x22
	bl	_xfrm_state_put
LBB0_7:
	ldr	w0, [sp, #12]
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ESRCH,4,2                      ; @ESRCH
	.comm	_EPERM,4,2                      ; @EPERM
	.no_dead_strip	_xfrm_del_sa
.subsections_via_symbols
