	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_set_coalesce
_igb_set_coalesce:                      ## @igb_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_netdev_priv
	cmpq	$0, 152(%rbx)
	jne	LBB0_19
## %bb.1:
	cmpq	$0, 144(%rbx)
	jne	LBB0_19
## %bb.2:
	cmpq	$0, 136(%rbx)
	jne	LBB0_19
## %bb.3:
	cmpq	$0, 128(%rbx)
	jne	LBB0_19
## %bb.4:
	cmpq	$0, 120(%rbx)
	jne	LBB0_19
## %bb.5:
	cmpq	$0, 112(%rbx)
	jne	LBB0_19
## %bb.6:
	cmpq	$0, 104(%rbx)
	jne	LBB0_19
## %bb.7:
	cmpq	$0, 96(%rbx)
	jne	LBB0_19
## %bb.8:
	cmpq	$0, 88(%rbx)
	jne	LBB0_19
## %bb.9:
	cmpq	$0, 80(%rbx)
	jne	LBB0_19
## %bb.10:
	cmpq	$0, 72(%rbx)
	jne	LBB0_19
## %bb.11:
	cmpq	$0, 64(%rbx)
	jne	LBB0_19
## %bb.12:
	cmpq	$0, 56(%rbx)
	jne	LBB0_19
## %bb.13:
	cmpq	$0, 48(%rbx)
	jne	LBB0_19
## %bb.14:
	cmpq	$0, 40(%rbx)
	jne	LBB0_19
## %bb.15:
	cmpq	$0, 32(%rbx)
	jne	LBB0_19
## %bb.16:
	cmpq	$0, 24(%rbx)
	jne	LBB0_19
## %bb.17:
	cmpq	$0, 16(%rbx)
	jne	LBB0_19
## %bb.18:
	cmpq	$0, 8(%rbx)
	je	LBB0_21
LBB0_19:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rcx
LBB0_20:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_44:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_21:
	movl	(%rbx), %edi
	movq	_IGB_MAX_ITR_USECS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	cmpl	%esi, %edi
	jle	LBB0_22
LBB0_24:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_20
LBB0_22:
	cmpl	$4, %edi
	setge	%dl
	movq	_IGB_MIN_ITR_USECS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	cmpl	%r8d, %edi
	setl	%cl
	cmpl	$2, %edi
	je	LBB0_24
## %bb.23:
	andb	%cl, %dl
	jne	LBB0_24
## %bb.25:
	movl	4(%rbx), %edx
	cmpl	%esi, %edx
	jg	LBB0_24
## %bb.26:
	cmpl	$4, %edx
	setge	%bl
	cmpl	%r8d, %edx
	setl	%cl
	cmpl	$2, %edx
	je	LBB0_24
## %bb.27:
	andb	%cl, %bl
	jne	LBB0_24
## %bb.28:
	movl	(%rax), %esi
	movq	_IGB_FLAG_QUEUE_PAIRS@GOTPCREL(%rip), %r8
	movl	(%r8), %ecx
	testl	%esi, %ecx
	je	LBB0_30
## %bb.29:
	testl	%edx, %edx
	jne	LBB0_24
LBB0_30:
	testl	%edi, %edi
	je	LBB0_31
## %bb.33:
	cmpl	$4, %edi
	jge	LBB0_34
	jmp	LBB0_35
LBB0_31:
	movq	_IGB_FLAG_DMAC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ebx
	testl	%esi, %ebx
	je	LBB0_34
## %bb.32:
	notl	%ebx
	andl	%ebx, %esi
	movl	%esi, (%rax)
	movl	(%r8), %ecx
LBB0_34:
	shll	$2, %edi
LBB0_35:
	movl	%edi, 4(%rax)
	testl	%esi, %ecx
	jne	LBB0_37
## %bb.36:
	leal	(,%rdx,4), %ecx
	cmpl	$4, %edx
	movl	%ecx, %edi
	cmovll	%edx, %edi
	testl	%edx, %edx
	cmovel	%ecx, %edi
LBB0_37:
	movl	%edi, 8(%rax)
	movl	12(%rax), %r8d
	testl	%r8d, %r8d
	jle	LBB0_38
