	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_ref_sorting              ## -- Begin function parse_ref_sorting
	.p2align	4, 0x90
_parse_ref_sorting:                     ## @parse_ref_sorting
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, -32(%rbp)
	movl	$1, %edi
	movl	$24, %esi
	callq	_xcalloc
	movq	%rax, %r14
	movq	(%r15), %rax
	movq	%rax, 16(%r14)
	movq	%r14, (%r15)
	cmpb	$45, (%rbx)
	jne	LBB0_2
## %bb.1:
	movl	$1, (%r14)
	incq	%rbx
	movq	%rbx, -32(%rbp)
LBB0_2:
	leaq	L_.str(%rip), %rsi
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_skip_prefix
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	-32(%rbp), %rdi
	leaq	L_.str.1(%rip), %rsi
	leaq	-32(%rbp), %rdx
	callq	_skip_prefix
	testq	%rax, %rax
	je	LBB0_5
LBB0_4:
	movl	$1, 4(%r14)
LBB0_5:
	movq	-32(%rbp), %rdi
	callq	_parse_sorting_atom
	movl	%eax, 8(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"version:"

L_.str.1:                               ## @.str.1
	.asciz	"v:"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_ref_sorting              ; -- Begin function parse_ref_sorting
	.p2align	2
_parse_ref_sorting:                     ; @parse_ref_sorting
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x21, x0
	str	x1, [sp, #8]
	mov	w22, #1
	mov	w0, #1
	mov	w1, #24
	bl	_xcalloc
	mov	x19, x0
	ldr	x8, [x21]
	str	x8, [x0, #16]
	str	x0, [x21]
	ldrb	w8, [x20]
	cmp	w8, #45
	b.ne	LBB0_2
; %bb.1:
	str	w22, [x19]
	add	x20, x20, #1
	str	x20, [sp, #8]
LBB0_2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x0, x20
	bl	_skip_prefix
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	x0, [sp, #8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #8
	bl	_skip_prefix
	cbz	x0, LBB0_5
LBB0_4:
	mov	w8, #1
	str	w8, [x19, #4]
LBB0_5:
	ldr	x0, [sp, #8]
	bl	_parse_sorting_atom
	str	w0, [x19, #8]
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"version:"

l_.str.1:                               ; @.str.1
	.asciz	"v:"

.subsections_via_symbols
