	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cm_recv_handler
_cm_recv_handler:                       ## @cm_recv_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %rax
	movq	(%rdx), %rcx
	movl	(%rcx), %edi
	leal	-128(%rdi), %ecx
	cmpl	$11, %ecx
	jae	LBB0_4
## %bb.1:
	movq	(%rax), %r12
	movslq	%ecx, %rax
	leaq	l_switch.table.cm_recv_handler(%rip), %rcx
	movq	(%rcx,%rax,8), %rcx
	leaq	l_switch.table.cm_recv_handler.1(%rip), %rdx
	movl	(%rdx,%rax,4), %ebx
	movl	(%rcx), %r15d
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_be16_to_cpu
	movq	8(%r12), %rcx
	movq	_CM_RECV@GOTPCREL(%rip), %rdx
	movq	_CM_ATTR_ID_OFFSET@GOTPCREL(%rip), %rsi
	subq	(%rsi), %rax
	movq	(%rdx), %rdx
	leaq	(,%rax,4), %rdi
	addq	(%rcx,%rdx,8), %rdi
	callq	_atomic_long_inc
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %rbx
	movq	_cm_work_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_INIT_DELAYED_WORK
	movl	%r15d, 24(%rbx)
	movq	%r14, 16(%rbx)
	movq	%r12, 8(%rbx)
	movq	_cm@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irq
	movq	(%r12), %rax
	cmpl	$0, (%rax)
	je	LBB0_5
## %bb.3:
	movq	_cm@GOTPCREL(%rip), %rdi
	callq	_spin_unlock_irq
	movq	%rbx, %rdi
	callq	_kfree
LBB0_4:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ib_free_recv_mad               ## TAILCALL
LBB0_5:
	movl	4(%r15), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_queue_delayed_work
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irq                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_CM_REQ_RECEIVED,4,2         ## @IB_CM_REQ_RECEIVED
	.comm	_IB_CM_MRA_RECEIVED,4,2         ## @IB_CM_MRA_RECEIVED
	.comm	_IB_CM_REJ_RECEIVED,4,2         ## @IB_CM_REJ_RECEIVED
	.comm	_IB_CM_REP_RECEIVED,4,2         ## @IB_CM_REP_RECEIVED
	.comm	_IB_CM_RTU_RECEIVED,4,2         ## @IB_CM_RTU_RECEIVED
	.comm	_IB_CM_DREQ_RECEIVED,4,2        ## @IB_CM_DREQ_RECEIVED
	.comm	_IB_CM_DREP_RECEIVED,4,2        ## @IB_CM_DREP_RECEIVED
	.comm	_IB_CM_SIDR_REQ_RECEIVED,4,2    ## @IB_CM_SIDR_REQ_RECEIVED
	.comm	_IB_CM_SIDR_REP_RECEIVED,4,2    ## @IB_CM_SIDR_REP_RECEIVED
	.comm	_IB_CM_LAP_RECEIVED,4,2         ## @IB_CM_LAP_RECEIVED
	.comm	_IB_CM_APR_RECEIVED,4,2         ## @IB_CM_APR_RECEIVED
	.comm	_CM_RECV,8,3                    ## @CM_RECV
	.comm	_CM_ATTR_ID_OFFSET,8,3          ## @CM_ATTR_ID_OFFSET
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_cm_work_handler,4,2            ## @cm_work_handler
	.comm	_cm,8,2                         ## @cm
	.no_dead_strip	_cm_recv_handler
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.cm_recv_handler
l_switch.table.cm_recv_handler:
	.quad	_IB_CM_SIDR_REQ_RECEIVED
	.quad	_IB_CM_SIDR_REP_RECEIVED
	.quad	_IB_CM_RTU_RECEIVED
	.quad	_IB_CM_REQ_RECEIVED
	.quad	_IB_CM_REP_RECEIVED
	.quad	_IB_CM_REJ_RECEIVED
	.quad	_IB_CM_MRA_RECEIVED
	.quad	_IB_CM_LAP_RECEIVED
	.quad	_IB_CM_DREQ_RECEIVED
	.quad	_IB_CM_DREP_RECEIVED
	.quad	_IB_CM_APR_RECEIVED

	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.cm_recv_handler.1
l_switch.table.cm_recv_handler.1:
	.long	32                              ## 0x20
	.long	32                              ## 0x20
	.long	32                              ## 0x20
	.long	40                              ## 0x28
	.long	32                              ## 0x20
	.long	32                              ## 0x20
	.long	32                              ## 0x20
	.long	36                              ## 0x24
	.long	32                              ## 0x20
	.long	32                              ## 0x20
	.long	32                              ## 0x20

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cm_recv_handler
_cm_recv_handler:                       ; @cm_recv_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	x19, x2
	mov	x8, x0
	ldr	x9, [x2]
	ldr	w0, [x9]
	sub	w9, w0, #128
	cmp	w9, #11
	b.hs	LBB0_4
; %bb.1:
Lloh0:
	adrp	x10, l_switch.table.cm_recv_handler@PAGE
