	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_set_coalesce
_ixgbe_set_coalesce:                    ## @ixgbe_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	16(%rax), %rax
	movq	(%rax), %rax
	cmpq	$0, 16(%rax)
	je	LBB0_4
## %bb.1:
	cmpq	$0, 8(%rax)
	je	LBB0_4
## %bb.2:
	cmpl	$0, (%r12)
	jne	LBB0_3
LBB0_4:
	movq	_IXGBE_MAX_EITR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	sarl	$2, %eax
	cmpl	%eax, 4(%r12)
	jg	LBB0_3
## %bb.5:
	cmpl	%eax, (%r12)
	jle	LBB0_6
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_20:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_ixgbe_update_rsc
	movl	4(%r12), %ecx
	leal	(,%rcx,4), %edx
	cmpl	$2, %ecx
	cmovll	%ecx, %edx
	movl	%edx, (%rbx)
	cmpl	$1, %edx
	jne	LBB0_7
## %bb.8:
	movq	_IXGBE_20K_ITR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r13
	jmp	LBB0_9
LBB0_7:
	movslq	%edx, %r13
LBB0_9:
	movl	(%r12), %ecx
	leal	(,%rcx,4), %edx
	cmpl	$2, %ecx
	cmovll	%ecx, %edx
	movl	%edx, 4(%rbx)
	cmpl	$1, %edx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jne	LBB0_10
## %bb.11:
	movq	_IXGBE_10K_ITR@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	cmpl	$0, 8(%rbx)
	jg	LBB0_13
	jmp	LBB0_18
LBB0_10:
	movslq	%edx, %r12
	cmpl	$0, 8(%rbx)
	jle	LBB0_18
LBB0_13:
	xorl	%r15d, %r15d
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%r13, %rax
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%rax, (%rdi)
	callq	_ixgbe_write_eitr
	incq	%r15
	movslq	8(%rbx), %rax
	cmpq	%rax, %r15
	jge	LBB0_18
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rax
	movq	(%rax,%r15,8), %rdi
	cmpq	$0, 16(%rdi)
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpq	$0, 8(%rdi)
	movq	%r12, %rax
	jne	LBB0_16
	jmp	LBB0_17
LBB0_18:
	xorl	%ebx, %ebx
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_20
## %bb.19:
	movq	%r14, %rdi
	callq	_ixgbe_do_reset
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IXGBE_MAX_EITR,4,2             ## @IXGBE_MAX_EITR
	.comm	_IXGBE_20K_ITR,8,3              ## @IXGBE_20K_ITR
	.comm	_IXGBE_10K_ITR,8,3              ## @IXGBE_10K_ITR
	.no_dead_strip	_ixgbe_set_coalesce
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_set_coalesce
_ixgbe_set_coalesce:                    ; @ixgbe_set_coalesce
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x1
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_3
; %bb.1:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w8, [x22]
	cbnz	w8, LBB0_5
LBB0_3:
	ldr	w9, [x22, #4]
Lloh0:
	adrp	x8, _IXGBE_MAX_EITR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_MAX_EITR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	asr	w8, w8, #2
	cmp	w9, w8
	b.gt	LBB0_5
; %bb.4:
	ldr	w9, [x22]
	cmp	w9, w8
	b.le	LBB0_7
LBB0_5:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x0, x20
	mov	x1, x22
	bl	_ixgbe_update_rsc
	mov	x21, x0
	ldr	w8, [x22, #4]
	lsl	w9, w8, #2
	cmp	w8, #1
	csel	w8, w9, w8, gt
Lloh6:
	adrp	x9, _IXGBE_20K_ITR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IXGBE_20K_ITR@GOTPAGEOFF]
	str	w8, [x20]
Lloh8:
	ldr	x9, [x9]
	sxtw	x10, w8
	cmp	w8, #1
	csel	x23, x9, x10, eq
	ldr	w8, [x22]
	lsl	w9, w8, #2
	cmp	w8, #1
	csel	w8, w9, w8, gt
	str	w8, [x20, #4]
Lloh9:
	adrp	x9, _IXGBE_10K_ITR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IXGBE_10K_ITR@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	sxtw	x10, w8
	cmp	w8, #1
	csel	x22, x9, x10, eq
	ldr	w8, [x20, #8]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.8:
	mov	x24, #0
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	mov	x8, x23
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	str	x8, [x0]
	bl	_ixgbe_write_eitr
	add	x24, x24, #1
	ldrsw	x8, [x20, #8]
	cmp	x24, x8
	b.ge	LBB0_13
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	ldr	x0, [x8, x24, lsl #3]
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x9, [x0, #8]
	mov	x8, x22
	cbnz	x9, LBB0_9
	b	LBB0_10
LBB0_13:
	cbz	w21, LBB0_15
; %bb.14:
	mov	x0, x19
	bl	_ixgbe_do_reset
LBB0_15:
	mov	w0, #0
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IXGBE_MAX_EITR,4,2             ; @IXGBE_MAX_EITR
	.comm	_IXGBE_20K_ITR,8,3              ; @IXGBE_20K_ITR
	.comm	_IXGBE_10K_ITR,8,3              ; @IXGBE_10K_ITR
	.no_dead_strip	_ixgbe_set_coalesce
.subsections_via_symbols
