	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rcar_canfd_configure_rx
_rcar_canfd_configure_rx:               ## @rcar_canfd_configure_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
	movl	%esi, %r15d
	movq	%rdi, %r14
	xorl	%eax, %eax
	cmpq	$0, 8(%rdi)
	movq	_RCANFD_RFFIFO_IDX@GOTPCREL(%rip), %rcx
	movl	$7, %r12d
	cmovel	%eax, %r12d
	addl	(%rcx), %r15d
	movq	_RCANFD_RFCC_RFIM@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	$2, %edi
	callq	_RCANFD_RFCC_RFDC
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_RCANFD_RFCC_RFPLS
	orl	%eax, %ebx
	orl	%r13d, %ebx
	movq	_RCANFD_RFCC_RFIE@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	(%r14), %r14d
	movl	%r15d, %edi
	callq	_RCANFD_RFCC
	movl	%r14d, %edi
	movl	%eax, %esi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rcar_canfd_write               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RCANFD_RFFIFO_IDX,4,2          ## @RCANFD_RFFIFO_IDX
	.comm	_RCANFD_RFCC_RFIM,4,2           ## @RCANFD_RFCC_RFIM
	.comm	_RCANFD_RFCC_RFIE,4,2           ## @RCANFD_RFCC_RFIE
	.no_dead_strip	_rcar_canfd_configure_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rcar_canfd_configure_rx
_rcar_canfd_configure_rx:               ; @rcar_canfd_configure_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	x19, x0
Lloh0:
	adrp	x8, _RCANFD_RFFIFO_IDX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RCANFD_RFFIFO_IDX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [x0, #8]
	cmp	x9, #0
	mov	w9, #7
	csel	w20, wzr, w9, eq
	add	w21, w8, w1
Lloh3:
	adrp	x8, _RCANFD_RFCC_RFIM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RCANFD_RFCC_RFIM@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	w0, #2
	bl	_RCANFD_RFCC_RFDC
	orr	w22, w0, w22
	mov	x0, x20
	bl	_RCANFD_RFCC_RFPLS
	orr	w8, w22, w0
Lloh6:
	adrp	x9, _RCANFD_RFCC_RFIE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RCANFD_RFCC_RFIE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w20, w8, w9
	ldr	w19, [x19]
	mov	x0, x21
	bl	_RCANFD_RFCC
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	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
	b	_rcar_canfd_write
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RCANFD_RFFIFO_IDX,4,2          ; @RCANFD_RFFIFO_IDX
	.comm	_RCANFD_RFCC_RFIM,4,2           ; @RCANFD_RFCC_RFIM
	.comm	_RCANFD_RFCC_RFIE,4,2           ; @RCANFD_RFCC_RFIE
	.no_dead_strip	_rcar_canfd_configure_rx
.subsections_via_symbols
