	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm_tx_timeout_tsklet
_bcm_tx_timeout_tsklet:                 ## @bcm_tx_timeout_tsklet
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	cmpq	$0, 32(%rdi)
	je	LBB0_6
## %bb.1:
	movq	(%rbx), %rax
	testq	%rax, %rax
	jle	LBB0_6
## %bb.2:
	leaq	32(%rbx), %r14
	decq	%rax
	movq	%rax, (%rbx)
	jne	LBB0_8
## %bb.3:
	movl	8(%rbx), %eax
	movq	_TX_COUNTEVT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	movq	_TX_EXPIRED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -20(%rbp)
	movl	%eax, -56(%rbp)
	movl	48(%rbx), %eax
	movl	%eax, -24(%rbp)
	movl	44(%rbx), %eax
	movl	%eax, -28(%rbp)
	movl	40(%rbx), %eax
	movl	%eax, -32(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -48(%rbp)
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_bcm_send_to_user
	cmpq	$0, 32(%rbx)
	je	LBB0_6
LBB0_5:
	cmpq	$0, (%rbx)
	jg	LBB0_8
LBB0_6:
	cmpq	$0, 16(%rbx)
	je	LBB0_9
## %bb.7:
	leaq	16(%rbx), %r14
LBB0_8:
	movq	%rbx, %rdi
	callq	_bcm_can_tx
	addq	$24, %rbx
	xorl	%eax, %eax
	callq	_ktime_get
	movq	(%r14), %rsi
	movl	%eax, %edi
	callq	_ktime_add
	movq	_HRTIMER_MODE_ABS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_hrtimer_start
LBB0_9:
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TX_COUNTEVT,4,2                ## @TX_COUNTEVT
	.comm	_TX_EXPIRED,4,2                 ## @TX_EXPIRED
	.comm	_HRTIMER_MODE_ABS,4,2           ## @HRTIMER_MODE_ABS
	.no_dead_strip	_bcm_tx_timeout_tsklet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm_tx_timeout_tsklet
_bcm_tx_timeout_tsklet:                 ; @bcm_tx_timeout_tsklet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	mov	x20, x0
	ldr	x8, [x20, #32]!
	cbz	x8, LBB0_6
; %bb.1:
	ldr	x8, [x19]
	subs	x8, x8, #1
	b.lt	LBB0_6
; %bb.2:
	str	x8, [x19]
	b.ne	LBB0_7
; %bb.3:
	ldr	w8, [x19, #8]
Lloh0:
	adrp	x9, _TX_COUNTEVT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TX_COUNTEVT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
Lloh3:
	adrp	x9, _TX_EXPIRED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TX_EXPIRED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	str	w8, [sp, #8]
	ldr	w8, [x19, #48]
	stp	w8, w9, [sp, #40]
	ldr	d0, [x19, #40]
	str	d0, [sp, #32]
	stp	xzr, xzr, [sp, #16]
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, #0
	mov	w3, #0
	bl	_bcm_send_to_user
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_6
LBB0_5:
	ldr	x8, [x19]
	cmp	x8, #0
	b.gt	LBB0_7
LBB0_6:
	mov	x20, x19
	ldr	x8, [x20, #16]!
	cbz	x8, LBB0_8
LBB0_7:
	mov	x0, x19
	bl	_bcm_can_tx
	add	x19, x19, #24
	bl	_ktime_get
	ldr	x1, [x20]
	bl	_ktime_add
	mov	x1, x0
Lloh6:
	adrp	x8, _HRTIMER_MODE_ABS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HRTIMER_MODE_ABS@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_hrtimer_start
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TX_COUNTEVT,4,2                ; @TX_COUNTEVT
	.comm	_TX_EXPIRED,4,2                 ; @TX_EXPIRED
	.comm	_HRTIMER_MODE_ABS,4,2           ; @HRTIMER_MODE_ABS
	.no_dead_strip	_bcm_tx_timeout_tsklet
.subsections_via_symbols
