	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at91_read_mb
_at91_read_mb:                          ## @at91_read_mb
	.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	%rdx, %r15
	movl	%esi, %r13d
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %r12
	movl	%r13d, %edi
	callq	_AT91_MID
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_at91_read
	movq	_AT91_MID_MIDE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_CAN_EFF_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_CAN_EFF_FLAG@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	jmp	LBB0_3
LBB0_2:
	sarl	$18, %eax
	movq	_CAN_SFF_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
LBB0_3:
	movl	%eax, (%r15)
	movl	%r13d, %edi
	callq	_AT91_MSR
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_at91_read
	movl	%eax, %ebx
	movq	_AT91_MSR_MRTR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_CAN_RTR_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
LBB0_5:
	movq	___u8@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	shrl	$16, %esi
	andl	$15, %esi
	movl	$8, %edx
	callq	_min_t
	movl	%eax, 16(%r15)
	movl	%r13d, %edi
	callq	_AT91_MDL
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_at91_read
	movq	8(%r15), %rcx
	movl	%eax, (%rcx)
	movl	%r13d, %edi
	callq	_AT91_MDH
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_at91_read
	movq	8(%r15), %rcx
	movl	%eax, 4(%rcx)
	movq	_AT91_MB_RX_LAST@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	sete	%al
	movq	_AT91_MSR_MMI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%ebx, %ecx
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_at91_rx_overflow_err           ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AT91_MID_MIDE,4,2              ## @AT91_MID_MIDE
	.comm	_CAN_EFF_MASK,4,2               ## @CAN_EFF_MASK
	.comm	_CAN_EFF_FLAG,4,2               ## @CAN_EFF_FLAG
	.comm	_CAN_SFF_MASK,4,2               ## @CAN_SFF_MASK
	.comm	_AT91_MSR_MRTR,4,2              ## @AT91_MSR_MRTR
	.comm	_CAN_RTR_FLAG,4,2               ## @CAN_RTR_FLAG
	.comm	___u8,4,2                       ## @__u8
	.comm	_AT91_MB_RX_LAST,4,2            ## @AT91_MB_RX_LAST
	.comm	_AT91_MSR_MMI,4,2               ## @AT91_MSR_MMI
	.no_dead_strip	_at91_read_mb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at91_read_mb
_at91_read_mb:                          ; @at91_read_mb
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	bl	_netdev_priv
	mov	x22, x0
	mov	x0, x20
	bl	_AT91_MID
	mov	x1, x0
	mov	x0, x22
	bl	_at91_read
Lloh0:
	adrp	x8, _AT91_MID_MIDE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AT91_MID_MIDE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _CAN_EFF_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CAN_EFF_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh6:
	adrp	x9, _CAN_EFF_FLAG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CAN_EFF_FLAG@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _CAN_SFF_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CAN_SFF_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	and	w8, w8, w0, asr #18
LBB0_3:
	str	w8, [x21]
	mov	x0, x20
	bl	_AT91_MSR
	mov	x1, x0
	mov	x0, x22
	bl	_at91_read
	mov	x23, x0
Lloh12:
	adrp	x8, _AT91_MSR_MRTR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AT91_MSR_MRTR@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_5
; %bb.4:
Lloh15:
	adrp	x8, _CAN_RTR_FLAG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CAN_RTR_FLAG@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	w9, [x21]
	orr	w8, w9, w8
	str	w8, [x21]
LBB0_5:
Lloh18:
	adrp	x8, ___u8@GOTPAGE
Lloh19:
	ldr	x8, [x8, ___u8@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ubfx	w1, w23, #16, #4
	mov	w2, #8
	bl	_min_t
	str	w0, [x21, #16]
	mov	x0, x20
	bl	_AT91_MDL
	mov	x1, x0
	mov	x0, x22
	bl	_at91_read
	ldr	x8, [x21, #8]
	str	w0, [x8]
	mov	x0, x20
	bl	_AT91_MDH
	mov	x1, x0
	mov	x0, x22
	bl	_at91_read
	ldr	x8, [x21, #8]
	str	w0, [x8, #4]
Lloh21:
	adrp	x8, _AT91_MB_RX_LAST@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AT91_MB_RX_LAST@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _AT91_MSR_MMI@GOTPAGE
Lloh25:
	ldr	x9, [x9, _AT91_MSR_MMI@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w23
	ccmp	w8, w20, #0, ne
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x19
	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
	b	_at91_rx_overflow_err
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_AT91_MID_MIDE,4,2              ; @AT91_MID_MIDE
	.comm	_CAN_EFF_MASK,4,2               ; @CAN_EFF_MASK
	.comm	_CAN_EFF_FLAG,4,2               ; @CAN_EFF_FLAG
	.comm	_CAN_SFF_MASK,4,2               ; @CAN_SFF_MASK
	.comm	_AT91_MSR_MRTR,4,2              ; @AT91_MSR_MRTR
	.comm	_CAN_RTR_FLAG,4,2               ; @CAN_RTR_FLAG
	.comm	___u8,4,2                       ; @__u8
	.comm	_AT91_MB_RX_LAST,4,2            ; @AT91_MB_RX_LAST
	.comm	_AT91_MSR_MMI,4,2               ; @AT91_MSR_MMI
	.no_dead_strip	_at91_read_mb
.subsections_via_symbols
