	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_set_rc_coalesce
_ice_set_rc_coalesce:                   ## @ice_set_rc_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	cmpl	$129, %edi
	leaq	L_.str(%rip), %rax
	leaq	L_.str.1(%rip), %r13
	cmoveq	%rax, %r13
	movq	8(%rdx), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rcx, %r15
	movq	%rsi, %r12
	movl	%edi, %edx
	cmpl	$128, %edi
	je	LBB0_5
## %bb.2:
	movq	8(%r15), %rbx
	cmpl	$129, %edx
	jne	LBB0_8
## %bb.3:
	movl	20(%r12), %edx
	movq	_ICE_MAX_INTRL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	cmpl	%r8d, %edx
	jle	LBB0_10
## %bb.4:
	movl	8(%rbx), %ecx
	jmp	LBB0_12
LBB0_5:
	cmpl	$0, 16(%r12)
	je	LBB0_13
## %bb.6:
	movl	(%r15), %edi
	leaq	L_.str.3(%rip), %rsi
LBB0_7:
	xorl	%ebx, %ebx
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_netdev_info
	jmp	LBB0_22
LBB0_8:
	movq	(%rbx), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_dev_dbg
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_23
LBB0_10:
	testl	%edx, %edx
	je	LBB0_14
## %bb.11:
	movl	8(%rbx), %ecx
	cmpl	%ecx, %edx
	jge	LBB0_14
LBB0_12:
	movl	(%r15), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_netdev_info
	jmp	LBB0_22
LBB0_13:
	leaq	8(%r12), %rcx
	addq	$12, %r12
	movq	%r12, %rax
	movq	%rcx, %r12
	jmp	LBB0_17
LBB0_14:
	movq	(%rax), %rax
	cmpl	4(%rax), %edx
	je	LBB0_16
## %bb.15:
	movl	%edx, 4(%rax)
	leaq	8(%rbx), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	(%rax), %edi
	callq	_GLINT_RATE
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	20(%r12), %edi
	movl	8(%rbx), %esi
	callq	_ice_intrl_usec_to_reg
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	callq	_wr32
LBB0_16:
	movq	%r12, %rax
	addq	$4, %rax
LBB0_17:
	movl	(%r12), %esi
	movl	(%rax), %edi
	movl	(%r14), %eax
	movq	_ICE_ITR_DYNAMIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%edx, %ecx
	notl	%ecx
	andl	%eax, %ecx
	cmpl	%ecx, %edi
	je	LBB0_20
## %bb.18:
	testl	%esi, %esi
	je	LBB0_20
## %bb.19:
	movl	(%r15), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r13, %rdx
	movq	%r13, %rcx
	xorl	%eax, %eax
	callq	_netdev_info
	jmp	LBB0_22
LBB0_20:
	movq	_ICE_ITR_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %edi
	jle	LBB0_25
## %bb.21:
	movl	(%r15), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_netdev_info
LBB0_22:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_23:
	subl	(%rax), %ebx
LBB0_24:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	testb	$1, %dil
	jne	LBB0_28
## %bb.26:
	testl	%esi, %esi
	je	LBB0_29
## %bb.27:
	orl	%eax, %edx
	movl	%edx, (%r14)
	jmp	LBB0_30
LBB0_28:
	movl	(%r15), %edi
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_7
LBB0_29:
	movl	%edi, (%r14)
	callq	_ITR_REG_ALIGN
	movl	%eax, %edi
	callq	_ITR_TO_REG
	movl	%eax, 4(%r14)
LBB0_30:
	xorl	%ebx, %ebx
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rx"

L_.str.1:                               ## @.str.1
	.asciz	"tx"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ICE_MAX_INTRL,4,2              ## @ICE_MAX_INTRL
L_.str.2:                               ## @.str.2
	.asciz	"Invalid value, %s-usecs-high valid values are 0 (disabled), %d-%d\n"

L_.str.3:                               ## @.str.3
	.asciz	"setting %s-usecs-high is not supported\n"

L_.str.4:                               ## @.str.4
	.asciz	"Invalid container type %d\n"

	.comm	_ICE_ITR_DYNAMIC,4,2            ## @ICE_ITR_DYNAMIC
L_.str.5:                               ## @.str.5
	.asciz	"%s interrupt throttling cannot be changed if adaptive-%s is enabled\n"

	.comm	_ICE_ITR_MAX,4,2                ## @ICE_ITR_MAX
L_.str.6:                               ## @.str.6
	.asciz	"Invalid value, %s-usecs range is 0-%d\n"

L_.str.7:                               ## @.str.7
	.asciz	"Invalid value, %s-usecs must be even\n"

	.no_dead_strip	_ice_set_rc_coalesce
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_set_rc_coalesce
_ice_set_rc_coalesce:                   ; @ice_set_rc_coalesce
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x2
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh2:
	adrp	x9, l_.str@PAGE
