	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cc770_rx_interrupt
_cc770_rx_interrupt:                    ## @cc770_rx_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
	movl	%esi, %ebx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_netdev_priv
	movq	%rax, %r12
	movl	%ebx, %edi
	callq	_obj2msgobj
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_CC770_MAX_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	testl	%r13d, %r13d
	je	LBB0_10
## %bb.1:
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movq	_msgobj@GOTPCREL(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_cc770_rx
	movq	(%r14), %rax
	movl	4(%rax,%r15,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,%r15,8), %esi
	movq	_MSGLST_RES@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
	testl	%r13d, %r13d
	je	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movl	(%rax,%r15,8), %esi
	movq	%r12, %rdi
	callq	_cc770_read_reg
	movl	%eax, %ebx
	movq	_NEWDAT_SET@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_CTRL_EAF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rax
	movl	4(%rax,%r15,8), %esi
	movq	%r12, %rdi
	callq	_cc770_read_reg
	movq	_INTPND_SET@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_10
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_MSGLST_SET@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	incl	4(%rax)
	incl	(%rax)
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	decl	%r13d
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	_MSGOBJ_LAST@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	jae	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rax
	movl	(%rax,%r15,8), %esi
	movq	_MSGLST_RES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_NEWDAT_RES@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_TXRQST_UNC@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_RMTPND_UNC@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r12, %rdi
	callq	_cc770_write_reg
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	jmp	LBB0_9
LBB0_10:
	addq	$24, %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	_NEWDAT_SET,4,2                 ## @NEWDAT_SET
	.comm	_CTRL_EAF,4,2                   ## @CTRL_EAF
	.comm	_INTPND_SET,4,2                 ## @INTPND_SET
	.comm	_MSGLST_SET,4,2                 ## @MSGLST_SET
	.comm	_MSGOBJ_LAST,4,2                ## @MSGOBJ_LAST
	.comm	_NEWDAT_RES,4,2                 ## @NEWDAT_RES
	.comm	_MSGLST_RES,4,2                 ## @MSGLST_RES
	.comm	_TXRQST_UNC,4,2                 ## @TXRQST_UNC
	.comm	_RMTPND_UNC,4,2                 ## @RMTPND_UNC
	.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	_TXRQST_RES,4,2                 ## @TXRQST_RES
	.comm	_RMTPND_RES,4,2                 ## @RMTPND_RES
	.no_dead_strip	_cc770_rx_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cc770_rx_interrupt
_cc770_rx_interrupt:                    ; @cc770_rx_interrupt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	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	w23, [x8]
	cbz	w23, LBB0_10
; %bb.1:
	mov	x21, x0
Lloh3:
	adrp	x24, _msgobj@GOTPAGE
Lloh4:
	ldr	x24, [x24, _msgobj@GOTPAGEOFF]
	mov	w8, w0
Lloh5:
	adrp	x26, _NEWDAT_RES@GOTPAGE
Lloh6:
	ldr	x26, [x26, _NEWDAT_RES@GOTPAGEOFF]
Lloh7:
	adrp	x28, _MSGLST_RES@GOTPAGE
Lloh8:
	ldr	x28, [x28, _MSGLST_RES@GOTPAGEOFF]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	lsl	x25, x8, #3
	movi.2s	v8, #1
Lloh9:
	adrp	x27, _RMTPND_RES@GOTPAGE
Lloh10:
	ldr	x27, [x27, _RMTPND_RES@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_cc770_rx
	ldr	x8, [x24]
	add	x8, x8, x25
	ldr	w1, [x8, #4]
Lloh11:
	adrp	x8, _MSGVAL_SET@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MSGVAL_SET@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _TXIE_RES@GOTPAGE
Lloh15:
	ldr	x9, [x9, _TXIE_RES@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh17:
	adrp	x9, _RXIE_SET@GOTPAGE
Lloh18:
	ldr	x9, [x9, _RXIE_SET@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh20:
	adrp	x9, _INTPND_RES@GOTPAGE
Lloh21:
	ldr	x9, [x9, _INTPND_RES@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x20
	bl	_cc770_write_reg
	ldr	x8, [x24]
	ldr	w1, [x8, x25]
	ldr	w8, [x26]
	ldr	w9, [x28]
	orr	w8, w9, w8
Lloh23:
	adrp	x9, _TXRQST_RES@GOTPAGE
Lloh24:
	ldr	x9, [x9, _TXRQST_RES@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [x27]
	orr	w2, w8, w9
	mov	x0, x20
	bl	_cc770_write_reg
	cbz	w23, LBB0_10
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldr	w1, [x8, x25]
	mov	x0, x20
	bl	_cc770_read_reg
	mov	x22, x0
Lloh26:
	adrp	x8, _NEWDAT_SET@GOTPAGE
Lloh27:
	ldr	x8, [x8, _NEWDAT_SET@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x20]
Lloh29:
	adrp	x9, _CTRL_EAF@GOTPAGE
Lloh30:
	ldr	x9, [x9, _CTRL_EAF@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x24]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	add	x8, x8, x9, lsl #3
	ldr	w1, [x8, #4]
	mov	x0, x20
	bl	_cc770_read_reg
Lloh32:
	adrp	x8, _INTPND_SET@GOTPAGE
Lloh33:
	ldr	x8, [x8, _INTPND_SET@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_10
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh35:
	adrp	x8, _MSGLST_SET@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MSGLST_SET@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	d0, [x19]
	add.2s	v0, v0, v8
	str	d0, [x19]
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	w23, w23, #1
Lloh38:
	adrp	x8, _MSGOBJ_LAST@GOTPAGE
Lloh39:
	ldr	x8, [x8, _MSGOBJ_LAST@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	cmp	w21, w8
	b.hs	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x24]
	ldr	w1, [x8, x25]
	ldr	w8, [x26]
	ldr	w9, [x28]
	orr	w8, w9, w8
Lloh41:
	adrp	x9, _TXRQST_UNC@GOTPAGE
Lloh42:
	ldr	x9, [x9, _TXRQST_UNC@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh44:
	adrp	x9, _RMTPND_UNC@GOTPAGE
Lloh45:
	ldr	x9, [x9, _RMTPND_UNC@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x20
	bl	_cc770_write_reg
	b	LBB0_2
LBB0_10:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_CC770_MAX_MSG,4,2              ; @CC770_MAX_MSG
	.comm	_msgobj,8,3                     ; @msgobj
	.comm	_NEWDAT_SET,4,2                 ; @NEWDAT_SET
	.comm	_CTRL_EAF,4,2                   ; @CTRL_EAF
	.comm	_INTPND_SET,4,2                 ; @INTPND_SET
	.comm	_MSGLST_SET,4,2                 ; @MSGLST_SET
	.comm	_MSGOBJ_LAST,4,2                ; @MSGOBJ_LAST
	.comm	_NEWDAT_RES,4,2                 ; @NEWDAT_RES
	.comm	_MSGLST_RES,4,2                 ; @MSGLST_RES
	.comm	_TXRQST_UNC,4,2                 ; @TXRQST_UNC
	.comm	_RMTPND_UNC,4,2                 ; @RMTPND_UNC
	.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	_TXRQST_RES,4,2                 ; @TXRQST_RES
	.comm	_RMTPND_RES,4,2                 ; @RMTPND_RES
	.no_dead_strip	_cc770_rx_interrupt
.subsections_via_symbols
