	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pfkey_send_policy_notify
_pfkey_send_policy_notify:              ## @pfkey_send_policy_notify
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	(%rdi), %rax
	movq	_XFRM_POLICY_TYPE_MAIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
LBB0_2:
	movl	(%rdx), %eax
	leal	-128(%rax), %ecx
	cmpl	$4, %ecx
	ja	LBB0_8
## %bb.3:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_5:
	popq	%rbp
	jmp	_key_notify_policy              ## TAILCALL
LBB0_8:
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_printk
	jmp	LBB0_9
LBB0_4:
	movq	%rdx, %rsi
	popq	%rbp
	jmp	_key_notify_policy_expire       ## TAILCALL
LBB0_6:
	movq	8(%rdx), %rax
	movq	_XFRM_POLICY_TYPE_MAIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.7:
	movq	%rdx, %rdi
	popq	%rbp
	jmp	_key_notify_policy_flush        ## TAILCALL
LBB0_9:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_XFRM_POLICY_TYPE_MAIN,8,3      ## @XFRM_POLICY_TYPE_MAIN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pfkey: Unknown policy event %d\n"

	.no_dead_strip	_pfkey_send_policy_notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pfkey_send_policy_notify
_pfkey_send_policy_notify:              ; @pfkey_send_policy_notify
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _XFRM_POLICY_TYPE_MAIN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XFRM_POLICY_TYPE_MAIN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
LBB0_2:
	ldr	w8, [x2]
	sub	w9, w8, #128
	cmp	w9, #4
	b.hi	LBB0_5
; %bb.3:
Lloh3:
	adrp	x8, lJTI0_0@PAGE
Lloh4:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_key_notify_policy
LBB0_5:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x8
	bl	_printk
	b	LBB0_9
LBB0_6:
	mov	x1, x2
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_key_notify_policy_expire
LBB0_7:
	ldr	x8, [x2, #8]
Lloh7:
	adrp	x9, _XFRM_POLICY_TYPE_MAIN@GOTPAGE
Lloh8:
	ldr	x9, [x9, _XFRM_POLICY_TYPE_MAIN@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x2
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_key_notify_policy_flush
LBB0_9:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
                                        ; -- End function
	.comm	_XFRM_POLICY_TYPE_MAIN,8,3      ; @XFRM_POLICY_TYPE_MAIN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pfkey: Unknown policy event %d\n"

	.no_dead_strip	_pfkey_send_policy_notify
.subsections_via_symbols
