	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipoib_send                     ## -- Begin function ipoib_send
	.p2align	4, 0x90
_ipoib_send:                            ## @ipoib_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r12
	callq	_netdev_priv
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_skb_is_gso
	testq	%rax, %rax
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	je	LBB0_3
## %bb.1:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_skb_transport_offset
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_tcp_hdrlen
	movl	%eax, %r12d
	addl	%r13d, %r12d
	movq	16(%r15), %rbx
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_skb_pull
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_ipoib_warn
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	8(%rax)
	jmp	LBB0_7
LBB0_3:
	movq	_IPOIB_ENCAP_LEN@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	addq	(%r14), %rax
	xorl	%edi, %edi
	cmpq	%rax, (%r15)
	setg	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.23:
	movq	(%r15), %rdx
	movq	(%rbx), %rcx
	addq	(%r14), %rcx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_ipoib_warn
	incl	8(%r12)
	incl	4(%r12)
	movq	(%r14), %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ipoib_cm_skb_too_long          ## TAILCALL
LBB0_4:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
LBB0_5:
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	(%r15), %rdx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rcx
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	callq	_ipoib_dbg_data
	movq	32(%r14), %rax
	movslq	8(%r14), %rcx
	movq	_ipoib_sendq_size@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	decq	%rdx
	andq	%rcx, %rdx
	leaq	(%rax,%rdx,8), %rbx
	movq	%r15, (%rax,%rdx,8)
	movl	16(%r14), %edi
	movq	%rbx, %rsi
	callq	_ipoib_dma_map_tx
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
LBB0_7:
	incl	4(%rax)
	movq	%r15, %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_kfree_skb_any              ## TAILCALL
LBB0_8:
	movq	_ipoib_sendq_size@GOTPCREL(%rip), %rsi
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	8(%r15), %rcx
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rdx
	movq	_IB_SEND_IP_CSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_10
## %bb.9:
	orl	%eax, 24(%r14)
	jmp	LBB0_11
LBB0_10:
	notl	%eax
	andl	%eax, 24(%r14)
LBB0_11:
	movq	%rsi, %rbx
	movl	12(%r14), %eax
	incl	%eax
	movl	%eax, 12(%r14)
	cmpl	(%rsi), %eax
	jne	LBB0_15
## %bb.12:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_ipoib_dbg
	movl	20(%r14), %edi
	movq	_IB_CQ_NEXT_COMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ib_req_notify_cq
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_ipoib_warn
LBB0_14:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_netif_stop_queue
LBB0_15:
	movq	%r15, %rdi
	callq	_skb_orphan
	movq	%r15, %rdi
	callq	_skb_dst_drop
	movl	(%rbx), %esi
	decl	%esi
	andl	8(%r14), %esi
	movq	%r13, %rbx
	movl	4(%r13), %edx
	movl	%r12d, (%rsp)
	movq	%r14, %rdi
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %r8
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	callq	_post_send
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_ipoib_warn
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	incl	4(%rbx)
	decl	12(%r14)
	movl	16(%r14), %edi
	movq	%r13, %rsi
	callq	_ipoib_dma_unmap_tx
	movq	%r15, %rdi
	callq	_dev_kfree_skb_any
	movq	%rbx, %rdi
	callq	_netif_queue_stopped
	testq	%rax, %rax
	je	LBB0_19
## %bb.17:
	movq	%rbx, %rdi
	callq	_netif_wake_queue
	jmp	LBB0_19
LBB0_18:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movl	8(%r14), %eax
	movl	%eax, (%rbx)
	incl	%eax
	movl	%eax, 8(%r14)
LBB0_19:
	movl	12(%r14), %eax
	movq	_MAX_SEND_CQE@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	setg	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_22
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_poll_tx
	testq	%rax, %rax
	jne	LBB0_20
LBB0_22:
	addq	$56, %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	"linear data too small\n"

	.comm	_IPOIB_ENCAP_LEN,8,3            ## @IPOIB_ENCAP_LEN
L_.str.1:                               ## @.str.1
	.asciz	"packet len %d (> %d) too long to send, dropping\n"

L_.str.2:                               ## @.str.2
	.asciz	"sending packet, length=%d address=%p qpn=0x%06x\n"

	.comm	_ipoib_sendq_size,4,2           ## @ipoib_sendq_size
	.comm	_CHECKSUM_PARTIAL,8,3           ## @CHECKSUM_PARTIAL
	.comm	_IB_SEND_IP_CSUM,4,2            ## @IB_SEND_IP_CSUM
L_.str.3:                               ## @.str.3
	.asciz	"TX ring full, stopping kernel net queue\n"

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

L_.str.5:                               ## @.str.5
	.asciz	"post_send failed, error %d\n"

	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_MAX_SEND_CQE,4,2               ## @MAX_SEND_CQE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipoib_send                     ; -- Begin function ipoib_send
	.p2align	2
