	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rcar_can_start_xmit
_rcar_can_start_xmit:                   ## @rcar_can_start_xmit
	.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	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r13
	movq	(%r14), %rbx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_can_dropped_invalid_skb
	testq	%rax, %rax
	jne	LBB0_14
## %bb.1:
	movslq	(%rbx), %rax
	movq	_CAN_EFF_FLAG@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	_CAN_EFF_MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r12
	andq	%rax, %r12
	movq	_RCAR_CAN_IDE@GOTPCREL(%rip), %rcx
	orq	(%rcx), %r12
	jmp	LBB0_4
LBB0_3:
	movq	_CAN_SFF_MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r12
	andq	%rax, %r12
	movq	_RCAR_CAN_SID_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shlq	%cl, %r12
LBB0_4:
	movq	_CAN_RTR_FLAG@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_5
## %bb.15:
	movq	_RCAR_CAN_RTR@GOTPCREL(%rip), %rax
	orq	(%rax), %r12
	jmp	LBB0_9
LBB0_5:
	cmpq	$0, 8(%rbx)
	je	LBB0_9
## %bb.6:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	_RCAR_CAN_TX_FIFO_MBX@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rax
	leaq	(,%r14,4), %rsi
	movl	(%rax,%r14,4), %edi
	movq	24(%r13), %rax
	movq	8(%rax), %rax
	movq	(%r15), %rcx
	shlq	$4, %rcx
	addq	8(%rax,%rcx), %rsi
	callq	_writeb
	incq	%r14
	cmpq	8(%rbx), %r14
	jb	LBB0_7
## %bb.8:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
LBB0_9:
	movq	24(%r13), %rax
	movq	8(%rax), %rax
	movq	_RCAR_CAN_TX_FIFO_MBX@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	shlq	$4, %rcx
	leaq	(%rax,%rcx), %rsi
	addq	$4, %rsi
	movq	%r12, %rdi
	callq	_writel
	movl	8(%rbx), %edi
	movq	24(%r13), %rax
	movq	(%r14), %rsi
	shlq	$4, %rsi
	addq	8(%rax), %rsi
	callq	_writeb
	movl	8(%rbx), %ecx
	movq	(%r13), %rsi
	movq	8(%r13), %rax
	movq	_RCAR_CAN_FIFO_DEPTH@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	%rax, %rdx
	orq	%rdi, %rdx
	shrq	$32, %rdx
	je	LBB0_10
## %bb.11:
	xorl	%edx, %edx
	divq	%rdi
	jmp	LBB0_12
LBB0_10:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%edi
                                        ## kill: def $edx killed $edx def $rdx
LBB0_12:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ecx, (%rsi,%rdx,4)
	movq	%r15, %rsi
	callq	_can_put_echo_skb
	incq	8(%r13)
	movq	24(%r13), %rsi
	movl	$255, %edi
	callq	_writeb
	movq	8(%r13), %rax
	subq	16(%r13), %rax
	cmpq	(%rbx), %rax
	jb	LBB0_14
## %bb.13:
	movq	%r15, %rdi
	callq	_netif_stop_queue
LBB0_14:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_CAN_EFF_FLAG,4,2               ## @CAN_EFF_FLAG
	.comm	_CAN_EFF_MASK,8,3               ## @CAN_EFF_MASK
	.comm	_RCAR_CAN_IDE,8,3               ## @RCAR_CAN_IDE
	.comm	_CAN_SFF_MASK,8,3               ## @CAN_SFF_MASK
	.comm	_RCAR_CAN_SID_SHIFT,8,3         ## @RCAR_CAN_SID_SHIFT
	.comm	_CAN_RTR_FLAG,4,2               ## @CAN_RTR_FLAG
	.comm	_RCAR_CAN_RTR,8,3               ## @RCAR_CAN_RTR
	.comm	_RCAR_CAN_TX_FIFO_MBX,8,3       ## @RCAR_CAN_TX_FIFO_MBX
	.comm	_RCAR_CAN_FIFO_DEPTH,8,3        ## @RCAR_CAN_FIFO_DEPTH
	.no_dead_strip	_rcar_can_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rcar_can_start_xmit
_rcar_can_start_xmit:                   ; @rcar_can_start_xmit
	.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, x1
	mov	x21, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
	ldr	x23, [x21]
	mov	x0, x19
	mov	x1, x21
	bl	_can_dropped_invalid_skb
	cbnz	x0, LBB0_11
; %bb.1:
	ldrsw	x8, [x23]
