	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efa_request_mgmnt_irq
_efa_request_mgmnt_irq:                 ## @efa_request_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	24(%rdi), %esi
	movl	20(%rdi), %ecx
	movl	12(%rdi), %edi
	movl	16(%rbx), %r8d
	xorl	%edx, %edx
	callq	_request_irq
	movl	%eax, %r14d
	movq	(%rbx), %rdi
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_dev_err
	jmp	LBB0_3
LBB0_2:
	movq	_nr_cpumask_bits@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	8(%rbx), %r15
	movl	12(%rbx), %r8d
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rcx
	callq	_dev_dbg
	movl	12(%rbx), %edi
	movq	%r15, %rsi
	callq	_irq_set_affinity_hint
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to request admin irq (%d)\n"

L_.str.1:                               ## @.str.1
	.asciz	"Set affinity hint of mgmnt irq to %*pbl (irq vector: %d)\n"

	.comm	_nr_cpumask_bits,4,2            ## @nr_cpumask_bits
	.no_dead_strip	_efa_request_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_request_mgmnt_irq
_efa_request_mgmnt_irq:                 ; @efa_request_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	x20, x0
	ldp	w3, w1, [x0, #20]
	ldr	w0, [x0, #12]
	ldr	w4, [x20, #16]
	mov	w2, #0
	bl	_request_irq
	mov	x19, x0
	ldr	x0, [x20]
	cbz	w19, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_dev_err
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _nr_cpumask_bits@GOTPAGE
Lloh3:
	ldr	x8, [x8, _nr_cpumask_bits@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	add	x21, x20, #8
	ldr	w4, [x20, #12]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x3, x21
	bl	_dev_dbg
	ldr	w0, [x20, #12]
	mov	x1, x21
	bl	_irq_set_affinity_hint
LBB0_3:
	mov	x0, 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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to request admin irq (%d)\n"

l_.str.1:                               ; @.str.1
	.asciz	"Set affinity hint of mgmnt irq to %*pbl (irq vector: %d)\n"

	.comm	_nr_cpumask_bits,4,2            ; @nr_cpumask_bits
	.no_dead_strip	_efa_request_mgmnt_irq
.subsections_via_symbols
