	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ena_request_mgmnt_irq
_ena_request_mgmnt_irq:                 ## @ena_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	8(%rdi), %r13
	movq	_ENA_MGMNT_IRQ_IDX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rax,%rax,2), %rbx
	movl	20(%r13,%rbx,8), %esi
	movl	16(%r13,%rbx,8), %ecx
	movl	8(%r13,%rbx,8), %edi
	movl	12(%r13,%rbx,8), %r8d
	xorl	%edx, %edx
	callq	_request_irq
	movl	%eax, %r14d
	movq	_probe@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rcx
	movq	%r12, %rdi
	callq	_netif_err
	jmp	LBB0_3
LBB0_2:
	leaq	8(,%rbx,8), %r15
	addq	%r13, %r15
	leaq	(%r13,%rbx,8), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%r13,%rbx,8), %rax
	movl	(%rax), %r8d
	movl	(%r15), %r9d
	leaq	L_.str.1(%rip), %rcx
	movq	%r12, %rdi
	callq	_netif_dbg
	movl	(%r15), %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_irq_set_affinity_hint
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENA_MGMNT_IRQ_IDX,8,3          ## @ENA_MGMNT_IRQ_IDX
	.comm	_probe,4,2                      ## @probe
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to request admin irq\n"

L_.str.1:                               ## @.str.1
	.asciz	"set affinity hint of mgmnt irq.to 0x%lx (irq vector: %d)\n"

	.no_dead_strip	_ena_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 ena_request_mgmnt_irq
_ena_request_mgmnt_irq:                 ; @ena_request_mgmnt_irq
	.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
	mov	x20, x0
	ldr	x21, [x0, #8]
Lloh0:
	adrp	x8, _ENA_MGMNT_IRQ_IDX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENA_MGMNT_IRQ_IDX@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	mov	w8, #24
	madd	x22, x23, x8, x21
	ldr	w0, [x22, #8]!
	ldp	w3, w1, [x22, #8]
	ldr	w4, [x22, #4]
	mov	x2, #0
	bl	_request_irq
	mov	x19, x0
Lloh3:
	adrp	x8, _probe@GOTPAGE
Lloh4:
	ldr	x8, [x8, _probe@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [x20]
	cbz	w0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_netif_err
	b	LBB0_3
LBB0_2:
	mov	w8, #24
	madd	x21, x23, x8, x21
	ldr	x8, [x21]
	ldr	w4, [x8]
	ldr	w5, [x22]
Lloh8:
	adrp	x3, l_.str.1@PAGE
Lloh9:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_netif_dbg
	ldr	w0, [x22]
	mov	x1, x21
	bl	_irq_set_affinity_hint
LBB0_3:
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ENA_MGMNT_IRQ_IDX,8,3          ; @ENA_MGMNT_IRQ_IDX
	.comm	_probe,4,2                      ; @probe
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to request admin irq\n"

l_.str.1:                               ; @.str.1
	.asciz	"set affinity hint of mgmnt irq.to 0x%lx (irq vector: %d)\n"

	.no_dead_strip	_ena_request_mgmnt_irq
.subsections_via_symbols
