	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_msix_request_rcd_irq           ## -- Begin function msix_request_rcd_irq
	.p2align	4, 0x90
_msix_request_rcd_irq:                  ## @msix_request_rcd_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdi), %r8d
	movl	16(%rdi), %edi
	movq	_receive_context_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_receive_context_thread@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IRQ_RCVCTXT@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%rbx, %rsi
	callq	_msix_request_irq
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movq	_IS_RCVAVAIL_START@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	(%rbx), %ecx
	movl	16(%rbx), %edi
	leal	(%rcx,%rdx), %esi
	addl	$63, %esi
                                        ## kill: def $ecx killed $ecx killed $rcx
	addl	%edx, %ecx
	cmovnsl	%ecx, %esi
	movl	$1, %edx
	shll	%cl, %edx
	sarl	$6, %esi
	movl	%esi, 4(%rbx)
	movl	%edx, 8(%rbx)
	movl	%eax, 12(%rbx)
	movl	%ecx, %esi
	movl	%eax, %edx
	callq	_remap_intr
	xorl	%eax, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_receive_context_interrupt,4,2  ## @receive_context_interrupt
	.comm	_receive_context_thread,4,2     ## @receive_context_thread
	.comm	_IRQ_RCVCTXT,4,2                ## @IRQ_RCVCTXT
	.comm	_IS_RCVAVAIL_START,4,2          ## @IS_RCVAVAIL_START
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_msix_request_rcd_irq           ; -- Begin function msix_request_rcd_irq
	.p2align	2
_msix_request_rcd_irq:                  ; @msix_request_rcd_irq
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #16]
Lloh0:
	adrp	x8, _receive_context_interrupt@GOTPAGE
Lloh1:
	ldr	x8, [x8, _receive_context_interrupt@GOTPAGEOFF]
Lloh2:
	adrp	x9, _receive_context_thread@GOTPAGE
Lloh3:
	ldr	x9, [x9, _receive_context_thread@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	ldr	w3, [x9]
	ldr	w4, [x19]
Lloh6:
	adrp	x8, _IRQ_RCVCTXT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IRQ_RCVCTXT@GOTPAGEOFF]
Lloh8:
	ldr	w5, [x8]
	mov	x1, x19
	bl	_msix_request_irq
	mov	x2, x0
	tbnz	w0, #31, LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _IS_RCVAVAIL_START@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IS_RCVAVAIL_START@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x19]
	add	w1, w9, w8
	add	w8, w1, #63
	cmp	w1, #0
	csel	w8, w8, w1, lt
	asr	w8, w8, #6
	mov	w9, #1
	lsl	w9, w9, w1
	stp	w8, w9, [x19, #4]
	str	w2, [x19, #12]
	ldr	w0, [x19, #16]
	bl	_remap_intr
	mov	w2, #0
LBB0_2:
	mov	x0, x2
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_receive_context_interrupt,4,2  ; @receive_context_interrupt
	.comm	_receive_context_thread,4,2     ; @receive_context_thread
	.comm	_IRQ_RCVCTXT,4,2                ; @IRQ_RCVCTXT
	.comm	_IS_RCVAVAIL_START,4,2          ; @IS_RCVAVAIL_START
.subsections_via_symbols
