	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function assemble
_assemble:                              ## @assemble
	.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
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	cmpb	$0, (%rdx)
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	cmpb	$32, 1(%rbx)
	sete	%al
	leaq	(%rbx,%rax,2), %rbx
LBB0_2:
	movq	%rbx, %rdi
	movl	$44, %esi
	callq	_strchr
	movq	%rax, %r15
	movq	%rbx, %rdi
	movl	$91, %esi
	callq	_strchr
	movq	%rax, %r12
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.6:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$3, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_7
## %bb.10:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	$3, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_11
## %bb.13:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movl	$3, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_14
## %bb.15:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	movl	$3, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_16
## %bb.19:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	movl	$3, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_20
## %bb.23:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	movl	$5, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_24
## %bb.25:
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_26
## %bb.27:
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_28
## %bb.31:
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_strncmp
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jne	LBB0_36
## %bb.32:
	testq	%r15, %r15
	je	LBB0_34
## %bb.33:
	incq	%r15
	movq	%r15, %rdi
	callq	_atoi
	movl	%eax, %ebx
	leaq	-80(%rbp), %rdi
	movl	$46, %esi
	jmp	LBB0_5
LBB0_3:
	testq	%r15, %r15
	je	LBB0_9
## %bb.4:
	incq	%r15
	movq	%r15, %rdi
	callq	_atoi
	movl	%eax, %ebx
	leaq	-80(%rbp), %rdi
	movl	$-52, %esi
	jmp	LBB0_5
LBB0_7:
	testq	%r15, %r15
	je	LBB0_9
## %bb.8:
	incq	%r15
	movq	%r15, %rdi
	callq	_atoi
	movl	%eax, %ebx
	leaq	-80(%rbp), %rdi
	movl	$-112, %esi
LBB0_5:
	movl	%eax, %edx
	callq	_memset
	jmp	LBB0_36
LBB0_9:
	movb	$-112, -80(%rbp)
	jmp	LBB0_35
LBB0_11:
	testq	%r12, %r12
	movl	$62, %eax
	movl	$43, %ecx
	jmp	LBB0_12
LBB0_14:
	testq	%r12, %r12
	movl	$60, %eax
	movl	$45, %ecx
LBB0_12:
	cmovel	%eax, %ecx
	movb	%cl, -80(%rbp)
LBB0_35:
	movl	$1, %ebx
LBB0_36:
	leaq	-80(%rbp), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_r_strbuf_setbin
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_38
## %bb.37:
	movl	%ebx, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	testq	%r15, %r15
	je	LBB0_22
## %bb.17:
	incq	%r15
	movq	%r15, %rdi
	callq	_atoi
	movl	%eax, %ebx
	testq	%r12, %r12
	movl	$60, %eax
	movl	$45, %esi
	jmp	LBB0_18
LBB0_20:
	testq	%r15, %r15
	je	LBB0_22
## %bb.21:
	incq	%r15
	movq	%r15, %rdi
	callq	_atoi
	movl	%eax, %ebx
	testq	%r12, %r12
	movl	$62, %eax
	movl	$43, %esi
LBB0_18:
	cmovel	%eax, %esi
	leaq	-80(%rbp), %rdi
	movl	%ebx, %edx
	callq	_memset
	jmp	LBB0_36
LBB0_22:
	movb	$60, -80(%rbp)
	jmp	LBB0_35
LBB0_24:
	movb	$91, -80(%rbp)
	jmp	LBB0_35
LBB0_26:
	movb	$93, -80(%rbp)
	jmp	LBB0_35
LBB0_28:
	testq	%r15, %r15
	je	LBB0_30
## %bb.29:
	incq	%r15
	movq	%r15, %rdi
	callq	_atoi
	movl	%eax, %ebx
	leaq	-80(%rbp), %rdi
	movl	$44, %esi
	jmp	LBB0_5
LBB0_30:
	movb	$44, -80(%rbp)
	jmp	LBB0_35
LBB0_34:
	movb	$46, -80(%rbp)
	jmp	LBB0_35
LBB0_38:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"trap"

L_.str.1:                               ## @.str.1
	.asciz	"nop"

L_.str.2:                               ## @.str.2
	.asciz	"inc"

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

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

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

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

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

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

L_.str.9:                               ## @.str.9
	.asciz	"out"

	.no_dead_strip	_assemble
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function assemble
_assemble:                              ; @assemble
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x21, x2
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldrb	w8, [x2]
	cbz	w8, LBB0_2
