	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_set_coalesce
_fm10k_set_coalesce:                    ## @fm10k_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_netdev_priv
	movq	(%rbx), %rsi
	movq	_FM10K_ITR_MAX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rsi
	jg	LBB0_2
## %bb.1:
	movq	8(%rbx), %rdx
	cmpq	%rcx, %rdx
	jle	LBB0_3
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_12:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movq	_FM10K_ITR_ADAPTIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_FM10K_TX_ITR_DEFAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%edi, %ecx
	cmpq	$0, 24(%rbx)
	movslq	%ecx, %rcx
	cmoveq	%rdx, %rcx
	movq	_FM10K_RX_ITR_DEFAULT@GOTPCREL(%rip), %rdx
	orl	(%rdx), %edi
	cmpq	$0, 16(%rbx)
	movslq	%edi, %rdx
	cmoveq	%rsi, %rdx
	movq	%rcx, 24(%rax)
	movq	%rdx, 16(%rax)
	movl	(%rax), %r9d
	testl	%r9d, %r9d
	jle	LBB0_4
## %bb.5:
	movq	8(%rax), %rdi
	leaq	-1(%r9), %rbx
	movl	%r9d, %r8d
	andl	$3, %r8d
	xorl	%eax, %eax
	cmpq	$3, %rbx
	jae	LBB0_7
## %bb.6:
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_4:
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_7:
	andl	$-4, %r9d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%rbx,8), %rsi
	movq	%rcx, 8(%rsi)
	movq	%rdx, (%rsi)
	movq	8(%rdi,%rbx,8), %rsi
	movq	%rcx, 8(%rsi)
	movq	%rdx, (%rsi)
	movq	16(%rdi,%rbx,8), %rsi
	movq	%rcx, 8(%rsi)
	movq	%rdx, (%rsi)
	movq	24(%rdi,%rbx,8), %rsi
	movq	%rcx, 8(%rsi)
	movq	%rdx, (%rsi)
	addq	$4, %rbx
	cmpq	%rbx, %r9
	jne	LBB0_8
LBB0_9:
	testq	%r8, %r8
	je	LBB0_12
## %bb.10:
	leaq	(%rdi,%rbx,8), %rsi
	xorl	%eax, %eax
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rdi,8), %rbx
	movq	%rcx, 8(%rbx)
	movq	%rdx, (%rbx)
	incq	%rdi
	cmpq	%rdi, %r8
	jne	LBB0_11
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_FM10K_ITR_MAX,8,3              ## @FM10K_ITR_MAX
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_FM10K_ITR_ADAPTIVE,4,2         ## @FM10K_ITR_ADAPTIVE
	.comm	_FM10K_TX_ITR_DEFAULT,4,2       ## @FM10K_TX_ITR_DEFAULT
	.comm	_FM10K_RX_ITR_DEFAULT,4,2       ## @FM10K_RX_ITR_DEFAULT
	.no_dead_strip	_fm10k_set_coalesce
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fm10k_set_coalesce
_fm10k_set_coalesce:                    ; @fm10k_set_coalesce
	.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
	ldr	x9, [x19]
Lloh0:
	adrp	x8, _FM10K_ITR_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FM10K_ITR_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x8]
	cmp	x9, x10
	b.gt	LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	cmp	x8, x10
	b.le	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_3:
Lloh6:
	adrp	x10, _FM10K_ITR_ADAPTIVE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _FM10K_ITR_ADAPTIVE@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
Lloh9:
	adrp	x11, _FM10K_TX_ITR_DEFAULT@GOTPAGE
Lloh10:
	ldr	x11, [x11, _FM10K_TX_ITR_DEFAULT@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	orr	w11, w11, w10
	sxtw	x11, w11
	ldp	x13, x12, [x19, #16]
	cmp	x12, #0
	csel	x8, x8, x11, eq
Lloh12:
	adrp	x11, _FM10K_RX_ITR_DEFAULT@GOTPAGE
Lloh13:
	ldr	x11, [x11, _FM10K_RX_ITR_DEFAULT@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	orr	w10, w11, w10
	sxtw	x10, w10
	cmp	x13, #0
	csel	x9, x9, x10, eq
	stp	x9, x8, [x0, #16]
	ldr	w10, [x0]
	cmp	w10, #1
	b.lt	LBB0_6
; %bb.4:
	ldr	x11, [x0, #8]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x11], #8
	stp	x9, x8, [x12]
	subs	x10, x10, #1
	b.ne	LBB0_5
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FM10K_ITR_MAX,8,3              ; @FM10K_ITR_MAX
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_FM10K_ITR_ADAPTIVE,4,2         ; @FM10K_ITR_ADAPTIVE
	.comm	_FM10K_TX_ITR_DEFAULT,4,2       ; @FM10K_TX_ITR_DEFAULT
	.comm	_FM10K_RX_ITR_DEFAULT,4,2       ; @FM10K_RX_ITR_DEFAULT
	.no_dead_strip	_fm10k_set_coalesce
.subsections_via_symbols
