	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_yrmcds_cnt_recv                ## -- Begin function yrmcds_cnt_recv
	.p2align	4, 0x90
_yrmcds_cnt_recv:                       ## @yrmcds_cnt_recv
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.2:
	movq	%rdi, %rbx
	cmpl	$0, (%rdi)
	je	LBB0_7
LBB0_3:
	movq	_YRMCDS_PROTOCOL_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_YRMCDS_BAD_ARGUMENT@GOTPCREL(%rip), %rax
LBB0_5:
	movq	(%rax), %rax
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	jle	LBB0_11
## %bb.8:
	movq	16(%rbx), %r15
	subq	%rax, %r15
	je	LBB0_10
## %bb.9:
	movq	32(%rbx), %rdi
	leaq	(%rdi,%rax,8), %rsi
	movq	%r15, %rdx
	callq	_memmove
LBB0_10:
	movq	%r15, 16(%rbx)
	movq	$0, 8(%rbx)
LBB0_11:
	movq	_HEADER_SIZE@GOTPCREL(%rip), %r12
	movq	_YRMCDS_OK@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rax
	cmpq	(%r12), %rax
	jae	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	callq	_recv_data
	cmpq	(%r15), %rax
	je	LBB0_12
	jmp	LBB0_6
LBB0_14:
	movq	32(%rbx), %rdi
	cmpl	$145, (%rdi)
	jne	LBB0_31
## %bb.15:
	movl	8(%rdi), %eax
	movl	%eax, (%r14)
	movq	16(%rdi), %rax
	movq	%rax, 8(%r14)
	addq	$32, %rdi
	callq	_ntoh32
	movq	%rax, 16(%r14)
	leaq	72(%r14), %rdi
	movq	32(%rbx), %rsi
	addq	$64, %rsi
	movl	$4, %edx
	callq	_memcpy
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r14)
	movups	%xmm0, 40(%r14)
	movups	%xmm0, 56(%r14)
	movq	16(%r14), %rax
	testq	%rax, %rax
	jle	LBB0_20
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	leaq	(%rax,%rdi), %rcx
	cmpq	%rcx, 16(%rbx)
	jae	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%rbx, %rdi
	callq	_recv_data
	cmpq	(%r15), %rax
	jne	LBB0_6
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	16(%r14), %rax
	jmp	LBB0_16
LBB0_19:
	shlq	$3, %rdi
	addq	32(%rbx), %rdi
	movq	%rdi, 32(%r14)
	jmp	LBB0_21
LBB0_20:
	movq	(%r12), %rcx
	addq	%rax, %rcx
	xorl	%edi, %edi
LBB0_21:
	movq	%rcx, 8(%rbx)
	movq	8(%r14), %rcx
	movq	_YRMCDS_STATUS_OK@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_34
## %bb.22:
	movl	(%r14), %ecx
	addl	$-128, %ecx
	cmpl	$3, %ecx
	ja	LBB0_34
## %bb.23:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_24:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_parse_statistics
	cmpq	(%r15), %rax
	jne	LBB0_32
## %bb.25:
	addq	$24, %r14
	addq	$24, %rbx
	movq	%rbx, (%r14)
	jmp	LBB0_34
LBB0_26:
	cmpq	$3, %rax
	jle	LBB0_31
## %bb.27:
	callq	_ntoh32
	movq	%rax, 48(%r14)
	jmp	LBB0_34
LBB0_28:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_parse_dump_record
	cmpq	(%r15), %rax
	je	LBB0_34
LBB0_32:
	movl	$1, (%rbx)
	jmp	LBB0_6
LBB0_30:
	cmpq	$3, %rax
	jg	LBB0_33
LBB0_31:
	movl	$1, (%rbx)
	jmp	LBB0_3
LBB0_33:
	callq	_ntoh32
	movq	%rax, 40(%r14)
LBB0_34:
	movq	(%r15), %rax
	jmp	LBB0_6
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
LJTI0_0:
	.long	L0_0_set_24
	.long	L0_0_set_26
	.long	L0_0_set_28
	.long	L0_0_set_30
	.end_data_region
                                        ## -- End function
	.comm	_YRMCDS_BAD_ARGUMENT,8,3        ## @YRMCDS_BAD_ARGUMENT
	.comm	_YRMCDS_PROTOCOL_ERROR,8,3      ## @YRMCDS_PROTOCOL_ERROR
	.comm	_HEADER_SIZE,8,3                ## @HEADER_SIZE
	.comm	_YRMCDS_OK,8,3                  ## @YRMCDS_OK
	.comm	_YRMCDS_STATUS_OK,8,3           ## @YRMCDS_STATUS_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_yrmcds_cnt_recv                ; -- Begin function yrmcds_cnt_recv
	.p2align	2
_yrmcds_cnt_recv:                       ; @yrmcds_cnt_recv
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_4
; %bb.2:
	mov	x19, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_7
