	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipoib_unicast_send
_ipoib_unicast_send:                    ## @ipoib_unicast_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, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rdx), %rsi
	addq	$4, %rsi
	movq	%r15, %rdi
	callq	___path_find
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpl	$0, 24(%r12)
	je	LBB0_2
## %bb.12:
	movq	%r12, %rdi
	callq	_ipoib_cm_get
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	%r12, %rdi
	callq	_ipoib_cm_up
	testq	%rax, %rax
	je	LBB0_14
## %bb.20:
	movq	%r12, %rdi
	callq	_ipoib_cm_get
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ipoib_cm_send                  ## TAILCALL
LBB0_3:
	movq	(%rbx), %rsi
	movq	%r15, %rdi
	callq	_path_rec_create
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
	jmp	LBB0_18
LBB0_2:
	movq	%r12, %rbx
LBB0_4:
	movq	%rbx, %rdi
	callq	__IF_QLEN
	movq	_IPOIB_MAX_PATH_REC_QUEUE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	__IF_ENQUEUE
	cmpq	$0, 8(%rbx)
	jne	LBB0_11
	jmp	LBB0_8
LBB0_14:
	movq	16(%r12), %r13
	testq	%r13, %r13
	je	LBB0_15
## %bb.21:
	movq	(%rbx), %rdi
	callq	_IPOIB_QPN
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movl	%eax, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ipoib_send                     ## TAILCALL
LBB0_6:
	movl	(%r15), %edi
	movq	_IFCOUNTER_OERRORS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_if_inc_counter
	movq	%r14, %rdi
	callq	_m_freem
	cmpq	$0, 8(%rbx)
	jne	LBB0_11
LBB0_8:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_path_rec_start
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	leaq	4(%r15), %rdi
	movq	_flags@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_spin_unlock_irqrestore
	testq	%r12, %r12
	je	LBB0_10
## %bb.19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___path_add                     ## TAILCALL
LBB0_15:
	cmpq	$0, 8(%r12)
	jne	LBB0_17
## %bb.16:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_path_rec_start
	testq	%rax, %rax
	jne	LBB0_18
LBB0_17:
	movq	(%r12), %rax
	movq	_IPOIB_MAX_PATH_REC_QUEUE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_18
## %bb.22:
	movq	%r12, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__IF_ENQUEUE                    ## TAILCALL
LBB0_18:
	movl	(%r15), %edi
	movq	_IFCOUNTER_OERRORS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_if_inc_counter
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_m_freem                        ## TAILCALL
LBB0_10:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ipoib_path_free                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IPOIB_MAX_PATH_REC_QUEUE,8,3   ## @IPOIB_MAX_PATH_REC_QUEUE
	.comm	_IFCOUNTER_OERRORS,4,2          ## @IFCOUNTER_OERRORS
	.comm	_flags,4,2                      ## @flags
	.no_dead_strip	_ipoib_unicast_send
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipoib_unicast_send
_ipoib_unicast_send:                    ; @ipoib_unicast_send
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x2]
	add	x1, x8, #4
	mov	x0, x19
	bl	___path_find
	mov	x21, x0
	cbz	x0, LBB0_5
; %bb.1:
	ldr	w8, [x21, #24]
	mov	x22, x21
	cbz	w8, LBB0_6
; %bb.2:
	mov	x0, x21
	bl	_ipoib_cm_get
	cbz	x0, LBB0_8
; %bb.3:
	mov	x0, x21
	bl	_ipoib_cm_up
	cbz	x0, LBB0_8
; %bb.4:
	mov	x0, x21
	bl	_ipoib_cm_get
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ipoib_cm_send
LBB0_5:
	ldr	x1, [x23]
	mov	x0, x19
	bl	_path_rec_create
	mov	x22, x0
	cbz	x0, LBB0_19
LBB0_6:
	mov	x0, x22
	bl	__IF_QLEN
Lloh0:
	adrp	x8, _IPOIB_MAX_PATH_REC_QUEUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPOIB_MAX_PATH_REC_QUEUE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_10
; %bb.7:
	mov	x0, x22
	mov	x1, x20
	bl	__IF_ENQUEUE
	ldr	x8, [x22, #8]
	cbnz	x8, LBB0_14
	b	LBB0_11
LBB0_8:
	ldr	x22, [x21, #16]
	cbz	x22, LBB0_15
; %bb.9:
	ldr	x0, [x23]
	bl	_IPOIB_QPN
	mov	x3, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ipoib_send
LBB0_10:
	ldr	w0, [x19]
Lloh3:
	adrp	x8, _IFCOUNTER_OERRORS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IFCOUNTER_OERRORS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_if_inc_counter
	mov	x0, x20
	bl	_m_freem
	ldr	x8, [x22, #8]
	cbnz	x8, LBB0_14
LBB0_11:
	mov	x0, x19
	mov	x1, x22
	bl	_path_rec_start
	cbz	x0, LBB0_14
; %bb.12:
	add	x0, x19, #4
Lloh6:
	adrp	x8, _flags@GOTPAGE
Lloh7:
	ldr	x8, [x8, _flags@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_spin_unlock_irqrestore
	cbz	x21, LBB0_20
; %bb.13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
	mov	x0, x19
	mov	x1, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	___path_add
LBB0_15:
	ldr	x8, [x21, #8]
	cbnz	x8, LBB0_17
; %bb.16:
	mov	x0, x19
	mov	x1, x21
	bl	_path_rec_start
	cbnz	x0, LBB0_19
LBB0_17:
	ldr	x8, [x21]
Lloh9:
	adrp	x9, _IPOIB_MAX_PATH_REC_QUEUE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IPOIB_MAX_PATH_REC_QUEUE@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_19
; %bb.18:
	mov	x0, x21
	mov	x1, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	__IF_ENQUEUE
LBB0_19:
	ldr	w0, [x19]
Lloh12:
	adrp	x8, _IFCOUNTER_OERRORS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IFCOUNTER_OERRORS@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_if_inc_counter
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_m_freem
LBB0_20:
	mov	x0, x19
	mov	x1, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ipoib_path_free
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_IPOIB_MAX_PATH_REC_QUEUE,8,3   ; @IPOIB_MAX_PATH_REC_QUEUE
	.comm	_IFCOUNTER_OERRORS,4,2          ; @IFCOUNTER_OERRORS
	.comm	_flags,4,2                      ; @flags
	.no_dead_strip	_ipoib_unicast_send
.subsections_via_symbols
