	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igc_configure_msix
_igc_configure_msix:                    ## @igc_configure_msix
	.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
	movl	$0, 20(%rdi)
	xorl	%ecx, %ecx
	cmpl	$128, 24(%rdi)
	movl	$0, %eax
	jne	LBB0_2
## %bb.1:
	movq	_IGC_GPIE_MSIX_MODE@GOTPCREL(%rip), %rax
	movq	_IGC_GPIE_PBA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_IGC_GPIE@GOTPCREL(%rip), %rax
	movq	_IGC_GPIE_EIAME@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movl	(%rax), %edi
	movq	_IGC_GPIE_NSICR@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	callq	_wr32
	xorl	%edi, %edi
	callq	_BIT
	movl	%eax, 16(%r15)
	movq	_IGC_IVAR_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shll	$8, %esi
	movq	_IGC_IVAR_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_wr32
	movl	20(%r15), %ecx
	movl	$1, %eax
LBB0_2:
	orl	16(%r15), %ecx
	movl	%ecx, 20(%r15)
	cmpl	$0, (%r15)
	jle	LBB0_5
## %bb.3:
	movl	%eax, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r14,%rbx), %esi
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_igc_assign_vector
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_4
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wrfl                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IGC_GPIE,4,2                   ## @IGC_GPIE
	.comm	_IGC_GPIE_MSIX_MODE,4,2         ## @IGC_GPIE_MSIX_MODE
	.comm	_IGC_GPIE_PBA,4,2               ## @IGC_GPIE_PBA
	.comm	_IGC_GPIE_EIAME,4,2             ## @IGC_GPIE_EIAME
	.comm	_IGC_GPIE_NSICR,4,2             ## @IGC_GPIE_NSICR
	.comm	_IGC_IVAR_VALID,4,2             ## @IGC_IVAR_VALID
	.comm	_IGC_IVAR_MISC,4,2              ## @IGC_IVAR_MISC
	.no_dead_strip	_igc_configure_msix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igc_configure_msix
_igc_configure_msix:                    ; @igc_configure_msix
	.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
	mov	w9, #0
	mov	w8, #0
	str	wzr, [x0, #20]
	ldr	w10, [x0, #24]
	cmp	w10, #128
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _IGC_GPIE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IGC_GPIE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _IGC_GPIE_MSIX_MODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IGC_GPIE_MSIX_MODE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _IGC_GPIE_PBA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IGC_GPIE_PBA@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _IGC_GPIE_EIAME@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IGC_GPIE_EIAME@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _IGC_GPIE_NSICR@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IGC_GPIE_NSICR@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w1, w8, w9
	bl	_wr32
	mov	w0, #0
	bl	_BIT
Lloh15:
	adrp	x8, _IGC_IVAR_VALID@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IGC_IVAR_VALID@GOTPAGEOFF]
	str	w0, [x19, #16]
Lloh17:
	ldr	w8, [x8]
	lsl	w1, w8, #8
Lloh18:
	adrp	x8, _IGC_IVAR_MISC@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IGC_IVAR_MISC@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_wr32
	ldr	w9, [x19, #20]
	mov	w8, #1
LBB0_2:
	ldr	w10, [x19, #16]
	orr	w9, w9, w10
	str	w9, [x19, #20]
	ldr	w9, [x19]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x20, #0
	mov	w21, w8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	w1, w21, w20
	ldr	x8, [x19, #8]
	ldr	w0, [x8, x20, lsl #2]
	bl	_igc_assign_vector
	add	x20, x20, #1
	ldrsw	x8, [x19]
	cmp	x20, x8
	b.lt	LBB0_4
LBB0_5:
	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
	b	_wrfl
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IGC_GPIE,4,2                   ; @IGC_GPIE
	.comm	_IGC_GPIE_MSIX_MODE,4,2         ; @IGC_GPIE_MSIX_MODE
	.comm	_IGC_GPIE_PBA,4,2               ; @IGC_GPIE_PBA
	.comm	_IGC_GPIE_EIAME,4,2             ; @IGC_GPIE_EIAME
	.comm	_IGC_GPIE_NSICR,4,2             ; @IGC_GPIE_NSICR
	.comm	_IGC_IVAR_VALID,4,2             ; @IGC_IVAR_VALID
	.comm	_IGC_IVAR_MISC,4,2              ; @IGC_IVAR_MISC
	.no_dead_strip	_igc_configure_msix
.subsections_via_symbols
