	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_init_route_list
_do_init_route_list:                    ## @do_init_route_list
	.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
	movq	%r8, %r15
	movq	%rcx, %r13
	movq	%rdx, %r12
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movl	32(%rdi), %esi
	movl	36(%rdi), %edi
	callq	_dev_type_enum
	movq	_DEV_TYPE_TUN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_1
## %bb.2:
	movq	(%rbx), %rax
	movq	_TOP_NET30@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	_TOP_P2P@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
LBB0_1:
	movq	%r15, %r14
	xorl	%r15d, %r15d
	jmp	LBB0_5
LBB0_4:
	movq	%r15, %r14
	movq	8(%rbx), %r15
LBB0_5:
	movq	%r12, %rdi
	movq	16(%rbx), %rax
	testq	%rax, %rax
	cmovneq	%rax, %r15
	movl	24(%rbx), %r12d
	movl	28(%rbx), %ebx
	callq	_link_socket_current_remote
	movq	%r14, (%rsp)
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	movl	%r12d, %ecx
	movl	%eax, %r8d
	movq	%r13, %r9
	callq	_init_route_list
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%r13, %rdi
	movq	%r14, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_setenv_routes                  ## TAILCALL
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEV_TYPE_TUN,4,2               ## @DEV_TYPE_TUN
	.comm	_TOP_NET30,8,3                  ## @TOP_NET30
	.comm	_TOP_P2P,8,3                    ## @TOP_P2P
	.no_dead_strip	_do_init_route_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_init_route_list
_do_init_route_list:                    ; @do_init_route_list
	.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
	mov	x21, x4
	mov	x19, x3
	mov	x22, x2
	mov	x20, x1
	mov	x23, x0
	ldr	w0, [x0, #36]
	ldr	w1, [x23, #32]
	bl	_dev_type_enum
Lloh0:
	adrp	x8, _DEV_TYPE_TUN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEV_TYPE_TUN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x23]
Lloh3:
	adrp	x9, _TOP_NET30@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TOP_NET30@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _TOP_P2P@GOTPAGE
Lloh7:
	ldr	x10, [x10, _TOP_P2P@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_3
; %bb.2:
	ldr	x8, [x23, #8]
	b	LBB0_4
LBB0_3:
	mov	x8, #0
LBB0_4:
	ldr	x9, [x23, #16]
	cmp	x9, #0
	csel	x24, x8, x9, eq
	ldp	w25, w23, [x23, #24]
	mov	x0, x22
	bl	_link_socket_current_remote
	mov	x4, x0
	mov	x0, x20
	mov	x1, x23
	mov	x2, x24
	mov	x3, x25
	mov	x5, x19
	mov	x6, x21
	bl	_init_route_list
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	mov	x1, x20
	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
	b	_setenv_routes
LBB0_6:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_DEV_TYPE_TUN,4,2               ; @DEV_TYPE_TUN
	.comm	_TOP_NET30,8,3                  ; @TOP_NET30
	.comm	_TOP_P2P,8,3                    ; @TOP_P2P
	.no_dead_strip	_do_init_route_list
.subsections_via_symbols
