	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function assembler
_assembler:                             ## @assembler
	.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	$296, %rsp                      ## imm = 0x128
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r13d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_str(%rip), %rdi
	callq	_puts
	movl	$0, -308(%rbp)
	leaq	L_.str.1(%rip), %rdx
	leaq	-327(%rbp), %r14
	movq	%r14, %rdi
	movl	$7, %esi
	movl	%r13d, %ecx
	callq	_snprintf
	leaq	-176(%rbp), %rdi
	movl	$128, %esi
	movq	%r14, %rdx
	callq	_safe_gets
	cmpb	$0, -176(%rbp)
	je	LBB0_55
## %bb.1:
	leaq	-304(%rbp), %r15
	leaq	-176(%rbp), %r12
	movq	_instr6502@GOTPCREL(%rip), %r14
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-320(%rbp), %r13                ## 8-byte Reload
	movl	%r13d, %edi
	movl	%r12d, %esi
	callq	_MEMORY_dPutByte
	incl	%r13d
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	leaq	-176(%rbp), %r12
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	$0, -308(%rbp)
	leaq	-327(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$7, %esi
	leaq	L_.str.1(%rip), %rdx
	movl	%r13d, %ecx
	callq	_snprintf
	movq	%r12, %rdi
	movl	$128, %esi
	movq	%rbx, %rdx
	callq	_safe_gets
	cmpb	$0, -176(%rbp)
	je	LBB0_55
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
                                        ##       Child Loop BB0_21 Depth 3
                                        ##     Child Loop BB0_28 Depth 2
	movq	%r12, %rdi
	callq	_Util_strupper
	movb	-176(%rbp), %cl
	movq	%r15, %rax
	testb	%cl, %cl
	movq	%r13, -320(%rbp)                ## 8-byte Spill
	je	LBB0_25
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movb	%cl, -304(%rbp)
	movb	-175(%rbp), %cl
	leaq	-303(%rbp), %rax
	testb	%cl, %cl
	je	LBB0_25
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movb	%cl, -303(%rbp)
	movb	-174(%rbp), %cl
	leaq	-302(%rbp), %rax
	testb	%cl, %cl
	je	LBB0_25
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movb	%cl, -302(%rbp)
	movb	-173(%rbp), %al
	movb	$32, -301(%rbp)
	movq	_FALSE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	testb	%al, %al
	je	LBB0_43
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r13d, %r13d
	leaq	-300(%rbp), %rcx
	leaq	-173(%rbp), %r14
	movabsq	$40869298176, %rsi              ## imm = 0x984000000
	movabsq	$36028797161570305, %rdi        ## imm = 0x80000008800001
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_13 Depth=2
	movl	(%rdx), %ebx
	incq	%r14
	movb	%al, (%r12)
	incq	%r12
LBB0_11:                                ##   in Loop: Header=BB0_13 Depth=2
	movq	%r12, %rcx
LBB0_12:                                ##   in Loop: Header=BB0_13 Depth=2
	movb	(%r14), %al
	testb	%al, %al
	je	LBB0_40
LBB0_13:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_21 Depth 3
	movq	%rcx, %r12
	movsbl	%al, %ecx
	addl	$-9, %ecx
	cmpl	$55, %ecx
	ja	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	btq	%rcx, %rsi
	jb	LBB0_10
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=2
	btq	%rcx, %rdi
	jae	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=2
	incq	%r14
	jmp	LBB0_11
LBB0_17:                                ##   in Loop: Header=BB0_13 Depth=2
	testq	%r13, %r13
	je	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_13 Depth=2
	movl	%eax, %ecx
	andb	$-2, %cl
	cmpb	$88, %cl
	jne	LBB0_38
## %bb.19:                              ##   in Loop: Header=BB0_13 Depth=2
	incq	%r14
	movb	%al, (%r12)
	incq	%r12
	movq	%r12, %rcx
	jmp	LBB0_24
LBB0_20:                                ##   in Loop: Header=BB0_13 Depth=2
	incq	%r14
	leaq	-175(%rbp), %rcx
	movq	%r14, %rdx
	leaq	L_.str.2(%rip), %r13
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_5 Depth=1
                                        ##     Parent Loop BB0_13 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%rdx, %r14
	movq	%rcx, %rbx
	movb	%al, -1(%rcx)
	movsbl	(%rdx), %esi
	movq	%r13, %rdi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=3
	movzbl	(%r14), %eax
	leaq	1(%r14), %rdx
	leaq	1(%rbx), %rcx
	testb	%al, %al
	jne	LBB0_21
LBB0_23:                                ##   in Loop: Header=BB0_13 Depth=2
	movb	$0, (%rbx)
	leaq	1(%r12), %rcx
	movb	$48, (%r12)
	movb	-176(%rbp), %al
	xorb	$65, %al
	xorl	%ebx, %ebx
	orb	-175(%rbp), %al
	sete	%bl
	movq	%r12, %r13
LBB0_24:                                ##   in Loop: Header=BB0_13 Depth=2
	movq	_FALSE@GOTPCREL(%rip), %rdx
	movabsq	$40869298176, %rsi              ## imm = 0x984000000
	movabsq	$36028797161570305, %rdi        ## imm = 0x80000008800001
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_5 Depth=1
	movb	$32, (%rax)
	incq	%rax
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -312(%rbp)                ## 4-byte Spill
LBB0_26:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	-1(%rax), %rcx
	cmpb	$32, -1(%rax)
	cmovneq	%rax, %rcx
	movb	$0, (%rcx)
	movb	$1, %bl
	xorl	%r13d, %r13d
LBB0_27:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_28:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r14), %rax
	movq	(%rax,%r12,8), %rdi
	movq	%r15, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_33
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=2
	incq	%r12
	cmpq	$256, %r12                      ## imm = 0x100
	jne	LBB0_28
