	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cma_connect_iw
_cma_connect_iw:                        ## @cma_connect_iw
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	24(%rdi), %edi
	movq	_cma_iw_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_iw_create_cm_id
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.9:
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movl	32(%rbx), %eax
	movl	%eax, 8(%r14)
	movq	%r14, (%rbx)
	movq	%r14, %r12
	addq	$4, %r12
	movq	%rbx, %rdi
	callq	_cma_src_addr
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_cma_src_addr
	movl	%eax, %edi
	callq	_rdma_addr_size
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_memcpy
	movq	%rbx, %rdi
	callq	_cma_dst_addr
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_cma_dst_addr
	movl	%eax, %edi
	callq	_rdma_addr_size
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_memcpy
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_cma_modify_qp_rtr
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_7
## %bb.2:
	testq	%r15, %r15
	je	LBB0_4
## %bb.3:
	movups	4(%r15), %xmm0
	movups	%xmm0, -60(%rbp)
	leaq	8(%rbx), %rax
	cmpq	$0, 16(%rbx)
	cmoveq	%r15, %rax
	jmp	LBB0_5
LBB0_4:
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movl	$20, %edx
	callq	_memset
	leaq	8(%rbx), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdi
	callq	_iw_cm_connect
	movl	%eax, %r12d
	testl	%eax, %eax
	je	LBB0_6
LBB0_7:
	movq	%r14, %rdi
	callq	_iw_destroy_cm_id
	movq	$0, (%rbx)
LBB0_8:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	xorl	%r12d, %r12d
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_cma_iw_handler,4,2             ## @cma_iw_handler
	.no_dead_strip	_cma_connect_iw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cma_connect_iw
_cma_connect_iw:                        ; @cma_connect_iw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x19, x0
	ldr	w0, [x0, #24]
Lloh0:
	adrp	x8, _cma_iw_handler@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cma_iw_handler@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_iw_create_cm_id
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_PTR_ERR
LBB0_2:
	ldr	w8, [x19, #32]
	str	w8, [x20, #8]
	str	x20, [x19]
	add	x22, x20, #4
	mov	x0, x19
	bl	_cma_src_addr
	mov	x23, x0
	mov	x0, x19
	bl	_cma_src_addr
	bl	_rdma_addr_size
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_memcpy
	mov	x0, x19
	bl	_cma_dst_addr
	mov	x22, x0
	mov	x0, x19
	bl	_cma_dst_addr
	bl	_rdma_addr_size
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_memcpy
	mov	x0, x19
	mov	x1, x21
	bl	_cma_modify_qp_rtr
	mov	x22, x0
	cbnz	w0, LBB0_7
; %bb.3:
	cbz	x21, LBB0_5
; %bb.4:
	ldur	q0, [x21, #4]
	stur	q0, [sp, #12]
	ldr	x8, [x19, #16]
	add	x9, x19, #8
	cmp	x8, #0
	csel	x8, x21, x9, eq
	b	LBB0_6
LBB0_5:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #20
	bl	_memset
	add	x8, x19, #8
LBB0_6:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x20
	bl	_iw_cm_connect
	mov	x22, x0
	cbz	w0, LBB0_8
LBB0_7:
	mov	x0, x20
	bl	_iw_destroy_cm_id
	str	xzr, [x19]
LBB0_8:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_cma_iw_handler,4,2             ; @cma_iw_handler
	.no_dead_strip	_cma_connect_iw
.subsections_via_symbols
