	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipoib_poll
_ipoib_poll:                            ## @ipoib_poll
	.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	%rdi, %r13
	leaq	4(%rdi), %rbx
	movq	_IPOIB_OP_CM@GOTPCREL(%rip), %r15
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_spin_unlock
	movl	(%r13), %edi
	movq	_IB_CQ_REPORT_MISSED_EVENTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IB_CQ_NEXT_COMP@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	callq	_ib_req_notify_cq
	testq	%rax, %rax
	jle	LBB0_12
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
                                        ##       Child Loop BB0_4 Depth 3
	movq	%rbx, %rdi
	callq	_spin_lock
	movq	_IPOIB_NUM_WC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=2
	movq	_IPOIB_NUM_WC@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	cmpl	(%rax), %esi
	jne	LBB0_11
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_4 Depth 3
	movl	(%r13), %edi
	movq	8(%r13), %rdx
	callq	_ib_poll_cq
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jle	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	shlq	$2, %r12
	xorl	%r14d, %r14d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=3
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_ipoib_ib_handle_rx_wc
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=3
	addq	$4, %r14
	cmpq	%r14, %r12
	je	LBB0_10
LBB0_4:                                 ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_2 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	8(%r13), %rbx
	movl	(%rbx,%r14), %esi
	movq	_IPOIB_OP_RECV@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=3
	leaq	L_.str(%rip), %rdi
	callq	_panic
	movl	(%rbx,%r14), %esi
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=3
	addq	%r14, %rbx
	testl	%esi, (%r15)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=3
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_ipoib_cm_handle_rx_wc
	jmp	LBB0_9
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPOIB_NUM_WC,4,2               ## @IPOIB_NUM_WC
	.comm	_IPOIB_OP_RECV,4,2              ## @IPOIB_OP_RECV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ipoib_poll: Bad wr_id 0x%jX\n"

	.comm	_IPOIB_OP_CM,4,2                ## @IPOIB_OP_CM
	.comm	_IB_CQ_NEXT_COMP,4,2            ## @IB_CQ_NEXT_COMP
	.comm	_IB_CQ_REPORT_MISSED_EVENTS,4,2 ## @IB_CQ_REPORT_MISSED_EVENTS
	.no_dead_strip	_ipoib_poll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipoib_poll
_ipoib_poll:                            ; @ipoib_poll
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x0
	add	x20, x0, #4
Lloh0:
	adrp	x24, _IPOIB_NUM_WC@GOTPAGE
Lloh1:
	ldr	x24, [x24, _IPOIB_NUM_WC@GOTPAGEOFF]
Lloh2:
	adrp	x25, _IPOIB_OP_RECV@GOTPAGE
Lloh3:
	ldr	x25, [x25, _IPOIB_OP_RECV@GOTPAGEOFF]
Lloh4:
	adrp	x21, l_.str@PAGE
Lloh5:
	add	x21, x21, l_.str@PAGEOFF
Lloh6:
	adrp	x26, _IPOIB_OP_CM@GOTPAGE
Lloh7:
	ldr	x26, [x26, _IPOIB_OP_CM@GOTPAGEOFF]
	str	x20, [sp, #8]                   ; 8-byte Folded Spill
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x20, [sp, #8]                   ; 8-byte Folded Reload
	mov	x0, x20
	bl	_spin_unlock
	ldr	w0, [x19]
Lloh8:
	adrp	x8, _IB_CQ_NEXT_COMP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IB_CQ_NEXT_COMP@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _IB_CQ_REPORT_MISSED_EVENTS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IB_CQ_REPORT_MISSED_EVENTS@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_ib_req_notify_cq
	cmp	x0, #0
	b.le	LBB0_12
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
                                        ;       Child Loop BB0_8 Depth 3
	mov	x0, x20
	bl	_spin_lock
	ldr	w22, [x24]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=2
	ldr	w8, [x24]
	cmp	w22, w8
	b.ne	LBB0_1
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_8 Depth 3
	ldr	w0, [x19]
	ldr	x2, [x19, #8]
	mov	x1, x22
	bl	_ib_poll_cq
	mov	x22, x0
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	mov	x27, #0
	mov	w8, w22
	lsl	x28, x8, #2
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=3
	mov	x1, x23
	bl	_ipoib_ib_handle_rx_wc
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=3
	add	x27, x27, #4
	cmp	x28, x27
	b.eq	LBB0_3
LBB0_8:                                 ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_4 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x20, [x19, #8]
	add	x23, x20, x27
	ldr	w1, [x23]
	ldr	w8, [x25]
	tst	w8, w1
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=3
	mov	x0, x21
	bl	_panic
	ldr	w1, [x20, x27]
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=3
	ldr	w8, [x26]
	mov	x0, x19
	tst	w8, w1
	b.eq	LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=3
	mov	x1, x23
	bl	_ipoib_cm_handle_rx_wc
	b	LBB0_7
LBB0_12:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IPOIB_NUM_WC,4,2               ; @IPOIB_NUM_WC
	.comm	_IPOIB_OP_RECV,4,2              ; @IPOIB_OP_RECV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ipoib_poll: Bad wr_id 0x%jX\n"

	.comm	_IPOIB_OP_CM,4,2                ; @IPOIB_OP_CM
	.comm	_IB_CQ_NEXT_COMP,4,2            ; @IB_CQ_NEXT_COMP
	.comm	_IB_CQ_REPORT_MISSED_EVENTS,4,2 ; @IB_CQ_REPORT_MISSED_EVENTS
	.no_dead_strip	_ipoib_poll
.subsections_via_symbols
