	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cm_process_send_error
_cm_process_send_error:                 ## @cm_process_send_error
	.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	%esi, %r14d
	movq	%rdi, %r15
	leaq	-40(%rbp), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	(%r15), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irq
	cmpq	%r15, 24(%rbx)
	jne	LBB0_10
## %bb.1:
	movq	(%r15), %rax
	movl	8(%rax), %eax
	cmpl	%eax, 8(%rbx)
	jne	LBB0_10
## %bb.2:
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_10
## %bb.3:
	leaq	8(%rbx), %r12
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movq	%rbx, %rdi
	callq	_cm_reset_to_idle
	movq	_IB_CM_REQ_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_10:
	movq	%rbx, %rdi
	callq	_spin_unlock_irq
	movq	%r15, %rdi
	callq	_cm_free_msg
LBB0_11:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%rbx, %rdi
	callq	_cm_reset_to_idle
	movq	_IB_CM_REP_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_IB_CM_IDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	movq	_IB_CM_SIDR_REQ_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movq	%rbx, %rdi
	callq	_cm_enter_timewait
	movq	_IB_CM_DREQ_ERROR@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movq	%rbx, %rdi
	callq	_spin_unlock_irq
	movl	%r14d, -40(%rbp)
	leaq	-40(%rbp), %rsi
	movq	%r12, %rdi
	callq	*16(%rbx)
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_cm_free_msg
	testl	%ebx, %ebx
	je	LBB0_11
## %bb.9:
	movq	%r12, %rdi
	callq	_ib_destroy_cm_id
	jmp	LBB0_11
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_IB_CM_REQ_ERROR,4,2            ## @IB_CM_REQ_ERROR
	.comm	_IB_CM_REP_ERROR,4,2            ## @IB_CM_REP_ERROR
	.comm	_IB_CM_DREQ_ERROR,4,2           ## @IB_CM_DREQ_ERROR
	.comm	_IB_CM_IDLE,4,2                 ## @IB_CM_IDLE
	.comm	_IB_CM_SIDR_REQ_ERROR,4,2       ## @IB_CM_SIDR_REQ_ERROR
	.no_dead_strip	_cm_process_send_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cm_process_send_error
_cm_process_send_error:                 ; @cm_process_send_error
	.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	x20, x1
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	x8, [x19]
	ldr	x22, [x8]
	mov	x0, x22
	bl	_spin_lock_irq
	ldr	x8, [x22, #24]
	cmp	x8, x19
	b.ne	LBB0_5
; %bb.1:
	ldr	x8, [x19]
	ldr	w8, [x8, #8]
	mov	x21, x22
	ldr	w9, [x21, #8]!
	cmp	w9, w8
	b.ne	LBB0_5
; %bb.2:
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_5
; %bb.3:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	mov	x0, x22
	bl	_cm_reset_to_idle
Lloh2:
	adrp	x8, _IB_CM_REQ_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IB_CM_REQ_ERROR@GOTPAGEOFF]
	b	LBB0_10
LBB0_5:
	mov	x0, x22
	bl	_spin_unlock_irq
	mov	x0, x19
	bl	_cm_free_msg
LBB0_6:
	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_7:
	mov	x0, x22
	bl	_cm_reset_to_idle
Lloh4:
	adrp	x8, _IB_CM_REP_ERROR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IB_CM_REP_ERROR@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh6:
	adrp	x8, _IB_CM_IDLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IB_CM_IDLE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x21]
Lloh9:
	adrp	x8, _IB_CM_SIDR_REQ_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IB_CM_SIDR_REQ_ERROR@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
	mov	x0, x22
	bl	_cm_enter_timewait
Lloh11:
	adrp	x8, _IB_CM_DREQ_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IB_CM_DREQ_ERROR@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	mov	x0, x22
	bl	_spin_unlock_irq
	str	w20, [sp, #8]
	ldr	x8, [x22, #16]
	add	x1, sp, #8
	mov	x0, x21
	blr	x8
	mov	x20, x0
	mov	x0, x19
	bl	_cm_free_msg
	cbz	w20, LBB0_6
; %bb.11:
	mov	x0, x21
	bl	_ib_destroy_cm_id
	b	LBB0_6
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
                                        ; -- End function
	.comm	_IB_CM_REQ_ERROR,4,2            ; @IB_CM_REQ_ERROR
	.comm	_IB_CM_REP_ERROR,4,2            ; @IB_CM_REP_ERROR
	.comm	_IB_CM_DREQ_ERROR,4,2           ; @IB_CM_DREQ_ERROR
	.comm	_IB_CM_IDLE,4,2                 ; @IB_CM_IDLE
	.comm	_IB_CM_SIDR_REQ_ERROR,4,2       ; @IB_CM_SIDR_REQ_ERROR
	.no_dead_strip	_cm_process_send_error
.subsections_via_symbols
