	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt_checkdelroute
_rt_checkdelroute:                      ## @rt_checkdelroute
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	16(%rsi), %r15
	movl	$0, -28(%rbp)
	callq	_rt_key
	movq	16(%rbx), %rcx
	movq	_RTAX_DST@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movq	%r14, %rdi
	callq	_rt_mask
	movq	16(%rbx), %rcx
	movq	_RTAX_NETMASK@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movl	8(%r14), %eax
	movq	_RTAX_GATEWAY@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movl	8(%rbx), %edi
	leaq	-28(%rbp), %rdx
	movq	%r15, %rsi
	callq	_rt_unlinkrte
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%rbx), %rcx
	movq	%rcx, (%rax)
	movq	%rax, (%rbx)
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTAX_DST,8,3                   ## @RTAX_DST
	.comm	_RTAX_NETMASK,8,3               ## @RTAX_NETMASK
	.comm	_RTAX_GATEWAY,8,3               ## @RTAX_GATEWAY
	.no_dead_strip	_rt_checkdelroute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt_checkdelroute
_rt_checkdelroute:                      ; @rt_checkdelroute
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	str	wzr, [sp, #12]
	bl	_rt_key
	mov	x21, x19
	ldr	x8, [x21, #16]!
Lloh0:
	adrp	x9, _RTAX_DST@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RTAX_DST@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	str	w0, [x8, x9, lsl #2]
	mov	x0, x20
	bl	_rt_mask
	ldr	x8, [x21]
Lloh3:
	adrp	x9, _RTAX_NETMASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RTAX_NETMASK@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	str	w0, [x8, x9, lsl #2]
	ldr	w9, [x20, #8]
Lloh6:
	adrp	x10, _RTAX_GATEWAY@GOTPAGE
Lloh7:
	ldr	x10, [x10, _RTAX_GATEWAY@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	str	w9, [x8, x10, lsl #2]
	ldur	w0, [x21, #-8]
	add	x2, sp, #12
	mov	x1, x21
	bl	_rt_unlinkrte
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	str	x8, [x0]
	str	x0, [x19]
LBB0_2:
	mov	w0, #0
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RTAX_DST,8,3                   ; @RTAX_DST
	.comm	_RTAX_NETMASK,8,3               ; @RTAX_NETMASK
	.comm	_RTAX_GATEWAY,8,3               ; @RTAX_GATEWAY
	.no_dead_strip	_rt_checkdelroute
.subsections_via_symbols
