	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ftgmac100_interrupt
_ftgmac100_interrupt:                   ## @ftgmac100_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r12
	movq	_FTGMAC100_INT_BAD@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_FTGMAC100_OFFSET_ISR@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	addq	8(%r12), %rdi
	callq	_ioread32
	movl	%eax, %ebx
	movq	(%r15), %rsi
	addq	8(%r12), %rsi
	movl	%eax, %edi
	callq	_iowrite32
	movl	(%r13), %edi
	andl	%ebx, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_FTGMAC100_INT_NO_RXBUF@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	incl	8(%r14)
LBB0_4:
	movq	_FTGMAC100_INT_RPKT_LOST@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.5:
	incl	4(%r14)
LBB0_6:
	movq	_FTGMAC100_INT_XPKT_LOST@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_8
## %bb.7:
	incl	(%r14)
LBB0_8:
	movq	_FTGMAC100_INT_AHB_ERR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_12
## %bb.9:
	xorl	%eax, %eax
	callq	_net_ratelimit
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_netdev_warn
LBB0_11:
	movq	_FTGMAC100_OFFSET_IER@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r12), %rsi
	xorl	%edi, %edi
	callq	_iowrite32
	addq	$16, %r12
	movq	%r12, %rdi
	callq	_schedule_work
	jmp	LBB0_14
LBB0_1:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	jmp	LBB0_13
LBB0_12:
	movl	$1, (%r12)
	notl	%ebx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	andl	%ebx, %edi
LBB0_13:
	movq	_FTGMAC100_OFFSET_IER@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r12), %rsi
	callq	_iowrite32
	addq	$4, %r12
	movq	%r12, %rdi
	callq	_napi_schedule_irqoff
LBB0_14:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FTGMAC100_INT_BAD,4,2          ## @FTGMAC100_INT_BAD
	.comm	_FTGMAC100_OFFSET_ISR,8,3       ## @FTGMAC100_OFFSET_ISR
	.comm	_FTGMAC100_INT_NO_RXBUF,4,2     ## @FTGMAC100_INT_NO_RXBUF
	.comm	_FTGMAC100_INT_RPKT_LOST,4,2    ## @FTGMAC100_INT_RPKT_LOST
	.comm	_FTGMAC100_INT_XPKT_LOST,4,2    ## @FTGMAC100_INT_XPKT_LOST
	.comm	_FTGMAC100_INT_AHB_ERR,4,2      ## @FTGMAC100_INT_AHB_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AHB bus error ! Resetting chip.\n"

	.comm	_FTGMAC100_OFFSET_IER,8,3       ## @FTGMAC100_OFFSET_IER
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_ftgmac100_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ftgmac100_interrupt
_ftgmac100_interrupt:                   ; @ftgmac100_interrupt
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x0, x1
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x23, _FTGMAC100_INT_BAD@GOTPAGE
Lloh1:
	ldr	x23, [x23, _FTGMAC100_INT_BAD@GOTPAGEOFF]
	ldr	w21, [x23]
	ldr	x8, [x0, #8]
Lloh2:
	adrp	x24, _FTGMAC100_OFFSET_ISR@GOTPAGE
Lloh3:
	ldr	x24, [x24, _FTGMAC100_OFFSET_ISR@GOTPAGEOFF]
	ldr	x9, [x24]
	add	x0, x9, x8
	bl	_ioread32
	mov	x22, x0
	ldr	x8, [x19, #8]
	ldr	x9, [x24]
	add	x1, x9, x8
	bl	_iowrite32
	ldr	w8, [x23]
	and	w0, w8, w22
	bl	_unlikely
	cbz	x0, LBB0_12
; %bb.1:
Lloh4:
	adrp	x8, _FTGMAC100_INT_NO_RXBUF@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FTGMAC100_INT_NO_RXBUF@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_3
; %bb.2:
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
LBB0_3:
Lloh7:
	adrp	x8, _FTGMAC100_INT_RPKT_LOST@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FTGMAC100_INT_RPKT_LOST@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_5
; %bb.4:
	ldr	w8, [x20, #4]
	add	w8, w8, #1
	str	w8, [x20, #4]
LBB0_5:
Lloh10:
	adrp	x8, _FTGMAC100_INT_XPKT_LOST@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FTGMAC100_INT_XPKT_LOST@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_7
; %bb.6:
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
LBB0_7:
Lloh13:
	adrp	x8, _FTGMAC100_INT_AHB_ERR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FTGMAC100_INT_AHB_ERR@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_11
; %bb.8:
	bl	_net_ratelimit
	cbz	x0, LBB0_10
; %bb.9:
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_netdev_warn
LBB0_10:
	ldr	x8, [x19, #8]
Lloh18:
	adrp	x9, _FTGMAC100_OFFSET_IER@GOTPAGE
Lloh19:
	ldr	x9, [x9, _FTGMAC100_OFFSET_IER@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_iowrite32
	add	x0, x19, #16
	bl	_schedule_work
	b	LBB0_13
LBB0_11:
	mov	w8, #1
	str	w8, [x19]
	bic	w21, w21, w22
LBB0_12:
	ldr	x8, [x19, #8]
Lloh21:
	adrp	x9, _FTGMAC100_OFFSET_IER@GOTPAGE
Lloh22:
	ldr	x9, [x9, _FTGMAC100_OFFSET_IER@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x21
	bl	_iowrite32
	add	x0, x19, #4
	bl	_napi_schedule_irqoff
LBB0_13:
Lloh24:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_FTGMAC100_INT_BAD,4,2          ; @FTGMAC100_INT_BAD
	.comm	_FTGMAC100_OFFSET_ISR,8,3       ; @FTGMAC100_OFFSET_ISR
	.comm	_FTGMAC100_INT_NO_RXBUF,4,2     ; @FTGMAC100_INT_NO_RXBUF
	.comm	_FTGMAC100_INT_RPKT_LOST,4,2    ; @FTGMAC100_INT_RPKT_LOST
	.comm	_FTGMAC100_INT_XPKT_LOST,4,2    ; @FTGMAC100_INT_XPKT_LOST
	.comm	_FTGMAC100_INT_AHB_ERR,4,2      ; @FTGMAC100_INT_AHB_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AHB bus error ! Resetting chip.\n"

	.comm	_FTGMAC100_OFFSET_IER,8,3       ; @FTGMAC100_OFFSET_IER
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_ftgmac100_interrupt
.subsections_via_symbols
