	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aq_ethtool_set_coalesce
_aq_ethtool_set_coalesce:               ## @aq_ethtool_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_aq_nic_get_cfg
	cmpq	$0, 64(%rbx)
	jne	LBB0_2
## %bb.1:
	cmpq	$0, 56(%rbx)
	jne	LBB0_2
## %bb.4:
	movl	(%rbx), %edx
	cmpl	$1, %edx
	jg	LBB0_2
## %bb.5:
	cmpq	$0, 48(%rbx)
	jne	LBB0_2
## %bb.6:
	cmpq	$0, 40(%rbx)
	jne	LBB0_2
## %bb.7:
	movl	4(%rbx), %esi
	cmpl	$1, %esi
	jg	LBB0_2
## %bb.8:
	cmpq	$0, 32(%rbx)
	jne	LBB0_2
## %bb.9:
	cmpq	$0, 24(%rbx)
	jne	LBB0_2
## %bb.10:
	movq	8(%rbx), %rcx
	xorl	%edi, %edi
	testq	%rcx, %rcx
	sete	%dil
	cmpl	%edi, %edx
	jne	LBB0_2
## %bb.11:
	movq	16(%rbx), %rdx
	xorl	%edi, %edi
	testq	%rdx, %rdx
	sete	%dil
	cmpl	%edi, %esi
	jne	LBB0_2
## %bb.12:
	movq	_AQ_CFG_INTERRUPT_MODERATION_USEC_MAX@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	cmpq	%rsi, %rcx
	jg	LBB0_14
## %bb.13:
	cmpq	%rsi, %rdx
	jg	LBB0_14
## %bb.15:
	movq	_AQ_CFG_INTERRUPT_MODERATION_ON@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, 16(%rax)
	movq	%rcx, (%rax)
	movq	%rdx, 8(%rax)
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_aq_nic_update_interrupt_moderation_settings ## TAILCALL
LBB0_2:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_14:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_AQ_CFG_INTERRUPT_MODERATION_USEC_MAX,8,3 ## @AQ_CFG_INTERRUPT_MODERATION_USEC_MAX
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AQ_CFG_INTERRUPT_MODERATION_ON,4,2 ## @AQ_CFG_INTERRUPT_MODERATION_ON
	.no_dead_strip	_aq_ethtool_set_coalesce
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aq_ethtool_set_coalesce
_aq_ethtool_set_coalesce:               ; @aq_ethtool_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	x20, x1
	bl	_netdev_priv
	mov	x19, x0
	bl	_aq_nic_get_cfg
	ldr	x8, [x20, #64]
	cbnz	x8, LBB0_13
; %bb.1:
	ldr	x8, [x20, #56]
	cbnz	x8, LBB0_13
; %bb.2:
	ldr	w9, [x20]
	cmp	w9, #1
	b.gt	LBB0_13
; %bb.3:
	ldr	x8, [x20, #48]
	cbnz	x8, LBB0_13
; %bb.4:
	ldr	x8, [x20, #40]
	cbnz	x8, LBB0_13
; %bb.5:
	ldr	w10, [x20, #4]
	cmp	w10, #1
	b.gt	LBB0_13
; %bb.6:
	ldr	x8, [x20, #32]
	cbnz	x8, LBB0_13
; %bb.7:
	ldr	x8, [x20, #24]
	cbnz	x8, LBB0_13
; %bb.8:
	ldr	x8, [x20, #8]
	cmp	x8, #0
	cset	w11, eq
	cmp	w9, w11
	b.ne	LBB0_13
; %bb.9:
	ldr	x9, [x20, #16]
	cmp	x9, #0
	cset	w11, eq
	cmp	w10, w11
	b.ne	LBB0_13
; %bb.10:
Lloh0:
	adrp	x10, _AQ_CFG_INTERRUPT_MODERATION_USEC_MAX@GOTPAGE
Lloh1:
	ldr	x10, [x10, _AQ_CFG_INTERRUPT_MODERATION_USEC_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x8, x10
	b.gt	LBB0_15
; %bb.11:
	cmp	x9, x10
	b.gt	LBB0_15
; %bb.12:
Lloh3:
	adrp	x10, _AQ_CFG_INTERRUPT_MODERATION_ON@GOTPAGE
Lloh4:
	ldr	x10, [x10, _AQ_CFG_INTERRUPT_MODERATION_ON@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	str	w10, [x0, #16]
	stp	x8, x9, [x0]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_aq_nic_update_interrupt_moderation_settings
LBB0_13:
Lloh6:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_14:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_15:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_AQ_CFG_INTERRUPT_MODERATION_USEC_MAX,8,3 ; @AQ_CFG_INTERRUPT_MODERATION_USEC_MAX
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AQ_CFG_INTERRUPT_MODERATION_ON,4,2 ; @AQ_CFG_INTERRUPT_MODERATION_ON
	.no_dead_strip	_aq_ethtool_set_coalesce
.subsections_via_symbols
