	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ionic_set_coalesce
_ionic_set_coalesce:                    ## @ionic_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_netdev_priv
	cmpq	$0, 168(%rbx)
	jne	LBB0_20
## %bb.1:
	cmpq	$0, 160(%rbx)
	jne	LBB0_20
## %bb.2:
	cmpq	$0, 152(%rbx)
	jne	LBB0_20
## %bb.3:
	cmpq	$0, 144(%rbx)
	jne	LBB0_20
## %bb.4:
	cmpq	$0, 136(%rbx)
	jne	LBB0_20
## %bb.5:
	cmpq	$0, 128(%rbx)
	jne	LBB0_20
## %bb.6:
	cmpq	$0, 120(%rbx)
	jne	LBB0_20
## %bb.7:
	cmpq	$0, 112(%rbx)
	jne	LBB0_20
## %bb.8:
	cmpq	$0, 104(%rbx)
	jne	LBB0_20
## %bb.9:
	cmpq	$0, 96(%rbx)
	jne	LBB0_20
## %bb.10:
	cmpq	$0, 88(%rbx)
	jne	LBB0_20
## %bb.11:
	cmpq	$0, 80(%rbx)
	jne	LBB0_20
## %bb.12:
	cmpq	$0, 72(%rbx)
	jne	LBB0_20
## %bb.13:
	cmpq	$0, 64(%rbx)
	jne	LBB0_20
## %bb.14:
	cmpq	$0, 56(%rbx)
	jne	LBB0_20
## %bb.15:
	cmpq	$0, 48(%rbx)
	jne	LBB0_20
## %bb.16:
	cmpq	$0, 40(%rbx)
	jne	LBB0_20
## %bb.17:
	cmpq	$0, 32(%rbx)
	jne	LBB0_20
## %bb.18:
	cmpq	$0, 24(%rbx)
	jne	LBB0_20
## %bb.19:
	cmpq	$0, 16(%rbx)
	je	LBB0_24
LBB0_20:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_21:
	xorl	%ebx, %ebx
LBB0_22:
	subl	(%rax), %ebx
LBB0_23:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movq	%rax, %r14
	movq	16(%rax), %rdi
	cmpq	$0, 8(%rdi)
	je	LBB0_28
## %bb.25:
	movq	(%rbx), %rax
	cmpq	(%r14), %rax
	jne	LBB0_29
## %bb.26:
	movq	8(%rbx), %rsi
	callq	_ionic_coal_usec_to_hw
	movq	%rax, %r15
	movq	_IONIC_INTR_CTRL_COAL_MAX@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jle	LBB0_30
## %bb.27:
	movq	_ERANGE@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_28:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%edx, %edx
	xorl	%eax, %eax
	callq	_netdev_warn
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_29:
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_netdev_warn
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_30:
	testq	%r15, %r15
	jne	LBB0_32
## %bb.31:
	xorl	%r15d, %r15d
	cmpq	$0, 8(%rbx)
	setne	%r15b
LBB0_32:
	movq	16(%r14), %rdi
	movq	%r15, %rsi
	callq	_ionic_coal_hw_to_usec
	xorl	%ebx, %ebx
	cmpq	(%r14), %rax
	je	LBB0_23
## %bb.33:
	movq	%rax, (%r14)
	movq	_IONIC_LIF_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	32(%r14), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_23
## %bb.34:
	cmpl	$0, 8(%r14)
	je	LBB0_23
## %bb.35:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rax
	movq	24(%r14), %rcx
	movq	(%rcx,%r12,8), %rcx
	movl	(%rax), %edi
	movl	(%rcx), %esi
	movq	%r15, %rdx
	callq	_ionic_intr_coal_init
	incq	%r12
	movl	8(%r14), %eax
	cmpq	%rax, %r12
	jb	LBB0_36
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bad HW value in dev.intr_coal_div = %d\n"

	.comm	_EIO,4,2                        ## @EIO
