	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ll_temac_tx_irq
_ll_temac_tx_irq:                       ## @ll_temac_tx_irq
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_TX_IRQ_REG@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rax, %rdi
	callq	*(%rax)
	movl	%eax, %r15d
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	*16(%rbx)
	movq	_IRQ_COAL@GOTPCREL(%rip), %rax
	movq	_IRQ_DLY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%r15d, %ecx
	je	LBB0_2
## %bb.1:
	movl	8(%rbx), %edi
	callq	_temac_start_xmit_done
LBB0_2:
	movq	_IRQ_ERR@GOTPCREL(%rip), %rax
	movq	_IRQ_DMAERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%r15d, %ecx
	je	LBB0_4
## %bb.3:
	movq	_TX_CHNL_STS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	*(%rbx)
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_dev_err_ratelimited
LBB0_4:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TX_IRQ_REG,4,2                 ## @TX_IRQ_REG
	.comm	_IRQ_COAL,4,2                   ## @IRQ_COAL
	.comm	_IRQ_DLY,4,2                    ## @IRQ_DLY
	.comm	_IRQ_ERR,4,2                    ## @IRQ_ERR
	.comm	_IRQ_DMAERR,4,2                 ## @IRQ_DMAERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TX error 0x%x TX_CHNL_STS=0x%08x\n"

	.comm	_TX_CHNL_STS,4,2                ## @TX_CHNL_STS
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_ll_temac_tx_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ll_temac_tx_irq
_ll_temac_tx_irq:                       ; @ll_temac_tx_irq
	.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	x19, x1
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x22, _TX_IRQ_REG@GOTPAGE
Lloh1:
	ldr	x22, [x22, _TX_IRQ_REG@GOTPAGEOFF]
	ldr	w1, [x22]
	blr	x8
	mov	x21, x0
	ldr	x8, [x20, #16]
	ldr	w1, [x22]
	mov	x0, x20
	mov	x2, x21
	blr	x8
Lloh2:
	adrp	x8, _IRQ_COAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IRQ_COAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _IRQ_DLY@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IRQ_DLY@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w21
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x20, #8]
	bl	_temac_start_xmit_done
LBB0_2:
Lloh8:
	adrp	x8, _IRQ_ERR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IRQ_ERR@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _IRQ_DMAERR@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IRQ_DMAERR@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w21
	b.eq	LBB0_4
; %bb.3:
	ldr	x8, [x20]
Lloh14:
	adrp	x9, _TX_CHNL_STS@GOTPAGE
Lloh15:
	ldr	x9, [x9, _TX_CHNL_STS@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x9]
	mov	x0, x20
	blr	x8
	mov	x3, x0
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_dev_err_ratelimited
LBB0_4:
Lloh19:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh21:
	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
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_TX_IRQ_REG,4,2                 ; @TX_IRQ_REG
	.comm	_IRQ_COAL,4,2                   ; @IRQ_COAL
	.comm	_IRQ_DLY,4,2                    ; @IRQ_DLY
	.comm	_IRQ_ERR,4,2                    ; @IRQ_ERR
	.comm	_IRQ_DMAERR,4,2                 ; @IRQ_DMAERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TX error 0x%x TX_CHNL_STS=0x%08x\n"

	.comm	_TX_CHNL_STS,4,2                ; @TX_CHNL_STS
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_ll_temac_tx_irq
.subsections_via_symbols
