	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_watchdog_flush_tx
_fm10k_watchdog_flush_tx:               ## @fm10k_watchdog_flush_tx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	callq	_netif_carrier_ok
	testq	%rax, %rax
	je	LBB0_1
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movl	(%rbx), %r8d
	testl	%r8d, %r8d
	jle	LBB0_7
## %bb.2:
	movq	8(%rbx), %rcx
	movq	(%rcx), %rdx
	movq	(%rdx), %rsi
	cmpq	8(%rdx), %rsi
	jne	LBB0_8
## %bb.3:
	leaq	-1(%r8), %rsi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdx, %rsi
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rcx,%rdx,8), %rdi
	movq	(%rdi), %rax
	incq	%rdx
	cmpq	8(%rdi), %rax
	je	LBB0_4
## %bb.6:
	cmpq	%r8, %rdx
	jae	LBB0_7
LBB0_8:
	movq	_FM10K_FLAG_RESET_REQUESTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_set_bit                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FM10K_FLAG_RESET_REQUESTED,4,2 ## @FM10K_FLAG_RESET_REQUESTED
	.no_dead_strip	_fm10k_watchdog_flush_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fm10k_watchdog_flush_tx
_fm10k_watchdog_flush_tx:               ; @fm10k_watchdog_flush_tx
	.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
	mov	x19, x0
	ldr	w0, [x0, #16]
	bl	_netif_carrier_ok
	cbz	x0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_1
; %bb.3:
	ldr	x10, [x19, #8]
	ldr	x9, [x10]
	ldp	x11, x9, [x9]
	cmp	x11, x9
	b.ne	LBB0_8
; %bb.4:
	mov	x9, #0
	add	x10, x10, #8
	sub	x11, x8, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x11, x9
	b.eq	LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x12, [x10, x9, lsl #3]
	ldp	x13, x12, [x12]
	add	x9, x9, #1
	cmp	x13, x12
	b.eq	LBB0_5
; %bb.7:
	cmp	x9, x8
	b.hs	LBB0_1
LBB0_8:
Lloh0:
	adrp	x8, _FM10K_FLAG_RESET_REQUESTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FM10K_FLAG_RESET_REQUESTED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x19, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_set_bit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FM10K_FLAG_RESET_REQUESTED,4,2 ; @FM10K_FLAG_RESET_REQUESTED
	.no_dead_strip	_fm10k_watchdog_flush_tx
.subsections_via_symbols
