	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_update_rsc
_ixgbe_update_rsc:                      ## @ixgbe_update_rsc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	(%rdi), %ecx
	movq	_IXGBE_FLAG2_RSC_CAPABLE@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	testl	%ecx, (%rdx)
	je	LBB0_9
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	movl	(%rsi), %edx
	cmpl	$1, %edx
	je	LBB0_5
## %bb.2:
	movq	_IXGBE_MIN_RSC_ITR@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	sarl	$2, %esi
	cmpl	%esi, %edx
	jle	LBB0_3
LBB0_5:
	movq	_NETIF_F_LRO@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%esi, (%rdi)
	je	LBB0_9
## %bb.6:
	movq	_IXGBE_FLAG2_RSC_ENABLED@GOTPCREL(%rip), %r14
	testl	%ecx, (%r14)
	jne	LBB0_9
## %bb.7:
	movq	_probe@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_e_info
	movl	(%rbx), %eax
	orl	(%r14), %eax
	jmp	LBB0_8
LBB0_3:
	movq	_IXGBE_FLAG2_RSC_ENABLED@GOTPCREL(%rip), %r14
	testl	%ecx, (%r14)
	je	LBB0_9
## %bb.4:
	movq	_probe@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_e_info
	movl	(%r14), %eax
	notl	%eax
	andl	(%rbx), %eax
LBB0_8:
	movl	%eax, (%rbx)
	movl	$1, %eax
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_FLAG2_RSC_CAPABLE,4,2    ## @IXGBE_FLAG2_RSC_CAPABLE
	.comm	_IXGBE_MIN_RSC_ITR,4,2          ## @IXGBE_MIN_RSC_ITR
	.comm	_IXGBE_FLAG2_RSC_ENABLED,4,2    ## @IXGBE_FLAG2_RSC_ENABLED
	.comm	_probe,4,2                      ## @probe
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rx-usecs set too low, disabling RSC\n"

	.comm	_NETIF_F_LRO,4,2                ## @NETIF_F_LRO
L_.str.1:                               ## @.str.1
	.asciz	"rx-usecs set to %d, re-enabling RSC\n"

	.no_dead_strip	_ixgbe_update_rsc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_update_rsc
_ixgbe_update_rsc:                      ; @ixgbe_update_rsc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _IXGBE_FLAG2_RSC_CAPABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IXGBE_FLAG2_RSC_CAPABLE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.1:
	mov	x19, x0
	ldr	x10, [x0, #8]
	ldr	w9, [x1]
	cmp	w9, #1
	b.eq	LBB0_3
; %bb.2:
Lloh3:
	adrp	x11, _IXGBE_MIN_RSC_ITR@GOTPAGE
Lloh4:
	ldr	x11, [x11, _IXGBE_MIN_RSC_ITR@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	cmp	w9, w11, asr #2
	b.le	LBB0_6
LBB0_3:
	ldr	w10, [x10]
Lloh6:
	adrp	x11, _NETIF_F_LRO@GOTPAGE
Lloh7:
	ldr	x11, [x11, _NETIF_F_LRO@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_9
; %bb.4:
Lloh9:
	adrp	x20, _IXGBE_FLAG2_RSC_ENABLED@GOTPAGE
Lloh10:
	ldr	x20, [x20, _IXGBE_FLAG2_RSC_ENABLED@GOTPAGEOFF]
	ldr	w10, [x20]
	tst	w10, w8
	b.ne	LBB0_9
; %bb.5:
Lloh11:
	adrp	x8, _probe@GOTPAGE
Lloh12:
	ldr	x8, [x8, _probe@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	str	x9, [sp]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_e_info
	ldr	w8, [x20]
	ldr	w9, [x19]
	orr	w8, w9, w8
	b	LBB0_8
LBB0_6:
Lloh16:
	adrp	x20, _IXGBE_FLAG2_RSC_ENABLED@GOTPAGE
Lloh17:
	ldr	x20, [x20, _IXGBE_FLAG2_RSC_ENABLED@GOTPAGEOFF]
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.7:
Lloh18:
	adrp	x8, _probe@GOTPAGE
Lloh19:
	ldr	x8, [x8, _probe@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	bl	_e_info
	ldr	w8, [x20]
	ldr	w9, [x19]
	bic	w8, w9, w8
LBB0_8:
	str	w8, [x19]
	mov	w0, #1
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_FLAG2_RSC_CAPABLE,4,2    ; @IXGBE_FLAG2_RSC_CAPABLE
	.comm	_IXGBE_MIN_RSC_ITR,4,2          ; @IXGBE_MIN_RSC_ITR
	.comm	_IXGBE_FLAG2_RSC_ENABLED,4,2    ; @IXGBE_FLAG2_RSC_ENABLED
	.comm	_probe,4,2                      ; @probe
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rx-usecs set too low, disabling RSC\n"

	.comm	_NETIF_F_LRO,4,2                ; @NETIF_F_LRO
l_.str.1:                               ; @.str.1
	.asciz	"rx-usecs set to %d, re-enabling RSC\n"

	.no_dead_strip	_ixgbe_update_rsc
.subsections_via_symbols
