	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function am79c961_interrupt
_am79c961_interrupt:                    ## @am79c961_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	%rsi, %rdi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	callq	_netdev_priv
	movq	%rax, %r14
	xorl	%edi, %edi
	movl	$-100, %ecx
	movq	_CSR0_TINT@GOTPCREL(%rip), %rbx
	movq	_CSR0_RINT@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %edi
	movq	_CSR0@GOTPCREL(%rip), %rax
	movq	%rcx, %r13
	movl	(%rax), %esi
	callq	_read_rreg
	movl	%eax, %r12d
	movl	(%r13), %edi
	movl	(%rbx), %edx
	movq	_CSR0_IENA@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	orl	(%r15), %edx
	movq	_CSR0_MERR@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_CSR0_MISS@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_CSR0_CERR@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_CSR0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CSR0_BABL@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	andl	%r12d, %edx
	callq	_write_rreg
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	testl	%r12d, (%r15)
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_am79c961_rx
	movl	$1, %edi
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_CSR0_TINT@GOTPCREL(%rip), %rbx
	testl	%r12d, (%rbx)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_am79c961_tx
	movl	$1, %edi
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_CSR0_MISS@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	incl	4(%r14)
	movl	$1, %edi
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_CSR0_CERR@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_mod_timer
	movl	$1, %edi
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	incl	%ecx
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rbx), %eax
	orl	(%r15), %eax
	testl	%r12d, %eax
	jne	LBB0_1
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IRQ_RETVAL                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CSR0,4,2                       ## @CSR0
	.comm	_CSR0_IENA,4,2                  ## @CSR0_IENA
	.comm	_CSR0_TINT,4,2                  ## @CSR0_TINT
	.comm	_CSR0_RINT,4,2                  ## @CSR0_RINT
	.comm	_CSR0_MERR,4,2                  ## @CSR0_MERR
	.comm	_CSR0_MISS,4,2                  ## @CSR0_MISS
	.comm	_CSR0_CERR,4,2                  ## @CSR0_CERR
	.comm	_CSR0_BABL,4,2                  ## @CSR0_BABL
	.comm	_jiffies,4,2                    ## @jiffies
	.no_dead_strip	_am79c961_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function am79c961_interrupt
_am79c961_interrupt:                    ; @am79c961_interrupt
	.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, x1
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
	mov	w21, #0
	mov	w23, #-100
Lloh0:
	adrp	x24, _CSR0@GOTPAGE
Lloh1:
	ldr	x24, [x24, _CSR0@GOTPAGEOFF]
Lloh2:
	adrp	x26, _CSR0_TINT@GOTPAGE
Lloh3:
	ldr	x26, [x26, _CSR0_TINT@GOTPAGEOFF]
Lloh4:
	adrp	x27, _CSR0_RINT@GOTPAGE
Lloh5:
	ldr	x27, [x27, _CSR0_RINT@GOTPAGEOFF]
Lloh6:
	adrp	x25, _CSR0_MISS@GOTPAGE
Lloh7:
	ldr	x25, [x25, _CSR0_MISS@GOTPAGEOFF]
Lloh8:
	adrp	x28, _CSR0_CERR@GOTPAGE
Lloh9:
	ldr	x28, [x28, _CSR0_CERR@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	ldr	w1, [x24]
	bl	_read_rreg
	mov	x22, x0
	ldr	w0, [x19]
	ldr	w1, [x24]
Lloh10:
	adrp	x8, _CSR0_IENA@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CSR0_IENA@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w9, [x26]
	orr	w8, w9, w8
	ldr	w9, [x27]
	orr	w8, w8, w9
Lloh13:
	adrp	x9, _CSR0_MERR@GOTPAGE
Lloh14:
	ldr	x9, [x9, _CSR0_MERR@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [x25]
	orr	w8, w8, w9
	ldr	w9, [x28]
	orr	w8, w8, w9
Lloh16:
	adrp	x9, _CSR0_BABL@GOTPAGE
Lloh17:
	ldr	x9, [x9, _CSR0_BABL@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w8, w8, w9
	and	w2, w8, w22
	bl	_write_rreg
	ldr	w8, [x27]
	tst	w8, w22
	b.eq	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_am79c961_rx
	mov	w21, #1
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x26]
	tst	w8, w22
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_am79c961_tx
	mov	w21, #1
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x25]
	tst	w8, w22
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x20, #4]
	add	w8, w8, #1
	str	w8, [x20, #4]
	mov	w21, #1
LBB0_7:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x28]
	tst	w8, w22
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh19:
	adrp	x8, _jiffies@GOTPAGE
Lloh20:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_mod_timer
	mov	w21, #1
LBB0_9:                                 ;   in Loop: Header=BB0_1 Depth=1
	adds	w23, w23, #1
	b.hs	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x27]
	ldr	w9, [x26]
	orr	w8, w9, w8
	tst	w8, w22
	b.ne	LBB0_1
LBB0_11:
	mov	x0, x21
	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	_IRQ_RETVAL
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_CSR0,4,2                       ; @CSR0
	.comm	_CSR0_IENA,4,2                  ; @CSR0_IENA
	.comm	_CSR0_TINT,4,2                  ; @CSR0_TINT
	.comm	_CSR0_RINT,4,2                  ; @CSR0_RINT
	.comm	_CSR0_MERR,4,2                  ; @CSR0_MERR
	.comm	_CSR0_MISS,4,2                  ; @CSR0_MISS
	.comm	_CSR0_CERR,4,2                  ; @CSR0_CERR
	.comm	_CSR0_BABL,4,2                  ; @CSR0_BABL
	.comm	_jiffies,4,2                    ; @jiffies
	.no_dead_strip	_am79c961_interrupt
.subsections_via_symbols
