	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_parameter
_decode_parameter:                      ## @decode_parameter
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movb	(%rdi), %bl
	xorl	%r14d, %r14d
	cmpb	$91, %bl
	sete	%r14b
	addq	%rdi, %r14
	movq	%r14, %rdi
	callq	_strlen
	cltq
	cmpb	$93, -1(%rax,%r14)
	jne	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	callq	_strlen
	cltq
	movb	$0, -1(%rax,%r14)
	cmpb	$91, %bl
	je	LBB0_5
## %bb.2:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_37
LBB0_3:
	cmpb	$91, %bl
	jne	LBB0_5
## %bb.4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_37
LBB0_5:
	cmpb	$91, %bl
	setne	%dl
	movb	(%r14), %al
	cmpb	$48, %al
	movb	%bl, -41(%rbp)                  ## 1-byte Spill
	jne	LBB0_15
## %bb.6:
	cmpb	$88, 1(%r14)
	jne	LBB0_16
## %bb.7:
	movb	%dl, -42(%rbp)                  ## 1-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	addq	$2, %r14
	movq	%r14, %rdi
	callq	_strlen
	testl	%eax, %eax
	jle	LBB0_32
## %bb.8:
	movl	%eax, %r13d
	xorl	%ecx, %ecx
	movl	$-1, %r9d
	movl	$-1, %eax
	xorl	%r12d, %r12d
	movb	-41(%rbp), %r8b                 ## 1-byte Reload
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_11 Depth=1
	movsbl	1(%r14,%r15), %edi
	incq	%r15
	callq	_get_register_id
	movl	$-1, %r9d
	movzbl	-41(%rbp), %r8d                 ## 1-byte Folded Reload
                                        ## kill: def $eax killed $eax def $rax
	movl	%r15d, %ecx
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=1
	incl	%ecx
	cmpl	%r13d, %ecx
	jge	LBB0_33
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movslq	%ecx, %r15
	movsbl	(%r14,%r15), %esi
	leal	-48(%rsi), %edx
	leal	-48(%rsi), %edi
	cmpb	$10, %dl
	cmovael	%r9d, %edi
	leal	-65(%rsi), %ebx
	leal	-55(%rsi), %edx
	cmpb	$6, %bl
	cmovael	%edi, %edx
	cmpl	$43, %esi
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpb	$91, %r8b
	je	LBB0_9
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$-1, %edx
	je	LBB0_36
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	shll	$4, %r12d
	addl	%edx, %r12d
	jmp	LBB0_10
LBB0_15:
	leal	-48(%rax), %ecx
	cmpb	$9, %cl
	ja	LBB0_24
LBB0_16:
	movb	%dl, -42(%rbp)                  ## 1-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_strlen
	testl	%eax, %eax
	jle	LBB0_32
## %bb.17:
	movl	%eax, %r13d
	xorl	%ecx, %ecx
	movl	$-1, %ebx
	movl	$-1, %eax
	xorl	%r12d, %r12d
	movb	-41(%rbp), %r8b                 ## 1-byte Reload
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_20 Depth=1
	movsbl	1(%r14,%r15), %edi
	incq	%r15
	callq	_get_register_id
	movl	$-1, %ebx
	movzbl	-41(%rbp), %r8d                 ## 1-byte Folded Reload
                                        ## kill: def $eax killed $eax def $rax
	movl	%r15d, %ecx
LBB0_19:                                ##   in Loop: Header=BB0_20 Depth=1
	incl	%ecx
	cmpl	%r13d, %ecx
	jge	LBB0_33
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movslq	%ecx, %r15
	movsbl	(%r14,%r15), %esi
	leal	-48(%rsi), %edi
	leal	-48(%rsi), %edx
	cmpb	$10, %dil
	cmovael	%ebx, %edx
	cmpl	$43, %esi
	jne	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	cmpb	$91, %r8b
	je	LBB0_18
LBB0_22:                                ##   in Loop: Header=BB0_20 Depth=1
	cmpl	$-1, %edx
	je	LBB0_36
## %bb.23:                              ##   in Loop: Header=BB0_20 Depth=1
	leal	(%r12,%r12,4), %esi
	leal	(%rdx,%rsi,2), %r12d
	jmp	LBB0_19
LBB0_32:
	movl	$-1, %eax
	xorl	%r12d, %r12d
	movb	-41(%rbp), %r8b                 ## 1-byte Reload
LBB0_33:
	cmpl	$32, %r12d
	setl	%cl
	andb	-42(%rbp), %cl                  ## 1-byte Folded Reload
	cmpb	$1, %cl
	jne	LBB0_34
## %bb.40:
	addl	$32, %r12d
	jmp	LBB0_38
LBB0_34:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	$1, (%rcx)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%r12d, (%rcx)
	movl	$31, %r12d
	cmpb	$91, %r8b
	jne	LBB0_38
