	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_yrmcds_text_remove             ## -- Begin function yrmcds_text_remove
	.p2align	4, 0x90
_yrmcds_text_remove:                    ## @yrmcds_text_remove
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	movq	%rdx, %r12
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.2:
	testl	%ecx, %ecx
	jne	LBB0_3
## %bb.4:
	movq	%r8, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, %rdi
	movq	%r12, %rsi
	callq	_check_key
	movq	_YRMCDS_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	leaq	-44(%rbp), %r13
	movq	%r13, %rdi
	callq	_textbuf_init
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_textbuf_append_const_string
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_textbuf_append_string
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_send_command
	jmp	LBB0_6
LBB0_3:
	movq	_YRMCDS_BAD_ARGUMENT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_YRMCDS_BAD_ARGUMENT,8,3        ## @YRMCDS_BAD_ARGUMENT
	.comm	_YRMCDS_OK,8,3                  ## @YRMCDS_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"delete "

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_yrmcds_text_remove             ; -- Begin function yrmcds_text_remove
	.p2align	2
_yrmcds_text_remove:                    ; @yrmcds_text_remove
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x1, LBB0_5
; %bb.1:
	mov	x21, x2
	cbz	x2, LBB0_5
; %bb.2:
	cbnz	w3, LBB0_5
; %bb.3:
	mov	x19, x4
	mov	x22, x1
	mov	x20, x0
	mov	x0, x1
	mov	x1, x21
	bl	_check_key
Lloh0:
	adrp	x8, _YRMCDS_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _YRMCDS_OK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.4:
	add	x0, sp, #12
	bl	_textbuf_init
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #12
	bl	_textbuf_append_const_string
	add	x0, sp, #12
	mov	x1, x22
	mov	x2, x21
	bl	_textbuf_append_string
	add	x1, sp, #12
	mov	x0, x20
	mov	x2, x19
	bl	_send_command
	b	LBB0_6
LBB0_5:
Lloh5:
	adrp	x8, _YRMCDS_BAD_ARGUMENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _YRMCDS_BAD_ARGUMENT@GOTPAGEOFF]
Lloh7:
	ldr	x0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_YRMCDS_BAD_ARGUMENT,8,3        ; @YRMCDS_BAD_ARGUMENT
	.comm	_YRMCDS_OK,8,3                  ; @YRMCDS_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"delete "

.subsections_via_symbols
