	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Devices_H_ToAbsolutePath
_Devices_H_ToAbsolutePath:              ## @Devices_H_ToAbsolutePath
	.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	_devbug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_Log_print
LBB0_2:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_Devices_GetHostPath
	testq	%rax, %rax
	je	LBB0_14
## %bb.3:
	movq	_host_path@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_Util_direxists
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	_Devices_ICBLLZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MEMORY_dGetWordAligned
	movl	%eax, %r14d
	movq	_atari_path@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	cmpb	$0, (%rax)
	je	LBB0_12
## %bb.6:
	movl	%r14d, %edi
	movl	$62, %esi
	callq	_MEMORY_PutByte
	movq	(%rbx), %rbx
	incl	%r14d
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_12
## %bb.7:
	incq	%rbx
	movq	_Util_DIR_SEP_CHAR@GOTPCREL(%rip), %r15
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movsbl	%al, %esi
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	%r14d, %edi
	callq	_MEMORY_PutByte
	incl	%r14d
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	je	LBB0_12
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	(%r15), %al
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movl	$62, %esi
	cmpb	$0, (%rbx)
	jne	LBB0_11
LBB0_12:
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	_MEMORY_PutByte
	movl	$1, %eax
	jmp	LBB0_13
LBB0_4:
	movl	$150, %eax
LBB0_13:
	movq	_CPU_regY@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_devbug,8,3                     ## @devbug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"To Absolute Path Command"

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_host_path,4,2                  ## @host_path
	.comm	_CPU_regY,4,2                   ## @CPU_regY
	.comm	_CPU_SetN,4,2                   ## @CPU_SetN
	.comm	_Devices_ICBLLZ,4,2             ## @Devices_ICBLLZ
	.comm	_atari_path,8,3                 ## @atari_path
	.comm	_Util_DIR_SEP_CHAR,1,0          ## @Util_DIR_SEP_CHAR
	.comm	_CPU_ClrN,4,2                   ## @CPU_ClrN
	.no_dead_strip	_Devices_H_ToAbsolutePath
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Devices_H_ToAbsolutePath
_Devices_H_ToAbsolutePath:              ; @Devices_H_ToAbsolutePath
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _devbug@GOTPAGE
Lloh1:
	ldr	x8, [x8, _devbug@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Log_print
LBB0_2:
Lloh5:
	adrp	x8, _FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_Devices_GetHostPath
	cbz	x0, LBB0_15
; %bb.3:
Lloh8:
	adrp	x8, _host_path@GOTPAGE
Lloh9:
	ldr	x8, [x8, _host_path@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_Util_direxists
	cbz	w0, LBB0_13
; %bb.4:
Lloh11:
	adrp	x8, _Devices_ICBLLZ@GOTPAGE
Lloh12:
	ldr	x8, [x8, _Devices_ICBLLZ@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_MEMORY_dGetWordAligned
	mov	x19, x0
Lloh14:
	adrp	x20, _atari_path@GOTPAGE
Lloh15:
	ldr	x20, [x20, _atari_path@GOTPAGEOFF]
	ldr	x8, [x20]
	ldrb	w8, [x8]
	cbz	w8, LBB0_12
; %bb.5:
	mov	x0, x19
	mov	w1, #62
	bl	_MEMORY_PutByte
	ldr	x9, [x20]
	add	w19, w19, #1
	ldrb	w8, [x9]
	cbz	w8, LBB0_12
; %bb.6:
	add	x20, x9, #1
Lloh16:
	adrp	x21, _Util_DIR_SEP_CHAR@GOTPAGE
Lloh17:
	ldr	x21, [x21, _Util_DIR_SEP_CHAR@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	sxtb	w1, w8
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x19
	bl	_MEMORY_PutByte
	add	w19, w19, #1
	ldrb	w8, [x20], #1
	cbz	w8, LBB0_12
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x21]
	cmp	w9, w8, uxtb
	b.ne	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldrb	w8, [x20]
	cbz	w8, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	w1, #62
	b	LBB0_8
LBB0_12:
	mov	x0, x19
	mov	w1, #0
	bl	_MEMORY_PutByte
	mov	w8, #1
	b	LBB0_14
LBB0_13:
	mov	w8, #150
LBB0_14:
Lloh18:
	adrp	x9, _CPU_regY@GOTPAGE
Lloh19:
	ldr	x9, [x9, _CPU_regY@GOTPAGEOFF]
Lloh20:
	str	w8, [x9]
LBB0_15:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_devbug,8,3                     ; @devbug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"To Absolute Path Command"

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_host_path,4,2                  ; @host_path
	.comm	_CPU_regY,4,2                   ; @CPU_regY
	.comm	_CPU_SetN,4,2                   ; @CPU_SetN
	.comm	_Devices_ICBLLZ,4,2             ; @Devices_ICBLLZ
	.comm	_atari_path,8,3                 ; @atari_path
	.comm	_Util_DIR_SEP_CHAR,1,0          ; @Util_DIR_SEP_CHAR
	.comm	_CPU_ClrN,4,2                   ; @CPU_ClrN
	.no_dead_strip	_Devices_H_ToAbsolutePath
.subsections_via_symbols
