	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sky2_tx_timeout
_sky2_tx_timeout:                       ## @sky2_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r15
	movq	16(%rax), %r14
	movq	_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_netif_err
	movq	_KERN_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	8(%r15), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	12(%r15), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpq	$0, (%r15)
	jne	LBB0_1
## %bb.2:
	movq	_STAT_TXA1_RIDX@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_STAT_TXA2_RIDX@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_sky2_read16
	movl	%eax, %r12d
	movq	_txqaddr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_Q_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_Q_ADDR
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_sky2_read16
	movl	%eax, (%rsp)
	leaq	L_.str.1(%rip), %rdx
	movl	%r13d, %edi
	movq	%rbx, %rsi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movl	%r12d, %r9d
	callq	_netdev_printk
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_schedule_work                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_timer,4,2                      ## @timer
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tx timeout\n"

	.comm	_KERN_DEBUG,4,2                 ## @KERN_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"transmit ring %u .. %u report=%u done=%u\n"

	.comm	_STAT_TXA1_RIDX,4,2             ## @STAT_TXA1_RIDX
	.comm	_STAT_TXA2_RIDX,4,2             ## @STAT_TXA2_RIDX
	.comm	_txqaddr,8,3                    ## @txqaddr
	.comm	_Q_DONE,4,2                     ## @Q_DONE
	.no_dead_strip	_sky2_tx_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sky2_tx_timeout
_sky2_tx_timeout:                       ; @sky2_tx_timeout
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	ldr	x21, [x0, #16]
Lloh0:
	adrp	x8, _timer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _timer@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	x2, x19
	bl	_netif_err
Lloh5:
	adrp	x8, _KERN_DEBUG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _KERN_DEBUG@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
	ldp	w24, w23, [x20, #8]
Lloh8:
	adrp	x8, _STAT_TXA1_RIDX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _STAT_TXA1_RIDX@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh10:
	adrp	x10, _STAT_TXA2_RIDX@GOTPAGE
Lloh11:
	ldr	x10, [x10, _STAT_TXA2_RIDX@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x8, x10, eq
	ldr	w1, [x8]
	mov	x0, x21
	bl	_sky2_read16
	mov	x25, x0
Lloh12:
	adrp	x8, _txqaddr@GOTPAGE
Lloh13:
	ldr	x8, [x8, _txqaddr@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	x9, [x20]
	ldr	w0, [x8, x9, lsl #2]
Lloh15:
	adrp	x8, _Q_DONE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _Q_DONE@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_Q_ADDR
	mov	x1, x0
	mov	x0, x21
	bl	_sky2_read16
	mov	x6, x0
Lloh18:
	adrp	x2, l_.str.1@PAGE
Lloh19:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x1, x19
	mov	x3, x23
	mov	x4, x24
	mov	x5, x25
	bl	_netdev_printk
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_schedule_work
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_timer,4,2                      ; @timer
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tx timeout\n"

	.comm	_KERN_DEBUG,4,2                 ; @KERN_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"transmit ring %u .. %u report=%u done=%u\n"

	.comm	_STAT_TXA1_RIDX,4,2             ; @STAT_TXA1_RIDX
	.comm	_STAT_TXA2_RIDX,4,2             ; @STAT_TXA2_RIDX
	.comm	_txqaddr,8,3                    ; @txqaddr
	.comm	_Q_DONE,4,2                     ; @Q_DONE
	.no_dead_strip	_sky2_tx_timeout
.subsections_via_symbols
