	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_winsock_init                   ## -- Begin function winsock_init
	.p2align	4, 0x90
_winsock_init:                          ## @winsock_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$3, %edi
	movl	$3, %esi
	callq	_MAKEWORD
	movq	_WSAData@GOTPCREL(%rip), %rsi
	movl	%eax, %edi
	callq	_WSAStartup
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_init@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	leaq	l_.str(%rip), %rdi
	callq	_tirpc_report
	xorl	%eax, %eax
	callq	_WSACleanup
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WSAData,4,2                    ## @WSAData
	.comm	_init,8,3                       ## @init
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.long	87                              ## 0x57
	.long	83                              ## 0x53
	.long	65                              ## 0x41
	.long	83                              ## 0x53
	.long	116                             ## 0x74
	.long	97                              ## 0x61
	.long	114                             ## 0x72
	.long	116                             ## 0x74
	.long	117                             ## 0x75
	.long	112                             ## 0x70
	.long	32                              ## 0x20
	.long	102                             ## 0x66
	.long	97                              ## 0x61
	.long	105                             ## 0x69
	.long	108                             ## 0x6c
	.long	101                             ## 0x65
	.long	100                             ## 0x64
	.long	33                              ## 0x21
	.long	10                              ## 0xa
	.long	0                               ## 0x0

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_winsock_init                   ; -- Begin function winsock_init
	.p2align	2
_winsock_init:                          ; @winsock_init
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	w0, #3
	mov	w1, #3
	bl	_MAKEWORD
Lloh0:
	adrp	x1, _WSAData@GOTPAGE
Lloh1:
	ldr	x1, [x1, _WSAData@GOTPAGEOFF]
	bl	_WSAStartup
	cbz	w0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _init@GOTPAGE
Lloh3:
	ldr	x8, [x8, _init@GOTPAGEOFF]
Lloh4:
	str	xzr, [x8]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_tirpc_report
	bl	_WSACleanup
Lloh7:
	adrp	x8, _FALSE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _TRUE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_WSAData,4,2                    ; @WSAData
	.comm	_init,8,3                       ; @init
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.long	87                              ; 0x57
	.long	83                              ; 0x53
	.long	65                              ; 0x41
	.long	83                              ; 0x53
	.long	116                             ; 0x74
	.long	97                              ; 0x61
	.long	114                             ; 0x72
	.long	116                             ; 0x74
	.long	117                             ; 0x75
	.long	112                             ; 0x70
	.long	32                              ; 0x20
	.long	102                             ; 0x66
	.long	97                              ; 0x61
	.long	105                             ; 0x69
	.long	108                             ; 0x6c
	.long	101                             ; 0x65
	.long	100                             ; 0x64
	.long	33                              ; 0x21
	.long	10                              ; 0xa
	.long	0                               ; 0x0

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
