	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function et131x_error_timer_handler
_et131x_error_timer_handler:            ## @et131x_error_timer_handler
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_error_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_from_timer
	movq	%rax, %r14
	movq	8(%rax), %rax
	movq	(%rax), %rbx
	movq	%r14, %rdi
	callq	_et1310_in_phy_coma
	movq	%r14, %rdi
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	callq	_et1310_disable_phy_coma
	movl	$20, (%r14)
	cmpl	$0, (%rbx)
	jne	LBB0_8
	jmp	LBB0_4
LBB0_2:
	callq	_et1310_update_macstat_host_counters
	cmpl	$0, (%rbx)
	jne	LBB0_8
LBB0_4:
	movl	(%r14), %eax
	cmpl	$10, %eax
	jg	LBB0_8
## %bb.5:
	incl	%eax
	movl	%eax, (%r14)
	cmpl	$10, %eax
	jne	LBB0_8
## %bb.6:
	movq	%r14, %rdi
	callq	_et1310_in_phy_coma
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	callq	_et131x_enable_interrupts
	movq	%r14, %rdi
	callq	_et1310_enable_phy_coma
LBB0_8:
	addq	$4, %r14
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_TX_ERROR_PERIOD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	addq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mod_timer                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_error_timer,4,2                ## @error_timer
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_TX_ERROR_PERIOD,4,2            ## @TX_ERROR_PERIOD
	.comm	_adapter,8,3                    ## @adapter
	.no_dead_strip	_et131x_error_timer_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function et131x_error_timer_handler
_et131x_error_timer_handler:            ; @et131x_error_timer_handler
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _error_timer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _error_timer@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_from_timer
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x20, [x8]
	bl	_et1310_in_phy_coma
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_et1310_disable_phy_coma
	mov	w8, #20
	str	w8, [x19]
	ldr	w8, [x20]
	cbnz	w8, LBB0_7
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_et1310_update_macstat_host_counters
	ldr	w8, [x20]
	cbnz	w8, LBB0_7
LBB0_3:
	ldr	w8, [x19]
	cmp	w8, #10
	b.gt	LBB0_7
; %bb.4:
	add	w8, w8, #1
	str	w8, [x19]
	cmp	w8, #10
	b.ne	LBB0_7
; %bb.5:
	mov	x0, x19
	bl	_et1310_in_phy_coma
	cbnz	x0, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_et131x_enable_interrupts
	mov	x0, x19
	bl	_et1310_enable_phy_coma
LBB0_7:
	add	x19, x19, #4
Lloh3:
	adrp	x8, _jiffies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh5:
	ldr	x20, [x8]
Lloh6:
	adrp	x8, _TX_ERROR_PERIOD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TX_ERROR_PERIOD@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	add	x1, x0, x20
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mod_timer
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_error_timer,4,2                ; @error_timer
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_TX_ERROR_PERIOD,4,2            ; @TX_ERROR_PERIOD
	.comm	_adapter,8,3                    ; @adapter
	.no_dead_strip	_et131x_error_timer_handler
.subsections_via_symbols
