	.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, %r15
	movq	_TX_IRQ_REG@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rax, %rdi
	callq	_temac_dma_in32
	movl	%eax, %ebx
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_temac_dma_out32
	movq	_IRQ_COAL@GOTPCREL(%rip), %rax
	movq	_IRQ_DLY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ebx, %ecx
	je	LBB0_2
## %bb.1:
	movl	(%r15), %edi
	callq	_temac_start_xmit_done
LBB0_2:
	testb	$-128, %bl
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_dev_err
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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DMA error 0x%x\n"

	.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	x21, x0
Lloh0:
	adrp	x22, _TX_IRQ_REG@GOTPAGE
Lloh1:
	ldr	x22, [x22, _TX_IRQ_REG@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_temac_dma_in32
	mov	x20, x0
	ldr	w1, [x22]
	mov	x0, x21
	mov	x2, x20
	bl	_temac_dma_out32
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, w20
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x21]
	bl	_temac_start_xmit_done
LBB0_2:
	tbz	w20, #7, LBB0_4
; %bb.3:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_dev_err
LBB0_4:
Lloh10:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh12:
	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 AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.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
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DMA error 0x%x\n"

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