	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	%r9, %r13
	movq	%rcx, %rbx
	movq	_UINT32_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	subq	%r9, %rax
	cmpq	%rcx, %rax
	jb	LBB0_6
## %bb.2:
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:
	testq	%r8, %r8
	je	LBB0_6
LBB0_4:
	testq	%r13, %r13
	je	LBB0_10
## %bb.5:
	cmpq	$0, 16(%rbp)
	jne	LBB0_10
LBB0_6:
	movq	_YRMCDS_BAD_ARGUMENT@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %r15d
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_31
## %bb.9:
	movl	%r15d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%r8, -120(%rbp)                 ## 8-byte Spill
	leaq	4(%r12), %rdi
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	callq	_pthread_mutex_lock
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_YRMCDS_SYSTEM_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_12:
	movl	(%r12), %eax
	incl	%eax
	movl	%eax, (%r12)
	testq	%r14, %r14
	je	LBB0_14
## %bb.13:
	movl	%eax, (%r14)
LBB0_14:
	movq	%rsp, -112(%rbp)                ## 8-byte Spill
	movq	_HEADER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movb	$-112, (%r14)
	movb	%r15b, 1(%r14)
	movw	$0, 2(%r14)
	leal	(%rbx,%r13), %edi
	leaq	4(%r14), %rsi
	callq	_hton32
	leaq	8(%r14), %rdi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	_YRMCDS_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r14, -96(%rbp)
	movq	_HEADER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)
	testq	%rbx, %rbx
	je	LBB0_16
## %bb.15:
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -80(%rbp)
	movl	%ebx, -72(%rbp)
	movl	$2, %ebx
	jmp	LBB0_17
LBB0_16:
	movl	$1, %ebx
LBB0_17:
	testq	%r13, %r13
	je	LBB0_19
## %bb.18:
	movq	%rbx, %rax
	shlq	$4, %rax
	movq	16(%rbp), %rcx
	movq	%rcx, -96(%rbp,%rax)
	movl	%r13d, -88(%rbp,%rax)
	incq	%rbx
LBB0_19:
	xorl	%r13d, %r13d
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	-104(%rbp), %rdi                ## 8-byte Reload
LBB0_21:                                ##   in Loop: Header=BB0_22 Depth=1
	cmpq	%r13, %rbx
	jbe	LBB0_30
LBB0_22:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_25 Depth 2
	movl	8(%r12), %edi
	movq	%r13, %r14
	shlq	$4, %r14
	leaq	(%r14,%rbp), %rsi
	addq	$-96, %rsi
	movl	%ebx, %edx
	subl	%r13d, %edx
	callq	_writev
	cmpl	$-1, %eax
	je	LBB0_27
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	testl	%eax, %eax
	je	LBB0_20
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=1
	cltq
	leaq	-88(%rbp), %rcx
	addq	%rcx, %r14
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_25:                                ##   Parent Loop BB0_22 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	(%r14), %rcx
	cmpq	%rcx, %rax
	jb	LBB0_28
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=2
	incq	%r13
	addq	$16, %r14
	subq	%rcx, %rax
	jne	LBB0_25
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_EINTR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	je	LBB0_21
	jmp	LBB0_29
LBB0_28:                                ##   in Loop: Header=BB0_22 Depth=1
	addq	%rax, -8(%r14)
	subl	%eax, %ecx
	movl	%ecx, (%r14)
	jmp	LBB0_21
LBB0_29:
	movq	_YRMCDS_SYSTEM_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_30:
	callq	_pthread_mutex_unlock
	movq	-112(%rbp), %rsp                ## 8-byte Reload
	jmp	LBB0_8
LBB0_31:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_UINT32_MAX,8,3                 ## @UINT32_MAX
	.comm	_YRMCDS_BAD_ARGUMENT,4,2        ## @YRMCDS_BAD_ARGUMENT
	.comm	_errno,4,2                      ## @errno
	.comm	_YRMCDS_SYSTEM_ERROR,4,2        ## @YRMCDS_SYSTEM_ERROR
	.comm	_HEADER_SIZE,4,2                ## @HEADER_SIZE
	.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, #64
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	cbz	x0, LBB0_6
; %bb.1:
	mov	x22, x5
	mov	x24, x3
Lloh3:
	adrp	x8, _UINT32_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UINT32_MAX@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	sub	x8, x8, x5
	cmp	x8, x3
	b.lo	LBB0_6
; %bb.2:
	mov	x23, x6
	mov	x25, x4
	mov	x26, x2
	mov	x21, x1
	mov	x19, x0
	cbz	x24, LBB0_4
; %bb.3:
	cbz	x25, LBB0_6
LBB0_4:
	cbz	x22, LBB0_10
; %bb.5:
	cbnz	x23, LBB0_10
LBB0_6:
Lloh6:
	adrp	x8, _YRMCDS_BAD_ARGUMENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _YRMCDS_BAD_ARGUMENT@GOTPAGEOFF]
LBB0_7:
	ldr	w21, [x8]
