	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function abort_send
_abort_send:                            ## @abort_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_spin_lock_irqsave
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ib_find_send_mad
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movq	(%rax), %rax
	cmpq	16(%rbx), %rax
	je	LBB0_5
## %bb.2:
	cmpl	$0, 24(%rbx)
	je	LBB0_5
## %bb.3:
	movq	8(%rbx), %rax
	movq	_IB_WC_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %r12
	addq	$16, %r12
	movq	%rbx, %rdi
	callq	_ib_mark_mad_done
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	_IB_WC_REM_ABORT_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movl	%r14d, -40(%rbp)
	movq	%r12, -48(%rbp)
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_ib_mad_complete_send_wr
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%r15, %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_WC_SUCCESS,8,3              ## @IB_WC_SUCCESS
	.comm	_IB_WC_REM_ABORT_ERR,4,2        ## @IB_WC_REM_ABORT_ERR
	.no_dead_strip	_abort_send
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function abort_send
_abort_send:                            ; @abort_send
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_spin_lock_irqsave
	mov	x0, x21
	mov	x1, x20
	bl	_ib_find_send_mad
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0]
	mov	x22, x0
	ldr	x9, [x22, #16]!
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.2:
	ldr	w8, [x20, #24]
	cbz	w8, LBB0_5
; %bb.3:
	ldr	x8, [x20, #8]
Lloh0:
	adrp	x9, _IB_WC_SUCCESS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_WC_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_ib_mark_mad_done
	mov	x0, x21
	bl	_spin_unlock_irqrestore
Lloh3:
	adrp	x8, _IB_WC_REM_ABORT_ERR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_WC_REM_ABORT_ERR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	stp	w19, w8, [sp, #8]
	str	x22, [sp]
	mov	x1, sp
	mov	x0, x20
	bl	_ib_mad_complete_send_wr
	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
	add	sp, sp, #64
	ret
LBB0_5:
	mov	x0, x21
	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
	add	sp, sp, #64
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_WC_SUCCESS,8,3              ; @IB_WC_SUCCESS
	.comm	_IB_WC_REM_ABORT_ERR,4,2        ; @IB_WC_REM_ABORT_ERR
	.no_dead_strip	_abort_send
.subsections_via_symbols
