	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vc_container_net_listen        ## -- Begin function vc_container_net_listen
	.p2align	4, 0x90
_vc_container_net_listen:               ## @vc_container_net_listen
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	_VC_CONTAINER_NET_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	8(%rdi), %rbx
	movl	%eax, 8(%rdi)
	movq	(%rdi), %rax
	movq	_STREAM_SERVER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.3:
	movl	12(%rdi), %edi
	callq	_listen
	movq	_SOCKET_ERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.4:
	xorl	%eax, %eax
	callq	_vc_container_net_private_last_error
	jmp	LBB0_6
LBB0_1:
	movq	_VC_CONTAINER_NET_ERROR_INVALID_SOCKET@GOTPCREL(%rip), %rbx
	jmp	LBB0_7
LBB0_5:
	movq	_VC_CONTAINER_NET_ERROR_NOT_ALLOWED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	movl	%eax, (%rbx)
LBB0_7:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_NET_ERROR_INVALID_SOCKET,4,2 ## @VC_CONTAINER_NET_ERROR_INVALID_SOCKET
	.comm	_VC_CONTAINER_NET_SUCCESS,4,2   ## @VC_CONTAINER_NET_SUCCESS
	.comm	_STREAM_SERVER,8,3              ## @STREAM_SERVER
	.comm	_SOCKET_ERROR,8,3               ## @SOCKET_ERROR
	.comm	_VC_CONTAINER_NET_ERROR_NOT_ALLOWED,4,2 ## @VC_CONTAINER_NET_ERROR_NOT_ALLOWED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vc_container_net_listen        ; -- Begin function vc_container_net_listen
	.p2align	2
_vc_container_net_listen:               ; @vc_container_net_listen
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _VC_CONTAINER_NET_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VC_CONTAINER_NET_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	x19, x0
	str	w8, [x19, #8]!
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _STREAM_SERVER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _STREAM_SERVER@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	ldr	w0, [x0, #12]
	bl	_listen
Lloh6:
	adrp	x8, _SOCKET_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SOCKET_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.3:
	bl	_vc_container_net_private_last_error
	b	LBB0_6
LBB0_4:
Lloh9:
	adrp	x19, _VC_CONTAINER_NET_ERROR_INVALID_SOCKET@GOTPAGE
Lloh10:
	ldr	x19, [x19, _VC_CONTAINER_NET_ERROR_INVALID_SOCKET@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh11:
	adrp	x8, _VC_CONTAINER_NET_ERROR_NOT_ALLOWED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VC_CONTAINER_NET_ERROR_NOT_ALLOWED@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
LBB0_6:
	str	w0, [x19]
LBB0_7:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_NET_ERROR_INVALID_SOCKET,4,2 ; @VC_CONTAINER_NET_ERROR_INVALID_SOCKET
	.comm	_VC_CONTAINER_NET_SUCCESS,4,2   ; @VC_CONTAINER_NET_SUCCESS
	.comm	_STREAM_SERVER,8,3              ; @STREAM_SERVER
	.comm	_SOCKET_ERROR,8,3               ; @SOCKET_ERROR
	.comm	_VC_CONTAINER_NET_ERROR_NOT_ALLOWED,4,2 ; @VC_CONTAINER_NET_ERROR_NOT_ALLOWED
.subsections_via_symbols