LBB0_8:
	ldur	x8, [x29, #-88]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_30
; %bb.9:
	mov	x0, x21
	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_10:
	add	x20, x19, #4
	mov	x0, x20
	bl	_pthread_mutex_lock
	cbz	w0, LBB0_12
; %bb.11:
Lloh11:
	adrp	x8, _errno@GOTPAGE
Lloh12:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh13:
	str	w0, [x8]
Lloh14:
	adrp	x8, _YRMCDS_SYSTEM_ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _YRMCDS_SYSTEM_ERROR@GOTPAGEOFF]
	b	LBB0_7
LBB0_12:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	cbz	x26, LBB0_14
; %bb.13:
	str	w8, [x26]
LBB0_14:
	mov	x26, sp
Lloh16:
	adrp	x27, _HEADER_SIZE@GOTPAGE
Lloh17:
	ldr	x27, [x27, _HEADER_SIZE@GOTPAGEOFF]
	ldr	w8, [x27]
	mov	x9, x8
Lloh18:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh19:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x28, x9, x8
	mov	sp, x28
	mov	w8, #144
	strb	w8, [x28]
	strb	w21, [x28, #1]
	strh	wzr, [x28, #2]
	add	w0, w22, w24
	add	x1, x28, #4
	bl	_hton32
	add	x0, x28, #8
	mov	x1, x19
	mov	w2, #4
	bl	_memcpy
Lloh20:
	adrp	x8, _YRMCDS_OK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _YRMCDS_OK@GOTPAGEOFF]
Lloh22:
	ldr	w21, [x8]
	stur	x28, [x29, #-136]
	ldr	w8, [x27]
	stur	w8, [x29, #-128]
	cbz	x24, LBB0_16
; %bb.15:
	stur	x25, [x29, #-120]
	stur	w24, [x29, #-112]
	mov	w24, #2
	b	LBB0_17
LBB0_16:
	mov	w24, #1
LBB0_17:
	cbz	x22, LBB0_19
; %bb.18:
	sub	x8, x29, #136
	add	x8, x8, x24, lsl #4
	str	x23, [x8]
	str	w22, [x8, #8]
	add	x24, x24, #1
LBB0_19:
	mov	x22, #0
	sub	x23, x29, #136
	add	x25, x23, #8
Lloh23:
	adrp	x27, _errno@GOTPAGE
Lloh24:
	ldr	x27, [x27, _errno@GOTPAGEOFF]
Lloh25:
	adrp	x28, _EINTR@GOTPAGE
Lloh26:
	ldr	x28, [x28, _EINTR@GOTPAGEOFF]
	b	LBB0_22
LBB0_20:                                ;   in Loop: Header=BB0_22 Depth=1
	ldr	w8, [x27]
	ldr	w9, [x28]
	cmp	w8, w9
	b.ne	LBB0_28
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=1
	cmp	x24, x22
	b.ls	LBB0_29
LBB0_22:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_25 Depth 2
	ldr	w0, [x19, #8]
	add	x1, x23, x22, lsl #4
	sub	w2, w24, w22
	bl	_writev
                                        ; kill: def $w0 killed $w0 def $x0
	cmn	w0, #1
	b.eq	LBB0_20
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	cbz	w0, LBB0_21
; %bb.24:                               ;   in Loop: Header=BB0_22 Depth=1
	sxtw	x9, w0
	add	x8, x25, x22, lsl #4
LBB0_25:                                ;   Parent Loop BB0_22 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x10, [x8]
	subs	x11, x9, x10
	b.lo	LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=2
	add	x22, x22, #1
	add	x8, x8, #16
	mov	x9, x11
	b.ne	LBB0_25
	b	LBB0_21
LBB0_27:                                ;   in Loop: Header=BB0_22 Depth=1
	ldur	x11, [x8, #-8]
	add	x11, x11, x9
	stur	x11, [x8, #-8]
	sub	w9, w10, w9
	str	w9, [x8]
	b	LBB0_21
LBB0_28:
Lloh27:
	adrp	x8, _YRMCDS_SYSTEM_ERROR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _YRMCDS_SYSTEM_ERROR@GOTPAGEOFF]
Lloh29:
	ldr	w21, [x8]
LBB0_29:
	mov	x0, x20
	bl	_pthread_mutex_unlock
	mov	sp, x26
	b	LBB0_8
LBB0_30:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_UINT32_MAX,8,3                 ; @UINT32_MAX
	.comm	_YRMCDS_BAD_ARGUMENT,4,2        ; @YRMCDS_BAD_ARGUMENT
	.comm	_errno,4,2                      ; @errno
	.comm	_YRMCDS_SYSTEM_ERROR,4,2        ; @YRMCDS_SYSTEM_ERROR
	.comm	_HEADER_SIZE,4,2                ; @HEADER_SIZE
	.comm	_YRMCDS_OK,4,2                  ; @YRMCDS_OK
	.comm	_EINTR,4,2                      ; @EINTR
	.no_dead_strip	_send_command
.subsections_via_symbols
