	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_check_tx_hang
_ixgbe_check_tx_hang:                   ## @ixgbe_check_tx_hang
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_ixgbe_get_tx_completed
	movq	%rax, %r14
	movq	8(%rbx), %r12
	movq	%rbx, %rdi
	callq	_ixgbe_get_tx_pending
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_clear_check_for_tx_hang
	cmpq	%r14, %r12
	jne	LBB0_2
## %bb.1:
	testq	%r15, %r15
	je	LBB0_2
## %bb.3:
	movq	___IXGBE_HANG_CHECK_ARMED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_test_and_set_bit               ## TAILCALL
LBB0_2:
	movq	%r14, 8(%rbx)
	movq	___IXGBE_HANG_CHECK_ARMED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_clear_bit
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___IXGBE_HANG_CHECK_ARMED,4,2   ## @__IXGBE_HANG_CHECK_ARMED
	.no_dead_strip	_ixgbe_check_tx_hang
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_check_tx_hang
_ixgbe_check_tx_hang:                   ; @ixgbe_check_tx_hang
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
	bl	_ixgbe_get_tx_completed
	mov	x20, x0
	ldr	x22, [x19, #8]
	mov	x0, x19
	bl	_ixgbe_get_tx_pending
	mov	x21, x0
	mov	x0, x19
	bl	_clear_check_for_tx_hang
	cmp	x22, x20
	ccmp	x21, #0, #4, eq
	b.ne	LBB0_2
; %bb.1:
	str	x20, [x19, #8]
Lloh0:
	adrp	x8, ___IXGBE_HANG_CHECK_ARMED@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___IXGBE_HANG_CHECK_ARMED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_clear_bit
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh3:
	adrp	x8, ___IXGBE_HANG_CHECK_ARMED@GOTPAGE
Lloh4:
	ldr	x8, [x8, ___IXGBE_HANG_CHECK_ARMED@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_test_and_set_bit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	___IXGBE_HANG_CHECK_ARMED,4,2   ; @__IXGBE_HANG_CHECK_ARMED
	.no_dead_strip	_ixgbe_check_tx_hang
.subsections_via_symbols
