	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xlgmac_tx_timer
_xlgmac_tx_timer:                       ## @xlgmac_tx_timer
	.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	_tx_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_from_timer
	movq	%rax, %r14
	movq	16(%rax), %r15
	addq	$12, %rax
	leaq	16(%r15), %rbx
	cmpq	$0, 8(%r15)
	cmovneq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_napi_schedule_prep
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	cmpq	$0, 8(%r15)
	je	LBB0_3
## %bb.2:
	movl	8(%r14), %edi
	callq	_disable_irq_nosync
	jmp	LBB0_4
LBB0_3:
	movq	%r15, %rdi
	callq	_xlgmac_disable_rx_tx_ints
LBB0_4:
	incl	(%r15)
	movq	%rbx, %rdi
	callq	___napi_schedule
LBB0_5:
	movq	$0, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tx_timer,4,2                   ## @tx_timer
	.comm	_channel,8,3                    ## @channel
	.no_dead_strip	_xlgmac_tx_timer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xlgmac_tx_timer
_xlgmac_tx_timer:                       ; @xlgmac_tx_timer
	.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
Lloh0:
	adrp	x8, _tx_timer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tx_timer@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_from_timer
	mov	x19, x0
	ldr	x20, [x0, #16]
	ldr	x8, [x20, #8]
	add	x9, x0, #12
	add	x10, x20, #16
	cmp	x8, #0
	csel	x21, x10, x9, eq
	mov	x0, x21
	bl	_napi_schedule_prep
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w0, [x19, #8]
	bl	_disable_irq_nosync
	b	LBB0_4
LBB0_3:
	mov	x0, x20
	bl	_xlgmac_disable_rx_tx_ints
LBB0_4:
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	mov	x0, x21
	bl	___napi_schedule
LBB0_5:
	str	xzr, [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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_tx_timer,4,2                   ; @tx_timer
	.comm	_channel,8,3                    ; @channel
	.no_dead_strip	_xlgmac_tx_timer
.subsections_via_symbols