_ipoib_send:                            ; @ipoib_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	x23, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	mov	x0, x21
	bl	_skb_is_gso
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x21
	bl	_skb_transport_offset
	mov	x24, x0
	mov	x0, x21
	bl	_tcp_hdrlen
	add	w24, w0, w24
	ldr	x25, [x21, #16]
	mov	x0, x21
	mov	x1, x24
	bl	_skb_pull
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ipoib_warn
	ldur	d0, [x20, #4]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	stur	d0, [x20, #4]
	b	LBB0_8
LBB0_3:
	ldr	x8, [x21]
	ldr	x9, [x19]
Lloh2:
	adrp	x24, _IPOIB_ENCAP_LEN@GOTPAGE
Lloh3:
	ldr	x24, [x24, _IPOIB_ENCAP_LEN@GOTPAGEOFF]
	ldr	x10, [x24]
	add	x9, x10, x9
	cmp	x8, x9
	cset	w0, gt
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x8, [x21]
	ldr	x9, [x19]
	ldr	x10, [x24]
	add	x9, x10, x9
	stp	x8, x9, [sp]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ipoib_warn
	ldur	d0, [x20, #4]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	stur	d0, [x20, #4]
	ldr	x2, [x19]
	mov	x0, x20
	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_5:
	mov	w24, #0
	mov	x25, #0
LBB0_6:
	ldr	x2, [x21]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x3, x22
	mov	x4, x23
	bl	_ipoib_dbg_data
	ldr	x8, [x19, #32]
	ldr	w9, [x19, #8]
Lloh8:
	adrp	x27, _ipoib_sendq_size@GOTPAGE
Lloh9:
	ldr	x27, [x27, _ipoib_sendq_size@GOTPAGEOFF]
	ldr	w10, [x27]
	sub	w10, w10, #1
	and	w9, w10, w9
	add	x26, x8, w9, sxtw #3
	str	x21, [x26]
	ldr	w0, [x19, #16]
	mov	x1, x26
	bl	_ipoib_dma_map_tx
	bl	_unlikely
	cbz	x0, LBB0_9
; %bb.7:
	ldr	w8, [x20, #4]
	add	w8, w8, #1
	str	w8, [x20, #4]
LBB0_8:
	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_9:
Lloh10:
	adrp	x8, _CHECKSUM_PARTIAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CHECKSUM_PARTIAL@GOTPAGEOFF]
	ldr	x9, [x21, #8]
Lloh12:
	ldr	x10, [x8]
Lloh13:
	adrp	x8, _IB_SEND_IP_CSUM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IB_SEND_IP_CSUM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cmp	x9, x10
	b.ne	LBB0_11
; %bb.10:
	ldr	w9, [x19, #24]
	orr	w8, w9, w8
	b	LBB0_12
LBB0_11:
	ldr	w9, [x19, #24]
	bic	w8, w9, w8
LBB0_12:
	str	w8, [x19, #24]
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
	ldr	w9, [x27]
	cmp	w8, w9
	b.ne	LBB0_16
; %bb.13:
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_ipoib_dbg
	ldr	w0, [x19, #20]
Lloh18:
	adrp	x8, _IB_CQ_NEXT_COMP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IB_CQ_NEXT_COMP@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_ib_req_notify_cq
	cbz	x0, LBB0_15
; %bb.14:
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_ipoib_warn
LBB0_15:
	mov	x0, x20
	bl	_netif_stop_queue
LBB0_16:
	mov	x0, x21
	bl	_skb_orphan
	mov	x0, x21
	bl	_skb_dst_drop
	ldr	w8, [x19, #8]
	ldr	w9, [x27]
	sub	w9, w9, #1
	and	w1, w9, w8
	ldr	w2, [x22, #4]
	mov	x0, x19
	mov	x3, x23
	mov	x4, x26
	mov	x5, x25
	mov	x6, x24
	bl	_post_send
	mov	x23, x0
	bl	_unlikely
	cbz	x0, LBB0_19
; %bb.17:
	str	x23, [sp]
Lloh23:
	adrp	x1, l_.str.5@PAGE
Lloh24:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_ipoib_warn
	ldr	w8, [x20, #4]
	add	w8, w8, #1
	str	w8, [x20, #4]
	ldp	w8, w0, [x19, #12]
	sub	w8, w8, #1
	str	w8, [x19, #12]
	mov	x1, x26
	bl	_ipoib_dma_unmap_tx
	mov	x0, x21
	bl	_dev_kfree_skb_any
	mov	x0, x20
	bl	_netif_queue_stopped
	cbz	x0, LBB0_20
; %bb.18:
	mov	x0, x20
	bl	_netif_wake_queue
	b	LBB0_20
LBB0_19:
Lloh25:
	adrp	x8, _jiffies@GOTPAGE
Lloh26:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	str	w8, [x20]
	ldr	w8, [x19, #8]
	str	w8, [x22]
	add	w8, w8, #1
	str	w8, [x19, #8]
LBB0_20:
	ldr	w8, [x19, #12]
Lloh28:
	adrp	x9, _MAX_SEND_CQE@GOTPAGE
Lloh29:
	ldr	x9, [x9, _MAX_SEND_CQE@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, gt
	bl	_unlikely
	cbz	x0, LBB0_22
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_poll_tx
	cbnz	x0, LBB0_21
LBB0_22:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"linear data too small\n"

	.comm	_IPOIB_ENCAP_LEN,8,3            ; @IPOIB_ENCAP_LEN
l_.str.1:                               ; @.str.1
	.asciz	"packet len %d (> %d) too long to send, dropping\n"

l_.str.2:                               ; @.str.2
	.asciz	"sending packet, length=%d address=%p qpn=0x%06x\n"

	.comm	_ipoib_sendq_size,4,2           ; @ipoib_sendq_size
	.comm	_CHECKSUM_PARTIAL,8,3           ; @CHECKSUM_PARTIAL
	.comm	_IB_SEND_IP_CSUM,4,2            ; @IB_SEND_IP_CSUM
l_.str.3:                               ; @.str.3
	.asciz	"TX ring full, stopping kernel net queue\n"

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

l_.str.5:                               ; @.str.5
	.asciz	"post_send failed, error %d\n"

	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_MAX_SEND_CQE,4,2               ; @MAX_SEND_CQE
.subsections_via_symbols
