	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_scalar
_parse_scalar:                          ## @parse_scalar
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	%rax, -40(%rbp)
	movq	_REG_TYPE_VFD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rdi
	leaq	-56(%rbp), %rcx
	xorl	%edx, %edx
	callq	_parse_typed_reg_or_scalar
	movl	%eax, %ecx
	movq	_FAIL@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movl	%ecx, %esi
	cmpl	%eax, %ecx
	je	LBB0_10
## %bb.1:
	movq	_NTA_HASINDEX@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%eax, %esi
	testl	%edx, -56(%rbp)
	je	LBB0_10
## %bb.2:
	movl	-52(%rbp), %esi
	movq	_NEON_ALL_LANES@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	jne	LBB0_5
## %bb.3:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_4
LBB0_5:
	movl	$64, %eax
	xorl	%edx, %edx
	idivl	%r15d
	cmpl	%eax, %esi
	jge	LBB0_6
## %bb.7:
	testq	%r14, %r14
	je	LBB0_9
## %bb.8:
	movl	-48(%rbp), %eax
	movl	%eax, (%r14)
LBB0_9:
	movq	-40(%rbp), %rax
	movq	%rax, (%rbx)
	shll	$4, %ecx
	addl	%ecx, %esi
	jmp	LBB0_10
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
LBB0_4:
	callq	__
	movl	%eax, %edi
	callq	_first_error
	movl	(%r12), %esi
LBB0_10:
	movl	%esi, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_TYPE_VFD,4,2               ## @REG_TYPE_VFD
	.comm	_FAIL,4,2                       ## @FAIL
	.comm	_NTA_HASINDEX,4,2               ## @NTA_HASINDEX
	.comm	_NEON_ALL_LANES,4,2             ## @NEON_ALL_LANES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"scalar must have an index"

L_.str.1:                               ## @.str.1
	.asciz	"scalar index out of range"

	.no_dead_strip	_parse_scalar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_scalar
_parse_scalar:                          ; @parse_scalar
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0]
	str	x8, [sp, #24]
Lloh0:
	adrp	x8, _REG_TYPE_VFD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_TYPE_VFD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #24
	add	x3, sp, #8
	mov	x2, #0
	bl	_parse_typed_reg_or_scalar
Lloh3:
	adrp	x22, _FAIL@GOTPAGE
Lloh4:
	ldr	x22, [x22, _FAIL@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w0, w8
	b.eq	LBB0_11
; %bb.1:
	ldr	w9, [sp, #8]
Lloh5:
	adrp	x10, _NTA_HASINDEX@GOTPAGE
Lloh6:
	ldr	x10, [x10, _NTA_HASINDEX@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_4
; %bb.2:
	ldr	w8, [sp, #12]
Lloh8:
	adrp	x9, _NEON_ALL_LANES@GOTPAGE
Lloh9:
	ldr	x9, [x9, _NEON_ALL_LANES@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.3:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_10
LBB0_4:
	mov	x0, x8
	b	LBB0_11
LBB0_5:
	mov	w9, #64
	sdiv	w9, w9, w21
	cmp	w8, w9
	b.ge	LBB0_9
; %bb.6:
	cbz	x20, LBB0_8
; %bb.7:
	ldr	w9, [sp, #16]
	str	w9, [x20]
LBB0_8:
	ldr	x9, [sp, #24]
	str	x9, [x19]
	add	w0, w8, w0, lsl #4
	b	LBB0_11
LBB0_9:
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_10:
	bl	__
	bl	_first_error
	ldr	w0, [x22]
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_TYPE_VFD,4,2               ; @REG_TYPE_VFD
	.comm	_FAIL,4,2                       ; @FAIL
	.comm	_NTA_HASINDEX,4,2               ; @NTA_HASINDEX
	.comm	_NEON_ALL_LANES,4,2             ; @NEON_ALL_LANES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"scalar must have an index"

l_.str.1:                               ; @.str.1
	.asciz	"scalar index out of range"

	.no_dead_strip	_parse_scalar
.subsections_via_symbols
