	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nicvf_set_irq_affinity
_nicvf_set_irq_affinity:                ## @nicvf_set_irq_affinity
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.1:
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r15
	movq	_NICVF_INTR_ID_SQ@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	20(%r14), %esi
	callq	_cpumask_local_spread
	movq	8(%r14), %rcx
	movl	(%rcx,%rbx,4), %esi
	movl	%eax, %edi
	callq	_cpumask_set_cpu
	movl	16(%r14), %edi
	movl	%ebx, %esi
	callq	_pci_irq_vector
	movq	8(%r14), %rcx
	movl	(%rcx,%rbx,4), %esi
	movl	%eax, %edi
	callq	_irq_set_affinity_hint
	movl	(%r14), %eax
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r14), %rcx
	cmpl	$0, (%rcx,%rbx,4)
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(,%rbx,4), %rdi
	addq	8(%r14), %rdi
	movl	(%r15), %esi
	callq	_zalloc_cpumask_var
	testl	%eax, %eax
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r12), %rax
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	jge	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_nicvf_netdev_qidx
	movl	%eax, %edi
	incl	%edi
	jmp	LBB0_6
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_NICVF_INTR_ID_SQ,4,2           ## @NICVF_INTR_ID_SQ
	.no_dead_strip	_nicvf_set_irq_affinity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nicvf_set_irq_affinity
_nicvf_set_irq_affinity:                ; @nicvf_set_irq_affinity
	.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
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x19, x0
	mov	x20, #0
Lloh0:
	adrp	x21, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	adrp	x22, _NICVF_INTR_ID_SQ@GOTPAGE
Lloh3:
	ldr	x22, [x22, _NICVF_INTR_ID_SQ@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_nicvf_netdev_qidx
	add	w0, w0, #1
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x19, #20]
	bl	_cpumask_local_spread
	ldr	x8, [x19, #8]
	lsl	x23, x20, #2
	ldr	w1, [x8, x23]
	bl	_cpumask_set_cpu
	ldr	w0, [x19, #16]
	mov	x1, x20
	bl	_pci_irq_vector
	ldr	x8, [x19, #8]
	ldr	w1, [x8, x23]
	bl	_irq_set_affinity_hint
	ldr	w8, [x19]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x20, #1
	cmp	x20, w8, sxtw
	b.ge	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #24]
	ldr	w9, [x9, x20, lsl #2]
	cbz	w9, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, x20, lsl #2
	ldr	w1, [x21]
	bl	_zalloc_cpumask_var
	cbz	w0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrsw	x8, [x22]
	cmp	x20, x8
	b.lt	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #0
	b	LBB0_3
LBB0_9:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_NICVF_INTR_ID_SQ,4,2           ; @NICVF_INTR_ID_SQ
	.no_dead_strip	_nicvf_set_irq_affinity
.subsections_via_symbols
