	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xfrm_add_sa_expire
_xfrm_add_sa_expire:                    ## @xfrm_add_sa_expire
	.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
	pushq	%rax
	.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, %rbx
	movq	%rdi, %r15
	movl	(%rdi), %edi
	callq	_sock_net
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_nlmsg_data
	movq	%rax, %rbx
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_xfrm_mark_get
	leaq	20(%rbx), %rdx
	movl	16(%rbx), %ecx
	movl	8(%rbx), %r9d
	movl	12(%rbx), %r8d
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_xfrm_state_lookup_with_mark
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_spin_lock_bh
	xorl	%r14d, %r14d
	movq	8(%r12), %rax
	movq	_XFRM_STATE_VALID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.4:
	movq	(%rbx), %rsi
	movq	_current@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_km_state_expired
	cmpq	$0, (%rbx)
	je	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	callq	_NETLINK_CB
	movl	%edx, %r13d
	movq	%r15, %rdi
	callq	_NETLINK_CB
	movq	%rax, %rbx
	shrq	$32, %rbx
	movq	%r15, %rdi
	callq	_NETLINK_CB
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	___xfrm_state_delete
	movq	%r12, %rdi
	movl	$1, %esi
	movl	%r13d, %edx
	movl	%ebx, %ecx
	movl	%r15d, %r8d
	callq	_xfrm_audit_state_delete
	jmp	LBB0_6
LBB0_1:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_7
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
LBB0_6:
	movq	%r12, %rdi
	callq	_spin_unlock_bh
	movq	%r12, %rdi
	callq	_xfrm_state_put
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_XFRM_STATE_VALID,8,3           ## @XFRM_STATE_VALID
	.comm	_current,8,3                    ## @current
	.no_dead_strip	_xfrm_add_sa_expire
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xfrm_add_sa_expire
_xfrm_add_sa_expire:                    ; @xfrm_add_sa_expire
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x21, x1
	mov	x20, x0
	ldr	w0, [x0]
	bl	_sock_net
	mov	x22, x0
	mov	x0, x21
	bl	_nlmsg_data
	mov	x21, x0
	add	x1, sp, #8
	mov	x0, x19
	bl	_xfrm_mark_get
	mov	x1, x0
	add	x2, x21, #20
	ldp	w4, w3, [x21, #12]
	ldr	w5, [x21, #8]
	mov	x0, x22
	bl	_xfrm_state_lookup_with_mark
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	bl	_spin_lock_bh
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _XFRM_STATE_VALID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XFRM_STATE_VALID@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.2:
	ldr	x1, [x21]
Lloh3:
	adrp	x8, _current@GOTPAGE
Lloh4:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	w2, [x8]
	mov	x0, x19
	bl	_km_state_expired
	ldr	x8, [x21]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_NETLINK_CB
	mov	x21, x1
	mov	x0, x20
	bl	_NETLINK_CB
	lsr	x22, x0, #32
	mov	x0, x20
	bl	_NETLINK_CB
	mov	x20, x0
	mov	x0, x19
	bl	___xfrm_state_delete
	mov	x0, x19
	mov	w1, #1
	mov	x2, x21
	mov	x3, x22
	mov	x4, x20
	bl	_xfrm_audit_state_delete
LBB0_4:
	mov	w20, #0
	b	LBB0_7
LBB0_5:
Lloh6:
	adrp	x8, _ENOENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_8
LBB0_6:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_7:
	mov	x0, x19
	bl	_spin_unlock_bh
	mov	x0, x19
	bl	_xfrm_state_put
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_XFRM_STATE_VALID,8,3           ; @XFRM_STATE_VALID
	.comm	_current,8,3                    ; @current
	.no_dead_strip	_xfrm_add_sa_expire
.subsections_via_symbols
