	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function igc_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
_igc_set_interrupt_capability:          ## @igc_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	testl	%esi, %esi
	je	LBB0_16
## %bb.1:
	movq	_IGC_FLAG_HAS_MSIX@GOTPCREL(%rip), %rax
	movl	(%r15), %ecx
	movl	8(%r15), %ebx
	orl	(%rax), %ecx
	movl	%ecx, (%r15)
	movl	%ebx, 4(%r15)
	movl	%ebx, 12(%r15)
	movq	_IGC_FLAG_QUEUE_PAIRS@GOTPCREL(%rip), %rax
	andl	(%rax), %ecx
	sete	%cl
	shll	%cl, %ebx
	movl	%ebx, 16(%r15)
	leal	1(%rbx), %r14d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	movl	$4, %esi
	callq	_kcalloc
	movq	%rax, 24(%r15)
	testq	%rax, %rax
	je	LBB0_18
## %bb.2:
	testl	%ebx, %ebx
	js	LBB0_14
## %bb.3:
	movl	%r14d, %ecx
	cmpl	$8, %r14d
	jae	LBB0_5
## %bb.4:
	xorl	%edx, %edx
	jmp	LBB0_13
LBB0_5:
	movl	%ecx, %edx
	andl	$-8, %edx
	leaq	-8(%rdx), %rsi
	movq	%rsi, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %r8d
	andl	$3, %r8d
	cmpq	$24, %rsi
	jae	LBB0_7
## %bb.6:
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,1,2,3]
	xorl	%esi, %esi
	jmp	LBB0_9
LBB0_7:
	andq	$-4, %rdi
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,1,2,3]
	xorl	%esi, %esi
	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_8:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm2
	paddd	%xmm8, %xmm2
	movdqu	%xmm0, (%rax,%rsi,4)
	movdqu	%xmm2, 16(%rax,%rsi,4)
	movdqa	%xmm0, %xmm2
	paddd	%xmm9, %xmm2
	movdqa	%xmm0, %xmm3
	paddd	%xmm10, %xmm3
	movdqu	%xmm2, 32(%rax,%rsi,4)
	movdqu	%xmm3, 48(%rax,%rsi,4)
	movdqa	%xmm0, %xmm2
	paddd	%xmm4, %xmm2
	movdqa	%xmm0, %xmm3
	paddd	%xmm5, %xmm3
	movdqu	%xmm2, 64(%rax,%rsi,4)
	movdqu	%xmm3, 80(%rax,%rsi,4)
	movdqa	%xmm0, %xmm2
	paddd	%xmm6, %xmm2
	movdqa	%xmm0, %xmm3
	paddd	%xmm7, %xmm3
	movdqu	%xmm2, 96(%rax,%rsi,4)
	movdqu	%xmm3, 112(%rax,%rsi,4)
	addq	$32, %rsi
	paddd	%xmm1, %xmm0
	addq	$-4, %rdi
	jne	LBB0_8
LBB0_9:
	testq	%r8, %r8
	je	LBB0_12
## %bb.10:
	leaq	(%rax,%rsi,4), %rsi
	addq	$16, %rsi
	shlq	$5, %r8
	xorl	%edi, %edi
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = [4,4,4,4]
	movdqa	LCPI0_2(%rip), %xmm2            ## xmm2 = [8,8,8,8]
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm3
	paddd	%xmm1, %xmm3
	movdqu	%xmm0, -16(%rsi,%rdi)
	movdqu	%xmm3, (%rsi,%rdi)
	paddd	%xmm2, %xmm0
	addq	$32, %rdi
	cmpq	%rdi, %r8
	jne	LBB0_11
LBB0_12:
	cmpq	%rcx, %rdx
	je	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	%edx, (%rax,%rdx,4)
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_13
LBB0_14:
	movl	20(%r15), %edi
	movq	%rax, %rsi
	movl	%r14d, %edx
	movl	%r14d, %ecx
	callq	_pci_enable_msix_range
	testl	%eax, %eax
	jg	LBB0_18
## %bb.15:
	movq	24(%r15), %rdi
	callq	_kfree
	movq	$0, 24(%r15)
	movq	%r15, %rdi
	callq	_igc_reset_interrupt_capability