## %bb.35:
	leal	16(%rax), %ecx
	cmpl	$-1, %eax
	movl	$30, %r12d
	cmovnel	%ecx, %r12d
	jmp	LBB0_38
LBB0_24:
	cmpb	$0, 1(%r14)
	je	LBB0_41
## %bb.25:
	leaq	L_.str.3(%rip), %rdi
	movq	%r14, %rsi
	movl	$3, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_42
## %bb.26:
	leaq	L_.str.4(%rip), %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_43
## %bb.27:
	leaq	L_.str.5(%rip), %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_44
## %bb.28:
	leaq	L_.str.6(%rip), %rdi
	movq	%r14, %rsi
	movl	$2, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_45
## %bb.29:
	leaq	L_.str.7(%rip), %rdi
	movq	%r14, %rsi
	movl	$2, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_46
## %bb.30:
	leaq	L_.str.8(%rip), %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_47
## %bb.31:
	movl	$1, (%r12)
	movl	$0, (%r15)
	movl	$31, %r12d
	jmp	LBB0_38
LBB0_36:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
LBB0_37:
	callq	_fprintf
	xorl	%r12d, %r12d
LBB0_38:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_41:
	movsbl	%al, %edi
	callq	_get_register_id
                                        ## kill: def $eax killed $eax def $rax
	leal	8(%rax), %r12d
	cmpb	$91, %bl
	cmovnel	%eax, %r12d
	jmp	LBB0_38
LBB0_42:
	movl	$24, %r12d
	jmp	LBB0_38
LBB0_43:
	movl	$25, %r12d
	jmp	LBB0_38
LBB0_44:
	movl	$26, %r12d
	jmp	LBB0_38
LBB0_45:
	movl	$27, %r12d
	jmp	LBB0_38
LBB0_46:
	movl	$28, %r12d
	jmp	LBB0_38
LBB0_47:
	movl	$29, %r12d
	jmp	LBB0_38
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Missing last square bracket\n"

L_.str.1:                               ## @.str.1
	.asciz	"Missing first square bracket\n"

L_.str.2:                               ## @.str.2
	.asciz	"invalid literal\n"

L_.str.3:                               ## @.str.3
	.asciz	"POP"

L_.str.4:                               ## @.str.4
	.asciz	"PEEK"

L_.str.5:                               ## @.str.5
	.asciz	"PUSH"

L_.str.6:                               ## @.str.6
	.asciz	"SP"

L_.str.7:                               ## @.str.7
	.asciz	"PC"

L_.str.8:                               ## @.str.8
	.asciz	"O"

	.no_dead_strip	_decode_parameter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_parameter
