	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_config_mtl_mode
_xgbe_config_mtl_mode:                  ## @xgbe_config_mtl_mode
	.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, %r14
	movq	_MTL_OMR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ETSALG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MTL_ETSALG_WRR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_XGMAC_IOWRITE_BITS
	cmpl	$0, (%r14)
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	movq	_MTL_TSA_ETS@GOTPCREL(%rip), %r15
	movq	_MTL_TC_QWR@GOTPCREL(%rip), %r12
	movq	_QW@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_MTL_TC_ETSCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_TSA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r15), %r8d
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_XGMAC_MTL_IOWRITE_BITS
	movl	(%r12), %edx
	movl	(%r13), %ecx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	$1, %r8d
	callq	_XGMAC_MTL_IOWRITE_BITS
	incl	%ebx
	cmpl	(%r14), %ebx
	jb	LBB0_2
LBB0_3:
	movq	_MTL_OMR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RAA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MTL_RAA_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_XGMAC_IOWRITE_BITS             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MTL_OMR,4,2                    ## @MTL_OMR
	.comm	_ETSALG,4,2                     ## @ETSALG
	.comm	_MTL_ETSALG_WRR,4,2             ## @MTL_ETSALG_WRR
	.comm	_MTL_TC_ETSCR,4,2               ## @MTL_TC_ETSCR
	.comm	_TSA,4,2                        ## @TSA
	.comm	_MTL_TSA_ETS,4,2                ## @MTL_TSA_ETS
	.comm	_MTL_TC_QWR,4,2                 ## @MTL_TC_QWR
	.comm	_QW,4,2                         ## @QW
	.comm	_RAA,4,2                        ## @RAA
	.comm	_MTL_RAA_SP,4,2                 ## @MTL_RAA_SP
	.no_dead_strip	_xgbe_config_mtl_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_config_mtl_mode
_xgbe_config_mtl_mode:                  ; @xgbe_config_mtl_mode
	.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	x19, x0
Lloh0:
	adrp	x21, _MTL_OMR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MTL_OMR@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x8, _ETSALG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ETSALG@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x8, _MTL_ETSALG_WRR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MTL_ETSALG_WRR@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	bl	_XGMAC_IOWRITE_BITS
	ldr	w8, [x19]
	cbz	w8, LBB0_3
; %bb.1:
	mov	w20, #0
Lloh8:
	adrp	x22, _MTL_TC_ETSCR@GOTPAGE
Lloh9:
	ldr	x22, [x22, _MTL_TC_ETSCR@GOTPAGEOFF]
Lloh10:
	adrp	x23, _TSA@GOTPAGE
Lloh11:
	ldr	x23, [x23, _TSA@GOTPAGEOFF]
Lloh12:
	adrp	x24, _MTL_TSA_ETS@GOTPAGE
Lloh13:
	ldr	x24, [x24, _MTL_TSA_ETS@GOTPAGEOFF]
Lloh14:
	adrp	x25, _MTL_TC_QWR@GOTPAGE
Lloh15:
	ldr	x25, [x25, _MTL_TC_QWR@GOTPAGEOFF]
Lloh16:
	adrp	x26, _QW@GOTPAGE
Lloh17:
	ldr	x26, [x26, _QW@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x22]
	ldr	w3, [x23]
	ldr	w4, [x24]
	mov	x0, x19
	mov	x1, x20
	bl	_XGMAC_MTL_IOWRITE_BITS
	ldr	w2, [x25]
	ldr	w3, [x26]
	mov	x0, x19
	mov	x1, x20
	mov	w4, #1
	bl	_XGMAC_MTL_IOWRITE_BITS
	add	w20, w20, #1
	ldr	w8, [x19]
	cmp	w20, w8
	b.lo	LBB0_2
LBB0_3:
	ldr	w1, [x21]
Lloh18:
	adrp	x8, _RAA@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RAA@GOTPAGEOFF]
Lloh20:
	adrp	x9, _MTL_RAA_SP@GOTPAGE
Lloh21:
	ldr	x9, [x9, _MTL_RAA_SP@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
Lloh23:
	ldr	w3, [x9]
	mov	x0, 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	_XGMAC_IOWRITE_BITS
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_MTL_OMR,4,2                    ; @MTL_OMR
	.comm	_ETSALG,4,2                     ; @ETSALG
	.comm	_MTL_ETSALG_WRR,4,2             ; @MTL_ETSALG_WRR
	.comm	_MTL_TC_ETSCR,4,2               ; @MTL_TC_ETSCR
	.comm	_TSA,4,2                        ; @TSA
	.comm	_MTL_TSA_ETS,4,2                ; @MTL_TSA_ETS
	.comm	_MTL_TC_QWR,4,2                 ; @MTL_TC_QWR
	.comm	_QW,4,2                         ; @QW
	.comm	_RAA,4,2                        ; @RAA
	.comm	_MTL_RAA_SP,4,2                 ; @MTL_RAA_SP
	.no_dead_strip	_xgbe_config_mtl_mode
.subsections_via_symbols
