	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xlgmac_enable_dma_interrupts
_xlgmac_enable_dma_interrupts:          ## @xlgmac_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
	cmpl	$0, (%rdi)
	je	LBB0_9
## %bb.1:
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	xorl	%r12d, %r12d
	movq	_DMA_CH_SR@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_DMA_CH_IER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_XLGMAC_DMA_REG
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_writel
	incl	%r12d
	addq	$16, %rbx
	cmpl	(%r14), %r12d
	jae	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_XLGMAC_DMA_REG
	movl	%eax, %edi
	callq	_readl
	movl	%eax, %r15d
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_XLGMAC_DMA_REG
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_writel
	movq	_DMA_CH_IER_NIE_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DMA_CH_IER_NIE_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	movl	$1, %ecx
	callq	_XLGMAC_SET_REG_BITS
	movq	_DMA_CH_IER_AIE_POS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_DMA_CH_IER_AIE_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$1, %ecx
	callq	_XLGMAC_SET_REG_BITS
	movq	_DMA_CH_IER_FBEE_POS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_DMA_CH_IER_FBEE_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$1, %ecx
	callq	_XLGMAC_SET_REG_BITS
	cmpq	$0, 8(%rbx)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 4(%r14)
	je	LBB0_4
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, (%rbx)
	je	LBB0_8
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_DMA_CH_IER_RBUE_POS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_DMA_CH_IER_RBUE_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$1, %ecx
	callq	_XLGMAC_SET_REG_BITS
	cmpl	$0, 4(%r14)
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_DMA_CH_IER_RIE_POS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_DMA_CH_IER_RIE_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$1, %ecx
	callq	_XLGMAC_SET_REG_BITS
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_DMA_CH_IER_TIE_POS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_DMA_CH_IER_TIE_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$1, %ecx
	callq	_XLGMAC_SET_REG_BITS
	cmpq	$0, (%rbx)
	jne	LBB0_6
	jmp	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_CH_SR,4,2                  ## @DMA_CH_SR
	.comm	_DMA_CH_IER_NIE_POS,4,2         ## @DMA_CH_IER_NIE_POS
	.comm	_DMA_CH_IER_NIE_LEN,4,2         ## @DMA_CH_IER_NIE_LEN
	.comm	_DMA_CH_IER_AIE_POS,4,2         ## @DMA_CH_IER_AIE_POS
	.comm	_DMA_CH_IER_AIE_LEN,4,2         ## @DMA_CH_IER_AIE_LEN
	.comm	_DMA_CH_IER_FBEE_POS,4,2        ## @DMA_CH_IER_FBEE_POS
	.comm	_DMA_CH_IER_FBEE_LEN,4,2        ## @DMA_CH_IER_FBEE_LEN
	.comm	_DMA_CH_IER_TIE_POS,4,2         ## @DMA_CH_IER_TIE_POS
	.comm	_DMA_CH_IER_TIE_LEN,4,2         ## @DMA_CH_IER_TIE_LEN
	.comm	_DMA_CH_IER_RBUE_POS,4,2        ## @DMA_CH_IER_RBUE_POS
	.comm	_DMA_CH_IER_RBUE_LEN,4,2        ## @DMA_CH_IER_RBUE_LEN
	.comm	_DMA_CH_IER_RIE_POS,4,2         ## @DMA_CH_IER_RIE_POS
	.comm	_DMA_CH_IER_RIE_LEN,4,2         ## @DMA_CH_IER_RIE_LEN
	.comm	_DMA_CH_IER,4,2                 ## @DMA_CH_IER
	.no_dead_strip	_xlgmac_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 xlgmac_enable_dma_interrupts
_xlgmac_enable_dma_interrupts:          ; @xlgmac_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
	ldr	w8, [x0]
	cbz	w8, LBB0_9