## %bb.39:
	leaq	4(%rax), %r10
	movq	%rax, %rsi
	addq	$8, %rsi
	movq	24(%rax), %rdi
	movl	16(%rax), %ebx
	xorl	%ecx, %ecx
	movq	_IGB_START_ITR@GOTPCREL(%rip), %r9
	jmp	LBB0_40
LBB0_43:                                ##   in Loop: Header=BB0_40 Depth=1
	movl	$1, 4(%rax)
	incq	%rcx
	xorl	%eax, %eax
	cmpq	%rcx, %r8
	je	LBB0_44
LBB0_40:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%rcx,8), %rax
	movl	%ebx, 16(%rax)
	cmpq	$0, 8(%rax)
	movq	%r10, %rdx
	cmoveq	%rsi, %rdx
	movl	(%rdx), %edx
	movl	%edx, (%rax)
	testl	%edx, %edx
	je	LBB0_43
## %bb.41:                              ##   in Loop: Header=BB0_40 Depth=1
	cmpl	$3, %edx
	jg	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_40 Depth=1
	movl	(%r9), %edx
	movl	%edx, (%rax)
	jmp	LBB0_43
LBB0_38:
	xorl	%eax, %eax
	jmp	LBB0_44
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.comm	_IGB_MAX_ITR_USECS,4,2          ## @IGB_MAX_ITR_USECS
	.comm	_IGB_MIN_ITR_USECS,4,2          ## @IGB_MIN_ITR_USECS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IGB_FLAG_QUEUE_PAIRS,4,2       ## @IGB_FLAG_QUEUE_PAIRS
	.comm	_IGB_FLAG_DMAC,4,2              ## @IGB_FLAG_DMAC
	.comm	_IGB_START_ITR,4,2              ## @IGB_START_ITR
	.no_dead_strip	_igb_set_coalesce
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igb_set_coalesce
_igb_set_coalesce:                      ; @igb_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	x19, x1
	bl	_netdev_priv
	ldr	x8, [x19, #152]
	cbnz	x8, LBB0_19
; %bb.1:
	ldr	x8, [x19, #144]
	cbnz	x8, LBB0_19
; %bb.2:
	ldr	x8, [x19, #136]
	cbnz	x8, LBB0_19
; %bb.3:
	ldr	x8, [x19, #128]
	cbnz	x8, LBB0_19
; %bb.4:
	ldr	x8, [x19, #120]
	cbnz	x8, LBB0_19
; %bb.5:
	ldr	x8, [x19, #112]
	cbnz	x8, LBB0_19
; %bb.6:
	ldr	x8, [x19, #104]
	cbnz	x8, LBB0_19
; %bb.7:
	ldr	x8, [x19, #96]
	cbnz	x8, LBB0_19
; %bb.8:
	ldr	x8, [x19, #88]
	cbnz	x8, LBB0_19
; %bb.9:
	ldr	x8, [x19, #80]
	cbnz	x8, LBB0_19
; %bb.10:
	ldr	x8, [x19, #72]
	cbnz	x8, LBB0_19
; %bb.11:
	ldr	x8, [x19, #64]
	cbnz	x8, LBB0_19
; %bb.12:
	ldr	x8, [x19, #56]
	cbnz	x8, LBB0_19
; %bb.13:
	ldr	x8, [x19, #48]
	cbnz	x8, LBB0_19
; %bb.14:
	ldr	x8, [x19, #40]
	cbnz	x8, LBB0_19
; %bb.15:
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_19
; %bb.16:
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_19
; %bb.17:
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_19
; %bb.18:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_22
LBB0_19:
Lloh0:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
LBB0_20:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_21:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_22:
	ldr	w8, [x19]
Lloh2:
	adrp	x9, _IGB_MAX_ITR_USECS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IGB_MAX_ITR_USECS@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x9]
	cmp	w8, w10
	b.le	LBB0_24
LBB0_23:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_20
LBB0_24:
	cmp	w8, #3
Lloh7:
	adrp	x9, _IGB_MIN_ITR_USECS@GOTPAGE
Lloh8:
	ldr	x9, [x9, _IGB_MIN_ITR_USECS@GOTPAGEOFF]
Lloh9:
	ldr	w11, [x9]
	ccmp	w8, w11, #0, gt
	cset	w9, lt
	cmp	w8, #2
	b.eq	LBB0_23
; %bb.25:
	cbnz	w9, LBB0_23
; %bb.26:
	ldr	w9, [x19, #4]
	cmp	w9, w10
	b.gt	LBB0_23
; %bb.27:
	cmp	w9, #3
	ccmp	w9, w11, #0, gt
	cset	w10, lt
	cmp	w9, #2
	b.eq	LBB0_23
; %bb.28:
	cbnz	w10, LBB0_23
; %bb.29:
	ldr	w11, [x0]
Lloh10:
	adrp	x10, _IGB_FLAG_QUEUE_PAIRS@GOTPAGE
Lloh11:
	ldr	x10, [x10, _IGB_FLAG_QUEUE_PAIRS@GOTPAGEOFF]
	ldr	w12, [x10]
	tst	w12, w11
	b.eq	LBB0_31
; %bb.30:
	cbnz	w9, LBB0_23
LBB0_31:
	cbz	w8, LBB0_33
; %bb.32:
	cmp	w8, #4
	b.ge	LBB0_35
	b	LBB0_36
LBB0_33:
Lloh12:
	adrp	x13, _IGB_FLAG_DMAC@GOTPAGE
Lloh13:
	ldr	x13, [x13, _IGB_FLAG_DMAC@GOTPAGEOFF]
Lloh14:
	ldr	w13, [x13]
	tst	w13, w11
	b.eq	LBB0_35
; %bb.34:
	bic	w11, w11, w13
	str	w11, [x0]
	ldr	w12, [x10]
LBB0_35:
	lsl	w8, w8, #2
LBB0_36:
	mov	x10, x0
	str	w8, [x10, #4]!
	tst	w12, w11
	b.ne	LBB0_38
; %bb.37:
	cmp	w9, #4
	ccmp	w9, #0, #4, lt
	lsl	w8, w9, #2
	csel	w8, w9, w8, ne
LBB0_38:
	mov	x9, x0
	str	w8, [x9, #8]!
	ldr	w8, [x9, #4]
	cmp	w8, #1
	b.lt	LBB0_43
; %bb.39:
	ldr	x11, [x0, #24]
	ldr	w12, [x0, #16]
	mov	w13, #1
Lloh15:
	adrp	x14, _IGB_START_ITR@GOTPAGE
Lloh16:
	ldr	x14, [x14, _IGB_START_ITR@GOTPAGEOFF]
	b	LBB0_41
LBB0_40:                                ;   in Loop: Header=BB0_41 Depth=1
	mov	w0, #0
	str	w13, [x15, #4]
	add	x11, x11, #8
	subs	x8, x8, #1
	b.eq	LBB0_21
LBB0_41:                                ; =>This Inner Loop Header: Depth=1
	ldr	x15, [x11]
	str	w12, [x15, #16]
	ldr	x16, [x15, #8]
	cmp	x16, #0
	csel	x16, x9, x10, eq
	ldr	w16, [x16]
	str	w16, [x15]
	cmp	w16, #0
	ccmp	w16, #3, #0, ne
	b.gt	LBB0_40
; %bb.42:                               ;   in Loop: Header=BB0_41 Depth=1
	ldr	w16, [x14]
	str	w16, [x15]
	b	LBB0_40
LBB0_43:
	mov	w0, #0
	b	LBB0_21
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.comm	_IGB_MAX_ITR_USECS,4,2          ; @IGB_MAX_ITR_USECS
	.comm	_IGB_MIN_ITR_USECS,4,2          ; @IGB_MIN_ITR_USECS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IGB_FLAG_QUEUE_PAIRS,4,2       ; @IGB_FLAG_QUEUE_PAIRS
	.comm	_IGB_FLAG_DMAC,4,2              ; @IGB_FLAG_DMAC
	.comm	_IGB_START_ITR,4,2              ; @IGB_START_ITR
	.no_dead_strip	_igb_set_coalesce
.subsections_via_symbols
