	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_token                      ## -- Begin function get_token
	.p2align	4, 0x90
_get_token:                             ## @get_token
	.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	%rsi, %r14
	movq	%rdi, %r15
	movq	8(%rsi), %rax
	movq	%rax, (%rsi)
	movq	_source_lineno@GOTPCREL(%rip), %r12
	movq	_EOF@GOTPCREL(%rip), %r13
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	%r15, %rdi
	movl	$32, %esi
	callq	_skip_spaces
	cmpl	$35, %eax
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %ebx
	cmpl	$10, %eax
	je	LBB0_7
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_get_token
	movq	_INT_TOKEN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r14), %rdi
	callq	_atoi
	decq	%rax
	movq	%rax, (%r12)
	movq	%r15, %rdi
	movq	_source_filename@GOTPCREL(%rip), %rsi
	callq	_get_token
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	callq	_getc
	movl	%eax, %ebx
	cmpl	(%r13), %eax
	je	LBB0_17
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	cmpl	$10, %ebx
	jne	LBB0_5
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	(%r12)
	movq	_lineno@GOTPCREL(%rip), %rax
	incl	(%rax)
	jmp	LBB0_1
LBB0_8:
	cmpl	(%r13), %ebx
	je	LBB0_17
## %bb.9:
	movl	%ebx, %edi
	callq	_ISDIGIT
	testq	%rax, %rax
	je	LBB0_14
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_SSTRING_PUT
	movq	%r15, %rdi
	callq	_getc
	movl	%eax, %ebx
	cmpl	(%r13), %eax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	%ebx, %edi
	callq	_ISDIGIT
	testq	%rax, %rax
	jne	LBB0_10
LBB0_12:
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_ungetc
	movq	_INT_TOKEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_13:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_MAKE_SSTRING_SPACE
	movq	(%r14), %rax
	movq	$0, (%rax)
	jmp	LBB0_17
LBB0_14:
	movl	%ebx, %edi
	callq	_ISIDST
	testq	%rax, %rax
	je	LBB0_18
## %bb.15:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_scan_ident
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_ungetc
	movq	_IDENTIFIER_TOKEN@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %ebx
LBB0_17:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	cmpl	$39, %ebx
	je	LBB0_20
## %bb.19:
	cmpl	$34, %ebx
	jne	LBB0_22
LBB0_20:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_scan_string
	movl	%eax, %ebx
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_ungetc
	cmpl	$39, %ebx
	jne	LBB0_23
## %bb.21:
	movq	_CHAR_TOKEN@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_22:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_SSTRING_PUT
	jmp	LBB0_13
LBB0_23:
	movq	_STRING_TOKEN@GOTPCREL(%rip), %rax
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_source_lineno,8,3              ## @source_lineno
	.comm	_lineno,4,2                     ## @lineno
	.comm	_INT_TOKEN,4,2                  ## @INT_TOKEN
	.comm	_source_filename,16,3           ## @source_filename
	.comm	_EOF,4,2                        ## @EOF
	.comm	_IDENTIFIER_TOKEN,4,2           ## @IDENTIFIER_TOKEN
	.comm	_CHAR_TOKEN,4,2                 ## @CHAR_TOKEN
	.comm	_STRING_TOKEN,4,2               ## @STRING_TOKEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_token                      ; -- Begin function get_token
	.p2align	2
_get_token:                             ; @get_token
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1, #8]
	str	x8, [x1]
Lloh0:
	adrp	x23, _INT_TOKEN@GOTPAGE
Lloh1:
	ldr	x23, [x23, _INT_TOKEN@GOTPAGEOFF]
Lloh2:
	adrp	x25, _source_lineno@GOTPAGE
Lloh3:
	ldr	x25, [x25, _source_lineno@GOTPAGEOFF]
Lloh4:
	adrp	x22, _source_filename@GOTPAGE
Lloh5:
	ldr	x22, [x22, _source_filename@GOTPAGEOFF]
