	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cm_acquire_rejected_id
_cm_acquire_rejected_id:                ## @cm_acquire_rejected_id
	.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, %rbx
	movq	(%rdi), %r14
	movl	24(%rdi), %edi
	callq	___be16_to_cpu
	movq	_IB_CM_REJ_TIMEOUT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	movq	_cm@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irq
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_cm_find_remote_id
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	movl	(%rax), %edi
	callq	_cm_local_id
	addq	$4, %r15
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_xa_load
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:
	movq	%rax, %rbx
	cmpq	%r14, 8(%rax)
	jne	LBB0_11
## %bb.4:
	movq	%rbx, %rdi
	callq	_atomic_inc
	jmp	LBB0_12
LBB0_5:
	movq	%rbx, %rdi
	callq	_cm_rej_get_msg_rejected
	movq	_CM_MSG_RESPONSE_REQ@GOTPCREL(%rip), %rcx
	movl	8(%rbx), %edi
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	xorl	%esi, %esi
	jmp	LBB0_8
LBB0_7:
	movq	%r14, %rsi
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cm_acquire_id                  ## TAILCALL
LBB0_11:
	xorl	%ebx, %ebx
LBB0_12:
	movq	_cm@GOTPCREL(%rip), %rdi
	callq	_spin_unlock_irq
	jmp	LBB0_13
LBB0_9:
	movq	_cm@GOTPCREL(%rip), %rdi
	callq	_spin_unlock_irq
	xorl	%ebx, %ebx
LBB0_13:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_CM_REJ_TIMEOUT,8,3          ## @IB_CM_REJ_TIMEOUT
	.comm	_cm,8,2                         ## @cm
	.comm	_CM_MSG_RESPONSE_REQ,8,3        ## @CM_MSG_RESPONSE_REQ
	.no_dead_strip	_cm_acquire_rejected_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cm_acquire_rejected_id
_cm_acquire_rejected_id:                ; @cm_acquire_rejected_id
	.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	x19, [x0]
	ldr	w0, [x0, #24]
	bl	___be16_to_cpu
Lloh0:
	adrp	x8, _IB_CM_REJ_TIMEOUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_CM_REJ_TIMEOUT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.1:
Lloh3:
	adrp	x21, _cm@GOTPAGE
Lloh4:
	ldr	x21, [x21, _cm@GOTPAGEOFF]
	mov	x0, x21
	bl	_spin_lock_irq
	ldr	x8, [x20, #16]
	ldr	w0, [x8]
	mov	x1, x19
	bl	_cm_find_remote_id
	cbz	x0, LBB0_9
; %bb.2:
	ldr	w0, [x0]
	bl	_cm_local_id
	mov	x1, x0
	add	x0, x21, #4
	bl	_xa_load
	mov	x20, x0
	cbz	x0, LBB0_11
; %bb.3:
	ldr	x8, [x20, #8]
	cmp	x8, x19
	b.ne	LBB0_10
; %bb.4:
	mov	x0, x20
	bl	_atomic_inc
	b	LBB0_11
LBB0_5:
	mov	x0, x20
	bl	_cm_rej_get_msg_rejected
	mov	x8, x0
Lloh5:
	adrp	x9, _CM_MSG_RESPONSE_REQ@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CM_MSG_RESPONSE_REQ@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	w0, [x20, #8]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	mov	x1, #0
	b	LBB0_8
LBB0_7:
	mov	x1, x19
LBB0_8:
	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
	b	_cm_acquire_id
LBB0_9:
Lloh8:
	adrp	x0, _cm@GOTPAGE
Lloh9:
	ldr	x0, [x0, _cm@GOTPAGEOFF]
	bl	_spin_unlock_irq
	mov	x20, #0
	b	LBB0_12
LBB0_10:
	mov	x20, #0
LBB0_11:
Lloh10:
	adrp	x0, _cm@GOTPAGE
Lloh11:
	ldr	x0, [x0, _cm@GOTPAGEOFF]
	bl	_spin_unlock_irq
LBB0_12:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_CM_REJ_TIMEOUT,8,3          ; @IB_CM_REJ_TIMEOUT
	.comm	_cm,8,2                         ; @cm
	.comm	_CM_MSG_RESPONSE_REQ,8,3        ; @CM_MSG_RESPONSE_REQ
	.no_dead_strip	_cm_acquire_rejected_id
.subsections_via_symbols
