	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vc_container_net_accept        ## -- Begin function vc_container_net_accept
	.p2align	4, 0x90
_vc_container_net_accept:               ## @vc_container_net_accept
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.4:
	movq	%rdi, %r13
	movq	$0, (%r14)
	movq	(%rdi), %rax
	movq	_STREAM_SERVER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.7:
	movl	$40, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%rax, %r15
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	leaq	36(%r15), %r12
	leaq	36(%r13), %rsi
	movl	32(%r13), %edx
	movq	%r12, %rdi
	callq	_memcpy
	movl	32(%r13), %eax
	movq	%r15, %rdx
	addq	$32, %rdx
	movl	%eax, 32(%r15)
	movq	16(%r13), %rdi
	movq	%r12, %rsi
	callq	_accept
	movq	%rax, 16(%r15)
	movq	_INVALID_SOCKET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.10:
	xorl	%eax, %eax
	callq	_vc_container_net_private_last_error
	movq	%rax, 8(%r13)
	jmp	LBB0_11
LBB0_1:
	movq	_VC_CONTAINER_NET_ERROR_INVALID_SOCKET@GOTPCREL(%rip), %rbx
	jmp	LBB0_15
LBB0_3:
	movq	_VC_CONTAINER_NET_ERROR_INVALID_PARAMETER@GOTPCREL(%rip), %rbx
	jmp	LBB0_15
LBB0_5:
	movq	_VC_CONTAINER_NET_ERROR_NOT_ALLOWED@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_8:
	movq	_VC_CONTAINER_NET_ERROR_NO_MEMORY@GOTPCREL(%rip), %rax
LBB0_6:
	movq	(%rax), %rax
	movq	%rax, 8(%r13)
	jmp	LBB0_12
LBB0_13:
	xorl	%eax, %eax
	callq	_vc_container_net_private_init
	movq	%rax, 8(%r13)
	movq	_VC_CONTAINER_NET_SUCCESS@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_11
## %bb.14:
	movq	_STREAM_CLIENT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	movq	16(%r15), %rdi
	callq	_vc_container_net_private_maximum_datagram_size
	movl	%eax, 28(%r15)
	movq	_INFINITE_TIMEOUT_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	movq	(%rbx), %rax
	movq	%rax, 8(%r15)
	movq	%r15, (%r14)
	jmp	LBB0_15
LBB0_11:
	movq	%r15, %rdi
	callq	_free
LBB0_12:
	addq	$8, %r13
	movq	%r13, %rbx
LBB0_15:
	movq	(%rbx), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_NET_ERROR_INVALID_SOCKET,8,3 ## @VC_CONTAINER_NET_ERROR_INVALID_SOCKET
	.comm	_VC_CONTAINER_NET_ERROR_INVALID_PARAMETER,8,3 ## @VC_CONTAINER_NET_ERROR_INVALID_PARAMETER
	.comm	_STREAM_SERVER,8,3              ## @STREAM_SERVER
	.comm	_VC_CONTAINER_NET_ERROR_NOT_ALLOWED,8,3 ## @VC_CONTAINER_NET_ERROR_NOT_ALLOWED
	.comm	_VC_CONTAINER_NET_ERROR_NO_MEMORY,8,3 ## @VC_CONTAINER_NET_ERROR_NO_MEMORY
	.comm	_INVALID_SOCKET,8,3             ## @INVALID_SOCKET
	.comm	_VC_CONTAINER_NET_SUCCESS,8,3   ## @VC_CONTAINER_NET_SUCCESS
	.comm	_STREAM_CLIENT,8,3              ## @STREAM_CLIENT
	.comm	_INFINITE_TIMEOUT_MS,4,2        ## @INFINITE_TIMEOUT_MS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vc_container_net_accept        ; -- Begin function vc_container_net_accept
	.p2align	2
_vc_container_net_accept:               ; @vc_container_net_accept
	.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
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_7
; %bb.2:
	mov	x19, x0
	str	xzr, [x20]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _STREAM_SERVER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _STREAM_SERVER@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.3:
	mov	w0, #40
	bl	_malloc
	cbz	x0, LBB0_9
