	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xfrm_notify_policy
_xfrm_notify_policy:                    ## @xfrm_notify_policy
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	callq	_xp_net
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%r14), %edi
	shll	$2, %edi
	callq	_nla_total_size
	movl	%eax, %ebx
	movl	8(%r15), %eax
	movq	_XFRM_MSG_DELPOLICY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	jne	LBB0_1
## %bb.2:
	movl	$4, %edi
	callq	_nla_total_size
	addl	%eax, %ebx
	movl	$12, %r14d
	jmp	LBB0_3
LBB0_1:
	movl	$4, %r14d
LBB0_3:
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_userpolicy_type_attrsize
	addl	%eax, %ebx
	movl	$4, %edi
	callq	_nla_total_size
	addl	%eax, %ebx
	movl	%r14d, %edi
	callq	_NLMSG_ALIGN
	addl	%eax, %ebx
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_nlmsg_new
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r13
	movl	16(%r15), %esi
	movl	8(%r15), %ecx
	movl	12(%r15), %edx
	movq	%rax, %rdi
	movl	%r14d, %r8d
	xorl	%r9d, %r9d
	callq	_nlmsg_put
	testq	%rax, %rax
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_15
## %bb.6:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_nlmsg_data
	movl	8(%r15), %ecx
	movq	_XFRM_MSG_DELPOLICY@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_12
## %bb.7:
	movq	%r14, %rdi
	callq	_nlmsg_data
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rbx)
	cmpq	$0, (%r15)
	je	LBB0_9
## %bb.8:
	movl	16(%r12), %eax
	movl	%eax, 8(%rbx)
	jmp	LBB0_10
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	jmp	LBB0_16
LBB0_9:
	addq	$4, %rbx
	leaq	12(%r12), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_memcpy
LBB0_10:
	movq	_XFRMA_POLICY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$4, %edx
	callq	_nla_reserve
	testq	%rax, %rax
	je	LBB0_15
## %bb.11:
	movq	%rax, %rdi
	callq	_nla_data
LBB0_12:
	movq	%r12, %rdi
	movq	%rax, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_copy_to_user_policy
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_copy_to_user_tmpl
	testq	%rax, %rax
	js	LBB0_15
## %bb.13:
	movl	8(%r12), %edi
	movq	%r13, %rsi
	callq	_copy_to_user_policy_type
	testq	%rax, %rax
	js	LBB0_15
## %bb.14:
	addq	$4, %r12
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_xfrm_mark_put
	testq	%rax, %rax
	je	LBB0_17
LBB0_15:
	movq	%r13, %rdi
	callq	_kfree_skb
	movl	$-1, %r12d
LBB0_16:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_nlmsg_end
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	_XFRMNLGRP_POLICY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r13, %rsi
	xorl	%edx, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nlmsg_multicast                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_XFRM_MSG_DELPOLICY,4,2         ## @XFRM_MSG_DELPOLICY
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_XFRMA_POLICY,4,2               ## @XFRMA_POLICY
	.comm	_XFRMNLGRP_POLICY,4,2           ## @XFRMNLGRP_POLICY
	.no_dead_strip	_xfrm_notify_policy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xfrm_notify_policy
_xfrm_notify_policy:                    ; @xfrm_notify_policy
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x23, x2
	mov	x21, x1
	mov	x20, x0
	bl	_xp_net
	mov	x19, x0
	ldr	w8, [x20]
	lsl	w0, w8, #2
	bl	_nla_total_size
	mov	x22, x0
	ldr	w8, [x23, #8]
Lloh0:
	adrp	x25, _XFRM_MSG_DELPOLICY@GOTPAGE
Lloh1:
	ldr	x25, [x25, _XFRM_MSG_DELPOLICY@GOTPAGEOFF]
	ldr	w9, [x25]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #4
	bl	_nla_total_size
	add	w22, w0, w22
	mov	w24, #12
	b	LBB0_3
LBB0_2:
	mov	w24, #4
LBB0_3:
	bl	_userpolicy_type_attrsize
	add	w22, w22, w0
	mov	w0, #4
	bl	_nla_total_size
	add	w22, w22, w0
	mov	x0, x24
	bl	_NLMSG_ALIGN
	add	w0, w22, w0
Lloh2:
	adrp	x26, _GFP_ATOMIC@GOTPAGE
Lloh3:
	ldr	x26, [x26, _GFP_ATOMIC@GOTPAGEOFF]
	ldr	w1, [x26]
	bl	_nlmsg_new
	cbz	x0, LBB0_8
; %bb.4:
	mov	x22, x0
	ldp	w2, w1, [x23, #12]
	ldr	w3, [x23, #8]
	mov	x4, x24
	mov	w5, #0
	bl	_nlmsg_put
	cbz	x0, LBB0_15
; %bb.5:
	mov	x24, x0
	bl	_nlmsg_data
	ldr	w8, [x23, #8]
	ldr	w9, [x25]
	cmp	w8, w9
	b.ne	LBB0_12
; %bb.6:
	mov	x0, x24
	bl	_nlmsg_data
	mov	x25, x0
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	str	w21, [x25]
	ldr	x8, [x23]
	cbz	x8, LBB0_9
; %bb.7:
	ldr	w8, [x20, #16]
	str	w8, [x25, #8]
	b	LBB0_10
LBB0_8:
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_16
LBB0_9:
	add	x0, x25, #4
	add	x1, x20, #12
	mov	w2, #4
	bl	_memcpy
LBB0_10:
Lloh7:
	adrp	x8, _XFRMA_POLICY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _XFRMA_POLICY@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x22
	mov	w2, #4
	bl	_nla_reserve
	cbz	x0, LBB0_15
; %bb.11:
	bl	_nla_data
LBB0_12:
	mov	x1, x0
	mov	x0, x20
	mov	x2, x21
	bl	_copy_to_user_policy
	mov	x0, x20
	mov	x1, x22
	bl	_copy_to_user_tmpl
	tbnz	x0, #63, LBB0_15
; %bb.13:
	ldr	w0, [x20, #8]
	mov	x1, x22
	bl	_copy_to_user_policy_type
	tbnz	x0, #63, LBB0_15
; %bb.14:
	add	x1, x20, #4
	mov	x0, x22
	bl	_xfrm_mark_put
	cbz	x0, LBB0_17
LBB0_15:
	mov	x0, x22
	bl	_kfree_skb
	mov	w0, #-1
LBB0_16:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_17:
	mov	x0, x22
	mov	x1, x24
	bl	_nlmsg_end
	ldr	w0, [x19]
Lloh10:
	adrp	x8, _XFRMNLGRP_POLICY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _XFRMNLGRP_POLICY@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	ldr	w4, [x26]
	mov	x1, x22
	mov	w2, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_nlmsg_multicast
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_XFRM_MSG_DELPOLICY,4,2         ; @XFRM_MSG_DELPOLICY
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_XFRMA_POLICY,4,2               ; @XFRMA_POLICY
	.comm	_XFRMNLGRP_POLICY,4,2           ; @XFRMNLGRP_POLICY
	.no_dead_strip	_xfrm_notify_policy
.subsections_via_symbols
