	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_ib_demux_cm_handler       ## -- Begin function mlx4_ib_demux_cm_handler
	.p2align	4, 0x90
_mlx4_ib_demux_cm_handler:              ## @mlx4_ib_demux_cm_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r15
	movl	%esi, %r13d
	movq	%rdi, %r14
	movq	(%rcx), %rax
	movq	_CM_REQ_ATTR_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_CM_SIDR_REQ_ATTR_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.5:
	movq	%rbx, %rdi
	callq	_get_remote_comm_id
	movq	%rax, -48(%rbp)
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	movl	$-1, %edx
	movl	$-1, %ecx
	callq	_id_map_get
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:
	movq	%rax, %r12
	testq	%r15, %r15
	je	LBB0_10
## %bb.9:
	movl	(%r12), %eax
	movl	%eax, (%r15)
LBB0_10:
	movl	4(%r12), %esi
	movq	%rbx, %rdi
	callq	_set_remote_comm_id
	movq	(%rbx), %rax
	movq	_CM_DREQ_ATTR_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.11:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_schedule_delayed
	xorl	%r12d, %r12d
	jmp	LBB0_15
LBB0_2:
	xorl	%r12d, %r12d
	testq	%r15, %r15
	je	LBB0_15
## %bb.3:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_gid_from_req_msg
	movl	%eax, %ebx
	movq	%r14, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_mlx4_ib_find_real_gid
	movl	%eax, (%r15)
	testl	%eax, %eax
	jns	LBB0_15
## %bb.4:
	movl	%ebx, %edi
	callq	_be64_to_cpu
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_mlx4_ib_warn
	jmp	LBB0_7
LBB0_6:
	movq	-48(%rbp), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_debug
LBB0_7:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_15
LBB0_12:
	movq	_CM_REJ_ATTR_ID@GOTPCREL(%rip), %rcx
	xorl	%r12d, %r12d
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.13:
	movq	_CM_DREP_ATTR_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
LBB0_14:
	movl	-48(%rbp), %esi
	movq	%r14, %rdi
	callq	_id_map_find_del
LBB0_15:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CM_REQ_ATTR_ID,8,3             ## @CM_REQ_ATTR_ID
	.comm	_CM_SIDR_REQ_ATTR_ID,8,3        ## @CM_SIDR_REQ_ATTR_ID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed matching slave_id by gid (0x%llx)\n"

	.comm	_ENOENT,4,2                     ## @ENOENT
L_.str.1:                               ## @.str.1
	.asciz	"Couldn't find an entry for pv_cm_id 0x%x\n"

	.comm	_CM_DREQ_ATTR_ID,8,3            ## @CM_DREQ_ATTR_ID
	.comm	_CM_REJ_ATTR_ID,8,3             ## @CM_REJ_ATTR_ID
	.comm	_CM_DREP_ATTR_ID,8,3            ## @CM_DREP_ATTR_ID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_ib_demux_cm_handler       ; -- Begin function mlx4_ib_demux_cm_handler
	.p2align	2
_mlx4_ib_demux_cm_handler:              ; @mlx4_ib_demux_cm_handler
	.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	x21, x3
	mov	x20, x2
	mov	x19, x0
	ldr	x8, [x3]
Lloh0:
	adrp	x9, _CM_REQ_ATTR_ID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CM_REQ_ATTR_ID@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _CM_SIDR_REQ_ATTR_ID@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CM_SIDR_REQ_ATTR_ID@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_4
; %bb.1:
	cbz	x20, LBB0_13
; %bb.2:
	mov	x22, x1
	mov	x0, x19
	mov	x1, x21
	bl	_gid_from_req_msg
	mov	x21, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_mlx4_ib_find_real_gid
	str	w0, [x20]
	tbz	w0, #31, LBB0_13
; %bb.3:
	mov	x0, x21
	bl	_be64_to_cpu
	mov	x2, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_mlx4_ib_warn
	b	LBB0_10
LBB0_4:
	mov	x0, x21
	bl	_get_remote_comm_id
	str	x0, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #-1
	mov	w3, #-1
	bl	_id_map_get
	cbz	x0, LBB0_9
; %bb.5:
	mov	x22, x0
	cbz	x20, LBB0_7
; %bb.6:
	ldr	w8, [x22]
	str	w8, [x20]
LBB0_7:
	ldr	w1, [x22, #4]
	mov	x0, x21
	bl	_set_remote_comm_id
	ldr	x8, [x21]
Lloh8:
	adrp	x9, _CM_DREQ_ATTR_ID@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CM_DREQ_ATTR_ID@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.8:
	mov	x0, x19
	mov	x1, x22
	bl	_schedule_delayed
	b	LBB0_13
LBB0_9:
	ldr	x1, [sp, #8]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
LBB0_10:
Lloh13:
	adrp	x8, _ENOENT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_14
LBB0_11:
Lloh16:
	adrp	x9, _CM_REJ_ATTR_ID@GOTPAGE
Lloh17:
	ldr	x9, [x9, _CM_REJ_ATTR_ID@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
Lloh19:
	adrp	x10, _CM_DREP_ATTR_ID@GOTPAGE
Lloh20:
	ldr	x10, [x10, _CM_DREP_ATTR_ID@GOTPAGEOFF]
Lloh21:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_13
; %bb.12:
	ldr	w1, [sp, #8]
	mov	x0, x19
	bl	_id_map_find_del
LBB0_13:
	mov	w0, #0
LBB0_14:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_CM_REQ_ATTR_ID,8,3             ; @CM_REQ_ATTR_ID
	.comm	_CM_SIDR_REQ_ATTR_ID,8,3        ; @CM_SIDR_REQ_ATTR_ID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed matching slave_id by gid (0x%llx)\n"

	.comm	_ENOENT,4,2                     ; @ENOENT
l_.str.1:                               ; @.str.1
	.asciz	"Couldn't find an entry for pv_cm_id 0x%x\n"

	.comm	_CM_DREQ_ATTR_ID,8,3            ; @CM_DREQ_ATTR_ID
	.comm	_CM_REJ_ATTR_ID,8,3             ; @CM_REJ_ATTR_ID
	.comm	_CM_DREP_ATTR_ID,8,3            ; @CM_DREP_ATTR_ID
.subsections_via_symbols
