	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipoib_cm_handle_tx_wc          ## -- Begin function ipoib_cm_handle_tx_wc
	.p2align	4, 0x90
_ipoib_cm_handle_tx_wc:                 ## @ipoib_cm_handle_tx_wc
	.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	%rsi, %r13
	movq	%rdi, %r12
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	16(%r13), %rax
	movq	(%rax), %r15
	movq	_IPOIB_OP_CM@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	notl	%r14d
	andl	(%r13), %r14d
	movl	8(%r13), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_ipoib_dbg_data
	movq	_ipoib_sendq_size@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	(%rax), %r14d
	setae	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
## %bb.13:
	movq	_ipoib_sendq_size@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ipoib_warn                     ## TAILCALL
LBB0_1:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %r12
	movq	24(%r15), %r15
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	20(%rax), %edi
	movq	%r14, %rbx
	shlq	$4, %rbx
	movl	8(%r15,%rbx), %esi
	movq	(%r15,%rbx), %rax
	movq	(%rax), %rdx
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_ib_dma_unmap_single
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	incl	4(%rax)
	movq	(%r15,%rbx), %rdi
	movq	%r12, %r15
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	(%rdi), %eax
	addl	%eax, (%r12)
	callq	_dev_kfree_skb_any
	movq	%r12, %rdi
	callq	_netif_tx_lock
	incl	16(%r15)
	movl	(%rbx), %eax
	decl	%eax
	movl	%eax, (%rbx)
	movq	_ipoib_sendq_size@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	shrl	%ecx
	xorl	%edi, %edi
	cmpl	%ecx, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%r12, %rdi
	callq	_netif_queue_stopped
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_IPOIB_FLAG_ADMIN_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%rbx), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r12, %rdi
	callq	_netif_wake_queue
LBB0_5:
	movl	8(%r13), %edx
	movq	_IB_WC_SUCCESS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	je	LBB0_12
## %bb.6:
	movq	_IB_WC_WR_FLUSH_ERR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	je	LBB0_12
