	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, %r14
	callq	_ipoib_priv
	movq	%rax, %r15
	movl	(%r13), %ebx
	movq	%r12, %rdi
	callq	_skb_headlen
	cmpl	$1, %eax
	adcl	$-1, %ebx
	movq	(%r12), %rax
	xorl	%edi, %edi
	cmpq	8(%r13), %rax
	setg	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
## %bb.21:
	movq	(%r12), %rdx
	movq	8(%r13), %rcx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_ipoib_warn
	incl	4(%r14)
	incl	(%r14)
	movq	8(%r13), %rdx
	movq	_IPOIB_ENCAP_LEN@GOTPCREL(%rip), %rax
	subq	(%rax), %rdx
	movq	%r14, %rdi
	movq	%r12, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ipoib_cm_skb_too_long          ## TAILCALL
LBB0_1:
	movq	%r12, %rdi
	callq	_skb_shinfo
	cmpl	%ebx, (%rax)
	jbe	LBB0_8
## %bb.2:
	movq	%r12, %rdi
	callq	_skb_linearize
	testq	%rax, %rax
	js	LBB0_3
## %bb.6:
	movq	%r12, %rdi
	callq	_skb_shinfo
	cmpl	%ebx, (%rax)
	jbe	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_4
LBB0_8:
	movl	16(%r13), %edx
	movq	(%r12), %rcx
	movq	24(%r13), %rax
	movl	(%rax), %r8d
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_ipoib_dbg_data
	movq	32(%r13), %rax
	movslq	16(%r13), %rcx
	movq	_ipoib_sendq_size@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	decq	%rdx
	andq	%rcx, %rdx
	leaq	(%rax,%rdx,8), %rbx
	movq	%r12, (%rax,%rdx,8)
	movl	16(%r15), %edi
	movq	%rbx, %rsi
	callq	_ipoib_dma_map_tx
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_5
## %bb.9:
	movl	(%r15), %eax
	subl	4(%r15), %eax
	movq	_ipoib_sendq_size@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	decl	%ecx
	cmpl	%ecx, %eax
	jne	LBB0_11
## %bb.10:
	movq	24(%r13), %rax
	movl	(%rax), %edx
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_ipoib_dbg
	movq	%r14, %rdi
	callq	_netif_stop_queue
LBB0_11:
	movq	%r12, %rdi
	callq	_skb_orphan
	movq	%r12, %rdi
	callq	_skb_dst_drop
	movq	%r14, %rdi
	callq	_netif_queue_stopped
	testq	%rax, %rax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_16
## %bb.12:
	movl	12(%r15), %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
	movl	%eax, %ebx
	movl	%eax, %edi
	shrl	$31, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_ipoib_warn
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_16
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
LBB0_4:
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_ipoib_warn
	incl	4(%r14)
LBB0_5:
	incl	(%r14)
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_kfree_skb_any              ## TAILCALL
LBB0_14:
	testl	%ebx, %ebx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_16
## %bb.15:
	movq	%r15, %rdi
	addq	$8, %rdi
	callq	_napi_schedule
LBB0_16:
	movq	_ipoib_sendq_size@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	decl	%edx
	andl	16(%r13), %edx
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rcx
	callq	_post_send
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_19
## %bb.17:
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_ipoib_warn
	incl	(%r14)
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_ipoib_dma_unmap_tx
	movq	%r12, %rdi
	callq	_dev_kfree_skb_any
	movq	%r14, %rdi
	callq	_netif_queue_stopped
	testq	%rax, %rax
	je	LBB0_20
## %bb.18:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_wake_queue               ## TAILCALL
LBB0_19:
	movq	%r14, %rdi
	callq	_netif_trans_update
	incl	16(%r13)
	incl	(%r15)
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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	"skb could not be linearized\n"

L_.str.2:                               ## @.str.2
	.asciz	"too many frags after skb linearize\n"

L_.str.3:                               ## @.str.3
	.asciz	"sending packet: head 0x%x length %d connection 0x%x\n"

	.comm	_ipoib_sendq_size,4,2           ## @ipoib_sendq_size
L_.str.4:                               ## @.str.4
	.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.5:                               ## @.str.5
	.asciz	"IPoIB/CM:request notify on send CQ failed\n"

