	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xlgmac_config_pblx8
_xlgmac_config_pblx8:                   ## @xlgmac_config_pblx8
	.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_3
## %bb.1:
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	xorl	%r12d, %r12d
	movq	_DMA_CH_CR@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_XLGMAC_DMA_REG
	movl	%eax, %edi
	callq	_readl
	movq	_DMA_CH_CR_PBLX8_POS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_DMA_CH_CR_PBLX8_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	4(%r14), %ecx
	movl	%eax, %edi
	callq	_XLGMAC_SET_REG_BITS
	movl	%eax, %r15d
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_XLGMAC_DMA_REG
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_writel
	incl	%r12d
	addq	$4, %rbx
	cmpl	(%r14), %r12d
	jb	LBB0_2
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_CH_CR,4,2                  ## @DMA_CH_CR
	.comm	_DMA_CH_CR_PBLX8_POS,4,2        ## @DMA_CH_CR_PBLX8_POS
	.comm	_DMA_CH_CR_PBLX8_LEN,4,2        ## @DMA_CH_CR_PBLX8_LEN
	.no_dead_strip	_xlgmac_config_pblx8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xlgmac_config_pblx8
_xlgmac_config_pblx8:                   ; @xlgmac_config_pblx8
	.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
	ldr	w8, [x0]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x19, x0
	mov	w22, #0
	ldr	x20, [x0, #8]
Lloh0:
	adrp	x23, _DMA_CH_CR@GOTPAGE
Lloh1:
	ldr	x23, [x23, _DMA_CH_CR@GOTPAGEOFF]
Lloh2:
	adrp	x24, _DMA_CH_CR_PBLX8_POS@GOTPAGE
Lloh3:
	ldr	x24, [x24, _DMA_CH_CR_PBLX8_POS@GOTPAGEOFF]
Lloh4:
	adrp	x25, _DMA_CH_CR_PBLX8_LEN@GOTPAGE
Lloh5:
	ldr	x25, [x25, _DMA_CH_CR_PBLX8_LEN@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	mov	x0, x20
	bl	_XLGMAC_DMA_REG
	bl	_readl
	ldr	w1, [x24]
	ldr	w2, [x25]
	ldr	w3, [x19, #4]
	bl	_XLGMAC_SET_REG_BITS
	mov	x21, x0
	ldr	w1, [x23]
	mov	x0, x20
	bl	_XLGMAC_DMA_REG
	mov	x1, x0
	mov	x0, x21
	bl	_writel
	add	w22, w22, #1
	add	x20, x20, #4
	ldr	w8, [x19]
	cmp	w22, w8
	b.lo	LBB0_2
LBB0_3:
	mov	w0, #0
	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	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_CH_CR,4,2                  ; @DMA_CH_CR
	.comm	_DMA_CH_CR_PBLX8_POS,4,2        ; @DMA_CH_CR_PBLX8_POS
	.comm	_DMA_CH_CR_PBLX8_LEN,4,2        ; @DMA_CH_CR_PBLX8_LEN
	.no_dead_strip	_xlgmac_config_pblx8
.subsections_via_symbols
