	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __bnxt_poll_cqs_done
___bnxt_poll_cqs_done:                  ## @__bnxt_poll_cqs_done
	.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
	movl	%ecx, %r12d
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	24(%rsi), %rax
	movq	(%rax), %r14
	testq	%r14, %r14
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_4
## %bb.1:
	testl	%r12d, %r12d
	jne	LBB0_3
## %bb.2:
	cmpq	$0, (%r14)
	je	LBB0_9
LBB0_3:
	movl	12(%r14), %ebx
	orl	%r13d, %ebx
	movl	8(%r14), %edi
	callq	_RING_CMP
	orl	%eax, %ebx
	movl	16(%r14), %esi
	movl	%ebx, %edi
	callq	_writeq
	movq	$0, (%r14)
	movq	24(%r15), %rax
LBB0_4:
	movq	8(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.5:
	testl	%r12d, %r12d
	jne	LBB0_7
	jmp	LBB0_6
LBB0_9:
	movq	8(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
LBB0_6:
	cmpq	$0, (%rbx)
	je	LBB0_8
LBB0_7:
	orl	12(%rbx), %r13d
	movl	8(%rbx), %edi
	callq	_RING_CMP
	orl	%eax, %r13d
	movl	16(%rbx), %esi
	movl	%r13d, %edi
	callq	_writeq
	movq	$0, (%rbx)
LBB0_8:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___bnxt_poll_work_done          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	___bnxt_poll_cqs_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __bnxt_poll_cqs_done
___bnxt_poll_cqs_done:                  ; @__bnxt_poll_cqs_done
	.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	x22, x3
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1, #24]
	ldr	x23, [x8]
	cbz	x23, LBB0_4
; %bb.1:
	cbnz	w22, LBB0_3
; %bb.2:
	ldr	x9, [x23]
	cbz	x9, LBB0_6
LBB0_3:
	ldp	w0, w8, [x23, #8]
	orr	w24, w8, w21
	bl	_RING_CMP
	orr	w0, w24, w0
	ldr	w1, [x23, #16]
	bl	_writeq
	str	xzr, [x23]
	ldr	x8, [x19, #24]
LBB0_4:
	ldr	x23, [x8, #8]
	cbz	x23, LBB0_9
; %bb.5:
	cbnz	w22, LBB0_8
	b	LBB0_7
LBB0_6:
	ldr	x23, [x8, #8]
	cbz	x23, LBB0_9
LBB0_7:
	ldr	x8, [x23]
	cbz	x8, LBB0_9
LBB0_8:
	ldp	w0, w8, [x23, #8]
	orr	w21, w8, w21
	bl	_RING_CMP
	orr	w0, w21, w0
	ldr	w1, [x23, #16]
	bl	_writeq
	str	xzr, [x23]
LBB0_9:
	mov	x0, x20
	mov	x1, x19
	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
	b	___bnxt_poll_work_done
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	___bnxt_poll_cqs_done
.subsections_via_symbols
