	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pfr_unroute_kentry
_pfr_unroute_kentry:                    ## @pfr_unroute_kentry
	.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
	movl	8(%rsi), %eax
	movq	_AF_INET@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.1:
	movq	8(%rdi), %r14
	jmp	LBB0_5
LBB0_2:
	movq	_AF_INET6@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_3
## %bb.4:
	movq	(%rdi), %r14
	jmp	LBB0_5
LBB0_3:
	xorl	%r14d, %r14d
LBB0_5:
	movq	%rbx, %rdi
	callq	_KENTRY_NETWORK
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	4(%rbx), %edx
	movl	8(%rbx), %esi
	leaq	-32(%rbp), %r15
	movq	%r15, %rdi
	callq	_pfr_prepare_network
	movq	%rbx, %rdi
	movq	%r15, %rsi
	jmp	LBB0_8
LBB0_7:
	movq	%rbx, %rdi
	xorl	%esi, %esi
LBB0_8:
	movq	%r14, %rdx
	callq	_rn_delete
	xorl	%ecx, %ecx
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movl	$-1, %ecx
LBB0_10:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"pfr_unroute_kentry: delete failed."

	.no_dead_strip	_pfr_unroute_kentry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pfr_unroute_kentry
_pfr_unroute_kentry:                    ; @pfr_unroute_kentry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	ldr	w8, [x1, #8]
Lloh0:
	adrp	x9, _AF_INET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AF_INET@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	ldr	x20, [x0, #8]
	b	LBB0_5
LBB0_2:
Lloh3:
	adrp	x9, _AF_INET6@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AF_INET6@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.3:
	ldr	x20, [x0]
	b	LBB0_5
LBB0_4:
	mov	x20, #0
LBB0_5:
	mov	x0, x19
	bl	_KENTRY_NETWORK
	cbz	x0, LBB0_7
; %bb.6:
	ldp	w2, w1, [x19, #4]
	add	x0, sp, #8
	bl	_pfr_prepare_network
	add	x1, sp, #8
	mov	x0, x19
	b	LBB0_8
LBB0_7:
	mov	x0, x19
	mov	x1, #0
LBB0_8:
	mov	x2, x20
	bl	_rn_delete
	cbz	x0, LBB0_10
; %bb.9:
	mov	w0, #0
	b	LBB0_11
LBB0_10:
Lloh6:
	adrp	x0, l_str@PAGE
Lloh7:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	w0, #-1
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"pfr_unroute_kentry: delete failed."

	.no_dead_strip	_pfr_unroute_kentry
.subsections_via_symbols