L_.str.6:                               ## @.str.6
	.asciz	"IPoIB/CM:post_send failed, error %d\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, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x2
	mov	x20, x1
	mov	x19, x0
	bl	_ipoib_priv
	mov	x21, x0
	ldr	w23, [x22]
	mov	x0, x20
	bl	_skb_headlen
	cmp	w0, #0
	cset	w24, ne
	ldr	x8, [x20]
	ldr	x9, [x22, #8]
	cmp	x8, x9
	cset	w0, gt
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x20]
	ldr	x9, [x22, #8]
	stp	x8, x9, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_ipoib_warn
	ldr	d0, [x19]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	str	d0, [x19]
Lloh2:
	adrp	x8, _IPOIB_ENCAP_LEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IPOIB_ENCAP_LEN@GOTPAGEOFF]
	ldr	x9, [x22, #8]
Lloh4:
	ldr	x8, [x8]
	sub	x2, x9, x8
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_ipoib_cm_skb_too_long
LBB0_2:
	sub	w23, w23, w24
	mov	x0, x20
	bl	_skb_shinfo
	ldr	w8, [x0]
	cmp	w8, w23
	b.ls	LBB0_6
; %bb.3:
	mov	x0, x20
	bl	_skb_linearize
	tbnz	x0, #63, LBB0_13
; %bb.4:
	mov	x0, x20
	bl	_skb_shinfo
	ldr	w8, [x0]
	cmp	w8, w23
	b.ls	LBB0_6
; %bb.5:
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_14
LBB0_6:
	ldr	w2, [x22, #16]
	ldr	x3, [x20]
	ldr	x8, [x22, #24]
	ldr	w4, [x8]
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_ipoib_dbg_data
	ldr	x8, [x22, #32]
	ldr	w9, [x22, #16]
Lloh9:
	adrp	x25, _ipoib_sendq_size@GOTPAGE
Lloh10:
	ldr	x25, [x25, _ipoib_sendq_size@GOTPAGEOFF]
	ldr	w10, [x25]
	sub	w10, w10, #1
	and	w9, w10, w9
	add	x23, x8, w9, sxtw #3
	str	x20, [x23]
	ldr	w0, [x21, #16]
	mov	x1, x23
	bl	_ipoib_dma_map_tx
	bl	_unlikely
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	b	LBB0_15
LBB0_8:
	ldp	w8, w9, [x21]
	ldr	w10, [x25]
	sub	w10, w10, #1
	sub	w8, w8, w9
	cmp	w8, w10
	b.ne	LBB0_10
; %bb.9:
	ldr	x8, [x22, #24]
	ldr	w2, [x8]
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_ipoib_dbg
	mov	x0, x19
	bl	_netif_stop_queue
LBB0_10:
	mov	x0, x20
	bl	_skb_orphan
	mov	x0, x20
	bl	_skb_dst_drop
	mov	x0, x19
	bl	_netif_queue_stopped
	cbz	x0, LBB0_18
; %bb.11:
Lloh13:
	adrp	x8, _IB_CQ_NEXT_COMP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IB_CQ_NEXT_COMP@GOTPAGEOFF]
	ldr	w0, [x21, #12]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _IB_CQ_REPORT_MISSED_EVENTS@GOTPAGE
Lloh17:
	ldr	x9, [x9, _IB_CQ_REPORT_MISSED_EVENTS@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_ib_req_notify_cq
	mov	x24, x0
	lsr	w0, w0, #31
	bl	_unlikely
	cbz	x0, LBB0_16
; %bb.12:
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_ipoib_warn
	b	LBB0_18
LBB0_13:
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_14:
	mov	x0, x21
	bl	_ipoib_warn
	ldr	d0, [x19]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	str	d0, [x19]
LBB0_15:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_dev_kfree_skb_any
LBB0_16:
	cbz	w24, LBB0_18
; %bb.17:
	add	x0, x21, #8
	bl	_napi_schedule
LBB0_18:
	ldr	w8, [x22, #16]
	ldr	w9, [x25]
	sub	w9, w9, #1
	and	w2, w9, w8
	mov	x0, x21
	mov	x1, x22
	mov	x3, x23
	bl	_post_send
	mov	x24, x0
	bl	_unlikely
	cbz	x0, LBB0_21
; %bb.19:
	str	x24, [sp]
Lloh23:
	adrp	x1, l_.str.6@PAGE
Lloh24:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	bl	_ipoib_warn
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	mov	x0, x21
	mov	x1, x23
	bl	_ipoib_dma_unmap_tx
	mov	x0, x20
	bl	_dev_kfree_skb_any
	mov	x0, x19
	bl	_netif_queue_stopped
	cbz	x0, LBB0_22
; %bb.20:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_netif_wake_queue
LBB0_21:
	mov	x0, x19
	bl	_netif_trans_update
	ldr	w8, [x22, #16]
	add	w8, w8, #1
	str	w8, [x22, #16]
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
LBB0_22:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.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	"skb could not be linearized\n"

l_.str.2:                               ; @.str.2
	.asciz	"too many frags after skb linearize\n"

l_.str.3:                               ; @.str.3
	.asciz	"sending packet: head 0x%x length %d connection 0x%x\n"

	.comm	_ipoib_sendq_size,4,2           ; @ipoib_sendq_size
l_.str.4:                               ; @.str.4
	.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.5:                               ; @.str.5
	.asciz	"IPoIB/CM:request notify on send CQ failed\n"

l_.str.6:                               ; @.str.6
	.asciz	"IPoIB/CM:post_send failed, error %d\n"

.subsections_via_symbols
