	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_look_ahead
_do_look_ahead:                         ## @do_look_ahead
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	xorl	%eax, %eax
	cmpb	%dil, (%rsi)
	sete	%al
	movl	%eax, %edi
	callq	_assert
	movl	$1, %r14d
	cmpb	$0, 1(%r15)
	je	LBB0_8
## %bb.1:
	movq	_EOF@GOTPCREL(%rip), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_gpbc
	cmpl	(%r12), %eax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	%al, 1(%r15,%rbx)
	jne	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$0, 2(%r15,%rbx)
	leaq	1(%rbx), %rbx
	jne	LBB0_2
LBB0_8:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movsbl	%al, %edi
	callq	_pushback
	xorl	%r14d, %r14d
	testl	%ebx, %ebx
	je	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%r15,%rbx), %edi
	callq	_pushback
	decq	%rbx
	testl	%ebx, %ebx
	jne	LBB0_6
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_EOF,4,2                        ## @EOF
	.no_dead_strip	_do_look_ahead
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_look_ahead
_do_look_ahead:                         ; @do_look_ahead
	.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	x19, x1
	ldrb	w8, [x1]
	cmp	w8, w0, uxtb
	cset	w0, eq
	bl	_assert
	ldrb	w8, [x19, #1]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x20, #0
Lloh0:
	adrp	x21, _EOF@GOTPAGE
Lloh1:
	ldr	x21, [x21, _EOF@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	bl	_gpbc
	ldr	w8, [x21]
	cmp	w0, w8
	b.eq	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x19, x20
	ldrb	w8, [x8, #1]
	cmp	w8, w0, uxtb
	b.ne	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x19, x20
	ldrb	w8, [x8, #2]
	add	x20, x20, #1
	cbnz	w8, LBB0_2
LBB0_5:
	mov	w0, #1
	b	LBB0_9
LBB0_6:
	sxtb	w0, w0
	bl	_pushback
	cbz	w20, LBB0_8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x19, x20]
	bl	_pushback
	sub	x20, x20, #1
	cbnz	w20, LBB0_7
LBB0_8:
	mov	w0, #0
LBB0_9:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_EOF,4,2                        ; @EOF
	.no_dead_strip	_do_look_ahead
.subsections_via_symbols
