	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_config_pbl_val
_xgbe_config_pbl_val:                   ## @xgbe_config_pbl_val
	.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	(%rdi), %ecx
	movl	%ecx, %r14d
	shrl	$3, %r14d
	cmpl	$33, %ecx
	movq	_DMA_PBL_X8_DISABLE@GOTPCREL(%rip), %rax
	cmovaeq	_DMA_PBL_X8_ENABLE@GOTPCREL(%rip), %rax
	cmovbl	%ecx, %r14d
	cmpl	$0, 4(%rdi)
	je	LBB0_7
## %bb.1:
	movq	%rdi, %r12
	movl	(%rax), %r15d
	xorl	%ebx, %ebx
	movq	_PBL@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movl	4(%r12), %eax
	cmpq	%rax, %rbx
	jae	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	_DMA_CH_CR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PBLX8@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %ecx
	callq	_XGMAC_DMA_IOWRITE_BITS
	movq	8(%r12), %rax
	movq	(%rax,%rbx,8), %rdi
	cmpq	$0, 8(%rdi)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_DMA_CH_TCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movl	%r14d, %ecx
	callq	_XGMAC_DMA_IOWRITE_BITS
	movq	8(%r12), %rax
	movq	(%rax,%rbx,8), %rdi
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, (%rdi)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_DMA_CH_RCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movl	%r14d, %ecx
	callq	_XGMAC_DMA_IOWRITE_BITS
	jmp	LBB0_6
LBB0_7:
	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_PBL_X8_DISABLE,4,2         ## @DMA_PBL_X8_DISABLE
	.comm	_DMA_PBL_X8_ENABLE,4,2          ## @DMA_PBL_X8_ENABLE
	.comm	_DMA_CH_CR,4,2                  ## @DMA_CH_CR
	.comm	_PBLX8,4,2                      ## @PBLX8
	.comm	_DMA_CH_TCR,4,2                 ## @DMA_CH_TCR
	.comm	_PBL,4,2                        ## @PBL
	.comm	_DMA_CH_RCR,4,2                 ## @DMA_CH_RCR
	.no_dead_strip	_xgbe_config_pbl_val
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_config_pbl_val
_xgbe_config_pbl_val:                   ; @xgbe_config_pbl_val
	.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
	ldp	w8, w9, [x0]
	lsr	w10, w8, #3
	cmp	w8, #32
	csel	w20, w10, w8, hi
Lloh0:
	adrp	x8, _DMA_PBL_X8_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMA_PBL_X8_ENABLE@GOTPAGEOFF]
Lloh2:
	adrp	x10, _DMA_PBL_X8_DISABLE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _DMA_PBL_X8_DISABLE@GOTPAGEOFF]
	csel	x8, x8, x10, hi
	cbz	w9, LBB0_7
; %bb.1:
	mov	x19, x0
	mov	x22, #0
	ldr	w21, [x8]
Lloh4:
	adrp	x23, _DMA_CH_CR@GOTPAGE
Lloh5:
	ldr	x23, [x23, _DMA_CH_CR@GOTPAGEOFF]
Lloh6:
	adrp	x24, _PBLX8@GOTPAGE
Lloh7:
	ldr	x24, [x24, _PBLX8@GOTPAGEOFF]
Lloh8:
	adrp	x25, _DMA_CH_RCR@GOTPAGE
Lloh9:
	ldr	x25, [x25, _DMA_CH_RCR@GOTPAGEOFF]
Lloh10:
	adrp	x26, _PBL@GOTPAGE
Lloh11:
	ldr	x26, [x26, _PBL@GOTPAGEOFF]
Lloh12:
	adrp	x27, _DMA_CH_TCR@GOTPAGE
Lloh13:
	ldr	x27, [x27, _DMA_CH_TCR@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	ldr	w8, [x19, #4]
	cmp	x22, x8
	b.hs	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	lsl	x28, x22, #3
	ldr	x0, [x8, x28]
	ldr	w1, [x23]
	ldr	w2, [x24]
	mov	x3, x21
	bl	_XGMAC_DMA_IOWRITE_BITS
	ldr	x8, [x19, #8]
	ldr	x0, [x8, x28]
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x27]
	ldr	w2, [x26]
	mov	x3, x20
	bl	_XGMAC_DMA_IOWRITE_BITS
	ldr	x8, [x19, #8]
	ldr	x0, [x8, x22, lsl #3]
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x25]
	ldr	w2, [x26]
	mov	x3, x20
	bl	_XGMAC_DMA_IOWRITE_BITS
	b	LBB0_2
LBB0_7:
	mov	w0, #0
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_PBL_X8_DISABLE,4,2         ; @DMA_PBL_X8_DISABLE
	.comm	_DMA_PBL_X8_ENABLE,4,2          ; @DMA_PBL_X8_ENABLE
	.comm	_DMA_CH_CR,4,2                  ; @DMA_CH_CR
	.comm	_PBLX8,4,2                      ; @PBLX8
	.comm	_DMA_CH_TCR,4,2                 ; @DMA_CH_TCR
	.comm	_PBL,4,2                        ; @PBL
	.comm	_DMA_CH_RCR,4,2                 ; @DMA_CH_RCR
	.no_dead_strip	_xgbe_config_pbl_val
.subsections_via_symbols
