	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ena_set_ringparam
_ena_set_ringparam:                     ## @ena_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, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	(%rbx), %rax
	movq	_ENA_MIN_RING_SIZE@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	cmpq	%rdi, %rax
	cmovgq	%rax, %rdi
	callq	_rounddown_pow_of_two
	movq	%rax, %r15
	movq	8(%rbx), %rax
	movq	(%r12), %rdi
	cmpq	%rdi, %rax
	cmovgq	%rax, %rdi
	callq	_rounddown_pow_of_two
	cmpq	(%r14), %r15
	jne	LBB0_3
## %bb.1:
	cmpq	8(%r14), %rax
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ena_update_queue_sizes         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENA_MIN_RING_SIZE,8,3          ## @ENA_MIN_RING_SIZE
	.no_dead_strip	_ena_set_ringparam
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ena_set_ringparam
_ena_set_ringparam:                     ; @ena_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
	bl	_netdev_priv
	mov	x19, x0
	ldr	x8, [x21]
Lloh0:
	adrp	x22, _ENA_MIN_RING_SIZE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ENA_MIN_RING_SIZE@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	csel	x0, x8, x9, gt
	bl	_rounddown_pow_of_two
	mov	x20, x0
	ldr	x8, [x21, #8]
	ldr	x9, [x22]
	cmp	x8, x9
	csel	x0, x8, x9, gt
	bl	_rounddown_pow_of_two
	mov	x2, x0
	ldr	x8, [x19]
	cmp	x20, x8
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
	cmp	x2, x8
	b.ne	LBB0_3
; %bb.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
LBB0_3:
	mov	x0, x19
	mov	x1, 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
	b	_ena_update_queue_sizes
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ENA_MIN_RING_SIZE,8,3          ; @ENA_MIN_RING_SIZE
	.no_dead_strip	_ena_set_ringparam
.subsections_via_symbols
