	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cp_lexer_peek_nth_token
_cp_lexer_peek_nth_token:               ## @cp_lexer_peek_nth_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%edi, %edi
	testq	%rsi, %rsi
	setne	%dil
	callq	_gcc_assert
	movq	%r14, %rdi
	callq	_cp_lexer_debugging_p
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_cp_lexer_debug_stream@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	callq	_fprintf
LBB0_2:
	movq	8(%r14), %r15
	movq	%rbx, %rax
	decq	%rax
	sete	%al
	cmpq	_eof_token@GOTPCREL(%rip), %r15
	setne	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_gcc_assert
	decq	%rbx
	je	LBB0_7
## %bb.3:
	movq	(%r14), %rcx
	movq	_CPP_PURGED@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r15, %rax
	addq	$8, %rax
	movq	_eof_token@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%esi, %esi
	cmpq	%rdx, (%rax)
	setne	%sil
	addq	$8, %rax
	subq	%rsi, %rbx
	jne	LBB0_4
## %bb.6:
	addq	$-8, %rax
	movq	%rax, %r15
LBB0_7:
	movq	%r14, %rdi
	callq	_cp_lexer_debugging_p
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_cp_lexer_debug_stream@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	%r15, %rsi
	callq	_cp_lexer_print_token
	movl	(%rbx), %esi
	movl	$10, %edi
	callq	_putc
LBB0_9:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cp_lexer_debug_stream,4,2      ## @cp_lexer_debug_stream
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cp_lexer: peeking ahead %ld at token: "

	.comm	_eof_token,8,3                  ## @eof_token
	.comm	_CPP_PURGED,8,3                 ## @CPP_PURGED
	.no_dead_strip	_cp_lexer_peek_nth_token
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cp_lexer_peek_nth_token
_cp_lexer_peek_nth_token:               ; @cp_lexer_peek_nth_token
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	mov	x19, x0
	cmp	x1, #0
	cset	w0, ne
	bl	_gcc_assert
	mov	x0, x19
	bl	_cp_lexer_debugging_p
Lloh0:
	adrp	x21, _cp_lexer_debug_stream@GOTPAGE
Lloh1:
	ldr	x21, [x21, _cp_lexer_debug_stream@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x21]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_fprintf
LBB0_2:
	sub	x22, x20, #1
	ldr	x20, [x19, #8]
	cmp	x22, #0
Lloh4:
	adrp	x8, _eof_token@GOTPAGE
Lloh5:
	ldr	x8, [x8, _eof_token@GOTPAGEOFF]
	ccmp	x20, x8, #0, ne
	cset	w0, ne
	bl	_gcc_assert
	cbz	x22, LBB0_7
; %bb.3:
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _CPP_PURGED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CPP_PURGED@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x9]
	add	x9, x20, #8
Lloh9:
	adrp	x20, _eof_token@GOTPAGE
Lloh10:
	ldr	x20, [x20, _eof_token@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x9, x8
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x11, [x9], #8
	cmp	x11, x10
	cset	w11, ne
	subs	x22, x22, x11
	b.ne	LBB0_4
; %bb.6:
	sub	x20, x9, #8
LBB0_7:
	mov	x0, x19
	bl	_cp_lexer_debugging_p
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w0, [x21]
	mov	x1, x20
	bl	_cp_lexer_print_token
	ldr	w1, [x21]
	mov	w0, #10
	bl	_putc
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_cp_lexer_debug_stream,4,2      ; @cp_lexer_debug_stream
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cp_lexer: peeking ahead %ld at token: "

	.comm	_eof_token,8,3                  ; @eof_token
	.comm	_CPP_PURGED,8,3                 ; @CPP_PURGED
	.no_dead_strip	_cp_lexer_peek_nth_token
.subsections_via_symbols
