	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_msix_request_irqs              ## -- Begin function msix_request_irqs
	.p2align	4, 0x90
_msix_request_irqs:                     ## @msix_request_irqs
	.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, %r14
	movq	_general_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IRQ_GENERAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%rdi, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_msix_request_irq
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_14
## %bb.1:
	cmpl	$0, (%r14)
	jle	LBB0_5
## %bb.2:
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rbx
	leaq	(%rbx,%r15), %rdi
	callq	_msix_request_sdma_irq
	testl	%eax, %eax
	jne	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rbx,%r15), %edi
	movl	%r13d, %esi
	callq	_enable_sdma_srcs
	incq	%r13
	movslq	(%r14), %rax
	addq	$4, %r15
	cmpq	%rax, %r13
	jl	LBB0_3
## %bb.9:
	xorl	%r12d, %r12d
LBB0_5:
	cmpl	$0, 4(%r14)
	jle	LBB0_6
## %bb.7:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_hfi1_rcd_get_by_index_safe
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%rbx, %rdi
	callq	_msix_request_rcd_irq
	movl	%eax, %r12d
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%rbx, %rdi
	callq	_hfi1_rcd_put
	testl	%r12d, %r12d
	jne	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_11 Depth=1
	incl	%r15d
	xorl	%r12d, %r12d
	cmpl	4(%r14), %r15d
	jl	LBB0_11
	jmp	LBB0_14
LBB0_4:
	movl	%eax, %r12d
	jmp	LBB0_14
LBB0_6:
	xorl	%r12d, %r12d
LBB0_14:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_general_interrupt,4,2          ## @general_interrupt
	.comm	_IRQ_GENERAL,4,2                ## @IRQ_GENERAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_msix_request_irqs              ; -- Begin function msix_request_irqs
	.p2align	2
_msix_request_irqs:                     ; @msix_request_irqs
	.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	x19, x0
Lloh0:
	adrp	x8, _general_interrupt@GOTPAGE
Lloh1:
	ldr	x8, [x8, _general_interrupt@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _IRQ_GENERAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IRQ_GENERAL@GOTPAGEOFF]
Lloh5:
	ldr	w5, [x8]
	mov	x1, x0
	mov	x3, #0
	mov	w4, #0
	bl	_msix_request_irq
	mov	x20, x0
	tbnz	w0, #31, LBB0_14
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.2:
	mov	x22, #0
	mov	x21, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x23, [x19, #8]
	add	x0, x23, x22
	bl	_msix_request_sdma_irq
	cbnz	w0, LBB0_12
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x23, x22]
	mov	x1, x21
	bl	_enable_sdma_srcs
	add	x21, x21, #1
	ldrsw	x8, [x19]
	add	x22, x22, #4
	cmp	x21, x8
	b.lt	LBB0_3
; %bb.5:
	mov	w20, #0
LBB0_6:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.7:
	mov	w21, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_hfi1_rcd_get_by_index_safe
	mov	x22, x0
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x22
	bl	_msix_request_rcd_irq
	mov	x20, x0
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x22
	bl	_hfi1_rcd_put
	cbnz	w20, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	add	w21, w21, #1
	ldr	w8, [x19, #4]
	cmp	w21, w8
	b.lt	LBB0_8
	b	LBB0_14
LBB0_12:
	mov	x20, x0
	b	LBB0_14
LBB0_13:
	mov	w20, #0
LBB0_14:
	mov	x0, x20
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_general_interrupt,4,2          ; @general_interrupt
	.comm	_IRQ_GENERAL,4,2                ; @IRQ_GENERAL
.subsections_via_symbols