_decode_parameter:                      ; @decode_parameter
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x2
	mov	x20, x1
	mov	x8, x0
	ldrb	w23, [x8], #1
	cmp	w23, #91
	csel	x21, x0, x8, ne
	mov	x0, x21
	bl	_strlen
	add	x8, x21, w0, sxtw
	ldurb	w8, [x8, #-1]
	cmp	w8, #93
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x21
	bl	_strlen
	add	x8, x21, w0, sxtw
	sturb	wzr, [x8, #-1]
	cmp	w23, #91
	b.eq	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_37
LBB0_3:
	cmp	w23, #91
	b.ne	LBB0_5
; %bb.4:
Lloh5:
	adrp	x8, _stderr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_37
LBB0_5:
	cmp	w23, #91
	cset	w24, ne
	ldrb	w8, [x21]
	subs	w9, w8, #48
	b.ne	LBB0_15
; %bb.6:
	ldrb	w8, [x21, #1]
	cmp	w8, #88
	b.ne	LBB0_16
; %bb.7:
	add	x21, x21, #2
	mov	x0, x21
	bl	_strlen
	cmp	w0, #1
	b.lt	LBB0_24
; %bb.8:
	mov	x22, x0
	mov	w8, #0
	mov	w25, #0
	mov	w0, #-1
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	add	x26, x9, #1
	ldrsb	w0, [x21, x26]
	bl	_get_register_id
	mov	x8, x26
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	w8, w8, #1
	cmp	w8, w22
	b.ge	LBB0_25
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	sxtw	x9, w8
	ldrsb	w11, [x21, x9]
	sub	w10, w11, #48
	cmp	w10, #10
	csinv	w10, w10, wzr, lo
	sub	w12, w11, #65
	sub	w13, w11, #55
	cmp	w12, #6
	csel	w10, w13, w10, lo
	cmp	w11, #43
	b.ne	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	cmp	w23, #91
	b.eq	LBB0_9
LBB0_13:                                ;   in Loop: Header=BB0_11 Depth=1
	cmn	w10, #1
	b.eq	LBB0_36
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	add	w25, w10, w25, lsl #4
	b	LBB0_10
LBB0_15:
	cmp	w9, #9
	b.hi	LBB0_28
LBB0_16:
	mov	x0, x21
	bl	_strlen
	cmp	w0, #1
	b.lt	LBB0_24
; %bb.17:
	mov	x22, x0
	mov	w8, #0
	mov	w25, #0
	mov	w0, #-1
	mov	w26, #10
	b	LBB0_20
LBB0_18:                                ;   in Loop: Header=BB0_20 Depth=1
	add	x27, x9, #1
	ldrsb	w0, [x21, x27]
	bl	_get_register_id
	mov	x8, x27
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	add	w8, w8, #1
	cmp	w8, w22
	b.ge	LBB0_25
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	sxtw	x9, w8
	ldrsb	w11, [x21, x9]
	sub	w10, w11, #48
	cmp	w10, #10
	csinv	w10, w10, wzr, lo
	cmp	w11, #43
	b.ne	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	cmp	w23, #91
	b.eq	LBB0_18
LBB0_22:                                ;   in Loop: Header=BB0_20 Depth=1
	cmn	w10, #1
	b.eq	LBB0_36
; %bb.23:                               ;   in Loop: Header=BB0_20 Depth=1
	madd	w25, w25, w26, w10
	b	LBB0_19
LBB0_24:
	mov	w25, #0
	mov	w0, #-1
LBB0_25:
	cmp	w25, #32
	cset	w8, lt
	and	w8, w8, w24
	cmp	w8, #1
	b.ne	LBB0_27
; %bb.26:
	add	w0, w25, #32
	b	LBB0_38
LBB0_27:
	mov	w8, #1
	str	w8, [x20]
	str	w25, [x19]
	mov	w8, #31
	add	w9, w0, #16
	cmn	w0, #1
	mov	w10, #30
	csel	w9, w10, w9, eq
	cmp	w23, #91
	csel	w0, w8, w9, ne
	b	LBB0_38
LBB0_28:
	ldrb	w9, [x21, #1]
	cbz	w9, LBB0_39
; %bb.29:
Lloh10:
	adrp	x0, l_.str.3@PAGE
Lloh11:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x21
	mov	w2, #3
	bl	_strncmp
	cbz	w0, LBB0_40
; %bb.30:
Lloh12:
	adrp	x0, l_.str.4@PAGE
Lloh13:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x21
	mov	w2, #4
	bl	_strncmp
	cbz	w0, LBB0_41
; %bb.31:
Lloh14:
	adrp	x0, l_.str.5@PAGE
Lloh15:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x21
	mov	w2, #4
	bl	_strncmp
	cbz	w0, LBB0_42
; %bb.32:
Lloh16:
	adrp	x0, l_.str.6@PAGE
Lloh17:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x21
	mov	w2, #2
	bl	_strncmp
	cbz	w0, LBB0_43
; %bb.33:
Lloh18:
	adrp	x0, l_.str.7@PAGE
Lloh19:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x21
	mov	w2, #2
	bl	_strncmp
	cbz	w0, LBB0_44
; %bb.34:
Lloh20:
	adrp	x0, l_.str.8@PAGE
Lloh21:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	w22, #1
	mov	x1, x21
	mov	w2, #1
	bl	_strncmp
	cbz	w0, LBB0_45
; %bb.35:
	str	w22, [x20]
	str	wzr, [x19]
	mov	w0, #31
	b	LBB0_38
LBB0_36:
Lloh22:
	adrp	x8, _stderr@GOTPAGE
Lloh23:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_37:
	bl	_fprintf
	mov	w0, #0
LBB0_38:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_39:
	sxtb	w0, w8
	bl	_get_register_id
	add	w8, w0, #8
	cmp	w23, #91
	csel	w0, w8, w0, eq
	b	LBB0_38
LBB0_40:
	mov	w0, #24
	b	LBB0_38
LBB0_41:
	mov	w0, #25
	b	LBB0_38
LBB0_42:
	mov	w0, #26
	b	LBB0_38
LBB0_43:
	mov	w0, #27
	b	LBB0_38
LBB0_44:
	mov	w0, #28
	b	LBB0_38
LBB0_45:
	mov	w0, #29
	b	LBB0_38
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Missing last square bracket\n"

l_.str.1:                               ; @.str.1
	.asciz	"Missing first square bracket\n"

l_.str.2:                               ; @.str.2
	.asciz	"invalid literal\n"

l_.str.3:                               ; @.str.3
	.asciz	"POP"

l_.str.4:                               ; @.str.4
	.asciz	"PEEK"

l_.str.5:                               ; @.str.5
	.asciz	"PUSH"

l_.str.6:                               ; @.str.6
	.asciz	"SP"

l_.str.7:                               ; @.str.7
	.asciz	"PC"

l_.str.8:                               ; @.str.8
	.asciz	"O"

	.no_dead_strip	_decode_parameter
.subsections_via_symbols
