	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ena_set_coalesce
_ena_set_coalesce:                      ## @ena_set_coalesce
	.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, %r14
	callq	_netdev_priv
	movq	%rax, %r12
	movq	(%rax), %r15
	movq	%r15, %rdi
	callq	_ena_com_interrupt_moderation_supported
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	12(%r14), %esi
	movq	%r15, %rdi
	callq	_ena_com_update_nonadaptive_moderation_interval_tx
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.3:
	movq	%r12, %rdi
	callq	_ena_update_tx_rings_intr_moderation
	cmpq	$0, (%r14)
	je	LBB0_6
## %bb.4:
	movq	%r15, %rdi
	callq	_ena_com_get_adaptive_moderation_enabled
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_10
## %bb.5:
	movq	%r15, %rdi
	callq	_ena_com_enable_adaptive_moderation
	jmp	LBB0_10
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_10:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	8(%r14), %esi
	movq	%r15, %rdi
	callq	_ena_com_update_nonadaptive_moderation_interval_rx
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.7:
	movq	%r12, %rdi
	callq	_ena_update_rx_rings_intr_moderation
	xorl	%ebx, %ebx
	cmpq	$0, (%r14)
	jne	LBB0_10
## %bb.8:
	movq	%r15, %rdi
	callq	_ena_com_get_adaptive_moderation_enabled
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%r15, %rdi
	callq	_ena_com_disable_adaptive_moderation
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_ena_set_coalesce
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ena_set_coalesce
_ena_set_coalesce:                      ; @ena_set_coalesce
	.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	x20, x1
	bl	_netdev_priv
	mov	x21, x0
	ldr	x19, [x0]
	mov	x0, x19
	bl	_ena_com_interrupt_moderation_supported
	cbz	w0, LBB0_5
; %bb.1:
	ldr	w1, [x20, #12]
	mov	x0, x19
	bl	_ena_com_update_nonadaptive_moderation_interval_tx
	cbnz	w0, LBB0_11
; %bb.2:
	mov	x0, x21
	bl	_ena_update_tx_rings_intr_moderation
	ldr	x8, [x20]
	cbz	x8, LBB0_6
; %bb.3:
	mov	x0, x19
	bl	_ena_com_get_adaptive_moderation_enabled
	cbnz	x0, LBB0_10
; %bb.4:
	mov	x0, x19
	bl	_ena_com_enable_adaptive_moderation
	b	LBB0_10
LBB0_5:
Lloh0:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_6:
	ldr	w1, [x20, #8]
	mov	x0, x19
	bl	_ena_com_update_nonadaptive_moderation_interval_rx
	cbnz	w0, LBB0_11
; %bb.7:
	mov	x0, x21
	bl	_ena_update_rx_rings_intr_moderation
	ldr	x8, [x20]
	cbnz	x8, LBB0_10
; %bb.8:
	mov	x0, x19
	bl	_ena_com_get_adaptive_moderation_enabled
	cbz	x0, LBB0_11
; %bb.9:
	mov	x0, x19
	bl	_ena_com_disable_adaptive_moderation
LBB0_10:
	mov	w0, #0
LBB0_11:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_ena_set_coalesce
.subsections_via_symbols
