	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function peak_canfd_start_xmit
_peak_canfd_start_xmit:                 ## @peak_canfd_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	(%rbx), %r13
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_can_dropped_invalid_skb
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %r15
	testq	%rax, %rax
	jne	LBB0_20
## %bb.1:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rbx
	movq	8(%r13), %rdi
	addq	$48, %rdi
	movl	$4, %esi
	callq	_ALIGN
	movl	%eax, %r12d
	leaq	-52(%rbp), %rdx
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	callq	*48(%r14)
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r15
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movl	%r12d, %edi
	callq	_cpu_to_le16
	movq	%rax, 40(%r15)
	movq	_PUCAN_MSG_CAN_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 32(%r15)
	movl	(%r13), %edi
	movq	_CAN_EFF_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	andl	%edi, %r14d
	movq	_PUCAN_MSG_EXT_ID@GOTPCREL(%rip), %rax
	cmovnel	(%rax), %r14d
	movq	_CAN_EFF_MASK@GOTPCREL(%rip), %rax
	cmoveq	_CAN_SFF_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, 24(%r15)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_can_is_canfd_skb
	movq	8(%r13), %r12
	testq	%rax, %rax
	movq	%r13, %rbx
	je	LBB0_8
## %bb.4:
	movq	%r12, %rdi
	callq	_can_len2dlc
	movq	%rax, %r12
	movq	_PUCAN_MSG_EXT_DATA_LEN@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movl	4(%rbx), %eax
	movq	_CANFD_BRS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_6
## %bb.5:
	movq	_PUCAN_MSG_BITRATE_SWITCH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_6:
	orl	%ecx, %r14d
	movq	_CANFD_ESI@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.7:
	movq	_PUCAN_MSG_ERROR_STATE_IND@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_2:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	incl	(%rdi)
	callq	_netif_stop_queue
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %r15
	jmp	LBB0_20
LBB0_8:
	movq	_CAN_RTR_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_11
## %bb.9:
	movq	_PUCAN_MSG_RTR@GOTPCREL(%rip), %rax
LBB0_10:
	orl	(%rax), %r14d
LBB0_11:
	movq	_PUCAN_MSG_LOOPED_BACK@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movq	_CAN_CTRLMODE_LOOPBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	24(%r13), %eax
	je	LBB0_13
## %bb.12:
	movq	_PUCAN_MSG_SELF_RECEIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_13:
	orl	%eax, %r14d
	movl	%r14d, %edi
	callq	_cpu_to_le16
	movq	%rax, 16(%r15)
	movl	40(%r13), %edi
	movq	%r12, %rsi
	callq	_PUCAN_MSG_CHANNEL_DLC
	movl	%eax, 8(%r15)
	movl	4(%r15), %edi
	movl	16(%rbx), %esi
	movq	8(%rbx), %rdx
	callq	_memcpy
	movl	(%r13), %eax
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movl	%eax, (%r15)
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	addq	$16, %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	(%r13), %edx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_can_put_echo_skb
	movl	(%r13), %eax
	incl	%eax
	cltd
	idivl	28(%r13)
	movl	%edx, (%r13)
	movq	32(%r13), %rax
	movslq	%edx, %rcx
	movq	_CAN_CTRLMODE_FD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, 24(%r13)
	jne	LBB0_14
## %bb.15:
	movq	_CAN_MAX_DLEN@GOTPCREL(%rip), %rdx
	jmp	LBB0_16
LBB0_14:
	movq	_CANFD_MAX_DLEN@GOTPCREL(%rip), %rdx
LBB0_16:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %r15
	cmpl	$0, (%rax,%rcx,4)
	jne	LBB0_18
## %bb.17:
	movslq	(%rdx), %rax
	addq	$48, %rax
	movslq	-52(%rbp), %rcx
	cmpq	%rcx, %rax
	jbe	LBB0_19
LBB0_18:
	movq	%r12, %rdi
	callq	_netif_stop_queue
LBB0_19:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	*8(%r13)
LBB0_20:
	movl	(%r15), %eax
	addq	$40, %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	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
	.comm	_PUCAN_MSG_CAN_TX,4,2           ## @PUCAN_MSG_CAN_TX
	.comm	_CAN_EFF_FLAG,4,2               ## @CAN_EFF_FLAG
	.comm	_PUCAN_MSG_EXT_ID,4,2           ## @PUCAN_MSG_EXT_ID
	.comm	_CAN_EFF_MASK,4,2               ## @CAN_EFF_MASK
	.comm	_CAN_SFF_MASK,4,2               ## @CAN_SFF_MASK
	.comm	_PUCAN_MSG_EXT_DATA_LEN,4,2     ## @PUCAN_MSG_EXT_DATA_LEN
	.comm	_CANFD_BRS,4,2                  ## @CANFD_BRS
	.comm	_PUCAN_MSG_BITRATE_SWITCH,4,2   ## @PUCAN_MSG_BITRATE_SWITCH
	.comm	_CANFD_ESI,4,2                  ## @CANFD_ESI
	.comm	_PUCAN_MSG_ERROR_STATE_IND,4,2  ## @PUCAN_MSG_ERROR_STATE_IND
	.comm	_CAN_RTR_FLAG,4,2               ## @CAN_RTR_FLAG
	.comm	_PUCAN_MSG_RTR,4,2              ## @PUCAN_MSG_RTR
	.comm	_PUCAN_MSG_LOOPED_BACK,4,2      ## @PUCAN_MSG_LOOPED_BACK
	.comm	_CAN_CTRLMODE_LOOPBACK,4,2      ## @CAN_CTRLMODE_LOOPBACK
	.comm	_PUCAN_MSG_SELF_RECEIVE,4,2     ## @PUCAN_MSG_SELF_RECEIVE
	.comm	_CAN_CTRLMODE_FD,4,2            ## @CAN_CTRLMODE_FD
	.comm	_CANFD_MAX_DLEN,4,2             ## @CANFD_MAX_DLEN
	.comm	_CAN_MAX_DLEN,4,2               ## @CAN_MAX_DLEN
	.no_dead_strip	_peak_canfd_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function peak_canfd_start_xmit
