	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function key_notify_sa_expire
_key_notify_sa_expire:                  ## @key_notify_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
	cmpl	$1, (%rsi)
	movq	%rdi, %r14
	movl	$2, %esi
	sbbl	$0, %esi
	callq	_pfkey_xfrm_state2msg_expire
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	(%r13), %rbx
	movq	_PF_KEY_V2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_SADB_EXPIRE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movl	(%r14), %edi
	callq	_pfkey_proto2satype
	movl	%eax, 32(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
	movups	%xmm0, 16(%rbx)
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_BROADCAST_REGISTERED@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r14, %rdi
	callq	_xs_net
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	_pfkey_broadcast
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PF_KEY_V2,4,2                  ## @PF_KEY_V2
	.comm	_SADB_EXPIRE,4,2                ## @SADB_EXPIRE
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_BROADCAST_REGISTERED,4,2       ## @BROADCAST_REGISTERED
	.no_dead_strip	_key_notify_sa_expire
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function key_notify_sa_expire
_key_notify_sa_expire:                  ; @key_notify_sa_expire
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
	ldr	w8, [x1]
	cmp	w8, #0
	mov	w8, #1
	cinc	w1, w8, ne
	bl	_pfkey_xfrm_state2msg_expire
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_2:
	ldr	x21, [x20]
Lloh0:
	adrp	x8, _PF_KEY_V2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PF_KEY_V2@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SADB_EXPIRE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SADB_EXPIRE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #36]
	ldr	w0, [x19]
	bl	_pfkey_proto2satype
	str	w0, [x21, #32]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x21]
Lloh6:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
Lloh9:
	adrp	x8, _BROADCAST_REGISTERED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BROADCAST_REGISTERED@GOTPAGEOFF]
Lloh11:
	ldr	w22, [x8]
	mov	x0, x19
	bl	_xs_net
	mov	x4, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x3, #0
	bl	_pfkey_broadcast
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PF_KEY_V2,4,2                  ; @PF_KEY_V2
	.comm	_SADB_EXPIRE,4,2                ; @SADB_EXPIRE
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_BROADCAST_REGISTERED,4,2       ; @BROADCAST_REGISTERED
	.no_dead_strip	_key_notify_sa_expire
.subsections_via_symbols
