	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efa_setup_mgmnt_irq
_efa_setup_mgmnt_irq:                   ## @efa_setup_mgmnt_irq
	.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, %rbx
	movl	(%rdi), %r14d
	movq	_EFA_IRQNAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	32(%rdi), %rdi
	callq	_pci_name
	leaq	L_.str(%rip), %rdx
	movl	%r14d, %edi
	movl	%r15d, %esi
	movq	%rax, %rcx
	callq	_snprintf
	movq	_efa_intr_msix_mgmnt@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	%rbx, 16(%rbx)
	movq	32(%rbx), %rdi
	movl	40(%rbx), %esi
	callq	_pci_irq_vector
	movl	%eax, 4(%rbx)
	movq	_cpu_online_mask@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpumask_first
	movl	%eax, 12(%rbx)
	leaq	8(%rbx), %rsi
	movl	%eax, %edi
	callq	_cpumask_set_cpu
	movq	32(%rbx), %rdi
	movl	(%rbx), %r8d
	movl	4(%rbx), %ecx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_info                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EFA_IRQNAME_SIZE,4,2           ## @EFA_IRQNAME_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"efa-mgmnt@pci:%s"

	.comm	_efa_intr_msix_mgmnt,4,2        ## @efa_intr_msix_mgmnt
	.comm	_cpu_online_mask,4,2            ## @cpu_online_mask
L_.str.1:                               ## @.str.1
	.asciz	"Setup irq:0x%p vector:%d name:%s\n"

	.no_dead_strip	_efa_setup_mgmnt_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efa_setup_mgmnt_irq
_efa_setup_mgmnt_irq:                   ; @efa_setup_mgmnt_irq
	.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
	ldr	w20, [x0]
Lloh0:
	adrp	x8, _EFA_IRQNAME_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EFA_IRQNAME_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	ldr	x0, [x0, #32]
	bl	_pci_name
	mov	x3, x0
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	bl	_snprintf
Lloh5:
	adrp	x8, _efa_intr_msix_mgmnt@GOTPAGE
Lloh6:
	ldr	x8, [x8, _efa_intr_msix_mgmnt@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	str	x19, [x19, #16]
	ldr	x0, [x19, #32]
	ldr	w1, [x19, #40]
	bl	_pci_irq_vector
	str	w0, [x19, #4]
Lloh8:
	adrp	x8, _cpu_online_mask@GOTPAGE
Lloh9:
	ldr	x8, [x8, _cpu_online_mask@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_cpumask_first
	str	w0, [x19, #12]
	add	x1, x19, #8
	bl	_cpumask_set_cpu
	ldr	x0, [x19, #32]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	ldp	w4, w3, [x19]
	mov	x2, x19
	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	_dev_info
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EFA_IRQNAME_SIZE,4,2           ; @EFA_IRQNAME_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"efa-mgmnt@pci:%s"

	.comm	_efa_intr_msix_mgmnt,4,2        ; @efa_intr_msix_mgmnt
	.comm	_cpu_online_mask,4,2            ; @cpu_online_mask
l_.str.1:                               ; @.str.1
	.asciz	"Setup irq:0x%p vector:%d name:%s\n"

	.no_dead_strip	_efa_setup_mgmnt_irq
.subsections_via_symbols
