	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_tx_timeout
_fm10k_tx_timeout:                      ## @fm10k_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, %rbx
	callq	_netdev_priv
	movq	%rax, %r15
	cmpl	$0, (%rax)
	jle	LBB0_6
## %bb.1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movl	$1, %r13d
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %r12
	movq	%r12, %rdi
	callq	_check_for_tx_hang
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_fm10k_check_tx_hang
	testq	%rax, %rax
	cmovnel	%r13d, %r14d
	jmp	LBB0_4
LBB0_5:
	testl	%r14d, %r14d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_6
## %bb.9:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fm10k_tx_timeout_reset         ## TAILCALL
LBB0_6:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %eax
	movq	_HZ@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	movq	%rbx, %rdx
	movl	%eax, %r8d
	callq	_netif_info
	movl	(%rbx), %eax
	cmpl	$15999, %eax                    ## imm = 0x3E7F
	jg	LBB0_8
## %bb.7:
	addl	%eax, %eax
	movl	%eax, (%rbx)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Fake Tx hang detected with timeout of %d seconds\n"

	.comm	_HZ,4,2                         ## @HZ
	.comm	_TX_TIMEO_LIMIT,4,2             ## @TX_TIMEO_LIMIT
	.no_dead_strip	_fm10k_tx_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fm10k_tx_timeout
_fm10k_tx_timeout:                      ; @fm10k_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
	bl	_netdev_priv
	mov	x20, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x23, #0
	mov	w22, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x20]
	cmp	x23, x8
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x21, [x8, x23, lsl #3]
	mov	x0, x21
	bl	_check_for_tx_hang
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_fm10k_check_tx_hang
	cmp	x0, #0
	csinc	w22, w22, wzr, eq
	b	LBB0_2
LBB0_5:
	cbz	w22, LBB0_7
; %bb.6:
	mov	x0, x20
	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	_fm10k_tx_timeout_reset
LBB0_7:
Lloh0:
	adrp	x8, _drv@GOTPAGE
Lloh1:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _HZ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	sdiv	w4, w8, w9
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_netif_info
	ldr	w8, [x19]
	mov	w9, #15999
	cmp	w8, w9
	b.gt	LBB0_9
; %bb.8:
	lsl	w8, w8, #1
	str	w8, [x19]
LBB0_9:
	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
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Fake Tx hang detected with timeout of %d seconds\n"

	.comm	_HZ,4,2                         ; @HZ
	.comm	_TX_TIMEO_LIMIT,4,2             ; @TX_TIMEO_LIMIT
	.no_dead_strip	_fm10k_tx_timeout
.subsections_via_symbols
