	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function c2_poll_one
_c2_poll_one:                           ## @c2_poll_one
	.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
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rsi, %rdi
	callq	_c2_mq_consume
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %r12
	testq	%r12, %r12
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_c2_mq_free
	movq	%r15, %rdi
	callq	_c2_mq_consume
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
LBB0_4:
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_14
LBB0_5:
	movq	%rbx, %rdi
	callq	_c2_wr_get_result
	movl	%eax, %edi
	callq	_c2_cqe_status_to_openib
	movl	%eax, 68(%r14)
	movl	4(%rbx), %eax
	movl	%eax, 64(%r14)
	leaq	8(%r12), %rax
	movq	%rax, 56(%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%r14)
	movups	%xmm0, 24(%r14)
	movups	%xmm0, 8(%r14)
	movq	%rbx, %rdi
	callq	_c2_wr_get_id
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_12
## %bb.6:
	movq	_IB_WC_SEND@GOTPCREL(%rip), %rcx
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rax,4), %rax
	addq	%rdx, %rax
	jmpq	*%rax
LBB0_9:
	movl	(%rbx), %edi
	callq	_be32_to_cpu
	movl	%eax, (%r14)
	movq	_IB_WC_RECV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	addq	$4, %r12
	movq	%r12, %rdi
	movl	$1, %esi
	jmp	LBB0_13
LBB0_10:
	movq	_IB_WC_RDMA_WRITE@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
LBB0_7:
	movq	_IB_WC_RDMA_READ@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
LBB0_8:
	movq	_IB_WC_BIND_MW@GOTPCREL(%rip), %rcx
LBB0_11:
	movl	(%rcx), %eax
	movl	%eax, 4(%r14)
LBB0_12:
	movq	%rbx, %rdi
	callq	_c2_wr_get_wqe_count
	movl	%eax, %edi
	callq	_be32_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %esi
	movq	%r12, %rdi
LBB0_13:
	callq	_c2_mq_lconsume
	movq	%r15, %rdi
	callq	_c2_mq_free
	xorl	%eax, %eax
LBB0_14:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_7
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_IB_WC_SEND,4,2                 ## @IB_WC_SEND
	.comm	_IB_WC_RDMA_WRITE,4,2           ## @IB_WC_RDMA_WRITE
	.comm	_IB_WC_RDMA_READ,4,2            ## @IB_WC_RDMA_READ
	.comm	_IB_WC_BIND_MW,4,2              ## @IB_WC_BIND_MW
	.comm	_IB_WC_RECV,4,2                 ## @IB_WC_RECV
	.no_dead_strip	_c2_poll_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function c2_poll_one
_c2_poll_one:                           ; @c2_poll_one
	.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	x20, x2
	mov	x19, x1
	mov	x0, x1
	bl	_c2_mq_consume
	cbz	x0, LBB0_4
; %bb.1:
	mov	x22, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x22, #8]
	cbnz	x21, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_c2_mq_free
	mov	x0, x19
	bl	_c2_mq_consume
	mov	x22, x0
	cbnz	x0, LBB0_2
LBB0_4:
Lloh0:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_14
LBB0_5:
	mov	x0, x22
	bl	_c2_wr_get_result
	bl	_c2_cqe_status_to_openib
	ldr	w8, [x22, #4]
	stp	w8, w0, [x20, #64]
	add	x8, x21, #8
	str	x8, [x20, #56]
	movi.2d	v0, #0000000000000000
	stur	q0, [x20, #40]
	stur	q0, [x20, #24]
	stur	q0, [x20, #8]
	mov	x0, x22
	bl	_c2_wr_get_id
	sub	w9, w0, #128
	cmp	w9, #4
	b.hi	LBB0_12
; %bb.6:
Lloh3:
	adrp	x8, _IB_WC_SEND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_WC_SEND@GOTPAGEOFF]
Lloh5:
	adrp	x10, lJTI0_0@PAGE
Lloh6:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_7
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_7:
	ldr	w0, [x22]
	bl	_be32_to_cpu
	str	w0, [x20]
Lloh7:
	adrp	x8, _IB_WC_RECV@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IB_WC_RECV@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x20, #4]
	add	x0, x21, #4
	mov	w1, #1
	b	LBB0_13
LBB0_8:
Lloh10:
	adrp	x8, _IB_WC_RDMA_WRITE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IB_WC_RDMA_WRITE@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
Lloh12:
	adrp	x8, _IB_WC_RDMA_READ@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IB_WC_RDMA_READ@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh14:
	adrp	x8, _IB_WC_BIND_MW@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IB_WC_BIND_MW@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	str	w8, [x20, #4]
LBB0_12:
	mov	x0, x22
	bl	_c2_wr_get_wqe_count
	bl	_be32_to_cpu
	add	w1, w0, #1
	mov	x0, x21
LBB0_13:
	bl	_c2_mq_lconsume
	mov	x0, x19
	bl	_c2_mq_free
	mov	w0, #0
LBB0_14:
	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 AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_11-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_8-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_10-LBB0_7)>>2
                                        ; -- End function
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_IB_WC_SEND,4,2                 ; @IB_WC_SEND
	.comm	_IB_WC_RDMA_WRITE,4,2           ; @IB_WC_RDMA_WRITE
	.comm	_IB_WC_RDMA_READ,4,2            ; @IB_WC_RDMA_READ
	.comm	_IB_WC_BIND_MW,4,2              ; @IB_WC_BIND_MW
	.comm	_IB_WC_RECV,4,2                 ; @IB_WC_RECV
	.no_dead_strip	_c2_poll_one
.subsections_via_symbols