L_.str.1:                               ## @.str.1
	.asciz	"only the rx-usecs can be changed\n"

	.comm	_IONIC_INTR_CTRL_COAL_MAX,8,3   ## @IONIC_INTR_CTRL_COAL_MAX
	.comm	_ERANGE,4,2                     ## @ERANGE
	.comm	_IONIC_LIF_UP,4,2               ## @IONIC_LIF_UP
	.no_dead_strip	_ionic_set_coalesce
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ionic_set_coalesce
_ionic_set_coalesce:                    ; @ionic_set_coalesce
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_netdev_priv
	ldr	x8, [x19, #168]
	cbnz	x8, LBB0_20
; %bb.1:
	ldr	x8, [x19, #160]
	cbnz	x8, LBB0_20
; %bb.2:
	ldr	x8, [x19, #152]
	cbnz	x8, LBB0_20
; %bb.3:
	ldr	x8, [x19, #144]
	cbnz	x8, LBB0_20
; %bb.4:
	ldr	x8, [x19, #136]
	cbnz	x8, LBB0_20
; %bb.5:
	ldr	x8, [x19, #128]
	cbnz	x8, LBB0_20
; %bb.6:
	ldr	x8, [x19, #120]
	cbnz	x8, LBB0_20
; %bb.7:
	ldr	x8, [x19, #112]
	cbnz	x8, LBB0_20
; %bb.8:
	ldr	x8, [x19, #104]
	cbnz	x8, LBB0_20
; %bb.9:
	ldr	x8, [x19, #96]
	cbnz	x8, LBB0_20
; %bb.10:
	ldr	x8, [x19, #88]
	cbnz	x8, LBB0_20
; %bb.11:
	ldr	x8, [x19, #80]
	cbnz	x8, LBB0_20
; %bb.12:
	ldr	x8, [x19, #72]
	cbnz	x8, LBB0_20
; %bb.13:
	ldr	x8, [x19, #64]
	cbnz	x8, LBB0_20
; %bb.14:
	ldr	x8, [x19, #56]
	cbnz	x8, LBB0_20
; %bb.15:
	ldr	x8, [x19, #48]
	cbnz	x8, LBB0_20
; %bb.16:
	ldr	x8, [x19, #40]
	cbnz	x8, LBB0_20
; %bb.17:
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_20
; %bb.18:
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_20
; %bb.19:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_23
LBB0_20:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_21:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_22:
	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
	add	sp, sp, #64
	ret
LBB0_23:
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x0, [x0, #16]
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_27
; %bb.24:
	ldr	x9, [x19]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.25:
	ldr	x1, [x19, #8]
	bl	_ionic_coal_usec_to_hw
Lloh2:
	adrp	x8, _IONIC_INTR_CTRL_COAL_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IONIC_INTR_CTRL_COAL_MAX@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.le	LBB0_29
; %bb.26:
Lloh5:
	adrp	x8, _ERANGE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
	b	LBB0_21
LBB0_27:
	str	xzr, [sp]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_netdev_warn
Lloh9:
	adrp	x8, _EIO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_21
LBB0_28:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_netdev_warn
	b	LBB0_20
LBB0_29:
	mov	x20, x0
	cbnz	x0, LBB0_31
; %bb.30:
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w20, ne
LBB0_31:
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	ldr	x0, [x19, #16]
	mov	x1, x20
	bl	_ionic_coal_hw_to_usec
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_33
LBB0_32:
	mov	w0, #0
	b	LBB0_22
LBB0_33:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	x0, [x8]
Lloh13:
	adrp	x9, _IONIC_LIF_UP@GOTPAGE
Lloh14:
	ldr	x9, [x9, _IONIC_LIF_UP@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x9]
	ldr	w1, [x8, #32]
	bl	_test_bit
	cbz	x0, LBB0_22
; %bb.34:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w8, [x8, #8]
	cbz	w8, LBB0_32
; %bb.35:
	mov	x19, #0
	ldr	x21, [sp, #8]                   ; 8-byte Folded Reload
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	ldp	x9, x8, [x21, #16]
	ldr	x8, [x8, x19, lsl #3]
	ldr	w0, [x9]
	ldr	w1, [x8]
	mov	x2, x20
	bl	_ionic_intr_coal_init
	mov	w0, #0
	add	x19, x19, #1
	ldr	w8, [x21, #8]
	cmp	x19, x8
	b.lo	LBB0_36
	b	LBB0_22
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bad HW value in dev.intr_coal_div = %d\n"

	.comm	_EIO,4,2                        ; @EIO
l_.str.1:                               ; @.str.1
	.asciz	"only the rx-usecs can be changed\n"

	.comm	_IONIC_INTR_CTRL_COAL_MAX,8,3   ; @IONIC_INTR_CTRL_COAL_MAX
	.comm	_ERANGE,4,2                     ; @ERANGE
	.comm	_IONIC_LIF_UP,4,2               ; @IONIC_LIF_UP
	.no_dead_strip	_ionic_set_coalesce
.subsections_via_symbols
