	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnxt_qplib_rcfw_start_irq      ## -- Begin function bnxt_qplib_rcfw_start_irq
	.p2align	4, 0x90
_bnxt_qplib_rcfw_start_irq:             ## @bnxt_qplib_rcfw_start_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	32(%rdi), %rax
	movl	(%rax), %edi
	callq	_bnxt_qplib_is_chip_gen_p5
	cmpl	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	_EFAULT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_7
LBB0_2:
	movl	%eax, %r14d
	movl	%r12d, 4(%rbx)
	leaq	24(%rbx), %rdi
	testl	%r15d, %r15d
	je	LBB0_4
## %bb.3:
	movq	_bnxt_qplib_service_creq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_tasklet_init
	jmp	LBB0_5
LBB0_4:
	callq	_tasklet_enable
LBB0_5:
	movl	4(%rbx), %edi
	movq	_bnxt_qplib_creq_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	xorl	%edx, %edx
	movq	%rbx, %r8
	callq	_request_irq
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movl	$1, (%rbx)
	movl	20(%rbx), %edi
	movl	16(%rbx), %esi
	movl	8(%rbx), %ecx
	movl	12(%rbx), %edx
	movl	%r14d, %r8d
	callq	_bnxt_qplib_ring_creq_db_rearm
	xorl	%eax, %eax
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_bnxt_qplib_service_creq,4,2    ## @bnxt_qplib_service_creq
	.comm	_bnxt_qplib_creq_irq,4,2        ## @bnxt_qplib_creq_irq
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bnxt_qplib_creq"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnxt_qplib_rcfw_start_irq      ; -- Begin function bnxt_qplib_rcfw_start_irq
	.p2align	2
_bnxt_qplib_rcfw_start_irq:             ; @bnxt_qplib_rcfw_start_irq
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x8, [x0, #32]
	ldr	w0, [x8]
	bl	_bnxt_qplib_is_chip_gen_p5
	ldr	w8, [x19]
	cbz	w8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_2:
	mov	x20, x0
	str	w22, [x19, #4]
	add	x0, x19, #24
	cbz	w21, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _bnxt_qplib_service_creq@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bnxt_qplib_service_creq@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_tasklet_init
	b	LBB0_5
LBB0_4:
	bl	_tasklet_enable
LBB0_5:
	ldr	w0, [x19, #4]
Lloh6:
	adrp	x8, _bnxt_qplib_creq_irq@GOTPAGE
Lloh7:
	ldr	x8, [x8, _bnxt_qplib_creq_irq@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x3, l_.str@PAGE
Lloh10:
	add	x3, x3, l_.str@PAGEOFF
	mov	w2, #0
	mov	x4, x19
	bl	_request_irq
	cbnz	w0, LBB0_7
; %bb.6:
	mov	w8, #1
	str	w8, [x19]
	ldp	w1, w0, [x19, #16]
	ldp	w3, w2, [x19, #8]
	mov	x4, x20
	bl	_bnxt_qplib_ring_creq_db_rearm
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_bnxt_qplib_service_creq,4,2    ; @bnxt_qplib_service_creq
	.comm	_bnxt_qplib_creq_irq,4,2        ; @bnxt_qplib_creq_irq
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bnxt_qplib_creq"

.subsections_via_symbols
