	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cc770_rtr_interrupt
_cc770_rtr_interrupt:                   ## @cc770_rtr_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
	movl	%esi, %r15d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_netdev_priv
	movq	%rax, %r12
	movl	%r15d, %edi
	callq	_obj2msgobj
	movl	%eax, %r15d
	movq	_CC770_MAX_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.1:
	movl	%r15d, %r13d
	movq	_msgobj@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movl	4(%rax,%r13,8), %esi
	movq	%r12, %rdi
	callq	_cc770_read_reg
	movq	_INTPND_SET@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rax
	movl	(%rax,%r13,8), %esi
	movq	%r12, %rdi
	callq	_cc770_read_reg
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_cc770_rx
	movq	(%r14), %rax
	movl	4(%rax,%r13,8), %esi
	movq	_TXIE_RES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MSGVAL_SET@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_RXIE_SET@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_INTPND_RES@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r12, %rdi
	callq	_cc770_write_reg
	movq	(%r14), %rax
	movl	(%rax,%r13,8), %esi
	movq	_CPUUPD_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_NEWDAT_RES@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_TXRQST_RES@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_RMTPND_RES@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r12, %rdi
	callq	_cc770_write_reg
	decl	%ebx
	jne	LBB0_2
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CC770_MAX_MSG,4,2              ## @CC770_MAX_MSG
	.comm	_msgobj,8,3                     ## @msgobj
	.comm	_INTPND_SET,4,2                 ## @INTPND_SET
	.comm	_MSGVAL_SET,4,2                 ## @MSGVAL_SET
	.comm	_TXIE_RES,4,2                   ## @TXIE_RES
	.comm	_RXIE_SET,4,2                   ## @RXIE_SET
	.comm	_INTPND_RES,4,2                 ## @INTPND_RES
	.comm	_NEWDAT_RES,4,2                 ## @NEWDAT_RES
	.comm	_CPUUPD_SET,4,2                 ## @CPUUPD_SET
	.comm	_TXRQST_RES,4,2                 ## @TXRQST_RES
	.comm	_RMTPND_RES,4,2                 ## @RMTPND_RES
	.no_dead_strip	_cc770_rtr_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cc770_rtr_interrupt
_cc770_rtr_interrupt:                   ; @cc770_rtr_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	x21, x1
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	mov	x0, x21
	bl	_obj2msgobj
Lloh0:
	adrp	x8, _CC770_MAX_MSG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CC770_MAX_MSG@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	cbz	w22, LBB0_4
; %bb.1:
	mov	x21, x0
Lloh3:
	adrp	x23, _msgobj@GOTPAGE
Lloh4:
	ldr	x23, [x23, _msgobj@GOTPAGEOFF]
	mov	w25, w0
	lsl	x26, x25, #3
Lloh5:
	adrp	x27, _CPUUPD_SET@GOTPAGE
Lloh6:
	ldr	x27, [x27, _CPUUPD_SET@GOTPAGEOFF]
Lloh7:
	adrp	x28, _TXRQST_RES@GOTPAGE
Lloh8:
	ldr	x28, [x28, _TXRQST_RES@GOTPAGEOFF]
Lloh9:
	adrp	x24, _RMTPND_RES@GOTPAGE
Lloh10:
	ldr	x24, [x24, _RMTPND_RES@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	add	x8, x8, x25, lsl #3
	ldr	w1, [x8, #4]
	mov	x0, x20
	bl	_cc770_read_reg
Lloh11:
	adrp	x8, _INTPND_SET@GOTPAGE
Lloh12:
	ldr	x8, [x8, _INTPND_SET@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	w22, w22, #1
	ldr	x8, [x23]
	ldr	w1, [x8, x26]
	mov	x0, x20
	bl	_cc770_read_reg
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_cc770_rx
	ldr	x8, [x23]
	add	x8, x8, x26
	ldr	w1, [x8, #4]
Lloh14:
	adrp	x8, _MSGVAL_SET@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MSGVAL_SET@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _TXIE_RES@GOTPAGE
Lloh18:
	ldr	x9, [x9, _TXIE_RES@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh20:
	adrp	x9, _RXIE_SET@GOTPAGE
Lloh21:
	ldr	x9, [x9, _RXIE_SET@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh23:
	adrp	x9, _INTPND_RES@GOTPAGE
Lloh24:
	ldr	x9, [x9, _INTPND_RES@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x20
	bl	_cc770_write_reg
	ldr	x8, [x23]
	ldr	w1, [x8, x26]
Lloh26:
	adrp	x8, _NEWDAT_RES@GOTPAGE
Lloh27:
	ldr	x8, [x8, _NEWDAT_RES@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	ldr	w9, [x27]
	orr	w8, w9, w8
	ldr	w9, [x28]
	orr	w8, w8, w9
	ldr	w9, [x24]
	orr	w2, w8, w9
	mov	x0, x20
	bl	_cc770_write_reg
	cbnz	w22, LBB0_2
LBB0_4:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_CC770_MAX_MSG,4,2              ; @CC770_MAX_MSG
	.comm	_msgobj,8,3                     ; @msgobj
	.comm	_INTPND_SET,4,2                 ; @INTPND_SET
	.comm	_MSGVAL_SET,4,2                 ; @MSGVAL_SET
	.comm	_TXIE_RES,4,2                   ; @TXIE_RES
	.comm	_RXIE_SET,4,2                   ; @RXIE_SET
	.comm	_INTPND_RES,4,2                 ; @INTPND_RES
	.comm	_NEWDAT_RES,4,2                 ; @NEWDAT_RES
	.comm	_CPUUPD_SET,4,2                 ; @CPUUPD_SET
	.comm	_TXRQST_RES,4,2                 ; @TXRQST_RES
	.comm	_RMTPND_RES,4,2                 ; @RMTPND_RES
	.no_dead_strip	_cc770_rtr_interrupt
.subsections_via_symbols