Lloh3:
	add	x9, x9, l_.str@PAGEOFF
	cmp	w0, #129
	csel	x19, x9, x8, eq
	ldr	x8, [x2, #8]
	cbz	x8, LBB0_20
; %bb.1:
	mov	x21, x3
	mov	x22, x1
	mov	x2, x0
	cmp	w0, #128
	b.eq	LBB0_5
; %bb.2:
	ldr	x23, [x21, #8]
	cmp	w2, #129
	b.ne	LBB0_7
; %bb.3:
	ldr	w9, [x22, #20]
Lloh4:
	adrp	x10, _ICE_MAX_INTRL@GOTPAGE
Lloh5:
	ldr	x10, [x10, _ICE_MAX_INTRL@GOTPAGEOFF]
Lloh6:
	ldr	w10, [x10]
	cmp	w9, w10
	b.le	LBB0_8
; %bb.4:
	ldr	w11, [x23, #8]
	b	LBB0_10
LBB0_5:
	ldr	w8, [x22, #16]
	cbz	w8, LBB0_11
; %bb.6:
	ldr	w0, [x21]
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_19
LBB0_7:
	ldr	x0, [x23]
Lloh9:
	adrp	x1, l_.str.4@PAGE
Lloh10:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_dev_dbg
	b	LBB0_20
LBB0_8:
	cbz	w9, LBB0_12
; %bb.9:
	ldr	w11, [x23, #8]
	cmp	w9, w11
	b.ge	LBB0_12
LBB0_10:
	ldr	w0, [x21]
	stp	x11, x10, [sp]
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_19
LBB0_11:
	add	x8, x22, #12
	add	x22, x22, #8
	b	LBB0_15
LBB0_12:
	ldr	x8, [x8]
	ldr	w10, [x8, #4]
	cmp	w9, w10
	b.eq	LBB0_14
; %bb.13:
	str	w9, [x8, #4]
	ldr	w0, [x8]
	bl	_GLINT_RATE
	mov	x24, x0
	ldr	w0, [x22, #20]
	ldr	w1, [x23, #8]!
	bl	_ice_intrl_usec_to_reg
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	_wr32
LBB0_14:
	add	x8, x22, #4
LBB0_15:
	ldr	w9, [x22]
	ldr	w0, [x8]
	ldr	w8, [x20]
Lloh13:
	adrp	x10, _ICE_ITR_DYNAMIC@GOTPAGE
Lloh14:
	ldr	x10, [x10, _ICE_ITR_DYNAMIC@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	bic	w11, w8, w10
	cmp	w0, w11
	ccmp	w9, #0, #4, ne
	b.ne	LBB0_18
; %bb.16:
Lloh16:
	adrp	x11, _ICE_ITR_MAX@GOTPAGE
Lloh17:
	ldr	x11, [x11, _ICE_ITR_MAX@GOTPAGEOFF]
Lloh18:
	ldr	w11, [x11]
	cmp	w0, w11
	b.le	LBB0_22
; %bb.17:
	ldr	w0, [x21]
	str	x11, [sp]
Lloh19:
	adrp	x1, l_.str.6@PAGE
Lloh20:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_19
LBB0_18:
	ldr	w0, [x21]
	str	x19, [sp]
Lloh21:
	adrp	x1, l_.str.5@PAGE
Lloh22:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_19:
	mov	x2, x19
	bl	_netdev_info
LBB0_20:
Lloh23:
	adrp	x8, _EINVAL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_21:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_22:
	tbnz	w0, #0, LBB0_25
; %bb.23:
	cbz	w9, LBB0_26
; %bb.24:
	mov	w0, #0
	orr	w8, w10, w8
	str	w8, [x20]
	b	LBB0_21
LBB0_25:
	ldr	w0, [x21]
Lloh26:
	adrp	x1, l_.str.7@PAGE
Lloh27:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_19
LBB0_26:
	str	w0, [x20]
	bl	_ITR_REG_ALIGN
	bl	_ITR_TO_REG
	mov	x8, x0
	mov	w0, #0
	str	w8, [x20, #4]
	b	LBB0_21
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rx"

l_.str.1:                               ; @.str.1
	.asciz	"tx"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ICE_MAX_INTRL,4,2              ; @ICE_MAX_INTRL
l_.str.2:                               ; @.str.2
	.asciz	"Invalid value, %s-usecs-high valid values are 0 (disabled), %d-%d\n"

l_.str.3:                               ; @.str.3
	.asciz	"setting %s-usecs-high is not supported\n"

l_.str.4:                               ; @.str.4
	.asciz	"Invalid container type %d\n"

	.comm	_ICE_ITR_DYNAMIC,4,2            ; @ICE_ITR_DYNAMIC
l_.str.5:                               ; @.str.5
	.asciz	"%s interrupt throttling cannot be changed if adaptive-%s is enabled\n"

	.comm	_ICE_ITR_MAX,4,2                ; @ICE_ITR_MAX
l_.str.6:                               ; @.str.6
	.asciz	"Invalid value, %s-usecs range is 0-%d\n"

l_.str.7:                               ; @.str.7
	.asciz	"Invalid value, %s-usecs must be even\n"

	.no_dead_strip	_ice_set_rc_coalesce
.subsections_via_symbols