## %bb.30:                              ##   in Loop: Header=BB0_28 Depth=2
	testb	%bl, %bl
	jne	LBB0_38
## %bb.31:                              ##   in Loop: Header=BB0_28 Depth=2
	movzbl	(%r13), %eax
	cmpb	$50, %al
	je	LBB0_38
## %bb.32:                              ##   in Loop: Header=BB0_28 Depth=2
	incb	%al
	movb	%al, (%r13)
	cmpl	$256, -308(%rbp)                ## imm = 0x100
	movzbl	%al, %eax
	movl	%eax, %ecx
	movl	$50, %edx
	cmovgel	%edx, %ecx
	cmpb	$49, %al
	cmovnel	%eax, %ecx
	movb	%cl, (%r13)
	xorl	%r12d, %r12d
	movq	_instr6502@GOTPCREL(%rip), %r14
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_5 Depth=1
	testb	%bl, %bl
	jne	LBB0_2
## %bb.34:                              ##   in Loop: Header=BB0_5 Depth=1
	movb	(%r13), %al
	cmpb	$49, %al
	je	LBB0_44
## %bb.35:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$48, %al
	movq	-320(%rbp), %r13                ## 8-byte Reload
	jne	LBB0_50
## %bb.36:                              ##   in Loop: Header=BB0_5 Depth=1
	leal	2(%r13), %r14d
	movl	-308(%rbp), %eax
	subl	%r14d, %eax
	movl	%eax, -308(%rbp)
	movsbl	%al, %ecx
	cmpl	%eax, %ecx
	je	LBB0_53
## %bb.37:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_str.12(%rip), %rdi
	callq	_puts
	jmp	LBB0_39
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_str.11(%rip), %rdi
	callq	_puts
	movq	-320(%rbp), %r13                ## 8-byte Reload
LBB0_39:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	-176(%rbp), %r12
	movq	_instr6502@GOTPCREL(%rip), %r14
	jmp	LBB0_4
LBB0_40:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, -312(%rbp)                ## 4-byte Spill
	leaq	-1(%rcx), %rax
	cmpb	$32, -1(%rcx)
	cmovneq	%rcx, %rax
	movb	$0, (%rax)
	testq	%r13, %r13
	je	LBB0_51
## %bb.41:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	-176(%rbp), %r12
	movq	%r12, %rdi
	leaq	-308(%rbp), %rsi
	callq	_parse_hex
	testl	%eax, %eax
	movq	_instr6502@GOTPCREL(%rip), %r14
	je	LBB0_54
## %bb.42:                              ##   in Loop: Header=BB0_5 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_27
LBB0_43:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, -312(%rbp)                ## 4-byte Spill
	leaq	-300(%rbp), %rax
	jmp	LBB0_26
LBB0_44:                                ##   in Loop: Header=BB0_5 Depth=1
	movb	$0, -301(%rbp)
	cmpl	$0, -312(%rbp)                  ## 4-byte Folded Reload
	movq	-320(%rbp), %r13                ## 8-byte Reload
	je	LBB0_49
