	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_vsi_request_irq_msix
_i40e_vsi_request_irq_msix:             ## @i40e_vsi_request_irq_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	testl	%eax, %eax
	jle	LBB0_13
## %bb.1:
	movq	32(%rdi), %rcx
	movslq	4(%rdi), %r12
	decq	%r12
	negq	-96(%rbp)                       ## 8-byte Folded Spill
	xorl	%edx, %edx
	movq	$-8, %r15
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$8, %r15
	incq	%r12
	decq	%rdx
	cmpq	%rdx, -96(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_13
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rdi), %rax
	movq	8(%rax,%r15), %r14
	movq	(%rcx), %rax
	movl	4(%rax,%r12,4), %ebx
	cmpq	$0, 16(%r14)
	movq	24(%r14), %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movl	12(%r14), %edi
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	leal	1(%r9), %r13d
	movl	$3, %esi
	leaq	L_.str(%rip), %rdx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leaq	L_.str.1(%rip), %r8
                                        ## kill: def $r9d killed $r9d killed $r9
	callq	_snprintf
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movl	12(%r14), %edi
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	leal	1(%r9), %r13d
	movl	$3, %esi
	leaq	L_.str(%rip), %rdx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leaq	L_.str.2(%rip), %r8
                                        ## kill: def $r9d killed $r9d killed $r9
	callq	_snprintf
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	leal	1(%r9), %r13d
	movl	$3, %esi
	leaq	L_.str(%rip), %rdx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leaq	L_.str.3(%rip), %r8
                                        ## kill: def $r9d killed $r9d killed $r9
	callq	_snprintf
	movl	%r13d, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	24(%rax), %esi
	movl	12(%r14), %ecx
	movl	%ebx, %edi
	xorl	%edx, %edx
	movq	%r14, %r8
	callq	_request_irq
	testl	%eax, %eax
	jne	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_i40e_irq_affinity_notify@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	4(%r14), %rsi
	movl	%eax, 8(%r14)
	movq	_i40e_irq_affinity_release@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movl	%ebx, %edi
	callq	_irq_set_affinity_notifier
	movl	(%r14), %edi
	movl	$-1, %esi
	callq	_cpumask_local_spread
	movl	%eax, %edi
	callq	_get_cpu_mask
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_irq_set_affinity_hint
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_12
LBB0_13:
	movl	$1, 8(%rdi)
	xorl	%r13d, %r13d
