	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sja1000_rx
_sja1000_rx:                            ## @sja1000_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r13
	movl	$16, %edi
	callq	_dev_alloc_skb
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	%rax, %r15
	movq	%rbx, 8(%rax)
	movq	_ETH_P_CAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movl	%eax, (%r15)
	movq	_REG_FI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	*(%r13)
	movl	%eax, %r14d
	movq	_FI_FF@GOTPCREL(%rip), %rcx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%eax, (%rcx)
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_3
## %bb.2:
	movq	_EFF_BUF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_REG_ID1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	*(%r13)
	movl	%eax, %ebx
	shll	$21, %ebx
	movq	_REG_ID2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	*(%r13)
	movl	%r14d, %r12d
	movl	%eax, %r14d
	shll	$13, %r14d
	orl	%ebx, %r14d
	movq	_REG_ID3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	*(%r13)
	movl	%eax, %ebx
	shll	$5, %ebx
	movq	_REG_ID4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	*(%r13)
	sarl	$3, %eax
	orl	%ebx, %eax
	orl	%r14d, %eax
	movl	%r12d, %r14d
	movq	_CAN_EFF_FLAG@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	jmp	LBB0_4
LBB0_3:
	movq	_SFF_BUF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_REG_ID1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	*(%r13)
	movl	%eax, %ebx
	shll	$3, %ebx
	movq	_REG_ID2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	*(%r13)
	sarl	$5, %eax
	orl	%ebx, %eax
LBB0_4:
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	andl	$15, %r12d
	movq	_FI_RTR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	andl	%r14d, %ebx
	je	LBB0_6
## %bb.5:
	movq	_CAN_RTR_FLAG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
LBB0_6:
	orl	%eax, %ebx
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movl	$16, %esi
	callq	_skb_put
	movq	%rax, %r14
	xorl	%r15d, %r15d
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movl	%ebx, (%r14)
	movl	%r12d, 4(%r14)
	testl	%r12d, %r12d
	movl	%r12d, %ebx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_10
## %bb.7:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %ebx
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r15,%r12), %esi
	movq	%r13, %rdi
	callq	*(%r13)
	movq	8(%r14), %rcx
	movl	%eax, (%rcx,%r12,4)
	incq	%r12
	cmpq	%r12, %rbx
	jne	LBB0_8
## %bb.9:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %r15d
	cmpl	$7, %ebx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	ja	LBB0_11
LBB0_10:
	movl	%r15d, %edi
	shlq	$2, %rdi
	addq	8(%r14), %rdi
	movl	$7, %eax
	subl	%r15d, %eax
	leaq	4(,%rax,4), %rsi
	callq	___bzero
LBB0_11:
	movq	_REG_CMR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CMD_RRB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	*8(%r13)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_netif_rx
	incl	4(%r12)
	addl	%ebx, (%r12)
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_P_CAN,4,2                  ## @ETH_P_CAN
	.comm	_REG_FI,4,2                     ## @REG_FI
	.comm	_FI_FF,4,2                      ## @FI_FF
	.comm	_EFF_BUF,4,2                    ## @EFF_BUF
	.comm	_REG_ID1,4,2                    ## @REG_ID1
	.comm	_REG_ID2,4,2                    ## @REG_ID2
	.comm	_REG_ID3,4,2                    ## @REG_ID3
	.comm	_REG_ID4,4,2                    ## @REG_ID4
	.comm	_CAN_EFF_FLAG,4,2               ## @CAN_EFF_FLAG
	.comm	_SFF_BUF,4,2                    ## @SFF_BUF
	.comm	_FI_RTR,4,2                     ## @FI_RTR
	.comm	_CAN_RTR_FLAG,4,2               ## @CAN_RTR_FLAG
	.comm	_REG_CMR,4,2                    ## @REG_CMR
	.comm	_CMD_RRB,4,2                    ## @CMD_RRB
	.no_dead_strip	_sja1000_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sja1000_rx
_sja1000_rx:                            ; @sja1000_rx
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	mov	w0, #16
	bl	_dev_alloc_skb
	cbz	x0, LBB0_11
