	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NET_Init                       ## -- Begin function NET_Init
	.p2align	4, 0x90
_NET_Init:                              ## @NET_Init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	$1, %edi
	movl	$1, %esi
	callq	_MAKEWORD
	movq	_winsockdata@GOTPCREL(%rip), %rsi
	movl	%eax, %edi
	callq	_WSAStartup
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_Com_Printf                     ## TAILCALL
LBB0_2:
	movq	_qtrue@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movq	_winsockInitialized@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_Com_Printf
	xorl	%eax, %eax
	callq	_NET_GetCvars
	movl	(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_NET_Config                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_winsockdata,4,2                ## @winsockdata
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WARNING: Winsock initialization failed, returned %d\n"

	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_winsockInitialized,4,2         ## @winsockInitialized
L_.str.1:                               ## @.str.1
	.asciz	"Winsock Initialized\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NET_Init                       ; -- Begin function NET_Init
	.p2align	2
_NET_Init:                              ; @NET_Init
	.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	w0, #1
	mov	w1, #1
	bl	_MAKEWORD
Lloh0:
	adrp	x1, _winsockdata@GOTPAGE
Lloh1:
	ldr	x1, [x1, _winsockdata@GOTPAGEOFF]
	bl	_WSAStartup
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_2
; %bb.1:
	str	x0, [sp]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Com_Printf
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_2:
Lloh4:
	adrp	x19, _qtrue@GOTPAGE
Lloh5:
	ldr	x19, [x19, _qtrue@GOTPAGEOFF]
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _winsockInitialized@GOTPAGE
Lloh7:
	ldr	x9, [x9, _winsockInitialized@GOTPAGEOFF]
Lloh8:
	str	w8, [x9]
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Com_Printf
	bl	_NET_GetCvars
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_NET_Config
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_winsockdata,4,2                ; @winsockdata
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WARNING: Winsock initialization failed, returned %d\n"

	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_winsockInitialized,4,2         ; @winsockInitialized
l_.str.1:                               ; @.str.1
	.asciz	"Winsock Initialized\n"

.subsections_via_symbols