LBB0_3:
Lloh0:
	adrp	x8, _YRMCDS_PROTOCOL_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _YRMCDS_PROTOCOL_ERROR@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, _YRMCDS_BAD_ARGUMENT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _YRMCDS_BAD_ARGUMENT@GOTPAGEOFF]
LBB0_5:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	x8, [x19, #8]
	cmp	x8, #1
	b.lt	LBB0_11
; %bb.8:
	ldr	x9, [x19, #16]
	subs	x21, x9, x8
	b.eq	LBB0_10
; %bb.9:
	ldr	x0, [x19, #32]
	add	x1, x0, x8, lsl #3
	mov	x2, x21
	bl	_memmove
LBB0_10:
	stp	xzr, x21, [x19, #8]
LBB0_11:
Lloh4:
	adrp	x23, _HEADER_SIZE@GOTPAGE
Lloh5:
	ldr	x23, [x23, _HEADER_SIZE@GOTPAGEOFF]
Lloh6:
	adrp	x21, _YRMCDS_OK@GOTPAGE
Lloh7:
	ldr	x21, [x21, _YRMCDS_OK@GOTPAGEOFF]
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x9, [x23]
	cmp	x8, x9
	b.hs	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x19
	bl	_recv_data
	ldr	x8, [x21]
	cmp	x0, x8
	b.eq	LBB0_12
	b	LBB0_6
LBB0_14:
	ldr	x8, [x19, #32]
	ldr	w9, [x8]
	cmp	w9, #145
	b.ne	LBB0_31
; %bb.15:
	ldp	x9, x10, [x8, #8]
	str	w9, [x20]
	str	x10, [x20, #8]
	add	x0, x8, #32
	bl	_ntoh32
	str	x0, [x20, #16]
	add	x0, x20, #72
	ldr	x8, [x19, #32]
	add	x1, x8, #64
	mov	w2, #4
	bl	_memcpy
	movi.2d	v0, #0000000000000000
	mov	x22, x20
	str	q0, [x22, #24]!
	stp	q0, q0, [x22, #16]
	ldr	x8, [x20, #16]
	cmp	x8, #1
	b.lt	LBB0_20
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x19, #16]
	ldr	x10, [x23]
	add	x9, x8, x10
	cmp	x11, x9
	b.hs	LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x19
	bl	_recv_data
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x20, #16]
	b	LBB0_16
LBB0_19:
	ldr	x11, [x19, #32]
	add	x0, x11, x10, lsl #3
	str	x0, [x20, #32]
	b	LBB0_21
LBB0_20:
	mov	x0, #0
	ldr	x9, [x23]
	add	x9, x9, x8
LBB0_21:
	str	x9, [x19, #8]
	ldr	x9, [x20, #8]
Lloh8:
	adrp	x10, _YRMCDS_STATUS_OK@GOTPAGE
Lloh9:
	ldr	x10, [x10, _YRMCDS_STATUS_OK@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_33
; %bb.22:
	ldr	w9, [x20]
	sub	w9, w9, #128
	cmp	w9, #3
	b.hi	LBB0_33
; %bb.23:
Lloh11:
	adrp	x10, lJTI0_0@PAGE
Lloh12:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_24
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_24:
	mov	x0, x19
	mov	x1, x20
	bl	_parse_statistics
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_29
; %bb.25:
	add	x8, x19, #24
	str	x8, [x22]
	b	LBB0_33
LBB0_26:
	cmp	x8, #3
	b.le	LBB0_31
; %bb.27:
	bl	_ntoh32
	str	x0, [x20, #48]
	b	LBB0_33
LBB0_28:
	mov	x0, x19
	mov	x1, x20
	bl	_parse_dump_record
	ldr	x8, [x21]
	cmp	x0, x8
	b.eq	LBB0_33
LBB0_29:
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_6
LBB0_30:
	cmp	x8, #3
	b.gt	LBB0_32
LBB0_31:
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_3
LBB0_32:
	bl	_ntoh32
	str	x0, [x20, #40]
LBB0_33:
	ldr	x0, [x21]
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_24-LBB0_24)>>2
	.byte	(LBB0_26-LBB0_24)>>2
	.byte	(LBB0_28-LBB0_24)>>2
	.byte	(LBB0_30-LBB0_24)>>2
                                        ; -- End function
	.comm	_YRMCDS_BAD_ARGUMENT,8,3        ; @YRMCDS_BAD_ARGUMENT
	.comm	_YRMCDS_PROTOCOL_ERROR,8,3      ; @YRMCDS_PROTOCOL_ERROR
	.comm	_HEADER_SIZE,8,3                ; @HEADER_SIZE
	.comm	_YRMCDS_OK,8,3                  ; @YRMCDS_OK
	.comm	_YRMCDS_STATUS_OK,8,3           ; @YRMCDS_STATUS_OK
.subsections_via_symbols
