	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function puts_e7000debug
_puts_e7000debug:                       ## @puts_e7000debug
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_e7000_desc@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_error
LBB0_2:
	movq	_remote_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	callq	_printf_unfiltered
LBB0_4:
	movl	(%rbx), %ebx
	movq	%r14, %rdi
	callq	_strlen
	movl	%ebx, %edi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_serial_write
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_gdb_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_safe_strerror
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_fprintf_unfiltered
LBB0_6:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_expect                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_e7000_desc,4,2                 ## @e7000_desc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Use \"target e7000 ...\" first."

	.comm	_remote_debug,8,3               ## @remote_debug
L_.str.1:                               ## @.str.1
	.asciz	"Sending %s\n"

	.comm	_gdb_stderr,4,2                 ## @gdb_stderr
L_.str.2:                               ## @.str.2
	.asciz	"serial_write failed: %s\n"

	.comm	_errno,4,2                      ## @errno
	.comm	_using_pc,4,2                   ## @using_pc
	.no_dead_strip	_puts_e7000debug
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function puts_e7000debug
_puts_e7000debug:                       ; @puts_e7000debug
	.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	x20, _e7000_desc@GOTPAGE
Lloh1:
	ldr	x20, [x20, _e7000_desc@GOTPAGEOFF]
	ldr	w8, [x20]
	cbnz	w8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
LBB0_2:
Lloh4:
	adrp	x8, _remote_debug@GOTPAGE
Lloh5:
	ldr	x8, [x8, _remote_debug@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_printf_unfiltered
LBB0_4:
	ldr	w20, [x20]
	mov	x0, x19
	bl	_strlen
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_serial_write
	cbz	x0, LBB0_6
; %bb.5:
Lloh9:
	adrp	x8, _gdb_stderr@GOTPAGE
Lloh10:
	ldr	x8, [x8, _gdb_stderr@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
Lloh12:
	adrp	x8, _errno@GOTPAGE
Lloh13:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_safe_strerror
	mov	x2, x0
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_fprintf_unfiltered
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_expect
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_e7000_desc,4,2                 ; @e7000_desc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Use \"target e7000 ...\" first."

	.comm	_remote_debug,8,3               ; @remote_debug
l_.str.1:                               ; @.str.1
	.asciz	"Sending %s\n"

	.comm	_gdb_stderr,4,2                 ; @gdb_stderr
l_.str.2:                               ; @.str.2
	.asciz	"serial_write failed: %s\n"

	.comm	_errno,4,2                      ; @errno
	.comm	_using_pc,4,2                   ; @using_pc
	.no_dead_strip	_puts_e7000debug
.subsections_via_symbols
