	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ena_setup_io_intr
_ena_setup_io_intr:                     ## @ena_setup_io_intr
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, (%rdi)
	jle	LBB0_3
## %bb.1:
	movq	%rdi, %r15
	movq	32(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_ENA_IO_IRQ_IDX
	movl	%eax, %r13d
	xorl	%eax, %eax
	callq	_num_online_cpus
	movl	%eax, %ecx
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	8(%r15), %rax
	movslq	%r13d, %r12
	movq	%r12, %r13
	shlq	$5, %r13
	movl	28(%rax,%r13), %edi
	movq	_ENA_IRQNAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rcx
	leaq	L_.str(%rip), %rdx
	movl	%ebx, %r8d
	callq	_snprintf
	movq	_ena_intr_msix_io@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%r15), %rcx
	movl	%eax, 24(%rcx,%r13)
	movq	24(%r15), %rax
	addq	%r14, %rax
	movq	%rax, 16(%rcx,%r13)
	movl	16(%r15), %edi
	movl	%r12d, %esi
	callq	_pci_irq_vector
	movq	8(%r15), %rcx
	movl	%eax, 8(%rcx,%r13)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%edi, (%rcx,%r13)
	leaq	(%rcx,%r13), %rsi
	addq	$4, %rsi
	callq	_cpumask_set_cpu
	incq	%rbx
	movslq	(%r15), %rax
	addq	$4, %r14
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENA_IRQNAME_SIZE,4,2           ## @ENA_IRQNAME_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s-Tx-Rx-%d"

	.comm	_ena_intr_msix_io,4,2           ## @ena_intr_msix_io
	.no_dead_strip	_ena_setup_io_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ena_setup_io_intr
_ena_setup_io_intr:                     ; @ena_setup_io_intr
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x19, x0
	mov	x24, #0
	mov	x20, #0
	ldr	x25, [x0, #32]
Lloh0:
	adrp	x26, _ENA_IRQNAME_SIZE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _ENA_IRQNAME_SIZE@GOTPAGEOFF]
Lloh2:
	adrp	x21, l_.str@PAGE
Lloh3:
	add	x21, x21, l_.str@PAGEOFF
Lloh4:
	adrp	x27, _ena_intr_msix_io@GOTPAGE
Lloh5:
	ldr	x27, [x27, _ena_intr_msix_io@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_ENA_IO_IRQ_IDX
	mov	x22, x0
	bl	_num_online_cpus
	sdiv	w8, w20, w0
	msub	w23, w8, w0, w20
	ldr	x8, [x19, #8]
	sbfiz	x28, x22, #5, #32
	add	x8, x8, x28
	ldr	w0, [x8, #28]
	ldr	w1, [x26]
	ldr	x3, [x25]
	mov	x2, x21
	mov	x4, x20
	bl	_snprintf
	ldr	w8, [x27]
	ldr	x9, [x19, #8]
	add	x9, x9, x28
	str	w8, [x9, #24]
	ldr	x8, [x19, #24]
	add	x8, x8, x24
	str	x8, [x9, #16]
	ldr	w0, [x19, #16]
	mov	x1, x22
	bl	_pci_irq_vector
	ldr	x8, [x19, #8]
	add	x8, x8, x28
	str	w0, [x8, #8]
	str	w23, [x8]
	add	x1, x8, #4
	mov	x0, x23
	bl	_cpumask_set_cpu
	add	x20, x20, #1
	ldrsw	x8, [x19]
	add	x24, x24, #4
	cmp	x20, x8
	b.lt	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ENA_IRQNAME_SIZE,4,2           ; @ENA_IRQNAME_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s-Tx-Rx-%d"

	.comm	_ena_intr_msix_io,4,2           ; @ena_intr_msix_io
	.no_dead_strip	_ena_setup_io_intr
.subsections_via_symbols
