	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_tx_maxrate
_ixgbe_tx_maxrate:                      ## @ixgbe_tx_maxrate
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r14d
	callq	_netdev_priv
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_ixgbe_link_mbps
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	movq	_IXGBE_RTTBCNRC_RF_INT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	cltd
	idivl	%ebx
	movq	_IXGBE_RTTBCNRC_RF_INT_MASK@GOTPCREL(%rip), %rcx
	movq	_IXGBE_RTTBCNRC_RF_DEC_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	orl	(%rcx), %ebx
	andl	%eax, %ebx
	movq	_IXGBE_RTTBCNRC_RS_ENA@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_IXGBE_RTTDQSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_IXGBE_WRITE_REG
	movq	_IXGBE_RTTBCNRC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_IXGBE_WRITE_REG
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_RTTBCNRC_RF_INT_SHIFT,4,2 ## @IXGBE_RTTBCNRC_RF_INT_SHIFT
	.comm	_IXGBE_RTTBCNRC_RF_INT_MASK,4,2 ## @IXGBE_RTTBCNRC_RF_INT_MASK
	.comm	_IXGBE_RTTBCNRC_RF_DEC_MASK,4,2 ## @IXGBE_RTTBCNRC_RF_DEC_MASK
	.comm	_IXGBE_RTTBCNRC_RS_ENA,4,2      ## @IXGBE_RTTBCNRC_RS_ENA
	.comm	_IXGBE_RTTDQSEL,4,2             ## @IXGBE_RTTDQSEL
	.comm	_IXGBE_RTTBCNRC,4,2             ## @IXGBE_RTTBCNRC
	.no_dead_strip	_ixgbe_tx_maxrate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_tx_maxrate
_ixgbe_tx_maxrate:                      ; @ixgbe_tx_maxrate
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x2
	mov	x20, x1
	bl	_netdev_priv
	mov	x19, x0
	bl	_ixgbe_link_mbps
	cbz	w21, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _IXGBE_RTTBCNRC_RF_INT_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_RTTBCNRC_RF_INT_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w8, w0, w8
	sdiv	w8, w8, w21
Lloh3:
	adrp	x9, _IXGBE_RTTBCNRC_RF_INT_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IXGBE_RTTBCNRC_RF_INT_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _IXGBE_RTTBCNRC_RF_DEC_MASK@GOTPAGE
Lloh7:
	ldr	x10, [x10, _IXGBE_RTTBCNRC_RF_DEC_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh9:
	adrp	x10, _IXGBE_RTTBCNRC_RS_ENA@GOTPAGE
Lloh10:
	ldr	x10, [x10, _IXGBE_RTTBCNRC_RS_ENA@GOTPAGEOFF]
	and	w8, w9, w8
Lloh11:
	ldr	w9, [x10]
	orr	w21, w8, w9
Lloh12:
	adrp	x8, _IXGBE_RTTDQSEL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IXGBE_RTTDQSEL@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_IXGBE_WRITE_REG
Lloh15:
	adrp	x8, _IXGBE_RTTBCNRC@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IXGBE_RTTBCNRC@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_IXGBE_WRITE_REG
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_RTTBCNRC_RF_INT_SHIFT,4,2 ; @IXGBE_RTTBCNRC_RF_INT_SHIFT
	.comm	_IXGBE_RTTBCNRC_RF_INT_MASK,4,2 ; @IXGBE_RTTBCNRC_RF_INT_MASK
	.comm	_IXGBE_RTTBCNRC_RF_DEC_MASK,4,2 ; @IXGBE_RTTBCNRC_RF_DEC_MASK
	.comm	_IXGBE_RTTBCNRC_RS_ENA,4,2      ; @IXGBE_RTTBCNRC_RS_ENA
	.comm	_IXGBE_RTTDQSEL,4,2             ; @IXGBE_RTTDQSEL
	.comm	_IXGBE_RTTBCNRC,4,2             ; @IXGBE_RTTBCNRC
	.no_dead_strip	_ixgbe_tx_maxrate
.subsections_via_symbols
