	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt_foreach_fib_walk_del        ## -- Begin function rt_foreach_fib_walk_del
	.p2align	4, 0x90
_rt_foreach_fib_walk_del:               ## @rt_foreach_fib_walk_del
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	leaq	-96(%rbp), %rdi
	movl	$40, %esi
	callq	_bzero
	movq	%rbx, -80(%rbp)
	movq	%r15, -88(%rbp)
	movq	_rt_numfibs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	jle	LBB0_13
## %bb.1:
	xorl	%ecx, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	_AF_UNSPEC@GOTPCREL(%rip), %rsi
	leaq	-96(%rbp), %r12
	movq	_RTAX_DST@GOTPCREL(%rip), %r14
	movq	_RTAX_NETMASK@GOTPCREL(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_rt_numfibs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_AF_UNSPEC@GOTPCREL(%rip), %rsi
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	incq	%rdx
	movq	%rdx, %rcx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	cmpq	%rax, %rdx
	jge	LBB0_13
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##       Child Loop BB0_9 Depth 3
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %r13d
	movl	%ecx, %edx
	cmpl	%ecx, (%rsi)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %r13d
	movq	_AF_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%edx, %r13d
	jg	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=2
	leal	1(%r13), %eax
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	cmpl	%edx, %r13d
	movl	%eax, %r13d
	je	LBB0_11
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_9 Depth 3
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	callq	_rt_tables_get_rnh
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	%rax, %rbx
	movq	%rax, -64(%rbp)
	movq	%rax, %rdi
	callq	_RIB_WLOCK
	movq	_rt_checkdelroute@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	*8(%rbx)
	movq	%rbx, %rdi
	callq	_RIB_WUNLOCK
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_6 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	-72(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_9 Depth=3
	movq	(%rbx), %rax
	movq	%rax, -72(%rbp)
	movq	$0, (%rbx)
	movq	%rbx, %rdi
	callq	_rt_key
	movq	-96(%rbp), %rcx
	movq	(%r14), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movq	%rbx, %rdi
	callq	_rt_mask
	movq	-96(%rbp), %rcx
	movq	(%r15), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_rt_notifydelete
	movq	%rbx, %rdi
	callq	_RTFREE_LOCKED
	jmp	LBB0_9
LBB0_13:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rt_numfibs,8,3                 ## @rt_numfibs
	.comm	_AF_UNSPEC,4,2                  ## @AF_UNSPEC
	.comm	_AF_MAX,4,2                     ## @AF_MAX
	.comm	_rt_checkdelroute,4,2           ## @rt_checkdelroute
	.comm	_RTAX_DST,8,3                   ## @RTAX_DST
	.comm	_RTAX_NETMASK,8,3               ## @RTAX_NETMASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt_foreach_fib_walk_del        ; -- Begin function rt_foreach_fib_walk_del
	.p2align	2
_rt_foreach_fib_walk_del:               ; @rt_foreach_fib_walk_del
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #40
	bl	_bzero
	stp	x20, x21, [sp, #16]
Lloh0:
	adrp	x8, _rt_numfibs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rt_numfibs@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x20, #0
Lloh3:
	adrp	x24, _AF_UNSPEC@GOTPAGE
Lloh4:
	ldr	x24, [x24, _AF_UNSPEC@GOTPAGEOFF]
Lloh5:
	adrp	x25, _AF_MAX@GOTPAGE
Lloh6:
	ldr	x25, [x25, _AF_MAX@GOTPAGEOFF]
Lloh7:
	adrp	x26, _rt_checkdelroute@GOTPAGE
Lloh8:
	ldr	x26, [x26, _rt_checkdelroute@GOTPAGEOFF]
Lloh9:
	adrp	x27, _RTAX_DST@GOTPAGE
Lloh10:
	ldr	x27, [x27, _RTAX_DST@GOTPAGEOFF]
Lloh11:
	adrp	x28, _RTAX_NETMASK@GOTPAGE
Lloh12:
	ldr	x28, [x28, _RTAX_NETMASK@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh13:
	adrp	x8, _rt_numfibs@GOTPAGE
Lloh14:
	ldr	x8, [x8, _rt_numfibs@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	cmp	x20, x8
	b.ge	LBB0_9
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;       Child Loop BB0_8 Depth 3
	ldr	w9, [x24]
	ldr	w10, [x25]
	cmp	w9, w19
	csel	w23, w10, w19, eq
	csinc	w21, w19, wzr, ne
	cmp	w21, w23
	b.le	LBB0_6
	b	LBB0_3
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	w8, w21, #1
	cmp	w21, w23
	mov	x21, x8
	b.eq	LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_8 Depth 3
	mov	x0, x20
	mov	x1, x21
	bl	_rt_tables_get_rnh
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	x22, x0
	str	x0, [sp, #40]
	bl	_RIB_WLOCK
	ldr	x8, [x22, #8]
	ldr	w1, [x26]
	add	x2, sp, #8
	mov	x0, x22
	blr	x8
	mov	x0, x22
	bl	_RIB_WUNLOCK
	ldr	x22, [sp, #32]
	cbz	x22, LBB0_5
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_6 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x8, [x22]
	str	x8, [sp, #32]
	str	xzr, [x22]
	mov	x0, x22
	bl	_rt_key
	ldr	x8, [sp, #8]
	ldr	x9, [x27]
	str	w0, [x8, x9, lsl #2]
	mov	x0, x22
	bl	_rt_mask
	ldr	x8, [sp, #8]
	ldr	x9, [x28]
	str	w0, [x8, x9, lsl #2]
	add	x1, sp, #8
	mov	x0, x22
	bl	_rt_notifydelete
	mov	x0, x22
	bl	_RTFREE_LOCKED
	ldr	x22, [sp, #32]
	cbnz	x22, LBB0_8
	b	LBB0_5
LBB0_9:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_rt_numfibs,8,3                 ; @rt_numfibs
	.comm	_AF_UNSPEC,4,2                  ; @AF_UNSPEC
	.comm	_AF_MAX,4,2                     ; @AF_MAX
	.comm	_rt_checkdelroute,4,2           ; @rt_checkdelroute
	.comm	_RTAX_DST,8,3                   ; @RTAX_DST
	.comm	_RTAX_NETMASK,8,3               ; @RTAX_NETMASK
.subsections_via_symbols