## %bb.45:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_52
## %bb.46:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_52
## %bb.47:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_52
## %bb.48:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.8(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_52
LBB0_49:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%r13d, %edi
	movl	%r12d, %esi
	callq	_MEMORY_dPutByte
	leal	1(%r13), %edi
	movl	-308(%rbp), %esi
	callq	_MEMORY_dPutByte
	addl	$2, %r13d
	jmp	LBB0_3
LBB0_50:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%r13d, %edi
	movl	%r12d, %esi
	callq	_MEMORY_dPutByte
	leal	1(%r13), %edi
	movl	-308(%rbp), %esi
	callq	_MEMORY_dPutWord
	addl	$3, %r13d
	jmp	LBB0_3
LBB0_51:                                ##   in Loop: Header=BB0_5 Depth=1
	movb	$1, %bl
	xorl	%r13d, %r13d
	movq	_instr6502@GOTPCREL(%rip), %r14
	jmp	LBB0_27
LBB0_52:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_.str.9(%rip), %rdi
	movq	%r15, %rsi
	movq	%r15, %rdx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_3
LBB0_53:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%r13d, %edi
	movl	%r12d, %esi
	callq	_MEMORY_dPutByte
	incl	%r13d
	movl	-308(%rbp), %esi
	movl	%r13d, %edi
	callq	_MEMORY_dPutByte
	movl	%r14d, %r13d
	jmp	LBB0_39
LBB0_54:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_str.13(%rip), %rdi
	callq	_puts
	movq	-320(%rbp), %r13                ## 8-byte Reload
	jmp	LBB0_4
LBB0_55:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_57
## %bb.56:
	movl	%r13d, %eax
	addq	$296, %rsp                      ## imm = 0x128
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_57:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"%04X: "

	.comm	_FALSE,4,2                      ## @FALSE
L_.str.2:                               ## @.str.2
	.asciz	" \t$@#(),"

	.comm	_instr6502,8,3                  ## @instr6502
L_.str.5:                               ## @.str.5
	.asciz	"ASL"

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

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

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

L_.str.9:                               ## @.str.9
	.asciz	"\"%s A\" is ambiguous.\nUse \"%s\" for accumulator mode or \"%s 0A\" for zeropage mode.\n"

L_str:                                  ## @str
	.asciz	"Simple assembler (enter empty line to exit)"

L_str.11:                               ## @str.11
	.asciz	"Invalid instruction!"

L_str.12:                               ## @str.12
	.asciz	"Branch out of range!"

L_str.13:                               ## @str.13
	.asciz	"Invalid operand!"

	.no_dead_strip	_assembler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function assembler