LBB0_17:
	movl	%r13d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movl	%eax, %r13d
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	leaq	L_.str.4(%rip), %rsi
	movl	%r13d, %edx
	callq	_dev_info
	cmpl	$0, -88(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_17
## %bb.15:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movl	(%rax,%r12,4), %ebx
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_irq_set_affinity_notifier
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_irq_set_affinity_hint
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rsi
	addq	%r15, %rsi
	movl	%ebx, %edi
	callq	_free_irq
	addq	$-8, %r15
	decq	%r12
	cmpq	$-8, %r15
	jne	LBB0_16
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s-%s-%d"

L_.str.1:                               ## @.str.1
	.asciz	"TxRx"

L_.str.2:                               ## @.str.2
	.asciz	"rx"

L_.str.3:                               ## @.str.3
	.asciz	"tx"

L_.str.4:                               ## @.str.4
	.asciz	"MSIX request_irq failed, error: %d\n"

	.comm	_i40e_irq_affinity_notify,4,2   ## @i40e_irq_affinity_notify
	.comm	_i40e_irq_affinity_release,4,2  ## @i40e_irq_affinity_release
	.no_dead_strip	_i40e_vsi_request_irq_msix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_vsi_request_irq_msix
_i40e_vsi_request_irq_msix:             ; @i40e_vsi_request_irq_msix
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	x1, [sp]                        ; 8-byte Folded Spill
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.1:
	mov	w22, #0
	mov	x26, #0
	mov	w23, #0
	mov	w21, #0
	ldr	x25, [x19, #32]
	ldrsw	x9, [x19, #4]
	lsl	x20, x9, #2
	lsl	x8, x8, #3
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #4
	add	x26, x26, #8
	sub	w22, w22, #1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cmp	x8, x26
	b.eq	LBB0_11
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x28, [x8, x26]
	ldr	x8, [x25]
	ldr	w27, [x8, x20]
	ldp	x9, x8, [x28, #16]
	cbz	x9, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x28, #12]
	cbz	x8, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w24, w23, #1
	mov	w1, #3
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	ldr	x3, [sp]                        ; 8-byte Folded Reload
Lloh2:
	adrp	x4, l_.str.1@PAGE
Lloh3:
	add	x4, x4, l_.str.1@PAGEOFF
	mov	x5, x23
	bl	_snprintf
	add	w21, w21, #1
	mov	x23, x24
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	x8, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x28, #12]
	add	w24, w23, #1
	mov	w1, #3
Lloh4:
	adrp	x2, l_.str@PAGE
Lloh5:
	add	x2, x2, l_.str@PAGEOFF
	ldr	x3, [sp]                        ; 8-byte Folded Reload
Lloh6:
	adrp	x4, l_.str.2@PAGE
Lloh7:
	add	x4, x4, l_.str.2@PAGEOFF
	mov	x5, x23
	bl	_snprintf
	mov	x23, x24
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w24, w21, #1
	mov	w1, #3
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	ldr	x3, [sp]                        ; 8-byte Folded Reload
Lloh10:
	adrp	x4, l_.str.3@PAGE
Lloh11:
	add	x4, x4, l_.str.3@PAGEOFF
	mov	x5, x21
	bl	_snprintf
	mov	x21, x24
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x19, #24]
	ldr	w3, [x28, #12]
	mov	x0, x27
	mov	w2, #0
	mov	x4, x28
	bl	_request_irq
	cbnz	w0, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh12:
	adrp	x8, _i40e_irq_affinity_notify@GOTPAGE
Lloh13:
	ldr	x8, [x8, _i40e_irq_affinity_notify@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x28, #8]
Lloh15:
	adrp	x8, _i40e_irq_affinity_release@GOTPAGE
Lloh16:
	ldr	x8, [x8, _i40e_irq_affinity_release@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	mov	x1, x28
	str	w8, [x1, #4]!
	mov	x0, x27
	bl	_irq_set_affinity_notifier
	ldr	w0, [x28]
	mov	w1, #-1
	bl	_cpumask_local_spread
	bl	_get_cpu_mask
	mov	x1, x0
	mov	x0, x27
	bl	_irq_set_affinity_hint
	b	LBB0_2
LBB0_11:
	mov	w24, #0
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_12:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_13:
	mov	x24, x0
	ldr	x0, [x25, #8]
Lloh18:
	adrp	x1, l_.str.4@PAGE
Lloh19:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x24
	bl	_dev_info
	cbz	w22, LBB0_12
; %bb.14:
	sub	x21, x20, #4
	sub	x22, x26, #8
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	ldr	w20, [x8, x21]
	mov	x0, x20
	mov	x1, #0
	bl	_irq_set_affinity_notifier
	mov	x0, x20
	mov	x1, #0
	bl	_irq_set_affinity_hint
	ldr	x8, [x19, #16]
	add	x1, x8, x22
	mov	x0, x20
	bl	_free_irq
	sub	x22, x22, #8
	sub	x21, x21, #4
	cmn	x22, #8
	b.ne	LBB0_15
	b	LBB0_12
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s-%s-%d"

l_.str.1:                               ; @.str.1
	.asciz	"TxRx"

l_.str.2:                               ; @.str.2
	.asciz	"rx"

l_.str.3:                               ; @.str.3
	.asciz	"tx"

l_.str.4:                               ; @.str.4
	.asciz	"MSIX request_irq failed, error: %d\n"

	.comm	_i40e_irq_affinity_notify,4,2   ; @i40e_irq_affinity_notify
	.comm	_i40e_irq_affinity_release,4,2  ; @i40e_irq_affinity_release
	.no_dead_strip	_i40e_vsi_request_irq_msix
.subsections_via_symbols