; %bb.1:
	ldrb	w8, [x21, #1]
	cmp	w8, #32
	cset	w8, eq
	add	x21, x21, w8, uxtw #1
LBB0_2:
	mov	x0, x21
	mov	w1, #44
	bl	_strchr
	mov	x20, x0
	mov	x0, x21
	mov	w1, #91
	bl	_strchr
	mov	x22, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	w2, #4
	bl	_strncmp
	cbz	w0, LBB0_13
; %bb.3:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	w2, #3
	bl	_strncmp
	cbz	w0, LBB0_15
; %bb.4:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	w2, #3
	bl	_strncmp
	cbz	w0, LBB0_18
; %bb.5:
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	w2, #3
	bl	_strncmp
	cbz	w0, LBB0_19
; %bb.6:
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	mov	w2, #3
	bl	_strncmp
	cbz	w0, LBB0_20
; %bb.7:
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	mov	w2, #3
	bl	_strncmp
	cbz	w0, LBB0_22
; %bb.8:
Lloh15:
	adrp	x1, l_.str.6@PAGE
Lloh16:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	mov	w2, #5
	bl	_strncmp
	cbz	w0, LBB0_27
; %bb.9:
Lloh17:
	adrp	x1, l_.str.7@PAGE
Lloh18:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x21
	mov	w2, #4
	bl	_strncmp
	cbz	w0, LBB0_28
; %bb.10:
Lloh19:
	adrp	x1, l_.str.8@PAGE
Lloh20:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x21
	mov	w2, #4
	bl	_strncmp
	cbz	w0, LBB0_32
; %bb.11:
Lloh21:
	adrp	x1, l_.str.9@PAGE
Lloh22:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x21
	mov	w2, #4
	bl	_strncmp
	cbz	w0, LBB0_34
; %bb.12:
	mov	w20, #0
	b	LBB0_30
LBB0_13:
	cbz	x20, LBB0_17
; %bb.14:
	add	x0, x20, #1
	bl	_atoi
	mov	x20, x0
	add	x0, sp, #8
	mov	w1, #-52
	b	LBB0_25
LBB0_15:
	cbz	x20, LBB0_17
; %bb.16:
	add	x0, x20, #1
	bl	_atoi
	mov	x20, x0
	add	x0, sp, #8
	mov	w1, #-112
	b	LBB0_25
LBB0_17:
	mov	w8, #144
	b	LBB0_29
LBB0_18:
	cmp	x22, #0
	mov	w8, #43
	mov	w9, #62
	csel	w8, w9, w8, eq
	b	LBB0_29
LBB0_19:
	cmp	x22, #0
	mov	w8, #45
	mov	w9, #60
	csel	w8, w9, w8, eq
	b	LBB0_29
LBB0_20:
	cbz	x20, LBB0_26
; %bb.21:
	add	x0, x20, #1
	bl	_atoi
	mov	x20, x0
	cmp	x22, #0
	mov	w8, #45
	mov	w9, #60
	b	LBB0_24
LBB0_22:
	cbz	x20, LBB0_26
; %bb.23:
	add	x0, x20, #1
	bl	_atoi
	mov	x20, x0
	cmp	x22, #0
	mov	w8, #43
	mov	w9, #62
LBB0_24:
	csel	w1, w9, w8, eq
	add	x0, sp, #8
LBB0_25:
	mov	x2, x20
	bl	_memset
	b	LBB0_30
LBB0_26:
	mov	w8, #60
	b	LBB0_29
LBB0_27:
	mov	w8, #91
	b	LBB0_29
LBB0_28:
	mov	w8, #93
LBB0_29:
	strb	w8, [sp, #8]
	mov	w20, #1
LBB0_30:
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x20
	bl	_r_strbuf_setbin
	ldr	x8, [sp, #40]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_38
; %bb.31:
	mov	x0, x20
	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
	add	sp, sp, #96
	ret
LBB0_32:
	cbz	x20, LBB0_36
; %bb.33:
	add	x0, x20, #1
	bl	_atoi
	mov	x20, x0
	add	x0, sp, #8
	mov	w1, #44
	b	LBB0_25
LBB0_34:
	cbz	x20, LBB0_37
; %bb.35:
	add	x0, x20, #1
	bl	_atoi
	mov	x20, x0
	add	x0, sp, #8
	mov	w1, #46
	b	LBB0_25
LBB0_36:
	mov	w8, #44
	b	LBB0_29
LBB0_37:
	mov	w8, #46
	b	LBB0_29
LBB0_38:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"trap"

l_.str.1:                               ; @.str.1
	.asciz	"nop"

l_.str.2:                               ; @.str.2
	.asciz	"inc"

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

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

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

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

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

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

l_.str.9:                               ; @.str.9
	.asciz	"out"

	.no_dead_strip	_assemble
.subsections_via_symbols
