	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_get_ringparam
_e1000_get_ringparam:                   ## @e1000_get_ringparam
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_netdev_priv
	movq	16(%rax), %rcx
	movq	(%rax), %rdx
	movq	8(%rax), %rax
	movq	_e1000_82544@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	movq	_E1000_MAX_82544_RXD@GOTPCREL(%rip), %rcx
	cmovlq	_E1000_MAX_RXD@GOTPCREL(%rip), %rcx
	movq	_E1000_MAX_82544_TXD@GOTPCREL(%rip), %rsi
	cmovlq	_E1000_MAX_TXD@GOTPCREL(%rip), %rsi
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rbx)
	movl	(%rsi), %ecx
	movl	%ecx, 8(%rbx)
	movl	(%rdx), %ecx
	movl	%ecx, 4(%rbx)
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_e1000_82544,8,3                ## @e1000_82544
	.comm	_E1000_MAX_RXD,4,2              ## @E1000_MAX_RXD
	.comm	_E1000_MAX_82544_RXD,4,2        ## @E1000_MAX_82544_RXD
	.comm	_E1000_MAX_TXD,4,2              ## @E1000_MAX_TXD
	.comm	_E1000_MAX_82544_TXD,4,2        ## @E1000_MAX_82544_TXD
	.no_dead_strip	_e1000_get_ringparam
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_get_ringparam
_e1000_get_ringparam:                   ; @e1000_get_ringparam
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_netdev_priv
	ldp	x9, x8, [x0, #8]
	ldr	x10, [x0]
Lloh0:
	adrp	x11, _e1000_82544@GOTPAGE
Lloh1:
	ldr	x11, [x11, _e1000_82544@GOTPAGEOFF]
Lloh2:
	adrp	x12, _E1000_MAX_RXD@GOTPAGE
Lloh3:
	ldr	x12, [x12, _E1000_MAX_RXD@GOTPAGEOFF]
Lloh4:
	ldr	x11, [x11]
Lloh5:
	adrp	x13, _E1000_MAX_82544_RXD@GOTPAGE
Lloh6:
	ldr	x13, [x13, _E1000_MAX_82544_RXD@GOTPAGEOFF]
	cmp	x8, x11
	csel	x8, x12, x13, lt
	ldr	w8, [x8]
	str	w8, [x19, #12]
Lloh7:
	adrp	x8, _E1000_MAX_TXD@GOTPAGE
Lloh8:
	ldr	x8, [x8, _E1000_MAX_TXD@GOTPAGEOFF]
Lloh9:
	adrp	x11, _E1000_MAX_82544_TXD@GOTPAGE
Lloh10:
	ldr	x11, [x11, _E1000_MAX_82544_TXD@GOTPAGEOFF]
	csel	x8, x8, x11, lt
	ldr	w8, [x8]
	str	w8, [x19, #8]
	ldr	w8, [x10]
	ldr	w9, [x9]
	stp	w9, w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_e1000_82544,8,3                ; @e1000_82544
	.comm	_E1000_MAX_RXD,4,2              ; @E1000_MAX_RXD
	.comm	_E1000_MAX_82544_RXD,4,2        ; @E1000_MAX_82544_RXD
	.comm	_E1000_MAX_TXD,4,2              ; @E1000_MAX_TXD
	.comm	_E1000_MAX_82544_TXD,4,2        ; @E1000_MAX_82544_TXD
	.no_dead_strip	_e1000_get_ringparam
.subsections_via_symbols
