	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function macb_tx_interrupt
_macb_tx_interrupt:                     ## @macb_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	16(%rdi), %r14
	movslq	(%r14), %rax
	negq	%rax
	leaq	(%rax,%rax,2), %r13
	movq	_TSR@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_macb_readl
	movl	%eax, %ebx
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_macb_writel
	movq	_MACB_CAPS_ISR_CLEAR_ON_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r14)
	je	LBB0_2
## %bb.1:
	movq	_ISR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_TCOMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MACB_BIT
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_queue_writel
LBB0_2:
	leaq	(%r12,%r13,8), %r15
	movq	8(%r14), %rdi
	movslq	%ebx, %rdx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_vdbg
	movl	(%r12), %eax
	movl	4(%r12), %ebx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	%eax, %ebx
	je	LBB0_13
## %bb.3:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r14), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_macb_tx_ring_wrap
	movslq	%eax, %rdx
	movl	8(%r13), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_vdbg
	movq	8(%r14), %rax
	incl	4(%rax)
	incl	12(%r12)
	movl	(%r13), %ecx
	addl	%ecx, (%rax)
	addl	%ecx, 8(%r12)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_macb_tx_unmap
	incl	%ebx
	cmpl	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	je	LBB0_12
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_macb_tx_desc
	movq	%rax, %r13
	xorl	%eax, %eax
	callq	_rmb
	movl	(%r13), %r15d
	movq	_TX_USED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MACB_BIT
	testl	%r15d, %eax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_macb_tx_skb
	movq	%rax, %r15
	movq	(%rax), %r13
	testq	%r13, %r13
	jne	LBB0_8
## %bb.16:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_macb_tx_unmap
	incl	%ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	callq	_skb_shinfo
	movq	_SKBTX_HW_TSTAMP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	andl	(%rax), %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_gem_ptp_do_txstamp
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	$0, (%r15)
	jmp	LBB0_11
LBB0_5:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
LBB0_12:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
LBB0_13:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 4(%r12)
	movq	8(%r14), %rdi
	movq	%r15, %rsi
	callq	___netif_subqueue_stopped
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movl	(%r12), %edi
	movl	4(%r12), %esi
	movl	16(%r14), %edx
	callq	_CIRC_CNT
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_MACB_TX_WAKEUP_THRESH
	cmpq	%rax, %rbx
	jle	LBB0_17
LBB0_15:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	8(%r14), %rdi
	movq	%r15, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_wake_subqueue            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TSR,4,2                        ## @TSR
	.comm	_MACB_CAPS_ISR_CLEAR_ON_WRITE,4,2 ## @MACB_CAPS_ISR_CLEAR_ON_WRITE
	.comm	_ISR,4,2                        ## @ISR
	.comm	_TCOMP,4,2                      ## @TCOMP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"macb_tx_interrupt status = 0x%03lx\n"

	.comm	_TX_USED,4,2                    ## @TX_USED
	.comm	_SKBTX_HW_TSTAMP,4,2            ## @SKBTX_HW_TSTAMP
L_.str.1:                               ## @.str.1
	.asciz	"skb %u (data %p) TX complete\n"

	.no_dead_strip	_macb_tx_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function macb_tx_interrupt
