	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vc_container_net_get_client_name ## -- Begin function vc_container_net_get_client_name
	.p2align	4, 0x90
_vc_container_net_get_client_name:      ## @vc_container_net_get_client_name
	.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	%rdx, %rcx
	movq	%rsi, %rdx
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_INVALID_SOCKET@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	jne	LBB0_4
## %bb.3:
	movq	_VC_CONTAINER_NET_ERROR_NOT_CONNECTED@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_1:
	movq	_VC_CONTAINER_NET_ERROR_INVALID_SOCKET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_12
LBB0_4:
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.5:
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.7:
	leaq	16(%rbx), %rdi
	movl	12(%rbx), %esi
	movl	$0, (%rsp)
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_getnameinfo
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movl	%eax, %edi
	callq	_translate_getnameinfo_error
	jmp	LBB0_11
LBB0_6:
	movq	_VC_CONTAINER_NET_ERROR_INVALID_PARAMETER@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	_VC_CONTAINER_NET_SUCCESS@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
LBB0_11:
	movl	%eax, 8(%rbx)
LBB0_12:
	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	_INVALID_SOCKET,8,3             ## @INVALID_SOCKET
	.comm	_VC_CONTAINER_NET_ERROR_NOT_CONNECTED,4,2 ## @VC_CONTAINER_NET_ERROR_NOT_CONNECTED
	.comm	_VC_CONTAINER_NET_ERROR_INVALID_PARAMETER,4,2 ## @VC_CONTAINER_NET_ERROR_INVALID_PARAMETER
	.comm	_VC_CONTAINER_NET_SUCCESS,4,2   ## @VC_CONTAINER_NET_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vc_container_net_get_client_name ; -- Begin function vc_container_net_get_client_name
	.p2align	2
_vc_container_net_get_client_name:      ; @vc_container_net_get_client_name
	.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_3
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _INVALID_SOCKET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _INVALID_SOCKET@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _VC_CONTAINER_NET_ERROR_NOT_CONNECTED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VC_CONTAINER_NET_ERROR_NOT_CONNECTED@GOTPAGEOFF]
	b	LBB0_10
LBB0_3:
Lloh5:
	adrp	x8, _VC_CONTAINER_NET_ERROR_INVALID_SOCKET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VC_CONTAINER_NET_ERROR_INVALID_SOCKET@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	b	LBB0_12
LBB0_4:
	mov	x3, x2
	mov	x2, x1
	cbz	x1, LBB0_8
; %bb.5:
	cbz	x3, LBB0_8
; %bb.6:
	add	x0, x19, #16
	ldr	w1, [x19, #12]
	mov	x4, #0
	mov	w5, #0
	mov	w6, #0
	bl	_getnameinfo
	cbz	w0, LBB0_9
; %bb.7:
	bl	_translate_getnameinfo_error
	b	LBB0_11
LBB0_8:
Lloh8:
	adrp	x8, _VC_CONTAINER_NET_ERROR_INVALID_PARAMETER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VC_CONTAINER_NET_ERROR_INVALID_PARAMETER@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh10:
	adrp	x8, _VC_CONTAINER_NET_SUCCESS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _VC_CONTAINER_NET_SUCCESS@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
LBB0_11:
	str	w0, [x19, #8]
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_NET_ERROR_INVALID_SOCKET,4,2 ; @VC_CONTAINER_NET_ERROR_INVALID_SOCKET
	.comm	_INVALID_SOCKET,8,3             ; @INVALID_SOCKET
	.comm	_VC_CONTAINER_NET_ERROR_NOT_CONNECTED,4,2 ; @VC_CONTAINER_NET_ERROR_NOT_CONNECTED
	.comm	_VC_CONTAINER_NET_ERROR_INVALID_PARAMETER,4,2 ; @VC_CONTAINER_NET_ERROR_INVALID_PARAMETER
	.comm	_VC_CONTAINER_NET_SUCCESS,4,2   ; @VC_CONTAINER_NET_SUCCESS
.subsections_via_symbols
