	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ucma_set_af_ib_support
_ucma_set_af_ib_support:                ## @ucma_set_af_ib_support
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_RDMA_PS_IB@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-24(%rbp), %rsi
	xorl	%edi, %edi
	xorl	%edx, %edx
	callq	_rdma_create_id
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_AF_IB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	_RDMA_IB_IP_PS_TCP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htobe64
	movq	%rax, -40(%rbp)
	movq	_RDMA_IB_IP_PS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htobe64
	movq	%rax, -48(%rbp)
	movq	_af_ib_support@GOTPCREL(%rip), %rbx
	movl	$1, (%rbx)
	movq	-24(%rbp), %rdi
	movq	%r14, %rsi
	callq	_rdma_bind_addr
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	movl	%ecx, (%rbx)
	movq	-24(%rbp), %rdi
	callq	_rdma_destroy_id
LBB0_2:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RDMA_PS_IB,4,2                 ## @RDMA_PS_IB
	.comm	_AF_IB,4,2                      ## @AF_IB
	.comm	_RDMA_IB_IP_PS_TCP,4,2          ## @RDMA_IB_IP_PS_TCP
	.comm	_RDMA_IB_IP_PS_MASK,4,2         ## @RDMA_IB_IP_PS_MASK
	.comm	_af_ib_support,4,2              ## @af_ib_support
	.no_dead_strip	_ucma_set_af_ib_support
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ucma_set_af_ib_support
_ucma_set_af_ib_support:                ; @ucma_set_af_ib_support
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
Lloh0:
	adrp	x8, _RDMA_PS_IB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RDMA_PS_IB@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	add	x1, sp, #24
	mov	x0, #0
	mov	x2, #0
	bl	_rdma_create_id
	cbnz	w0, LBB0_2
; %bb.1:
	mov	x0, sp
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh3:
	adrp	x8, _AF_IB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AF_IB@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #16]
Lloh6:
	adrp	x8, _RDMA_IB_IP_PS_TCP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RDMA_IB_IP_PS_TCP@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_htobe64
	str	x0, [sp, #8]
Lloh9:
	adrp	x8, _RDMA_IB_IP_PS_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RDMA_IB_IP_PS_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_htobe64
	str	x0, [sp]
Lloh12:
	adrp	x19, _af_ib_support@GOTPAGE
Lloh13:
	ldr	x19, [x19, _af_ib_support@GOTPAGEOFF]
	mov	w8, #1
	str	w8, [x19]
	ldr	x0, [sp, #24]
	mov	x1, sp
	bl	_rdma_bind_addr
	cmp	w0, #0
	cset	w8, eq
	str	w8, [x19]
	ldr	x0, [sp, #24]
	bl	_rdma_destroy_id
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_RDMA_PS_IB,4,2                 ; @RDMA_PS_IB
	.comm	_AF_IB,4,2                      ; @AF_IB
	.comm	_RDMA_IB_IP_PS_TCP,4,2          ; @RDMA_IB_IP_PS_TCP
	.comm	_RDMA_IB_IP_PS_MASK,4,2         ; @RDMA_IB_IP_PS_MASK
	.comm	_af_ib_support,4,2              ; @af_ib_support
	.no_dead_strip	_ucma_set_af_ib_support
.subsections_via_symbols
