	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_extension_functions
_init_extension_functions:              ## @init_extension_functions
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_WSAID_ACCEPTEX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movq	_WSAID_CONNECTEX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movq	_WSAID_GETACCEPTEXSOCKADDRS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_socket
	movq	%rax, %rbx
	movq	_INVALID_SOCKET@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_2
## %bb.1:
	leaq	-28(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_get_extension_function
	movq	%rax, 16(%r14)
	leaq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_get_extension_function
	movq	%rax, 8(%r14)
	leaq	-20(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_get_extension_function
	movq	%rax, (%r14)
	movq	%rbx, %rdi
	callq	_closesocket
	movq	_extension_fns_initialized@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WSAID_ACCEPTEX,4,2             ## @WSAID_ACCEPTEX
	.comm	_WSAID_CONNECTEX,4,2            ## @WSAID_CONNECTEX
	.comm	_WSAID_GETACCEPTEXSOCKADDRS,4,2 ## @WSAID_GETACCEPTEXSOCKADDRS
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_SOCK_STREAM,4,2                ## @SOCK_STREAM
	.comm	_INVALID_SOCKET,8,3             ## @INVALID_SOCKET
	.comm	_extension_fns_initialized,4,2  ## @extension_fns_initialized
	.no_dead_strip	_init_extension_functions
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_extension_functions
_init_extension_functions:              ; @init_extension_functions
	.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	x19, x0
Lloh0:
	adrp	x8, _WSAID_ACCEPTEX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WSAID_ACCEPTEX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
Lloh3:
	adrp	x8, _WSAID_CONNECTEX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WSAID_CONNECTEX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #8]
Lloh6:
	adrp	x8, _WSAID_GETACCEPTEXSOCKADDRS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WSAID_GETACCEPTEXSOCKADDRS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [sp, #4]
Lloh9:
	adrp	x8, _AF_INET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _SOCK_STREAM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SOCK_STREAM@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_socket
Lloh15:
	adrp	x8, _INVALID_SOCKET@GOTPAGE
Lloh16:
	ldr	x8, [x8, _INVALID_SOCKET@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
	mov	x20, x0
	add	x1, sp, #12
	bl	_get_extension_function
	str	x0, [x19, #16]
	add	x1, sp, #8
	mov	x0, x20
	bl	_get_extension_function
	str	x0, [x19, #8]
	add	x1, sp, #4
	mov	x0, x20
	bl	_get_extension_function
	str	x0, [x19]
	mov	x0, x20
	bl	_closesocket
Lloh18:
	adrp	x8, _extension_fns_initialized@GOTPAGE
Lloh19:
	ldr	x8, [x8, _extension_fns_initialized@GOTPAGEOFF]
	mov	w9, #1
Lloh20:
	str	w9, [x8]
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_WSAID_ACCEPTEX,4,2             ; @WSAID_ACCEPTEX
	.comm	_WSAID_CONNECTEX,4,2            ; @WSAID_CONNECTEX
	.comm	_WSAID_GETACCEPTEXSOCKADDRS,4,2 ; @WSAID_GETACCEPTEXSOCKADDRS
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_SOCK_STREAM,4,2                ; @SOCK_STREAM
	.comm	_INVALID_SOCKET,8,3             ; @INVALID_SOCKET
	.comm	_extension_fns_initialized,4,2  ; @extension_fns_initialized
	.no_dead_strip	_init_extension_functions
.subsections_via_symbols
