	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function convertRegProcReference
_convertRegProcReference:               ## @convertRegProcReference
	.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
	movq	%rsi, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_pg_strdup
	movb	(%rax), %dl
	testb	%dl, %dl
	je	LBB0_8
## %bb.3:
	movq	%rax, %rcx
	incq	%rcx
	xorl	%esi, %esi
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%edi, %edi
	testl	%esi, %esi
	sete	%dil
	cmpb	$34, %dl
	cmovel	%edi, %esi
	movzbl	(%rcx), %edx
	incq	%rcx
	testb	%dl, %dl
	je	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$40, %dl
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	testl	%esi, %esi
	jne	LBB0_7
## %bb.6:
	movb	$0, -1(%rcx)
	jmp	LBB0_8
LBB0_1:
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-"

	.no_dead_strip	_convertRegProcReference
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function convertRegProcReference
_convertRegProcReference:               ; @convertRegProcReference
	.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
	mov	x19, x1
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_7
; %bb.1:
	mov	x0, x19
	bl	_pg_strdup
	ldrb	w10, [x0]
	cbz	w10, LBB0_7
; %bb.2:
	mov	w9, #0
	add	x8, x0, #1
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w9, #0
	cset	w11, eq
	cmp	w10, #34
	csel	w9, w11, w9, eq
	ldrb	w10, [x8], #1
	cbz	w10, LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w10, #40
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbnz	w9, LBB0_3
; %bb.6:
	sturb	wzr, [x8, #-1]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-"

	.no_dead_strip	_convertRegProcReference
.subsections_via_symbols
