	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function undo_redirect_default_route_to_vpn
_undo_redirect_default_route_to_vpn:    ## @undo_redirect_default_route_to_vpn
	.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	%rdi, %rdi
	je	LBB0_11
## %bb.1:
	movq	%rcx, %r10
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	movq	_RL_DID_REDIRECT_DEFAULT_GATEWAY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.2:
	movq	%r8, %r15
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	_RL_DID_LOCAL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movl	12(%rbx), %edx
	movl	16(%rbx), %edi
	movq	_IPV4_NETMASK_HOST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	8(%rbx), %r9
	movq	_ROUTE_REF_GW@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	orl	%r12d, %r8d
	movq	%r13, %rcx
	pushq	%r15
	pushq	%r10
	movq	%r10, %r14
	callq	_del_route3
	movq	%r14, %r10
	addq	$16, %rsp
	movq	_RL_DID_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%rbx)
LBB0_4:
	leaq	24(%rbx), %rdi
	leaq	8(%rbx), %r14
	movl	12(%rbx), %esi
	subq	$8, %rsp
	movq	%r13, %rdx
	movl	%r12d, %ecx
	movq	%r14, %r8
	movq	%r10, %r9
	pushq	%r15
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r10, %r15
	callq	_del_bypass_routes
	addq	$16, %rsp
	movl	4(%rbx), %eax
	movq	_RG_REROUTE_GW@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_10
## %bb.5:
	movq	-64(%rbp), %r11                 ## 8-byte Reload
	movq	%r15, %r10
	movq	_RG_DEF1@GOTPCREL(%rip), %rsi
	movl	20(%rbx), %edx
	testl	%eax, (%rsi)
	je	LBB0_7
## %bb.6:
	xorl	%edi, %edi
	movl	$-2147483648, %esi              ## imm = 0x80000000
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rcx
	movl	%r12d, %r8d
	movq	%r14, %r9
	movq	%r11, %r13
	pushq	%r11
	movq	%r10, %r15
	pushq	%r10
	callq	_del_route3
	addq	$16, %rsp
	movl	20(%rbx), %edx
	movl	$-2147483648, %edi              ## imm = 0x80000000
	movl	$-2147483648, %esi              ## imm = 0x80000000
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%r12d, %r8d
	movq	%r14, %r9
	pushq	%r13
	pushq	%r15
	callq	_del_route3
	jmp	LBB0_9
LBB0_7:
	xorl	%edi, %edi
	xorl	%esi, %esi
	movq	%r13, %rcx
	movl	%r12d, %r8d
	movq	%r14, %r9
	movq	%r11, %r15
	pushq	%r11
	movq	%r10, -48(%rbp)                 ## 8-byte Spill
	pushq	%r10
	callq	_del_route3
	addq	$16, %rsp
	movq	_RGI_ADDR_DEFINED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_10
## %bb.8:
	movl	12(%rbx), %edx
	movq	_ROUTE_REF_GW@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	xorl	%edi, %edi
	xorl	%esi, %esi
	movq	%r13, %rcx
	movl	%r12d, %r8d
	movq	%r14, %r9
	pushq	%r15
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	callq	_add_route3
LBB0_9:
	addq	$16, %rsp
LBB0_10:
	movq	_RL_DID_REDIRECT_DEFAULT_GATEWAY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%rbx)
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RL_DID_REDIRECT_DEFAULT_GATEWAY,4,2 ## @RL_DID_REDIRECT_DEFAULT_GATEWAY
	.comm	_RL_DID_LOCAL,4,2               ## @RL_DID_LOCAL
	.comm	_IPV4_NETMASK_HOST,4,2          ## @IPV4_NETMASK_HOST
	.comm	_ROUTE_REF_GW,4,2               ## @ROUTE_REF_GW
	.comm	_RG_REROUTE_GW,4,2              ## @RG_REROUTE_GW
	.comm	_RG_DEF1,4,2                    ## @RG_DEF1
	.comm	_RGI_ADDR_DEFINED,4,2           ## @RGI_ADDR_DEFINED
	.no_dead_strip	_undo_redirect_default_route_to_vpn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function undo_redirect_default_route_to_vpn
