	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ucma_resolve_af_ib
_ucma_resolve_af_ib:                    ## @ucma_resolve_af_ib
	.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	%rdi, %r14
	movl	$1, %edi
	movl	$56, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %r12
	movq	(%r14), %rbx
	movl	52(%rbx), %eax
	movl	%eax, 52(%r12)
	movq	_AF_IB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r12)
	movl	44(%rbx), %eax
	movl	%eax, 44(%r12)
	movl	40(%rbx), %eax
	movl	%eax, 40(%r12)
	movl	(%rbx), %r15d
	movl	$1, %edi
	movl	%r15d, %esi
	callq	_calloc
	movq	%rax, 32(%r12)
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	movq	32(%rbx), %rsi
	movq	%rax, %rdi
	movl	%r15d, %edx
	callq	_memcpy
	movq	(%r14), %r15
	movl	(%r15), %eax
	movl	%eax, (%r12)
	movq	24(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_strdup
	movq	%rax, 24(%r12)
	testq	%rax, %rax
	je	LBB0_10
LBB0_4:
	movq	16(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_strdup
	movq	%rax, 16(%r12)
	testq	%rax, %rax
	je	LBB0_10
LBB0_6:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_ucma_ib_set_connect
	testq	%rax, %rax
	jne	LBB0_10
## %bb.7:
	movq	(%r14), %rsi
	movq	%r12, %rdi
	callq	_ucma_ib_set_addr
	testq	%rax, %rax
	je	LBB0_8
LBB0_10:
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rdma_freeaddrinfo              ## TAILCALL
LBB0_8:
	movq	(%r14), %rax
	movq	%rax, 8(%r12)
	movq	%r12, (%r14)
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_IB,4,2                      ## @AF_IB
	.no_dead_strip	_ucma_resolve_af_ib
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ucma_resolve_af_ib
_ucma_resolve_af_ib:                    ; @ucma_resolve_af_ib
	.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, x0
	mov	w0, #1
	mov	w1, #56
	bl	_calloc
	cbz	x0, LBB0_10
; %bb.1:
	mov	x20, x0
	ldr	x22, [x19]
	ldr	w8, [x22, #52]
Lloh0:
	adrp	x9, _AF_IB@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AF_IB@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #48]
	ldr	d0, [x22, #40]
	str	d0, [x0, #40]
	ldr	w21, [x22]
	mov	w0, #1
	mov	x1, x21
	bl	_calloc
	str	x0, [x20, #32]
	cbz	x0, LBB0_8
; %bb.2:
	ldr	x1, [x22, #32]
	mov	x2, x21
	bl	_memcpy
	ldr	x21, [x19]
	ldr	w8, [x21]
	str	w8, [x20]
	ldr	x0, [x21, #24]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_strdup
	str	x0, [x20, #24]
	cbz	x0, LBB0_8
LBB0_4:
	ldr	x0, [x21, #16]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_strdup
	str	x0, [x20, #16]
	cbz	x0, LBB0_8
LBB0_6:
	mov	x0, x20
	mov	x1, x21
	bl	_ucma_ib_set_connect
	cbnz	x0, LBB0_8
; %bb.7:
	ldr	x1, [x19]
	mov	x0, x20
	bl	_ucma_ib_set_addr
	cbz	x0, LBB0_9
LBB0_8:
	mov	x0, x20
	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	_rdma_freeaddrinfo
LBB0_9:
	ldr	x8, [x19]
	str	x8, [x20, #8]
	str	x20, [x19]
LBB0_10:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_IB,4,2                      ; @AF_IB
	.no_dead_strip	_ucma_resolve_af_ib
.subsections_via_symbols
