	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmxnet3_get_ringparam
_vmxnet3_get_ringparam:                 ## @vmxnet3_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_VMXNET3_RX_RING_MAX_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_VMXNET3_TX_RING_MAX_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	%r14, %rdi
	callq	_VMXNET3_VERSION_GE_3
	xorl	%r15d, %r15d
	movl	$0, %ecx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_VMXNET3_RXDATA_DESC_MAX_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_2:
	movl	%ecx, 20(%rbx)
	movq	_VMXNET3_RX_RING2_MAX_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movl	12(%r14), %eax
	movl	%eax, 12(%rbx)
	movl	8(%r14), %eax
	movl	%eax, 8(%rbx)
	movq	%r14, %rdi
	callq	_VMXNET3_VERSION_GE_3
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	4(%r14), %r15d
LBB0_4:
	movl	%r15d, 4(%rbx)
	movl	(%r14), %eax
	movl	%eax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VMXNET3_RX_RING_MAX_SIZE,4,2   ## @VMXNET3_RX_RING_MAX_SIZE
	.comm	_VMXNET3_TX_RING_MAX_SIZE,4,2   ## @VMXNET3_TX_RING_MAX_SIZE
	.comm	_VMXNET3_RXDATA_DESC_MAX_SIZE,4,2 ## @VMXNET3_RXDATA_DESC_MAX_SIZE
	.comm	_VMXNET3_RX_RING2_MAX_SIZE,4,2  ## @VMXNET3_RX_RING2_MAX_SIZE
	.no_dead_strip	_vmxnet3_get_ringparam
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmxnet3_get_ringparam
_vmxnet3_get_ringparam:                 ; @vmxnet3_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
	mov	x20, x0
Lloh0:
	adrp	x8, _VMXNET3_RX_RING_MAX_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VMXNET3_RX_RING_MAX_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _VMXNET3_TX_RING_MAX_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VMXNET3_TX_RING_MAX_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #24]
	bl	_VMXNET3_VERSION_GE_3
Lloh6:
	adrp	x8, _VMXNET3_RXDATA_DESC_MAX_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VMXNET3_RXDATA_DESC_MAX_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	x0, #0
Lloh9:
	adrp	x9, _VMXNET3_RX_RING2_MAX_SIZE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _VMXNET3_RX_RING2_MAX_SIZE@GOTPAGEOFF]
	csel	w8, wzr, w8, eq
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
	ldr	d0, [x20, #8]
	str	d0, [x19, #8]
	mov	x0, x20
	bl	_VMXNET3_VERSION_GE_3
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x20, #4]
	b	LBB0_3
LBB0_2:
	mov	w8, #0
LBB0_3:
	ldr	w9, [x20]
	stp	w9, w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.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	_VMXNET3_RX_RING_MAX_SIZE,4,2   ; @VMXNET3_RX_RING_MAX_SIZE
	.comm	_VMXNET3_TX_RING_MAX_SIZE,4,2   ; @VMXNET3_TX_RING_MAX_SIZE
	.comm	_VMXNET3_RXDATA_DESC_MAX_SIZE,4,2 ; @VMXNET3_RXDATA_DESC_MAX_SIZE
	.comm	_VMXNET3_RX_RING2_MAX_SIZE,4,2  ; @VMXNET3_RX_RING2_MAX_SIZE
	.no_dead_strip	_vmxnet3_get_ringparam
.subsections_via_symbols
