	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipoib_cm_send                  ## -- Begin function ipoib_cm_send
	.p2align	4, 0x90
_ipoib_cm_send:                         ## @ipoib_cm_send
	.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, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %r14
	movq	(%r12), %rax
	xorl	%edi, %edi
	cmpq	(%rbx), %rax
	setg	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
## %bb.10:
	movq	(%r12), %rdx
	movq	(%rbx), %rcx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_ipoib_warn
	incl	8(%r15)
	incl	4(%r15)
	movq	(%rbx), %rdx
	movq	_IPOIB_ENCAP_LEN@GOTPCREL(%rip), %rax
	subq	(%rax), %rdx
	movq	%r15, %rdi
	movq	%r12, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ipoib_cm_skb_too_long          ## TAILCALL
LBB0_1:
	movl	8(%rbx), %edx
	movq	(%r12), %rcx
	movq	16(%rbx), %rax
	movl	(%rax), %r8d
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_ipoib_dbg_data
	movq	24(%rbx), %rdx
	movslq	8(%rbx), %rax
	movq	_ipoib_sendq_size@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %r13
	decq	%r13
	andq	%rax, %r13
	shlq	$4, %r13
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, 8(%rdx,%r13)
	movl	8(%r14), %edi
	movl	8(%r12), %esi
	movq	(%r12), %rdx
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_ib_dma_map_single
	movl	8(%r14), %edi
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %esi
	callq	_ib_dma_mapping_error
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	incl	4(%r15)
	jmp	LBB0_3
LBB0_4:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax,%r13)
	movq	%r12, %rdi
	callq	_skb_orphan
	movq	%r12, %rdi
	callq	_skb_dst_drop
	movq	_ipoib_sendq_size@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	decl	%edx
	andl	8(%rbx), %edx
	movq	(%r12), %r8
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_post_send
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_ipoib_warn
	incl	4(%r15)
	movl	8(%r14), %edi
	movq	(%r12), %rdx
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_ib_dma_unmap_single
LBB0_3:
	movq	%r12, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_kfree_skb_any              ## TAILCALL
LBB0_6:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	incl	8(%rbx)
	movl	(%r14), %eax
	incl	%eax
	movl	%eax, (%r14)
	movq	_ipoib_sendq_size@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_9
## %bb.7:
	movq	16(%rbx), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_ipoib_dbg
	movq	%r15, %rdi
	callq	_netif_stop_queue
	movl	4(%r14), %edi
	movq	_IB_CQ_NEXT_COMP@GOTPCREL(%rip), %rax
	movq	_IB_CQ_REPORT_MISSED_EVENTS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_ib_req_notify_cq
	testl	%eax, %eax
	js	LBB0_11
## %bb.8:
	je	LBB0_9
## %bb.12:
	movl	4(%r14), %edi
	movq	%r15, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ipoib_send_comp_handler        ## TAILCALL
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ipoib_warn                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"packet len %d (> %d) too long to send, dropping\n"

	.comm	_IPOIB_ENCAP_LEN,8,3            ## @IPOIB_ENCAP_LEN
L_.str.1:                               ## @.str.1
	.asciz	"sending packet: head 0x%x length %d connection 0x%x\n"

	.comm	_ipoib_sendq_size,4,2           ## @ipoib_sendq_size
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
L_.str.2:                               ## @.str.2
	.asciz	"post_send failed, error %d\n"

	.comm	_jiffies,4,2                    ## @jiffies
L_.str.3:                               ## @.str.3
	.asciz	"TX ring 0x%x full, stopping kernel net queue\n"

	.comm	_IB_CQ_NEXT_COMP,4,2            ## @IB_CQ_NEXT_COMP
	.comm	_IB_CQ_REPORT_MISSED_EVENTS,4,2 ## @IB_CQ_REPORT_MISSED_EVENTS
L_.str.4:                               ## @.str.4
	.asciz	"request notify on send CQ failed\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipoib_cm_send                  ; -- Begin function ipoib_cm_send
	.p2align	2
_ipoib_cm_send:                         ; @ipoib_cm_send
	.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	x22, x2
	mov	x21, x1
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	ldr	x8, [x21]
	ldr	x9, [x22]
	cmp	x8, x9
	cset	w0, gt
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x21]
	ldr	x9, [x22]
	stp	x8, x9, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_ipoib_warn
	ldur	d0, [x19, #4]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	stur	d0, [x19, #4]
Lloh2:
	adrp	x8, _IPOIB_ENCAP_LEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IPOIB_ENCAP_LEN@GOTPAGEOFF]
	ldr	x9, [x22]
