	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Devices_H_BinLoaderCont
_Devices_H_BinLoaderCont:               ## @Devices_H_BinLoaderCont
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_binf@GOTPCREL(%rip), %r12
	cmpq	$0, (%r12)
	je	LBB0_21
## %bb.1:
	movq	_BINLOAD_start_binloading@GOTPCREL(%rip), %r13
	cmpq	$0, (%r13)
	je	LBB0_3
## %bb.2:
	movl	$580, %edi                      ## imm = 0x244
	xorl	%esi, %esi
	callq	_MEMORY_dPutByte
	movl	$9, %edi
	movl	$1, %esi
	callq	_MEMORY_dPutByte
	jmp	LBB0_4
LBB0_3:
	movq	_CPU_regS@GOTPCREL(%rip), %rax
	addl	$2, (%rax)
LBB0_4:
	movl	$739, %edi                      ## imm = 0x2E3
	movl	$215, %esi
	callq	_MEMORY_dPutByte
	movq	_EOF@GOTPCREL(%rip), %r14
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
	xorl	%eax, %eax
	callq	_Devices_H_BinReadWord
	cmpl	$65535, %eax                    ## imm = 0xFFFF
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_21
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
	callq	_Devices_H_BinReadWord
	testl	%eax, %eax
	js	LBB0_21
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %ebx
	movl	%eax, %r15d
	movq	_devbug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_Log_print
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$0, (%r13)
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_runBinFile@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$736, %edi                      ## imm = 0x2E0
	movq	%rbx, %rsi
	callq	_MEMORY_dPutWordAligned
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r13)
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%r15
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r12), %rdi
	callq	_fgetc
	cmpl	(%r14), %eax
	je	LBB0_16
## %bb.22:                              ##   in Loop: Header=BB0_15 Depth=2
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_MEMORY_PutByte
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_15
## %bb.23:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_initBinFile@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.24:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$739, %edi                      ## imm = 0x2E3
	callq	_MEMORY_dGetByte
	cmpl	$215, %eax
	je	LBB0_5
## %bb.25:
	movq	_CPU_regS@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rdi
	leal	-1(%rdi), %eax
	movl	%eax, (%rbx)
	addq	$255, %rdi
	movq	_ESC_BINLOADER_CONT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	_Devices_H_BinLoaderCont(%rip), %rdx
	callq	_ESC_Add
	movl	(%rbx), %edi
	leal	-2(%rdi), %eax
	movl	%eax, (%rbx)
	addl	$255, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	movl	$1, %esi
	callq	_MEMORY_dPutByte
	movl	(%rbx), %esi
	leal	256(%rsi), %edi
	incl	%esi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_MEMORY_dPutByte
	decl	(%rbx)
	movl	$738, %edi                      ## imm = 0x2E2
	callq	_MEMORY_dGetWordAligned
	movq	_CPU_regPC@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$768, %edi                      ## imm = 0x300
	movl	$49, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_MEMORY_dPutByte                ## TAILCALL
LBB0_16:
	movq	(%r12), %rdi
	callq	_fclose
	movq	$0, (%r12)
	movq	_runBinFile@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_18
## %bb.17:
	movl	$736, %edi                      ## imm = 0x2E0
	callq	_MEMORY_dGetWordAligned
	movq	_CPU_regPC@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_18:
	movq	_initBinFile@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_21
## %bb.19:
	movl	$739, %edi                      ## imm = 0x2E3
	callq	_MEMORY_dGetByte
	cmpl	$215, %eax
	je	LBB0_21
