	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function igb_set_interrupt_capability
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_1:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
LCPI0_2:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
LCPI0_3:
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
LCPI0_4:
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
LCPI0_5:
	.long	20                              ## 0x14
	.long	20                              ## 0x14
	.long	20                              ## 0x14
	.long	20                              ## 0x14
LCPI0_6:
	.long	24                              ## 0x18
	.long	24                              ## 0x18
	.long	24                              ## 0x18
	.long	24                              ## 0x18
LCPI0_7:
	.long	28                              ## 0x1c
	.long	28                              ## 0x1c
	.long	28                              ## 0x1c
	.long	28                              ## 0x1c
LCPI0_8:
	.long	32                              ## 0x20
	.long	32                              ## 0x20
	.long	32                              ## 0x20
	.long	32                              ## 0x20
LCPI0_9:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_igb_set_interrupt_capability:          ## @igb_set_interrupt_capability
	.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	%rdi, %r14
	testl	%esi, %esi
	je	LBB0_15
## %bb.1:
	movq	_IGB_FLAG_HAS_MSIX@GOTPCREL(%rip), %rax
	movl	(%r14), %ecx
	movl	8(%r14), %edx
	orl	(%rax), %ecx
	movl	%ecx, (%r14)
	movl	%edx, 4(%r14)
	cmpq	$0, 32(%r14)
	movl	$1, %eax
	cmovel	%edx, %eax
	movl	%eax, 12(%r14)
	movq	_IGB_FLAG_QUEUE_PAIRS@GOTPCREL(%rip), %rsi
	xorl	%edi, %edi
	andl	(%rsi), %ecx
	cmovel	%eax, %edi
	leal	(%rdx,%rdi), %ecx
	incl	%ecx
	movl	%edx, %eax
	addl	%edi, %eax
	movl	%eax, 16(%r14)
	movq	64(%r14), %rsi
	js	LBB0_13
## %bb.2:
	movl	%ecx, %eax
	cmpl	$8, %ecx
	jae	LBB0_4
## %bb.3:
	xorl	%edx, %edx
	jmp	LBB0_12
LBB0_4:
	movl	%eax, %edx
	andl	$-8, %edx
	leaq	-8(%rdx), %rbx
	movq	%rbx, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %r8d
	andl	$3, %r8d
	cmpq	$24, %rbx
	jae	LBB0_6
## %bb.5:
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,1,2,3]
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_6:
	andq	$-4, %rdi
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,1,2,3]
	xorl	%ebx, %ebx
	movdqa	LCPI0_1(%rip), %xmm8            ## xmm8 = [4,4,4,4]
	movdqa	LCPI0_2(%rip), %xmm9            ## xmm9 = [8,8,8,8]
	movdqa	LCPI0_3(%rip), %xmm10           ## xmm10 = [12,12,12,12]
	movdqa	LCPI0_4(%rip), %xmm4            ## xmm4 = [16,16,16,16]
	movdqa	LCPI0_5(%rip), %xmm5            ## xmm5 = [20,20,20,20]
	movdqa	LCPI0_6(%rip), %xmm6            ## xmm6 = [24,24,24,24]
	movdqa	LCPI0_7(%rip), %xmm7            ## xmm7 = [28,28,28,28]
	movdqa	LCPI0_8(%rip), %xmm1            ## xmm1 = [32,32,32,32]
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm2
	paddd	%xmm8, %xmm2
	movdqu	%xmm0, (%rsi,%rbx,4)
	movdqu	%xmm2, 16(%rsi,%rbx,4)
	movdqa	%xmm0, %xmm2
	paddd	%xmm9, %xmm2
	movdqa	%xmm0, %xmm3
	paddd	%xmm10, %xmm3
	movdqu	%xmm2, 32(%rsi,%rbx,4)
	movdqu	%xmm3, 48(%rsi,%rbx,4)
	movdqa	%xmm0, %xmm2
	paddd	%xmm4, %xmm2
	movdqa	%xmm0, %xmm3
	paddd	%xmm5, %xmm3
	movdqu	%xmm2, 64(%rsi,%rbx,4)
	movdqu	%xmm3, 80(%rsi,%rbx,4)
	movdqa	%xmm0, %xmm2
	paddd	%xmm6, %xmm2
	movdqa	%xmm0, %xmm3
	paddd	%xmm7, %xmm3
	movdqu	%xmm2, 96(%rsi,%rbx,4)
	movdqu	%xmm3, 112(%rsi,%rbx,4)
	addq	$32, %rbx
	paddd	%xmm1, %xmm0
	addq	$-4, %rdi
	jne	LBB0_7
LBB0_8:
	testq	%r8, %r8
	je	LBB0_11
## %bb.9:
	leaq	(%rsi,%rbx,4), %rdi
	addq	$16, %rdi
	shlq	$5, %r8
	xorl	%ebx, %ebx
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = [4,4,4,4]
	movdqa	LCPI0_2(%rip), %xmm2            ## xmm2 = [8,8,8,8]
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm3
	paddd	%xmm1, %xmm3
	movdqu	%xmm0, -16(%rdi,%rbx)
	movdqu	%xmm3, (%rdi,%rbx)
	paddd	%xmm2, %xmm0
	addq	$32, %rbx
	cmpq	%rbx, %r8
	jne	LBB0_10
