	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function edp_msg_fifo_rx
_edp_msg_fifo_rx:                       ## @edp_msg_fifo_rx
	.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
	movq	%rsi, %r14
	movq	%rdi, %r13
	movl	(%rsi), %r15d
	movq	_REG_EDP_AUX_DATA@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	(%r13), %rdi
	movq	_EDP_AUX_DATA_INDEX_WRITE@GOTPCREL(%rip), %rax
	movq	_EDP_AUX_DATA_READ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_edp_write
	movq	8(%r14), %r14
	movq	(%r12), %rdi
	addq	(%r13), %rdi
	callq	_edp_read
	testl	%r15d, %r15d
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	addq	(%r13), %rdi
	callq	_edp_read
	movzbl	%ah, %eax
	movq	%rax, (%r14,%rbx,8)
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_2
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_EDP_AUX_DATA,8,3           ## @REG_EDP_AUX_DATA
	.comm	_EDP_AUX_DATA_INDEX_WRITE,4,2   ## @EDP_AUX_DATA_INDEX_WRITE
	.comm	_EDP_AUX_DATA_READ,4,2          ## @EDP_AUX_DATA_READ
	.no_dead_strip	_edp_msg_fifo_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function edp_msg_fifo_rx
_edp_msg_fifo_rx:                       ; @edp_msg_fifo_rx
	.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	x20, x1
	mov	x19, x0
	ldr	w21, [x1]
	ldr	x8, [x0]
Lloh0:
	adrp	x22, _REG_EDP_AUX_DATA@GOTPAGE
Lloh1:
	ldr	x22, [x22, _REG_EDP_AUX_DATA@GOTPAGEOFF]
	ldr	x9, [x22]
Lloh2:
	adrp	x10, _EDP_AUX_DATA_INDEX_WRITE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _EDP_AUX_DATA_INDEX_WRITE@GOTPAGEOFF]
	add	x0, x9, x8
Lloh4:
	ldr	w8, [x10]
Lloh5:
	adrp	x9, _EDP_AUX_DATA_READ@GOTPAGE
Lloh6:
	ldr	x9, [x9, _EDP_AUX_DATA_READ@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_edp_write
	ldr	x20, [x20, #8]
	ldr	x8, [x19]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_edp_read
	cmp	w21, #1
	b.lt	LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_edp_read
	ubfx	w8, w0, #8, #8
	str	x8, [x20], #8
	subs	x21, x21, #1
	b.ne	LBB0_1
LBB0_2:
	mov	w0, #0
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_EDP_AUX_DATA,8,3           ; @REG_EDP_AUX_DATA
	.comm	_EDP_AUX_DATA_INDEX_WRITE,4,2   ; @EDP_AUX_DATA_INDEX_WRITE
	.comm	_EDP_AUX_DATA_READ,4,2          ; @EDP_AUX_DATA_READ
	.no_dead_strip	_edp_msg_fifo_rx
.subsections_via_symbols
