	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt6_purge_dflt_routers         ## -- Begin function rt6_purge_dflt_routers
	.p2align	4, 0x90
_rt6_purge_dflt_routers:                ## @rt6_purge_dflt_routers
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_RT6_TABLE_DFLT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_fib6_get_table
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_read_lock_bh
	movq	8(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.2:
	movq	_RTF_DEFAULT@GOTPCREL(%rip), %r15
	movq	_RTF_ADDRCONF@GOTPCREL(%rip), %r12
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movl	(%r12), %eax
	orl	(%r15), %eax
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testl	%eax, (%rbx)
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_4
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	8(%rbx), %rdi
	callq	_dst_hold
	movq	%r14, %rdi
	callq	_read_unlock_bh
	movq	%rbx, %rdi
	callq	_ip6_del_rt
	movq	%r14, %rdi
	callq	_read_lock_bh
	movq	8(%r14), %rbx
	testq	%rbx, %rbx
	jne	LBB0_3
LBB0_7:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_read_unlock_bh                 ## TAILCALL
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RT6_TABLE_DFLT,4,2             ## @RT6_TABLE_DFLT
	.comm	_RTF_DEFAULT,4,2                ## @RTF_DEFAULT
	.comm	_RTF_ADDRCONF,4,2               ## @RTF_ADDRCONF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt6_purge_dflt_routers         ; -- Begin function rt6_purge_dflt_routers
	.p2align	2
_rt6_purge_dflt_routers:                ; @rt6_purge_dflt_routers
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _RT6_TABLE_DFLT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RT6_TABLE_DFLT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_fib6_get_table
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
	bl	_read_lock_bh
	ldr	x20, [x19, #8]
	cbz	x20, LBB0_7
; %bb.2:
Lloh3:
	adrp	x21, _RTF_DEFAULT@GOTPAGE
Lloh4:
	ldr	x21, [x21, _RTF_DEFAULT@GOTPAGEOFF]
Lloh5:
	adrp	x22, _RTF_ADDRCONF@GOTPAGE
Lloh6:
	ldr	x22, [x22, _RTF_ADDRCONF@GOTPAGEOFF]
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldr	w8, [x21]
	ldr	w9, [x22]
	orr	w8, w9, w8
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w9, [x20]
	tst	w8, w9
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	x20, [x20, #8]
	cbnz	x20, LBB0_4
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x20, #8
	bl	_dst_hold
	mov	x0, x19
	bl	_read_unlock_bh
	mov	x0, x20
	bl	_ip6_del_rt
	mov	x0, x19
	bl	_read_lock_bh
	ldr	x20, [x19, #8]
	cbnz	x20, LBB0_3
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_read_unlock_bh
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_RT6_TABLE_DFLT,4,2             ; @RT6_TABLE_DFLT
	.comm	_RTF_DEFAULT,4,2                ; @RTF_DEFAULT
	.comm	_RTF_ADDRCONF,4,2               ; @RTF_ADDRCONF
.subsections_via_symbols
