	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qtnf_netdev_tx_timeout
_qtnf_netdev_tx_timeout:                ## @qtnf_netdev_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_qtnf_netdev_get_priv
	movq	%rax, %rbx
	movl	$1, %edi
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	cmpq	$0, 8(%rax)
	sete	%dil
LBB0_3:
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	16(%rbx), %rax
	movq	8(%rax), %r15
	movl	(%rax), %esi
	movl	12(%rbx), %edx
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rdi
	callq	_pr_warn
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_qtnf_bus_data_tx_timeout
	incl	(%r14)
	movq	(%rbx), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, (%rbx)
	movq	_QTNF_TX_TIMEOUT_TRSHLD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_6
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	movq	%r14, %rdi
	callq	_netdev_name
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_err
	movl	(%r15), %edi
	addq	$8, %rbx
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_queue_work                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VIF%u.%u: Tx timeout- %lu\n"

	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_QTNF_TX_TIMEOUT_TRSHLD,8,3     ## @QTNF_TX_TIMEOUT_TRSHLD
L_.str.1:                               ## @.str.1
	.asciz	"Tx timeout threshold exceeded !\n"

L_.str.2:                               ## @.str.2
	.asciz	"schedule interface %s reset !\n"

	.no_dead_strip	_qtnf_netdev_tx_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qtnf_netdev_tx_timeout
_qtnf_netdev_tx_timeout:                ; @qtnf_netdev_tx_timeout
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x0
	bl	_qtnf_netdev_get_priv
	mov	x19, x0
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x8, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_5
	b	LBB0_4
LBB0_3:
	mov	w0, #1
	bl	_unlikely
	cbnz	x0, LBB0_5
LBB0_4:
	ldr	x8, [x19, #16]
	ldr	x21, [x8, #8]
	ldr	w1, [x8]
	ldr	w2, [x19, #12]
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_warn
	mov	x0, x21
	mov	x1, x20
	bl	_qtnf_bus_data_tx_timeout
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	ldr	x8, [x19]
	add	x9, x8, #1
	str	x9, [x19]
Lloh5:
	adrp	x9, _QTNF_TX_TIMEOUT_TRSHLD@GOTPAGE
Lloh6:
	ldr	x9, [x9, _QTNF_TX_TIMEOUT_TRSHLD@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_6
LBB0_5:
	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
	add	sp, sp, #64
	ret
LBB0_6:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
	mov	x0, x20
	bl	_netdev_name
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_err
	ldr	w0, [x21]
	add	x1, x19, #8
	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
	add	sp, sp, #64
	b	_queue_work
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VIF%u.%u: Tx timeout- %lu\n"

	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_QTNF_TX_TIMEOUT_TRSHLD,8,3     ; @QTNF_TX_TIMEOUT_TRSHLD
l_.str.1:                               ; @.str.1
	.asciz	"Tx timeout threshold exceeded !\n"

l_.str.2:                               ; @.str.2
	.asciz	"schedule interface %s reset !\n"

	.no_dead_strip	_qtnf_netdev_tx_timeout
.subsections_via_symbols
