	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sge_tx_timer_cb
_sge_tx_timer_cb:                       ## @sge_tx_timer_cb
	.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	%rdi, %r14
	movq	(%rdi), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	xorl	%r12d, %r12d
	movq	_BITS_PER_LONG@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	cmpq	%rax, %r12
	jae	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	(%r14), %rdi
	movq	(%rdi,%r12,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	callq	___ffs
	movl	(%r13), %edi
	imull	%r12d, %edi
	addl	%eax, %edi
	movq	(%r14), %rsi
	movq	32(%r14), %rax
	movq	(%rax,%rdi,8), %r15
	callq	_clear_bit
	movq	%r15, %rdi
	callq	_tasklet_schedule
	leaq	-1(%rbx), %rax
	andq	%rax, %rbx
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rdi
	jmp	LBB0_5
LBB0_6:
	movq	_MAX_TIMER_TX_RECLAIM@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	8(%r14), %r12d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r14), %r15
	movl	%r12d, %r12d
	movq	%r12, %rbx
	shlq	$4, %rbx
	cmpq	$0, 8(%r15,%rbx)
	je	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	(%r15,%rbx), %rax
	movq	_HZ@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	imulq	$1374389535, %rcx, %rcx         ## imm = 0x51EB851F
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$37, %rcx
	addl	%edx, %ecx
	movslq	%ecx, %rsi
	addq	(%rax), %rsi
	callq	_time_after_eq
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	leaq	(%r15,%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rdi
	callq	___netif_tx_trylock
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	addq	%rbx, %r15
	addq	$8, %r15
	movq	%r15, %rdi
	callq	_reclaimable
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	%eax, %ebx
	cmpl	%r13d, %eax
	cmovael	%r13d, %ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	movl	$1, %ecx
	callq	_free_tx_desc
	movslq	%ebx, %rax
	subq	%rax, (%r15)
	subl	%eax, %r13d
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	callq	___netif_tx_unlock
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	incl	%r12d
	cmpl	12(%r14), %r12d
	movl	$0, %eax
	cmovael	%eax, %r12d
	testl	%r13d, %r13d
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpl	8(%r14), %r12d
	jne	LBB0_7
LBB0_15:
	leaq	16(%r14), %rdi
	movl	%r12d, 8(%r14)
	movl	$2, %eax
	testl	%r13d, %r13d
	je	LBB0_17
## %bb.16:
	movq	_TX_QCHECK_PERIOD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_17:
	movslq	%eax, %rsi
	movq	_jiffies@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mod_timer                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BITS_PER_LONG,4,2              ## @BITS_PER_LONG
	.comm	_MAX_TIMER_TX_RECLAIM,4,2       ## @MAX_TIMER_TX_RECLAIM
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.comm	_TX_QCHECK_PERIOD,4,2           ## @TX_QCHECK_PERIOD
	.no_dead_strip	_sge_tx_timer_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sge_tx_timer_cb
_sge_tx_timer_cb:                       ; @sge_tx_timer_cb
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x0, [x0]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_6
; %bb.1:
	mov	x22, #0
Lloh0:
	adrp	x23, _BITS_PER_LONG@GOTPAGE
Lloh1:
	ldr	x23, [x23, _BITS_PER_LONG@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	bl	_ARRAY_SIZE
	cmp	x22, w0, uxtw
	b.hs	LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldr	x0, [x19]
	ldr	x20, [x0, x22, lsl #3]
	cbz	x20, LBB0_2
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	bl	___ffs
	ldr	w8, [x23]
	madd	w0, w8, w22, w0
	ldr	x8, [x19, #32]
	ldr	x21, [x8, w0, uxtw #3]
	ldr	x1, [x19]
	bl	_clear_bit
	mov	x0, x21
	bl	_tasklet_schedule
	sub	x8, x20, #1
	ands	x20, x8, x20
	b.ne	LBB0_4
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x19]
	b	LBB0_2
LBB0_6:
Lloh2:
	adrp	x8, _MAX_TIMER_TX_RECLAIM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MAX_TIMER_TX_RECLAIM@GOTPAGEOFF]
Lloh4:
	ldr	w22, [x8]
	ldr	w8, [x19, #8]
Lloh5:
	adrp	x23, _jiffies@GOTPAGE
Lloh6:
	ldr	x23, [x23, _jiffies@GOTPAGEOFF]
Lloh7:
	adrp	x24, _HZ@GOTPAGE
Lloh8:
	ldr	x24, [x24, _HZ@GOTPAGEOFF]
	mov	w25, #34079
	movk	w25, #20971, lsl #16
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #24]
	mov	w26, w8
	add	x20, x9, w8, uxtw #4
	ldr	x8, [x20, #8]!
	cbz	x8, LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x23]
	add	x27, x9, x26, lsl #4
	ldr	x8, [x27]
	ldr	x8, [x8]
	ldrsw	x9, [x24]
	mul	x9, x9, x25
	lsr	x10, x9, #63
	asr	x9, x9, #37
	add	w9, w9, w10
	add	x1, x8, w9, sxtw
	bl	_time_after_eq
	cbz	x0, LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x27]
	bl	___netif_tx_trylock
	cbz	x0, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	bl	_reclaimable
	cbz	w0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	w0, w22
	csel	w21, w0, w22, lo
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	w3, #1
	bl	_free_tx_desc
	ldr	x8, [x20]
	sub	x8, x8, w21, sxtw
	str	x8, [x20]
	sub	w22, w22, w21
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x27]
	bl	___netif_tx_unlock
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	add	w8, w26, #1
	ldr	w9, [x19, #12]
	cmp	w8, w9
	csinc	w8, wzr, w26, hs
	cbz	w22, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w9, [x19, #8]
	cmp	w8, w9
	b.ne	LBB0_7
LBB0_15:
	str	w8, [x19, #8]
	add	x0, x19, #16
	ldr	x8, [x23]
Lloh9:
	adrp	x9, _TX_QCHECK_PERIOD@GOTPAGE
Lloh10:
	ldr	x9, [x9, _TX_QCHECK_PERIOD@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	mov	w10, #2
	cmp	w22, #0
	csel	w9, w10, w9, eq
	add	x1, x8, w9, sxtw
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_mod_timer
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_BITS_PER_LONG,4,2              ; @BITS_PER_LONG
	.comm	_MAX_TIMER_TX_RECLAIM,4,2       ; @MAX_TIMER_TX_RECLAIM
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.comm	_TX_QCHECK_PERIOD,4,2           ; @TX_QCHECK_PERIOD
	.no_dead_strip	_sge_tx_timer_cb
.subsections_via_symbols