## %bb.20:
	movq	_CPU_regPC@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	decl	%esi
	movl	%esi, (%r14)
	movq	_CPU_regS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leal	-1(%rdi), %eax
	movl	%eax, (%rbx)
	addl	$256, %edi                      ## imm = 0x100
	sarl	$8, %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_MEMORY_dPutByte
	movl	(%rbx), %edi
	leal	-1(%rdi), %eax
	movl	%eax, (%rbx)
	addl	$256, %edi                      ## imm = 0x100
	movzbl	(%r14), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_MEMORY_dPutByte
	movl	$738, %edi                      ## imm = 0x2E2
	callq	_MEMORY_dGetWordAligned
	movl	%eax, (%r14)
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_binf,8,3                       ## @binf
	.comm	_BINLOAD_start_binloading,8,3   ## @BINLOAD_start_binloading
	.comm	_CPU_regS,4,2                   ## @CPU_regS
	.comm	_devbug,8,3                     ## @devbug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"H: Load: From %04X to %04X"

	.comm	_runBinFile,8,3                 ## @runBinFile
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_EOF,4,2                        ## @EOF
	.comm	_CPU_regPC,4,2                  ## @CPU_regPC
	.comm	_initBinFile,8,3                ## @initBinFile
	.comm	_ESC_BINLOADER_CONT,4,2         ## @ESC_BINLOADER_CONT
	.comm	_CPU_SetC,4,2                   ## @CPU_SetC
	.no_dead_strip	_Devices_H_BinLoaderCont
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Devices_H_BinLoaderCont
_Devices_H_BinLoaderCont:               ; @Devices_H_BinLoaderCont
	.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
Lloh0:
	adrp	x22, _binf@GOTPAGE
Lloh1:
	ldr	x22, [x22, _binf@GOTPAGEOFF]
	ldr	x8, [x22]
	cbz	x8, LBB0_25
; %bb.1:
Lloh2:
	adrp	x23, _BINLOAD_start_binloading@GOTPAGE
Lloh3:
	ldr	x23, [x23, _BINLOAD_start_binloading@GOTPAGEOFF]
	ldr	x8, [x23]
	cbz	x8, LBB0_3
; %bb.2:
	mov	w0, #580
	mov	w1, #0
	bl	_MEMORY_dPutByte
	mov	w0, #9
	mov	w1, #1
	bl	_MEMORY_dPutByte
	b	LBB0_4
LBB0_3:
Lloh4:
	adrp	x8, _CPU_regS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CPU_regS@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #2
	str	w9, [x8]
LBB0_4:
	mov	w0, #739
	mov	w1, #215
	bl	_MEMORY_dPutByte
	mov	w26, #65535
Lloh6:
	adrp	x27, _devbug@GOTPAGE
Lloh7:
	ldr	x27, [x27, _devbug@GOTPAGEOFF]
Lloh8:
	adrp	x28, _EOF@GOTPAGE
Lloh9:
	ldr	x28, [x28, _EOF@GOTPAGEOFF]
Lloh10:
	adrp	x24, _initBinFile@GOTPAGE
Lloh11:
	ldr	x24, [x24, _initBinFile@GOTPAGEOFF]
Lloh12:
	adrp	x25, _runBinFile@GOTPAGE
Lloh13:
	ldr	x25, [x25, _runBinFile@GOTPAGEOFF]
Lloh14:
	adrp	x19, l_.str@PAGE
Lloh15:
	add	x19, x19, l_.str@PAGEOFF
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
	bl	_Devices_H_BinReadWord
	cmp	w0, w26
	b.eq	LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x20, x0
	tbnz	w0, #31, LBB0_25
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_Devices_H_BinReadWord
	tbnz	w0, #31, LBB0_25
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w20, w20
	ldr	x8, [x27]
	mov	w21, w0
	cbz	x8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_Log_print
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x23]
	cbz	x8, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x25]
	cbz	x8, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #736
	mov	x1, x20
	bl	_MEMORY_dPutWordAligned
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh16:
	adrp	x8, _FALSE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	str	x8, [x23]
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #1
LBB0_15:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x22]
	bl	_fgetc
	ldr	w8, [x28]
	cmp	w0, w8
	b.eq	LBB0_20
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	mov	x1, x0
	mov	x0, x20
	bl	_MEMORY_PutByte
	add	x20, x20, #1
	cmp	x21, x20
	b.ne	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x24]
	cbz	x8, LBB0_5
; %bb.18:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #739
	bl	_MEMORY_dGetByte
	cmp	w0, #215
	b.eq	LBB0_5