Lloh1:
	add	x10, x10, l_switch.table.cm_recv_handler@PAGEOFF
	ldr	x10, [x10, w9, sxtw #3]
	ldr	x22, [x8]
Lloh2:
	adrp	x8, l_switch.table.cm_recv_handler.1@PAGE
Lloh3:
	add	x8, x8, l_switch.table.cm_recv_handler.1@PAGEOFF
	ldr	w20, [x8, w9, sxtw #2]
	ldr	w21, [x10]
	bl	_be16_to_cpu
	ldr	x8, [x22, #8]
Lloh4:
	adrp	x9, _CM_RECV@GOTPAGE
Lloh5:
	ldr	x9, [x9, _CM_RECV@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
Lloh7:
	adrp	x9, _CM_ATTR_ID_OFFSET@GOTPAGE
Lloh8:
	ldr	x9, [x9, _CM_ATTR_ID_OFFSET@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	sub	x9, x0, x9
	add	x0, x8, x9, lsl #2
	bl	_atomic_long_inc
Lloh10:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_kmalloc
	cbz	x0, LBB0_4
; %bb.2:
	mov	x20, x0
Lloh13:
	adrp	x8, _cm_work_handler@GOTPAGE
Lloh14:
	ldr	x8, [x8, _cm_work_handler@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	str	w21, [x20, #24]
	stp	x22, x19, [x20, #8]
Lloh16:
	adrp	x21, _cm@GOTPAGE
Lloh17:
	ldr	x21, [x21, _cm@GOTPAGEOFF]
	mov	x0, x21
	bl	_spin_lock_irq
	ldr	x8, [x22]
	ldr	w8, [x8]
	cbz	w8, LBB0_5
; %bb.3:
Lloh18:
	adrp	x0, _cm@GOTPAGE
Lloh19:
	ldr	x0, [x0, _cm@GOTPAGEOFF]
	bl	_spin_unlock_irq
	mov	x0, x20
	bl	_kfree
LBB0_4:
	mov	x0, x19
	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	_ib_free_recv_mad
LBB0_5:
	ldr	w0, [x21, #4]
	mov	x1, x20
	mov	w2, #0
	bl	_queue_delayed_work
	mov	x0, x21
	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	_spin_unlock_irq
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_CM_REQ_RECEIVED,4,2         ; @IB_CM_REQ_RECEIVED
	.comm	_IB_CM_MRA_RECEIVED,4,2         ; @IB_CM_MRA_RECEIVED
	.comm	_IB_CM_REJ_RECEIVED,4,2         ; @IB_CM_REJ_RECEIVED
	.comm	_IB_CM_REP_RECEIVED,4,2         ; @IB_CM_REP_RECEIVED
	.comm	_IB_CM_RTU_RECEIVED,4,2         ; @IB_CM_RTU_RECEIVED
	.comm	_IB_CM_DREQ_RECEIVED,4,2        ; @IB_CM_DREQ_RECEIVED
	.comm	_IB_CM_DREP_RECEIVED,4,2        ; @IB_CM_DREP_RECEIVED
	.comm	_IB_CM_SIDR_REQ_RECEIVED,4,2    ; @IB_CM_SIDR_REQ_RECEIVED
	.comm	_IB_CM_SIDR_REP_RECEIVED,4,2    ; @IB_CM_SIDR_REP_RECEIVED
	.comm	_IB_CM_LAP_RECEIVED,4,2         ; @IB_CM_LAP_RECEIVED
	.comm	_IB_CM_APR_RECEIVED,4,2         ; @IB_CM_APR_RECEIVED
	.comm	_CM_RECV,8,3                    ; @CM_RECV
	.comm	_CM_ATTR_ID_OFFSET,8,3          ; @CM_ATTR_ID_OFFSET
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_cm_work_handler,4,2            ; @cm_work_handler
	.comm	_cm,8,2                         ; @cm
	.no_dead_strip	_cm_recv_handler
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.cm_recv_handler
l_switch.table.cm_recv_handler:
	.quad	_IB_CM_SIDR_REQ_RECEIVED
	.quad	_IB_CM_SIDR_REP_RECEIVED
	.quad	_IB_CM_RTU_RECEIVED
	.quad	_IB_CM_REQ_RECEIVED
	.quad	_IB_CM_REP_RECEIVED
	.quad	_IB_CM_REJ_RECEIVED
	.quad	_IB_CM_MRA_RECEIVED
	.quad	_IB_CM_LAP_RECEIVED
	.quad	_IB_CM_DREQ_RECEIVED
	.quad	_IB_CM_DREP_RECEIVED
	.quad	_IB_CM_APR_RECEIVED

	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.cm_recv_handler.1
l_switch.table.cm_recv_handler.1:
	.long	32                              ; 0x20
	.long	32                              ; 0x20
	.long	32                              ; 0x20
	.long	40                              ; 0x28
	.long	32                              ; 0x20
	.long	32                              ; 0x20
	.long	32                              ; 0x20
	.long	36                              ; 0x24
	.long	32                              ; 0x20
	.long	32                              ; 0x20
	.long	32                              ; 0x20

.subsections_via_symbols
