	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __xfrm_policy_link
___xfrm_policy_link:                    ## @__xfrm_policy_link
	.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
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_xp_net
	movq	%rax, %r14
	leaq	20(%rbx), %rsi
	movl	16(%rbx), %edx
	movq	%rax, %rdi
	movl	%r15d, %ecx
	callq	_policy_hash_bysel
	movq	%rax, %r12
	leaq	12(%rbx), %rdi
	leaq	24(%r14), %rsi
	callq	_list_add
	leaq	8(%rbx), %rdi
	movq	%r12, %rsi
	callq	_hlist_add_head
	leaq	4(%rbx), %r12
	movq	16(%r14), %r13
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_idx_hash
	cltq
	leaq	(,%rax,4), %rsi
	addq	%r13, %rsi
	movq	%r12, %rdi
	callq	_hlist_add_head
	movq	8(%r14), %rax
	movslq	%r15d, %r15
	incl	(%rax,%r15,4)
	movq	%rbx, %rdi
	callq	_xfrm_pol_hold
	movq	%r14, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_xfrm_bydst_should_resize
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_schedule_work                  ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	___xfrm_policy_link
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __xfrm_policy_link
___xfrm_policy_link:                    ; @__xfrm_policy_link
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x21, x0
	bl	_xp_net
	mov	x19, x0
	add	x1, x21, #20
	ldr	w2, [x21, #16]
	mov	x3, x20
	bl	_policy_hash_bysel
	mov	x22, x0
	add	x0, x21, #12
	add	x1, x19, #24
	bl	_list_add
	add	x0, x21, #8
	mov	x1, x22
	bl	_hlist_add_head
	add	x22, x21, #4
	ldr	x23, [x19, #16]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_idx_hash
	add	x1, x23, w0, sxtw #2
	mov	x0, x22
	bl	_hlist_add_head
	ldr	x8, [x19, #8]
	sbfiz	x9, x20, #2, #32
	ldr	w10, [x8, x9]
	add	w10, w10, #1
	str	w10, [x8, x9]
	mov	x0, x21
	bl	_xfrm_pol_hold
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	bl	_xfrm_bydst_should_resize
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_schedule_work
LBB0_2:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	___xfrm_policy_link
.subsections_via_symbols
