	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xio_34
_xio_34:                                ## @xio_34
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_Devices_ICAX1Z@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MEMORY_dGetByte
	testb	$-128, %al
	je	LBB0_4
## %bb.1:
	testb	$64, %al
	jne	LBB0_4
## %bb.2:
	movq	_connected@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_4
## %bb.3:
	movq	_rdev_fd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_close
	movq	$0, (%rbx)
	movq	_do_once@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_4:
	movq	_CPU_regA@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_CPU_regY@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Devices_ICAX1Z,4,2             ## @Devices_ICAX1Z
	.comm	_connected,8,3                  ## @connected
	.comm	_rdev_fd,4,2                    ## @rdev_fd
	.comm	_do_once,8,3                    ## @do_once
	.comm	_CPU_regA,4,2                   ## @CPU_regA
	.comm	_CPU_regY,4,2                   ## @CPU_regY
	.comm	_CPU_ClrN,4,2                   ## @CPU_ClrN
	.comm	_B0,4,2                         ## @B0
	.comm	_RDevice_serial_enabled,8,3     ## @RDevice_serial_enabled
	.comm	_TCSANOW,4,2                    ## @TCSANOW
	.no_dead_strip	_xio_34
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xio_34
_xio_34:                                ; @xio_34
	.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	x8, _Devices_ICAX1Z@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Devices_ICAX1Z@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_MEMORY_dGetByte
	tbz	w0, #7, LBB0_4
; %bb.1:
	tbnz	w0, #6, LBB0_4
; %bb.2:
Lloh3:
	adrp	x19, _connected@GOTPAGE
Lloh4:
	ldr	x19, [x19, _connected@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_4
; %bb.3:
Lloh5:
	adrp	x8, _rdev_fd@GOTPAGE
Lloh6:
	ldr	x8, [x8, _rdev_fd@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_close
	str	xzr, [x19]
Lloh8:
	adrp	x8, _do_once@GOTPAGE
Lloh9:
	ldr	x8, [x8, _do_once@GOTPAGEOFF]
Lloh10:
	str	xzr, [x8]
LBB0_4:
Lloh11:
	adrp	x8, _CPU_regA@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CPU_regA@GOTPAGEOFF]
	mov	w9, #1
Lloh13:
	str	w9, [x8]
Lloh14:
	adrp	x8, _CPU_regY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CPU_regY@GOTPAGEOFF]
Lloh16:
	str	w9, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_Devices_ICAX1Z,4,2             ; @Devices_ICAX1Z
	.comm	_connected,8,3                  ; @connected
	.comm	_rdev_fd,4,2                    ; @rdev_fd
	.comm	_do_once,8,3                    ; @do_once
	.comm	_CPU_regA,4,2                   ; @CPU_regA
	.comm	_CPU_regY,4,2                   ; @CPU_regY
	.comm	_CPU_ClrN,4,2                   ; @CPU_ClrN
	.comm	_B0,4,2                         ; @B0
	.comm	_RDevice_serial_enabled,8,3     ; @RDevice_serial_enabled
	.comm	_TCSANOW,4,2                    ; @TCSANOW
	.no_dead_strip	_xio_34
.subsections_via_symbols