; %bb.1:
	mov	x19, x0
	mov	w22, #0
	ldr	x20, [x0, #8]
Lloh0:
	adrp	x23, _DMA_CH_SR@GOTPAGE
Lloh1:
	ldr	x23, [x23, _DMA_CH_SR@GOTPAGEOFF]
Lloh2:
	adrp	x26, _DMA_CH_IER_AIE_POS@GOTPAGE
Lloh3:
	ldr	x26, [x26, _DMA_CH_IER_AIE_POS@GOTPAGEOFF]
Lloh4:
	adrp	x27, _DMA_CH_IER_AIE_LEN@GOTPAGE
Lloh5:
	ldr	x27, [x27, _DMA_CH_IER_AIE_LEN@GOTPAGEOFF]
Lloh6:
	adrp	x28, _DMA_CH_IER_FBEE_POS@GOTPAGE
Lloh7:
	ldr	x28, [x28, _DMA_CH_IER_FBEE_POS@GOTPAGEOFF]
Lloh8:
	adrp	x24, _DMA_CH_IER_FBEE_LEN@GOTPAGE
Lloh9:
	ldr	x24, [x24, _DMA_CH_IER_FBEE_LEN@GOTPAGEOFF]
Lloh10:
	adrp	x25, _DMA_CH_IER@GOTPAGE
Lloh11:
	ldr	x25, [x25, _DMA_CH_IER@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x25]
	mov	x0, x20
	bl	_XLGMAC_DMA_REG
	mov	x1, x0
	mov	x0, x21
	bl	_writel
	add	w22, w22, #1
	ldr	w8, [x19]
	add	x20, x20, #16
	cmp	w22, w8
	b.hs	LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	mov	x0, x20
	bl	_XLGMAC_DMA_REG
	bl	_readl
	mov	x21, x0
	ldr	w1, [x23]
	mov	x0, x20
	bl	_XLGMAC_DMA_REG
	mov	x1, x0
	mov	x0, x21
	bl	_writel
Lloh12:
	adrp	x8, _DMA_CH_IER_NIE_POS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DMA_CH_IER_NIE_POS@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _DMA_CH_IER_NIE_LEN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DMA_CH_IER_NIE_LEN@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	w0, #0
	mov	w3, #1
	bl	_XLGMAC_SET_REG_BITS
	ldr	w1, [x26]
	ldr	w2, [x27]
	mov	w3, #1
	bl	_XLGMAC_SET_REG_BITS
	ldr	w1, [x28]
	ldr	w2, [x24]
	mov	w3, #1
	bl	_XLGMAC_SET_REG_BITS
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20]
	cbz	x8, LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh18:
	adrp	x8, _DMA_CH_IER_RBUE_POS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DMA_CH_IER_RBUE_POS@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x8, _DMA_CH_IER_RBUE_LEN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DMA_CH_IER_RBUE_LEN@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	w3, #1
	bl	_XLGMAC_SET_REG_BITS
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh24:
	adrp	x8, _DMA_CH_IER_RIE_POS@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DMA_CH_IER_RIE_POS@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
Lloh27:
	adrp	x8, _DMA_CH_IER_RIE_LEN@GOTPAGE
Lloh28:
	ldr	x8, [x8, _DMA_CH_IER_RIE_LEN@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	mov	w3, #1
	bl	_XLGMAC_SET_REG_BITS
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh30:
	adrp	x8, _DMA_CH_IER_TIE_POS@GOTPAGE
Lloh31:
	ldr	x8, [x8, _DMA_CH_IER_TIE_POS@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
Lloh33:
	adrp	x8, _DMA_CH_IER_TIE_LEN@GOTPAGE
Lloh34:
	ldr	x8, [x8, _DMA_CH_IER_TIE_LEN@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	mov	w3, #1
	bl	_XLGMAC_SET_REG_BITS
	ldr	x8, [x20]
	cbnz	x8, LBB0_6
	b	LBB0_2
LBB0_9:
	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 AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_CH_SR,4,2                  ; @DMA_CH_SR
	.comm	_DMA_CH_IER_NIE_POS,4,2         ; @DMA_CH_IER_NIE_POS
	.comm	_DMA_CH_IER_NIE_LEN,4,2         ; @DMA_CH_IER_NIE_LEN
	.comm	_DMA_CH_IER_AIE_POS,4,2         ; @DMA_CH_IER_AIE_POS
	.comm	_DMA_CH_IER_AIE_LEN,4,2         ; @DMA_CH_IER_AIE_LEN
	.comm	_DMA_CH_IER_FBEE_POS,4,2        ; @DMA_CH_IER_FBEE_POS
	.comm	_DMA_CH_IER_FBEE_LEN,4,2        ; @DMA_CH_IER_FBEE_LEN
	.comm	_DMA_CH_IER_TIE_POS,4,2         ; @DMA_CH_IER_TIE_POS
	.comm	_DMA_CH_IER_TIE_LEN,4,2         ; @DMA_CH_IER_TIE_LEN
	.comm	_DMA_CH_IER_RBUE_POS,4,2        ; @DMA_CH_IER_RBUE_POS
	.comm	_DMA_CH_IER_RBUE_LEN,4,2        ; @DMA_CH_IER_RBUE_LEN
	.comm	_DMA_CH_IER_RIE_POS,4,2         ; @DMA_CH_IER_RIE_POS
	.comm	_DMA_CH_IER_RIE_LEN,4,2         ; @DMA_CH_IER_RIE_LEN
	.comm	_DMA_CH_IER,4,2                 ; @DMA_CH_IER
	.no_dead_strip	_xlgmac_enable_dma_interrupts
.subsections_via_symbols