Lloh0:
	adrp	x9, _CAN_EFF_FLAG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CAN_EFF_FLAG@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh3:
	adrp	x9, _CAN_EFF_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CAN_EFF_MASK@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	and	x9, x9, x8
Lloh6:
	adrp	x10, _RCAR_CAN_IDE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _RCAR_CAN_IDE@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	orr	x22, x9, x10
	b	LBB0_4
LBB0_3:
Lloh9:
	adrp	x9, _CAN_SFF_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CAN_SFF_MASK@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	and	x9, x9, x8
Lloh12:
	adrp	x10, _RCAR_CAN_SID_SHIFT@GOTPAGE
Lloh13:
	ldr	x10, [x10, _RCAR_CAN_SID_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	lsl	x22, x9, x10
LBB0_4:
Lloh15:
	adrp	x9, _CAN_RTR_FLAG@GOTPAGE
Lloh16:
	ldr	x9, [x9, _CAN_RTR_FLAG@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x24, _RCAR_CAN_TX_FIFO_MBX@GOTPAGE
Lloh19:
	ldr	x24, [x24, _RCAR_CAN_TX_FIFO_MBX@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
Lloh20:
	adrp	x8, _RCAR_CAN_RTR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _RCAR_CAN_RTR@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	orr	x22, x8, x22
	b	LBB0_9
LBB0_6:
	ldr	x8, [x23, #8]
	cbz	x8, LBB0_9
; %bb.7:
	mov	x25, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23, #16]
	lsl	x9, x25, #2
	ldr	w0, [x8, x9]
	ldr	x8, [x20, #24]
	ldr	x8, [x8, #8]
	ldr	x10, [x24]
	add	x8, x8, x10, lsl #4
	ldr	x8, [x8, #8]
	add	x1, x8, x9
	bl	_writeb
	add	x25, x25, #1
	ldr	x8, [x23, #8]
	cmp	x25, x8
	b.lo	LBB0_8
LBB0_9:
	ldr	x8, [x20, #24]
	ldr	x8, [x8, #8]
	ldr	x9, [x24]
	add	x8, x8, x9, lsl #4
	add	x1, x8, #4
	mov	x0, x22
	bl	_writel
	ldr	w0, [x23, #8]
	ldr	x8, [x20, #24]
	ldr	x8, [x8, #8]
	ldr	x9, [x24]
	add	x1, x8, x9, lsl #4
	bl	_writeb
	ldr	x8, [x23, #8]
Lloh23:
	adrp	x22, _RCAR_CAN_FIFO_DEPTH@GOTPAGE
Lloh24:
	ldr	x22, [x22, _RCAR_CAN_FIFO_DEPTH@GOTPAGEOFF]
	ldp	x9, x10, [x20]
	ldr	x11, [x22]
	udiv	x12, x10, x11
	msub	x2, x12, x11, x10
	str	w8, [x9, x2, lsl #2]
	mov	x0, x21
	mov	x1, x19
	bl	_can_put_echo_skb
	ldr	x8, [x20, #8]
	add	x8, x8, #1
	str	x8, [x20, #8]
	ldr	x1, [x20, #24]
	mov	w0, #255
	bl	_writeb
	ldp	x8, x9, [x20, #8]
	ldr	x10, [x22]
	sub	x8, x8, x9
	cmp	x8, x10
	b.lo	LBB0_11
; %bb.10:
	mov	x0, x19
	bl	_netif_stop_queue
LBB0_11:
Lloh25:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh26:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_CAN_EFF_FLAG,4,2               ; @CAN_EFF_FLAG
	.comm	_CAN_EFF_MASK,8,3               ; @CAN_EFF_MASK
	.comm	_RCAR_CAN_IDE,8,3               ; @RCAR_CAN_IDE
	.comm	_CAN_SFF_MASK,8,3               ; @CAN_SFF_MASK
	.comm	_RCAR_CAN_SID_SHIFT,8,3         ; @RCAR_CAN_SID_SHIFT
	.comm	_CAN_RTR_FLAG,4,2               ; @CAN_RTR_FLAG
	.comm	_RCAR_CAN_RTR,8,3               ; @RCAR_CAN_RTR
	.comm	_RCAR_CAN_TX_FIFO_MBX,8,3       ; @RCAR_CAN_TX_FIFO_MBX
	.comm	_RCAR_CAN_FIFO_DEPTH,8,3        ; @RCAR_CAN_FIFO_DEPTH
	.no_dead_strip	_rcar_can_start_xmit
.subsections_via_symbols
