	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cm_rej_handler
_cm_rej_handler:                        ## @cm_rej_handler
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	(%rax), %r15
	movq	%r15, %rdi
	callq	_cm_acquire_rejected_id
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_cm_format_rej_event
	movq	%rbx, %rdi
	callq	_spin_lock_irq
	movl	24(%rbx), %eax
	addl	$-128, %eax
	cmpl	$9, %eax
	ja	LBB0_11
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	movl	12(%rbx), %esi
	callq	_ib_cancel_mad
LBB0_5:
	movl	(%r15), %edi
	callq	___be16_to_cpu
	movq	_IB_CM_REJ_STALE_CONN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_6
## %bb.12:
	movq	%rbx, %rdi
	callq	_cm_reset_to_idle
	jmp	LBB0_13
LBB0_7:
	movl	28(%rbx), %eax
	movq	_IB_CM_LAP_UNINIT@GOTPCREL(%rip), %rdx
	movq	_IB_CM_LAP_SENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	(%rdx), %eax
	je	LBB0_9
## %bb.8:
	cmpl	%ecx, %eax
	je	LBB0_9
LBB0_11:
	movq	%rbx, %rdi
	callq	_spin_unlock_irq
	movq	%rbx, %rdi
	callq	_cm_deref_id
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_17
LBB0_9:
	cmpl	%ecx, %eax
	jne	LBB0_6
LBB0_10:
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	movl	12(%rbx), %esi
	callq	_ib_cancel_mad
LBB0_6:
	movq	%rbx, %rdi
	callq	_cm_enter_timewait
LBB0_13:
	leaq	8(%rbx), %rdi
	callq	_atomic_inc_and_test
	testl	%eax, %eax
	je	LBB0_14
## %bb.15:
	movq	%rbx, %rdi
	callq	_spin_unlock_irq
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_cm_process_work
	jmp	LBB0_16
LBB0_14:
	movq	%rbx, %rsi
	addq	$4, %rsi
	movq	%r14, %rdi
	callq	_list_add_tail
	movq	%rbx, %rdi
	callq	_spin_unlock_irq
	movq	%rbx, %rdi
	callq	_cm_deref_id
LBB0_16:
	xorl	%eax, %eax
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.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
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_7
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IB_CM_REJ_STALE_CONN,4,2       ## @IB_CM_REJ_STALE_CONN
	.comm	_IB_CM_LAP_UNINIT,4,2           ## @IB_CM_LAP_UNINIT
	.comm	_IB_CM_LAP_SENT,4,2             ## @IB_CM_LAP_SENT
	.no_dead_strip	_cm_rej_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cm_rej_handler
_cm_rej_handler:                        ; @cm_rej_handler
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
	ldr	x8, [x0, #8]
	ldr	x21, [x8]
	mov	x0, x21
	bl	_cm_acquire_rejected_id
	cbz	x0, LBB0_15
; %bb.1:
	mov	x19, x0
	mov	x0, x20
	bl	_cm_format_rej_event
	mov	x0, x19
	bl	_spin_lock_irq
	ldr	w8, [x19, #24]
	sub	w8, w8, #128
	cmp	w8, #9
	b.hi	LBB0_14
; %bb.2:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	ldr	w1, [x19, #12]
	bl	_ib_cancel_mad
LBB0_4:
	ldr	w0, [x21]
	bl	___be16_to_cpu
Lloh2:
	adrp	x8, _IB_CM_REJ_STALE_CONN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IB_CM_REJ_STALE_CONN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_9
; %bb.5:
	mov	x0, x19
	bl	_cm_reset_to_idle
	b	LBB0_10
LBB0_6:
	ldr	w8, [x19, #28]
Lloh5:
	adrp	x9, _IB_CM_LAP_UNINIT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IB_CM_LAP_UNINIT@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x9]
Lloh8:
	adrp	x9, _IB_CM_LAP_SENT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IB_CM_LAP_SENT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w10
	ccmp	w8, w9, #4, ne
	b.ne	LBB0_14
; %bb.7:
	cmp	w8, w9
	b.ne	LBB0_9
LBB0_8:
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	ldr	w1, [x19, #12]
	bl	_ib_cancel_mad
LBB0_9:
	mov	x0, x19
	bl	_cm_enter_timewait
LBB0_10:
	add	x0, x19, #8
	bl	_atomic_inc_and_test
	cbz	w0, LBB0_12
; %bb.11:
	mov	x0, x19
	bl	_spin_unlock_irq
	mov	x0, x19
	mov	x1, x20
	bl	_cm_process_work
	b	LBB0_13
LBB0_12:
	add	x1, x19, #4
	mov	x0, x20
	bl	_list_add_tail
	mov	x0, x19
	bl	_spin_unlock_irq
	mov	x0, x19
	bl	_cm_deref_id
LBB0_13:
	mov	w0, #0
	b	LBB0_16
LBB0_14:
	mov	x0, x19
	bl	_spin_unlock_irq
	mov	x0, x19
	bl	_cm_deref_id
LBB0_15:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_16:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IB_CM_REJ_STALE_CONN,4,2       ; @IB_CM_REJ_STALE_CONN
	.comm	_IB_CM_LAP_UNINIT,4,2           ; @IB_CM_LAP_UNINIT
	.comm	_IB_CM_LAP_SENT,4,2             ; @IB_CM_LAP_SENT
	.no_dead_strip	_cm_rej_handler
.subsections_via_symbols
