	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xcan_tx_interrupt
_xcan_tx_interrupt:                     ## @xcan_tx_interrupt
	.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, %r12d
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %r13
	leaq	24(%rax), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	(%r13), %ebx
	xorl	%edi, %edi
	subl	4(%r13), %ebx
	sete	%dil
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	je	LBB0_1
## %bb.12:
	movq	_XCAN_ICR_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_XCAN_IXR_TXOK_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	*32(%r13)
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
LBB0_1:
	cmpl	$2, %ebx
	jb	LBB0_8
## %bb.2:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	cmpl	8(%r13), %ebx
	seta	%dil
	callq	_WARN_ON
	movq	_XCAN_IXR_TXOK_MASK@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_7
## %bb.3:
	xorl	%edi, %edi
	callq	_WARN_ON
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	movl	$98, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	_XCAN_ICR_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_XCAN_IXR_TXOK_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	*32(%r13)
	movq	_XCAN_ISR_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	*16(%r13)
	movl	%eax, %r12d
	movq	_XCAN_IXR_TXOK_MASK@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	xorl	%edi, %edi
	subl	$1, %r14d
	setb	%dil
	callq	_WARN_ON
	testl	%eax, %eax
	je	LBB0_6
LBB0_7:
	movq	_XCAN_IXR_TXFEMP_MASK@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	movl	$1, %eax
	cmovel	%eax, %ebx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_8:
	movq	_XCAN_ICR_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_XCAN_IXR_TXOK_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	*32(%r13)
	movl	$1, %ebx
LBB0_9:
	movl	4(%r13), %eax
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	xorl	%edx, %edx
	divl	8(%r13)
	movq	%r15, %rdi
	movl	%edx, %esi
	callq	_can_get_echo_skb
	addl	%eax, 4(%r15)
	movl	4(%r13), %eax
	incl	%eax
	movl	%eax, 4(%r13)
	incl	(%r15)
	decl	%ebx
	jne	LBB0_10
## %bb.11:
	movq	%r15, %rdi
	callq	_netif_wake_queue
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	_CAN_LED_EVENT_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_can_led_event
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xcan_update_error_state_after_rxtx ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_XCAN_ICR_OFFSET,4,2            ## @XCAN_ICR_OFFSET
	.comm	_XCAN_IXR_TXOK_MASK,4,2         ## @XCAN_IXR_TXOK_MASK
	.comm	_XCAN_ISR_OFFSET,4,2            ## @XCAN_ISR_OFFSET
	.comm	_XCAN_IXR_TXFEMP_MASK,4,2       ## @XCAN_IXR_TXFEMP_MASK
	.comm	_CAN_LED_EVENT_TX,4,2           ## @CAN_LED_EVENT_TX
	.no_dead_strip	_xcan_tx_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xcan_tx_interrupt
_xcan_tx_interrupt:                     ; @xcan_tx_interrupt
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x1
	mov	x19, x0
	bl	_netdev_priv
	mov	x21, x0
	add	x20, x0, #24
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldp	w8, w9, [x21]
	subs	w23, w8, w9
	cset	w0, eq
	bl	_WARN_ON_ONCE
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x21, #32]
Lloh0:
	adrp	x9, _XCAN_ICR_OFFSET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XCAN_ICR_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
Lloh3:
	adrp	x9, _XCAN_IXR_TXOK_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _XCAN_IXR_TXOK_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x9]
	mov	x0, x21
	blr	x8
	mov	x0, x20
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
LBB0_2:
	cmp	w23, #2
	b.lo	LBB0_9
; %bb.3:
	ldr	w8, [x21, #8]
	cmp	w23, w8
	cset	w0, hi
	bl	_WARN_ON
Lloh6:
	adrp	x24, _XCAN_IXR_TXOK_MASK@GOTPAGE
Lloh7:
	ldr	x24, [x24, _XCAN_IXR_TXOK_MASK@GOTPAGEOFF]
	ldr	w8, [x24]
	tst	w8, w22
	b.eq	LBB0_8
; %bb.4:
	mov	w0, #0
	bl	_WARN_ON
	cbnz	w0, LBB0_8
; %bb.5:
	mov	w25, #98
Lloh8:
	adrp	x26, _XCAN_ICR_OFFSET@GOTPAGE
Lloh9:
	ldr	x26, [x26, _XCAN_ICR_OFFSET@GOTPAGEOFF]
Lloh10:
	adrp	x27, _XCAN_ISR_OFFSET@GOTPAGE
Lloh11:
	ldr	x27, [x27, _XCAN_ISR_OFFSET@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #32]
	ldr	w1, [x26]
	ldr	w2, [x24]
	mov	x0, x21
	blr	x8
	ldr	x8, [x21, #16]
	ldr	w1, [x27]
	mov	x0, x21
	blr	x8
	mov	x22, x0
	ldr	w8, [x24]
	tst	w8, w0
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w25, #0
	cset	w0, eq
	bl	_WARN_ON
	sub	w25, w25, #1
	cbz	w0, LBB0_6
LBB0_8:
Lloh12:
	adrp	x8, _XCAN_IXR_TXFEMP_MASK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _XCAN_IXR_TXFEMP_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w22
	csinc	w22, w23, wzr, ne
	b	LBB0_10
LBB0_9:
	ldr	x8, [x21, #32]
Lloh15:
	adrp	x9, _XCAN_ICR_OFFSET@GOTPAGE
Lloh16:
	ldr	x9, [x9, _XCAN_ICR_OFFSET@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x9]
Lloh18:
	adrp	x9, _XCAN_IXR_TXOK_MASK@GOTPAGE
Lloh19:
	ldr	x9, [x9, _XCAN_IXR_TXOK_MASK@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x9]
	mov	x0, x21
	blr	x8
	mov	w22, #1
LBB0_10:
	ldr	w8, [x21, #4]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	sub	w22, w22, #1
	ldr	w9, [x21, #8]
	udiv	w10, w8, w9
	msub	w1, w10, w9, w8
	mov	x0, x19
	bl	_can_get_echo_skb
	ldp	w9, w8, [x19]
	add	w10, w8, w0
	ldr	w8, [x21, #4]
	add	w8, w8, #1
	str	w8, [x21, #4]
	add	w9, w9, #1
	stp	w9, w10, [x19]
	cbnz	w22, LBB0_11
; %bb.12:
	mov	x0, x19
	bl	_netif_wake_queue
	mov	x0, x20
	bl	_spin_unlock_irqrestore
Lloh21:
	adrp	x8, _CAN_LED_EVENT_TX@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CAN_LED_EVENT_TX@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_can_led_event
	mov	x0, x19
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_xcan_update_error_state_after_rxtx
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_XCAN_ICR_OFFSET,4,2            ; @XCAN_ICR_OFFSET
	.comm	_XCAN_IXR_TXOK_MASK,4,2         ; @XCAN_IXR_TXOK_MASK
	.comm	_XCAN_ISR_OFFSET,4,2            ; @XCAN_ISR_OFFSET
	.comm	_XCAN_IXR_TXFEMP_MASK,4,2       ; @XCAN_IXR_TXFEMP_MASK
	.comm	_CAN_LED_EVENT_TX,4,2           ; @CAN_LED_EVENT_TX
	.no_dead_strip	_xcan_tx_interrupt
.subsections_via_symbols
