	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qedr_setup_irqs
_qedr_setup_irqs:                       ## @qedr_setup_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_QEDR_MSG_INIT@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_DP_DEBUG
	movq	16(%rbx), %rax
	movl	8(%rbx), %edi
	movl	24(%rbx), %esi
	callq	*(%rax)
	testl	%eax, %eax
	js	LBB0_7
## %bb.1:
	movq	16(%rbx), %rax
	movl	8(%rbx), %edi
	movq	%rbx, %rsi
	callq	*8(%rax)
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %r14d
	leaq	L_.str.1(%rip), %r15
LBB0_6:
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_DP_DEBUG
	movl	%r14d, %eax
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	(%rbx), %rcx
	leaq	L_.str.3(%rip), %r15
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.5:
	movl	(%r12), %esi
	leaq	L_.str.2(%rip), %rdx
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_DP_DEBUG
	movq	%rbx, %rdi
	callq	_qedr_req_msix_irqs
	testl	%eax, %eax
	jne	LBB0_7
	jmp	LBB0_6
LBB0_4:
	xorl	%r14d, %r14d
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_QEDR_MSG_INIT,4,2              ## @QEDR_MSG_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"qedr_setup_irqs\n"

L_.str.1:                               ## @.str.1
	.asciz	"get_rdma_int failed\n"

L_.str.2:                               ## @.str.2
	.asciz	"rdma msix_cnt = %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"qedr_setup_irqs succeeded\n"

	.no_dead_strip	_qedr_setup_irqs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qedr_setup_irqs
_qedr_setup_irqs:                       ; @qedr_setup_irqs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x21, _QEDR_MSG_INIT@GOTPAGE
Lloh1:
	ldr	x21, [x21, _QEDR_MSG_INIT@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	bl	_DP_DEBUG
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	w0, [x19, #8]
	ldr	w1, [x19, #24]
	blr	x8
	tbnz	w0, #31, LBB0_3
; %bb.1:
	ldr	x8, [x19, #16]
	ldr	x8, [x8, #8]
	ldr	w0, [x19, #8]
	mov	x1, x19
	blr	x8
	cbz	w0, LBB0_4
; %bb.2:
	mov	x20, x0
Lloh4:
	adrp	x2, l_.str.1@PAGE
Lloh5:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_3:
	mov	x20, x0
	b	LBB0_9
LBB0_4:
	ldr	x8, [x19]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	w1, [x21]
	str	x8, [sp]
Lloh6:
	adrp	x2, l_.str.2@PAGE
Lloh7:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_DP_DEBUG
	mov	x0, x19
	bl	_qedr_req_msix_irqs
	mov	x20, x0
	cbnz	w0, LBB0_9
	b	LBB0_7
LBB0_6:
	mov	w20, #0
LBB0_7:
Lloh8:
	adrp	x2, l_.str.3@PAGE
Lloh9:
	add	x2, x2, l_.str.3@PAGEOFF
LBB0_8:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_DP_DEBUG
LBB0_9:
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_QEDR_MSG_INIT,4,2              ; @QEDR_MSG_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"qedr_setup_irqs\n"

l_.str.1:                               ; @.str.1
	.asciz	"get_rdma_int failed\n"

l_.str.2:                               ; @.str.2
	.asciz	"rdma msix_cnt = %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"qedr_setup_irqs succeeded\n"

	.no_dead_strip	_qedr_setup_irqs
.subsections_via_symbols
