	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cdns_i3c_master_rd_from_rx_fifo
_cdns_i3c_master_rd_from_rx_fifo:       ## @cdns_i3c_master_rd_from_rx_fifo
	.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, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_RX_FIFO@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	addq	(%r15), %rdi
	leal	3(%rbx), %edx
	testl	%ebx, %ebx
	cmovnsl	%ebx, %edx
	sarl	$2, %edx
	callq	_readsl
	movl	%ebx, %r12d
	andl	$3, %r12d
	je	LBB0_2
## %bb.1:
	movq	(%r13), %rdi
	addq	(%r15), %rdi
	leaq	-44(%rbp), %r15
	movq	%r15, %rsi
	movl	$1, %edx
	callq	_readsl
	andl	$-4, %ebx
	movslq	%ebx, %rax
	leaq	(%r14,%rax,4), %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_memcpy
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_FIFO,8,3                    ## @RX_FIFO
	.no_dead_strip	_cdns_i3c_master_rd_from_rx_fifo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cdns_i3c_master_rd_from_rx_fifo
_cdns_i3c_master_rd_from_rx_fifo:       ; @cdns_i3c_master_rd_from_rx_fifo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x23, _RX_FIFO@GOTPAGE
Lloh1:
	ldr	x23, [x23, _RX_FIFO@GOTPAGEOFF]
	ldr	x9, [x23]
	add	x0, x9, x8
	add	w8, w2, #3
	cmp	w2, #0
	csel	w8, w8, w2, lt
	asr	w2, w8, #2
	bl	_readsl
	ands	w21, w20, #0x3
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x22]
	ldr	x9, [x23]
	add	x0, x9, x8
	add	x1, sp, #12
	mov	w2, #1
	bl	_readsl
	and	w8, w20, #0xfffffffc
	add	x0, x19, w8, sxtw #2
	add	x1, sp, #12
	mov	x2, x21
	bl	_memcpy
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_FIFO,8,3                    ; @RX_FIFO
	.no_dead_strip	_cdns_i3c_master_rd_from_rx_fifo
.subsections_via_symbols