_undo_redirect_default_route_to_vpn:    ; @undo_redirect_default_route_to_vpn
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cbz	x0, LBB0_10
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x25, _RL_DID_REDIRECT_DEFAULT_GATEWAY@GOTPAGE
Lloh1:
	ldr	x25, [x25, _RL_DID_REDIRECT_DEFAULT_GATEWAY@GOTPAGEOFF]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.2:
	mov	x20, x4
	mov	x21, x3
	mov	x23, x2
	mov	x22, x1
Lloh2:
	adrp	x24, _RL_DID_LOCAL@GOTPAGE
Lloh3:
	ldr	x24, [x24, _RL_DID_LOCAL@GOTPAGEOFF]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh4:
	adrp	x8, _IPV4_NETMASK_HOST@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IPV4_NETMASK_HOST@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	add	x5, x19, #8
	ldp	w2, w0, [x19, #12]
Lloh7:
	adrp	x8, _ROUTE_REF_GW@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ROUTE_REF_GW@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	orr	w4, w8, w23
	mov	x3, x22
	mov	x6, x21
	mov	x7, x20
	bl	_del_route3
	ldr	w8, [x24]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
LBB0_4:
	add	x0, x19, #24
	add	x24, x19, #8
	ldr	w1, [x19, #12]
	mov	x2, x22
	mov	x3, x23
	mov	x4, x24
	mov	x5, x21
	mov	x6, x20
	bl	_del_bypass_routes
	ldr	w8, [x19, #4]
Lloh10:
	adrp	x9, _RG_REROUTE_GW@GOTPAGE
Lloh11:
	ldr	x9, [x9, _RG_REROUTE_GW@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.5:
Lloh13:
	adrp	x9, _RG_DEF1@GOTPAGE
Lloh14:
	ldr	x9, [x9, _RG_DEF1@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	ldr	w2, [x19, #20]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
	mov	w0, #0
	mov	w1, #-2147483648
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	mov	x6, x21
	mov	x7, x20
	bl	_del_route3
	ldr	w2, [x19, #20]
	mov	w0, #-2147483648
	mov	w1, #-2147483648
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	mov	x6, x21
	mov	x7, x20
	bl	_del_route3
	b	LBB0_9
LBB0_7:
	mov	w0, #0
	mov	w1, #0
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	mov	x6, x21
	mov	x7, x20
	bl	_del_route3
	ldr	w8, [x24]
Lloh16:
	adrp	x9, _RGI_ADDR_DEFINED@GOTPAGE
Lloh17:
	ldr	x9, [x9, _RGI_ADDR_DEFINED@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
	ldr	w2, [x19, #12]
Lloh19:
	adrp	x8, _ROUTE_REF_GW@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ROUTE_REF_GW@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	orr	w4, w8, w23
	mov	w0, #0
	mov	w1, #0
	mov	x3, x22
	mov	x5, x24
	mov	x6, x21
	mov	x7, x20
	bl	_add_route3
LBB0_9:
	ldr	w8, [x25]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_RL_DID_REDIRECT_DEFAULT_GATEWAY,4,2 ; @RL_DID_REDIRECT_DEFAULT_GATEWAY
	.comm	_RL_DID_LOCAL,4,2               ; @RL_DID_LOCAL
	.comm	_IPV4_NETMASK_HOST,4,2          ; @IPV4_NETMASK_HOST
	.comm	_ROUTE_REF_GW,4,2               ; @ROUTE_REF_GW
	.comm	_RG_REROUTE_GW,4,2              ; @RG_REROUTE_GW
	.comm	_RG_DEF1,4,2                    ; @RG_DEF1
	.comm	_RGI_ADDR_DEFINED,4,2           ; @RGI_ADDR_DEFINED
	.no_dead_strip	_undo_redirect_default_route_to_vpn
.subsections_via_symbols
