	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xfrm_add_pol_expire
_xfrm_add_pol_expire:                   ## @xfrm_add_pol_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
	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, %rbx
	movq	%rdi, %r13
	movl	(%rdi), %edi
	callq	_sock_net
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_nlmsg_data
	movq	%rax, %rbx
	movq	_XFRM_POLICY_TYPE_MAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	leaq	-72(%rbp), %rsi
	movq	%r14, %rdi
	callq	_xfrm_mark_get
	movl	%eax, %r12d
	leaq	-48(%rbp), %rdi
	movq	%r14, %rsi
	callq	_copy_from_user_policy_type
	testl	%eax, %eax
	jne	LBB0_18
## %bb.1:
	movl	8(%rbx), %edi
	callq	_verify_policy_dir
	movl	%eax, -44(%rbp)
	testl	%eax, %eax
	jne	LBB0_18
## %bb.2:
	movq	16(%rbx), %r8
	testq	%r8, %r8
	je	LBB0_4
## %bb.3:
	movl	-48(%rbp), %edx
	movl	8(%rbx), %ecx
	subq	$8, %rsp
	leaq	-44(%rbp), %rax
	movq	%r15, %rdi
	movl	%r12d, %esi
	xorl	%r9d, %r9d
	pushq	%rax
	callq	_xfrm_policy_byid
	addq	$16, %rsp
	movq	%rax, %r15
	testq	%r15, %r15
	je	LBB0_11
LBB0_12:
	movl	(%r15), %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_17
## %bb.13:
	movl	$0, -44(%rbp)
	cmpq	$0, (%rbx)
	je	LBB0_15
## %bb.14:
	movq	%r13, %rdi
	callq	_NETLINK_CB
	movl	%edx, %r14d
	movq	%r13, %rdi
	callq	_NETLINK_CB
	movq	%rax, %r12
	shrq	$32, %r12
	movq	%r13, %rdi
	callq	_NETLINK_CB
	movq	%rax, %r13
	movl	8(%rbx), %esi
	movq	%r15, %rdi
	callq	_xfrm_policy_delete
	movq	%r15, %rdi
	movl	$1, %esi
	movl	%r14d, %edx
	movl	%r12d, %ecx
	movl	%r13d, %r8d
	callq	_xfrm_audit_policy_delete
	jmp	LBB0_16
LBB0_4:
	movq	_XFRMA_SEC_CTX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14,%rax,8), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_verify_sec_ctx_len
	movl	%eax, -44(%rbp)
	testl	%eax, %eax
	jne	LBB0_18
## %bb.5:
	movq	$0, -56(%rbp)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.7:
	callq	_nla_data
	leaq	-56(%rbp), %rdi
	movq	%rax, %rsi
	callq	_security_xfrm_policy_alloc
	movl	%eax, -44(%rbp)
	testl	%eax, %eax
	jne	LBB0_18
## %bb.8:
	movq	-56(%rbp), %r9
	jmp	LBB0_9
LBB0_15:
	leaq	L_.str(%rip), %rdi
	callq	_printk
LBB0_16:
	movl	8(%rbx), %esi
	movq	(%rbx), %rdx
	movq	_current@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	callq	_km_policy_expired
LBB0_17:
	movq	%r15, %rdi
	callq	_xfrm_pol_put
	movl	-44(%rbp), %eax
	jmp	LBB0_18
LBB0_6:
	xorl	%r9d, %r9d
LBB0_9:
	movl	-48(%rbp), %edx
	movl	8(%rbx), %ecx
	movq	%rbx, %r8
	addq	$12, %r8
	leaq	-44(%rbp), %rax
	movq	%r15, %rdi
	movl	%r12d, %esi
	pushq	%rax
	pushq	$0
	callq	_xfrm_policy_bysel_ctx
	addq	$16, %rsp
	movq	%rax, %r15
	movq	-56(%rbp), %rdi
	callq	_security_xfrm_policy_free
	testq	%r15, %r15
	jne	LBB0_12
LBB0_11:
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_18:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XFRM_POLICY_TYPE_MAIN,4,2      ## @XFRM_POLICY_TYPE_MAIN
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_XFRMA_SEC_CTX,8,3              ## @XFRMA_SEC_CTX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Dont know what to do with soft policy expire\n"

	.comm	_current,8,3                    ## @current
	.no_dead_strip	_xfrm_add_pol_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_pol_expire
