	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qedr_req_msix_irqs
_qedr_req_msix_irqs:                    ## @qedr_req_msix_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, %r12
	movl	(%rdi), %edx
	movl	16(%rdi), %ecx
	cmpl	%ecx, %edx
	jle	LBB0_1
## %bb.3:
	leaq	L_.str(%rip), %rsi
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_DP_ERR
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_9
LBB0_1:
	testl	%edx, %edx
	jle	LBB0_2
## %bb.4:
	movq	_qedr_irq_handler@GOTPCREL(%rip), %r14
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_QEDR_MSG_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	32(%r12), %r9
	movl	(%r9,%r15), %ecx
	addq	%r15, %r9
	movq	%r12, %rdi
	leaq	L_.str.2(%rip), %rdx
	movl	%ebx, %r8d
	callq	_DP_DEBUG
	incl	20(%r12)
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movslq	(%r12), %rax
	addq	$4, %r15
	cmpq	%rax, %rbx
	jge	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movslq	4(%r12), %rax
	movslq	%ebx, %rcx
	imulq	%rax, %rcx
	addq	8(%r12), %rcx
	movq	24(%r12), %rax
	movq	32(%r12), %r8
	movl	(%rax,%rcx,4), %edi
	movl	(%r14), %esi
	movl	(%r8,%r15), %ecx
	addq	%r15, %r8
	xorl	%edx, %edx
	callq	_request_irq
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_DP_ERR
	movq	%r12, %rdi
	callq	_qedr_sync_free_irqs
	jmp	LBB0_8
LBB0_2:
	xorl	%r13d, %r13d
LBB0_9:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Interrupt mismatch: %d CNQ queues > %d MSI-x vectors\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_qedr_irq_handler,4,2           ## @qedr_irq_handler
L_.str.1:                               ## @.str.1
	.asciz	"Request cnq %d irq failed\n"

	.comm	_QEDR_MSG_INIT,4,2              ## @QEDR_MSG_INIT
L_.str.2:                               ## @.str.2
	.asciz	"Requested cnq irq for %s [entry %d]. Cookie is at %p\n"

	.no_dead_strip	_qedr_req_msix_irqs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qedr_req_msix_irqs
_qedr_req_msix_irqs:                    ; @qedr_req_msix_irqs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	w2, [x0]
	ldr	w8, [x0, #16]
	cmp	w2, w8
	b.le	LBB0_2
; %bb.1:
	str	x8, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_DP_ERR
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_9
LBB0_2:
	cmp	w2, #1
	b.lt	LBB0_8
; %bb.3:
	mov	x24, #0
	mov	x20, #0
Lloh5:
	adrp	x25, _qedr_irq_handler@GOTPAGE
Lloh6:
	ldr	x25, [x25, _qedr_irq_handler@GOTPAGEOFF]
Lloh7:
	adrp	x26, _QEDR_MSG_INIT@GOTPAGE
Lloh8:
	ldr	x26, [x26, _QEDR_MSG_INIT@GOTPAGEOFF]
Lloh9:
	adrp	x21, l_.str.2@PAGE
Lloh10:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh11:
	adrp	x22, l_.str.1@PAGE
Lloh12:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x26]
	ldr	x8, [x19, #32]
	add	x5, x8, x24
	ldr	w3, [x5]
	mov	x0, x19
	mov	x2, x21
	mov	x4, x20
	bl	_DP_DEBUG
	ldr	w8, [x19, #20]
	add	w8, w8, #1
	str	w8, [x19, #20]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x19]
	add	x24, x24, #4
	cmp	x20, x8
	b.ge	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x19, #4]
	sxtw	x9, w20
	ldr	x10, [x19, #8]
	madd	x8, x8, x9, x10
	ldp	x9, x10, [x19, #24]
	ldr	w0, [x9, x8, lsl #2]
	ldr	w1, [x25]
	add	x4, x10, x24
	ldr	w3, [x4]
	mov	w2, #0
	bl	_request_irq
	mov	x23, x0
	cbz	w0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_DP_ERR
	mov	x0, x19
	bl	_qedr_sync_free_irqs
	b	LBB0_5
LBB0_8:
	mov	w23, #0
LBB0_9:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Interrupt mismatch: %d CNQ queues > %d MSI-x vectors\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_qedr_irq_handler,4,2           ; @qedr_irq_handler
l_.str.1:                               ; @.str.1
	.asciz	"Request cnq %d irq failed\n"

	.comm	_QEDR_MSG_INIT,4,2              ; @QEDR_MSG_INIT
l_.str.2:                               ; @.str.2
	.asciz	"Requested cnq irq for %s [entry %d]. Cookie is at %p\n"

	.no_dead_strip	_qedr_req_msix_irqs
.subsections_via_symbols