LBB0_16:
	movq	_IGC_FLAG_HAS_MSIX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	(%r15), %eax
	movl	%eax, (%r15)
	movq	_IGC_FLAG_QUEUE_PAIRS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r15)
	movdqa	LCPI0_9(%rip), %xmm0            ## xmm0 = [1,1,1,1]
	movdqu	%xmm0, 4(%r15)
	movl	20(%r15), %edi
	callq	_pci_enable_msi
	testl	%eax, %eax
	jne	LBB0_18
## %bb.17:
	movq	_IGC_FLAG_HAS_MSI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IGC_FLAG_HAS_MSIX,4,2          ## @IGC_FLAG_HAS_MSIX
	.comm	_IGC_FLAG_QUEUE_PAIRS,4,2       ## @IGC_FLAG_QUEUE_PAIRS
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_IGC_FLAG_HAS_MSI,4,2           ## @IGC_FLAG_HAS_MSI
	.no_dead_strip	_igc_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 igc_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
_igc_set_interrupt_capability:          ; @igc_set_interrupt_capability
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x22, _IGC_FLAG_HAS_MSIX@GOTPAGE
Lloh1:
	ldr	x22, [x22, _IGC_FLAG_HAS_MSIX@GOTPAGEOFF]
Lloh2:
	adrp	x21, _IGC_FLAG_QUEUE_PAIRS@GOTPAGE
Lloh3:
	ldr	x21, [x21, _IGC_FLAG_QUEUE_PAIRS@GOTPAGEOFF]
	cbz	w1, LBB0_11
; %bb.1:
	ldr	w8, [x22]
	ldr	w9, [x19]
	orr	w8, w9, w8
	ldr	w9, [x19, #8]
	stp	w8, w9, [x19]
	ldr	w10, [x21]
	tst	w10, w8
	cset	w8, eq
	lsl	w23, w9, w8
	stp	w9, w23, [x19, #12]
	add	w20, w23, #1
Lloh4:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #4
	bl	_kcalloc
	str	x0, [x19, #24]
	cbz	x0, LBB0_13
; %bb.2:
	mov	x1, x0
	tbnz	w23, #31, LBB0_9
; %bb.3:
	cmp	w20, #16
	b.hs	LBB0_5
; %bb.4:
	mov	x8, #0
	b	LBB0_8
LBB0_5:
	and	x8, x20, #0xfffffff0
Lloh7:
	adrp	x9, lCPI0_0@PAGE
Lloh8:
	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_6:                                 ; =>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_6
; %bb.7:
	cmp	x8, x20
	b.eq	LBB0_9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	str	w8, [x1, x8, lsl #2]
	add	x8, x8, #1
	cmp	x20, x8
	b.ne	LBB0_8
LBB0_9:
	ldr	w0, [x19, #20]
	mov	x2, x20
	mov	x3, x20
	bl	_pci_enable_msix_range
	cmp	w0, #0
	b.gt	LBB0_13
; %bb.10:
	ldr	x0, [x19, #24]
	bl	_kfree
	str	xzr, [x19, #24]
	mov	x0, x19
	bl	_igc_reset_interrupt_capability
LBB0_11:
	ldr	w8, [x22]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
	ldr	w9, [x21]
	orr	w8, w9, w8
	str	w8, [x19]
	movi.4s	v0, #1
	stur	q0, [x19, #4]
	ldr	w0, [x19, #20]
	bl	_pci_enable_msi
	cbnz	w0, LBB0_13
; %bb.12:
Lloh9:
	adrp	x8, _IGC_FLAG_HAS_MSI@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IGC_FLAG_HAS_MSI@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_13:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdr	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IGC_FLAG_HAS_MSIX,4,2          ; @IGC_FLAG_HAS_MSIX
	.comm	_IGC_FLAG_QUEUE_PAIRS,4,2       ; @IGC_FLAG_QUEUE_PAIRS
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_IGC_FLAG_HAS_MSI,4,2           ; @IGC_FLAG_HAS_MSI
	.no_dead_strip	_igc_set_interrupt_capability
.subsections_via_symbols
