	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function senddata
_senddata:                              ## @senddata
	.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
	movl	%edx, %r13d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	1(%rsi), %rdi
	movl	$2, %esi
	callq	_atoh
	movl	%eax, %r12d
	leaq	3(%rbx), %rdi
	movl	$4, %esi
	callq	_atoh
	addl	%eax, %r13d
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%r13d, %edx
	callq	_SEND_SMEM
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	_EACCES@GOTPCREL(%rip), %rax
LBB0_2:
	subl	(%rax), %r15d
LBB0_3:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	testl	%r12d, %r12d
	je	LBB0_3
## %bb.5:
	addq	$9, %rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_atoh
	movl	%eax, %edx
	shll	$4, %edx
	andl	$-252645136, %edx               ## imm = 0xF0F0F0F0
	shrl	$4, %eax
	andl	$252645135, %eax                ## imm = 0xF0F0F0F
	orl	%eax, %edx
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_SEND_WMEM
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	addq	$8, %rbx
	addl	$-4, %r12d
	jne	LBB0_6
	jmp	LBB0_3
LBB0_8:
	movq	_EACCES@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_EACCES,4,2                     ## @EACCES
	.no_dead_strip	_senddata
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function senddata
_senddata:                              ; @senddata
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	add	x0, x1, #1
	mov	w1, #2
	bl	_atoh
	mov	x20, x0
	add	x0, x21, #3
	mov	w1, #4
	bl	_atoh
	add	w2, w0, w22
	mov	x0, x19
	mov	w1, #0
	bl	_SEND_SMEM
	cbz	x0, LBB0_2
LBB0_1:
Lloh0:
	adrp	x8, _EACCES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_2:
	cbz	w20, LBB0_6
; %bb.3:
	add	x21, x21, #9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	w1, #8
	bl	_atoh
	lsl	w8, w0, #4
	and	w8, w8, #0xf0f0f0f0
	lsr	w9, w0, #4
	and	w9, w9, #0xf0f0f0f
	orr	w2, w8, w9
	mov	x0, x19
	mov	w1, #2
	bl	_SEND_WMEM
	cbnz	x0, LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #8
	subs	w20, w20, #4
	b.ne	LBB0_4
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EACCES,4,2                     ; @EACCES
	.no_dead_strip	_senddata
.subsections_via_symbols
