	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_enable_dma_interrupts
_xgbe_enable_dma_interrupts:            ## @xgbe_enable_dma_interrupts
	.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
	movq	%rdi, %r15
	movq	8(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	movq	_DMA_MR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_INTM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_XGMAC_IOWRITE_BITS
LBB0_2:
	movl	32(%r15), %edi
	movq	_MAC_VR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SNPSVER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_XGMAC_GET_BITS
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	$0, (%r15)
	je	LBB0_13
## %bb.3:
	xorl	%r13d, %r13d
	movq	_DMA_CH_IER@GOTPCREL(%rip), %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r12), %rdi
	movl	(%r14), %esi
	movq	_RIE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %ecx
	callq	_XGMAC_SET_BITS
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r14), %esi
	movq	(%r12), %rdx
	movq	%r12, %rdi
	callq	_XGMAC_DMA_IOWRITE
	incq	%r13
	movl	(%r15), %eax
	cmpq	%rax, %r13
	jae	LBB0_13
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r15), %rax
	movq	(%rax,%r13,8), %r12
	movq	_DMA_CH_SR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_XGMAC_DMA_IOREAD
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%rax, %rdx
	callq	_XGMAC_DMA_IOWRITE
	cmpl	$33, -44(%rbp)                  ## 4-byte Folded Reload
	movq	$0, (%r12)
	movq	_NIE@GOTPCREL(%rip), %rax
	cmovbq	_NIE20@GOTPCREL(%rip), %rax
	movl	(%r14), %esi
	movl	(%rax), %edx
	movq	_AIE@GOTPCREL(%rip), %rbx
	cmovbq	_AIE20@GOTPCREL(%rip), %rbx
	xorl	%edi, %edi
	movl	$1, %ecx
	callq	_XGMAC_SET_BITS
	movq	(%r12), %rdi
	movl	(%r14), %esi
	movl	(%rbx), %edx
	movl	$1, %ecx
	callq	_XGMAC_SET_BITS
	movq	(%r12), %rdi
	movl	(%r14), %esi
	movq	_FBEE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %ecx
	callq	_XGMAC_SET_BITS
	cmpq	$0, 16(%r12)
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, 16(%r15)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, 8(%r15)
	je	LBB0_8
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r12), %rdi
	movl	(%r14), %esi
	movq	_TIE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %ecx
	callq	_XGMAC_SET_BITS
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, 8(%r12)
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r12), %rdi
	movl	(%r14), %esi
	movq	_RBUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %ecx
	callq	_XGMAC_SET_BITS
	cmpl	$0, 16(%r15)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, 8(%r15)
	jne	LBB0_11
	jmp	LBB0_12
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_MR,4,2                     ## @DMA_MR
	.comm	_INTM,4,2                       ## @INTM
	.comm	_MAC_VR,4,2                     ## @MAC_VR
	.comm	_SNPSVER,4,2                    ## @SNPSVER
	.comm	_DMA_CH_SR,4,2                  ## @DMA_CH_SR
	.comm	_DMA_CH_IER,4,2                 ## @DMA_CH_IER
	.comm	_NIE20,4,2                      ## @NIE20
	.comm	_AIE20,4,2                      ## @AIE20
	.comm	_NIE,4,2                        ## @NIE
	.comm	_AIE,4,2                        ## @AIE
	.comm	_FBEE,4,2                       ## @FBEE
	.comm	_TIE,4,2                        ## @TIE
	.comm	_RBUE,4,2                       ## @RBUE
	.comm	_RIE,4,2                        ## @RIE
	.no_dead_strip	_xgbe_enable_dma_interrupts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_enable_dma_interrupts
