	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NET_Config                     ## -- Begin function NET_Config
	.p2align	4, 0x90
_NET_Config:                            ## @NET_Config
	.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	%rdi, %rbx
	xorl	%eax, %eax
	callq	_NET_GetCvars
	movq	_net_enabled@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	cmoveq	%rcx, %rbx
	movq	_networkingEnabled@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	cmpq	%rdx, %rbx
	jne	LBB0_2
## %bb.1:
	testq	%rax, %rax
	je	LBB0_21
LBB0_2:
	cmpq	%rdx, %rbx
	jne	LBB0_7
## %bb.3:
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.4:
	movq	_qtrue@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_7:
	testq	%rbx, %rbx
	movq	_qfalse@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_qtrue@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, %r15
	cmoveq	%rax, %r15
	cmoveq	%rdx, %rax
	movq	%rbx, (%rcx)
	testq	%rax, %rax
	jne	LBB0_9
	jmp	LBB0_19
LBB0_6:
	movq	_qfalse@GOTPCREL(%rip), %rax
LBB0_5:
	movq	(%rax), %rax
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_19
LBB0_9:
	movq	_ip_socket@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	_INVALID_SOCKET@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rdi
	je	LBB0_11
## %bb.10:
	callq	_closesocket
	movq	(%r12), %rdi
	movq	%rdi, (%rbx)
LBB0_11:
	movq	_multicast6_socket@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	cmpq	%rdi, %rax
	je	LBB0_15
## %bb.12:
	movq	_ip6_socket@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.13:
	movq	%rax, %rdi
	callq	_closesocket
	movq	(%r12), %rdi
LBB0_14:
	movq	%rdi, (%rbx)
LBB0_15:
	movq	_ip6_socket@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	cmpq	%rdi, %rax
	je	LBB0_17
## %bb.16:
	movq	%rax, %rdi
	callq	_closesocket
	movq	(%r12), %rdi
	movq	%rdi, (%rbx)
LBB0_17:
	movq	_socks_socket@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	cmpq	%rdi, %rax
	je	LBB0_19
## %bb.18:
	movq	%rax, %rdi
	callq	_closesocket
	movq	(%r12), %rax
	movq	%rax, (%rbx)
LBB0_19:
	testq	%r15, %r15
	je	LBB0_21
## %bb.20:
	movq	(%r14), %rax
	cmpq	$0, (%rax)
	je	LBB0_21
## %bb.22:
	xorl	%eax, %eax
	callq	_NET_OpenIP
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_NET_SetMulticast6              ## TAILCALL
LBB0_21:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_net_enabled,8,3                ## @net_enabled
	.comm	_networkingEnabled,8,3          ## @networkingEnabled
	.comm	_qtrue,8,3                      ## @qtrue
	.comm	_qfalse,8,3                     ## @qfalse
	.comm	_ip_socket,8,3                  ## @ip_socket
	.comm	_INVALID_SOCKET,8,3             ## @INVALID_SOCKET
	.comm	_multicast6_socket,8,3          ## @multicast6_socket
	.comm	_ip6_socket,8,3                 ## @ip6_socket
	.comm	_socks_socket,8,3               ## @socks_socket
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NET_Config                     ; -- Begin function NET_Config
	.p2align	2
_NET_Config:                            ; @NET_Config
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	bl	_NET_GetCvars
Lloh0:
	adrp	x20, _net_enabled@GOTPAGE
Lloh1:
	ldr	x20, [x20, _net_enabled@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x8, [x8]
	cmp	x8, #0
	csel	x8, xzr, x19, eq
Lloh2:
	adrp	x9, _networkingEnabled@GOTPAGE
Lloh3:
	ldr	x9, [x9, _networkingEnabled@GOTPAGEOFF]
	ldr	x10, [x9]
	cmp	x8, x10
	ccmp	x0, #0, #0, eq
	b.eq	LBB0_20
; %bb.1:
	cmp	x8, x10
	b.ne	LBB0_4
; %bb.2:
	cbz	x8, LBB0_5
; %bb.3:
Lloh4:
	adrp	x8, _qtrue@GOTPAGE
Lloh5:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh6:
	adrp	x10, _qfalse@GOTPAGE
Lloh7:
	ldr	x10, [x10, _qfalse@GOTPAGEOFF]
Lloh8:
	adrp	x11, _qtrue@GOTPAGE
Lloh9:
	ldr	x11, [x11, _qtrue@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
Lloh11:
	ldr	x11, [x11]
	cmp	x8, #0
	csel	x19, x10, x11, eq
	csel	x10, x11, x10, eq
	str	x8, [x9]
	cbnz	x10, LBB0_7
	b	LBB0_17
LBB0_5:
Lloh12:
	adrp	x8, _qfalse@GOTPAGE
Lloh13:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
LBB0_6:
	ldr	x10, [x8]
	mov	x19, x10
	cbz	x10, LBB0_17
LBB0_7:
Lloh14:
	adrp	x22, _ip_socket@GOTPAGE
Lloh15:
	ldr	x22, [x22, _ip_socket@GOTPAGEOFF]
	ldr	x0, [x22]
Lloh16:
	adrp	x21, _INVALID_SOCKET@GOTPAGE
Lloh17:
	ldr	x21, [x21, _INVALID_SOCKET@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.eq	LBB0_9
; %bb.8:
	bl	_closesocket
	ldr	x0, [x21]
	str	x0, [x22]
LBB0_9:
Lloh18:
	adrp	x23, _multicast6_socket@GOTPAGE
Lloh19:
	ldr	x23, [x23, _multicast6_socket@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh20:
	adrp	x22, _ip6_socket@GOTPAGE
Lloh21:
	ldr	x22, [x22, _ip6_socket@GOTPAGEOFF]
	cmp	x8, x0
	b.eq	LBB0_13
; %bb.10:
	ldr	x9, [x22]
	cmp	x8, x9
	b.eq	LBB0_12
; %bb.11:
	mov	x0, x8
	bl	_closesocket
	ldr	x0, [x21]
LBB0_12:
	str	x0, [x23]
LBB0_13:
	ldr	x8, [x22]
	cmp	x8, x0
	b.eq	LBB0_15
; %bb.14:
	mov	x0, x8
	bl	_closesocket
	ldr	x0, [x21]
	str	x0, [x22]
LBB0_15:
Lloh22:
	adrp	x22, _socks_socket@GOTPAGE
Lloh23:
	ldr	x22, [x22, _socks_socket@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x8, x0
	b.eq	LBB0_17
; %bb.16:
	mov	x0, x8
	bl	_closesocket
	ldr	x8, [x21]
	str	x8, [x22]
LBB0_17:
	cbz	x19, LBB0_20
; %bb.18:
	ldr	x8, [x20]
	ldr	x8, [x8]
	cbz	x8, LBB0_20
; %bb.19:
	bl	_NET_OpenIP
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_NET_SetMulticast6
LBB0_20:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_net_enabled,8,3                ; @net_enabled
	.comm	_networkingEnabled,8,3          ; @networkingEnabled
	.comm	_qtrue,8,3                      ; @qtrue
	.comm	_qfalse,8,3                     ; @qfalse
	.comm	_ip_socket,8,3                  ; @ip_socket
	.comm	_INVALID_SOCKET,8,3             ; @INVALID_SOCKET
	.comm	_multicast6_socket,8,3          ; @multicast6_socket
	.comm	_ip6_socket,8,3                 ; @ip6_socket
	.comm	_socks_socket,8,3               ; @socks_socket
.subsections_via_symbols