Lloh4:
	ldr	x8, [x8]
	sub	x2, x9, x8
	mov	x0, x19
	mov	x1, x21
	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
	b	_ipoib_cm_skb_too_long
LBB0_2:
	ldr	w2, [x22, #8]
	ldr	x3, [x21]
	ldr	x8, [x22, #16]
	ldr	w4, [x8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_ipoib_dbg_data
	ldr	x24, [x22, #24]
Lloh7:
	adrp	x25, _ipoib_sendq_size@GOTPAGE
Lloh8:
	ldr	x25, [x25, _ipoib_sendq_size@GOTPAGEOFF]
	ldr	w8, [x22, #8]
	ldr	w9, [x25]
	sub	w9, w9, #1
	and	w27, w9, w8
	add	x8, x24, w27, sxtw #4
	str	x21, [x8, #8]
	ldr	w0, [x20, #8]
	ldr	w1, [x21, #8]
	ldr	x2, [x21]
Lloh9:
	adrp	x26, _DMA_TO_DEVICE@GOTPAGE
Lloh10:
	ldr	x26, [x26, _DMA_TO_DEVICE@GOTPAGEOFF]
	ldr	w3, [x26]
	bl	_ib_dma_map_single
	mov	x23, x0
	ldr	w0, [x20, #8]
	mov	x1, x23
	bl	_ib_dma_mapping_error
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	b	LBB0_6
LBB0_4:
	sxtw	x8, w27
	lsl	x8, x8, #4
	str	w23, [x24, x8]
	mov	x0, x21
	bl	_skb_orphan
	mov	x0, x21
	bl	_skb_dst_drop
	ldr	w8, [x22, #8]
	ldr	w9, [x25]
	sub	w9, w9, #1
	and	w2, w9, w8
	ldr	x4, [x21]
	mov	x0, x20
	mov	x1, x22
	mov	x3, x23
	bl	_post_send
	mov	x24, x0
	bl	_unlikely
	cbz	x0, LBB0_7
; %bb.5:
	str	x24, [sp]
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_ipoib_warn
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	ldr	w0, [x20, #8]
	ldr	x2, [x21]
	ldr	w3, [x26]
	mov	x1, x23
	bl	_ib_dma_unmap_single
LBB0_6:
	mov	x0, x21
	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
	b	_dev_kfree_skb_any
LBB0_7:
Lloh13:
	adrp	x8, _jiffies@GOTPAGE
Lloh14:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x19]
	ldr	w8, [x22, #8]
	add	w8, w8, #1
	str	w8, [x22, #8]
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	ldr	w9, [x25]
	cmp	w8, w9
	b.ne	LBB0_11
; %bb.8:
	ldr	x8, [x22, #16]
	ldr	w2, [x8]
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_ipoib_dbg
	mov	x0, x19
	bl	_netif_stop_queue
Lloh18:
	adrp	x8, _IB_CQ_NEXT_COMP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IB_CQ_NEXT_COMP@GOTPAGEOFF]
	ldr	w0, [x20, #4]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _IB_CQ_REPORT_MISSED_EVENTS@GOTPAGE
Lloh22:
	ldr	x9, [x9, _IB_CQ_REPORT_MISSED_EVENTS@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_ib_req_notify_cq
	tbnz	w0, #31, LBB0_12
; %bb.9:
	cbz	w0, LBB0_11
; %bb.10:
	ldr	w0, [x20, #4]
	mov	x1, x19
	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
	b	_ipoib_send_comp_handler
LBB0_11:
	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
LBB0_12:
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	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
	b	_ipoib_warn
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"packet len %d (> %d) too long to send, dropping\n"

	.comm	_IPOIB_ENCAP_LEN,8,3            ; @IPOIB_ENCAP_LEN
l_.str.1:                               ; @.str.1
	.asciz	"sending packet: head 0x%x length %d connection 0x%x\n"

	.comm	_ipoib_sendq_size,4,2           ; @ipoib_sendq_size
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
l_.str.2:                               ; @.str.2
	.asciz	"post_send failed, error %d\n"

	.comm	_jiffies,4,2                    ; @jiffies
l_.str.3:                               ; @.str.3
	.asciz	"TX ring 0x%x full, stopping kernel net queue\n"

	.comm	_IB_CQ_NEXT_COMP,4,2            ; @IB_CQ_NEXT_COMP
	.comm	_IB_CQ_REPORT_MISSED_EVENTS,4,2 ; @IB_CQ_REPORT_MISSED_EVENTS
l_.str.4:                               ; @.str.4
	.asciz	"request notify on send CQ failed\n"

.subsections_via_symbols
