	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_command
_send_command:                          ## @send_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	16(%rbp), %rsi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpq	$127, %rsi
	ja	LBB0_10
## %bb.1:
	movq	%r8, %r14
	cmpq	$65535, %r8                     ## imm = 0xFFFF
	ja	LBB0_10
## %bb.2:
	movq	_YRMCDS_CMD_BOTTOM@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jle	LBB0_10
## %bb.3:
	movl	%edx, %r12d
	movq	32(%rbp), %rdx
	movq	_MAX_DATA_SIZE@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	jb	LBB0_10
## %bb.4:
	movq	%r9, %r15
	testq	%r14, %r14
	je	LBB0_6
## %bb.5:
	testq	%r15, %r15
	je	LBB0_10
LBB0_6:
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.7:
	cmpq	$0, 24(%rbp)
	je	LBB0_10
LBB0_8:
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.9:
	cmpq	$0, 40(%rbp)
	jne	LBB0_11
LBB0_10:
	movq	_YRMCDS_BAD_ARGUMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.40:
	movl	%r12d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	movq	%rsp, -144(%rbp)                ## 8-byte Spill
	movq	_BINARY_HEADER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	%r13, %rdi
	xorl	%esi, %esi
	movq	-128(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memset
	movb	$-128, (%r13)
	movb	%bl, 1(%r13)
	leaq	2(%r13), %rsi
	movl	%r14d, %edi
	callq	_hton16
	movq	16(%rbp), %rax
	movb	%al, 4(%r13)
	addl	%r14d, %eax
	movq	32(%rbp), %rcx
	leal	(%rcx,%rax), %edi
	leaq	8(%r13), %rsi
	callq	_hton32
	leaq	16(%r13), %rsi
	movl	%r12d, %edi
	callq	_hton64
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movq	%rdi, %rbx
	callq	_pthread_mutex_lock
	testl	%eax, %eax
	je	LBB0_16
## %bb.12:
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_YRMCDS_SYSTEM_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_13
LBB0_16:
	movq	_YRMCDS_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r13, %rdi
	movq	%rbx, %rax
	addq	$8, %rbx
	incl	8(%rax)
	addq	$12, %rdi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_18
## %bb.17:
	movl	(%rbx), %eax
	movl	%eax, (%rcx)
LBB0_18:
	movq	%r13, -112(%rbp)
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	%eax, -104(%rbp)
	movq	16(%rbp), %rdx
	testq	%rdx, %rdx
	movq	32(%rbp), %rcx
	je	LBB0_19
## %bb.20:
	movq	24(%rbp), %rax
	movq	%rax, -96(%rbp)
	movl	%edx, -88(%rbp)
	movl	$2, %r13d
	jmp	LBB0_21
LBB0_19:
	movl	$1, %r13d
LBB0_21:
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	testq	%r14, %r14
	je	LBB0_23
## %bb.22:
	movl	%r13d, %eax
	shlq	$4, %rax
	movq	%r15, -112(%rbp,%rax)
	movl	%r14d, -104(%rbp,%rax)
	incl	%r13d
LBB0_23:
	testq	%rcx, %rcx
	je	LBB0_25
## %bb.24:
	movl	%r13d, %eax
	shlq	$4, %rax
	movq	40(%rbp), %rdx
	movq	%rdx, -112(%rbp,%rax)
	movl	%ecx, -104(%rbp,%rax)
	incl	%r13d
LBB0_25:
	leaq	-112(%rbp), %r15
	jmp	LBB0_26
LBB0_28:                                ##   in Loop: Header=BB0_26 Depth=1
	movq	-120(%rbp), %rdi                ## 8-byte Reload
LBB0_36:                                ##   in Loop: Header=BB0_26 Depth=1
	testl	%r13d, %r13d
	jle	LBB0_32
LBB0_26:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_34 Depth 2
	movl	4(%rdi), %edi
	movq	%r15, %rsi
	movl	%r13d, %edx
	callq	_writev
	cmpl	$-1, %eax
	je	LBB0_30
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=1
	testl	%eax, %eax
	je	LBB0_28
## %bb.29:                              ##   in Loop: Header=BB0_26 Depth=1
	movslq	%eax, %r14
	leal	-1(%r13), %ebx
	shlq	$4, %rbx
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_34 Depth=2
	addq	$-16, %rbx
	decl	%r13d
	testq	%r14, %r14
	je	LBB0_36
LBB0_34:                                ##   Parent Loop BB0_26 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rax
	movslq	-104(%rbp), %rcx
	subq	%rcx, %r14
	jb	LBB0_35
## %bb.37:                              ##   in Loop: Header=BB0_34 Depth=2
	cmpl	$1, %r13d
	je	LBB0_32
## %bb.38:                              ##   in Loop: Header=BB0_34 Depth=2
	jle	LBB0_33
## %bb.39:                              ##   in Loop: Header=BB0_34 Depth=2
	movq	%r15, %rdi
	leaq	-96(%rbp), %rsi
	movq	%rbx, %rdx
	callq	_memmove
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	jmp	LBB0_33
LBB0_30:                                ##   in Loop: Header=BB0_26 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_EINTR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	je	LBB0_36
	jmp	LBB0_31
LBB0_35:                                ##   in Loop: Header=BB0_26 Depth=1
	addq	%rax, -112(%rbp)
	subl	%eax, %ecx
	movl	%ecx, -104(%rbp)
	jmp	LBB0_36
LBB0_31:
	movq	_YRMCDS_SYSTEM_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_32:
	callq	_pthread_mutex_unlock
LBB0_13:
	movq	-144(%rbp), %rsp                ## 8-byte Reload
	jmp	LBB0_14
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_YRMCDS_CMD_BOTTOM,8,3          ## @YRMCDS_CMD_BOTTOM
	.comm	_MAX_DATA_SIZE,8,3              ## @MAX_DATA_SIZE
	.comm	_YRMCDS_BAD_ARGUMENT,4,2        ## @YRMCDS_BAD_ARGUMENT
	.comm	_BINARY_HEADER_SIZE,4,2         ## @BINARY_HEADER_SIZE
	.comm	_errno,4,2                      ## @errno
	.comm	_YRMCDS_SYSTEM_ERROR,4,2        ## @YRMCDS_SYSTEM_ERROR
	.comm	_YRMCDS_OK,4,2                  ## @YRMCDS_OK
	.comm	_EINTR,4,2                      ## @EINTR
	.no_dead_strip	_send_command
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_command
_send_command:                          ; @send_command
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #96
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	cmp	x6, #127
	b.hi	LBB0_9
; %bb.1:
	mov	x21, x4
	lsr	x8, x4, #16
	cbnz	x8, LBB0_9
; %bb.2:
	mov	x28, x1
	ldr	x26, [x29, #16]
Lloh3:
	adrp	x8, _YRMCDS_CMD_BOTTOM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _YRMCDS_CMD_BOTTOM@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _MAX_DATA_SIZE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MAX_DATA_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x1
	ccmp	x9, x26, #0, gt
	b.lo	LBB0_9
; %bb.3:
	mov	x24, x7
	mov	x23, x6
	mov	x22, x5
	mov	x25, x3
	mov	x20, x2
	mov	x19, x0
	cbz	x21, LBB0_5
; %bb.4:
	cbz	x22, LBB0_9
LBB0_5:
	cbz	x23, LBB0_7
; %bb.6:
	cbz	x24, LBB0_9
LBB0_7:
	ldr	x8, [x29, #24]
	cbz	x26, LBB0_12
; %bb.8:
	cbnz	x8, LBB0_12
LBB0_9:
Lloh9:
	adrp	x8, _YRMCDS_BAD_ARGUMENT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _YRMCDS_BAD_ARGUMENT@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
LBB0_10:
	ldur	x8, [x29, #-88]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_38
; %bb.11:
	mov	x0, x20
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_12:
	stur	x8, [x29, #-176]                ; 8-byte Folded Spill
	mov	x8, sp
	stur	x8, [x29, #-160]                ; 8-byte Folded Spill
Lloh15:
	adrp	x8, _BINARY_HEADER_SIZE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BINARY_HEADER_SIZE@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x9, x2
Lloh18:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh19:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x2, #15
	and	x9, x9, #0x1fffffff0
	sub	x27, x8, x9
	mov	sp, x27
	mov	x0, x27
	mov	w1, #0
	stur	x2, [x29, #-168]                ; 8-byte Folded Spill
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memset
	mov	w8, #128
	strb	w8, [x27]
	strb	w28, [x27, #1]
	add	x1, x27, #2
	mov	x0, x21
	bl	_hton16
	strb	w23, [x27, #4]
	add	w8, w23, w21
	add	w0, w8, w26
	add	x1, x27, #8
	bl	_hton32
	add	x1, x27, #16
	mov	x0, x20
	bl	_hton64
	mov	x0, x19
	bl	_pthread_mutex_lock
	cbz	w0, LBB0_14
; %bb.13:
Lloh20:
	adrp	x8, _errno@GOTPAGE
Lloh21:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh22:
	str	w0, [x8]
Lloh23:
	adrp	x8, _YRMCDS_SYSTEM_ERROR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _YRMCDS_SYSTEM_ERROR@GOTPAGEOFF]
Lloh25:
	ldr	w20, [x8]
	b	LBB0_37
LBB0_14:
Lloh26:
	adrp	x8, _YRMCDS_OK@GOTPAGE
Lloh27:
	ldr	x8, [x8, _YRMCDS_OK@GOTPAGEOFF]
Lloh28:
	ldr	w20, [x8]
	mov	x28, x19
	ldr	w8, [x28, #8]!
	add	w8, w8, #1
	str	w8, [x28]
	add	x0, x27, #12
	mov	x1, x28
	mov	w2, #4
	bl	_memcpy
	cbz	x25, LBB0_16
; %bb.15:
	ldr	w8, [x28]
	str	w8, [x25]
LBB0_16:
	stur	x27, [x29, #-152]
	ldur	x8, [x29, #-168]                ; 8-byte Folded Reload
	stur	w8, [x29, #-144]
	cbz	x23, LBB0_18
; %bb.17:
	stur	x24, [x29, #-136]
	stur	w23, [x29, #-128]
	mov	w23, #2
	b	LBB0_19
LBB0_18:
	mov	w23, #1
LBB0_19:
	cbz	x21, LBB0_21
; %bb.20:
	sub	x8, x29, #152
	add	x8, x8, w23, uxtw #4
	str	x22, [x8]
	str	w21, [x8, #8]
	add	w23, w23, #1
LBB0_21:
	cbz	x26, LBB0_23
; %bb.22:
	sub	x8, x29, #152
	add	x8, x8, w23, uxtw #4
	ldur	x9, [x29, #-176]                ; 8-byte Folded Reload
	str	x9, [x8]
	str	w26, [x8, #8]
	add	w23, w23, #1
LBB0_23:
	sub	x8, x29, #152
	add	x21, x8, #16
Lloh29:
	adrp	x24, _errno@GOTPAGE
Lloh30:
	ldr	x24, [x24, _errno@GOTPAGEOFF]
Lloh31:
	adrp	x26, _EINTR@GOTPAGE
Lloh32:
	ldr	x26, [x26, _EINTR@GOTPAGEOFF]
Lloh33:
	adrp	x25, _YRMCDS_SYSTEM_ERROR@GOTPAGE
Lloh34:
	ldr	x25, [x25, _YRMCDS_SYSTEM_ERROR@GOTPAGEOFF]
	b	LBB0_26
LBB0_24:                                ;   in Loop: Header=BB0_26 Depth=1
	ldr	w8, [x24]
	ldr	w9, [x26]
	cmp	w8, w9
	b.ne	LBB0_35
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=1
	cmp	w23, #0
	b.le	LBB0_36
LBB0_26:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_30 Depth 2
	ldr	w0, [x19, #4]
	sub	x1, x29, #152
	mov	x2, x23
	bl	_writev
                                        ; kill: def $w0 killed $w0 def $x0
	cmn	w0, #1
	b.eq	LBB0_24
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	cbz	w0, LBB0_25
; %bb.28:                               ;   in Loop: Header=BB0_26 Depth=1
	sxtw	x27, w0
	sub	w8, w23, #1
	lsl	x22, x8, #4
	mov	x8, x23
	b	LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_30 Depth=2
	sub	x22, x22, #16
	mov	x8, x23
	cbz	x27, LBB0_25
LBB0_30:                                ;   Parent Loop BB0_26 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x9, x27
	ldursw	x10, [x29, #-144]
	subs	x27, x27, x10
	b.lo	LBB0_34
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=2
	subs	w23, w8, #1
	b.eq	LBB0_36
; %bb.32:                               ;   in Loop: Header=BB0_30 Depth=2
	cmp	w8, #2
	b.lt	LBB0_29
; %bb.33:                               ;   in Loop: Header=BB0_30 Depth=2
	sub	x0, x29, #152
	mov	x1, x21
	mov	x2, x22
	bl	_memmove
	b	LBB0_29
LBB0_34:                                ;   in Loop: Header=BB0_26 Depth=1
	ldur	x11, [x29, #-152]
	add	x11, x11, x9
	stur	x11, [x29, #-152]
	sub	w9, w10, w9
	stur	w9, [x29, #-144]
	mov	x23, x8
	b	LBB0_25
LBB0_35:
	ldr	w20, [x25]
LBB0_36:
	mov	x0, x19
	bl	_pthread_mutex_unlock
LBB0_37:
	ldur	x8, [x29, #-160]                ; 8-byte Folded Reload
	mov	sp, x8
	b	LBB0_10
LBB0_38:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_YRMCDS_CMD_BOTTOM,8,3          ; @YRMCDS_CMD_BOTTOM
	.comm	_MAX_DATA_SIZE,8,3              ; @MAX_DATA_SIZE
	.comm	_YRMCDS_BAD_ARGUMENT,4,2        ; @YRMCDS_BAD_ARGUMENT
	.comm	_BINARY_HEADER_SIZE,4,2         ; @BINARY_HEADER_SIZE
	.comm	_errno,4,2                      ; @errno
	.comm	_YRMCDS_SYSTEM_ERROR,4,2        ; @YRMCDS_SYSTEM_ERROR
	.comm	_YRMCDS_OK,4,2                  ; @YRMCDS_OK
	.comm	_EINTR,4,2                      ; @EINTR
	.no_dead_strip	_send_command
.subsections_via_symbols