_assembler:                             ; @assembler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #448
	.cfi_def_cfa_offset 448
	stp	x28, x27, [sp, #352]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #368]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #384]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #400]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #416]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #432]            ; 16-byte Folded Spill
	add	x29, sp, #432
	.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, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x0, l_str@PAGE
Lloh4:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	str	wzr, [sp, #76]
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #69
	mov	w1, #7
	mov	x3, x19
	bl	_snprintf
	add	x20, sp, #208
	add	x0, sp, #208
	add	x2, sp, #69
	mov	w1, #128
	bl	_safe_gets
	ldrb	w8, [sp, #208]
	cbz	w8, LBB0_54
; %bb.1:
	add	x8, sp, #80
	add	x10, x8, #1
	add	x9, x8, #2
	stp	x9, x10, [sp, #48]              ; 16-byte Folded Spill
	add	x9, x20, #3
	add	x8, x8, #4
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	add	x8, x20, #1
	stp	x9, x8, [sp, #24]               ; 16-byte Folded Spill
Lloh7:
	adrp	x27, _instr6502@GOTPAGE
Lloh8:
	ldr	x27, [x27, _instr6502@GOTPAGEOFF]
	mov	w20, #49
	mov	w25, #50
	mov	w21, #1
	mov	x26, #2214592512
	movk	x26, #9, lsl #32
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_MEMORY_dPutByte
	add	w19, w19, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	wzr, [sp, #76]
	add	x0, sp, #69
	mov	w1, #7
Lloh9:
	adrp	x2, l_.str.1@PAGE
Lloh10:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x3, x19
	bl	_snprintf
	add	x0, sp, #208
	add	x2, sp, #69
	mov	w1, #128
	bl	_safe_gets
	ldrb	w8, [sp, #208]
	cbz	w8, LBB0_54
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
                                        ;       Child Loop BB0_19 Depth 3
                                        ;     Child Loop BB0_31 Depth 2
	add	x0, sp, #208
	bl	_Util_strupper
	ldrb	w8, [sp, #208]
	cbz	w8, LBB0_26
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	strb	w8, [sp, #80]
	ldrb	w9, [sp, #209]
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
Lloh11:
	adrp	x11, _FALSE@GOTPAGE
Lloh12:
	ldr	x11, [x11, _FALSE@GOTPAGEOFF]
	cbz	w9, LBB0_27
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	strb	w9, [sp, #81]
	ldrb	w9, [sp, #210]
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	cbz	w9, LBB0_27
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	strb	w9, [sp, #82]
	ldrb	w8, [sp, #211]
	mov	w9, #32
	strb	w9, [sp, #83]
	ldr	w24, [x11]
	cbz	w8, LBB0_43
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x28, #0
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	ldr	x23, [sp, #24]                  ; 8-byte Folded Reload
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=2
	ldr	w24, [x11]
	add	x23, x23, #1
	strb	w8, [x22], #1
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	mov	x9, x22
	ldrb	w8, [x23]
	cbz	w8, LBB0_23
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_19 Depth 3
	mov	x22, x9
	sxtb	w9, w8
	sub	w9, w9, #9
	cmp	w9, #55
	b.hi	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	lsl	x10, x21, x9
	tst	x10, x26
	b.ne	LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=2
	lsl	x9, x21, x9
	mov	x10, #1
	movk	x10, #2176, lsl #16
	movk	x10, #128, lsl #48
	tst	x9, x10
	b.eq	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=2
	add	x23, x23, #1
	b	LBB0_10
LBB0_15:                                ;   in Loop: Header=BB0_11 Depth=2
	cbz	x28, LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_11 Depth=2
	and	w9, w8, #0xfe
	cmp	w9, #88
	b.ne	LBB0_41
; %bb.17:                               ;   in Loop: Header=BB0_11 Depth=2
	add	x23, x23, #1
	strb	w8, [x22], #1
	mov	x9, x22
	b	LBB0_22
LBB0_18:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x9, x23, #1
	ldr	x10, [sp, #32]                  ; 8-byte Folded Reload
Lloh13:
	adrp	x28, l_.str.2@PAGE
Lloh14:
	add	x28, x28, l_.str.2@PAGEOFF
LBB0_19:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_11 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x23, x9
	mov	x24, x10
	sturb	w8, [x10, #-1]
	ldrsb	w1, [x9]
	mov	x0, x28
	bl	_strchr
	cbnz	x0, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=3
	mov	x9, x23
	ldrb	w8, [x9], #1
	add	x10, x24, #1
	cbnz	w8, LBB0_19
LBB0_21:                                ;   in Loop: Header=BB0_11 Depth=2
	strb	wzr, [x24]
	mov	x9, x22
	mov	w8, #48
	strb	w8, [x9], #1
	ldrb	w8, [sp, #208]
	cmp	w8, #65
	ldrb	w8, [sp, #209]
	ccmp	w8, #0, #0, eq
	cset	w24, eq
	mov	x28, x22
LBB0_22:                                ;   in Loop: Header=BB0_11 Depth=2
Lloh15:
	adrp	x11, _FALSE@GOTPAGE
Lloh16:
	ldr	x11, [x11, _FALSE@GOTPAGEOFF]
	ldrb	w8, [x23]
	cbnz	w8, LBB0_11
LBB0_23:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x9
	ldrb	w10, [x8, #-1]!
	cmp	w10, #32
	csel	x8, x8, x9, eq
	strb	wzr, [x8]
	cbz	x28, LBB0_29
; %bb.24:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #208
	add	x1, sp, #76
	bl	_parse_hex
	cbz	w0, LBB0_53
; %bb.25:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w22, #0
	b	LBB0_30
LBB0_26:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, sp, #80
Lloh17:
	adrp	x11, _FALSE@GOTPAGE
Lloh18:
	ldr	x11, [x11, _FALSE@GOTPAGEOFF]
LBB0_27:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w9, #32
	strb	w9, [x8], #1
	ldr	w24, [x11]
LBB0_28:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x28, #0
	mov	x9, x8
	ldrb	w10, [x9, #-1]!
	cmp	w10, #32
	csel	x8, x9, x8, eq
	strb	wzr, [x8]
LBB0_29:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w22, #1
LBB0_30:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, #0
LBB0_31:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x27]
	ldr	x0, [x8, x23, lsl #3]
	add	x1, sp, #80
	bl	_strcmp
	cbz	x0, LBB0_36
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=2
	add	x23, x23, #1
	cmp	x23, #256
	b.ne	LBB0_31
; %bb.33:                               ;   in Loop: Header=BB0_31 Depth=2
	tbnz	w22, #0, LBB0_41
; %bb.34:                               ;   in Loop: Header=BB0_31 Depth=2
	ldrb	w8, [x28]
	cmp	w8, #50
	b.eq	LBB0_41
; %bb.35:                               ;   in Loop: Header=BB0_31 Depth=2
	mov	x23, #0
	add	w9, w8, #1
	and	w10, w9, #0xff
	strb	w9, [x28]
	ldr	w9, [sp, #76]
	cmp	w9, #255
	ccmp	w10, w20, #0, gt
	csinc	w8, w25, w8, eq
	strb	w8, [x28]
	b	LBB0_31
LBB0_36:                                ;   in Loop: Header=BB0_4 Depth=1
	cbnz	w22, LBB0_2
; %bb.37:                               ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x28]
	cmp	w8, #49
	b.eq	LBB0_44
; %bb.38:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #48
	b.ne	LBB0_50
; %bb.39:                               ;   in Loop: Header=BB0_4 Depth=1
	add	w22, w19, #2
	ldr	w8, [sp, #76]
	sub	w8, w8, w22
	str	w8, [sp, #76]
	cmp	w8, w8, sxtb
	b.eq	LBB0_52
; %bb.40:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh19:
	adrp	x0, l_str.12@PAGE
Lloh20:
	add	x0, x0, l_str.12@PAGEOFF
	b	LBB0_42
LBB0_41:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh21:
	adrp	x0, l_str.11@PAGE
Lloh22:
	add	x0, x0, l_str.11@PAGEOFF
LBB0_42:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_puts
	b	LBB0_3
LBB0_43:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	b	LBB0_28
LBB0_44:                                ;   in Loop: Header=BB0_4 Depth=1
	strb	wzr, [sp, #83]
	cbz	w24, LBB0_49
; %bb.45:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #80
Lloh23:
	adrp	x1, l_.str.5@PAGE
Lloh24:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_51
; %bb.46:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #80
Lloh25:
	adrp	x1, l_.str.6@PAGE
Lloh26:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_51
; %bb.47:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #80
Lloh27:
	adrp	x1, l_.str.7@PAGE
Lloh28:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_51
; %bb.48:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #80
Lloh29:
	adrp	x1, l_.str.8@PAGE
Lloh30:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_51
LBB0_49:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_MEMORY_dPutByte
	add	w0, w19, #1
	ldr	w1, [sp, #76]
	bl	_MEMORY_dPutByte
	add	w19, w19, #2
	b	LBB0_3
LBB0_50:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_MEMORY_dPutByte
	add	w0, w19, #1
	ldr	w1, [sp, #76]
	bl	_MEMORY_dPutWord
	add	w19, w19, #3
	b	LBB0_3
LBB0_51:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, sp, #80
	stp	x8, x8, [sp, #8]
	str	x8, [sp]
Lloh31:
	adrp	x0, l_.str.9@PAGE
Lloh32:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_printf
	b	LBB0_3
LBB0_52:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_MEMORY_dPutByte
	add	w0, w19, #1
	ldr	w1, [sp, #76]
	bl	_MEMORY_dPutByte
	mov	x19, x22
	b	LBB0_3
LBB0_53:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh33:
	adrp	x0, l_str.13@PAGE
Lloh34:
	add	x0, x0, l_str.13@PAGEOFF
	b	LBB0_42
LBB0_54:
	ldur	x8, [x29, #-96]
Lloh35:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh36:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_56
; %bb.55:
	mov	x0, x19
	ldp	x29, x30, [sp, #432]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #416]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #400]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #384]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #368]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #352]            ; 16-byte Folded Reload
	add	sp, sp, #448
	ret
LBB0_56:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"%04X: "

	.comm	_FALSE,4,2                      ; @FALSE
l_.str.2:                               ; @.str.2
	.asciz	" \t$@#(),"

	.comm	_instr6502,8,3                  ; @instr6502
l_.str.5:                               ; @.str.5
	.asciz	"ASL"

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

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

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

l_.str.9:                               ; @.str.9
	.asciz	"\"%s A\" is ambiguous.\nUse \"%s\" for accumulator mode or \"%s 0A\" for zeropage mode.\n"

l_str:                                  ; @str
	.asciz	"Simple assembler (enter empty line to exit)"

l_str.11:                               ; @str.11
	.asciz	"Invalid instruction!"

l_str.12:                               ; @str.12
	.asciz	"Branch out of range!"

l_str.13:                               ; @str.13
	.asciz	"Invalid operand!"

	.no_dead_strip	_assembler
.subsections_via_symbols
