	.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_noudp@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_3
## %bb.1:
	movq	_net_noipx@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	_qfalse@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
LBB0_3:
	movq	_networkingEnabled@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	cmpq	%rdx, %rbx
	jne	LBB0_5
## %bb.4:
	testq	%rax, %rax
	je	LBB0_25
LBB0_5:
	cmpq	%rdx, %rbx
	jne	LBB0_10
## %bb.6:
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.7:
	movq	_qtrue@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_10:
	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_12
	jmp	LBB0_21
LBB0_9:
	movq	_qfalse@GOTPCREL(%rip), %rax
LBB0_8:
	movq	(%rax), %rax
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_21
LBB0_12:
	movq	_ip_socket@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	_INVALID_SOCKET@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.13:
	cmpq	%rax, %rdi
	je	LBB0_15
## %bb.14:
	callq	_closesocket
	movq	$0, (%rbx)
	movq	(%r12), %rax
LBB0_15:
	movq	_socks_socket@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.16:
	cmpq	%rax, %rdi
	je	LBB0_18
## %bb.17:
	callq	_closesocket
	movq	$0, (%rbx)
	movq	(%r12), %rax
LBB0_18:
	movq	_ipx_socket@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.19:
	cmpq	%rax, %rdi
	je	LBB0_21
## %bb.20:
	callq	_closesocket
	movq	$0, (%rbx)
LBB0_21:
	testq	%r15, %r15
	je	LBB0_25
## %bb.22:
	movq	(%r14), %rax
	cmpq	$0, (%rax)
	jne	LBB0_24
## %bb.23:
	xorl	%eax, %eax
	callq	_NET_OpenIP
LBB0_24:
	movq	_net_noipx@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_26
LBB0_25:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_NET_OpenIPX                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_net_noudp,8,3                  ## @net_noudp
	.comm	_net_noipx,8,3                  ## @net_noipx
	.comm	_qfalse,8,3                     ## @qfalse
	.comm	_networkingEnabled,8,3          ## @networkingEnabled
	.comm	_qtrue,8,3                      ## @qtrue
	.comm	_ip_socket,8,3                  ## @ip_socket
	.comm	_INVALID_SOCKET,8,3             ## @INVALID_SOCKET
	.comm	_socks_socket,8,3               ## @socks_socket
	.comm	_ipx_socket,8,3                 ## @ipx_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	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
	mov	x19, x0
	bl	_NET_GetCvars
Lloh0:
	adrp	x20, _net_noudp@GOTPAGE
Lloh1:
	ldr	x20, [x20, _net_noudp@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _net_noipx@GOTPAGE
Lloh3:
	ldr	x8, [x8, _net_noipx@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _qfalse@GOTPAGE
Lloh6:
	ldr	x9, [x9, _qfalse@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, #0
	csel	x19, x19, x9, eq
LBB0_2:
Lloh8:
	adrp	x8, _networkingEnabled@GOTPAGE
Lloh9:
	ldr	x8, [x8, _networkingEnabled@GOTPAGEOFF]
	ldr	x9, [x8]
	cmp	x19, x9
	ccmp	x0, #0, #0, eq
	b.eq	LBB0_20
; %bb.3:
	cmp	x19, x9
	b.ne	LBB0_6
; %bb.4:
	cbz	x19, LBB0_7
; %bb.5:
Lloh10:
	adrp	x8, _qtrue@GOTPAGE
Lloh11:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh12:
	adrp	x9, _qfalse@GOTPAGE
Lloh13:
	ldr	x9, [x9, _qfalse@GOTPAGEOFF]
Lloh14:
	adrp	x10, _qtrue@GOTPAGE
Lloh15:
	ldr	x10, [x10, _qtrue@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
Lloh17:
	ldr	x10, [x10]
	cmp	x19, #0
	csel	x21, x9, x10, eq
	csel	x9, x10, x9, eq
	str	x19, [x8]
	cbnz	x9, LBB0_9
	b	LBB0_16
LBB0_7:
Lloh18:
	adrp	x8, _qfalse@GOTPAGE
Lloh19:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
LBB0_8:
	ldr	x9, [x8]
	mov	x21, x9
	cbz	x9, LBB0_16
LBB0_9:
Lloh20:
	adrp	x22, _ip_socket@GOTPAGE
Lloh21:
	ldr	x22, [x22, _ip_socket@GOTPAGEOFF]
	ldr	x0, [x22]
Lloh22:
	adrp	x19, _INVALID_SOCKET@GOTPAGE
Lloh23:
	ldr	x19, [x19, _INVALID_SOCKET@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x0, #0
	ccmp	x0, x8, #4, ne
	b.eq	LBB0_11
; %bb.10:
	bl	_closesocket
	str	xzr, [x22]
	ldr	x8, [x19]
LBB0_11:
Lloh24:
	adrp	x22, _socks_socket@GOTPAGE
Lloh25:
	ldr	x22, [x22, _socks_socket@GOTPAGEOFF]
	ldr	x0, [x22]
	cmp	x0, #0
	ccmp	x0, x8, #4, ne
	b.eq	LBB0_13
; %bb.12:
	bl	_closesocket
	str	xzr, [x22]
	ldr	x8, [x19]
LBB0_13:
Lloh26:
	adrp	x19, _ipx_socket@GOTPAGE
Lloh27:
	ldr	x19, [x19, _ipx_socket@GOTPAGEOFF]
	ldr	x0, [x19]
	cbz	x0, LBB0_16
; %bb.14:
	cmp	x0, x8
	b.eq	LBB0_16
; %bb.15:
	bl	_closesocket
	str	xzr, [x19]
LBB0_16:
	cbz	x21, LBB0_20
; %bb.17:
	ldr	x8, [x20]
	ldr	x8, [x8]
	cbnz	x8, LBB0_19
; %bb.18:
	bl	_NET_OpenIP
LBB0_19:
Lloh28:
	adrp	x8, _net_noipx@GOTPAGE
Lloh29:
	ldr	x8, [x8, _net_noipx@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_21
LBB0_20:
	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
LBB0_21:
	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	_NET_OpenIPX
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_net_noudp,8,3                  ; @net_noudp
	.comm	_net_noipx,8,3                  ; @net_noipx
	.comm	_qfalse,8,3                     ; @qfalse
	.comm	_networkingEnabled,8,3          ; @networkingEnabled
	.comm	_qtrue,8,3                      ; @qtrue
	.comm	_ip_socket,8,3                  ; @ip_socket
	.comm	_INVALID_SOCKET,8,3             ; @INVALID_SOCKET
	.comm	_socks_socket,8,3               ; @socks_socket
	.comm	_ipx_socket,8,3                 ; @ipx_socket
.subsections_via_symbols