_xfrm_add_pol_expire:                   ; @xfrm_add_pol_expire
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0]
	bl	_sock_net
	mov	x21, x0
	mov	x0, x19
	bl	_nlmsg_data
	mov	x19, x0
Lloh0:
	adrp	x8, _XFRM_POLICY_TYPE_MAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XFRM_POLICY_TYPE_MAIN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #28]
	add	x1, sp, #16
	mov	x0, x23
	bl	_xfrm_mark_get
	mov	x22, x0
	add	x0, sp, #28
	mov	x1, x23
	bl	_copy_from_user_policy_type
	cbnz	w0, LBB0_17
; %bb.1:
	ldr	w0, [x19, #8]
	bl	_verify_policy_dir
	str	w0, [sp, #24]
	cbnz	w0, LBB0_17
; %bb.2:
	ldr	x4, [x19, #16]
	cbz	x4, LBB0_7
; %bb.3:
	ldr	w2, [sp, #28]
	ldr	w3, [x19, #8]
	add	x6, sp, #24
	mov	x0, x21
	mov	x1, x22
	mov	w5, #0
	bl	_xfrm_policy_byid
	mov	x21, x0
	cbz	x21, LBB0_16
LBB0_4:
	ldr	w0, [x21]
	bl	_unlikely
	cbnz	x0, LBB0_13
; %bb.5:
	str	wzr, [sp, #24]
	ldr	x8, [x19]
	cbz	x8, LBB0_11
; %bb.6:
	mov	x0, x20
	bl	_NETLINK_CB
	mov	x22, x1
	mov	x0, x20
	bl	_NETLINK_CB
	lsr	x23, x0, #32
	mov	x0, x20
	bl	_NETLINK_CB
	mov	x20, x0
	ldr	w1, [x19, #8]
	mov	x0, x21
	bl	_xfrm_policy_delete
	mov	x0, x21
	mov	w1, #1
	mov	x2, x22
	mov	x3, x23
	mov	x4, x20
	bl	_xfrm_audit_policy_delete
	b	LBB0_12
LBB0_7:
Lloh3:
	adrp	x8, _XFRMA_SEC_CTX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XFRMA_SEC_CTX@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x24, [x23, x8, lsl #3]
	mov	x0, x23
	bl	_verify_sec_ctx_len
	str	w0, [sp, #24]
	cbnz	w0, LBB0_17
; %bb.8:
	str	xzr, [sp, #8]
	cbz	x24, LBB0_14
; %bb.9:
	mov	x0, x24
	bl	_nla_data
	mov	x1, x0
	add	x0, sp, #8
	bl	_security_xfrm_policy_alloc
	str	w0, [sp, #24]
	cbnz	w0, LBB0_17
; %bb.10:
	ldr	x5, [sp, #8]
	b	LBB0_15
LBB0_11:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printk
LBB0_12:
	ldr	w1, [x19, #8]
	ldr	x2, [x19]
Lloh8:
	adrp	x8, _current@GOTPAGE
Lloh9:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	w3, [x8]
	mov	x0, x21
	bl	_km_policy_expired
LBB0_13:
	mov	x0, x21
	bl	_xfrm_pol_put
	ldr	w0, [sp, #24]
	b	LBB0_17
LBB0_14:
	mov	x5, #0
LBB0_15:
	ldr	w2, [sp, #28]
	ldr	w3, [x19, #8]
	add	x4, x19, #12
	add	x7, sp, #24
	mov	x0, x21
	mov	x1, x22
	mov	w6, #0
	bl	_xfrm_policy_bysel_ctx
	mov	x21, x0
	ldr	x0, [sp, #8]
	bl	_security_xfrm_policy_free
	cbnz	x21, LBB0_4
LBB0_16:
Lloh11:
	adrp	x8, _ENOENT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_17:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_XFRM_POLICY_TYPE_MAIN,4,2      ; @XFRM_POLICY_TYPE_MAIN
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_XFRMA_SEC_CTX,8,3              ; @XFRMA_SEC_CTX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Dont know what to do with soft policy expire\n"

	.comm	_current,8,3                    ; @current
	.no_dead_strip	_xfrm_add_pol_expire
.subsections_via_symbols
