	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prim
_prim:                                  ## @prim
	.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, %r15
	testl	%edx, %edx
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_get_token
LBB0_2:
	xorl	%r14d, %r14d
	movl	$-136, %eax
	addl	(%rbx), %eax
	cmpl	$11, %eax
	ja	LBB0_11
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_15:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_prim
	xorl	%edi, %edi
	movq	%rax, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Norr                           ## TAILCALL
LBB0_4:
	movq	8(%rbx), %r14
	jmp	LBB0_18
LBB0_20:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_get_token
	movq	8(%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Nneg                           ## TAILCALL
LBB0_17:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_expr
	movq	%rax, %r14
	cmpl	$133, (%rbx)
	jne	LBB0_19
LBB0_18:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_get_token
	jmp	LBB0_11
LBB0_12:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_prim
	movq	%rax, %rdi
	movl	$1, %esi
	jmp	LBB0_13
LBB0_14:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_prim
	movq	%rax, %rdi
	movl	$-1, %esi
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Naddi                          ## TAILCALL
LBB0_5:
	movl	16(%rbx), %edi
	callq	_r_str_trim
	movl	16(%rbx), %esi
	movq	%r15, %rdi
	callq	_r_num_get
	movl	%eax, %edi
	callq	_Nset
	movq	%rax, %r14
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_get_token
	movl	(%rbx), %eax
	cmpl	$148, %eax
	je	LBB0_6
## %bb.7:
	cmpl	$144, %eax
	je	LBB0_8
LBB0_9:
	cmpl	$147, %eax
	je	LBB0_10
	jmp	LBB0_11
LBB0_16:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_prim
	xorl	%edi, %edi
	movq	%rax, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Nsub                           ## TAILCALL
LBB0_19:
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_error
	jmp	LBB0_11
LBB0_6:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_expr
	movq	%rax, %r14
	movl	(%rbx), %eax
	cmpl	$144, %eax
	jne	LBB0_9
LBB0_8:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_Naddi
	movl	(%rbx), %eax
	cmpl	$147, %eax
	jne	LBB0_11
LBB0_10:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_Nsubi
LBB0_11:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_15
	.long	L0_0_set_4
	.long	L0_0_set_20
	.long	L0_0_set_5
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_12
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" ')' expected"

	.no_dead_strip	_prim
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prim
_prim:                                  ; @prim
	.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
	mov	x21, x0
	cbz	w2, LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x19
	bl	_get_token
LBB0_2:
	mov	x20, #0
	ldr	w8, [x19]
	sub	w8, w8, #136
	cmp	w8, #11
	b.hi	LBB0_20
; %bb.3:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	mov	x0, x21
	mov	x1, x19
	mov	w2, #1
	bl	_prim
	mov	x1, x0
	mov	x0, #0
	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
	b	_Norr
LBB0_5:
	ldr	x20, [x19, #8]
	b	LBB0_8
LBB0_6:
	mov	x0, x21
	mov	x1, x19
	bl	_get_token
	ldr	x0, [x19, #8]
	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
	b	_Nneg
LBB0_7:
	mov	x0, x21
	mov	x1, x19
	mov	w2, #1
	bl	_expr
	mov	x20, x0
	ldr	w8, [x19]
	cmp	w8, #133
	b.ne	LBB0_16
LBB0_8:
	mov	x0, x21
	mov	x1, x19
	bl	_get_token
	b	LBB0_20
LBB0_9:
	mov	x0, x21
	mov	x1, x19
	mov	w2, #1
	bl	_prim
	mov	w1, #1
	b	LBB0_11
LBB0_10:
	mov	x0, x21
	mov	x1, x19
	mov	w2, #1
	bl	_prim
	mov	w1, #-1
LBB0_11:
	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
	b	_Naddi
LBB0_12:
	ldr	w0, [x19, #16]
	bl	_r_str_trim
	ldr	w1, [x19, #16]
	mov	x0, x21
	bl	_r_num_get
	bl	_Nset
	mov	x20, x0
	mov	x0, x21
	mov	x1, x19
	bl	_get_token
	ldr	w8, [x19]
	cmp	w8, #148
	b.eq	LBB0_17
; %bb.13:
	cmp	w8, #144
	b.eq	LBB0_18
LBB0_14:
	cmp	w8, #147
	b.eq	LBB0_19
	b	LBB0_20
LBB0_15:
	mov	x0, x21
	mov	x1, x19
	mov	w2, #1
	bl	_prim
	mov	x1, x0
	mov	x0, #0
	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
	b	_Nsub
LBB0_16:
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	x1, x19
	bl	_error
	b	LBB0_20
LBB0_17:
	mov	x0, x21
	mov	x1, x19
	mov	w2, #1
	bl	_expr
	mov	x20, x0
	ldr	w8, [x19]
	cmp	w8, #144
	b.ne	LBB0_14
LBB0_18:
	mov	x0, x20
	mov	w1, #1
	bl	_Naddi
	ldr	w8, [x19]
	cmp	w8, #147
	b.ne	LBB0_20
LBB0_19:
	mov	x0, x20
	mov	w1, #1
	bl	_Nsubi
LBB0_20:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_20-LBB0_4)>>2
	.byte	(LBB0_20-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_20-LBB0_4)>>2
	.byte	(LBB0_20-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" ')' expected"

	.no_dead_strip	_prim
.subsections_via_symbols
