	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parsenode
_parsenode:                             ## @parsenode
	.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
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BUFLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	_curstr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpq	$0, (%rax)
	jle	LBB0_3
## %bb.2:
	movl	$1, 8(%rax)
LBB0_3:
	movq	%r14, %rdi
	callq	_nextfield
	movq	%r12, %rdi
	callq	_nextfield
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rdi
	callq	_error
LBB0_5:
	movq	_linep@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpb	$0, (%rax)
	je	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
	callq	_error
LBB0_7:
	movq	%r14, %rdi
	callq	_savestr
	movq	_nodename@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_ntypes@GOTPCREL(%rip), %r14
	movq	(%r14), %rdx
	movq	%rax, (%rcx,%rdx,8)
	movq	_str@GOTPCREL(%rip), %r15
	movq	(%r15), %rbx
	movq	_nstr@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	testl	%eax, %eax
	jle	LBB0_8
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rdi
	movq	%r12, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	addq	$24, %rbx
	movq	(%r15), %rcx
	movslq	(%r13), %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rcx,%rdx,8), %rdx
	cmpq	%rdx, %rbx
	jb	LBB0_9
	jmp	LBB0_12
LBB0_8:
	movq	%rbx, %rcx
	jmp	LBB0_12
LBB0_10:
	movq	(%r15), %rcx
	movl	(%r13), %eax
LBB0_12:
	cltq
	leaq	(%rax,%rax,2), %rax
	leaq	(%rcx,%rax,8), %rax
	cmpq	%rax, %rbx
	jb	LBB0_14
## %bb.13:
	movq	%r12, %rdi
	callq	_savestr
	movq	%rax, 16(%rbx)
	movq	$0, (%rbx)
	movq	_curstr@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	incl	(%r13)
LBB0_14:
	movq	_nodestr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14), %rcx
	movq	%rbx, (%rax,%rcx,8)
	incq	%rcx
	movq	%rcx, (%r14)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFLEN,4,2                     ## @BUFLEN
	.comm	_curstr,8,3                     ## @curstr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Tag expected"

	.comm	_linep,8,3                      ## @linep
L_.str.1:                               ## @.str.1
	.asciz	"Garbage at end of line"

	.comm	_nodename,8,3                   ## @nodename
	.comm	_ntypes,8,3                     ## @ntypes
	.comm	_str,8,3                        ## @str
	.comm	_nstr,4,2                       ## @nstr
	.comm	_nodestr,8,3                    ## @nodestr
	.no_dead_strip	_parsenode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parsenode
_parsenode:                             ; @parsenode
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _BUFLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BUFLEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x1fffffff0
	sub	x20, x9, x12
	mov	sp, x20
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x19, x8, x12
	mov	sp, x19
Lloh10:
	adrp	x21, _curstr@GOTPAGE
Lloh11:
	ldr	x21, [x21, _curstr@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x9, [x8]
	cmp	x9, #1
	b.lt	LBB0_3
; %bb.2:
	mov	w9, #1
	str	w9, [x8, #8]
LBB0_3:
	mov	x0, x20
	bl	_nextfield
	mov	x0, x19
	bl	_nextfield
	cbnz	w0, LBB0_5
; %bb.4:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
LBB0_5:
Lloh14:
	adrp	x8, _linep@GOTPAGE
Lloh15:
	ldr	x8, [x8, _linep@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	ldrb	w8, [x8]
	cbz	w8, LBB0_7
; %bb.6:
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_error
LBB0_7:
	mov	x0, x20
	bl	_savestr
Lloh19:
	adrp	x8, _nodename@GOTPAGE
Lloh20:
	ldr	x8, [x8, _nodename@GOTPAGEOFF]
Lloh21:
	adrp	x20, _ntypes@GOTPAGE
Lloh22:
	ldr	x20, [x20, _ntypes@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	ldr	x9, [x20]
	str	x0, [x8, x9, lsl #3]
Lloh24:
	adrp	x24, _str@GOTPAGE
Lloh25:
	ldr	x24, [x24, _str@GOTPAGEOFF]
	ldr	x8, [x24]
Lloh26:
	adrp	x22, _nstr@GOTPAGE
Lloh27:
	ldr	x22, [x22, _nstr@GOTPAGEOFF]
	ldr	w9, [x22]
	cmp	w9, #1
	b.lt	LBB0_11
; %bb.8:
	mov	w25, #24
	mov	x23, x8
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x23, #16]
	mov	x1, x19
	bl	_strcmp
	cbz	x0, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x23, x23, #24
	ldr	x8, [x24]
	ldrsw	x9, [x22]
	madd	x10, x9, x25, x8
	cmp	x23, x10
	b.lo	LBB0_9
	b	LBB0_13
LBB0_11:
	mov	x23, x8
	b	LBB0_13
LBB0_12:
	ldr	x8, [x24]
	ldr	w9, [x22]
LBB0_13:
	mov	w10, #24
	smaddl	x8, w9, w10, x8
	cmp	x23, x8
	b.lo	LBB0_15
; %bb.14:
	mov	x0, x19
	bl	_savestr
	str	x0, [x23, #16]
	str	xzr, [x23]
	str	x23, [x21]
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
LBB0_15:
Lloh28:
	adrp	x8, _nodestr@GOTPAGE
Lloh29:
	ldr	x8, [x8, _nodestr@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	ldr	x9, [x20]
	str	x23, [x8, x9, lsl #3]
	add	x8, x9, #1
	str	x8, [x20]
	ldur	x8, [x29, #-72]
Lloh31:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh32:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	sub	sp, x29, #64
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh23
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFLEN,4,2                     ; @BUFLEN
	.comm	_curstr,8,3                     ; @curstr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Tag expected"

	.comm	_linep,8,3                      ; @linep
l_.str.1:                               ; @.str.1
	.asciz	"Garbage at end of line"

	.comm	_nodename,8,3                   ; @nodename
	.comm	_ntypes,8,3                     ; @ntypes
	.comm	_str,8,3                        ; @str
	.comm	_nstr,4,2                       ; @nstr
	.comm	_nodestr,8,3                    ; @nodestr
	.no_dead_strip	_parsenode
.subsections_via_symbols