LBB0_11:
	cmpq	%rax, %rdx
	je	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	%edx, (%rsi,%rdx,4)
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_12
LBB0_13:
	movq	24(%r14), %rdi
	movl	%ecx, %edx
	callq	_pci_enable_msix_range
	testl	%eax, %eax
	jg	LBB0_17
## %bb.14:
	movq	%r14, %rdi
	callq	_igb_reset_interrupt_capability
LBB0_15:
	movq	_IGB_FLAG_HAS_MSIX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	(%r14), %eax
	movl	%eax, (%r14)
	movq	$0, 32(%r14)
	movq	_IGB_FLAG_QUEUE_PAIRS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r14)
	movdqa	LCPI0_9(%rip), %xmm0            ## xmm0 = [1,1,1,1]
	movdqu	%xmm0, 4(%r14)
	movq	24(%r14), %rdi
	callq	_pci_enable_msi
	testl	%eax, %eax
	jne	LBB0_17
## %bb.16:
	movq	_IGB_FLAG_HAS_MSI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_17:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IGB_FLAG_HAS_MSIX,4,2          ## @IGB_FLAG_HAS_MSIX
	.comm	_IGB_FLAG_QUEUE_PAIRS,4,2       ## @IGB_FLAG_QUEUE_PAIRS
	.comm	_IGB_FLAG_HAS_MSI,4,2           ## @IGB_FLAG_HAS_MSI
	.comm	_E1000_IOVCTL,4,2               ## @E1000_IOVCTL
	.comm	_E1000_IOVCTL_REUSE_VFQ,4,2     ## @E1000_IOVCTL_REUSE_VFQ
	.no_dead_strip	_igb_set_interrupt_capability
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function igb_set_interrupt_capability
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_igb_set_interrupt_capability:          ; @igb_set_interrupt_capability
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x21, _IGB_FLAG_HAS_MSIX@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IGB_FLAG_HAS_MSIX@GOTPAGEOFF]
Lloh2:
	adrp	x20, _IGB_FLAG_QUEUE_PAIRS@GOTPAGE
Lloh3:
	ldr	x20, [x20, _IGB_FLAG_QUEUE_PAIRS@GOTPAGEOFF]
	cbz	w1, LBB0_10
; %bb.1:
	ldr	w8, [x21]
	ldr	w9, [x19]
	orr	w8, w9, w8
	ldr	w9, [x19, #8]
	stp	w8, w9, [x19]
	ldr	x10, [x19, #32]
	cmp	x10, #0
	csinc	w10, w9, wzr, eq
	ldr	w11, [x20]
	tst	w11, w8
	csel	w8, w10, wzr, eq
	ldr	x1, [x19, #64]
	adds	w8, w9, w8
	stp	w10, w8, [x19, #12]
	add	w2, w8, #1
	b.mi	LBB0_8
; %bb.2:
	cmp	w2, #16
	b.hs	LBB0_4
; %bb.3:
	mov	x8, #0
	b	LBB0_7
LBB0_4:
	and	x8, x2, #0xfffffff0
Lloh4:
	adrp	x9, lCPI0_0@PAGE
Lloh5:
	ldr	q0, [x9, lCPI0_0@PAGEOFF]
	add	x9, x1, #32
	movi.4s	v1, #4
	movi.4s	v2, #8
	movi.4s	v3, #12
	movi.4s	v4, #16
	mov	x10, x8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add.4s	v5, v0, v1
	add.4s	v6, v0, v2
	add.4s	v7, v0, v3
	stp	q0, q5, [x9, #-32]
	stp	q6, q7, [x9], #64
	add.4s	v0, v0, v4
	subs	x10, x10, #16
	b.ne	LBB0_5
; %bb.6:
	cmp	x8, x2
	b.eq	LBB0_8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	str	w8, [x1, x8, lsl #2]
	add	x8, x8, #1
	cmp	x2, x8
	b.ne	LBB0_7
LBB0_8:
	ldr	x0, [x19, #24]
	mov	x3, x2
	bl	_pci_enable_msix_range
	cmp	w0, #0
	b.gt	LBB0_12
; %bb.9:
	mov	x0, x19
	bl	_igb_reset_interrupt_capability
LBB0_10:
	ldr	w8, [x21]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
	str	xzr, [x19, #32]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x19]
	movi.4s	v0, #1
	stur	q0, [x19, #4]
	ldr	x0, [x19, #24]
	bl	_pci_enable_msi
	cbnz	w0, LBB0_12
; %bb.11:
Lloh6:
	adrp	x8, _IGB_FLAG_HAS_MSI@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IGB_FLAG_HAS_MSI@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IGB_FLAG_HAS_MSIX,4,2          ; @IGB_FLAG_HAS_MSIX
	.comm	_IGB_FLAG_QUEUE_PAIRS,4,2       ; @IGB_FLAG_QUEUE_PAIRS
	.comm	_IGB_FLAG_HAS_MSI,4,2           ; @IGB_FLAG_HAS_MSI
	.comm	_E1000_IOVCTL,4,2               ; @E1000_IOVCTL
	.comm	_E1000_IOVCTL_REUSE_VFQ,4,2     ; @E1000_IOVCTL_REUSE_VFQ
	.no_dead_strip	_igb_set_interrupt_capability
.subsections_via_symbols
