	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_expr
_parse_expr:                            ## @parse_expr
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, (%rcx)
	testl	%edx, %edx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	jle	LBB0_1
## %bb.2:
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	%edx, %r13d
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_cell_new_any
LBB0_24:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_cell_new_node
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_27:                                ##   in Loop: Header=BB0_3 Depth=1
	incl	%r14d
	cmpl	%ebx, %r14d
	jge	LBB0_28
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movslq	%r14d, %rax
	leaq	(%rax,%rax,2), %rax
	movl	(%r15,%rax,8), %edx
	leal	-128(%rdx), %ecx
	cmpl	$5, %ecx
	ja	LBB0_25
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_22:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r15,%rax,8), %rax
	movsbl	(%r12,%rax), %edi
	callq	_cell_new_variable
	jmp	LBB0_24
LBB0_25:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%r14d, %ecx
	callq	_fprintf
	xorl	%edi, %edi
	callq	_assert
	jmp	LBB0_26
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	leal	1(%r14), %ecx
	cmpl	%ebx, %ecx
	jge	LBB0_14
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%ecx, %rdx
	leaq	(%rdx,%rdx,2), %r8
	leaq	(%r15,%r8,8), %rsi
	incq	%rdx
	movl	$1, %edi
	movl	$-1, %r12d
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rsi), %ecx
	cmpl	$132, %ecx
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	cmpl	$129, %ecx
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=2
	incl	%edi
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=2
	decl	%edi
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=2
	incl	%r12d
	testl	%edi, %edi
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=2
	addq	$24, %rsi
	leaq	1(%rdx), %rcx
	cmpq	%r13, %rdx
	movq	%rcx, %rdx
	jl	LBB0_7
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	testl	%edi, %edi
	jne	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r15,%r8,8), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %edx
	leaq	-80(%rbp), %rcx
	callq	_parse_expr
	testl	%eax, %eax
	js	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	addl	%r12d, %r14d
	addl	$2, %r14d
	movq	-80(%rbp), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_cell_new_node
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %r12                 ## 8-byte Reload
LBB0_26:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_27
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r15,%rax,8), %rdi
	addq	%r12, %rdi
	movl	16(%r15,%rax,8), %esi
	callq	_cell_new_nat
	jmp	LBB0_24
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r15,%rax,8), %rdi
	addq	%r12, %rdi
	movl	16(%r15,%rax,8), %esi
	callq	_cell_new_combinator
	jmp	LBB0_24
LBB0_1:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_28:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	xorl	%eax, %eax
LBB0_29:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	8(%r15,%rax,8), %rsi
	leaq	L_.str(%rip), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_19
LBB0_18:
	movq	8(%r15,%rax,8), %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
LBB0_19:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_icpl_failf                     ## TAILCALL
LBB0_16:
	movl	$-1, %eax
	jmp	LBB0_29
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
LJTI0_0:
	.long	L0_0_set_22
	.long	L0_0_set_5
	.long	L0_0_set_21
	.long	L0_0_set_20
	.long	L0_0_set_18
	.long	L0_0_set_23
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"closing bracket wasn't found"

L_.str.1:                               ## @.str.1
	.asciz	"unexpected closing bracket"

	.comm	_stderr,4,2                     ## @stderr
L_.str.2:                               ## @.str.2
	.asciz	"Unexpected lt (%d) at pos %d\n"

	.no_dead_strip	_parse_expr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_expr
_parse_expr:                            ; @parse_expr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x20, x3
	str	xzr, [x3]
	cmp	w2, #1
	b.lt	LBB0_19
; %bb.1:
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	mov	x25, #0
	mov	w23, #0
	mov	w27, w2
	mov	w28, #24
Lloh0:
	adrp	x24, lJTI0_0@PAGE
Lloh1:
	add	x24, x24, lJTI0_0@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh2:
	adrp	x8, _stderr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x3, x23
	bl	_fprintf
	mov	w0, #0
	bl	_assert
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w23, w23, #1
	cmp	w23, w22
	b.ge	LBB0_20
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	smull	x8, w23, w28
	ldr	w2, [x21, x8]
	sub	w9, w2, #128
	cmp	w9, #5
	b.hi	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x8, w23
	adr	x10, LBB0_6
	ldrb	w11, [x24, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	madd	x8, x8, x28, x21
	ldr	x8, [x8, #8]
	ldrsb	w0, [x19, x8]
	bl	_cell_new_variable
	b	LBB0_17
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x8, #1
	cmp	w9, w22
	b.ge	LBB0_22
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	madd	x10, x9, x28, x21
	add	x11, x9, #1
	mov	w12, #1
	mov	w26, #-1
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w13, [x10]
	sub	w14, w12, #1
	cmp	w13, #129
	cinc	w12, w12, eq
	cmp	w13, #132
	csel	w12, w14, w12, eq
	add	w26, w26, #1
	cbz	w12, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x10, x10, #24
	add	x13, x11, #1
	cmp	x11, x27
	mov	x11, x13
	b.lt	LBB0_9
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	cbnz	w12, LBB0_22
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	madd	x1, x9, x28, x21
	add	x3, sp, #8
	mov	x0, x19
	mov	x2, x26
	bl	_parse_expr
	tbnz	w0, #31, LBB0_25
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w23, w26
	add	w23, w8, #2
	ldr	x1, [sp, #8]
	b	LBB0_18
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	madd	x8, x8, x28, x21
	ldr	x9, [x8, #8]
	add	x0, x19, x9
	ldr	w1, [x8, #16]
	bl	_cell_new_nat
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	madd	x8, x8, x28, x21
	ldr	x9, [x8, #8]
	add	x0, x19, x9
	ldr	w1, [x8, #16]
	bl	_cell_new_combinator
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_cell_new_any
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x0
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x25
	bl	_cell_new_node
	mov	x25, x0
	b	LBB0_3
LBB0_19:
	mov	x25, #0
LBB0_20:
	mov	w0, #0
	str	x25, [x20]
LBB0_21:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_22:
	mov	w9, #24
	madd	x8, x8, x9, x21
	ldr	x1, [x8, #8]
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_24
LBB0_23:
	mov	w9, #24
	madd	x8, x8, x9, x21
	ldr	x1, [x8, #8]
Lloh9:
	adrp	x2, l_.str.1@PAGE
Lloh10:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_24:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_icpl_failf
LBB0_25:
	mov	w0, #-1
	b	LBB0_21
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_7-LBB0_6)>>2
	.byte	(LBB0_14-LBB0_6)>>2
	.byte	(LBB0_15-LBB0_6)>>2
	.byte	(LBB0_23-LBB0_6)>>2
	.byte	(LBB0_16-LBB0_6)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"closing bracket wasn't found"

l_.str.1:                               ; @.str.1
	.asciz	"unexpected closing bracket"

	.comm	_stderr,4,2                     ; @stderr
l_.str.2:                               ; @.str.2
	.asciz	"Unexpected lt (%d) at pos %d\n"

	.no_dead_strip	_parse_expr
.subsections_via_symbols