; %bb.1:
	mov	x21, x0
	str	x19, [x0, #8]
Lloh0:
	adrp	x8, _ETH_P_CAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_P_CAN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_htons
	str	w0, [x21]
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _REG_FI@GOTPAGE
Lloh4:
	ldr	x9, [x9, _REG_FI@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	mov	x0, x20
	blr	x8
	mov	x22, x0
	and	w24, w0, #0xf
Lloh6:
	adrp	x8, _FI_FF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FI_FF@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:
Lloh9:
	adrp	x8, _EFF_BUF@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EFF_BUF@GOTPAGEOFF]
Lloh11:
	ldr	w25, [x8]
	ldr	x8, [x20]
Lloh12:
	adrp	x9, _REG_ID1@GOTPAGE
Lloh13:
	ldr	x9, [x9, _REG_ID1@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x9]
	mov	x0, x20
	blr	x8
	mov	x23, x0
	ldr	x8, [x20]
Lloh15:
	adrp	x9, _REG_ID2@GOTPAGE
Lloh16:
	ldr	x9, [x9, _REG_ID2@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x9]
	mov	x0, x20
	blr	x8
	lsl	w8, w0, #13
	orr	w23, w8, w23, lsl #21
	ldr	x8, [x20]
Lloh18:
	adrp	x9, _REG_ID3@GOTPAGE
Lloh19:
	ldr	x9, [x9, _REG_ID3@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x9]
	mov	x0, x20
	blr	x8
	orr	w23, w23, w0, lsl #5
	ldr	x8, [x20]
Lloh21:
	adrp	x9, _REG_ID4@GOTPAGE
Lloh22:
	ldr	x9, [x9, _REG_ID4@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x9]
	mov	x0, x20
	blr	x8
	orr	w8, w23, w0, asr #3
Lloh24:
	adrp	x9, _CAN_EFF_FLAG@GOTPAGE
Lloh25:
	ldr	x9, [x9, _CAN_EFF_FLAG@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w8, w9
	b	LBB0_4
LBB0_3:
Lloh27:
	adrp	x8, _SFF_BUF@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SFF_BUF@GOTPAGEOFF]
Lloh29:
	ldr	w25, [x8]
	ldr	x8, [x20]
Lloh30:
	adrp	x9, _REG_ID1@GOTPAGE
Lloh31:
	ldr	x9, [x9, _REG_ID1@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x9]
	mov	x0, x20
	blr	x8
	mov	x23, x0
	ldr	x8, [x20]
Lloh33:
	adrp	x9, _REG_ID2@GOTPAGE
Lloh34:
	ldr	x9, [x9, _REG_ID2@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x9]
	mov	x0, x20
	blr	x8
	asr	w8, w0, #5
	orr	w8, w8, w23, lsl #3
LBB0_4:
Lloh36:
	adrp	x9, _FI_RTR@GOTPAGE
Lloh37:
	ldr	x9, [x9, _FI_RTR@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
Lloh39:
	adrp	x10, _CAN_RTR_FLAG@GOTPAGE
Lloh40:
	ldr	x10, [x10, _CAN_RTR_FLAG@GOTPAGEOFF]
Lloh41:
	ldr	w10, [x10]
	tst	w9, w22
	csel	w9, wzr, w10, eq
	orr	w23, w9, w8
	mov	x0, x21
	mov	w1, #16
	bl	_skb_put
	mov	x22, x0
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	stp	w23, w24, [x22]
	cbz	w24, LBB0_8
; %bb.5:
	mov	x23, #0
	mov	w25, w25
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	w1, w25, w23
	ldr	x8, [x20]
	mov	x0, x20
	blr	x8
	ldr	x8, [x22, #8]
	str	w0, [x8, x23, lsl #2]
	add	x23, x23, #1
	cmp	x24, x23
	b.ne	LBB0_6
; %bb.7:
	mov	x8, x24
	cmp	w24, #7
	b.ls	LBB0_9
	b	LBB0_10
LBB0_8:
	mov	w8, #0
LBB0_9:
	ldr	x9, [x22, #8]
	add	x0, x9, w8, uxtw #2
	mov	w9, #7
	sub	w8, w9, w8
	lsl	x8, x8, #2
	add	x1, x8, #4
	bl	_bzero
LBB0_10:
	ldr	x8, [x20, #8]
Lloh42:
	adrp	x9, _REG_CMR@GOTPAGE
Lloh43:
	ldr	x9, [x9, _REG_CMR@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x9]
Lloh45:
	adrp	x9, _CMD_RRB@GOTPAGE
Lloh46:
	ldr	x9, [x9, _CMD_RRB@GOTPAGEOFF]
Lloh47:
	ldr	w2, [x9]
	mov	x0, x20
	blr	x8
	mov	x0, x21
	bl	_netif_rx
	ldr	d0, [x19]
	movi.2s	v1, #1
	mov.s	v1[0], w24
	add.2s	v0, v0, v1
	str	d0, [x19]
LBB0_11:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_P_CAN,4,2                  ; @ETH_P_CAN
	.comm	_REG_FI,4,2                     ; @REG_FI
	.comm	_FI_FF,4,2                      ; @FI_FF
	.comm	_EFF_BUF,4,2                    ; @EFF_BUF
	.comm	_REG_ID1,4,2                    ; @REG_ID1
	.comm	_REG_ID2,4,2                    ; @REG_ID2
	.comm	_REG_ID3,4,2                    ; @REG_ID3
	.comm	_REG_ID4,4,2                    ; @REG_ID4
	.comm	_CAN_EFF_FLAG,4,2               ; @CAN_EFF_FLAG
	.comm	_SFF_BUF,4,2                    ; @SFF_BUF
	.comm	_FI_RTR,4,2                     ; @FI_RTR
	.comm	_CAN_RTR_FLAG,4,2               ; @CAN_RTR_FLAG
	.comm	_REG_CMR,4,2                    ; @REG_CMR
	.comm	_CMD_RRB,4,2                    ; @CMD_RRB
	.no_dead_strip	_sja1000_rx
.subsections_via_symbols
