	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function readtoken
_readtoken:                             ## @readtoken
	.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	_checkkwd@GOTPCREL(%rip), %rbx
	movq	_TNL@GOTPCREL(%rip), %r13
	movq	_wordtext@GOTPCREL(%rip), %r12
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
	xorl	%eax, %eax
	callq	_xxreadtoken
	movl	%eax, %r15d
	movq	_CHKNL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	(%r13), %r15d
	jne	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%eax, %eax
	callq	_parseheredoc
	xorl	%eax, %eax
	callq	_xxreadtoken
	cmpl	(%r13), %eax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %r15d
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_TWORD@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_quoteflag@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rbx), %eax
	movq	_CHKKWD@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_18
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_parsekwd@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r14
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rbx
	addq	$8, %rbx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_10 Depth=2
	movq	(%rbx), %rdi
	addq	$8, %r14
	addq	$8, %rbx
	testq	%rdi, %rdi
	je	LBB0_17
LBB0_10:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rdi), %eax
	movq	(%r12), %rsi
	cmpb	(%rsi), %al
	jne	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	callq	_equal
	testq	%rax, %rax
	je	LBB0_16
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_checkkwd@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_CHKALIAS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_13
## %bb.19:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r12), %rdi
	movl	$1, %esi
	callq	_lookupalias
	testq	%rax, %rax
	je	LBB0_13
## %bb.20:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %r14
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_strlen
	movl	%ebx, %edi
	movl	%eax, %esi
	movq	%r14, %rdx
	callq	_pushstring
	movq	_checkkwd@GOTPCREL(%rip), %rbx
	jmp	LBB0_1
LBB0_12:
	movq	_parsekwd@GOTPCREL(%rip), %rax
	subq	(%rax), %r14
	shrq	$3, %r14
	movq	_KWDOFFSET@GOTPCREL(%rip), %rax
	addl	(%rax), %r14d
	movq	_lasttoken@GOTPCREL(%rip), %rax
	movl	%r14d, (%rax)
	movq	_tokname@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r14d, %rcx
	movslq	(%rax,%rcx,4), %rdi
	callq	_TRACE
	movl	%r14d, %r15d
LBB0_13:
	movq	_TNOT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	je	LBB0_15
## %bb.14:
	movq	_checkkwd@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
LBB0_15:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_checkkwd,4,2                   ## @checkkwd
	.comm	_CHKNL,4,2                      ## @CHKNL
	.comm	_TNL,4,2                        ## @TNL
	.comm	_TWORD,4,2                      ## @TWORD
	.comm	_quoteflag,4,2                  ## @quoteflag
	.comm	_CHKKWD,4,2                     ## @CHKKWD
	.comm	_parsekwd,8,3                   ## @parsekwd
	.comm	_wordtext,8,3                   ## @wordtext
	.comm	_KWDOFFSET,4,2                  ## @KWDOFFSET
	.comm	_lasttoken,4,2                  ## @lasttoken
	.comm	_tokname,8,3                    ## @tokname
	.comm	_CHKALIAS,4,2                   ## @CHKALIAS
	.comm	_TNOT,4,2                       ## @TNOT
	.comm	_tokpushback,4,2                ## @tokpushback
	.no_dead_strip	_readtoken
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function readtoken
_readtoken:                             ; @readtoken
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x21, _checkkwd@GOTPAGE
Lloh1:
	ldr	x21, [x21, _checkkwd@GOTPAGEOFF]
Lloh2:
	adrp	x22, _CHKNL@GOTPAGE
Lloh3:
	ldr	x22, [x22, _CHKNL@GOTPAGEOFF]
Lloh4:
	adrp	x23, _TNL@GOTPAGE
Lloh5:
	ldr	x23, [x23, _TNL@GOTPAGEOFF]
Lloh6:
	adrp	x24, _TWORD@GOTPAGE
Lloh7:
	ldr	x24, [x24, _TWORD@GOTPAGEOFF]
Lloh8:
	adrp	x25, _quoteflag@GOTPAGE
Lloh9:
	ldr	x25, [x25, _quoteflag@GOTPAGEOFF]
Lloh10:
	adrp	x26, _CHKKWD@GOTPAGE
Lloh11:
	ldr	x26, [x26, _CHKKWD@GOTPAGEOFF]
Lloh12:
	adrp	x27, _CHKALIAS@GOTPAGE
Lloh13:
	ldr	x27, [x27, _CHKALIAS@GOTPAGEOFF]
Lloh14:
	adrp	x28, _wordtext@GOTPAGE
