	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iser_cq_tasklet_fn
_iser_cq_tasklet_fn:                    ## @iser_cq_tasklet_fn
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rax
	movslq	(%rdi), %rcx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rax
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	(%rax,%rcx,8), %r13
	leaq	-104(%rbp), %rdx
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_ib_poll_cq
	xorl	%r12d, %r12d
	movl	$0, %ebx
	cmpl	$1, %eax
	jne	LBB0_12
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movl	$1, %esi
	leaq	-104(%rbp), %rdx
	callq	_ib_poll_cq
	cmpl	$1, %eax
	jne	LBB0_12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-80(%rbp), %r14
	xorl	%edi, %edi
	testq	%r14, %r14
	sete	%dil
	callq	_BUG_ON
	movq	-104(%rbp), %rdx
	movq	-64(%rbp), %rax
	movq	(%rax), %r15
	movq	_IB_WC_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-96(%rbp), %rdx
	movq	_IB_WC_RECV@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	cmpq	%rsi, %rdx
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_iser_rcv_completion
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_IB_WC_WR_FLUSH_ERR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rsi
	movl	-88(%rbp), %ecx
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_iser_err
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	decl	(%r15)
	xorl	%edi, %edi
	movq	%r15, %rsi
	callq	_iser_handle_comp_error
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_iser_err
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	testb	$63, %bl
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_iser_drain_tx_cq
	addl	%eax, %r12d
	jmp	LBB0_11
LBB0_12:
	movq	_IB_CQ_NEXT_COMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_ib_req_notify_cq
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_iser_drain_tx_cq
	addl	%eax, %r12d
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	callq	_iser_dbg
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_WC_SUCCESS,8,3              ## @IB_WC_SUCCESS
	.comm	_IB_WC_RECV,8,3                 ## @IB_WC_RECV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"expected opcode %d got %d\n"

	.comm	_IB_WC_WR_FLUSH_ERR,8,3         ## @IB_WC_WR_FLUSH_ERR
L_.str.1:                               ## @.str.1
	.asciz	"rx id %llx status %d vend_err %x\n"

	.comm	_IB_CQ_NEXT_COMP,4,2            ## @IB_CQ_NEXT_COMP
L_.str.2:                               ## @.str.2
	.asciz	"got %d rx %d tx completions\n"

	.no_dead_strip	_iser_cq_tasklet_fn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iser_cq_tasklet_fn
_iser_cq_tasklet_fn:                    ; @iser_cq_tasklet_fn
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x19, [x0, #8]
	ldrsw	x20, [x0]
	ldr	x8, [x19]
	ldr	x21, [x8, x20, lsl #3]
	add	x2, sp, #16
	mov	x0, x21
	mov	w1, #1
	bl	_ib_poll_cq
	cmp	w0, #1
	b.ne	LBB0_12
; %bb.1:
	mov	w22, #0
	mov	w27, #0
Lloh0:
	adrp	x28, _IB_WC_SUCCESS@GOTPAGE
Lloh1:
	ldr	x28, [x28, _IB_WC_SUCCESS@GOTPAGEOFF]
Lloh2:
	adrp	x23, _IB_WC_RECV@GOTPAGE
Lloh3:
	ldr	x23, [x23, _IB_WC_RECV@GOTPAGEOFF]
Lloh4:
	adrp	x24, _IB_WC_WR_FLUSH_ERR@GOTPAGE
Lloh5:
	ldr	x24, [x24, _IB_WC_WR_FLUSH_ERR@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x2, sp, #16
	mov	x0, x21
	mov	w1, #1
	bl	_ib_poll_cq
	cmp	w0, #1
	b.ne	LBB0_13
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x26, [sp, #40]
	cmp	x26, #0
	cset	w0, eq
	bl	_BUG_ON
	ldr	x8, [sp, #56]
	ldr	x2, [sp, #16]
	ldr	x25, [x8]
	ldr	x8, [x28]
	cmp	x2, x8
	b.ne	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x2, [sp, #24]
	ldr	x1, [x23]
	cmp	x2, x1
	b.ne	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [sp, #48]
	mov	x0, x26
	mov	x2, x25
	bl	_iser_rcv_completion
	b	LBB0_10
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x24]
	cmp	x2, x8
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [sp, #40]
	ldr	w8, [sp, #32]
	str	x8, [sp]
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_iser_err
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x25]
	sub	w8, w8, #1
	str	w8, [x25]
	mov	x0, #0
	mov	x1, x25
	bl	_iser_handle_comp_error
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_iser_err
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w22, w22, #1
	tst	w22, #0x3f
	b.ne	LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_iser_drain_tx_cq
	add	w27, w27, w0
	b	LBB0_2
LBB0_12:
	mov	w27, #0
	mov	w22, #0
LBB0_13:
Lloh10:
	adrp	x8, _IB_CQ_NEXT_COMP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IB_CQ_NEXT_COMP@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_ib_req_notify_cq
	mov	x0, x19
	mov	x1, x20
	bl	_iser_drain_tx_cq
	add	w2, w27, w0
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x22
	bl	_iser_dbg
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_WC_SUCCESS,8,3              ; @IB_WC_SUCCESS
	.comm	_IB_WC_RECV,8,3                 ; @IB_WC_RECV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"expected opcode %d got %d\n"

	.comm	_IB_WC_WR_FLUSH_ERR,8,3         ; @IB_WC_WR_FLUSH_ERR
l_.str.1:                               ; @.str.1
	.asciz	"rx id %llx status %d vend_err %x\n"

	.comm	_IB_CQ_NEXT_COMP,4,2            ; @IB_CQ_NEXT_COMP
l_.str.2:                               ; @.str.2
	.asciz	"got %d rx %d tx completions\n"

	.no_dead_strip	_iser_cq_tasklet_fn
.subsections_via_symbols
