	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qede_setup_irqs
_qede_setup_irqs:                       ## @qede_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	%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	40(%rdi), %rax
	movq	(%rax), %rax
	movl	32(%rdi), %edi
	movq	%r14, %rsi
	callq	*(%rax)
	testl	%eax, %eax
	jne	LBB0_9
## %bb.1:
	cmpq	$0, 16(%r14)
	je	LBB0_4
## %bb.2:
	movq	%r14, %rdi
	callq	_qede_req_msix_irqs
	testl	%eax, %eax
	jne	LBB0_9
## %bb.3:
	movq	8(%r14), %rax
	movq	48(%r14), %rcx
	movl	(%rax), %eax
	movl	%eax, (%rcx)
	jmp	LBB0_8
LBB0_4:
	movq	40(%r14), %rax
	movq	(%rax), %r15
	movq	%r14, %rdi
	callq	_QEDE_QUEUE_CNT
	testl	%eax, %eax
	jle	LBB0_7
## %bb.5:
	xorl	%r12d, %r12d
	movq	_qede_simd_fp_handler@GOTPCREL(%rip), %r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	32(%r14), %edi
	movq	24(%r14), %rsi
	addq	%r12, %rsi
	movl	(%r13), %ecx
	movl	%ebx, %edx
	callq	*8(%r15)
	incq	%rbx
	movq	%r14, %rdi
	callq	_QEDE_QUEUE_CNT
	cltq
	addq	$4, %r12
	cmpq	%rax, %rbx
	jl	LBB0_6
LBB0_7:
	movq	%r14, %rdi
	callq	_QEDE_QUEUE_CNT
	movl	%eax, (%r14)
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qede_simd_fp_handler,4,2       ## @qede_simd_fp_handler
	.no_dead_strip	_qede_setup_irqs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qede_setup_irqs
_qede_setup_irqs:                       ; @qede_setup_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
	ldr	x8, [x0, #40]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w0, [x0, #32]
	mov	x1, x19
	blr	x8
	cbz	w0, LBB0_2
LBB0_1:
	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
LBB0_2:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_qede_req_msix_irqs
	cbnz	w0, LBB0_1
; %bb.4:
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	ldr	x9, [x19, #48]
	str	w8, [x9]
	b	LBB0_1
LBB0_5:
	ldr	x8, [x19, #40]
	ldr	x21, [x8]
	mov	x0, x19
	bl	_QEDE_QUEUE_CNT
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.6:
	mov	x22, #0
	mov	x20, #0
Lloh0:
	adrp	x23, _qede_simd_fp_handler@GOTPAGE
Lloh1:
	ldr	x23, [x23, _qede_simd_fp_handler@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	ldr	w0, [x19, #32]
	ldr	x9, [x19, #24]
	add	x1, x9, x22
	ldr	w3, [x23]
	mov	x2, x20
	blr	x8
	add	x20, x20, #1
	mov	x0, x19
	bl	_QEDE_QUEUE_CNT
	add	x22, x22, #4
	cmp	x20, w0, sxtw
	b.lt	LBB0_7
LBB0_8:
	mov	x0, x19
	bl	_QEDE_QUEUE_CNT
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19]
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_qede_simd_fp_handler,4,2       ; @qede_simd_fp_handler
	.no_dead_strip	_qede_setup_irqs
.subsections_via_symbols
