	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_word
_read_word:                             ## @read_word
	.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	%rdi, -48(%rbp)                 ## 8-byte Spill
	testq	%rdx, %rdx
	je	LBB0_32
## %bb.1:
	movq	%rdx, %r15
	movq	%rsi, %rbx
	xorl	%r13d, %r13d
	movq	$-1, %r12
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_getc
	cmpl	$39, %eax
	ja	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %ecx
	movabsq	$4294968832, %rdx               ## imm = 0x100000600
	btq	%rcx, %rdx
	jb	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movabsq	$566935683072, %rdx             ## imm = 0x8400000000
	btq	%rcx, %rdx
	jb	LBB0_14
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$35, %rcx
	jne	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.1(%rip), %rsi
	callq	_skip_to
	movl	%eax, %ecx
	movl	$35, %eax
	xorl	%esi, %esi
	testl	%ecx, %ecx
	jne	LBB0_25
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	testl	%r14d, %r14d
	je	LBB0_20
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$10, %eax
	jne	LBB0_24
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%r14d, %r14d
	jle	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.2(%rip), %rdi
	callq	_mtree_warning
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_mtree_fileinfo@GOTPCREL(%rip), %rdi
	callq	_SLIST_FIRST
	incl	(%rax)
	movl	$10, %eax
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$96, %eax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, %esi
	cmpl	$128, %eax
	jne	LBB0_25
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%r14d, %r14d
	je	LBB0_21
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movsbl	(%rbx,%r12), %ecx
	cmpl	%ecx, %eax
	jne	LBB0_22
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	leal	-1(%r14), %ecx
	cmpl	$2, %r14d
	jl	LBB0_28
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movabsq	$4611686018427387937, %rsi      ## imm = 0x4000000000000021
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	-1(%rbx,%r12), %edx
	decq	%r12
	addb	$-34, %dl
	cmpb	$62, %dl
	ja	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=2
	movzbl	%dl, %edx
	btq	%rdx, %rsi
	jae	LBB0_18
	jmp	LBB0_29
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_ungetc
	movl	$1, %esi
	xorl	%eax, %eax
	xorl	%r14d, %r14d
	jmp	LBB0_25
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %r14d
	jmp	LBB0_23
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%r14d
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %r12
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%esi, %esi
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	movb	%al, (%rbx,%r13)
	incq	%r13
LBB0_26:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r15, %r13
	jae	LBB0_30
## %bb.27:                              ##   in Loop: Header=BB0_2 Depth=1
	testl	%esi, %esi
	je	LBB0_2
	jmp	LBB0_30
LBB0_28:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	$-1, %r12
LBB0_29:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%esi, %esi
	movl	%ecx, %r14d
	jmp	LBB0_25
LBB0_30:
	xorl	%ebx, %ebx
	cmpq	%r15, %r13
	jb	LBB0_33
