	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function el3_tx_timeout
_el3_tx_timeout:                        ## @el3_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, %r14
	movslq	(%rdi), %rbx
	movl	8(%rdi), %r15d
	movq	_TX_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	callq	_inb
	movl	%eax, %r12d
	movq	_EL3_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	callq	_inw
	movl	%eax, %r13d
	movq	_TX_FREE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	callq	_inw
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	callq	_pr_warn
	incl	4(%r14)
	movq	%r14, %rdi
	callq	_netif_trans_update
	movq	_TxReset@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EL3_CMD@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	addq	%rbx, %rsi
	callq	_outw
	movq	_TxEnable@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	(%r15), %rbx
	movq	%rbx, %rsi
	callq	_outw
	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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: transmit timed out, Tx_status %2.2x status %4.4x Tx FIFO room %d\n"

	.comm	_TX_STATUS,8,3                  ## @TX_STATUS
	.comm	_EL3_STATUS,8,3                 ## @EL3_STATUS
	.comm	_TX_FREE,8,3                    ## @TX_FREE
	.comm	_TxReset,4,2                    ## @TxReset
	.comm	_EL3_CMD,8,3                    ## @EL3_CMD
	.comm	_TxEnable,4,2                   ## @TxEnable
	.no_dead_strip	_el3_tx_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function el3_tx_timeout
_el3_tx_timeout:                        ; @el3_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
	ldrsw	x23, [x0]
	ldr	w20, [x0, #8]
Lloh0:
	adrp	x8, _TX_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TX_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x0, x8, x23
	bl	_inb
	mov	x21, x0
Lloh3:
	adrp	x8, _EL3_STATUS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EL3_STATUS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x0, x8, x23
	bl	_inw
	mov	x22, x0
Lloh6:
	adrp	x8, _TX_FREE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TX_FREE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	add	x0, x8, x23
	bl	_inw
	mov	x4, x0
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	bl	_pr_warn
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_netif_trans_update
Lloh11:
	adrp	x8, _TxReset@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TxReset@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x20, _EL3_CMD@GOTPAGE
Lloh15:
	ldr	x20, [x20, _EL3_CMD@GOTPAGEOFF]
	ldr	x8, [x20]
	add	x1, x8, x23
	bl	_outw
Lloh16:
	adrp	x8, _TxEnable@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TxEnable@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	ldr	x8, [x20]
	add	x1, x8, x23
	bl	_outw
	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 AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: transmit timed out, Tx_status %2.2x status %4.4x Tx FIFO room %d\n"

	.comm	_TX_STATUS,8,3                  ; @TX_STATUS
	.comm	_EL3_STATUS,8,3                 ; @EL3_STATUS
	.comm	_TX_FREE,8,3                    ; @TX_FREE
	.comm	_TxReset,4,2                    ; @TxReset
	.comm	_EL3_CMD,8,3                    ; @EL3_CMD
	.comm	_TxEnable,4,2                   ; @TxEnable
	.no_dead_strip	_el3_tx_timeout
.subsections_via_symbols
