	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_ptp_tx_hang              ## -- Begin function ixgbe_ptp_tx_hang
	.p2align	4, 0x90
_ixgbe_ptp_tx_hang:                     ## @ixgbe_ptp_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_IXGBE_PTP_TX_TIMEOUT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	16(%rbx), %rdi
	callq	_time_is_before_jiffies
	cmpl	$0, 12(%rbx)
	je	LBB0_3
## %bb.1:
	movl	%eax, %r14d
	movq	___IXGBE_PTP_TX_IN_PROGRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.4:
	leaq	4(%rbx), %rdi
	callq	_cancel_work_sync
	movq	%rbx, %rdi
	callq	_ixgbe_ptp_clear_tx_timestamp
	incl	(%rbx)
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_e_warn                         ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_PTP_TX_TIMEOUT,8,3       ## @IXGBE_PTP_TX_TIMEOUT
	.comm	___IXGBE_PTP_TX_IN_PROGRESS,4,2 ## @__IXGBE_PTP_TX_IN_PROGRESS
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"clearing Tx timestamp hang\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_ptp_tx_hang              ; -- Begin function ixgbe_ptp_tx_hang
	.p2align	2
_ixgbe_ptp_tx_hang:                     ; @ixgbe_ptp_tx_hang
	.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	x8, [x0, #16]
Lloh0:
	adrp	x9, _IXGBE_PTP_TX_TIMEOUT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IXGBE_PTP_TX_TIMEOUT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_time_is_before_jiffies
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x8, ___IXGBE_PTP_TX_IN_PROGRESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, ___IXGBE_PTP_TX_IN_PROGRESS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_test_bit
	cmp	w0, #0
	ccmp	w20, #0, #4, ne
	b.ne	LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	add	x0, x19, #4
	bl	_cancel_work_sync
	mov	x0, x19
	bl	_ixgbe_ptp_clear_tx_timestamp
	ldr	w8, [x19]
	add	w8, w8, #1
Lloh6:
	adrp	x9, _drv@GOTPAGE
Lloh7:
	ldr	x9, [x9, _drv@GOTPAGEOFF]
	str	w8, [x19]
Lloh8:
	ldr	w0, [x9]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_e_warn
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_PTP_TX_TIMEOUT,8,3       ; @IXGBE_PTP_TX_TIMEOUT
	.comm	___IXGBE_PTP_TX_IN_PROGRESS,4,2 ; @__IXGBE_PTP_TX_IN_PROGRESS
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"clearing Tx timestamp hang\n"

.subsections_via_symbols