Lloh6:
	adrp	x24, _EOF@GOTPAGE
Lloh7:
	ldr	x24, [x24, _EOF@GOTPAGEOFF]
Lloh8:
	adrp	x26, _lineno@GOTPAGE
Lloh9:
	ldr	x26, [x26, _lineno@GOTPAGEOFF]
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	mov	x0, x20
	mov	w1, #32
	bl	_skip_spaces
	cmp	w0, #35
	b.eq	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x21, x0
	cmp	w0, #10
	b.eq	LBB0_7
	b	LBB0_8
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_get_token
	ldr	w8, [x23]
	cmp	w0, w8
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x0, [x19, #8]
	bl	_atoi
	sub	x8, x0, #1
	str	x8, [x25]
	mov	x0, x20
	mov	x1, x22
	bl	_get_token
LBB0_5:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	bl	_getc
	mov	x21, x0
	ldr	w8, [x24]
	cmp	w0, w8
	b.eq	LBB0_20
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	cmp	w21, #10
	b.ne	LBB0_5
LBB0_7:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x25]
	add	x8, x8, #1
	str	x8, [x25]
	ldr	w8, [x26]
	add	w8, w8, #1
	str	w8, [x26]
	b	LBB0_1
LBB0_8:
	ldr	w8, [x24]
	cmp	w21, w8
	b.eq	LBB0_20
; %bb.9:
	mov	x0, x21
	bl	_ISDIGIT
	cbz	x0, LBB0_14
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_SSTRING_PUT
	mov	x0, x20
	bl	_getc
	mov	x21, x0
	ldr	w8, [x24]
	cmp	w0, w8
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x21
	bl	_ISDIGIT
	cbnz	x0, LBB0_10
LBB0_12:
	mov	x0, x21
	mov	x1, x20
	bl	_ungetc
	ldr	w21, [x23]
LBB0_13:
	mov	x0, x19
	mov	w1, #1
	bl	_MAKE_SSTRING_SPACE
	ldr	x8, [x19]
	str	xzr, [x8]
	b	LBB0_20
LBB0_14:
	mov	x0, x21
	bl	_ISIDST
	cbz	x0, LBB0_16
; %bb.15:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_scan_ident
	mov	x1, x20
	bl	_ungetc
Lloh10:
	adrp	x8, _IDENTIFIER_TOKEN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IDENTIFIER_TOKEN@GOTPAGEOFF]
	b	LBB0_19
LBB0_16:
	cmp	w21, #39
	b.eq	LBB0_18
; %bb.17:
	cmp	w21, #34
	b.ne	LBB0_21
LBB0_18:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_scan_string
	mov	x19, x0
	mov	x1, x20
	bl	_ungetc
Lloh12:
	adrp	x8, _CHAR_TOKEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CHAR_TOKEN@GOTPAGEOFF]
Lloh14:
	adrp	x9, _STRING_TOKEN@GOTPAGE
Lloh15:
	ldr	x9, [x9, _STRING_TOKEN@GOTPAGEOFF]
	cmp	w19, #39
	csel	x8, x8, x9, eq
LBB0_19:
	ldr	w21, [x8]
LBB0_20:
	mov	x0, x21
	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_21:
	mov	x0, x19
	mov	x1, x21
	bl	_SSTRING_PUT
	b	LBB0_13
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_source_lineno,8,3              ; @source_lineno
	.comm	_lineno,4,2                     ; @lineno
	.comm	_INT_TOKEN,4,2                  ; @INT_TOKEN
	.comm	_source_filename,16,3           ; @source_filename
	.comm	_EOF,4,2                        ; @EOF
	.comm	_IDENTIFIER_TOKEN,4,2           ; @IDENTIFIER_TOKEN
	.comm	_CHAR_TOKEN,4,2                 ; @CHAR_TOKEN
	.comm	_STRING_TOKEN,4,2               ; @STRING_TOKEN
.subsections_via_symbols
