	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_clear_tx_pending         ## -- Begin function ixgbe_clear_tx_pending
	.p2align	4, 0x90
_ixgbe_clear_tx_pending:                ## @ixgbe_clear_tx_pending
	.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	_IXGBE_FLAGS_DOUBLE_RESET_REQUIRED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	_IXGBE_HLREG0@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_IXGBE_READ_REG
	movl	%eax, %r14d
	movl	(%r12), %esi
	movq	_IXGBE_HLREG0_LPBK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	%r14d, %edx
	movq	%rbx, %rdi
	callq	_IXGBE_WRITE_REG
	movq	_IXGBE_GCR_EXT@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_IXGBE_READ_REG
	movl	%eax, %r15d
	movl	(%r13), %esi
	movq	_IXGBE_GCR_EXT_BUFFERS_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	%r15d, %edx
	movq	%rbx, %rdi
	callq	_IXGBE_WRITE_REG
	movq	%rbx, %rdi
	callq	_IXGBE_WRITE_FLUSH
	movl	$20, %edi
	callq	_udelay
	movl	(%r13), %esi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_IXGBE_WRITE_REG
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IXGBE_WRITE_REG                ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_FLAGS_DOUBLE_RESET_REQUIRED,4,2 ## @IXGBE_FLAGS_DOUBLE_RESET_REQUIRED
	.comm	_IXGBE_HLREG0,4,2               ## @IXGBE_HLREG0
	.comm	_IXGBE_HLREG0_LPBK,4,2          ## @IXGBE_HLREG0_LPBK
	.comm	_IXGBE_GCR_EXT,4,2              ## @IXGBE_GCR_EXT
	.comm	_IXGBE_GCR_EXT_BUFFERS_CLEAR,4,2 ## @IXGBE_GCR_EXT_BUFFERS_CLEAR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_clear_tx_pending         ; -- Begin function ixgbe_clear_tx_pending
	.p2align	2
_ixgbe_clear_tx_pending:                ; @ixgbe_clear_tx_pending
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _IXGBE_FLAGS_DOUBLE_RESET_REQUIRED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IXGBE_FLAGS_DOUBLE_RESET_REQUIRED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x22, _IXGBE_HLREG0@GOTPAGE
Lloh4:
	ldr	x22, [x22, _IXGBE_HLREG0@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_IXGBE_READ_REG
	mov	x20, x0
	ldr	w1, [x22]
Lloh5:
	adrp	x8, _IXGBE_HLREG0_LPBK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IXGBE_HLREG0_LPBK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	orr	w2, w8, w0
	mov	x0, x19
	bl	_IXGBE_WRITE_REG
Lloh8:
	adrp	x23, _IXGBE_GCR_EXT@GOTPAGE
Lloh9:
	ldr	x23, [x23, _IXGBE_GCR_EXT@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_IXGBE_READ_REG
	mov	x21, x0
	ldr	w1, [x23]
Lloh10:
	adrp	x8, _IXGBE_GCR_EXT_BUFFERS_CLEAR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IXGBE_GCR_EXT_BUFFERS_CLEAR@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	orr	w2, w8, w0
	mov	x0, x19
	bl	_IXGBE_WRITE_REG
	mov	x0, x19
	bl	_IXGBE_WRITE_FLUSH
	mov	w0, #20
	bl	_udelay
	ldr	w1, [x23]
	mov	x0, x19
	mov	x2, x21
	bl	_IXGBE_WRITE_REG
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, 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	_IXGBE_WRITE_REG
LBB0_2:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_FLAGS_DOUBLE_RESET_REQUIRED,4,2 ; @IXGBE_FLAGS_DOUBLE_RESET_REQUIRED
	.comm	_IXGBE_HLREG0,4,2               ; @IXGBE_HLREG0
	.comm	_IXGBE_HLREG0_LPBK,4,2          ; @IXGBE_HLREG0_LPBK
	.comm	_IXGBE_GCR_EXT,4,2              ; @IXGBE_GCR_EXT
	.comm	_IXGBE_GCR_EXT_BUFFERS_CLEAR,4,2 ; @IXGBE_GCR_EXT_BUFFERS_CLEAR
.subsections_via_symbols
