	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sxgbe_tx_interrupt
_sxgbe_tx_interrupt:                    ## @sxgbe_tx_interrupt
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	8(%rsi), %rbx
	movq	16(%rbx), %rax
	movq	8(%rax), %rax
	movl	8(%rbx), %edi
	movl	(%rsi), %esi
	leaq	4(%rbx), %rdx
	callq	*(%rax)
	movl	%eax, %r15d
	movq	_handle_tx@GOTPCREL(%rip), %rax
	movl	%r15d, %edi
	andl	(%rax), %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	24(%rbx), %rdi
	callq	_napi_schedule
LBB0_2:
	movq	_tx_hard_error@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%r15d, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_sxgbe_restart_tx_queue
LBB0_4:
	movq	_tx_bump_tc@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	testl	%r15d, (%rax)
	je	LBB0_7
## %bb.5:
	movl	(%rbx), %eax
	movq	_SXGBE_MTL_SFMODE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_7
## %bb.6:
	xorl	%edi, %edi
	cmpl	$512, %eax                      ## imm = 0x200
	setl	%dil
LBB0_7:
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	(%rbx), %eax
	movl	8(%rbx), %edi
	xorl	%ecx, %ecx
	cmpl	$127, %eax
	setg	%cl
	shll	$5, %ecx
	leal	(%rcx,%rax), %edx
	addl	$32, %edx
	movl	%edx, (%rbx)
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	movl	(%r14), %esi
	callq	*(%rax)
	movl	(%rbx), %eax
	movl	%eax, 4(%rbx)
LBB0_9:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_handle_tx,4,2                  ## @handle_tx
	.comm	_tx_hard_error,4,2              ## @tx_hard_error
	.comm	_tx_bump_tc,4,2                 ## @tx_bump_tc
	.comm	_SXGBE_MTL_SFMODE,4,2           ## @SXGBE_MTL_SFMODE
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_sxgbe_tx_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sxgbe_tx_interrupt
_sxgbe_tx_interrupt:                    ; @sxgbe_tx_interrupt
	.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	x20, x1
	ldr	x19, [x1, #8]
	ldr	x8, [x19, #16]
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
	ldr	w0, [x19, #8]
	ldr	w1, [x1]
	add	x2, x19, #4
	blr	x8
	mov	x21, x0
Lloh0:
	adrp	x8, _handle_tx@GOTPAGE
Lloh1:
	ldr	x8, [x8, _handle_tx@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w0, w8, w0
	bl	_likely
	cbz	x0, LBB0_2
; %bb.1:
	add	x0, x19, #24
	bl	_napi_schedule
LBB0_2:
Lloh3:
	adrp	x8, _tx_hard_error@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tx_hard_error@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w0, w8, w21
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_sxgbe_restart_tx_queue
LBB0_4:
Lloh6:
	adrp	x8, _tx_bump_tc@GOTPAGE
Lloh7:
	ldr	x8, [x8, _tx_bump_tc@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_8
; %bb.5:
Lloh9:
	adrp	x8, _SXGBE_MTL_SFMODE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SXGBE_MTL_SFMODE@GOTPAGEOFF]
	ldr	w9, [x19]
Lloh11:
	ldr	w8, [x8]
	cmp	w9, #512
	cset	w10, lt
	cmp	w9, w8
	csel	w0, wzr, w10, eq
	bl	_unlikely
	cbz	x0, LBB0_7
LBB0_6:
	ldr	w8, [x19]
	mov	w9, #64
	mov	w10, #32
	cmp	w8, #128
	csel	w9, w10, w9, lt
	add	w2, w9, w8
	str	w2, [x19]
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w0, [x19, #8]
	ldr	w1, [x20]
	blr	x8
	ldr	w8, [x19]
	str	w8, [x19, #4]
LBB0_7:
Lloh12:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	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_8:
	mov	w0, #0
	bl	_unlikely
	cbnz	x0, LBB0_6
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_handle_tx,4,2                  ; @handle_tx
	.comm	_tx_hard_error,4,2              ; @tx_hard_error
	.comm	_tx_bump_tc,4,2                 ; @tx_bump_tc
	.comm	_SXGBE_MTL_SFMODE,4,2           ; @SXGBE_MTL_SFMODE
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_sxgbe_tx_interrupt
.subsections_via_symbols
