	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_ib_poll_cq                ## -- Begin function mlx5_ib_poll_cq
	.p2align	4, 0x90
_mlx5_ib_poll_cq:                       ## @mlx5_ib_poll_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %r14d
	callq	_to_mcq
	movq	%rax, %r13
	movq	$0, -56(%rbp)
	movl	12(%rax), %edi
	callq	_to_mdev
	movq	(%rax), %rbx
	movq	%r13, %rdi
	callq	_spin_lock_irqsave
	movq	(%rbx), %r12
	movq	_MLX5_DEVICE_STATE_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	leaq	8(%r13), %rdi
	callq	_list_empty
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	cmpq	%rbx, %r12
	jne	LBB0_5
## %bb.1:
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%r13, %rdi
	movl	%r14d, %esi
	movq	%r15, %rdx
	movl	$1, %ecx
	callq	_poll_soft_wc
	movl	%eax, %ebx
	jmp	LBB0_4
LBB0_5:
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%r13, %rdi
	movl	%r14d, %esi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_poll_soft_wc
	movl	%eax, %ebx
	jmp	LBB0_8
LBB0_2:
	xorl	%ebx, %ebx
LBB0_4:
	subl	%ebx, %r14d
	movslq	%ebx, %rax
	leaq	(%r15,%rax,4), %rdx
	leaq	-44(%rbp), %rcx
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_mlx5_ib_poll_sw_comp
	jmp	LBB0_15
LBB0_6:
	xorl	%ebx, %ebx
LBB0_8:
	movl	$0, -44(%rbp)
	subl	%ebx, %r14d
	jle	LBB0_15
## %bb.9:
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movslq	%ebx, %rax
	leaq	(%r15,%rax,4), %rbx
	xorl	%r12d, %r12d
	leaq	-56(%rbp), %r15
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_mlx5_poll_one
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	incl	%r12d
	movl	%r12d, -44(%rbp)
	addq	$4, %rbx
	cmpl	%r14d, %r12d
	jl	LBB0_10
	jmp	LBB0_13
LBB0_12:
	testl	%r12d, %r12d
	je	LBB0_14
LBB0_13:
	movq	%r13, %rdi
	addq	$4, %rdi
	callq	_mlx5_cq_set_ci
LBB0_14:
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
LBB0_15:
	movq	%r13, %rdi
	callq	_spin_unlock_irqrestore
	addl	-44(%rbp), %ebx
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_DEVICE_STATE_INTERNAL_ERROR,8,3 ## @MLX5_DEVICE_STATE_INTERNAL_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_ib_poll_cq                ; -- Begin function mlx5_ib_poll_cq
	.p2align	2
_mlx5_ib_poll_cq:                       ; @mlx5_ib_poll_cq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x2
	mov	x22, x1
	bl	_to_mcq
	mov	x19, x0
	str	xzr, [sp, #8]
	ldr	w0, [x0, #12]
	bl	_to_mdev
	ldr	x21, [x0]
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	x21, [x21]
Lloh0:
	adrp	x8, _MLX5_DEVICE_STATE_INTERNAL_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5_DEVICE_STATE_INTERNAL_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	add	x0, x19, #8
	bl	_list_empty
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cmp	x21, x23
	b.ne	LBB0_3
; %bb.1:
	cbz	x0, LBB0_5
; %bb.2:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	mov	w3, #1
	bl	_poll_soft_wc
	mov	x21, x0
	b	LBB0_6
LBB0_3:
	cbz	x0, LBB0_7
; %bb.4:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	mov	w3, #0
	bl	_poll_soft_wc
	mov	x21, x0
	b	LBB0_8
LBB0_5:
	mov	w21, #0
LBB0_6:
	sub	w1, w22, w21
	add	x2, x20, w21, sxtw #2
	add	x3, sp, #4
	mov	x0, x19
	bl	_mlx5_ib_poll_sw_comp
	b	LBB0_14
LBB0_7:
	mov	w21, #0
LBB0_8:
	sub	w22, w22, w21
	str	wzr, [sp, #4]
	cmp	w22, #1
	b.lt	LBB0_14
; %bb.9:
	mov	w23, #0
	add	x20, x20, w21, sxtw #2
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x20
	bl	_mlx5_poll_one
	cbnz	x0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	w23, w23, #1
	str	w23, [sp, #4]
	add	x20, x20, #4
	cmp	w23, w22
	b.lt	LBB0_10
	b	LBB0_13
LBB0_12:
	cbz	w23, LBB0_14
LBB0_13:
	add	x0, x19, #4
	bl	_mlx5_cq_set_ci
LBB0_14:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	ldr	w8, [sp, #4]
	add	w0, w8, w21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_DEVICE_STATE_INTERNAL_ERROR,8,3 ; @MLX5_DEVICE_STATE_INTERNAL_ERROR
.subsections_via_symbols