_xgbe_enable_dma_interrupts:            ; @xgbe_enable_dma_interrupts
	.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, x0
	ldr	x3, [x0, #8]
	cbz	x3, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _DMA_MR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMA_MR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _INTM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INTM@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_XGMAC_IOWRITE_BITS
LBB0_2:
	ldr	w0, [x19, #32]
Lloh6:
	adrp	x8, _MAC_VR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAC_VR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _SNPSVER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SNPSVER@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	bl	_XGMAC_GET_BITS
	ldr	w8, [x19]
	cbz	w8, LBB0_13
; %bb.3:
	mov	x20, x0
	mov	x23, #0
Lloh12:
	adrp	x25, _DMA_CH_IER@GOTPAGE
Lloh13:
	ldr	x25, [x25, _DMA_CH_IER@GOTPAGEOFF]
Lloh14:
	adrp	x27, _NIE@GOTPAGE
Lloh15:
	ldr	x27, [x27, _NIE@GOTPAGEOFF]
Lloh16:
	adrp	x28, _AIE20@GOTPAGE
Lloh17:
	ldr	x28, [x28, _AIE20@GOTPAGEOFF]
Lloh18:
	adrp	x24, _AIE@GOTPAGE
Lloh19:
	ldr	x24, [x24, _AIE@GOTPAGEOFF]
Lloh20:
	adrp	x26, _FBEE@GOTPAGE
Lloh21:
	ldr	x26, [x26, _FBEE@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x21]
	ldr	w1, [x25]
Lloh22:
	adrp	x8, _RIE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _RIE@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	w3, #1
	bl	_XGMAC_SET_BITS
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x25]
	ldr	x2, [x21]
	mov	x0, x21
	bl	_XGMAC_DMA_IOWRITE
	add	x23, x23, #1
	ldr	w8, [x19]
	cmp	x23, x8
	b.hs	LBB0_13
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	ldr	x21, [x8, x23, lsl #3]
Lloh25:
	adrp	x8, _DMA_CH_SR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _DMA_CH_SR@GOTPAGEOFF]
Lloh27:
	ldr	w22, [x8]
	mov	x0, x21
	mov	x1, x22
	bl	_XGMAC_DMA_IOREAD
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_XGMAC_DMA_IOWRITE
	str	xzr, [x21]
	ldr	w1, [x25]
	cmp	w20, #33
Lloh28:
	adrp	x8, _NIE20@GOTPAGE
Lloh29:
	ldr	x8, [x8, _NIE20@GOTPAGEOFF]
	csel	x8, x8, x27, lo
	ldr	w2, [x8]
	csel	x22, x28, x24, lo
	mov	x0, #0
	mov	w3, #1
	bl	_XGMAC_SET_BITS
	ldr	x0, [x21]
	ldr	w1, [x25]
	ldr	w2, [x22]
	mov	w3, #1
	bl	_XGMAC_SET_BITS
	ldr	x0, [x21]
	ldr	w1, [x25]
	ldr	w2, [x26]
	mov	w3, #1
	bl	_XGMAC_SET_BITS
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x21]
	ldr	w1, [x25]
Lloh30:
	adrp	x8, _TIE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TIE@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	mov	w3, #1
	bl	_XGMAC_SET_BITS
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x21]
	ldr	w1, [x25]
Lloh33:
	adrp	x8, _RBUE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _RBUE@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	mov	w3, #1
	bl	_XGMAC_SET_BITS
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_4
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_4
	b	LBB0_5
LBB0_13:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_MR,4,2                     ; @DMA_MR
	.comm	_INTM,4,2                       ; @INTM
	.comm	_MAC_VR,4,2                     ; @MAC_VR
	.comm	_SNPSVER,4,2                    ; @SNPSVER
	.comm	_DMA_CH_SR,4,2                  ; @DMA_CH_SR
	.comm	_DMA_CH_IER,4,2                 ; @DMA_CH_IER
	.comm	_NIE20,4,2                      ; @NIE20
	.comm	_AIE20,4,2                      ; @AIE20
	.comm	_NIE,4,2                        ; @NIE
	.comm	_AIE,4,2                        ; @AIE
	.comm	_FBEE,4,2                       ; @FBEE
	.comm	_TIE,4,2                        ; @TIE
	.comm	_RBUE,4,2                       ; @RBUE
	.comm	_RIE,4,2                        ; @RIE
	.no_dead_strip	_xgbe_enable_dma_interrupts
.subsections_via_symbols
