	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ibmvnic_set_ringparam
_ibmvnic_set_ringparam:                 ## @ibmvnic_set_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movups	(%r12), %xmm0
	movups	%xmm0, 16(%rax)
	movq	%rax, %rdi
	callq	_wait_for_reset
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movq	(%rbx), %r8
	movq	(%r12), %rdx
	cmpq	%rdx, %r8
	jne	LBB0_2
## %bb.3:
	movq	8(%rbx), %r9
	movq	8(%r12), %rcx
	cmpq	%rcx, %r9
	jne	LBB0_4
	jmp	LBB0_5
LBB0_2:
	movq	8(%r12), %rcx
	movq	8(%rbx), %r9
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_netdev_info
LBB0_5:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not match full ringsize request. Requested: RX %d, TX %d; Allowed: RX %llu, TX %llu\n"

	.no_dead_strip	_ibmvnic_set_ringparam
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ibmvnic_set_ringparam
_ibmvnic_set_ringparam:                 ; @ibmvnic_set_ringparam
	.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, x1
	mov	x19, x0
	bl	_netdev_priv
	mov	x22, x0
	ldr	q0, [x21]
	str	q0, [x0, #16]
	bl	_wait_for_reset
	mov	x20, x0
	cbnz	w0, LBB0_5
; %bb.1:
	ldr	x4, [x22]
	ldr	x2, [x21]
	cmp	x4, x2
	b.ne	LBB0_3
; %bb.2:
	ldr	x5, [x22, #8]
	ldr	x3, [x21, #8]
	cmp	x5, x3
	b.ne	LBB0_4
	b	LBB0_5
LBB0_3:
	ldr	x3, [x21, #8]
	ldr	x5, [x22, #8]
LBB0_4:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netdev_info
LBB0_5:
	mov	x0, x20
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not match full ringsize request. Requested: RX %d, TX %d; Allowed: RX %llu, TX %llu\n"

	.no_dead_strip	_ibmvnic_set_ringparam
.subsections_via_symbols
