	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __netvsc_get_ringparam
___netvsc_get_ringparam:                ## @__netvsc_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
	movl	20(%rdi), %eax
	movl	%eax, 12(%rsi)
	movl	16(%rdi), %eax
	movl	%eax, 8(%rsi)
	movq	(%rdi), %rax
	movq	_NVSP_PROTOCOL_VERSION_2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_1
## %bb.2:
	movq	_NETVSC_RECEIVE_BUFFER_SIZE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_NETVSC_RECEIVE_BUFFER_SIZE_LEGACY@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	cltd
	idivl	8(%rdi)
	movl	%eax, (%rsi)
	movq	_NETVSC_SEND_BUFFER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cltd
	idivl	12(%rdi)
	movl	%eax, 4(%rsi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVSP_PROTOCOL_VERSION_2,8,3    ## @NVSP_PROTOCOL_VERSION_2
	.comm	_NETVSC_RECEIVE_BUFFER_SIZE_LEGACY,4,2 ## @NETVSC_RECEIVE_BUFFER_SIZE_LEGACY
	.comm	_NETVSC_RECEIVE_BUFFER_SIZE,4,2 ## @NETVSC_RECEIVE_BUFFER_SIZE
	.comm	_NETVSC_SEND_BUFFER_SIZE,4,2    ## @NETVSC_SEND_BUFFER_SIZE
	.no_dead_strip	___netvsc_get_ringparam
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __netvsc_get_ringparam
___netvsc_get_ringparam:                ; @__netvsc_get_ringparam
	.cfi_startproc
; %bb.0:
	ldr	d0, [x0, #16]
	str	d0, [x1, #8]
Lloh0:
	adrp	x8, _NVSP_PROTOCOL_VERSION_2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVSP_PROTOCOL_VERSION_2@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x10, _NETVSC_RECEIVE_BUFFER_SIZE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _NETVSC_RECEIVE_BUFFER_SIZE@GOTPAGEOFF]
Lloh5:
	adrp	x11, _NETVSC_RECEIVE_BUFFER_SIZE_LEGACY@GOTPAGE
Lloh6:
	ldr	x11, [x11, _NETVSC_RECEIVE_BUFFER_SIZE_LEGACY@GOTPAGEOFF]
	cmp	x9, x8
	csel	x8, x10, x11, gt
	ldr	w8, [x8]
	ldp	w9, w10, [x0, #8]
	sdiv	w8, w8, w9
	str	w8, [x1]
Lloh7:
	adrp	x8, _NETVSC_SEND_BUFFER_SIZE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NETVSC_SEND_BUFFER_SIZE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	sdiv	w8, w8, w10
	str	w8, [x1, #4]
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NVSP_PROTOCOL_VERSION_2,8,3    ; @NVSP_PROTOCOL_VERSION_2
	.comm	_NETVSC_RECEIVE_BUFFER_SIZE_LEGACY,4,2 ; @NETVSC_RECEIVE_BUFFER_SIZE_LEGACY
	.comm	_NETVSC_RECEIVE_BUFFER_SIZE,4,2 ; @NETVSC_RECEIVE_BUFFER_SIZE
	.comm	_NETVSC_SEND_BUFFER_SIZE,4,2    ; @NETVSC_SEND_BUFFER_SIZE
	.no_dead_strip	___netvsc_get_ringparam
.subsections_via_symbols
