	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function axnet_tx_timeout
_axnet_tx_timeout:                      ## @axnet_tx_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, %r13
	movq	(%rdi), %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r13, %rdi
	callq	_dev_trans_start
	subl	%eax, %r12d
	incl	12(%r13)
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	addq	$4, %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_EN0_TSR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	callq	_inb
	movl	%eax, %r15d
	movq	_EN0_ISR@GOTPCREL(%rip), %rax
	addq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_inb
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	_ENTSR_ABT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r15d, %eax
	testl	%ebx, %ebx
	leaq	L_.str.3(%rip), %rcx
	leaq	L_.str.2(%rip), %rsi
	cmoveq	%rcx, %rsi
	testl	%eax, %eax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rsi, %rdx
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	movl	%r15d, %ecx
	movl	%ebx, %r8d
	movl	%r12d, %r9d
	callq	_netdev_dbg
	testl	%ebx, %ebx
	jne	LBB0_3
## %bb.1:
	cmpl	$0, 8(%r13)
	jne	LBB0_3
## %bb.2:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	xorb	$1, (%rax)
LBB0_3:
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	%r13, %rdi
	callq	_ei_reset_8390
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_AX88190_init
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r13, %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	_jiffies,4,2                    ## @jiffies
	.comm	_EN0_TSR,8,3                    ## @EN0_TSR
	.comm	_EN0_ISR,8,3                    ## @EN0_ISR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Tx timed out, %s TSR=%#2x, ISR=%#2x, t=%d.\n"

	.comm	_ENTSR_ABT,4,2                  ## @ENTSR_ABT
L_.str.1:                               ## @.str.1
	.asciz	"excess collisions."

L_.str.2:                               ## @.str.2
	.asciz	"lost interrupt?"

L_.str.3:                               ## @.str.3
	.asciz	"cable problem?"

	.no_dead_strip	_axnet_tx_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function axnet_tx_timeout
_axnet_tx_timeout:                      ; @axnet_tx_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
	ldr	x24, [x0]
	bl	_netdev_priv
	mov	x21, x0
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_dev_trans_start
	sub	w22, w20, w0
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
	add	x20, x21, #4
	mov	x0, x20
	bl	_spin_lock_irqsave
Lloh3:
	adrp	x8, _EN0_TSR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EN0_TSR@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x0, x8, x24
	bl	_inb
	mov	x23, x0
Lloh6:
	adrp	x8, _EN0_ISR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EN0_ISR@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	add	x0, x8, x24
	bl	_inb
	mov	x24, x0
	mov	x0, x20
	bl	_spin_unlock_irqrestore
Lloh9:
	adrp	x8, _ENTSR_ABT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENTSR_ABT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, l_.str.2@PAGE
Lloh13:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh14:
	adrp	x10, l_.str.3@PAGE
Lloh15:
	add	x10, x10, l_.str.3@PAGEOFF
	cmp	w24, #0
	csel	x9, x10, x9, eq
Lloh16:
	adrp	x10, l_.str.1@PAGE
Lloh17:
	add	x10, x10, l_.str.1@PAGEOFF
	tst	w8, w23
	csel	x2, x9, x10, eq
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x3, x23
	mov	x4, x24
	mov	x5, x22
	bl	_netdev_dbg
	cbnz	w24, LBB0_3
; %bb.1:
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_3
; %bb.2:
	ldr	w8, [x21]
	eor	w8, w8, #0x1
	str	w8, [x21]
LBB0_3:
	mov	x0, x20
	bl	_spin_lock_irqsave
	mov	x0, x19
	bl	_ei_reset_8390
	mov	x0, x19
	mov	w1, #1
	bl	_AX88190_init
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	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 AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_EN0_TSR,8,3                    ; @EN0_TSR
	.comm	_EN0_ISR,8,3                    ; @EN0_ISR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Tx timed out, %s TSR=%#2x, ISR=%#2x, t=%d.\n"

	.comm	_ENTSR_ABT,4,2                  ; @ENTSR_ABT
l_.str.1:                               ; @.str.1
	.asciz	"excess collisions."

l_.str.2:                               ; @.str.2
	.asciz	"lost interrupt?"

l_.str.3:                               ; @.str.3
	.asciz	"cable problem?"

	.no_dead_strip	_axnet_tx_timeout
.subsections_via_symbols
