	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_name
_parse_name:                            ## @parse_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$1, %r12d
	cmpq	$4, %rsi
	jb	LBB0_11
## %bb.1:
	movq	%rcx, %r14
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	movl	$2, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_2
LBB0_11:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movzwl	2(%r15), %eax
	rolw	$8, %ax
	cmpw	$2, %ax
	jb	LBB0_11
## %bb.3:
	movzwl	%ax, %edx
	leaq	-4(%rbx), %rax
	cmpq	%rdx, %rax
	jb	LBB0_11
## %bb.4:
	cmpb	$6, 4(%r15)
	jne	LBB0_11
## %bb.5:
	movzbl	5(%r15), %ecx
	leaq	-2(%rdx), %rax
	cmpq	%rcx, %rax
	jne	LBB0_11
## %bb.6:
	cmpq	%rcx, (%r13)
	jne	LBB0_11
## %bb.7:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	addq	$6, %r15
	movq	8(%r13), %rsi
	movq	%r15, %rdi
	movq	%rcx, %r13
	movl	%r13d, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_11
## %bb.8:
	subq	-48(%rbp), %rbx                 ## 8-byte Folded Reload
	movq	%rbx, %rax
	andq	$-4, %rax
	cmpq	$4, %rax
	je	LBB0_11
## %bb.9:
	movq	%r13, %rdx
	movzbl	(%r15,%r13), %eax
	shll	$24, %eax
	movzbl	1(%r15,%r13), %ecx
	shlq	$16, %rcx
	cltq
	orq	%rcx, %rax
	movzbl	2(%r15,%r13), %ecx
	shlq	$8, %rcx
	orq	%rax, %rcx
	movzbl	3(%r15,%r13), %r13d
	orq	%rcx, %r13
	addq	$-8, %rbx
	cmpq	%r13, %rbx
	jne	LBB0_11
## %bb.10:
	addq	%rdx, %r15
	addq	$4, %r15
	leaq	1(%r13), %rdi
	callq	_malloc
	movq	%rax, (%r14)
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_INSIST
	movq	(%r14), %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_memcpy
	movq	(%r14), %rax
	movb	$0, (%rax,%r13)
	xorl	%r12d, %r12d
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\004\001"

	.no_dead_strip	_parse_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_name
_parse_name:                            ; @parse_name
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	subs	x23, x1, #4
	b.lo	LBB0_10
; %bb.1:
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #2
	bl	_memcmp
	cbnz	x0, LBB0_10
; %bb.2:
	ldrh	w8, [x22, #2]
	rev16	w24, w8
	cmp	w24, #2
	ccmp	x23, x24, #0, hs
	b.lo	LBB0_10
; %bb.3:
	ldrb	w8, [x22, #4]
	cmp	w8, #6
	b.ne	LBB0_10
; %bb.4:
	ldrb	w23, [x22, #5]
	sub	x8, x24, #2
	cmp	x8, x23
	b.ne	LBB0_10
; %bb.5:
	ldr	x8, [x21]
	cmp	x8, x23
	b.ne	LBB0_10
; %bb.6:
	add	x22, x22, #6
	ldr	x1, [x21, #8]
	mov	x0, x22
	mov	x2, x23
	bl	_memcmp
	cbnz	x0, LBB0_10
; %bb.7:
	sub	x8, x20, x24
	and	x9, x8, #0xfffffffffffffffc
	cmp	x9, #4
	b.eq	LBB0_10
; %bb.8:
	add	x9, x22, x23
	ldrb	w10, [x9]
	lsl	w10, w10, #24
	ldrb	w11, [x9, #1]
	sxtw	x10, w10
	bfi	x10, x11, #16, #8
	ldrb	w11, [x9, #2]
	bfi	x10, x11, #8, #8
	ldrb	w11, [x9, #3]
	orr	x20, x10, x11
	sub	x8, x8, #8
	cmp	x8, x20
	b.ne	LBB0_10
; %bb.9:
	add	x21, x9, #4
	add	x0, x20, #1
	bl	_malloc
	str	x0, [x19]
	cmp	x0, #0
	cset	w0, ne
	bl	_INSIST
	ldr	x0, [x19]
	mov	x1, x21
	mov	x2, x20
	bl	_memcpy
	mov	w0, #0
	ldr	x8, [x19]
	strb	wzr, [x8, x20]
	b	LBB0_11
LBB0_10:
	mov	w0, #1
LBB0_11:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\004\001"

	.no_dead_strip	_parse_name
.subsections_via_symbols
