	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tl_parse_term                  ## -- Begin function tl_parse_term
	.p2align	4, 0x90
_tl_parse_term:                         ## @tl_parse_term
	.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
	movl	%esi, %r14d
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	movl	%r14d, %edx
	callq	_vkprintf
	movq	(%r15), %rax
	movq	_type_term@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	movl	8(%r15), %eax
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movq	16(%r15), %rcx
	movq	_type_percent@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx), %rsi
	movb	$1, %dil
	cmpq	%rdx, (%rsi)
	jne	LBB0_7
## %bb.3:
	leal	(%rax,%r14), %r8d
	movl	$1, %edi
	subq	%rax, %rdi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdi, %rsi
	addq	%rbx, %rsi
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rcx,%rbx,8), %rsi
	incq	%rbx
	cmpq	%rdx, (%rsi)
	je	LBB0_5
## %bb.12:
	cmpq	%rax, %rbx
	setb	%dil
	addl	%ebx, %r14d
	jmp	LBB0_7
LBB0_1:
	xorl	%edi, %edi
	jmp	LBB0_7
LBB0_6:
	incq	%rbx
	cmpq	%rax, %rbx
	setb	%dil
	movl	%r8d, %r14d
	movl	%eax, %ebx
LBB0_7:
	movzbl	%dil, %edi
	callq	_assert
	movq	_L@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_TL_INIT
	cmpl	8(%r15), %ebx
	jge	LBB0_11
## %bb.8:
	movl	%ebx, %ebx
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	movl	%r14d, %esi
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	callq	_tl_parse_any_term
	movq	(%r12), %rsi
	movl	%eax, %edi
	callq	_TL_TRY
	incq	%rbx
	cmpl	%ebx, 8(%r15)
	jle	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_10 Depth=1
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	xorl	%esi, %esi
	jmp	LBB0_10
LBB0_11:
	movq	(%r12), %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tl_parse_term: s = %d\n"

	.comm	_type_term,8,3                  ## @type_term
	.comm	_type_percent,8,3               ## @type_percent
	.comm	_L,8,3                          ## @L
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tl_parse_term                  ; -- Begin function tl_parse_term
	.p2align	2
_tl_parse_term:                         ; @tl_parse_term
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	mov	x2, x20
	bl	_vkprintf
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _type_term@GOTPAGE
Lloh3:
	ldr	x9, [x9, _type_term@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	ldr	x11, [x19, #16]
Lloh5:
	adrp	x9, _type_percent@GOTPAGE
Lloh6:
	ldr	x9, [x9, _type_percent@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	x10, [x11]
	ldr	x10, [x10]
	cmp	x10, x9
	b.ne	LBB0_7
; %bb.2:
	mov	x21, #0
	add	w10, w8, w20
	add	x11, x11, #8
	sub	x12, x8, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x12, x21
	b.eq	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x13, [x11, x21, lsl #3]
	ldr	x13, [x13]
	add	x21, x21, #1
	cmp	x13, x9
	b.eq	LBB0_3
; %bb.5:
	cmp	x21, x8
	cset	w0, lo
	add	w20, w20, w21
	b	LBB0_9
LBB0_6:
	mov	w21, #0
	mov	w0, #0
	b	LBB0_9
LBB0_7:
	mov	w21, #0
	mov	w0, #1
	b	LBB0_9
LBB0_8:
	add	x9, x21, #1
	cmp	x9, x8
	cset	w0, lo
	mov	x20, x10
	mov	x21, x8
LBB0_9:
	bl	_assert
Lloh8:
	adrp	x22, _L@GOTPAGE
Lloh9:
	ldr	x22, [x22, _L@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_TL_INIT
	ldr	w8, [x19, #8]
	cmp	w21, w8
	b.ge	LBB0_13
; %bb.10:
	mov	w23, w21
	ldr	x8, [x19, #16]
	ldr	x0, [x8, w21, uxtw #3]
	mov	x1, x20
	bl	_tl_parse_any_term
	ldr	x1, [x22]
	bl	_TL_TRY
	add	x20, x23, #1
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19, #8]
	cmp	w8, w20
	b.le	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x19, #16]
	ldr	x0, [x8, x20, lsl #3]
	mov	w1, #0
	bl	_tl_parse_any_term
	ldr	x1, [x22]
	bl	_TL_TRY
	add	x20, x20, #1
	b	LBB0_11
LBB0_13:
	ldr	x0, [x22]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tl_parse_term: s = %d\n"

	.comm	_type_term,8,3                  ; @type_term
	.comm	_type_percent,8,3               ; @type_percent
	.comm	_L,8,3                          ; @L
.subsections_via_symbols
