	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lan743x_intr_shared_isr
_lan743x_intr_shared_isr:               ## @lan743x_intr_shared_isr
	.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	%edx, %r15d
	movl	%esi, %r12d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_INT_BIT_ALL_RX_@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_6
## %bb.1:
	movq	_LAN743X_USED_RX_CHANNELS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_6
## %bb.2:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movq	_LAN743X_USED_RX_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$4, %r14
	cmpq	%rax, %rbx
	jae	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_INT_BIT_DMA_RX_
	testl	%r12d, %eax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %r13d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	addq	%r14, %rdi
	movl	%r13d, %esi
	movl	%r15d, %edx
	callq	_lan743x_rx_isr
	notl	%r13d
	andl	%r13d, %r12d
	jmp	LBB0_5
LBB0_6:
	movq	_INT_BIT_ALL_TX_@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_12
## %bb.7:
	movq	_LAN743X_USED_TX_CHANNELS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_12
## %bb.8:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%rbx
	movq	_LAN743X_USED_TX_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$4, %r14
	cmpq	%rax, %rbx
	jae	LBB0_12
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_INT_BIT_DMA_TX_
	testl	%r12d, %eax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%eax, %r13d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	addq	%r14, %rdi
	movl	%r13d, %esi
	movl	%r15d, %edx
	callq	_lan743x_tx_isr
	notl	%r13d
	andl	%r13d, %r12d
	jmp	LBB0_11
LBB0_12:
	movq	_INT_BIT_ALL_OTHER_@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_17
## %bb.13:
	movq	_INT_BIT_SW_GP_@GOTPCREL(%rip), %rbx
	testl	%r12d, (%rbx)
	je	LBB0_15
## %bb.14:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_lan743x_intr_software_isr
	movl	(%rbx), %eax
	notl	%eax
	andl	%eax, %r12d
LBB0_15:
	movq	_INT_BIT_1588_@GOTPCREL(%rip), %rbx
	testl	%r12d, (%rbx)
	je	LBB0_17
## %bb.16:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_lan743x_ptp_isr
	movl	(%rbx), %eax
	notl	%eax
	andl	%eax, %r12d
LBB0_17:
	testl	%r12d, %r12d
	je	LBB0_18
## %bb.19:
	movq	_INT_EN_CLR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_lan743x_csr_write              ## TAILCALL
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_BIT_ALL_RX_,4,2            ## @INT_BIT_ALL_RX_
	.comm	_LAN743X_USED_RX_CHANNELS,4,2   ## @LAN743X_USED_RX_CHANNELS
	.comm	_INT_BIT_ALL_TX_,4,2            ## @INT_BIT_ALL_TX_
	.comm	_LAN743X_USED_TX_CHANNELS,4,2   ## @LAN743X_USED_TX_CHANNELS
	.comm	_INT_BIT_ALL_OTHER_,4,2         ## @INT_BIT_ALL_OTHER_
	.comm	_INT_BIT_SW_GP_,4,2             ## @INT_BIT_SW_GP_
	.comm	_INT_BIT_1588_,4,2              ## @INT_BIT_1588_
	.comm	_INT_EN_CLR,4,2                 ## @INT_EN_CLR
	.no_dead_strip	_lan743x_intr_shared_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lan743x_intr_shared_isr
_lan743x_intr_shared_isr:               ; @lan743x_intr_shared_isr
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _INT_BIT_ALL_RX_@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT_BIT_ALL_RX_@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w1
Lloh3:
	adrp	x24, _LAN743X_USED_RX_CHANNELS@GOTPAGE
Lloh4:
	ldr	x24, [x24, _LAN743X_USED_RX_CHANNELS@GOTPAGEOFF]
	ldr	w9, [x24]
	cmp	w8, #0
	ccmp	w9, #0, #4, ne
	b.ne	LBB0_9
LBB0_1:
Lloh5:
	adrp	x8, _INT_BIT_ALL_TX_@GOTPAGE
Lloh6:
	ldr	x8, [x8, _INT_BIT_ALL_TX_@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	and	w8, w8, w19
Lloh8:
	adrp	x24, _LAN743X_USED_TX_CHANNELS@GOTPAGE
Lloh9:
	ldr	x24, [x24, _LAN743X_USED_TX_CHANNELS@GOTPAGEOFF]
	ldr	w9, [x24]
	cmp	w8, #0
	ccmp	w9, #0, #4, ne
	b.ne	LBB0_13
LBB0_2:
Lloh10:
	adrp	x8, _INT_BIT_ALL_OTHER_@GOTPAGE
Lloh11:
	ldr	x8, [x8, _INT_BIT_ALL_OTHER_@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_7
; %bb.3:
Lloh13:
	adrp	x21, _INT_BIT_SW_GP_@GOTPAGE
Lloh14:
	ldr	x21, [x21, _INT_BIT_SW_GP_@GOTPAGEOFF]
	ldr	w8, [x21]
	tst	w8, w19
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_lan743x_intr_software_isr
	ldr	w8, [x21]
	bic	w19, w19, w8
LBB0_5:
Lloh15:
	adrp	x21, _INT_BIT_1588_@GOTPAGE
Lloh16:
	ldr	x21, [x21, _INT_BIT_1588_@GOTPAGEOFF]
	ldr	w8, [x21]
	tst	w8, w19
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_lan743x_ptp_isr
	ldr	w8, [x21]
	bic	w19, w19, w8
LBB0_7:
	cbz	w19, LBB0_17
; %bb.8:
Lloh17:
	adrp	x8, _INT_EN_CLR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _INT_EN_CLR@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	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
	b	_lan743x_csr_write
LBB0_9:
	mov	x25, #0
	mov	x22, #0
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x22, x22, #1
	ldr	w8, [x24]
	add	x25, x25, #4
	cmp	x22, x8
	b.hs	LBB0_1
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_INT_BIT_DMA_RX_
	tst	w0, w19
	b.eq	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x23, x0
	ldr	x8, [x20, #8]
	add	x0, x8, x25
	mov	x1, x23
	mov	x2, x21
	bl	_lan743x_rx_isr
	bic	w19, w19, w23
	b	LBB0_10
LBB0_13:
	mov	x25, #0
	mov	x22, #0
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x22, x22, #1
	ldr	w8, [x24]
	add	x25, x25, #4
	cmp	x22, x8
	b.hs	LBB0_2
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_INT_BIT_DMA_TX_
	tst	w0, w19
	b.eq	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x23, x0
	ldr	x8, [x20]
	add	x0, x8, x25
	mov	x1, x23
	mov	x2, x21
	bl	_lan743x_tx_isr
	bic	w19, w19, w23
	b	LBB0_14
LBB0_17:
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_BIT_ALL_RX_,4,2            ; @INT_BIT_ALL_RX_
	.comm	_LAN743X_USED_RX_CHANNELS,4,2   ; @LAN743X_USED_RX_CHANNELS
	.comm	_INT_BIT_ALL_TX_,4,2            ; @INT_BIT_ALL_TX_
	.comm	_LAN743X_USED_TX_CHANNELS,4,2   ; @LAN743X_USED_TX_CHANNELS
	.comm	_INT_BIT_ALL_OTHER_,4,2         ; @INT_BIT_ALL_OTHER_
	.comm	_INT_BIT_SW_GP_,4,2             ; @INT_BIT_SW_GP_
	.comm	_INT_BIT_1588_,4,2              ; @INT_BIT_1588_
	.comm	_INT_EN_CLR,4,2                 ; @INT_EN_CLR
	.no_dead_strip	_lan743x_intr_shared_isr
.subsections_via_symbols
