	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ucma_set_ib_route
_ucma_set_ib_route:                     ## @ucma_set_ib_route
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	-88(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	movq	_RAI_ROUTEONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	leaq	4(%r15), %rbx
	movl	4(%r15), %eax
	movl	%eax, -40(%rbp)
	movq	%rbx, %rdi
	callq	_ucma_addrlen
	movq	%rax, -48(%rbp)
	movq	%rbx, -56(%rbp)
	movq	%r15, %rdi
	callq	_ucma_addrlen
	movq	%rax, -64(%rbp)
	movq	%r15, -72(%rbp)
	leaq	-32(%rbp), %rcx
	xorl	%edi, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_rdma_getaddrinfo
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movq	-32(%rbp), %rdi
	movq	(%rdi), %r8
	testq	%r8, %r8
	je	LBB0_2
## %bb.3:
	movq	_RDMA_OPTION_IB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RDMA_OPTION_IB_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	8(%rdi), %ecx
	movq	%r15, %rdi
	callq	_rdma_set_option
	movl	%eax, %ebx
	movq	-32(%rbp), %rdi
	jmp	LBB0_4
LBB0_2:
	movl	$-1, %ebx
LBB0_4:
	callq	_rdma_freeaddrinfo
LBB0_5:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RAI_ROUTEONLY,4,2              ## @RAI_ROUTEONLY
	.comm	_RDMA_OPTION_IB,4,2             ## @RDMA_OPTION_IB
	.comm	_RDMA_OPTION_IB_PATH,4,2        ## @RDMA_OPTION_IB_PATH
	.no_dead_strip	_ucma_set_ib_route
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ucma_set_ib_route
_ucma_set_ib_route:                     ; @ucma_set_ib_route
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #56
	bl	_memset
Lloh0:
	adrp	x8, _RAI_ROUTEONLY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RAI_ROUTEONLY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	x20, x19
	ldr	w9, [x20, #4]!
	stp	w9, w8, [sp, #56]
	mov	x0, x20
	bl	_ucma_addrlen
	stp	x20, x0, [sp, #40]
	mov	x0, x19
	bl	_ucma_addrlen
	stp	x19, x0, [sp, #24]
	add	x2, sp, #8
	mov	x3, sp
	mov	x0, #0
	mov	x1, #0
	bl	_rdma_getaddrinfo
	mov	x20, x0
	cbnz	w0, LBB0_5
; %bb.1:
	ldr	x0, [sp]
	ldr	x4, [x0]
	cbz	x4, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _RDMA_OPTION_IB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RDMA_OPTION_IB@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _RDMA_OPTION_IB_PATH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RDMA_OPTION_IB_PATH@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	ldr	w3, [x0, #8]
	mov	x0, x19
	bl	_rdma_set_option
	mov	x20, x0
	ldr	x0, [sp]
	b	LBB0_4
LBB0_3:
	mov	w20, #-1
LBB0_4:
	bl	_rdma_freeaddrinfo
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_RAI_ROUTEONLY,4,2              ; @RAI_ROUTEONLY
	.comm	_RDMA_OPTION_IB,4,2             ; @RDMA_OPTION_IB
	.comm	_RDMA_OPTION_IB_PATH,4,2        ; @RDMA_OPTION_IB_PATH
	.no_dead_strip	_ucma_set_ib_route
.subsections_via_symbols
