	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e7000_command
_e7000_command:                         ## @e7000_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	%r15
	pushq	%r14
	pushq	%rbx
	subq	$216, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_echo@GOTPCREL(%rip), %r15
	movq	$0, (%r15)
	movq	_e7000_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), %rsi
	leaq	-240(%rbp), %r14
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_sprintf
	movq	%r14, %rdi
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_error
	testq	%rbx, %rbx
	jne	LBB0_4
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
LBB0_5:
	callq	_puts_e7000debug
	incq	(%r15)
	movq	_ctrl_c@GOTPCREL(%rip), %rbx
	movl	$2, (%rbx)
	xorl	%eax, %eax
	callq	_expect_full_prompt
	decq	(%r15)
	movl	$0, (%rbx)
	leaq	L_.str.3(%rip), %rdi
	callq	_printf_unfiltered
	xorl	%eax, %eax
	callq	_registers_changed
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	addq	$216, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_echo,8,3                       ## @echo
	.comm	_e7000_desc,4,2                 ## @e7000_desc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"e7000 target not open."

L_.str.1:                               ## @.str.1
	.asciz	"\r"

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

	.comm	_ctrl_c,4,2                     ## @ctrl_c
L_.str.3:                               ## @.str.3
	.asciz	"\n"

	.no_dead_strip	_e7000_command
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e7000_command
_e7000_command:                         ; @e7000_command
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x20, _echo@GOTPAGE
Lloh4:
	ldr	x20, [x20, _echo@GOTPAGEOFF]
	str	xzr, [x20]
Lloh5:
	adrp	x8, _e7000_desc@GOTPAGE
Lloh6:
	ldr	x8, [x8, _e7000_desc@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
	cbz	x19, LBB0_4
LBB0_2:
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, sp
	mov	x2, x19
	bl	_sprintf
	mov	x0, sp
	b	LBB0_5
LBB0_3:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
	cbnz	x19, LBB0_2
LBB0_4:
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_5:
	bl	_puts_e7000debug
	ldr	x8, [x20]
	add	x8, x8, #1
	str	x8, [x20]
Lloh14:
	adrp	x19, _ctrl_c@GOTPAGE
Lloh15:
	ldr	x19, [x19, _ctrl_c@GOTPAGEOFF]
	mov	w8, #2
	str	w8, [x19]
	bl	_expect_full_prompt
	ldr	x8, [x20]
	sub	x8, x8, #1
	str	x8, [x20]
	str	wzr, [x19]
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf_unfiltered
	bl	_registers_changed
	ldur	x8, [x29, #-24]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_echo,8,3                       ; @echo
	.comm	_e7000_desc,4,2                 ; @e7000_desc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"e7000 target not open."

l_.str.1:                               ; @.str.1
	.asciz	"\r"

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

	.comm	_ctrl_c,4,2                     ; @ctrl_c
l_.str.3:                               ; @.str.3
	.asciz	"\n"

	.no_dead_strip	_e7000_command
.subsections_via_symbols