_peak_canfd_start_xmit:                 ; @peak_canfd_start_xmit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x22, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
	ldr	x24, [x22]
	mov	x0, x19
	mov	x1, x22
	bl	_can_dropped_invalid_skb
	cbnz	x0, LBB0_13
; %bb.1:
	ldr	x8, [x24, #8]
	add	x0, x8, #48
	mov	w1, #4
	bl	_ALIGN
	mov	x23, x0
	ldr	x8, [x20, #48]
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x23
	blr	x8
	cbz	x0, LBB0_5
; %bb.2:
	mov	x21, x0
	mov	x0, x23
	bl	_cpu_to_le16
	str	x0, [x21, #40]
Lloh0:
	adrp	x8, _PUCAN_MSG_CAN_TX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PUCAN_MSG_CAN_TX@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x21, #32]
	ldr	w8, [x24]
Lloh3:
	adrp	x9, _CAN_EFF_FLAG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CAN_EFF_FLAG@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _PUCAN_MSG_EXT_ID@GOTPAGE
Lloh7:
	ldr	x10, [x10, _PUCAN_MSG_EXT_ID@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w9, w8
Lloh9:
	adrp	x9, _CAN_SFF_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CAN_SFF_MASK@GOTPAGEOFF]
	csel	w25, wzr, w10, eq
Lloh11:
	adrp	x10, _CAN_EFF_MASK@GOTPAGE
Lloh12:
	ldr	x10, [x10, _CAN_EFF_MASK@GOTPAGEOFF]
	csel	x9, x9, x10, eq
	ldr	w9, [x9]
	and	w0, w9, w8
	bl	_cpu_to_le32
	str	x0, [x21, #24]
	mov	x0, x22
	bl	_can_is_canfd_skb
	ldr	x23, [x24, #8]
	cbz	x0, LBB0_6
; %bb.3:
	mov	x0, x23
	bl	_can_len2dlc
	mov	x23, x0
Lloh13:
	adrp	x8, _PUCAN_MSG_EXT_DATA_LEN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PUCAN_MSG_EXT_DATA_LEN@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	orr	w8, w8, w25
Lloh16:
	adrp	x9, _CANFD_BRS@GOTPAGE
Lloh17:
	ldr	x9, [x9, _CANFD_BRS@GOTPAGEOFF]
	ldr	w10, [x24, #4]
Lloh18:
	ldr	w9, [x9]
Lloh19:
	adrp	x11, _PUCAN_MSG_BITRATE_SWITCH@GOTPAGE
Lloh20:
	ldr	x11, [x11, _PUCAN_MSG_BITRATE_SWITCH@GOTPAGEOFF]
Lloh21:
	ldr	w11, [x11]
	tst	w9, w10
	csel	w9, wzr, w11, eq
	orr	w25, w8, w9
Lloh22:
	adrp	x8, _CANFD_ESI@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CANFD_ESI@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	tst	w8, w10
	b.eq	LBB0_9
; %bb.4:
Lloh25:
	adrp	x8, _PUCAN_MSG_ERROR_STATE_IND@GOTPAGE
Lloh26:
	ldr	x8, [x8, _PUCAN_MSG_ERROR_STATE_IND@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	mov	x0, x19
	bl	_netif_stop_queue
Lloh27:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh28:
	ldr	x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
	b	LBB0_14
LBB0_6:
	ldr	w8, [x24]
Lloh29:
	adrp	x9, _CAN_RTR_FLAG@GOTPAGE
Lloh30:
	ldr	x9, [x9, _CAN_RTR_FLAG@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.7:
Lloh32:
	adrp	x8, _PUCAN_MSG_RTR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _PUCAN_MSG_RTR@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	orr	w25, w8, w25
LBB0_9:
Lloh34:
	adrp	x8, _PUCAN_MSG_LOOPED_BACK@GOTPAGE
Lloh35:
	ldr	x8, [x8, _PUCAN_MSG_LOOPED_BACK@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	orr	w8, w8, w25
	ldr	w9, [x20, #24]
Lloh37:
	adrp	x10, _CAN_CTRLMODE_LOOPBACK@GOTPAGE
Lloh38:
	ldr	x10, [x10, _CAN_CTRLMODE_LOOPBACK@GOTPAGEOFF]
Lloh39:
	ldr	w10, [x10]
Lloh40:
	adrp	x11, _PUCAN_MSG_SELF_RECEIVE@GOTPAGE
Lloh41:
	ldr	x11, [x11, _PUCAN_MSG_SELF_RECEIVE@GOTPAGEOFF]
Lloh42:
	ldr	w11, [x11]
	tst	w10, w9
	csel	w9, wzr, w11, eq
	orr	w0, w8, w9
	bl	_cpu_to_le16
	str	x0, [x21, #16]
	ldr	w0, [x20, #40]
	mov	x1, x23
	bl	_PUCAN_MSG_CHANNEL_DLC
	str	w0, [x21, #8]
	ldr	w0, [x21, #4]
	ldr	w1, [x24, #16]
	ldr	x2, [x24, #8]
	bl	_memcpy
	ldr	w8, [x20]
	str	w8, [x21]
	add	x23, x20, #16
	mov	x0, x23
	bl	_spin_lock_irqsave
	ldr	w2, [x20]
	mov	x0, x22
	mov	x1, x19
	bl	_can_put_echo_skb
	ldr	w8, [x20]
	add	w8, w8, #1
	ldp	w10, w9, [x20, #24]
	sdiv	w11, w8, w9
	msub	w8, w11, w9, w8
	str	w8, [x20]
	ldr	x9, [x20, #32]
	ldr	w9, [x9, w8, sxtw #2]
Lloh43:
	adrp	x8, _CAN_CTRLMODE_FD@GOTPAGE
Lloh44:
	ldr	x8, [x8, _CAN_CTRLMODE_FD@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
Lloh46:
	adrp	x11, _CAN_MAX_DLEN@GOTPAGE
Lloh47:
	ldr	x11, [x11, _CAN_MAX_DLEN@GOTPAGEOFF]
Lloh48:
	adrp	x12, _CANFD_MAX_DLEN@GOTPAGE
Lloh49:
	ldr	x12, [x12, _CANFD_MAX_DLEN@GOTPAGEOFF]
	tst	w8, w10
	csel	x8, x11, x12, eq
	cbnz	w9, LBB0_11
; %bb.10:
	ldrsw	x9, [sp, #12]
	ldrsw	x8, [x8]
	add	x8, x8, #48
	cmp	x8, x9
	b.ls	LBB0_12
LBB0_11:
	mov	x0, x19
	bl	_netif_stop_queue
LBB0_12:
	mov	x0, x23
	bl	_spin_unlock_irqrestore
	ldr	x8, [x20, #8]
	mov	x0, x20
	mov	x1, x21
	blr	x8
LBB0_13:
Lloh50:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh51:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.comm	_PUCAN_MSG_CAN_TX,4,2           ; @PUCAN_MSG_CAN_TX
	.comm	_CAN_EFF_FLAG,4,2               ; @CAN_EFF_FLAG
	.comm	_PUCAN_MSG_EXT_ID,4,2           ; @PUCAN_MSG_EXT_ID
	.comm	_CAN_EFF_MASK,4,2               ; @CAN_EFF_MASK
	.comm	_CAN_SFF_MASK,4,2               ; @CAN_SFF_MASK
	.comm	_PUCAN_MSG_EXT_DATA_LEN,4,2     ; @PUCAN_MSG_EXT_DATA_LEN
	.comm	_CANFD_BRS,4,2                  ; @CANFD_BRS
	.comm	_PUCAN_MSG_BITRATE_SWITCH,4,2   ; @PUCAN_MSG_BITRATE_SWITCH
	.comm	_CANFD_ESI,4,2                  ; @CANFD_ESI
	.comm	_PUCAN_MSG_ERROR_STATE_IND,4,2  ; @PUCAN_MSG_ERROR_STATE_IND
	.comm	_CAN_RTR_FLAG,4,2               ; @CAN_RTR_FLAG
	.comm	_PUCAN_MSG_RTR,4,2              ; @PUCAN_MSG_RTR
	.comm	_PUCAN_MSG_LOOPED_BACK,4,2      ; @PUCAN_MSG_LOOPED_BACK
	.comm	_CAN_CTRLMODE_LOOPBACK,4,2      ; @CAN_CTRLMODE_LOOPBACK
	.comm	_PUCAN_MSG_SELF_RECEIVE,4,2     ; @PUCAN_MSG_SELF_RECEIVE
	.comm	_CAN_CTRLMODE_FD,4,2            ; @CAN_CTRLMODE_FD
	.comm	_CANFD_MAX_DLEN,4,2             ; @CANFD_MAX_DLEN
	.comm	_CAN_MAX_DLEN,4,2               ; @CAN_MAX_DLEN
	.no_dead_strip	_peak_canfd_start_xmit
.subsections_via_symbols