_macb_tx_interrupt:                     ; @macb_tx_interrupt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x0
	ldr	x19, [x0, #16]
	ldrsw	x8, [x19]
	mov	w9, #24
	mneg	x8, x8, x9
	add	x24, x0, x8
Lloh0:
	adrp	x20, _TSR@GOTPAGE
Lloh1:
	ldr	x20, [x20, _TSR@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_macb_readl
	mov	x22, x0
	ldr	w1, [x20]
	mov	x0, x19
	mov	x2, x22
	bl	_macb_writel
	ldr	w8, [x19, #4]
Lloh2:
	adrp	x9, _MACB_CAPS_ISR_CLEAR_ON_WRITE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MACB_CAPS_ISR_CLEAR_ON_WRITE@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _ISR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ISR@GOTPAGEOFF]
Lloh7:
	ldr	w23, [x8]
Lloh8:
	adrp	x8, _TCOMP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TCOMP@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_MACB_BIT
	mov	x2, x0
	mov	x0, x21
	mov	x1, x23
	bl	_queue_writel
LBB0_2:
	ldr	x0, [x19, #8]
	sxtw	x2, w22
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_vdbg
	ldp	w27, w22, [x21]
	cmp	w22, w27
	b.eq	LBB0_13
; %bb.3:
	str	x24, [sp, #8]                   ; 8-byte Folded Spill
Lloh13:
	adrp	x28, _TX_USED@GOTPAGE
Lloh14:
	ldr	x28, [x28, _TX_USED@GOTPAGEOFF]
Lloh15:
	adrp	x20, _SKBTX_HW_TSTAMP@GOTPAGE
Lloh16:
	ldr	x20, [x20, _SKBTX_HW_TSTAMP@GOTPAGEOFF]
Lloh17:
	adrp	x23, l_.str.1@PAGE
Lloh18:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x25, [x19, #8]
	mov	x0, x19
	mov	x1, x22
	bl	_macb_tx_ring_wrap
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x2, w0
	ldr	w8, [x26, #8]
	str	x8, [sp]
	mov	x0, x25
	mov	x1, x23
	bl	_netdev_vdbg
	ldr	x8, [x19, #8]
	ldr	w9, [x21, #12]
	add	w9, w9, #1
	str	w9, [x21, #12]
	ldr	w9, [x26]
	movi.2s	v0, #1
	mov.s	v0[0], w9
	ldr	d1, [x8]
	add.2s	v0, v1, v0
	str	d0, [x8]
	ldr	w8, [x21, #8]
	add	w8, w8, w9
	str	w8, [x21, #8]
	mov	x0, x19
	mov	x1, x24
	bl	_macb_tx_unmap
	add	w22, w22, #1
	cmp	w22, w27
	b.eq	LBB0_12
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	mov	x0, x21
	mov	x1, x22
	bl	_macb_tx_desc
	mov	x25, x0
	bl	_rmb
	ldr	w24, [x25]
	ldr	w0, [x28]
	bl	_MACB_BIT
	tst	w0, w24
	b.eq	LBB0_11
LBB0_6:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x21
	mov	x1, x22
	bl	_macb_tx_skb
	mov	x24, x0
	ldr	x26, [x0]
	cbnz	x26, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	x0, x19
	mov	x1, x24
	bl	_macb_tx_unmap
	add	w22, w22, #1
	b	LBB0_6
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x26
	bl	_skb_shinfo
	ldr	w8, [x0]
	ldr	w9, [x20]
	and	w0, w9, w8
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x26
	mov	x2, x25
	bl	_gem_ptp_do_txstamp
	cbnz	x0, LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	str	xzr, [x24]
	b	LBB0_4
LBB0_11:
	mov	x27, x22
LBB0_12:
	ldr	x24, [sp, #8]                   ; 8-byte Folded Reload
LBB0_13:
	str	w27, [x21, #4]
	ldr	x0, [x19, #8]
	mov	x1, x24
	bl	___netif_subqueue_stopped
	cbz	x0, LBB0_15
; %bb.14:
	ldp	w0, w1, [x21]
	ldr	w2, [x19, #16]
	bl	_CIRC_CNT
	mov	x21, x0
	mov	x0, x19
	bl	_MACB_TX_WAKEUP_THRESH
	cmp	x21, x0
	b.le	LBB0_16
LBB0_15:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_16:
	ldr	x0, [x19, #8]
	mov	x1, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_netif_wake_subqueue
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_TSR,4,2                        ; @TSR
	.comm	_MACB_CAPS_ISR_CLEAR_ON_WRITE,4,2 ; @MACB_CAPS_ISR_CLEAR_ON_WRITE
	.comm	_ISR,4,2                        ; @ISR
	.comm	_TCOMP,4,2                      ; @TCOMP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"macb_tx_interrupt status = 0x%03lx\n"

	.comm	_TX_USED,4,2                    ; @TX_USED
	.comm	_SKBTX_HW_TSTAMP,4,2            ; @SKBTX_HW_TSTAMP
l_.str.1:                               ; @.str.1
	.asciz	"skb %u (data %p) TX complete\n"

	.no_dead_strip	_macb_tx_interrupt
.subsections_via_symbols
