	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Devices_ReadBasicFile
_Devices_ReadBasicFile:                 ## @Devices_ReadBasicFile
	.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	_BINLOAD_bin_file@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_20
## %bb.1:
	callq	_fgetc
	movq	_EOF@GOTPCREL(%rip), %r14
	movl	$136, %ebx
	cmpl	(%r14), %eax
	je	LBB0_19
## %bb.2:
	movq	_BINLOAD_loading_basic@GOTPCREL(%rip), %rcx
	movl	$-129, %edx
	addl	(%rcx), %edx
	cmpl	$5, %edx
	ja	LBB0_18
## %bb.3:
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_10:
	cmpl	$10, %eax
	jmp	LBB0_17
LBB0_13:
	cmpl	$10, %eax
	jne	LBB0_15
## %bb.14:
	movl	$131, (%rcx)
	jmp	LBB0_12
LBB0_11:
	cmpl	$10, %eax
	jne	LBB0_16
LBB0_12:
	movq	(%r15), %rdi
	callq	_fgetc
	cmpl	(%r14), %eax
	jne	LBB0_16
	jmp	LBB0_19
LBB0_4:
	cmpl	$10, %eax
	je	LBB0_8
## %bb.5:
	cmpl	$13, %eax
	je	LBB0_9
## %bb.6:
	cmpl	$155, %eax
	jne	LBB0_18
## %bb.7:
	movl	$133, (%rcx)
	movl	$155, %eax
	jmp	LBB0_18
LBB0_15:
	movl	$132, (%rcx)
LBB0_16:
	cmpl	$13, %eax
LBB0_17:
	movl	$155, %ecx
	cmovel	%ecx, %eax
LBB0_18:
	cltq
	movq	_CPU_regA@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	$1, %ebx
LBB0_19:
	movq	_CPU_regY@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	$129, (%rcx)
	movl	$155, %eax
	jmp	LBB0_18
LBB0_9:
	movl	$130, (%rcx)
	movl	$155, %eax
	jmp	LBB0_18
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_13
	.long	L0_0_set_11
	.long	L0_0_set_16
	.long	L0_0_set_18
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_BINLOAD_bin_file,8,3           ## @BINLOAD_bin_file
	.comm	_EOF,4,2                        ## @EOF
	.comm	_CPU_regY,4,2                   ## @CPU_regY
	.comm	_CPU_SetN,4,2                   ## @CPU_SetN
	.comm	_BINLOAD_loading_basic,4,2      ## @BINLOAD_loading_basic
	.comm	_CPU_regA,8,3                   ## @CPU_regA
	.comm	_CPU_ClrN,4,2                   ## @CPU_ClrN
	.no_dead_strip	_Devices_ReadBasicFile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Devices_ReadBasicFile
_Devices_ReadBasicFile:                 ; @Devices_ReadBasicFile
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x20, _BINLOAD_bin_file@GOTPAGE
Lloh1:
	ldr	x20, [x20, _BINLOAD_bin_file@GOTPAGEOFF]
	ldr	x0, [x20]
	cbz	x0, LBB0_19
; %bb.1:
	bl	_fgetc
                                        ; kill: def $w0 killed $w0 def $x0
Lloh2:
	adrp	x19, _EOF@GOTPAGE
Lloh3:
	ldr	x19, [x19, _EOF@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w0, w8
	b.ne	LBB0_3
LBB0_2:
	mov	w8, #136
	b	LBB0_18
LBB0_3:
Lloh4:
	adrp	x8, _BINLOAD_loading_basic@GOTPAGE
Lloh5:
	ldr	x8, [x8, _BINLOAD_loading_basic@GOTPAGEOFF]
	ldr	w9, [x8]
	sub	w9, w9, #129
	cmp	w9, #5
	b.hi	LBB0_17
; %bb.4:
Lloh6:
	adrp	x10, lJTI0_0@PAGE
Lloh7:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_5
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_5:
	mov	w8, #155
	cmp	w0, #10
	b	LBB0_16
LBB0_6:
	cmp	w0, #10
	b.ne	LBB0_14
; %bb.7:
	mov	w9, #131
	str	w9, [x8]
	b	LBB0_9
LBB0_8:
	cmp	w0, #10
	b.ne	LBB0_15
LBB0_9:
	ldr	x0, [x20]
	bl	_fgetc
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x19]
	cmp	w0, w8
	b.eq	LBB0_2
	b	LBB0_15
LBB0_10:
	cmp	w0, #10
	b.eq	LBB0_20
; %bb.11:
	cmp	w0, #13
	b.eq	LBB0_21
; %bb.12:
	cmp	w0, #155
	b.ne	LBB0_17
; %bb.13:
	mov	w9, #133
	b	LBB0_22
LBB0_14:
	mov	w9, #132
	str	w9, [x8]
LBB0_15:
	mov	w8, #155
	cmp	w0, #13
LBB0_16:
	csel	w0, w8, w0, eq
LBB0_17:
	sxtw	x8, w0
Lloh8:
	adrp	x9, _CPU_regA@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CPU_regA@GOTPAGEOFF]
Lloh10:
	str	x8, [x9]
	mov	w8, #1
LBB0_18:
Lloh11:
	adrp	x9, _CPU_regY@GOTPAGE
Lloh12:
	ldr	x9, [x9, _CPU_regY@GOTPAGEOFF]
Lloh13:
	str	w8, [x9]
LBB0_19:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_20:
	mov	w9, #129
	b	LBB0_22
LBB0_21:
	mov	w9, #130
LBB0_22:
	str	w9, [x8]
	mov	w0, #155
	b	LBB0_17
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
                                        ; -- End function
	.comm	_BINLOAD_bin_file,8,3           ; @BINLOAD_bin_file
	.comm	_EOF,4,2                        ; @EOF
	.comm	_CPU_regY,4,2                   ; @CPU_regY
	.comm	_CPU_SetN,4,2                   ; @CPU_SetN
	.comm	_BINLOAD_loading_basic,4,2      ; @BINLOAD_loading_basic
	.comm	_CPU_regA,8,3                   ; @CPU_regA
	.comm	_CPU_ClrN,4,2                   ; @CPU_ClrN
	.no_dead_strip	_Devices_ReadBasicFile
.subsections_via_symbols