## %bb.7:
	movl	4(%r13), %r8d
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %ecx
	callq	_ipoib_dbg
	leaq	4(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	movq	$0, (%rdi)
	callq	_ipoib_neigh_free
	movq	$0, 8(%r15)
LBB0_9:
	movq	_IPOIB_FLAG_INITIALIZED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	leaq	4(%r15), %rdi
	leaq	8(%rbx), %r13
	addq	$12, %rbx
	movq	%rbx, %rsi
	callq	_list_move
	movq	_ipoib_workqueue@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_queue_work
LBB0_11:
	movq	_IPOIB_FLAG_OPER_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_clear_bit
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
LBB0_12:
	movq	%r12, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_tx_unlock                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IPOIB_OP_CM,4,2                ## @IPOIB_OP_CM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cm send completion: id %d, status: %d\n"

	.comm	_ipoib_sendq_size,4,2           ## @ipoib_sendq_size
L_.str.1:                               ## @.str.1
	.asciz	"cm send completion event with wrid %d (> %d)\n"

	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_IPOIB_FLAG_ADMIN_UP,4,2        ## @IPOIB_FLAG_ADMIN_UP
	.comm	_IB_WC_SUCCESS,4,2              ## @IB_WC_SUCCESS
	.comm	_IB_WC_WR_FLUSH_ERR,4,2         ## @IB_WC_WR_FLUSH_ERR
L_.str.2:                               ## @.str.2
	.asciz	"failed cm send event (status=%d, wrid=%d vend_err %x)\n"

	.comm	_IPOIB_FLAG_INITIALIZED,4,2     ## @IPOIB_FLAG_INITIALIZED
	.comm	_ipoib_workqueue,4,2            ## @ipoib_workqueue
	.comm	_IPOIB_FLAG_OPER_UP,4,2         ## @IPOIB_FLAG_OPER_UP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipoib_cm_handle_tx_wc          ; -- Begin function ipoib_cm_handle_tx_wc
	.p2align	2
_ipoib_cm_handle_tx_wc:                 ; @ipoib_cm_handle_tx_wc
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x1
	mov	x19, x0
	bl	_netdev_priv
	mov	x21, x0
	ldr	x8, [x22, #16]
	ldr	x20, [x8]
	ldr	w8, [x22]
Lloh0:
	adrp	x9, _IPOIB_OP_CM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IPOIB_OP_CM@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	bic	w23, w8, w9
	ldr	w3, [x22, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x23
	bl	_ipoib_dbg_data
Lloh5:
	adrp	x24, _ipoib_sendq_size@GOTPAGE
Lloh6:
	ldr	x24, [x24, _ipoib_sendq_size@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w23, w8
	cset	w0, hs
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w3, [x24]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x2, x23
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ipoib_warn
LBB0_2:
	ldr	x8, [x20, #24]
	ldr	w0, [x21, #20]
	add	x25, x8, x23, lsl #4
	ldr	w1, [x25, #8]
	ldr	x8, [x25]
	ldr	x2, [x8]
Lloh9:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	bl	_ib_dma_unmap_single
	ldr	x0, [x25]
	ldr	d0, [x19]
	movi.2s	v1, #1
	ld1.s	{ v1 }[0], [x0]
	add.2s	v0, v0, v1
	str	d0, [x19]
	bl	_dev_kfree_skb_any
	mov	x0, x19
	bl	_netif_tx_lock
	ldr	w8, [x20, #16]
	add	w8, w8, #1
	str	w8, [x20, #16]
	ldr	w8, [x21]
	sub	w8, w8, #1
	str	w8, [x21]
	ldr	w9, [x24]
	cmp	w8, w9, lsr #1
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.3:
	mov	x0, x19
	bl	_netif_queue_stopped
	cbz	x0, LBB0_6
; %bb.4:
Lloh12:
	adrp	x8, _IPOIB_FLAG_ADMIN_UP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IPOIB_FLAG_ADMIN_UP@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	add	x1, x21, #16
	bl	_test_bit
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_netif_wake_queue
LBB0_6:
	ldr	w2, [x22, #8]
Lloh15:
	adrp	x8, _IB_WC_SUCCESS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IB_WC_SUCCESS@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w2, w8
	b.eq	LBB0_13
; %bb.7:
Lloh18:
	adrp	x8, _IB_WC_WR_FLUSH_ERR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IB_WC_WR_FLUSH_ERR@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w2, w8
	b.eq	LBB0_13
; %bb.8:
	ldr	w4, [x22, #4]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	x3, x23
	bl	_ipoib_dbg
	add	x22, x21, #4
	mov	x0, x22
	bl	_spin_lock_irqsave
	ldr	x0, [x20, #8]
	cbz	x0, LBB0_10
; %bb.9:
	str	xzr, [x0]
	bl	_ipoib_neigh_free
	str	xzr, [x20, #8]
LBB0_10:
Lloh23:
	adrp	x8, _IPOIB_FLAG_INITIALIZED@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IPOIB_FLAG_INITIALIZED@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_and_clear_bit
	cbz	x0, LBB0_12
; %bb.11:
	add	x0, x20, #4
	add	x23, x21, #8
	add	x1, x21, #12
	bl	_list_move
Lloh26:
	adrp	x8, _ipoib_workqueue@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ipoib_workqueue@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_queue_work
LBB0_12:
Lloh29:
	adrp	x8, _IPOIB_FLAG_OPER_UP@GOTPAGE
Lloh30:
	ldr	x8, [x8, _IPOIB_FLAG_OPER_UP@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_clear_bit
	mov	x0, x22
	bl	_spin_unlock_irqrestore
LBB0_13:
	mov	x0, x19
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_netif_tx_unlock
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_IPOIB_OP_CM,4,2                ; @IPOIB_OP_CM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cm send completion: id %d, status: %d\n"

	.comm	_ipoib_sendq_size,4,2           ; @ipoib_sendq_size
l_.str.1:                               ; @.str.1
	.asciz	"cm send completion event with wrid %d (> %d)\n"

	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_IPOIB_FLAG_ADMIN_UP,4,2        ; @IPOIB_FLAG_ADMIN_UP
	.comm	_IB_WC_SUCCESS,4,2              ; @IB_WC_SUCCESS
	.comm	_IB_WC_WR_FLUSH_ERR,4,2         ; @IB_WC_WR_FLUSH_ERR
l_.str.2:                               ; @.str.2
	.asciz	"failed cm send event (status=%d, wrid=%d vend_err %x)\n"

	.comm	_IPOIB_FLAG_INITIALIZED,4,2     ; @IPOIB_FLAG_INITIALIZED
	.comm	_ipoib_workqueue,4,2            ; @ipoib_workqueue
	.comm	_IPOIB_FLAG_OPER_UP,4,2         ; @IPOIB_FLAG_OPER_UP
.subsections_via_symbols
