	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ravb_interrupt
_ravb_interrupt:                        ## @ravb_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, %r13
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %rdi
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_spin_lock
	movq	_ISS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_ravb_read
	movq	_ISS_FRS@GOTPCREL(%rip), %rdx
	movq	_ISS_FTS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdx), %ecx
	movq	_ISS_TFUS@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	testl	%eax, %ecx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_7
## %bb.1:
	movq	%r13, %rdi
	callq	_ravb_timestamp_interrupt
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r14
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	(%r14), %r15d
LBB0_3:
	movq	_RAVB_NC@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_RAVB_BE@GOTPCREL(%rip), %r12
	cmpl	(%r12), %ebx
	jge	LBB0_4
LBB0_7:
	movq	_ISS_MS@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, (%rax)
	je	LBB0_9
## %bb.8:
	movq	%r13, %rdi
	callq	_ravb_emac_interrupt_unlocked
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_9:
	movq	_ISS_ES@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_11
## %bb.10:
	movq	%r13, %rdi
	callq	_ravb_error_interrupt
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_11:
	movq	_ISS_CGIS@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_13
## %bb.12:
	movq	%r13, %rdi
	callq	_ravb_ptp_interrupt
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_13:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	leal	-1(%rbx), %eax
	cmpl	(%r12), %ebx
	movl	%eax, %ebx
	jle	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_ravb_queue_interrupt
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r14), %r15d
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_ISS,4,2                        ## @ISS
	.comm	_ISS_FRS,4,2                    ## @ISS_FRS
	.comm	_ISS_FTS,4,2                    ## @ISS_FTS
	.comm	_ISS_TFUS,4,2                   ## @ISS_TFUS
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_RAVB_NC,4,2                    ## @RAVB_NC
	.comm	_RAVB_BE,4,2                    ## @RAVB_BE
	.comm	_ISS_MS,4,2                     ## @ISS_MS
	.comm	_ISS_ES,4,2                     ## @ISS_ES
	.comm	_ISS_CGIS,4,2                   ## @ISS_CGIS
	.no_dead_strip	_ravb_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ravb_interrupt
_ravb_interrupt:                        ; @ravb_interrupt
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	mov	x0, x1
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	bl	_spin_lock
Lloh3:
	adrp	x8, _ISS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ISS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ravb_read
	mov	x22, x0
Lloh6:
	adrp	x8, _ISS_FRS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ISS_FRS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _ISS_FTS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ISS_FTS@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _ISS_TFUS@GOTPAGE
Lloh13:
	ldr	x10, [x10, _ISS_TFUS@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh14:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh15:
	adrp	x24, _IRQ_HANDLED@GOTPAGE
Lloh16:
	ldr	x24, [x24, _IRQ_HANDLED@GOTPAGEOFF]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_ravb_timestamp_interrupt
	ldr	w8, [x24]
	cmp	x0, #0
Lloh17:
	adrp	x9, _RAVB_NC@GOTPAGE
Lloh18:
	ldr	x9, [x9, _RAVB_NC@GOTPAGEOFF]
	csel	w21, w21, w8, eq
Lloh19:
	ldr	w23, [x9]
Lloh20:
	adrp	x25, _RAVB_BE@GOTPAGE
Lloh21:
	ldr	x25, [x25, _RAVB_BE@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w23, w8
	b.lt	LBB0_3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_ravb_queue_interrupt
	ldr	w8, [x24]
	cmp	x0, #0
	csel	w21, w21, w8, eq
	sub	w8, w23, #1
	ldr	w9, [x25]
	cmp	w23, w9
	mov	x23, x8
	b.gt	LBB0_2
LBB0_3:
Lloh22:
	adrp	x8, _ISS_MS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ISS_MS@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_ravb_emac_interrupt_unlocked
	ldr	w21, [x24]
LBB0_5:
Lloh25:
	adrp	x8, _ISS_ES@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ISS_ES@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_ravb_error_interrupt
	ldr	w21, [x24]
LBB0_7:
Lloh28:
	adrp	x8, _ISS_CGIS@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ISS_CGIS@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_9
; %bb.8:
	mov	x0, x20
	bl	_ravb_ptp_interrupt
	ldr	w21, [x24]
LBB0_9:
	mov	x0, x19
	bl	_spin_unlock
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_ISS,4,2                        ; @ISS
	.comm	_ISS_FRS,4,2                    ; @ISS_FRS
	.comm	_ISS_FTS,4,2                    ; @ISS_FTS
	.comm	_ISS_TFUS,4,2                   ; @ISS_TFUS
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_RAVB_NC,4,2                    ; @RAVB_NC
	.comm	_RAVB_BE,4,2                    ; @RAVB_BE
	.comm	_ISS_MS,4,2                     ; @ISS_MS
	.comm	_ISS_ES,4,2                     ; @ISS_ES
	.comm	_ISS_CGIS,4,2                   ; @ISS_CGIS
	.no_dead_strip	_ravb_interrupt
.subsections_via_symbols
