	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function st2000_command
_st2000_command:                        ## @st2000_command
	.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	%rdi, %rbx
	movq	_st2000_desc@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.2:
	testq	%rbx, %rbx
	je	LBB0_3
LBB0_4:
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_printf_stdebug
	xorl	%edi, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_expect_prompt                  ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_error
	testq	%rbx, %rbx
	jne	LBB0_4
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	callq	_error
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_st2000_desc,4,2                ## @st2000_desc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"st2000 target not open."

L_.str.1:                               ## @.str.1
	.asciz	"Missing command."

L_.str.2:                               ## @.str.2
	.asciz	"%s\r"

	.no_dead_strip	_st2000_command
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function st2000_command
_st2000_command:                        ; @st2000_command
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _st2000_desc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _st2000_desc@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
	cbz	x19, LBB0_4
LBB0_2:
Lloh3:
	adrp	x0, l_.str.2@PAGE
Lloh4:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_printf_stdebug
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_expect_prompt
LBB0_3:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
	cbnz	x19, LBB0_2
LBB0_4:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_error
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_st2000_desc,4,2                ; @st2000_desc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"st2000 target not open."

l_.str.1:                               ; @.str.1
	.asciz	"Missing command."

l_.str.2:                               ; @.str.2
	.asciz	"%s\r"

	.no_dead_strip	_st2000_command
.subsections_via_symbols