; %bb.19:
Lloh19:
	adrp	x19, _CPU_regS@GOTPAGE
Lloh20:
	ldr	x19, [x19, _CPU_regS@GOTPAGEOFF]
	ldrsw	x8, [x19]
	sub	w9, w8, #1
	str	w9, [x19]
	add	x0, x8, #255
Lloh21:
	adrp	x8, _ESC_BINLOADER_CONT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ESC_BINLOADER_CONT@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x2, _Devices_H_BinLoaderCont@PAGE
Lloh25:
	add	x2, x2, _Devices_H_BinLoaderCont@PAGEOFF
	bl	_ESC_Add
	ldr	w8, [x19]
	sub	w9, w8, #2
	str	w9, [x19]
	add	w0, w8, #255
	mov	w1, #1
	bl	_MEMORY_dPutByte
	ldr	w8, [x19]
	add	w0, w8, #256
	add	w1, w8, #1
	bl	_MEMORY_dPutByte
	ldr	w8, [x19]
	sub	w8, w8, #1
	str	w8, [x19]
	mov	w0, #738
	bl	_MEMORY_dGetWordAligned
Lloh26:
	adrp	x8, _CPU_regPC@GOTPAGE
Lloh27:
	ldr	x8, [x8, _CPU_regPC@GOTPAGEOFF]
Lloh28:
	str	w0, [x8]
	mov	w0, #768
	mov	w1, #49
	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
	b	_MEMORY_dPutByte
LBB0_20:
	ldr	x0, [x22]
	bl	_fclose
	str	xzr, [x22]
	ldr	x8, [x25]
	cbz	x8, LBB0_22
; %bb.21:
	mov	w0, #736
	bl	_MEMORY_dGetWordAligned
Lloh29:
	adrp	x8, _CPU_regPC@GOTPAGE
Lloh30:
	ldr	x8, [x8, _CPU_regPC@GOTPAGEOFF]
Lloh31:
	str	w0, [x8]
LBB0_22:
	ldr	x8, [x24]
	cbz	x8, LBB0_25
; %bb.23:
	mov	w0, #739
	bl	_MEMORY_dGetByte
	cmp	w0, #215
	b.eq	LBB0_25
; %bb.24:
Lloh32:
	adrp	x19, _CPU_regPC@GOTPAGE
Lloh33:
	ldr	x19, [x19, _CPU_regPC@GOTPAGEOFF]
	ldr	w8, [x19]
	sub	w8, w8, #1
Lloh34:
	adrp	x20, _CPU_regS@GOTPAGE
Lloh35:
	ldr	x20, [x20, _CPU_regS@GOTPAGEOFF]
	str	w8, [x19]
	ldr	w9, [x20]
	sub	w10, w9, #1
	str	w10, [x20]
	add	w0, w9, #256
	asr	w1, w8, #8
	bl	_MEMORY_dPutByte
	ldr	w8, [x20]
	sub	w9, w8, #1
	str	w9, [x20]
	add	w0, w8, #256
	ldrb	w1, [x19]
	bl	_MEMORY_dPutByte
	mov	w0, #738
	bl	_MEMORY_dGetWordAligned
	str	w0, [x19]
LBB0_25:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_binf,8,3                       ; @binf
	.comm	_BINLOAD_start_binloading,8,3   ; @BINLOAD_start_binloading
	.comm	_CPU_regS,4,2                   ; @CPU_regS
	.comm	_devbug,8,3                     ; @devbug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"H: Load: From %04X to %04X"

	.comm	_runBinFile,8,3                 ; @runBinFile
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_EOF,4,2                        ; @EOF
	.comm	_CPU_regPC,4,2                  ; @CPU_regPC
	.comm	_initBinFile,8,3                ; @initBinFile
	.comm	_ESC_BINLOADER_CONT,4,2         ; @ESC_BINLOADER_CONT
	.comm	_CPU_SetC,4,2                   ; @CPU_SetC
	.no_dead_strip	_Devices_H_BinLoaderCont
.subsections_via_symbols
