	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function route4_delete
_route4_delete:                         ## @route4_delete
	.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
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	%rdi, %r12
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rsi, %r13
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%rsi), %edi
	movq	16(%rsi), %rbx
	movq	(%rbx), %r15
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	shrl	$16, %edi
	callq	_from_hash
	movq	(%r15,%rax,8), %rcx
	xorl	%r14d, %r14d
	testq	%rcx, %rcx
	je	LBB0_43
## %bb.4:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	cmpq	%r13, %rcx
	je	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %r15
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_43
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpq	%r13, %rcx
	jne	LBB0_6
## %bb.8:
	addq	$8, %r15
	jmp	LBB0_9
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_43
LBB0_5:
	leaq	(%r15,%rax,8), %r15
LBB0_9:
	movq	%r12, %rdi
	callq	_tcf_tree_lock
	movq	8(%r13), %rax
	movq	%rax, (%r15)
	movq	%r12, %rdi
	callq	_tcf_tree_unlock
	movl	(%r12), %edi
	movl	4(%r13), %edx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_route4_reset_fastmap
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_route4_delete_filter
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	jne	LBB0_43
## %bb.10:
	cmpq	$0, 8(%rax)
	jne	LBB0_43
## %bb.11:
	cmpq	$0, 16(%rax)
	jne	LBB0_43
## %bb.12:
	cmpq	$0, 24(%rax)
	jne	LBB0_43
## %bb.13:
	cmpq	$0, 32(%rax)
	jne	LBB0_43
## %bb.14:
	cmpq	$0, 40(%rax)
	jne	LBB0_43
## %bb.15:
	cmpq	$0, 48(%rax)
	jne	LBB0_43
## %bb.16:
	cmpq	$0, 56(%rax)
	jne	LBB0_43
## %bb.17:
	cmpq	$0, 64(%rax)
	jne	LBB0_43
## %bb.18:
	cmpq	$0, 72(%rax)
	jne	LBB0_43
## %bb.19:
	cmpq	$0, 80(%rax)
	jne	LBB0_43
## %bb.20:
	cmpq	$0, 88(%rax)
	jne	LBB0_43
## %bb.21:
	cmpq	$0, 96(%rax)
	jne	LBB0_43
## %bb.22:
	cmpq	$0, 104(%rax)
	jne	LBB0_43
## %bb.23:
	cmpq	$0, 112(%rax)
	jne	LBB0_43
## %bb.24:
	cmpq	$0, 120(%rax)
	jne	LBB0_43
## %bb.25:
	cmpq	$0, 128(%rax)
	jne	LBB0_43
## %bb.26:
	cmpq	$0, 136(%rax)
	jne	LBB0_43
## %bb.27:
	cmpq	$0, 144(%rax)
	jne	LBB0_43
## %bb.28:
	cmpq	$0, 152(%rax)
	jne	LBB0_43
## %bb.29:
	cmpq	$0, 160(%rax)
	jne	LBB0_43
## %bb.30:
	cmpq	$0, 168(%rax)
	jne	LBB0_43
## %bb.31:
	cmpq	$0, 176(%rax)
	jne	LBB0_43
## %bb.32:
	cmpq	$0, 184(%rax)
	jne	LBB0_43
## %bb.33:
	cmpq	$0, 192(%rax)
	jne	LBB0_43
## %bb.34:
	cmpq	$0, 200(%rax)
	jne	LBB0_43
## %bb.35:
	cmpq	$0, 208(%rax)
	jne	LBB0_43
## %bb.36:
	cmpq	$0, 216(%rax)
	jne	LBB0_43
## %bb.37:
	cmpq	$0, 224(%rax)
	jne	LBB0_43
## %bb.38:
	cmpq	$0, 232(%rax)
	jne	LBB0_43
## %bb.39:
	cmpq	$0, 240(%rax)
	jne	LBB0_43
## %bb.40:
	cmpq	$0, 248(%rax)
	jne	LBB0_43
## %bb.41:
	cmpq	$0, 256(%rax)
	jne	LBB0_43
## %bb.42:
	movq	%r12, %rdi
	callq	_tcf_tree_lock
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rbx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_to_hash
	movq	$0, (%rbx,%rax,8)
	movq	%r12, %rdi
	callq	_tcf_tree_unlock
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_kfree
LBB0_43:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_route4_delete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function route4_delete
_route4_delete:                         ; @route4_delete
	.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
	cbz	x1, LBB0_42