; %bb.4:
	mov	x21, x0
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	add	x22, x21, #36
	add	x1, x19, #36
	ldr	w2, [x19, #32]
	mov	x0, x22
	bl	_memcpy
	ldr	w8, [x19, #32]
	mov	x23, x21
	str	w8, [x23, #32]!
	ldr	x0, [x19, #16]
	mov	x1, x22
	mov	x2, x23
	bl	_accept
	stur	x0, [x23, #-16]
Lloh3:
	adrp	x8, _INVALID_SOCKET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INVALID_SOCKET@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.5:
	bl	_vc_container_net_private_last_error
	str	x0, [x19, #8]
	b	LBB0_13
LBB0_6:
Lloh6:
	adrp	x22, _VC_CONTAINER_NET_ERROR_INVALID_SOCKET@GOTPAGE
Lloh7:
	ldr	x22, [x22, _VC_CONTAINER_NET_ERROR_INVALID_SOCKET@GOTPAGEOFF]
	b	LBB0_15
LBB0_7:
Lloh8:
	adrp	x22, _VC_CONTAINER_NET_ERROR_INVALID_PARAMETER@GOTPAGE
Lloh9:
	ldr	x22, [x22, _VC_CONTAINER_NET_ERROR_INVALID_PARAMETER@GOTPAGEOFF]
	b	LBB0_15
LBB0_8:
Lloh10:
	adrp	x8, _VC_CONTAINER_NET_ERROR_NOT_ALLOWED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _VC_CONTAINER_NET_ERROR_NOT_ALLOWED@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh12:
	adrp	x8, _VC_CONTAINER_NET_ERROR_NO_MEMORY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VC_CONTAINER_NET_ERROR_NO_MEMORY@GOTPAGEOFF]
LBB0_10:
	ldr	x8, [x8]
	str	x8, [x19, #8]
	b	LBB0_14
LBB0_11:
	bl	_vc_container_net_private_init
	str	x0, [x19, #8]
Lloh14:
	adrp	x22, _VC_CONTAINER_NET_SUCCESS@GOTPAGE
Lloh15:
	ldr	x22, [x22, _VC_CONTAINER_NET_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.12:
Lloh16:
	adrp	x8, _STREAM_CLIENT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _STREAM_CLIENT@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	str	x8, [x21]
	ldr	x0, [x21, #16]
	bl	_vc_container_net_private_maximum_datagram_size
Lloh19:
	adrp	x8, _INFINITE_TIMEOUT_MS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _INFINITE_TIMEOUT_MS@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	stp	w8, w0, [x21, #24]
	ldr	x8, [x22]
	str	x8, [x21, #8]
	str	x21, [x20]
	b	LBB0_15
LBB0_13:
	mov	x0, x21
	bl	_free
LBB0_14:
	add	x22, x19, #8
LBB0_15:
	ldr	x0, [x22]
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_NET_ERROR_INVALID_SOCKET,8,3 ; @VC_CONTAINER_NET_ERROR_INVALID_SOCKET
	.comm	_VC_CONTAINER_NET_ERROR_INVALID_PARAMETER,8,3 ; @VC_CONTAINER_NET_ERROR_INVALID_PARAMETER
	.comm	_STREAM_SERVER,8,3              ; @STREAM_SERVER
	.comm	_VC_CONTAINER_NET_ERROR_NOT_ALLOWED,8,3 ; @VC_CONTAINER_NET_ERROR_NOT_ALLOWED
	.comm	_VC_CONTAINER_NET_ERROR_NO_MEMORY,8,3 ; @VC_CONTAINER_NET_ERROR_NO_MEMORY
	.comm	_INVALID_SOCKET,8,3             ; @INVALID_SOCKET
	.comm	_VC_CONTAINER_NET_SUCCESS,8,3   ; @VC_CONTAINER_NET_SUCCESS
	.comm	_STREAM_CLIENT,8,3              ; @STREAM_CLIENT
	.comm	_INFINITE_TIMEOUT_MS,4,2        ; @INFINITE_TIMEOUT_MS
.subsections_via_symbols
