	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arcnet_timeout                 ## -- Begin function arcnet_timeout
	.p2align	4, 0x90
_arcnet_timeout:                        ## @arcnet_timeout
	.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
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_ASTATUS
	movl	%eax, %r15d
	movq	%rbx, %r13
	addq	$28, %r13
	movq	%r13, %rdi
	callq	_spin_lock_irqsave
	movq	_TXFREEflag@GOTPCREL(%rip), %r12
	testl	%r15d, (%r12)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	incl	4(%r14)
	movl	$1, (%rbx)
	movq	_NOTXcmd@GOTPCREL(%rip), %rax
	movl	4(%rbx), %edi
	shll	$3, %edi
	orl	(%rax), %edi
	callq	_ACOMMAND
	leaq	L_.str.1(%rip), %rax
LBB0_3:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	incl	(%r14)
	xorl	%edi, %edi
	callq	_AINTMASK
	movq	_EXCNAKflag@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	orl	(%r12), %edi
	orl	8(%rbx), %edi
	movl	%edi, 8(%rbx)
	callq	_AINTMASK
	movq	%r13, %rdi
	callq	_spin_unlock_irqrestore
	movq	_jiffies@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rax,%rax,4), %rsi
	addq	%rsi, %rsi
	addq	16(%rbx), %rsi
	callq	_time_after
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_D_EXTRA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %r8d
	movl	24(%rbx), %r9d
	leaq	L_.str.2(%rip), %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%r15d, %ecx
	callq	_BUGMSG
	movq	(%r13), %rax
	movq	%rax, 16(%rbx)
LBB0_5:
	cmpl	$-1, 4(%rbx)
	je	LBB0_7
## %bb.6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_wake_queue               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TXFREEflag,4,2                 ## @TXFREEflag
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" - missed IRQ?"

L_.str.1:                               ## @.str.1
	.space	1

	.comm	_NOTXcmd,4,2                    ## @NOTXcmd
	.comm	_EXCNAKflag,4,2                 ## @EXCNAKflag
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.comm	_D_EXTRA,4,2                    ## @D_EXTRA
L_.str.2:                               ## @.str.2
	.asciz	"tx timed out%s (status=%Xh, intmask=%Xh, dest=%02Xh)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arcnet_timeout                 ; -- Begin function arcnet_timeout
	.p2align	2
_arcnet_timeout:                        ; @arcnet_timeout
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	bl	_ASTATUS
	mov	x21, x0
	add	x23, x20, #28
	mov	x0, x23
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x24, _TXFREEflag@GOTPAGE
Lloh1:
	ldr	x24, [x24, _TXFREEflag@GOTPAGEOFF]
	ldr	w8, [x24]
	tst	w8, w21
	b.eq	LBB0_2
; %bb.1:
Lloh2:
	adrp	x22, l_.str@PAGE
Lloh3:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	mov	w8, #1
	str	w8, [x20]
Lloh4:
	adrp	x8, _NOTXcmd@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NOTXcmd@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	w9, [x20, #4]
	orr	w0, w8, w9, lsl #3
	bl	_ACOMMAND
Lloh7:
	adrp	x22, l_.str.1@PAGE
Lloh8:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_3:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	mov	w0, #0
	bl	_AINTMASK
Lloh9:
	adrp	x8, _EXCNAKflag@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EXCNAKflag@GOTPAGEOFF]
	ldr	w9, [x24]
Lloh11:
	ldr	w8, [x8]
	orr	w8, w8, w9
	ldr	w9, [x20, #8]
	orr	w0, w8, w9
	str	w0, [x20, #8]
	bl	_AINTMASK
	mov	x0, x23
	bl	_spin_unlock_irqrestore
Lloh12:
	adrp	x23, _jiffies@GOTPAGE
Lloh13:
	ldr	x23, [x23, _jiffies@GOTPAGEOFF]
	ldr	x0, [x23]
	ldr	x8, [x20, #16]
Lloh14:
	adrp	x9, _HZ@GOTPAGE
Lloh15:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh16:
	ldrsw	x9, [x9]
	mov	w10, #10
	madd	x1, x9, x10, x8
	bl	_time_after
	cbz	x0, LBB0_5
; %bb.4:
Lloh17:
	adrp	x8, _D_EXTRA@GOTPAGE
Lloh18:
	ldr	x8, [x8, _D_EXTRA@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	ldr	w4, [x20, #8]
	ldr	w5, [x20, #24]
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x22
	mov	x3, x21
	bl	_BUGMSG
	ldr	x8, [x23]
	str	x8, [x20, #16]
LBB0_5:
	ldr	w8, [x20, #4]
	cmn	w8, #1
	b.eq	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_netif_wake_queue
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_TXFREEflag,4,2                 ; @TXFREEflag
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" - missed IRQ?"

l_.str.1:                               ; @.str.1
	.space	1

	.comm	_NOTXcmd,4,2                    ; @NOTXcmd
	.comm	_EXCNAKflag,4,2                 ; @EXCNAKflag
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.comm	_D_EXTRA,4,2                    ; @D_EXTRA
l_.str.2:                               ; @.str.2
	.asciz	"tx timed out%s (status=%Xh, intmask=%Xh, dest=%02Xh)\n"

.subsections_via_symbols