Lloh15:
	ldr	x28, [x28, _wordtext@GOTPAGEOFF]
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_2 Depth 2
                                        ;     Child Loop BB0_9 Depth 2
	bl	_xxreadtoken
	mov	x19, x0
	ldr	w8, [x21]
	ldr	w9, [x22]
	and	w8, w9, w8
	ldr	w9, [x23]
	cmp	w8, #0
	ccmp	w0, w9, #0, ne
	b.ne	LBB0_4
LBB0_2:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	bl	_parseheredoc
	bl	_xxreadtoken
	ldr	w8, [x23]
	cmp	w0, w8
	b.eq	LBB0_2
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x19, x0
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x24]
	ldr	w9, [x25]
	cmp	w19, w8
	ccmp	w9, #0, #0, eq
	b.ne	LBB0_16
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x21]
	ldr	w9, [x26]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh16:
	adrp	x9, _parsekwd@GOTPAGE
Lloh17:
	ldr	x9, [x9, _parsekwd@GOTPAGEOFF]
Lloh18:
	ldr	x20, [x9]
	ldr	x0, [x20]
	cbz	x0, LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x21, x25
	mov	x25, x24
	mov	x24, x22
	mov	x22, x26
	mov	x26, x27
	add	x27, x20, #8
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	ldr	x0, [x27], #8
	add	x20, x20, #8
	cbz	x0, LBB0_11
LBB0_9:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x0]
	ldr	x1, [x28]
	ldrb	w9, [x1]
	cmp	w8, w9
	b.ne	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	bl	_equal
	cbz	x0, LBB0_8
	b	LBB0_15
LBB0_11:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh19:
	adrp	x9, _checkkwd@GOTPAGE
Lloh20:
	ldr	x9, [x9, _checkkwd@GOTPAGEOFF]
	ldr	w8, [x9]
	mov	x27, x26
	mov	x26, x22
	mov	x22, x24
	mov	x24, x25
	mov	x25, x21
	mov	x21, x9
LBB0_12:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	x0, [x28]
	mov	w1, #1
	bl	_lookupalias
	cbz	x0, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	x20, x0
	ldr	w19, [x0]
	mov	x0, x19
	bl	_strlen
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	bl	_pushstring
	b	LBB0_1
LBB0_15:
Lloh21:
	adrp	x8, _parsekwd@GOTPAGE
Lloh22:
	ldr	x8, [x8, _parsekwd@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	sub	x8, x20, x8
	lsr	x8, x8, #3
Lloh24:
	adrp	x9, _KWDOFFSET@GOTPAGE
Lloh25:
	ldr	x9, [x9, _KWDOFFSET@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	add	w19, w9, w8
Lloh27:
	adrp	x8, _lasttoken@GOTPAGE
Lloh28:
	ldr	x8, [x8, _lasttoken@GOTPAGEOFF]
Lloh29:
	str	w19, [x8]
Lloh30:
	adrp	x8, _tokname@GOTPAGE
Lloh31:
	ldr	x8, [x8, _tokname@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	ldrsw	x0, [x8, w19, sxtw #2]
	bl	_TRACE
Lloh33:
	adrp	x21, _checkkwd@GOTPAGE
Lloh34:
	ldr	x21, [x21, _checkkwd@GOTPAGEOFF]
LBB0_16:
Lloh35:
	adrp	x8, _TNOT@GOTPAGE
Lloh36:
	ldr	x8, [x8, _TNOT@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	cmp	w19, w8
	b.eq	LBB0_18
; %bb.17:
	str	wzr, [x21]
LBB0_18:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotStr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_checkkwd,4,2                   ; @checkkwd
	.comm	_CHKNL,4,2                      ; @CHKNL
	.comm	_TNL,4,2                        ; @TNL
	.comm	_TWORD,4,2                      ; @TWORD
	.comm	_quoteflag,4,2                  ; @quoteflag
	.comm	_CHKKWD,4,2                     ; @CHKKWD
	.comm	_parsekwd,8,3                   ; @parsekwd
	.comm	_wordtext,8,3                   ; @wordtext
	.comm	_KWDOFFSET,4,2                  ; @KWDOFFSET
	.comm	_lasttoken,4,2                  ; @lasttoken
	.comm	_tokname,8,3                    ; @tokname
	.comm	_CHKALIAS,4,2                   ; @CHKALIAS
	.comm	_TNOT,4,2                       ; @TNOT
	.comm	_tokpushback,4,2                ; @tokpushback
	.no_dead_strip	_readtoken
.subsections_via_symbols