## %bb.31:
	leaq	L_.str.3(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_mtree_error
	leaq	L_.str.4(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_skip_to
	jmp	LBB0_33
LBB0_32:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_33:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	movb	$0, (%rbx,%r13)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_ferror
	testl	%eax, %eax
	je	LBB0_36
## %bb.35:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	cmpl	$-1, %ebx
	jne	LBB0_33
LBB0_36:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_mtree_error
	movl	$-1, %ebx
	jmp	LBB0_33
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected end of file"

L_.str.1:                               ## @.str.1
	.asciz	"\n"

L_.str.2:                               ## @.str.2
	.asciz	"quoted word straddles onto next line."

	.comm	_mtree_fileinfo,4,2             ## @mtree_fileinfo
L_.str.3:                               ## @.str.3
	.asciz	"word too long to fit buffer (max %zu characters)"

L_.str.4:                               ## @.str.4
	.asciz	" \t\n"

	.no_dead_strip	_read_word
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_word
_read_word:                             ; @read_word
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	x2, LBB0_32
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	x25, #0
	mov	w23, #0
	sub	x26, x1, #1
	mov	x24, #-1
	mov	w27, #1
	mov	x28, #33
	movk	x28, #16384, lsl #48
	mov	x22, #1536
	movk	x22, #1, lsl #32
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
	mov	x0, x19
	bl	_getc
	cmp	w0, #39
	b.hi	LBB0_13
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, w0
	lsl	x9, x27, x8
	tst	x9, x22
	b.ne	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	lsl	x9, x27, x8
	mov	x10, #566935683072
	tst	x9, x10
	b.ne	LBB0_16
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	x8, #35
	b.ne	LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_skip_to
	mov	w8, #0
	cbz	w0, LBB0_27
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #35
	b	LBB0_26
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	cbz	w23, LBB0_21
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #10
	b.ne	LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	w23, #1
	b.lt	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_mtree_warning
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh4:
	adrp	x0, _mtree_fileinfo@GOTPAGE
Lloh5:
	ldr	x0, [x0, _mtree_fileinfo@GOTPAGEOFF]
	bl	_SLIST_FIRST
	mov	w8, #0
	ldr	w9, [x0]
	add	w9, w9, #1
	str	w9, [x0]
	mov	w0, #10
	b	LBB0_26
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #96
	b.eq	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #128
	b.eq	LBB0_34
LBB0_15:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #0
	b	LBB0_26
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	w23, LBB0_22
; %bb.17:                               ;   in Loop: Header=BB0_2 Depth=1
	ldrsb	w8, [x21, x24]
	cmp	w0, w8
	b.ne	LBB0_23
; %bb.18:                               ;   in Loop: Header=BB0_2 Depth=1
	sub	w9, w23, #1
	cmp	w23, #2
	b.lt	LBB0_24
LBB0_19:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x26, x24]
	sub	x24, x24, #1
	sub	w8, w8, #34
	cmp	w8, #62
	lsl	x8, x27, x8
	and	x8, x8, x28
	ccmp	x8, #0, #4, ls
	b.eq	LBB0_19
; %bb.20:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #0
	b	LBB0_25
LBB0_21:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x1, x19
	bl	_ungetc
	mov	w0, #0
	mov	w8, #1
	b	LBB0_26
LBB0_22:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #0
	mov	w23, #1
	mov	x24, x25
	b	LBB0_26
LBB0_23:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #0
	add	w23, w23, #1
	mov	x24, x25
	b	LBB0_26
LBB0_24:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #0
	mov	x24, #-1
LBB0_25:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x23, x9
LBB0_26:                                ;   in Loop: Header=BB0_2 Depth=1
	strb	w0, [x21, x25]
	add	x25, x25, #1
LBB0_27:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	x25, x20
	b.hs	LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_2 Depth=1
	cbz	w8, LBB0_2
LBB0_29:
	cmp	x25, x20
	b.lo	LBB0_31
; %bb.30:
	str	x20, [sp]
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_mtree_error
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_skip_to
LBB0_31:
	mov	w0, #0
	b	LBB0_33
LBB0_32:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
LBB0_33:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_34:
	strb	wzr, [x21, x25]
	mov	x0, x19
	bl	_ferror
	cbz	w0, LBB0_36
; %bb.35:
Lloh13:
	adrp	x8, _errno@GOTPAGE
Lloh14:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	cmn	w0, #1
	b.ne	LBB0_33
LBB0_36:
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_mtree_error
	mov	w0, #-1
	b	LBB0_33
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected end of file"

l_.str.1:                               ; @.str.1
	.asciz	"\n"

l_.str.2:                               ; @.str.2
	.asciz	"quoted word straddles onto next line."

	.comm	_mtree_fileinfo,4,2             ; @mtree_fileinfo
l_.str.3:                               ; @.str.3
	.asciz	"word too long to fit buffer (max %zu characters)"

l_.str.4:                               ; @.str.4
	.asciz	" \t\n"

	.no_dead_strip	_read_word
.subsections_via_symbols
