	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_delete                     ## -- Begin function cmd_delete
	.p2align	4, 0x90
_cmd_delete:                            ## @cmd_delete
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$1, %edi
	jne	LBB0_1
## %bb.2:
	movq	%rdx, %r14
	movq	(%rsi), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movq	_quiet@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	leaq	-28(%rbp), %r8
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_yrmcds_remove
	movl	%eax, %edi
	callq	_CHECK_ERROR
	cmpq	$0, (%r15)
	je	LBB0_4
## %bb.3:
	leaq	-28(%rbp), %rsi
	movq	%r14, %rdi
	callq	_yrmcds_noop
	movl	%eax, %edi
	callq	_CHECK_ERROR
LBB0_4:
	movq	_debug@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_6
## %bb.5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-28(%rbp), %edx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_6:
	leaq	-32(%rbp), %rbx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	callq	_CHECK_RESPONSE
	movl	-32(%rbp), %eax
	cmpl	-28(%rbp), %eax
	je	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_yrmcds_recv
	movl	%eax, %edi
	callq	_CHECK_ERROR
	cmpq	$0, (%r15)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	callq	_print_response
	jmp	LBB0_9
LBB0_1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %eax
	jmp	LBB0_11
LBB0_10:
	leaq	-32(%rbp), %rdi
	callq	_write_data
	xorl	%eax, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Wrong number of arguments.\n"

	.comm	_quiet,8,3                      ## @quiet
	.comm	_debug,8,3                      ## @debug
L_.str.1:                               ## @.str.1
	.asciz	"request serial = %u\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_delete                     ; -- Begin function cmd_delete
	.p2align	2
_cmd_delete:                            ; @cmd_delete
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cmp	w0, #1
	b.ne	LBB0_8
; %bb.1:
	mov	x19, x2
	ldr	x20, [x1]
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
Lloh0:
	adrp	x21, _quiet@GOTPAGE
Lloh1:
	ldr	x21, [x21, _quiet@GOTPAGEOFF]
	ldr	x3, [x21]
	add	x4, sp, #20
	mov	x0, x19
	mov	x1, x20
	bl	_yrmcds_remove
	bl	_CHECK_ERROR
	ldr	x8, [x21]
	cbz	x8, LBB0_3
; %bb.2:
	add	x1, sp, #20
	mov	x0, x19
	bl	_yrmcds_noop
	bl	_CHECK_ERROR
LBB0_3:
Lloh2:
	adrp	x20, _debug@GOTPAGE
Lloh3:
	ldr	x20, [x20, _debug@GOTPAGEOFF]
	ldr	x8, [x20]
	cbz	x8, LBB0_6
; %bb.4:
Lloh4:
	adrp	x8, _stderr@GOTPAGE
Lloh5:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldr	w8, [sp, #20]
	str	x8, [sp]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #24
	bl	_CHECK_RESPONSE
	ldp	w9, w8, [sp, #20]
	cmp	w8, w9
	b.eq	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #24
	mov	x0, x19
	bl	_yrmcds_recv
	bl	_CHECK_ERROR
	ldr	x8, [x20]
	cbz	x8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #24
	bl	_print_response
	b	LBB0_5
LBB0_8:
Lloh9:
	adrp	x8, _stderr@GOTPAGE
Lloh10:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	w0, #1
	b	LBB0_10
LBB0_9:
	add	x0, sp, #24
	bl	_write_data
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Wrong number of arguments.\n"

	.comm	_quiet,8,3                      ; @quiet
	.comm	_debug,8,3                      ; @debug
l_.str.1:                               ; @.str.1
	.asciz	"request serial = %u\n"

.subsections_via_symbols