; %bb.1:
	mov	x19, x0
	ldr	x21, [x0, #8]
	cbz	x21, LBB0_42
; %bb.2:
	mov	x23, x1
	ldr	w22, [x1]
	ldr	x20, [x1, #16]
	ldr	x24, [x20]
	lsr	w0, w22, #16
	bl	_from_hash
	add	x24, x24, x0, lsl #3
	ldr	x8, [x24]
	cbz	x8, LBB0_41
; %bb.3:
	cmp	x8, x23
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x8
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_41
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x8, x23
	b.ne	LBB0_4
; %bb.6:
	add	x24, x9, #8
LBB0_7:
	mov	x0, x19
	bl	_tcf_tree_lock
	ldr	x8, [x23, #8]
	str	x8, [x24]
	mov	x0, x19
	bl	_tcf_tree_unlock
	ldr	w0, [x19]
	ldr	w2, [x23, #4]
	mov	x1, x21
	bl	_route4_reset_fastmap
	mov	x0, x19
	mov	x1, x23
	bl	_route4_delete_filter
	ldr	x8, [x20]
	ldr	x9, [x8]
	cbnz	x9, LBB0_41
; %bb.8:
	ldr	x9, [x8, #8]
	cbnz	x9, LBB0_41
; %bb.9:
	ldr	x9, [x8, #16]
	cbnz	x9, LBB0_41
; %bb.10:
	ldr	x9, [x8, #24]
	cbnz	x9, LBB0_41
; %bb.11:
	ldr	x9, [x8, #32]
	cbnz	x9, LBB0_41
; %bb.12:
	ldr	x9, [x8, #40]
	cbnz	x9, LBB0_41
; %bb.13:
	ldr	x9, [x8, #48]
	cbnz	x9, LBB0_41
; %bb.14:
	ldr	x9, [x8, #56]
	cbnz	x9, LBB0_41
; %bb.15:
	ldr	x9, [x8, #64]
	cbnz	x9, LBB0_41
; %bb.16:
	ldr	x9, [x8, #72]
	cbnz	x9, LBB0_41
; %bb.17:
	ldr	x9, [x8, #80]
	cbnz	x9, LBB0_41
; %bb.18:
	ldr	x9, [x8, #88]
	cbnz	x9, LBB0_41
; %bb.19:
	ldr	x9, [x8, #96]
	cbnz	x9, LBB0_41
; %bb.20:
	ldr	x9, [x8, #104]
	cbnz	x9, LBB0_41
; %bb.21:
	ldr	x9, [x8, #112]
	cbnz	x9, LBB0_41
; %bb.22:
	ldr	x9, [x8, #120]
	cbnz	x9, LBB0_41
; %bb.23:
	ldr	x9, [x8, #128]
	cbnz	x9, LBB0_41
; %bb.24:
	ldr	x9, [x8, #136]
	cbnz	x9, LBB0_41
; %bb.25:
	ldr	x9, [x8, #144]
	cbnz	x9, LBB0_41
; %bb.26:
	ldr	x9, [x8, #152]
	cbnz	x9, LBB0_41
; %bb.27:
	ldr	x9, [x8, #160]
	cbnz	x9, LBB0_41
; %bb.28:
	ldr	x9, [x8, #168]
	cbnz	x9, LBB0_41
; %bb.29:
	ldr	x9, [x8, #176]
	cbnz	x9, LBB0_41
; %bb.30:
	ldr	x9, [x8, #184]
	cbnz	x9, LBB0_41
; %bb.31:
	ldr	x9, [x8, #192]
	cbnz	x9, LBB0_41
; %bb.32:
	ldr	x9, [x8, #200]
	cbnz	x9, LBB0_41
; %bb.33:
	ldr	x9, [x8, #208]
	cbnz	x9, LBB0_41
; %bb.34:
	ldr	x9, [x8, #216]
	cbnz	x9, LBB0_41
; %bb.35:
	ldr	x9, [x8, #224]
	cbnz	x9, LBB0_41
; %bb.36:
	ldr	x9, [x8, #232]
	cbnz	x9, LBB0_41
; %bb.37:
	ldr	x9, [x8, #240]
	cbnz	x9, LBB0_41
; %bb.38:
	ldr	x9, [x8, #248]
	cbnz	x9, LBB0_41
; %bb.39:
	ldr	x8, [x8, #256]
	cbnz	x8, LBB0_41
; %bb.40:
	mov	x0, x19
	bl	_tcf_tree_lock
	ldr	x21, [x21]
	mov	x0, x22
	bl	_to_hash
	str	xzr, [x21, x0, lsl #3]
	mov	x0, x19
	bl	_tcf_tree_unlock
	mov	x0, x20
	bl	_kfree
LBB0_41:
	mov	w0, #0
	b	LBB0_43
LBB0_42:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_43:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_route4_delete
.subsections_via_symbols
