	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pvc_getname
_pvc_getname:                           ## @pvc_getname
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	callq	_ATM_SD
	cmpq	$0, 8(%rax)
	je	LBB0_2
## %bb.1:
	movq	%rax, %r12
	movq	_ATM_VF_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%r12), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movl	$16, (%r15)
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	_AF_ATMPVC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r14)
	movq	8(%r12), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movl	4(%r12), %eax
	movl	%eax, 4(%r14)
	movl	(%r12), %eax
	movl	%eax, (%r14)
	jmp	LBB0_4
LBB0_2:
	movq	_ENOTCONN@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_4:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATM_VF_ADDR,4,2                ## @ATM_VF_ADDR
	.comm	_ENOTCONN,4,2                   ## @ENOTCONN
	.comm	_AF_ATMPVC,4,2                  ## @AF_ATMPVC
	.no_dead_strip	_pvc_getname
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pvc_getname
_pvc_getname:                           ; @pvc_getname
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x2
	mov	x19, x1
	bl	_ATM_SD
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x8, _ATM_VF_ADDR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATM_VF_ADDR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x20, #16
	bl	_test_bit
	cbz	w0, LBB0_3
; %bb.2:
	mov	w8, #16
	str	w8, [x21]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	mov	w0, #0
Lloh3:
	adrp	x8, _AF_ATMPVC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AF_ATMPVC@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	x9, [x20, #8]
	ldr	w9, [x9]
	stp	w9, w8, [x19, #8]
	ldr	d0, [x20]
	str	d0, [x19]
	b	LBB0_4
LBB0_3:
Lloh6:
	adrp	x8, _ENOTCONN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOTCONN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ATM_VF_ADDR,4,2                ; @ATM_VF_ADDR
	.comm	_ENOTCONN,4,2                   ; @ENOTCONN
	.comm	_AF_ATMPVC,4,2                  ; @AF_ATMPVC
	.no_dead_strip	_pvc_getname
.subsections_via_symbols
