	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c4iw_arm_cq                    ## -- Begin function c4iw_arm_cq
	.p2align	4, 0x90
_c4iw_arm_cq:                           ## @c4iw_arm_cq
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	callq	_to_c4iw_cq
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_spin_lock_irqsave
	leaq	4(%r14), %rdi
	movq	_IB_CQ_SOLICITED_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ebx, %eax
	movq	_IB_CQ_SOLICITED@GOTPCREL(%rip), %rcx
	xorl	%esi, %esi
	cmpl	(%rcx), %eax
	sete	%sil
	callq	_t4_arm_cq
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	_IB_CQ_REPORT_MISSED_EVENTS@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	cmovnel	%r15d, %ebx
	testl	%r15d, %r15d
	cmovel	%r15d, %ebx
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_CQ_SOLICITED_MASK,4,2       ## @IB_CQ_SOLICITED_MASK
	.comm	_IB_CQ_SOLICITED,4,2            ## @IB_CQ_SOLICITED
	.comm	_IB_CQ_REPORT_MISSED_EVENTS,4,2 ## @IB_CQ_REPORT_MISSED_EVENTS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c4iw_arm_cq                    ; -- Begin function c4iw_arm_cq
	.p2align	2
_c4iw_arm_cq:                           ; @c4iw_arm_cq
	.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	x19, x1
	bl	_to_c4iw_cq
	mov	x20, x0
	bl	_spin_lock_irqsave
	add	x0, x20, #4
Lloh0:
	adrp	x8, _IB_CQ_SOLICITED_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_CQ_SOLICITED_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w19
Lloh3:
	adrp	x9, _IB_CQ_SOLICITED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IB_CQ_SOLICITED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w1, eq
	bl	_t4_arm_cq
	mov	x21, x0
	mov	x0, x20
	bl	_spin_unlock_irqrestore
Lloh6:
	adrp	x8, _IB_CQ_REPORT_MISSED_EVENTS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IB_CQ_REPORT_MISSED_EVENTS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w19
	ccmp	w21, #0, #4, ne
	csel	w0, wzr, w21, eq
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_CQ_SOLICITED_MASK,4,2       ; @IB_CQ_SOLICITED_MASK
	.comm	_IB_CQ_SOLICITED,4,2            ; @IB_CQ_SOLICITED
	.comm	_IB_CQ_REPORT_MISSED_EVENTS,4,2 ; @IB_CQ_REPORT_MISSED_EVENTS
.subsections_via_symbols
